My personal tutorial code snippets