Skip to content

Instantly share code, notes, and snippets.

@jackrusher
jackrusher / drum-circle.clj
Created August 17, 2014 14:40
A little Godfried Toussaint inspired polyrhythmic drum toy online at http://jackrusher.com/drum-circle/
(ns drum-machine.core
(:require [om.core :as om :include-macros true]
[sablono.core :as html :refer-macros [html]]))
(enable-console-print!)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; UI
(def tau 6.2831853071)
@mklca
mklca / test_type_list.cc
Last active December 10, 2015 16:16
Type-level list and basic operations
// Test suite for type_lists
// The tests are all static asserts so that successful compilation of this
// translation unit indicates all tests passed.
#include <cstdlib>
#include <type_list.hpp>
using std::is_same;
@wrobstory
wrobstory / README.md
Last active December 29, 2015 06:39
D3 Tooltips