Created
February 20, 2012 21:56
-
-
Save Hunter-Dolan/1871752 to your computer and use it in GitHub Desktop.
Rev it!
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
# The lower this number the more heat your cpu will generate | |
count_to = 1 | |
i = 1 | |
count = 0 | |
while i do | |
i = (i * (34634523 * 23) / 235 * 12359829835) ^ 8799889 | |
puts i | |
if(count == count_to) | |
count = 0 | |
puts i | |
else | |
count += 1 | |
end | |
end |
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
def crash_it | |
puts "thread_started" | |
# The lower this number the more heat your cpu will generate | |
count_to = 1 | |
i = 1 | |
count = 0 | |
while i do | |
i = (i * (34634523 * 23) / 235 * 12359829835) ^ 8799889 | |
if(count == count_to) | |
count = 0 | |
#puts i | |
else | |
count += 1 | |
end | |
end | |
end | |
while true do | |
puts "The Game:" | |
Thread.new{crash_it()} | |
puts " You Loose" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment