Cross-posted to gist.github.com

James Mills @prologic