Just some random code snippets.