Skip to content

Instantly share code, notes, and snippets.

hauspie / git-log-to-tikz.rb
Created Apr 16, 2012
Extract git history to tikz picture
View git-log-to-tikz.rb
#!/usr/bin/env ruby
# A small ruby script to extract a git history to a tikz picture
# Author: Michael Hauspie <>
# Not clean code, not always working well, but does its job in most of the cases I needed :)
# A commit object
class Commit
attr_accessor :hash
jlesquembre / postmkvirtualenv
Created Mar 15, 2012
Creates a symlink to PyQt libraries when a new virtual environment is created
View postmkvirtualenv
# This hook is run after a new virtualenv is activated.
# ~/.virtualenvs/postmkvirtualenv
libs=( PyQt4 )
python_version=python$(python -c "import sys; print (str(sys.version_info[0])+'.'+str(sys.version_info[1]))")
var=( $(which -a $python_version) )
get_python_lib_cmd="from distutils.sysconfig import get_python_lib; print (get_python_lib())"
You can’t perform that action at this time.