Skip to content

Instantly share code, notes, and snippets.

@edgar
Created January 2, 2014 21:21
Show Gist options
  • Save edgar/8227157 to your computer and use it in GitHub Desktop.
Save edgar/8227157 to your computer and use it in GitHub Desktop.
Happy New Year in Ruby in less than 140 chars / fork from @camilleroux
ruby -e 'def a;10.times{puts " "*rand(79)+"*"};end;99.times{a;puts " "*34+"Happy New Year 2014";a;sleep 0.1;puts "\e[2J"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment