This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <div class="grid"> | |
| <div class="grid-row"> | |
| <div class="grid-column span-4"></div> | |
| <div class="grid-column span-5"></div> | |
| <div class="grid-column span-1"></div> | |
| </div> | |
| <div class="grid-row"> | |
| <div class="grid-column span-1"></div> | |
| <div class="grid-column span-1"></div> | |
| <div class="grid-column span-1"></div> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import Discord = from "discord.js"; | |
| export default (token, ready) => { | |
| const client = new Discord.Client(); | |
| client.login(token) | |
| .then(() => { | |
| ready(null, { | |
| createChannel(guildId, name) { | |
| return client.guilds.get(guildId).createChannel(name, 'text') | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const { graphql, buildSchema } = require('graphql'); | |
| const { makeExecutableSchema } = require('graphql-tools'); | |
| const chance = require('chance').Chance(); | |
| const assert = require('assert'); | |
| function randomIds(count) { | |
| let ids = []; | |
| for (let i = 0; i < count; i++) { | |
| ids.push(chance.integer({ min: 0, max: 1000 })); | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using NLog; | |
| using NLog.Targets; | |
| using NLog.Config; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | private MethodNode makeSetter(PropertyNode property) { | |
| def ast = new AstBuilder().buildFromSpec { | |
| method("set${property.name.capitalize()}", ACC_PUBLIC, Void.TYPE) { | |
| parameters { | |
| parameter(value: Class.forName(property.type.name)) | |
| } | |
| exceptions {} | |
| block { | |
| expression { | |
| binary { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <iostream> | |
| #include <cstring> | |
| using namespace std; | |
| typedef unsigned char byte; | |
| struct data { | |
| byte length; | |
| byte data[16]; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | require "active_record" | |
| namespace :db do | |
| db_config = YAML::load(File.open('config/database.yml')) | |
| db_config_admin = db_config.merge({'database' => 'postgres', 'schema_search_path' => 'public'}) | |
| desc "Create the database" | |
| task :create do | |
| ActiveRecord::Base.establish_connection(db_config_admin) |