Skip to content

Instantly share code, notes, and snippets.

@imownbey
Created November 30, 2011 04:50
Show Gist options
  • Save imownbey/1408068 to your computer and use it in GitHub Desktop.
Save imownbey/1408068 to your computer and use it in GitHub Desktop.
Fuck yeah
ruby -e "require 'rubygems'; require 'open-uri'; require 'rss'; require 'cgi'; puts CGI.unescapeHTML(RSS::Parser.parse(open('http://www.rapquote.com/rss')).items.last.description).gsub('<br/>', \"\\n\").gsub(/<(\\/?)\\w+>/i, '').gsub('“', '\"').gsub('”', '\"').gsub('’', '\'').gsub(' ', ' ')" | cowsay -g | lolcat
_________________________________________
/ "Used to have a crush on Dawn from En \
| Vogue. |
| |
| It's not like honey dip would wanna get |
| with me, |
| |
| But just in case I own more condoms |
| than TLC." |
| |
| - Phife Dawg, "Oh My God," from A Tribe |
\ Called Quest's Midnight Maruaders, 1993 /
-----------------------------------------
\ ^__^
\ ($$)\_______
(__)\ )\/\
||----w |
|| ||
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment