Also haven't seen it mentioned yet; but if you didn't already know; github.com is an excellent source for code samples, code snippets and it also facilitates the hosting of a number of popular programming blogs.