Created
July 8, 2009 18:44
-
-
Save defunkt/143067 to your computer and use it in GitHub Desktop.
Revisions
-
defunkt revised this gist
Jul 8, 2009 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,9 +3,9 @@ # Put this in ~/.bashrc or wherever. # If it doesn't work, make sure your ~/.netrc is right # # (Thanks to @anildigital and @grundprinzip for curl-fu) function tweet { curl -n -d status="$*" https://twitter.com/statuses/update.xml --insecure &> /dev/null echo "tweet'd" } -
defunkt created this gist
Jul 8, 2009 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # $ tweet Hi mom! # # Put this in ~/.bashrc or wherever. # If it doesn't work, make sure your ~/.netrc is right # # (Thanks to @anildigital for curl-fu) function tweet { curl -n -d status="$*" http://twitter.com/statuses/update.xml &> /dev/null echo "tweet'd" } This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ # put this in ~/.netrc machine twitter.com login USERNAME password PASSWORD