Last active
December 13, 2015 23:59
-
-
Save pnlybubbles/4995516 to your computer and use it in GitHub Desktop.
コシィ...
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
# encoding: utf-8 | |
require './twitter-config.rb' | |
t = [] | |
rand(20).downto(0) { |i| | |
text = "コシィ" * i + "..." | |
puts text | |
t[i] = Thread.new { | |
begin | |
$pn1y.update(text) | |
rescue Exception => e | |
puts e | |
end | |
} | |
sleep 0.1 | |
} | |
t.each { |th| | |
th.join | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment