Mercurial > hgrepos > hgweb.cgi > skipweb
view minato2014/magic.rb @ 592:e3a3c7155ac6
be.png downgrade to 32colors
author | HIROSE Yuuji <yuuji@koeki-u.ac.jp> |
---|---|
date | Fri, 25 Jul 2014 18:42:05 +0900 |
parents | d6f37e2e9a2f |
children |
line wrap: on
line source
#!/usr/bin/env ruby # -*- coding: utf-8 -*- def magic() srand(123456789) hoge = Array.new while hoge.length < 100 hoge << rand(1000000) hoge.uniq! end return hoge end