Skip to content

Instantly share code, notes, and snippets.

@madewokherd
madewokherd / codetimer.py
Created July 4, 2012 21:47
poor man's python profiler
import time
class CodeTimer(object):
def __init__(self):
self.level = 0
self.time = 0
def __enter__(self):
self.level += 1
if self.level == 1:
@madewokherd
madewokherd / gist:2725100
Created May 18, 2012 12:51
List of proejcts I plan to package for coapp
List of projects I'm planning to package, in order:
gtk+ - needs perl package to build pixman
aisleriot - needs gtk+, and a solution for standard libraries containing directories (for guile)
python - need a solution for standard libraries containing directories
pygtk - needs gtk+ and python
urk - needs pygtk
gedit - needs gtk+
glade - needs gtk+
sdl