changeset 2179:5c4a6399edf8

update url.rb
author SUZUKI Takehisa <c110128@e.koeki-u.ac.jp>
date Fri, 24 Jan 2014 15:26:44 +0900
parents 93d166950e5e
children 428be07823ba
files coop/url.rb
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/coop/url.rb	Fri Jan 24 15:22:07 2014 +0900
+++ b/coop/url.rb	Fri Jan 24 15:26:44 2014 +0900
@@ -7,16 +7,16 @@
 
 srand(56384679263254687)
 10000.times {rand(1000000)}
-idlist = (1..100).collect{rand(10000000)}
+idlist = (1..50).collect{rand(10000000)}
 
-while i <= 100
+while i <= 50 
   pass << idlist[i]
   i+=1
 end
 
 i=0
 
-while i <= 100
+while i <= 50 
   system("qrencode -o #{pass[i]}.png 'http://skip.koeki-prj.org/coop/entry.rb?#{pass[i]}' ")
   i+=1
 end

yatex.org