Skip to content

Instantly share code, notes, and snippets.

View zzen's full-sized avatar

Jakub Nešetřil zzen

View GitHub Profile
@zzen
zzen / .gitignore
Created May 17, 2012 14:25 — forked from karmi/.gitignore
A sketch of ElasticSearch extension for Cubism.js
.DS_Store
tmp/**/*
###*
@fileoverview Songs view refactored.
Why such refactoring?
To separate logic and wiring.
Then we can test things with logic without wiring mess.
###
goog.provide 'app.songs.View'
goog.require 'goog.ui.Component'
@zzen
zzen / idos.js
Created April 14, 2011 18:07 — forked from ptica/idos.js
// install: npm install zombie sqlite3
require.paths.unshift('./node_modules');
var repl = require('repl');
var cli = repl.start();
var tt = {
from: "Praha",
to: "Brno",
date: "14.4.2011",
@zzen
zzen / gist:299289
Created February 9, 2010 15:06 — forked from steida/gist:204554
/*
* Sugar for type detection working across frames and browsers ;)
*
* Detected types
*
* 'arguments', 'array', 'boolean', 'date', 'document', 'element', 'error', 'fragment',
* 'function', 'nodelist', 'null', 'number', 'object', 'regexp', 'string', 'textnode',
* 'undefined', 'window'
*
* Copyright (c) 2009 Daniel Steigerwald (http://daniel.steigerwald.cz), Mit Style License