Created
November 29, 2013 11:18
-
-
Save jsrn/7704402 to your computer and use it in GitHub Desktop.
My super secure crypto implementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
def print_block | |
puts "\e[H\e[2J" | |
chars = "ABCDEFGHIJKLMNOPQRSTUVQXYZabcdefghijklmnopqrstuvqxyz0123456789#" | |
chars = chars.split("") | |
(1..20).each do |y| | |
(1..60).each do |x| | |
print chars.sample | |
end | |
puts "" | |
end | |
sleep(1.0/10.0) | |
end | |
100.times do | |
print_block | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment