Skip to content

Instantly share code, notes, and snippets.

View marocchino's full-sized avatar
🏠
Working from home (7am~16pm JST)

marocchino

🏠
Working from home (7am~16pm JST)
View GitHub Profile
@marocchino
marocchino / routes.js
Created November 19, 2011 10:52 — forked from mcotton/routes.js
Express routes
var app = require('../app');
console.log();
app.routes.all().forEach(function(route){
console.log(' \033[90m%s \033[36m%s\033[0m', route.method.toUpperCase(), route.path);
});
console.log();
process.exit();
@marocchino
marocchino / README.md
Created November 19, 2011 10:33 — forked from bergie/README.md
Falsy Values tutorials
@marocchino
marocchino / gist:1370395
Created November 16, 2011 15:41 — forked from yepp4you/gist:1369990
아아 이 어색함을 어쩔꼬 -_-);
vows = require 'vows'
assert = require 'assert'
tobi = require 'tobi'
vows.describe('Root').addBatch
'브라우저에서':
topic: -> tobi.createBrowser 3000, 'localhost'
'GET /의':
topic: (topic) ->
topic.get "/", @callback.bind(@, null)
@marocchino
marocchino / gist:1370343
Created November 16, 2011 15:26 — forked from codian/gist:1369486
alias_method_chain quiz
require 'test/unit'
require 'rubygems'
gem 'activesupport'
require 'active_support/core_ext/module'
class Original
def hello
"Original"
end
end
@marocchino
marocchino / jsconf-eu-2011.md
Created October 10, 2011 05:18 — forked from mattpodwysocki/jsconf-eu-2011.md
JSConf.EU Slides