Some random code examples I came across in the past