Skip to content

Instantly share code, notes, and snippets.

@colehocking
Created December 10, 2017 13:52
Show Gist options
  • Save colehocking/f46bd349782e80407e419f810e6c5482 to your computer and use it in GitHub Desktop.
Save colehocking/f46bd349782e80407e419f810e6c5482 to your computer and use it in GitHub Desktop.
Make a penguin say weird things
#!/bin/bash
# This tiny script outputs Github commit messages into the speech bubble of Tux ascii art
# The commit messages are curl'd from whatthecommit.com
# You need the cowsay application
# Check with: `which cowsay`
# Install with: `sudo apt-get install cowsay`
MSG=$(curl -s whatthecommit.com/index.txt)
cowsay -f tux $MSG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment