Last active
August 29, 2015 14:19
-
-
Save radubogdan/7386772796ead50df509 to your computer and use it in GitHub Desktop.
dada
This file contains hidden or 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 | |
# Use prozicerisiverbatori.ro in terminal | |
# Put this script in /usr/local/bin and make it +x | |
# | |
# Example of output with cowsay: | |
# $ dada | cowsay | |
# _________________________________________ | |
# / Cu obrazul gros și semeț și cată-le \ | |
# \ și încălțare. / | |
# ----------------------------------------- | |
# \ ^__^ | |
# \ (oo)\_______ | |
# (__)\ )\/\ | |
# ||----w | | |
# || || | |
curl -s http://188.166.21.170/sayings/dada_saying | perl -MJSON::PP -e 'print decode_json(<>)->{dada_saying}' 2>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment