Skip to content

Snippet will upload selected code to GitHub Gist with the ease of right-clicking and saving generated Gist URL to your clipboard.

License

Notifications You must be signed in to change notification settings

lukabratos/Snippet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Share code snippets with ease!

GitHub Gist is a nice way to share a snippet of code or a block of text with other people. Gists are under Git revision control so it is very easy to view and follow changes, other users can fork them and they are under SSL encryption for private sharing.

Overview

Snippet is a Mac OS X Service made with Automator and powered by a small Python script for uploading code snippets to GitHub Gist with the ease of a simple right-click.

Installation

Double-click on Snippet.workflow and click on the Install button. This will install Snippet into ~/Library/Services folder.

You can uninstall by deleting it from the same folder.

If you want to assign a keyboard shortcut to Snippet service you can do this easily by assigning a key in System Preferences -> Keyboard -> Shortcuts -> Services.

Usage

Select code and right-click. Snippet is located under Services menu. When you use it, it will automatically upload selected text to GitHub Gist and it will copy generated URL to your clipboard so you can share instantly.

Requirenments

Standard Python 2 linked to /usr/bin/python (default setting).

About

Snippet will upload selected code to GitHub Gist with the ease of right-clicking and saving generated Gist URL to your clipboard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages