2007-04-01ãã1ã¶æéã®è¨äºä¸è¦§
Ctrl+x Ctrl+kã§è£å®ï¼è¾æ¸ãåä½ããã¿ãã
$VIMRUNTIMEã£ã¦ãªãã ããï¼ã¨æã£ãã®ã ããã©ã $HOME/local/share/vim/vim70/ã¨ãããã¨ãããã
ã³ãã³ãã®å±¥æ´ããæåã³ã¼ãï¼encodingï¼ã«ã¤ãã¦ãªã©ãæ¸ããã¦ããã
syntax onã«ããããè²ãã¤ãããã«ãªã£ãããã©ãããã¯ä½ã«è²ä»ãããã¦ããã®ããä¸æã å ¨è§ã¹ãã¼ã¹ã«ã¤ãã¦ã¯ãã³ãããã¦ãããã ããã©ãã403 Forbiddenãã§ç´°ããç´¹ä»ããã¦ãã¾ããã " =======================================================â¦
ã¡ãã£ã¨æã£ãã®ã¯ãemacsãããvimã®æ¹ãã好ãããç¥ããªãã set number "è¡çªå·ã表示ããã set ruler "ã«ã¼ã½ã«ä½ç½®ã常ã«è¡¨ç¤º set backspace=start,indent,eol "backspaceãã¼ã§åé¤å¯è½ " æ¤ç´¢ã«é¢ãã¦ã®è¨å® set wrapscan set incsearch " è¾æ¸ãâ¦
.vimrcã®è¨å®ããããã¨ã«ãªããã ãããªã 便å©ãªã¹ã¯ãªããã¯ãã./local/share/vim/vim70/ãã«ããã¿ããã
ãªã¼ãã³ã³ãã³ã oãä¸ã®è¡ã§ãæ¿å ¥ã Oãä¸ã®è¡ã§ãæ¿å ¥ã 追å ã³ãã³ã eãåèªã®çµãã aã次ã®æåããæ¿å ¥ Rããã®å ´ããè¤æ°æåã®ç½®ãæãããªã®ã§ãä¸ã®åã¯åé¤ ã³ãã vãé¸æç¯å²æå® yãã³ãã¼ pããã¼ã¹ã ãã«ãã®åºãæ¹ :help F1 CTRL-Wã§ã¦â¦
ã¦ã¼ã¶ã®ã¨ããã«å ¥ããvimã§ãã¥ã¼ããªã¢ã«ããã cd ./local/bin/vimtutor ã«ã¼ã½ã«ã®ç§»åãè¦ãã livedoorReaderã¨åããªãã ã åé¤ xã ã£ãã...iã§æ¿å ¥ãã¦ãæ¶ãã¦ã æ¿å ¥ãè¦ãã ããã¯ãè¦ãã¦ããããã©ãåãæ¿ããé¢åã ã¨æã ãã®å ´ã§æ¿å ¥ Aâ¦
vimã§PHPã«ã¤ãã¦è²åãã¨ããã¦æ¬²ããã®ã§ã yum install iconv yum install w3m
åèï¼http://www.hazama.nu/t2o2/archives/002696.html åèï¼http://d.hatena.ne.jp/dann/20060406/p1 ã¦ã¼ã¶ã§ããã°ãã¦ã¼ã¶ãã¨ã«ã¤ã³ã¹ãã¼ã«ã§ããï¼ãããã¤ã³ã¿ã¼ãããã®æ¹æ³ã ããï¼ # yum install ncurses-dev # cd /usr/local/src # wget ftp:/â¦
ããæ°æ¥ããã¼ã«ã«ã«VMwareãå ¥ãã¦ããã¡ãã¨éçºç°å¢ãä½ããã¨ã«ãã¾ããã å½ããåã®ãã¨ãããããªãããã©ããªããªãåºæ¥ã¦ããªãã£ããã¨ãªã®ã§ã Windows + PHP5ã¨ããã®ããæ¡å¤é¢åãªãã¨ã¨ãLinuxã«ããå æ¸ãªããªãã¨ãã¨ããæ¼ ç¶ã¨ããä¸å®ãâ¦
FedoraCore 6ã§è©¦ãã¾ããã IPv6ã®è¨å®ãå¤æ´ããã¨ã次ã®èµ·åã§ã«ã¼ãã«ãããã¯ãèµ·ããã¦ãã¾ã£ã... vmwareãå ¥ãã¦ãã qemuã§ã¤ã¡ã¼ã¸ãç¨æãã qemu-img create -f vmdk linux.vmdk 15G ã¤ã³ã¹ãã¼ã«ï¼éçºãã¼ã«ã¨ãtelnetã ãå ¥ãã¦ããï¼ yum upâ¦
Visual Studio 2005 Ruby ãµã¼ã ããããç¥ãããããã©ãé çªã«ãã£ã¦ããã®ããããã ãããªãã
ä¼ç¤¾ã§ããµã¼ãã®è¨å®ããã¦ã¿ã¦ããããã é çªå¤§å è¨å®å¾ãããã¥ã¡ã³ããæ®ãã®å¤§åï¼ãã°å¤§åï¼ ã¨ãããã¨ããããããã£ãã
ã¤ã³ã¹ãã¼ã«ããé çª ntp ftp apahce dbï¼mysql + postgresqlï¼ è¨èª ãã®ä» ã¨ãªãã®ã§ã¯ãªãã ãããï¼ãã®é çªã§ããããã¨ã«ã emacsï¼or vimï¼ svn trac ãªã®ããªãï¼ã¨æãã®ã§ãã
yum -y install ncurses-develä¸éå端ã
top ã¨ã tail -f ã¨ã vmstat ã¨ã vmstatãµã¼ããç£è¦ããæ¹æ³ã¨ãããç¥ã£ã¦ãããªãã¨ã
Linuxã®ã¤ã³ã¹ãã¼ã«ä½æ¥ã£ã¦ãä¾åããé¢ä¿ããã£ã¦ããããææ¡ããã®ã大å¤ãªãã ãªã¨ã ã¤ã³ã¹ãã¼ã«ãããã¤ã³ã¹ãã¼ã«ãã¦ããé çªã¨ããã®ãã大åã ã¨æãã¾ããã ãã¨ãã¦ã¼ã¶ç®¡çã¨ããã®ããã¦ã¼ã¶ãããã°ã«ã¼ãã¨ããã»ãã大åã§ãrootã¨ããâ¦
OSã¯ãFedoraCore 5ã [root@] yum install openssl [root@] yum install openssl-devel [root@] yum -y install readline-devel ncurses-devel zlib-devel [root@] wget -P /usr/local/src ftp://ftp.jp.postgresql.org/source/v8.2.3/postgresql-8.2.3.tarâ¦
ã°ã«ã¼ãã追å ãã ã¦ã¼ã¶ã追å ãã yum updateããã vsftpdãå ¥ãã
my $template = Template->new( { INCLUDE_PATH => '../templates/', RELATIVE => 1, ABSOLUTE => 1, } ); ã¨ããã¨ãincludeããã¨ãã«ãç¸å¯¾ãã¹ãã絶対ãã¹ã使ç¨ãããã¨ãã§ããã£ã¦ç¥ããªãã£ããæ¥ãããããRELATIVEãABSOLUTEã¨ããªãã·ã§ã³ãè¨å®â¦
ã¨ããã®ãããã®ã«ãããã調ã¹ä¸ãã¨ãããããã¤ã³ã¹ãã¼ã«æ¹æ³ãã調ã¹ä¸ã
RFC822ã¨ããå½¢å¼ãããããªã®ã ããã©ãPHP4ã§ã¯ã strtotime("2007-04-02T18:45:00+09:00"); ã¨ããã¨ã-1ãè¿ã£ã¦ãããã§ãã print strtotime("2007-04-02T18:45:00"); // 1175564700ã表示ããã ã¨ãããã¨ãUNIXæéã表示ããã¾ããããã¨ãæéå·®â¦
ãªãã ããï¼ãã¡ãã¨èª¿ã¹ã è¿½è¨ ä¸ç測å°ç³»ã§ãããæ¥æ¬æ¸¬å°ç³»ã ã¨ããããããGoogleMapsAPIã®Geocodingã§è¿ã£ã¦ããæ å ±ã¯ãå¶åº¦ãå¼ããããªæ°ããããè¥å¹²ããããã§ããããã