Showing posts with label Ruby. Show all posts
Showing posts with label Ruby. Show all posts

Monday, February 24, 2014

11 Websites Where You Can Find Code Snippets

Time saving practices are very useful for developers. When you're writing thousands of lines of code, cutting a few corners is nothing to be ashamed about. This is where code snippets come in. In fact, often you can use code snippets to add that one element to your program which was otherwise missing. They usually come from users and other developers themselves, which makes them tried and tested practices.

Here are the top 11 places where you can find this resources.

HTML, PHP, jQuery, CSS, HTAccess, CSS, JavaScript, Ruby, code snippets, best code snippets, code snippets websites, best code snippets websites, top code snippets
1. CSS Deck

This is one of the best websites for getting code snippets. You can find snippets on HTML and CSS on this website and can also submit your own creations to them.

2. CSS-Tricks

This is a popular source for finding code snippets on JavaScript, CSS, jQuery, HTML, PHP, CSS, HTAccess and WordPress. As with the website above, you can submit your own snippets to this website too.

3. Snipplr

This website allows you to view code snippets with or without registration. You can find snippets on JavaScript, Ruby, HTML, PHP, CSS, Ruby and other languages.

4. DZone Snippets

This is a community website meant for developers, which has a separate section for code snippets. It allows you to add your own snippets and add tags to them if you have an account.

5. Joyent Code Snippets

Add snippets, tag them, view snippets submitted by others and browse through snippets based on tags or users.

6. WpRecipes

This is a website where WordPress developers can find useful code snippets for their projects. You can find snippets for various purposes.

7. Smipple

This is a website for users to share their code snippets with each other. You are allowed to tag snippets for future use and submit your own snippets using just your Google account. You can also browse through popular snippets with or without an account.

8. PHP Snips

As the name suggest, this website focuses on code snippets for PHP developers. You have to create an account if you want to share your own snippets on the website.

9. Codes PHP

This is another website for finding useful code snippets in PHP. In addition, it also contains snippets for MySQL, PHP frameworks and WordPress.

10. Snipt

You can submit your own snippets and add tags to them on this website. In addition, you can also browser through snippets through tags and easily embed them when needed.

11. DevSnippets

You can use this website for finding links to tutorials and other resources that are useful to developers.