Ruby
â»2015/11/15追è¨ï¼ç¾æ®µéã§ã¯8è¨èªãã12è¨èªã«å¢ãã¦ããããã®æ id:eel3:20120129:1327845759 ãªãã¦ãã¨ããã£ãã®ã ããæ§æ²ãããªãã¾ãåããããªãã¨ããã£ã¦ã¿ããä½ã£ããã®ã¯ãã¡ãã«ç½®ãã¦ããã GitHub - eel3/hcasl: Command line tool for "hâ¦
è±è¾éã®ããã¹ãå½¢å¼ã®è¾æ¸ãã¡ã¤ã«ãå ¥æã§ããªããªã£ãã¨èãã¦ãããã¦ã¦ãè±è¾é ç¬¬å «ç(è¾æ¸ãã¼ã¿Ver.141/2014å¹´8æ8æ¥ç)ããå ¥æãããä»å±ããè¾æ¸ã¯Ver.1.41ã以åè³¼å ¥ããã®ãVer.1.02ï¼2007å¹´03æããï¼ãªã®ã§ã8å¹´åã¶ãã ãç§ã®è±è¾éã®ä½¿ãâ¦
id:eel3:20120116:1326675419 ã§æ¸ããããã«ãfunclenã¨ããCè¨èªç¨ã®è¡æ°è¨æ¸¬ãã¼ã«ã使ã£ã¦ãããåç´ã«ã½ã¼ã¹ãã¡ã¤ã«ä¸ã«å®ç¾©ããã¦ããé¢æ°åãåæããã ãã«ã使ããããããæ¡ä»¶ã®æã«èª¤ã£ãé¢æ°åãåºåãã¦ãã¾ãããªã®ã§Exuberant ctagsã¨gawkãâ¦
FizzBuzzã¨ããããããªå¸å ´*1ã«ããã¦æ´ã«ããããªãå°ä½ã使ããªããåéã§ã¯ãããã®ã®ãã©ããéè¦ããããããªã®ã§*2æ¸ãã¦ãããã²ã¨ã¾ãæ¢åãã¿ããå¹¾ã¤ãåé²ãã¦è§£èª¬ãããããããæ°ä½ãåºããã¨æãã æ¢åãã¿ï¼ãäºåã«çããç¨æãã¦ãããã¢â¦
éå»ã«ä½åº¦ãæ¸ãã¦ããããæ®æ®µããgccã¨gcovããã使ã£ã¦ãããåºæ¬çã«Cããã°ã©ããªã®ã§ä»äºã§Cã§æ¸ããã¨ãå¤ããæ¸ããã½ã¼ã¹ã®ã³ã³ãã¤ã«ãã§ãã¯ãåä½ãã¹ãã«MinGWã使ã£ã¦ããã®ã ãgcovã使ãã¨æªå®è¡ã®ãã¹ãå¯è¦åããã¦ä¾¿å©ãªã®ã§ã使ã£ã¦ãâ¦
id:eel3:20110225:1298647360 ã«è¼ããã³ã¼ãã¯å人çã«ãããã¯ããããªãã®ããã¨åã質ããããªã代ç©ã ã£ãã®ã§ãå ¨é¢çã«æ¸ãç´ãã¦ã¿ããã¨ã«ãããååã®åçãè¸ã¾ãã¦ããããªæ¹éã§æ»ãã¦ã¿ãã è¨å®XMLãã¡ã¤ã«ãããã¹ããã¡ã¤ã«ã¨ãã¦æ±ãããâ¦
Notepad++ã«ã¯é¢æ°è£å®ã¨ã³ã¼ã«ãããæ©è½*1ããã£ã¦ããã®å®ç¾ã«XMLã§æ¸ãããè¨å®ãã¡ã¤ã«ã使ç¨ãã¦ãããä¾ãã°Cè¨èªç¨ã®XMLã¯ãããªæãã <NotepadPlus> <AutoComplete language="C"> <Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" /> <KeyWord name="#define" /> </keyword></environment></autocomplete></notepadplus>
ããã°ã©ãã³ã°ã®åå¼·ããã¦ããã¨ãç°ãªã話é¡ãªã®ã«ä¼¼ããããªååãä»ãããã¦ãã¦æ··ä¹±ãããã¨ããããä¾ãã°å¤æ°ã«ããããåç §åãã¨é¢æ°ï¼ããã·ã¼ã¸ã£ï¼ãµãã«ã¼ãã³ï¼ã¡ã½ããçã ã®å¼æ°ã«ããããåç §æ¸¡ããã¯ç°ãªãæ¦å¿µãªã®ã ããã©ã¡ãããåç §â¦
æ社ã®ããã°ã©ãã³ã°åé¡ã®è§£çä¾ãè´ã«Matz ruby 1.9ã®éããä½æãã¦ã¿ã
id:eel3:20100502:1272798528 ã«ã¦ãä¼¼ããããªã¢ã«ã´ãªãºã ã®ããã°ã©ã ã§ruby 1.8.7ã¨Cè¨èª*1ã§å®è¡é度ãæ¯ã¹ãã¨ããæå³ã®ãªãè¡çº*2ã«æãæããç§ããã®æãruby 1.9.xãªãããå°ãé«éåããããããã¨æ¸ãã訳ã ãããã®åº¦Ruby-mswin32ã®1.9.2ã®ãâ¦
空ã®è¡ï¼æ¹è¡ã®ã¿ã®è¡ï¼ãæ°åè¡ããã ãã®ããã¹ããã¡ã¤ã«ãæ¥ã«æ¬²ãããªã£ãã®ã§ãRubyã§ä½ã£ã¦ã¿ãã ruby -e '30.times { print "\n" }' > test3.txt è¦ãç®éããä½ã®æ»ãããªããå¾ã§ãããªæ¸ãæ¹ããããã¨ã«æ°ã¥ããã ruby -e 'print "\n" * 30' >â¦
id:eel3:20100502:1272780085 ã id:eel3:20100502:1272783601 ã§æ¸ããRubyã«ãã解çä¾ãå®è¡ããã¨ãæå ã®ç°å¢ã§ã¯3ã4åç¨åº¦ãããã PC DELL Latitude D630 CPU Intel(R) Core(TM)2 Duo T7250 @ 2.00GHz Memory DDR2 (PC2-6400) 2048MB*2 (Dual Channeâ¦
id:eel3:20100502:1272780085 ã®ã³ã¼ãã«ã³ã¡ã³ããä»ããã ãããã¨å¤æ°åãå°ãã ãå¤ãã¦ãã*1ã #!/usr/bin/ruby -w # #= Poderosaãéçºãã¦ããæ社ã®å ¥ç¤¾è©¦é¨ãè¿·è·¯ã®æççµè·¯ãæ±ããã # #author:: eel3 @ TRASH BOX #date:: 2010/05/02 # #== é¢â¦
å ãã¿ã¯ããã 人æç²å¾ä½æ¦ã»ï¼: 人çãæ¸ãæããè ããããã 人æç²å¾ä½æ¦ã»ï¼ 試é¨åé¡ã»ã: 人çãæ¸ãæããè ããããã 3ã¶æ以ä¸åã®è©±é¡ãªã®ã§ä»æ´ãããã®ã ãã©ã2ã3æ¥åã«ç¥ã£ãã°ãããªã®ã§ãããããªã*1ãè¿·è·¯ã®æççµè·¯ãæ±ããåé¡ãè¿·â¦
æ代é ãã²ã¨ãFizzBuzzç¥ããä»åã¯RubyãååãPerlã ã£ãã®ã§ãPerlã®å½±é¿ã大ããåãã¦ããRubyã«ãã¦ã¿ããRubyã¯ããã¹ãå¦ç系統ã®ãã¼ã«ãèªä½ããæã«ãã使ãã以åã¯gawkã使ã£ã¦ãããã©ããã¯ãgawkã¯ç¬ç¹ãªæããã£ã¦ãæ¬æ ¼çãªãã¼ã«ãä½ãâ¦
ããã¹ããã¡ã¤ã«ãã½ã¼ãããããªã£ãæãã©ãããã°ããã®ã ãããï¼æè¿vimã®C/C++ç¨è¾æ¸ãã¡ã¤ã«ãæé ã«ã½ã¼ããããè¾æ¸ãã¡ã¤ã«ã«ã¯C/C++ã®ãã¼ã¯ã¼ãã450åãããæ¸ãã¦ããããã¼ã¯ã¼ãã¯æ¹è¡ã§åºåããã¦ããã®ã§ã1è¡ã«1åèªã ãæåã«æãã¤ãâ¦