Just a collection of some source code snippets that might be useful to somebody at some point