Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Takes a random Trump statement from his NY Times round-table and has your computer speak it. To chilling effect.
curl -s -b -N --location http://www.nytimes.com/2016/11/23/us/politics/trump-new-york-times-interview-transcript.html \
| perl -0ne 'my @list = $_ =~ m/>TRUMP:(.*?)<\/p>/smg; print $list[rand @list]' \
| say -i -r 300 -v Alex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment