Skip to content

Instantly share code, notes, and snippets.


Paul Daniels paulpdaniels

  • Singapore
View GitHub Profile
nilsjesper / Random Donald Trump Word Salad Robot
Last active Nov 23, 2016
This is a quick bash script to make your Mac speak a random line from Donald Trump's Washington Post Editorial Interview. Because it sounds even crazier spoken by your computer. Just copy and paste into your terminal and hit return.
View Random Donald Trump Word Salad Robot
curl -s -N --location \
| perl -0ne 'my @list = $_ =~ m/<p>TRUMP:(.*?)<\/p>/smg; print $list[rand @list]' \
| say --progress -i -r 300 -v Alex