[edit] add link to @domenic's gist