Various code snippets I found on my computer