From http://thewebatom.net/blog/manage-code-snippets-with-gistbox/