Last active
November 17, 2017 16:09
-
-
Save jreyes33/04e69766642167eaf308cf87ebacd397 to your computer and use it in GitHub Desktop.
cowquotes.sh
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
#!/usr/bin/env bash | |
set -euo pipefail | |
while true | |
do | |
clear | |
curl -s https://talaikis.com/api/quotes/random/ | | |
jq -r '"“\(.quote)” —\(.author)"' | | |
cowsay -f $( ls /usr/share/cowsay/cows/ | shuf -n 1) | |
sleep 15m | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment