Over the years as a Web Developer, I've learnt a lot and written many lines of code. Not every line is unique though, thanks to code re-use and the adaptability of websites.
I've accumulated a small pile of code snippets, in the form of text files, bookmarks and scraps of paper. However, finding that method for checking NULL values in C# or the syntax for a cursor in SQL can prove to be time consuming - resorting to a Google Search yet again.
So, I decided to finally put all of the snippets in the one place, for referencing during my day to day work as a Developer. Behold: snippets.slickhouse.com
There's already a few on there in various languages that I've dealt with in the past (and continue to). The site is also powered by SlickCMS - with several adaptions to fit the style, such as simplified Post listings and custom URLs to allow for the same named snippet, but differing Languages.
The style is also inspired by the excellent stackoverflow.com - itself a vital source of information for a Developer. I did plan to make the site open to the public, so that you too could add your own snippets - but I felt that you'd either prefer to roll your own (go ahead and download SlickCMS to get yourself started) - or to use an established service, such as snipplr.
Let me know what you think as always - and feel free to keep checking the snippets site, as I'll be adding many more over the next few days.