While working on different web development projects you may feel the need to re-use the same code snippets for most of your projects. If you start typing the same piece of code every time you need it, you will waste your time but if you simply copy paste that code snippet, it can save your time.
During your projects, you can re-use your own codes or use public code repositories to find required codes. There are many resources available that allows web developers to share their code snippets with community of developers. You can use such resources to speed up your development work.
Snipt is a code snippet library where you can find public and private code snippets. Here you can find code snippets of HTML, CSS, jQuery, WordPress, C++, Java, Python, Ruby and more.
Around 2 months back, Cats Who Code included a library of useful snippets for developers including snippets of PHP, WordPress, jQuery, CSS and htaccess.
DZone is a popular site among web designers and developers. It also includes a section for code snippets where you can submit your own codes or find codes submitted by others in C, Java, PHP, Python, HTML, Ruby and more.
As the name suggests, WP Snippets is a code snippet library for WordPress developers. It includes many useful snippets and you can browser them by categories like admin area, social, comments, custom fields etc.
WPSnipp is a resource for finding snippets related to WordPress.
Code Codex is a wiki where you can share your code and also improve the code shared by others. Here you can browse for pre-written codes and use it in your own projects.
Jonas John code snippet library currently own more than 143 snippets including PHP, HTML, Perl, C# and Visual Basic.