-
-
Save briandoll/374601 to your computer and use it in GitHub Desktop.
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
#bash function to retrieve the last 5 tweets from a user | |
#based on the Chirp hackathon project by @jf and @jazzychad | |
#hattip @gypak | |
last5tweets () | |
{ | |
dig +short TXT `dig +short TXT $1.timeline.twitter.viadns.org | tr -d \"` | tr -d \" | |
} | |
#usage: | |
# last5tweets jazzychad |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment