Code Snippets which i find regularly useful