Skip to content

Instantly share code, notes, and snippets.

@efmeeks
Last active October 18, 2017 07:01
Show Gist options
  • Save efmeeks/3bdb376de9767d4f80b06172dc3fff26 to your computer and use it in GitHub Desktop.
Save efmeeks/3bdb376de9767d4f80b06172dc3fff26 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Hipster LolCow
[ -z "$(type lolcat)" ] && exit
[ -z "$(type cowsay)" ] && exit
echo "$(curl -Ls "https://hipsum.co/api/?paras=1&type=hipster-centric&html=false")" | \
tr -d ']["' | \
fold -s | \
head -1 | \
cowsay -e oO -T 'U ' | \
lolcat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment