Skip to content

Instantly share code, notes, and snippets.

View raggiskula's full-sized avatar

Ragnar Skulason raggiskula

View GitHub Profile
#!/usr/bin/python
# -*- coding: utf-8 -*-
import subprocess
__all__ = ["transform"]
__version__ = '0.3'
__author__ = 'Christoph Burgmer <cburgmer@ira.uka.de>'
__url__ = 'http://github.com/cburgmer/upsidedown'
@shesek
shesek / trello-workable-bookmarklet.js
Last active October 8, 2015 22:58
Trello - view cards you can work on
javascript:(function(){var a,b;a=function(a){return function(){return!!~(this.alt||this.title).indexOf(a)}}($(".member-avatar").attr("title").match(/\(([\w\-]+)\)$/)[1]),b=function(){var b;return!(b=$(this).find(".member img,.member-initials")).length||b.filter(a).length},$("#board").addClass("filtering").find(".list-card").addClass("hide").filter(b).removeClass("hide")})()
@raggiskula
raggiskula / clippy.cow
Created April 10, 2012 13:58 — forked from mattiz/gist:2351145
cowsay clippy template
##
## Milk from Milk and Cheese
##
$the_cow = <<EOC;
$thoughts ___
$thoughts / \\
$thoughts / \\
/ \\
___ ___
/___\\ /___\\
@hrldcpr
hrldcpr / tree.md
Last active June 8, 2024 18:11
one-line tree in python

One-line Tree in Python

Using Python's built-in defaultdict we can easily define a tree data structure:

def tree(): return defaultdict(tree)

That's it!