How to quickly share source code snippets

I often have the necessity to share a long snippet of code with someone located somewhere who somehow needs it. Sure, there are a lot of services out there, ranging from Pastebin to Snipplr, but the point is that they waste way too much of my time: I have to visit the website, in some cases I’m forced to register/login, and so on. Spending a good amount of my time on the command line, I was looking for a much more convenient way to quickly share my code.

Advertisements