Random snippets of code. That me or someone might find handy.