Skip to content

Instantly share code, notes, and snippets.

View earthday's full-sized avatar
🔋
Power~!

Bright Chen earthday

🔋
Power~!
View GitHub Profile
@earthday
earthday / test.js
Last active August 29, 2015 14:11 — forked from jmyrland/test.js
Socket-io load test
/**
* Modify the parts you need to get it working.
*/
var should = require('should');
var request = require('../node_modules/request');
var io = require('socket.io-client');
var serverUrl = 'http://localhost';
@earthday
earthday / 0_reuse_code.js
Created August 19, 2014 06:27
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console