I hereby claim:
- I am mumakil on github.
- I am mumakil (https://keybase.io/mumakil) on keybase.
- I have a public key whose fingerprint is 85FB C164 0D35 0B13 4EAD E608 E0DD A872 F7F8 EA63
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Add to hubot's scripts/ when developing hubot scripts in flowdock | |
# to enable easy debugging when errors happen. Posts all errors with stack | |
# traces to first flow it knows about. | |
module.exports = (robot) -> | |
if process.env.NODE_ENV == 'development' | |
robot.on 'error', (error) -> | |
errorMessage = "ERROR:\n" | |
if error.stack? | |
errorMessage += error.stack |
#!/usr/bin/env ruby | |
begin | |
require 'oauth2' | |
rescue LoadError | |
puts "You need to install oauth2 gem, run `gem install oauth2`" | |
exit 1 | |
end | |
require 'uri' | |
require 'net/http' |
var collectionCount = process.env['COLLECTIONS'] || 1000; | |
var perCollection = process.env['PER_COLLECTION'] || 1000; | |
var iterationCount = process.env['ITERATION_COUNT'] || 1000; | |
var collections = []; | |
var current, i, j, k, l, r; | |
for (i = 0; i < collectionCount; i += 1) { | |
current = []; | |
for (j = 0; j < perCollection; j += 1) { |
class Stream extends process.EventEmitter | |
constructor: (@request, @response, @channels, @user) -> | |
# other initializing code | |
get: -> | |
# start streaming messages in response to a get request | |
# ... | |
# Normal cleanup after stream is closed |
node_modules/ |
My elevator control program for the elevator saga game.
function be -d "Alias for `bundle exec`" | |
bundle exec $argv | |
end |