Small code snippets I have for general use.