Great tool to find code to perform certain functionality
Wouldn't it be great if there was a resource to get awesome code snippets, so you don't have to re-invent the wheel for an HTML5 Starter Template or a PHP function to properly trim strings or any bit of code. Fortunately there is such a site it's Snipplr.
At Snipplr you can search for any code bits for just about every active programing language. There even a useful HTML Test Page so you can see how your style sheet works with all the active HTML elements.
Description from the Website
Snipplr was designed to solve a simple problem. We had too many random bits of code and HTML scattered all over our computers. We'd hunt and dig around for five minutes looking for the couple lines of code we wrote four projects ago just so we wouldn't have to retype them. We're lazy. We needed a way to keep all of our stuff organized. Snipplr is our solution. Now, all of our code snippets are stored in one place. Best of all, the other guys at work have access to each others' code library.
With Snipplr you can keep all of your frequently used code snippets in one place that's accessible from any computer. You can share your code with other visitors and use what they post, too.