Created
November 10, 2011 18:01
-
-
Save persand/1355589 to your computer and use it in GitHub Desktop.
Bash script for github.com/x URL:s -> git.io
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
function shit() { | |
if [ -n "$2" ]; then | |
curl -i http://git.io -F url=https://github.com/"$1" -F code="$2"; | |
else | |
curl -i http://git.io -F url=https://github.com/"$1"; | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
哥你好搞笑