Some random code snippets.  Some have been part of job applications.