Post snippet to Snipplr


/ Published in: Ruby
Save to your folder(s)

Alternative bundle command for e (http://www.e-texteditor.com) or TextMate.

Replace YOUR_API_KEY_HERE with a valid API key -- you can find it on your Settings page (http://snipplr.com/settings/).

Changed the command to allow selection of language. (Thanks, Tyler!) Also it was unnecessary to escape entities when posting to Snipplr, so that caused problems. Please let me know if you have any issues with or suggestions for this command. If you're using TextMate, you'll need to alter the path to CocoaDialog, and you might as well use an environment variable for the API Key.

2/2/2007: Fixed a bug that prevented posting snippets with no tags. Languages are now sorted alphabetically.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.