2007-08-01ãã1ã¶æéã®è¨äºä¸è¦§
ãªãã¨ãªãï¼bashããzshã«ç§»è¡ãã¦ã¿ããã¨æãï¼screenã®è¨å®ãåèã®å¿ è¦æãããªï¼
ç¡äºã«ç§»è¡çµäºï¼è¨å®ã¯å¾æ¥æ²è¼ãããï¼
ããä¿®æ£ï¼ caption always "$LOGNAME@%H %{= wb} %-w%{=bu dr}%n %t%{-}%+w %= %{=b wk} [%l] %{=b wb}%y/%m/%d(%D) %{=b wm}%c"
é¸æç¯å²ã®å転ã¨å¯¾å¿ããæ¬å¼§ã®ãã¤ã©ã¤ã (show-paren-mode t) ; 対å¿ããæ¬å¼§ãå ãããã (transient-mark-mode t) ; é¸æé¨åã®ãã¤ã©ã¤ã
ãã®ã¾ã¾ä¸æã§ããã£ã¦ã®ããããï¼ä½æ¥ä¸ã®ã¾ã¾ã«ã§ãããï¼ããã§ä¾ãã°VMWareãåèµ·åãã¦ãã»ã»ã»ã»ï¼ã£ã¦è¨ãããªããã£ã¨è¯ããã ãã©ããªãã ãããï¼ã¨ããããï¼è¨å®è¨é²ï¼åºæ¬çã«ããããªã¨ããã®ãå¼ç¨ãã¦ã¡ãã£ã¨æ¹è¯ããæãï¼ããã¡ãã£ã¨â¦
åèãããï¼ä¸åº¦åæ¸èªã¿ããï¼äººæã®ç¥è©±âç¼äººéãæã¤éã®å¼¾ã¯ãªã (Professional computing series (å¥å·»3))ä½è : Jr.,ãã¬ããªãã¯ã»P.ãã«ãã¯ã¹,Frederick Phillips,Jr. Brooks,æ»æ²¢å¾¹,å¯æ²¢æ,ç§éç¥ååºç社/ã¡ã¼ã«ã¼: ãã¢ã½ã³ã¨ãã¥ã±ã¼ã·ã§ã³çºå£²â¦
ã©ããå¿åå ã¨ä»ã®ã¨ãããç¹ãã£ã¦ã模æ§ï¼ãã¬ã¿ã¨ããã§ã¾ãå¥ã«è¯ããï¼ä¸çã¯çããï¼
http://d.hatena.ne.jp/umedamochio/20070811/p1確ãã«ãããªãã ããªï¼æ¥æ¬ç¤¾ä¼ã£ã¦ï¼ãªãã¨ãåãè¿ãããã¡ã«æãåºããªãã¨ï¼æ»ã¬ã¾ã§æç¸ããã¦ãã¾ãæ°ãããï¼æãããï¼
1. railsã³ãã³ãã§ããã¸ã§ã¯ããã¡ã¤ã«ä¸å¼çæ $ rails project2. config/database.ymlã§ãã¼ã¿ãã¼ã¹æ¥ç¶è¨å® 3. script/generateã§modelçæ $ ruby script/generate model Model4. migrationãã¡ã¤ã«ãããã¼ãã«çæ $ emacs db/migrate/00X_create_mâ¦
è¦ç´ã®ã¡ã¢ modelã¯åæ°ï¼ãã¼ãã«åã¯è¤æ° ãã¼ãã«éã®é¢é£ã«ã¯ï¼ é¢é£ãããã¼ãã«å_idãã«ã©ã ã«è¿½å ãã modelã« has_manyãªã©ãè¨è¼ãã 親ã¯åãè¤æ°å½¢*1ã§æå®ãï¼ åã¯è¦ªãåæ°å½¢*2ã§æå®ããï¼ *1:è¦ããã«ãã¼ãã«å *2:è¦ããã«ã¢ãã«å
Rails Enginesã¨LoginEngineãã¤ã³ã¹ãã¼ã« ã©ããæ¥ç¶ã§ããªãã®ã§ã°ã°ã£ã¦ã¿ãã¨ï¼å¥ã®æ¹æ³ã§ã§ããã¿ãããªã®ã§ãã£ã¦ã¿ãï¼ $ script/plugin install http://svn.rails-engines.org/plugins/engines $ script/plugin install http://svn.rails-engines.oâ¦
Plugin Repositoryãæ¢ã $ ruby script/plugin discover Rails Engineã¨LoginEngineãã¤ã³ã¹ãã¼ã« $ ruby script/plugin install engines $ ruby script/plugin install login_engineã¨ãããï¼ http://source.collectiveidea.com/public/rails/plugins/ â¦
ã²ã¨ã¾ãå®æï¼ããªãæéãããã£ããã©ï¼ã¾ãã§ãããããããï¼
ãããåèã«ï¼ããã«èª¿æ´ï¼ããããåãããã«ãªã£ãã£ã½ãï¼
ãããåèã«ï¼æå¾ã®èª¿æ´ï¼
FreeBSD6.1ã«ãªã£ãé½åã§ï¼Libraryãªã©ã®ä¸æ´åæ§ãçºçãã¦ãããããªã®ã§åã¤ã³ã¹ãã¼ã«ï¼ã¤ãã§ã«Tracãå ¥ãããã¨ããï¼
ã©ããECBå ¥ãã¦ãã¨ãã®è¨å®ã§ï¼å¼·èª¿ãã³ã¡ã³ãã®è²ãå¤ãããããï¼ã«ã¹ã¿ãã¤ãºããã°ããã£ã½ãã®ã§ï¼ã²ã¨ã¾ãçµäºï¼ç²ããï¼
ãããåèã«ï¼/etc/termcapã®xterm+256colorã®é¨åã«ä¸è¨ã追å ï¼ :AB=\E[48;5;%dm:AF=\E[38;5;%dm:ã²ã¨ã¾ã256è²ã¯åºãããã«ãªã£ãï¼
ã©ãããTerminalã§ã¯256è²ã ãï¼emacsã ã¨8è²ã«ãããªããï¼ã©ããå¥ã®åé¡ã®ãããªã®ã§ï¼ç¾å¨èª¿æ»ä¸ï¼
ã©ãã8è²ãã表示ãããªããããï¼å転ããã¨æåãè¦ããªããªãï¼ã®ã§ï¼ãã256è²è¡¨ç¤ºã§ããããã«ãã¦ã¿ãï¼ãï¼ãã¾ããããªãï¼ãããã emacs -f list-colors-displayãã¦ã8è²ãã表示ãããï¼ä½ãä»ã®åé¡ããªï¼
ã©ã¤ãã»ãªã³ã»Rails Ruby on Railsãå¾¹åºæ»ç¥ä½è : åç°åå¼,é¦¬å ´éæåºç社/ã¡ã¼ã«ã¼: ã½ãããã³ã¯ã¯ãªã¨ã¤ãã£ãçºå£²æ¥: 2006/06/30ã¡ãã£ã¢: åè¡æ¬ ã¯ãªãã¯: 52åãã®ååãå«ãããã° (88件) ãè¦ãscript/serverç³»ã®optionãæ¸ãã¦ãã£ãã®ã§è³¼å ¥ï¼
ã§ãã¦ãªãã£ãã£ã½ãã®ã§ï¼ãããåèã«å°å ¥ï¼
ãµã³ãã«ã¯æåï¼ãã ãã£ã±éããªï¼
åããªãã£ãã®ã¯ç°å¢å¤æ°ã®åé¡ã ã£ãï¼ãããåèã«ï¼GEM_HOMEãç´ã«æ¸ãã°åä½ããã®ã確èªï¼ ENV['GEM_HOME']ãæ¸ãæããããã§ä¸å®å¿ï¼ãã éããªã»ã»ã»ã»ãã£ã±FastCGIãªã©ã使ããããã«å°ç¨ãµã¼ãã«ãã¹ãããªï¼ã¾ãä»ã¯ã¾ã ãããï¼
éä¿¡ã¯ãããã ãï¼åä¿¡ã§utf8ã³ã¼ããæ°å¤åç §ã§è¡¨ç¤ºãã¦ãã¾ã£ã¦ããï¼ã¨ããããï¼ããã«ããæ¹æ³ãæ¡ç¨ï¼ #!/bin/sh unset LC_ALL LANG=ja_JP.UTF-8 LC_TIME=C LANGUAGE=C export LC_TIME LANG LANGUAGE exec /usr/local/bin/svn "$@"
ãã¾ãåããï¼Application errorãåºããã ãï¼ã©ããããããããªãï¼error_logåãåºãããã¾ã§å¾ ã¤ãï¼
ãã®è¾ºãåèã«æ§ç¯ï¼ãã¨ã¯sqlite-rubyããªï¼gemããã ã¨erroråºãã®ã§ï¼sourceè½ã¨ãã¦ãã¦ãããããªãããªï¼