Skip to content

Instantly share code, notes, and snippets.

David Hazinski kaezarrex

Block or report user

Report or block kaezarrex

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kaezarrex / Lock.js
Created Nov 9, 2012
Javascript Singleton Lock
View Lock.js
var aquired = false,
function Lock() {
if (!lock) lock = this;
return lock;


1 tbs. coconut or avocado oil
4-6 cloves fresh garlic, chopped
2 pounds (900 g) ground lamb
1 pound (450 g) ground grassfed beef
2 cups (300 g) onions chopped
2 cups (250 g) carrots, peeled and sliced
2 stalks celery, chopped
1 tbs. fresh rosemary, chopped fine


Cold brew is great! It takes longer to make than normal coffee, but it's much smoother tasting. Try it without cream and you'll see what I mean.

[cold brew coffee][recipe]

I make double batches of [the recipe from Smitten Kitchen][recipe], and I let it sit for 12 to 24 hours.

  • 2/3 cup ground coffee 3 cups water
kaezarrex / massive-props.user.js
Created Jul 5, 2012
Give massive props on Twitter
View massive-props.user.js
// ==UserScript==
// @name Massive Props
// @namespace
// @include*
// @description
// ==/UserScript==
var script = document.createElement('style');
script.innerHTML = '\
.favorite { \
View octigones.user.js
// ==UserScript==
// @name Octigones
// @namespace
// @include*
// @description A GitHub beautifier.
// ==/UserScript==
var JQUERY_URL = '',
#! /usr/bin/env python
from collections import defaultdict
from os import walk
from os.path import join
from subprocess import check_output
args = ['git', 'blame', '-p']
authors = defaultdict(list)
CMDS="say espeak"
if [ $# -ne $EXPECTED_ARGS ]
echo "Usage: `basename $0` <seconds>"
kaezarrex / first.js
Created Mar 4, 2012
A JavaScript function for chaining asynchronous calls.
View first.js
function first(func) {
this.then = function(callback) {
return first(function(cb) {
kaezarrex / index.html
Last active Sep 28, 2015
Leaflet+D3 Route Shapes
View index.html
<!DOCTYPE html>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="">
body { padding: 0; margin: 0; }
html, body, #map { height: 100%; }
View tl_trac_beautifier.user.js
// ==UserScript==
// @name TL Trac Beautifier
// @namespace
// @description Makes Trac look much better.
// @include*
// ==/UserScript==
var $;
You can’t perform that action at this time.