Skip to content

Instantly share code, notes, and snippets.

@tomcha
Created January 12, 2014 07:19
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 tomcha/8381886 to your computer and use it in GitHub Desktop.
Save tomcha/8381886 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
print `clear`
STDOUT.flush
sleep(3)
strings = ["Wake up, Neo...","The Matrix has you..."," Follow the white rabbit.","Knock, knock, Neo"]
strings = ["お魚くわえたどら猫","追っかけて","はだしでかけてく","陽気なサザエさん","みんなが笑ってる","お日さまも笑ってる","ルルルルルル","明日はまた仕事"] if ARGV[0] == "--sazaesan"
strings.each do |say_string|
say_string.each_char do |s|
print s
STDOUT.flush
sleep(0.07)
end
print `clear`
sleep(5)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment