Created
September 4, 2015 07:00
-
-
Save Seondong/ad802166f117e64aadfe to your computer and use it in GitHub Desktop.
doSum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** gist tutorial with sublime text 2 | |
Source: https://medium.com/@cookatrice/sublime-text2%EC%99%80-gist%EB%A1%9C-%EA%B9%94%EB%81%94%ED%95%98%EA%B2%8C-code-snippet%EC%9D%84-%EC%82%AC%EC%9A%A9%ED%95%B4-%EB%B4%85%EC%8B%9C%EB%8B%A4-2518f23ce606 | |
1. Generate Github token | |
2. Put your token information on the first parameter in Sublime Text2 -> Packages -> Gist -> Gist.sublime-settings | |
3. Check your snippet on http://gist.github.com/yourId | |
Sublime Command | |
1. Package Control: Ctrl + shift + p command | |
1.1. Syntex: JavaScript (depending on the snippet - easy to see in Sublime) | |
1.2. Gist: Create public Gist | |
2. Script: Control + ` | |
**/ | |
function doSum(a,b){ | |
return a+b; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment