What is a snippet? It is a programming term for a small region of re-usable source code or text. Ordinarily, these are formally-defined operative units to incorporate into larger programming modules. Snippets are often used to clarify the meaning of an otherwise “cluttered” function, or to minimize the use of repeated code that is common to other functions.
Why not use Code Snippets utilities to help you organize, save your code snippets. It is a practical way to help you store your favorite snippets and, also make sharing with it others. This post features great utilities for Windows and Mac that are a great way to build a personal code repository that you can access from anywhere and easily share with others. They’re also great sites to find helpful snippets in a number of languages.
[exec]$filestr = file_get_contents(‘http://www.tripwiremagazine.com/googleadsensebelowmoretag.inc’);echo $filestr;[/exec]
mySnippets is a a clean and simple application that makes your code snippets—as well as clippings and files—available at your fingertips. You just do a single click or press a single keystroke and you have your snippet. You can group and color-code your snippets however you want, you can quickly search and access recently-used snippets, and you can print and export your snippets.
jCodeCollector is a multiplatform application that helps you to manage your code snippets. It’s written in Java and it’s available for Mac OS X, Windows XP/Vista/7 and Linux.
Snippet Manager is a free utility for managing your code snippets in a variety of languages: VB, C++, C#, Java, SQL, ASP, PHP, HTML, even COBOL, Assembler and Fortran. You can also use Snippet Manager to manage plain ASCII text data. With the developer-focused search tool, you can find the code you need by using regular expressions or simple search criteria: language, category, dependencies, keywords or the actual code that you are looking for. You can also publish your snippets online for your personal or company use, and password-protect them so only those you want can access them.
4. Code Bank
Code Bank is a code snippit manager with support for a local database as well as a shared database (serverside application required). Code Bank also has syntax highlighting for multiple languges including C++, ActionScript, Flex, HTML and SQL to name a few.
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.
Snippely is a basic text and code organizational tool. Instead of storing bits of code, quick notes, and memos in text files all over your hard drive, this application will let you save and organize “snippets” in one convenient location.
Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world.
byteMyCode is a project designed to make the task of sharing source code easier. We have modeled 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. It also comes in handy when you need to send a code snippet to a friend or coworker, but don’t have the means to do so.
9. Php Snippets
PHP Snippets is a newly created blog with a rather simple goal: Publishing useful PHP code snippets on a daily basis.
Codesnipp.its are pieces of code, plugins, or anything developer related you’d love to share. These may be simple one to two line pieces of code you have trouble remembering, or something you’ve written completely from scratch.
CodeDogg is a free, simple, fast program which stores your code snippets so you can use them anywhere. With CodeDogg, you can synchronize snippets with all of your computers and devices, so you always have the latest versions of your snippets handy. You simply create a free account at CodeDogg.com.
The Snippet Manager is exactly what you’d think it is – it’s an application for managing snippets. That may sound a little basic, but it’s a feature–rich application for managing and searching public snippets, which have been shared by users worldwide.
13. Snippet Monkey
Snippet Monkey saves you countless hours monkeying around by allowing you to create shortcuts for phrases you frequently type. We call the phrases snippets and Snippet Monkey allows you to create new snippets from the clipboard or via our easy to use snippet editor.
Code Collector Pro lets you easily organize, use and share code snippets using a clean Mac-like interface. You can store snippets of code and retrieve them with a few keystrokes. The coloring engine automatically colors your code snippets for faster viewing, tagging support lets you more easily search for the snippets you need, and importing lets you bring in your code from Coda, Snippet, Snippets, and TextExpander.
Share source code on Twitter and the Web.
Smipple is a social service for saving, storing, organizing, and sharing snippets of code with your friends and coworkers. Make friends. Improve your coding skills. Earn bragging rights.
Gist is a simple way to share snippets and pastes with others. All gists are git repositories, so they are automatically versioned, forkable and usable as a git repository.
18. Slexy 2.0
Slexy.org is a powerful, slick, and sexy pastebin designed with the user in mind. Use Slexy.org to paste errors for debugging, show off your code or your tech specs, or share anything else with other Internet users worldwide.
19. Code Barrel
Tracks revisions, supports commenting, and notifies you when a snippet has changed; Helps you bring new team members on board more quickly.
20. Copy Paste Code
Copy Paste Code allows you to publish your code with colored syntax for most popular programming languages out there. After publishing you can share your code to colleagues and friends, and they can debug and use your code snippets. You and others can also download the snippets, password-protect and publish revisions to snippets.
A quick and easy, no-frills code sharing utility.
One of the most popular tools of this kind, Pastebin supports a huge list of languages.
23. Js Fiddle
24. Phrase Express
PhraseExpress organizes your frequently used text snippets in customizable categories for quick access.
simple but rocks.
it is a super easy way to share snippets of code. Just select some text and drag it to your menu bar. A URL will automatically be placed in your clipboard for you to paste in anywhere you want.
ClipMenu can manage clipboard history. You can record 8 clipboard types, from plain text to image.
28. Code Box
CodeBox provides the best experience and user interface for managing snippets.
29. Snip it Pro
SnippShot is a code snippet tool like others but why it really stands out is because of its simplicity and speed of use. It is so minimalistic that you will love it.
Flikode gives you a bookmark style library to store all of your code snippets.
FastFox is an easy to use text expander that can create and store keyboard shortcuts that expand to an entire phrase, paragraph or document instantly.
Typinator boosts your productivity and eliminates errors by automating the process of inserting frequently used text and graphics and auto-correcting typing errors.
Save time and effort with TextExpander! Whether it’s a simple email signature or several paragraphs of a standard response, you’ll love how easy it is to use TextExpander to avoid typing the same thing over and over.
36. Code Pad
codepad is an online compiler/interpreter, and a simple collaboration tool.