Let’s Upload and Share Your Snippets

What is snippet? according to the Wikipedia, snippet is a small region of re-usable source code, machine code or text. Is it matter? Of course, if you are a programmer or a designer that use small portion of codes/text frequently, you will be aware about it.

Previously snippets was saved on native snippet management that built on text editor/IDE. As the internet using becomes larger, now snippets have special places (repository) that have ability to store and share with others. The advantages of putting your snippets on public snippets repository are your snippets will be usable for others, and you also gain benefits from others snippets.

So.. where I have to puts my snippets online? actually there are a lot of web that provide this service. In this post I will cover two of them that I am using frequently. So, check it out.

Gist (Github)

logo_gist Gist is a snippets service by github, an online project hosting using Git. You can share your snippets without registering, and your snippets will be public accessible. But, I suggest you to register for an account, so you can manage all your snippets, and you will have ability to make your private snippets.

Feature that I love from code snippets repository is its ability to embed snippet into webpage, below is the example of gist embed feature.

Snipt sniptSnipt is another cool service to store your snippets online. The registration is pretty easy, and also you can use your openid. Because Snipt support tagging, you can manage your snippets effectively. I have collected some snippets on my Snipt account, and (I hope) tagged properly. Like Gist, Snipt also support embed feature, check below.

For long list of other repositories, you can check post on Smashing Magazine. Try one by one, or just choose one or more that you feel suitable for your needs. Believe me, this is absolutely useful for you. If you have any comments, feel free to put them below ;)



Share and Bookmark


One Comment to “Let’s Upload and Share Your Snippets”

  1. [...] you have a problem, you can run rvm debug as well as rvm ((command you tried to run)) –debug and post it on online code snippets, then post the url to the [...]

Leave a Reply