Skip to content

Instantly share code, notes, and snippets.

@dburles
dburles / gist:9086392
Last active August 29, 2015 13:56 — forked from tmeasday/gist:9086145
var relations = {};
Meteor.Collection.prototype.relations = function(obj) {
relations[this._name] = obj;
};
if (Meteor.isClient) {
Meteor.subscribeReactive = function(name) {
Meteor.subscribe(name);
Deps.autorun(function() {
@dburles
dburles / Counter.py
Created December 22, 2011 01:26 — forked from keyo/Counter.py
Python useless counter class
"""
░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░​░█
░▄▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░​░░█
█░▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒​▒▒▒█
█░▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀​▀▀▄▒█
░█░▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░​█░░█
░░█░░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀█​█░█
░░█░░░░██░░▀█▄▄▄█▄▄█▄████░​█
░░░█░░░░▀▀▄░█░░░█░█▀██████​░█
░░░░▀▄░░░░░▀▀▄▄▄█▄█▄█▄█▄▀░​░█