Move to as gist https://gist.github.com/kimmobrunfeldt/9527654