Ask and you shall receive - https://gist.github.com/2956201