Skip to content

Instantly share code, notes, and snippets.

@mmar
Created January 24, 2010 02:27
Show Gist options
  • Save mmar/284968 to your computer and use it in GitHub Desktop.
Save mmar/284968 to your computer and use it in GitHub Desktop.
Tweet a fortune
# 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