2015-12-01ãã1ã¶æéã®è¨äºä¸è¦§
èè ã®ç°ä¸å²ãã (@tanaka_akr) ããç®æ¬ãããã ãã¾ããï¼ *1APIãã¶ã¤ã³ã±ã¼ã¹ã¹ã¿ã㣠~Rubyã®å®ä¾ããå¦ã¶ãåé¡ã«å³ãããã¶ã¤ã³ã¨æ®éã®èãæ¹ (WEB+DB PRESS plus)posted with amazlet at 15.12.14ç°ä¸ å² æè¡è©è«ç¤¾ Amazon.co.jpã§è©³ç´°ãè¦ãæ¬ï¼â¦
2 å¹´ã¶ãã® RubyKaigi åå ã§ãããç¸å¤ããã楽ããã§ãããèªåãã¡ã審æ»å¡ãããã¦ããã£ã TRICK 2015 ã®çºè¡¨ã«ã¤ãã¦ã¯åã®è¨äºã«æ¸ããã¨ããã§ãããã²ã¨ã¤éè¦ãªãã¨ãæ¸ãå¿ãã¦ã¾ãããåèæç®ã§ãããããããããã°ã©ãã³ã°ããã£ã¨è¦ãããªã¼â¦
TRICK 2015 ã«æ稿ãã¦è½é¸ããã¼ãã®ããã°ã©ã ã¯ãã¡ãã $><<"\e[2J";z= 32.chr;loop{s=(0.. 8).map{|i|[i>7??+:?|]* 2*((i>7??-:i==2??=:z)*22)} j=1;Time.now.strftime("%H%M%S" ).bytes{|c|3.upto(9){|i|s[i%8][j+- j[2],3]=(i<8?c%5!=i%5:c<53!=i> 8)â¦
RubyKaigi 2015 ã§çºè¡¨ããã¦ããã ãã¾ãããå ¥è³ä½åã¯ãã¡ããhttps://github.com/tric/trick2015çºè¡¨è³æã¯ãã¡ããhttp://www.slideshare.net/mametter/trick2015-resultsããããã®æ稿ãããã¨ããããã¾ããï¼ä»åã®å ¥è³ä½ã¯ãçºè¡¨ä¼å ´ã§ããã¨è¦ã¦â¦
ææ¥ãã RubyKaigi ãªã®ã§ãã¡ãã£ã¨ããå°ãã¿ãä¸ã¤ãä¾ãã°ã0 ãã 9999 ã¾ã§ãããã·ã¥ã«é ã«å ¥ãã¾ãã h = {} 10000.times do |n| h[n] = true end ãã®ã¨ããh[9998] ã h[9999] ã¯ãh[0] ã h[1] ããé«éã§ããã©ã®ãããé«éãã¨ããã¨ã 1_000_â¦