2009-11-01ãã1ã¶æéã®è¨äºä¸è¦§
Mysqlã§ãã¼ã¿ã ããããã£ã¨ã³ãã¼ãããã¨ãã takuya@xion$ mysqldump -u $ã¦ã¼ã¶å -p $ãã¼ã¿ãã¼ã¹å --no-create-info takuya@xion$ #ãã¡ã¤ã«ã«åºåããå ´åã takuya@xion$ mysqldump -u ã¦ã¼ã¶å -p ãã¼ã¿ãã¼ã¹å --no-create-info > data_dump.â¦
NHKãªã³ããã³ãã使ã£ã¦ãã¦æããã¨ãå±±ã»ã©æããã¦ã¼ã¶ã¼ããªãã£ã¼ãã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¼ã¹ãæ¹åããã ãã§ããã®ãµã¤ãã¯æçåå²ç¹ã«è¼ãã¯ãã ã ãã¼ã¸è¡¨ç¤ºãé ã Flashç¡é§ã«é«ç»è³ª ãã¿ã³ããç»åã§ãããã«ãã ã¾ããã¼ã¸è¡¨ç¤ºãé ã ãã¼ã¸â¦
NHKãªã³ããã³ãã3ã¶æç®ã ãPT2ãè²·ããã¾ã§ã®ã¤ãªãã«å å ¥ãã¦ãããNHKãªã³ããã³ãã¯æä½ãªWEBãµã¼ãã¹ã ãä¸ã¶æ使ã£ã¦ã¿ãææ³ é ä¿¡æéãé ããã 課éå¶åº¦ããããã«ãã é«ãããæéè¨å® ããå¾ãªãã¡ãã¥ã¼è¨å® 15åã§105åã¨ããµããã¦ã Windoâ¦
ç´æ¥ç·¨éãã¦ã¯è¡ããªãã¿ãããã°ã«ã¼ããã¡ã¤ã«ãç·¨éããã¨ããªãã¼ããå¿ è¦ãã¾ãã¯åèµ·åããªãã¼ãã³ãã³ããèªåå®è¡ãã¦ãããã®ãvigrã³ãã³ãããªãã¼ãããã®ãgrpconvã Linuxã®ã¦ã¼ã¶ã¼ãã°ã«ã¼ãã«è¿½å ããæ¹æ³ã usermod -aG www-data takuyaâ¦
ããWikiãè¦ã¦ããã chmod - ãã¡ã¤ã«ã®ã¢ã¯ã»ã¹æ¨©ã®å¤æ´ r èªã¿åãå¯è½ããã£ã¬ã¯ããªã®å ´åã¯ä¸è¦§è¨±å¯ w æ¸ãè¾¼ã¿å¯è½ããã£ã¬ã¯ããªã®å ´åã¯ä½æè¨±å¯ x å® è¡ã許å¯ããã£ã¬ã¯ããªã®å ´åã¯ä¾µå ¥è¨±å¯ ä¸ä½ãã£ã¬ã¯ããªã®ä¾µå ¥ãã¼ããã·ã§ã³ (x) ããåã£â¦
Operaã®ãã¦ã³ãã¼ãããã¼ã¸ã£ã使ã£ã¦ãã¦æããã¨ãã³ã¬ä¾¿å©ã ãªãã å®äºããã¨ãããããªãå®äºãéç¥ãã¦ãããããããªãã¨ãããè¯ãããã ãã¦ã³ãã¼ãã¦ã£ã³ãã¦ã¯[ Ctrl+j ]ã§è¡¨ç¤ºãããã¨ãåºæ¥ãã åã¯ã³ã¬ã好ãã
Pythonã§irbã©ã¤ã¯ãªã·ã§ã«ã使ããæä¼ç¤¾ã®ï¼·ï½ï½ï½ã«æ¸ãããã¦ããã¢ããæã£ã¦ããããã¦ãã¦ç³»ã¯ä¼ç¤¾ã®ï¼·ï½ï½ï½ã ãã«æ¸ãã¦ãã¨ããã£ã±ããªã¹ã¯ã ããã ããã©ã«ãã®Pythonã·ã§ã« IPythonãããããã¤ã³ã¹ãã¼ã«ä¸è¦ã®ããã©ã«ãã§è¯ãã¨æããipythâ¦
æãå°ãã ãããè·å ´ãããã®PHPã®ã³ã¼ããè¦ã¦ããããã®ä¼ç¤¾ã§åãã®ããããã¨æã£ããã¨ãããã å¤æ°åããã³ã¬ãªã¢ã³è¨æ³ã ã£ãããã ã ãªãã¸ã§ã¯ãå¿åã£ã½ãæ¸ãæ¹ã isActive = true; if ($status->isActive){ //do something } ãã³ã¬ãªã¢ã³è¨â¦
ãªãPHPãåã£ã¤ãããããèãã¦ããPHPã¯Apacheã®ä¸ã§ããåä½ããªãã*1 ã¤ã¾ãããã¥ã¢ã«ãã¿ã¦ãããªãã¡ã¬ã³ã¹ããèªãã§ããHTTPã¨HTMLã«é¢ãããã¨ããåºã¦ããªããPHPã¯ç®çã«ç¹åãã¦ããã ã ããæ¤ç´¢ãããããå¿ è¦ã¨ãããç¥èãå°ãªãã*2 åâ¦
åå¿è ã«ã¯Operaãããã¯Chromeãè¯ãããããªããã¨æããFirefoxã ã¨ãèªç±ã«ã«ã¹ã¿ãã¤ãºã§ããåé¢ãã¢ããªã³ãå¤ãããããã¢ããªã³ã®å®å ¨æ§ã®ç¢ºèªã¨ããã£ã¦ãåå¿è ã«è¦ããªãä¸å®ãè¦ãããããFireFoxã社å ã§ä½¿ããããã«ããã¨ãã¦ãããã§ããã¢â¦
æ§æ²ãããªããæãåºãã¦ããTakuyaã§ããããã°ãã¯ã WEBRickã«æãåºãã¦ãã¾ãã¾ããã ãã³ã¾ã®è¨äºã«å¾ãproxyãµã¼ãã¼ãä½ã£ã¦ã¿ã¾ãããããã¦æ¬¡ã«ããããã·ã«BASICèªè¨¼ãæ¸ãã¦ã¿ã¾ãããWEBRickãµã¼ãã¼ã¯äºæ³ã«åããåä½æ©ããã ãã®ããããâ¦
PHPã£ã¦ã¬ã³ã¿ã«ãµã¼ãã§åããã¨ãå¤ãã®ã§ãmecabã¢ã¸ã¥ã¼ã«ãªãã¦æå¾ ã§ããªãã ããã§èãããããã»ã¤ããã§ã¦ã²ã³ã§ããããYahooã®APIãè¯ãããã©ãç°¡åãªãã¹ãã§ããã¯ä¸è¦ã ãããæ£è¦è¡¨ç¾ã§ã«ã¿ã«ãã»æ¼¢åã»ã²ãããªã«åå²ãã¦åãã¡æ¸ãã£ã½ãâ¦
ä»äºå ´ã¨ææã¨ã®ããã¨ãã«ãIRCãæ´»ç¨ããã¦ãããIRCã¯æ軽ã§ä¾¿å©ãªã®ã ããã©ãç¡ç·LANãã¤ã¼ã¢ãã¤ã«ãªã©ä¸å®å®ãªéä¿¡ç°å¢ä¸ã ã¨ããã°ãæµãã¦ãã¾ããä¼è©±ãéåããã 大äºãªä¼è©±ããå¼ã³åºãã«æ°ã¥ããªãã¦è¿·æããããã®ã§ãIRCã®ãã°åæ¾ããOpenâ¦
ãã³ã¾åæã®è¨äºãhttp://jp.rubyist.net/magazine/?0002-WEBrickProxy ã³ã³ãã³ãæ¸ãæããåããªãããªãã§ããªã¼ã¨æã£ã¦ãããè¦ã¦ã¿ããã»ã»ã»æè¿ã®WEBã¯Gzipå§ç¸®ããã¦ãããããçç±ã ããres.bodyã¯gzipå§ç¸®ããã¦ãã®ã§ãå±éãã¦å§ç¸®ãç´ããªãâ¦
ååã®logmailã«å¼ãç¶ãauthã®ãã°ãlogãã£ã¬ã¯ããªå ã«ãªãã£ããããã¯ãã£ã±ãæå³çãªã¢ããªã®ã ããããå人çã«ã¯ãããæ°æã¡æªãã ååã®ã¡ã¼ã«ã®ä»¶ã¯ã³ã³ http://d.hatena.ne.jp/takuya_1st/20091109/1257759981 authãã°ãlogauthã«ã¯ãåºããâ¦
Debianã®Lennyã使ã£ã¦ãããã¡ã¼ã«é¢é£ã®ã¢ããªãä½ããã¨æã£ããã¡ã¼ã«ã®ãã°ã/var/logã«ãªãã ã¡ã¼ã«ã¨ã©ã¼ã ãå ´æãéãã debian lennyã®æã«èµ·ããã /var/log/mail.log /var/log/mail.warn /var/log/mail.info /var/logmail.err #ãããï¼ï¼ããâ¦
åã¯ã¨ã³ããªãæ¸ãã¦ããããªãã¹ãæã£ããã¨ãæ¸ãã®ã ããã©ãããããã£ãããªåé¡ãå¼ãèµ·ãããèªåã®æå±ã³ãã¥ããã£ã¼ã¸ã®æããããã³ãªã©ã¯é常ã«æ¸ãã¥ãããé¢ã¨åãã£ã¦è¨ãã°æ¸ãã®ã ãããé¢ã¨åãã£ã¦è¨ããªããã¨ãè¨ã£ããã¨ã®ãªããã¨â¦
Vimã®ãã¤ã©ã¤ãã¯Puttyçµç±ã ã¨ã¤ã¶ãã¦è¦ãã«ãããWindowsãªãTRUEã«ã©ã¼ã¯å½ããåãã§ãPUTTYã¨Bashã¨Vimã¯ï¼ï¼è²ç¨åº¦ã ã¨ãããããããã㧠Vimã®è¨å®ã«æ¬¡ã®ã³ãã³ãã¤ãããã set t_Co=256 " ï¼ï¼ï¼è²è¡¨ç¤ºã«ããã ãããããããã¯ãããè¦ãããâ¦