Created
April 22, 2021 19:11
-
-
Save barryhughes/d3afe30fdb39d80cd687f5dce2c6ef18 to your computer and use it in GitHub Desktop.
Print a fresh joke every 2 mins (CLI\Bash\Zsh)
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
# Every 2 mins (`-n 120` where 120 is num seconds), display a new joke. | |
# | |
# - On MacOS you may need to `brew install watch` first of all. | |
# - Fun to place this in a small Tmux pane | |
watch -n 120 "curl -s -H \"Accept: text/plain\" https://icanhazdadjoke.com/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment