I put it into a gist :)

https://gist.github.com/aeimer/8edc0b25f3197c0986d3f2618f036...