2008-07-01ãã1ã¶æéã®è¨äºä¸è¦§
ãã«ãã«ãªã£ã人ã®ã¡ãªãããè²ã æãã¦ãã ããã è²ã ãå強⦠- 人åæ¤ç´¢ã¯ã¦ãªå¥³ã®å(ã«ã¯|ã®ãµããããã¨)ã親åã«ãã¦ãããç·ãã¡ãããããã®æ§è³ªãå©ç¨ãã¦ããã¾ã¢ã«ã¦ã³ããæã£ã¦ãã人ããããããããªãã ããã¾ã§æãåºããããåæã®æ³ã§ã¬â¦
ãã®åº¦anything.elã®ã¡ã³ããã«ãªãã¾ãããåä½è ãã³ã¼ããæ¸ãæããªãã»ã©å¤å¿ãªãããåãéçºãå¼ãç¶ããã¨ã«ãªãã¾ãããanything.elãä¸è¨ã§è¨ãã¨Emacsã§åãQuickSilverã§ããä»å¾ã®äºå®ã¨ãã¦ã俺è¨å®ã®ãã¡å®å®ãã¦ããã³ã¼ããåãè¾¼ããã¨æâ¦
é£ç¶ç¨¼åæéåå¹´çªç ´ã $ uptime 13:33:52 up 182 days, 10:20, 1 user, load average: 0.13, 0.13, 0.10 ããã«ãã¦ãè² è·ããã¦ãªãã®ã«CPU温度ã50度ã£ã¦å¤§ä¸å¤«ã ããããé«è² è·æã§75度以ä¸ã«ãªããï¼ï¼å¤ã ãããããããªãã®ãã
RubyGemsã使ããªãRubyã¹ã¯ãªããã®installã¯setup.rbãå®çªã ãã ããsetup.rbãå ¥ãã¦ããã®ã礼åã¨ãªã£ã¦ããã ç¾å¨ã®ãã¼ã¸ã§ã³ï¼ã¨ãã£ã¦ãä½å¹´ãåã ãï¼ã¯ãruby setup.rbããå®è¡ããã ãã§ããã®ã ããããã±ã¼ã¸éå±ã®setup.rbã¯å¤ããã¨ãããâ¦
yasnippet.elã¯ããã©ã«ãã§ã³ã¡ã³ããæååä¸ã§ã¯åæã«å±éãããªããããªè¨å®ã«ãªã£ã¦ããâ¦ã¯ãã ã£ãã (defvar yas/buffer-local-condition '(if (and (not (bobp)) (or (equal "font-lock-comment-face" (get-char-property (1- (point)) 'face)) (eqâ¦
http://d.hatena.ne.jp/tokuhirom/20080719/121642345410å¹´åã«Perl5ã®ãªãã¸ã§ã¯ãæåãããããªãã¦Rubyã«éãã俺ãªãã ãã俺ãPerlåå ¥éãããããªã10å¹´åã®ãã©ã¦ãã«æ±ºçãçãããã Tatsuhiko Miyagawa ã®ã½ã¼ã¹ã³ã¼ãã¯å¯èªæ§ãé«ããã¨ã§ä¸çâ¦
Yahoo!ããã°ã®ç»åã®content-typeãtext/plainã«ãªã£ã¦ãããããw3mããç»åãè¦ãããããªãã¨ããææãã (æ) 以åãcontent-typeãããããã¨è¦æ ãéã£ãã®ã ãã·ã«ãããããã IEã¨ãã§text/plainãªç»åãè¦ãããã®ã¯ãIEãééã£ã¦ããã¨ãããã¨â¦
ããªãé ãåç¥ã§ãããã¾ããã¨Ruby! Vol.1ãå¢å·ããã¾ããã åã®è¨äºãå½¹ç«ã£ãã¨è¨ã£ã¦ããã人ããã¦ãã¨ã¦ãå¬ããã§ãããããã¨ããããã¾ãã
ç¾å¨ä»äºã®è¿½ãè¾¼ã¿ãªã®ã§ãæ´æ°é »åº¦ãéã£ã¦ãã¾ãã ã¡ããã¨çãã¦ããã®ã§ãå¿é ãªã^^
Rubyæ¨æºæ·»ä»ã®eRubyå®è£ ã®erbãããã¯erbã³ãã³ãã«ããªã£ã¦ãã¦ã·ã§ã«ããå®è¡ã§ããã ãã¨ãã°ããããªeRubyã¹ã¯ãªãããerbã§å®è¡ããã¨ãã1 + 1 = 2ãã¨åºã¦ããã % a = 1 <%=a %> + <%=a %> = <%=a+a %> ä¸æ¹ãERB.new(eruby_script).resultã§å®è¡â¦
fluent interface æµãããããªã¤ã³ã¿ã¼ãã§ã¤ã¹ - #çåæ¦ç¥ ããã㯠- subtech Ruby ã§ãã¼ã¯ã¼ãå¼æ°ç㪠Fluent Interface ã®å®è£ - #çåæ¦ç¥ ããã㯠- subtech æµãããããªã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ã¡ã½ãããã§ã¼ã³ã¯éããã® - yvsu pron. yasæè¿ã¯æµâ¦
Scriptscriptã¨ããã©ã¤ãã©ãªããããããã¯ãRubyã¹ã¯ãªãããã¡ã¤ã«ããªãã¸ã§ã¯ãã¨ãã¦æ±ããã®ã ã gemåããã¦ãªãã®ã§ã¤ã³ã¹ãã¼ã«ã¯æä½æ¥ã§ã wget http://redshift.sourceforge.net/script/script-0.3.tgz cd script-0.3 ruby install.rb config â¦
Procã®ã½ã¼ã¹ãåãåºãã©ã¤ãã©ãªï¼proc_source.rb - Hello, world! - s21gç´ãªã³ã¯Procã®ä¸èº«ãå¾ããããªãã¦ï¼ã¾ãããããªãã¨ãã¨æã£ã¦ã½ã¼ã¹ãè¦ãã¦ã¿ãããªãã»ã©SCRIPT_LINES__ã§procã®å®ç¾©éå§ãè¦ã¦ãirbéå±ã®ruby-lexã§procã®çµãããç¥ãæ¹â¦
Ruby1.8.7-p22㧠ActiveSupport2.0.2 ã®ã String#camelizeãããã¨ã Ruby1.8.7ã ããã String#gsub() #=> Enumerable::Enumerator ã«ãªã£ã¡ããã®ã§ãã¨ã©ã¼ã - Rubyå¦ç¿ã¡ã¢ - RubyistString#gsub() #=> Enumerable::Enumeratorã«ãªãã±ã¼ã¹ã£ã¦ããâ¦
http://d.hatena.ne.jp/takihiro/20080701/1214919182 # A Ruby-ized realization of the K combinator, courtesy of Mikael Brockman. # # def foo # returning values = [] do # values << 'bar' # values << 'baz' # end # end # # foo # => ['bar', 'bazâ¦
ã©ããªãã©ã³ã使ã£ã¦ãã¦ãè¦ãç®ã¯åãâ¦ãããããã¹ããã©ã¦ã¶ã¯ãªãªã㣠- http://rubikitch.com/ã«ç§»è»¢ãã¾ãã http://d.hatena.ne.jp/piyo2-moko/20080702/1214959490ç®ã®ç²ãã«ããè²è¨å® - http://rubikitch.com/ã«ç§»è»¢ãã¾ãã èæ¯è²ã¯darkgreenâ¦
http://d.hatena.ne.jp/piyo2-moko/20080701#1214913966 質åã§ãã ããã¶ã®ãã©ã³ããã©ããªã§ãããã³ãã¡ããã®ç»é¢ã¯çå¹ ã«ãªãã®ã§ããããï¼ ããããã¹ã¦ã®ãµã¤ãã§çå¹ ã«ãªã£ã¦ãããããã©ãããæåã®å¤§ãããè²ããã©ã³ããèæ¯è²ãã¹ã¦ä¸å®ããµâ¦
anything-dabbrev-expand.elã§dabbrevã®é¨åãããããµãã¼ãï¼ - http://rubikitch.com/ã«ç§»è»¢ãã¾ããæ©è½è¿½å ã¨ãã°ç´ãã
eval-bufferã¯å¸¸ã«nilãè¿ããevalã¨ååãã¤ãã¦ãããã¤ãè©ä¾¡çµæãè¿ãã®ããªã¼ã£ã¦æã£ã¦ãããå¯ä½ç¨éå®ãªã®ãç¥ã£ã¦æç¶ã¨ããã eval-buffer is an interactive built-in function in `src/lread.c'. (eval-buffer &optional BUFFER PRINTFLAG FILEâ¦
æè¿tokyo-emacsã¨ããEmacsåå¼·ä¼ã§pabbrev.elã話é¡ã«ãªã£ã¦ããããã ã 俺ã¯æ¯æ¥EmacsWikiãRSSã§å·¡åãã¦ãããããæããpabbrevã¯ç¥ã£ã¦ãããã使ã£ã¦ããã ã½ã¼ã¹ãè¦ã¦ã¿ããã©ããããè¡åãããããããã¾ããhard codingãç®ç«ã£ã¦ãããããâ¦
anything-dabbrev-expand.elãªãªã¼ã¹ - http://rubikitch.com/ã«ç§»è»¢ãã¾ããæããEmacs Lispã®é·ãã·ã³ãã«ã«ã¯ãããããã¦ãããæè¿ä½¿ã£ãã·ã³ãã«ã¯ããdabbrevã§è£å®ããã®ã ããæ°æåæã£ã¦ããdabbrevãã¦ãã¾ãã¨ãå¥ãªã·ã³ãã«åã«è£å®ããã¦ãâ¦