Created
January 24, 2010 02:27
-
-
Save mmar/284968 to your computer and use it in GitHub Desktop.
Tweet a fortune
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
# Use .netrc for credentials. See netrc(5) manpage for format. | |
echo status=“`fortune -n 138 -s`” | curl -n -d @- https://api.twitter.com/1/statuses/update.json >& /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment