I was playing around with github’s gist, especially uploading snippets via python, so I can use it automated in my blog software. The result is the following python script:
link