2008-05-01ãã1ã¶æéã®è¨äºä¸è¦§
ããããªã¨ããã«æ³¢ç´ãåºãã£ã¦ã¾ããããããªã«åé¿ãããã®ã¯ããä»ã®ITæ¥çã£ã¦åé¡ããããªã¼ãã¨ã¿ããªæãã¦ãããã©ãå¤ãããªãç¾ç¶ã«ã¿ããªãããããã¦ãããããªãã§ããããã¼ãã£ã¨ã
ããªãã ãããããããã®ã§ä»åº¦èª¿ã¹ãã¨æ¸ããã¨ããã«ã¤ãã¦ãCSRFã®å¯¾å¿ã«ã¤ãã¦ãrails使ããç¥ã£ã¦ããã¹ãã㨠- ããããWEBãµã¼ãã¹éçºæ¥è¨ã¾ãã¯ããã¼ã¨ã»ãã·ã§ã³ã®éããããèªåã®èªèã¯ãããªæã ã¯ããã¼ãã»ãã·ã§ã³ãããã©ã¦ã¶ã«ãã¼ã¿â¦
ãã®ããã°ã®ãã©ã³ããæè¿ãæ°ã«å ¥ãã®Lucida Grandeã«å¤æ´ãã¦ã¿ã¾ããã Lucida Grandeã¯macç¨ã®ãã©ã³ããããã®ã§ãwindowsã®ããã«Lucida Sans Unicodeãã©ã³ãã®æå®ããã¦ãã¾ãã ãã©ã³ããå¤ããã ãã§ãå°ãé°å²æ°ãå¤ãã£ã¦æ¥½ããã§ããã
ããã¾ã§ããã¾ãå³æ ¼ã«åºå¥ãã¦ãªãã£ãã®ã§ãã¡ã¢ã instance_of? foo.instance_of? Hoge fooãHogeã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã®æç fooãHogeã¯ã©ã¹ã®ãµãã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã®ã¨ãç is_a? foo.is_a? Hoge fooãHogeã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã®æç fooãHogeâ¦
rubyã®ãªãã¡ã¬ã³ã¹ããå¼ç¨ã!ãã¤ãã¦ããã¡ã½ããã¯ç ´å£çãªãã ã¨æã£ã¦ããã©éãã®ãã ããã¾ã§ãããã!ããä»ãã¦ããã¡ã½ããã¨ä»ãã¦ããªãã¡ã½ããã®ä¸¡æ¹ãããã¨ãã¯ãã!ããä»ãã¦ããã»ããç ´å£çãã¨ããã ãã§ãããã!ããä»ãã¦ãããªãâ¦
ä¸è¨ã®è¥¿å±±ããã®ãã¡ã¤ã«ãåèã«ãã¾ããã Hiki-dev:01036 hiki-mode.el: Basicèªè¨¼å¯¾å¿ ãããä½ã£ãã®ã§ç½®ãã¨ãã¾ããèªç±ã«ä½¿ã£ã¦ãã ããã --- hiki-mode.el 2008-05-23 00:21:24.000000000 +0900 +++ hiki-mode.basic.el 2008-05-23 00:29:34.0000â¦
ããããprototypeãã¼ã¹ã®èãæ¹ãããã£ãæ°ããã¾ããã§ããªãã§ãããªã«ãããããä»æ§ãªãã ãã
ä»æ¥ã¯é¢æ°ã«ã¤ãã¦ããµã¤æ¬8ç« ãèªãã§æ°ã«ãªã£ãã¨ããã®ã¡ã¢ã§ãã é¢æ°ã®å¼æ° å¼æ°ã¯çç¥ã§ããããçç¥ããåã®å¼æ°ã«ã¯æªå®ç¾©å¤ãè¨å®ããããå®ç¾©ãããããå¤ãã®å¼æ°ã渡ããã¨ãã¯ãå¤ãåã¯ç¡è¦ããããï¼ã§ãå¾è¿°ããArgumetsãªãã¸ã§ã¯ãã使ãâ¦
ã¿ã¤ãã«ã®éããããã¯ãã¼ã¯ãã¼ã«ãã¼ã«ãã©ã«ããç»é²ããçºæ³ããªãã£ãã®ã§ãããä»æ¥ãã¾ãã¾ï¼ãªãã§ãã£ãã®ãã¯å¿ããï¼ãã©ã«ããç»é²ãããæ¿ãã便å©ã§æåãã¾ããã
æè¿ã¾ã§ããã¾ãåå¼·ããã«javascriptãæ¸ãã¦ããã®ã§ãããããããåºç¤ããåå¼·ããªãã¨å¹çãæªãããã«æãã¦ãã¾ããã ã¨ããããã§åå¼·ãããã¨ãã¡ã¢ã è«çå¼ ifæã§ã¯ãfalseã ãã§ãªã0, NaN(Not a Number), null ã®æãfalseã«ãªãããã以å¤â¦
ããè²·ã£ããã±ã£ã¨è¦ããªãããããããããããããEmacsâLispè¬åº§ä½è : åºç¬éäºåºç社/ã¡ã¼ã«ã¼: ã«ããã·ã¹ãã çºå£²æ¥: 1999/01ã¡ãã£ã¢: åè¡æ¬è³¼å ¥: 4人 ã¯ãªãã¯: 145åãã®ååãå«ãããã° (30件) ãè¦ã
æ¨æ¥äºç´ãã¦ä»æ¥ã²ããããªããå ¥å ´å¸ã¯åºé è³¼å ¥ã§æ親ä¼ãã±ããã¯ã¯ã¬ã¸ãã決æ¸ã§ãããå½æ¥ã®ããã«ãäºç´ãã¨ããªãã¨ãªã¼æ¥æ¬ Ruby ä¼è° 2008 - FrontPage
ä»æ¥åå¼·ãããã¨ãã¡ã¢ã¡ã¢ é¢æ° defvar å¤æ°ã®ããã¥ã¡ã³ããæ¸ããsetq (defvar varname initial-value "desctiption of the variable") defconst defvarã¨ã»ã¼ä¸ç·ãå®æ°ãå®ç¾©ããã¨ãã«ä½¿ãã substring æååããä¸é¨ã®æååãé¤ãããã®ãè¿ãã (â¦
emacsã«ã¯ãé¢æ°ã使ããã¦ããé¨åããå®ç¾©é¨åã«ã¸ã£ã³ãã§ããã¿ã°ã¸ã£ã³ãæ©è½ãããã¾ãã ã¿ã°ã¸ã£ã³ããããããã«ã¯ãetagsã³ãã³ãã§TAGSãã¡ã¤ã«ãä½ãå¿ è¦ãããã¾ãããæ¨æºã®etagsã¯rubyã«å¯¾å¿ãã¦ãã¾ããããããããªãã·ã§ã³ã®æ£è¦è¡¨ç¾ã§ã¿â¦
å ¥éGNU Emacsã«æ¸ãã¦ãã£ããload-pathã«ç½®ãã¦ãããã¡ã¤ã«ã®ã½ã¼ã¹ã表示ããã©ã¤ãã©ãªãåçµããã (defun find-library-file (library) (interactive "sFind library file: ") (let ((path (cons "" load-path)) exact match elc test found) (while â¦
ãã®ï¼ãå°ããã¤ããã£ã¦ããæ°ããããã©ã¾ã å é·ãã å¶å¾¡æ§é cond if ~ else if ~ else if ~ã¨åãã zerop å¼æ°ãã¼ããã©ããããã§ãã¯ããã¼ããªãtãè¿ãã ãµã³ãã« (defun how-many (count) (cond ((zerop count) "no") ((= count 1) "one") ((=â¦
以åãCSRFã«ã¤ãã¦ã®ã¨ã³ããªãæ¸ãã¾ãããCSRFã«ã¤ã㦠- ããããWEBãµã¼ãã¹éçºæ¥è¨ä¸è¨ã¨ã³ããªã§ã¯CSRFã®æ¦å¿µã«ã¤ãã¦æ¸ãã¾ããããããå°ãã¤ã£ããã§èª¿ã¹ãå¿ è¦ãåºã¦ãã¾ããã調ã¹ããã¨ãæ¸ãã¦ããã¾ãã åºç¤ application.rb(ãªããé©å½ãªCoâ¦
ä»æ¥ã©ãããããæ©ãã ã¨ãããã¡ã¢ã èæ¯ nameã¨countå±æ§ãæã¤ã¢ãã«Hogeãããã¨ãã¦ãnameãåå¨ãã¦ããã°countã1å¢ãããnameããªããã°æ°ããä½ã£ã¦saveããã¡ã½ããincreaseãä½ãã¨ããããã®æã«ãHogeã®åæã®countã1ã«ããã0ã«ãããã§ã¢â¦
HTMLãCSSãªã©ã®ã½ã¼ã¹ã®åç §ãç·¨éãæå®ããã¨ãã£ã¿ã§ã§ããã¢ããªã³ViewSourceWithãå ¥ãã¦ãã¦ãã¾ããæã ã½ã¼ã¹ãè¦ãã¨ãã«ä½¿ã£ã¦ããã®ã§ãããtextareaå ã®ããã¹ãç·¨éæ©è½ããããã¨ã«æ°ã¥ãã¾ãããViewSourceWith :: Firefox Add-onsããããâ¦
ãã¤ãç»åãéãã¨ãã«ã¯ããã¤ãFinderãèµ·åãã¦ã¡ã¾ã¡ã¾ã¯ãªãã¯ãã¦ããã®ã§ããã ä»æ¥ãµã¨ããããªé¢¨ã«ãããéããããããªãã®ï¼ã¨æããã£ã¦ã¿ããæ¬å½ã«éãã¦ã³ã£ããããã open hoge.png å¤å常èçãªãã¨ãªãã ãããªã¼ã¨æãã¾ãããèªåçâ¦
spidermonkeyã¨flymakeã¨javascript.elãããã°ãemacsã§ã·ã³ã¿ãã¯ã¹ã¨ã©ã¼èªåæ¤åºãã§ããããã§ããflymakeã¨javascript.elã¯å°å ¥æ¸ã¿ãªã®ã§ãæ®ãã¯spidermonkeyã ãã¤ã³ã¹ãã¼ã«ããã°OKã ã¡ãªã¿ã«spidermonkeyã¯javascriptã®ã¤ã³ã¿ã©ã¯ãã£ãã·ã§ã«â¦
emacsã§lispã®åå¼·ãããã¨ãã«å¿ è¦ãªãlispãè©ä¾¡ããã³ãã³ãã«ã¤ãã¦ã¡ã¢ã¡ã¢ã lispè©ä¾¡ã³ãã³ã M-ï¼ lispå®è¡ç¨ã®ãããããã¡ãéã M-Tab M-:ãããããã¡å ã§ã®ã·ã³ãã«è£å®ï¼macã ã¨ä½¿ãã«ããï¼ C-x C-e ã«ã¼ã½ã«è¡ã®ã³ã¼ããå®è¡ C-M-x ã«ã¼ã½ã«â¦
ãããããªã¬ã¼ã·ã§ã³ã«ã¤ãã¦ã belongs_to, has_one, has_manyã®åºæ¬ ä»æ¥èªãã ç¯å²ã§ã¯ç¹ã«æ°ãããã¨ã¯ãªãã£ãã has_and_belongs_to_many has_and_belongs_to_many(habtm)ã¯å©ç¨ã·ã¼ã³ããããéããã¦ãã¦ãè¦ãã¦ãã¦ãããã¾ã使ããªãããããªãâ¦
kwoutã®firefoxç¨ã¢ããªã³ããªãªã¼ã¹ãã¾ãããkwout | Firefox add-on via kwoutå¾æ¥ã®ããã¯ãã¼ã¯ã¬ããçã¨æ¯ã¹ã¦è¯ãç¹ã¯ mixiã¨ããããã¾ã§åãæããªãã£ããã¼ã¸ã«å¯¾å¿ï¼ ãã¼ã«ã«ã¸ã®ä¿åãç°¡åã«ãªã£ã åãæãç¯å²ã®ç¸®å°çãç´°ããæå®ã§ãã â¦