Skip to content

Instantly share code, notes, and snippets.

@jamonkko
jamonkko / server.js
Created April 4, 2016 05:06
Node dummy test server that console logs incoming requests
var express = require('express');
var bodyParser = require('body-parser');
var app = express();
var _ = require('lodash');
var util = require('util');
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }))
app.use(bodyParser.text());
@jamonkko
jamonkko / keybase.md
Created October 9, 2014 20:37
keybase.md

Keybase proof

I hereby claim:

  • I am jamonkko on github.
  • I am jamonkko (https://keybase.io/jamonkko) on keybase.
  • I have a public key whose fingerprint is 2120 3CEC 927C 3DAB CFEF C343 A28D EA3D 62D2 C6ED

To claim this, I am signing this object:

@jamonkko
jamonkko / 0_reuse_code.js
Created January 9, 2014 14:28
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
@jamonkko
jamonkko / extr_strtup.rb
Created September 18, 2011 18:59
Match with case statement
require 'rubygems'
require 'sinatra'
configure do
set :port, 1337
end
get '/' do
question = request[:q]
puts question