These are just code snippets I use frequently. Includes resets and etc.