code snippets and random bits of magic