Web development isn’t an easy task, messing with code requires numerous hard work and patience. If you are a developer and working on some serious web projects then existing code snippets might help you out to finish the project before the certain deadline. Such code snippets could be your own snippets or can be snippets shared by other developers.

There are a myriad of websites and code snippet repositories are available which allow developers to share code snippets with each other, or to allow developers to manage their own snippets.

Being a developer, I would like to share some excellent sources of code snippets with my audience. In this article I have compiled a list of 25 Code Snippets Resources and Repositories for developers; I hope you will find the list useful for your development tasks. Enjoy !!

1. CSS Deck



CSS Deck showcases pure CSS creations (only HTML and CSS). CSS Desk lets users to submit their own creations, browse for code and leave feedback for existing creations.



2. Snipplr



Snipplr is place where you can find snippets for HTML, CSS, JavaScript, PHP, Ruby and many more. You need an account to submit snippets on snipplr.



3. Dzone Snippets



DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world.



4. StackOverflow



Stack Overflow is a question and answer site for professional and enthusiast programmers. It’s 100% free, no registration required. You and other users can then vote on the answers posted. You can also search questions based on keywords or tags, view unanswered questions, and sort by newest, oldest, featured, and other criteria.



5. WPRecipes



WpRecipes is a site which helps developers with WordPress snippets. It includes snippets for almost every kind of WordPress related problems. Snippets for all kinds of purposes are also included.



6. Smipple



Smipple is a social service for saving, storing, organizing, and sharing snippets of code with your friends and coworkers.



7. Snipt



Snipt lets you submit and assign tags to your snippets. Users can browse snippets by tags, and you don’t need an account to leave your feedback for existing snippets.



8. Php Snips



Php Snips is a repository for PHP Snippets, it includes most recent and popular php snippets. If you have an account you can submit your snippets to PHP Snips.



9. ByteMyCode



byteMyCode is a community around making it easy to find, share, revise, comment on, and rate code snippets. byteMyCode serves as a good organizational tool for those little code snippets that you never know when you will need.



10. Code Codex



CodeCodex is a wiki for finding and improving code, It also lets users reorganize the library to make it more efficient and easier to find specific bits of code.



11. CodeKeep



Code:Keep is a repository of nearly 15,000 snippets in just about every language out there.



12. Dev Snippets



DevSnippets includes code snippets, links to helpful tutorials, and links to resources.



13. CSS Tricks



It’s a popular blog and community site CSS-Tricks includes a section for code snippets. The snippet categories include HTML, CSS, JavaScript, jQuery, PHP, WordPress, and .htaccess



14. CSS Pop



CSS Pop is a community which includes css snippets for css lovers.



15. HTML5 Snippets



HTML5 Snippets is a repository for HTML5 CSS3 code snippets. You can submit your snippets by making an account on the site.



16. Emoticode



Emoticode is a collaborative source code snippets aggregator and search engine but mostly a place where developers can find the answers they are searching for and contribute with their own contents to help others with the same needs.



17. Codase



Codase is the leading source code search company with advanced source code understanding and xml index/search technologies.. This unique and syntax-aware approach provides the most accurate and detailed search results with fine granularity levels of controls.



18. Ideaone



Ideaone not only lets you store your snippets here, you can use the site to compile and run your code as well.



19. Snippets Mania



Snippetsmania is a small code repository that includes snippets written in C, Cobol, JavaScript, PHP, Perl and others.



20. Snipsave



Snipsave is a simple and elegant code snippet tool for developers which quickly and easily save pieces of code for reference and use later on, all of your code snippets are stored in one place and accessible from anywhere.



21. Github : Devtools Snippets



A collection of helpful snippets to use inside of browser devtools.



22. Bootsnipp



Bootsnipp is an element gallery for web designers and web developers which includes free HTML snippets for Bootstrap.



23. Code Project



The Code Project has 24,000+ development and design articles, code snippets, and other resources available. It focuses on Microsoft-based and related languages like ASP.NET and C#.



24. PHP Classes



This is a PHP code repository that lets you search PHP Class Scripts, tutorials, and more. There are a huge number of scripts and snippets covering almost any aspect of PHP coding included.



25. Dotnet Slackers



DotNetSlackers is community and forum dedicated to ASP.NET. They also have a code repository that includes a wide variety of snippets in MS-based coding languages.