Some usefull code snippets Id rather not have to remember