Skip to content

Instantly share code, notes, and snippets.

@smcpherson
Created July 31, 2015 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smcpherson/3d01e6756a3c95c8a9be to your computer and use it in GitHub Desktop.
Save smcpherson/3d01e6756a3c95c8a9be to your computer and use it in GitHub Desktop.
require 'base64'; require 'open-uri' ;open('lolz.gif', 'wb') do |file| ; file << open(Base64.decode64("aHR0cDovL3d3dy5tZW5zaGVhbHRoLmNvbS9pbWFnZXMvTUhfU3RhdGljL2di\naXMvMDcwLVNpdHVwc1RocnVzdC1IaXBUaHJ1c3QuZ2lm\n")).read ;end ;while true do ; `open -a "Safari" ~/lolz.gif` ;end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment