Skip to content

Instantly share code, notes, and snippets.

View Mumakil's full-sized avatar

Otto Vehviläinen Mumakil

View GitHub Profile
@Mumakil
Mumakil / README.md
Last active August 29, 2015 14:16
Redis expire notification test

Redis expire test

Test script to check how redis expire registration works.

Running

Run with npm run.

@Mumakil
Mumakil / flowdock-oauth.rb
Last active August 29, 2015 14:08
Generate Flowdock oauth token
#!/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'
@Mumakil
Mumakil / error-handler.coffee
Last active May 25, 2016 10:10
Hubot helper scripts
# 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
@Mumakil
Mumakil / keybase.md
Created April 7, 2014 10:44
Keybase proof

Keybase proof

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: