This file contains 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 request = require('request-promise-native') | |
const co = require('co') | |
const API_DOMAIN = 'https://api.github.com' | |
const PAGE_LIMIT = 100 | |
let GistClient = function () { | |
this.setToken = (token) => { | |
this.token = token |
This file contains 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 request = require('request-promise-native') | |
const co = require('co') | |
const API_DOMAIN = 'https://api.github.com' | |
const PAGE_LIMIT = 100 | |
let GistClient = function () { | |
this.setToken = (token) => { | |
this.token = token |
This file contains 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
Run `python hello_world.py` to print Hello World |
This file contains 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 { | |
CHAT_STARTED, | |
CHAT_ENDED, | |
CHAT_NEW_MESSAGE, | |
NO_MATCH_FOUND, | |
PLAYER_JOINED, | |
CHAT_MESSAGE, | |
FOUND_MATCH, | |
ONLINE_USERS, | |
SWITCH_ACTIVE_CHAT |