2010-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã·ã§ã«é¢æ°ãå®ç¾©ããã¦ãããããªãã¡ã¤ã«sourceme.shãããã¾ãã: # sourceme.sh getopts_in_function_nogood() { echo ">>getopts_in_function_nogood" server= while getopts "ns:" opt; do case $opt in n) echo "dry run";; s) server=$OPTARG;; ?) eâ¦
ä¿®æ£å¾ã®åä½ç¢ºèªã®ããã¨ãã«ããã±ããè¦ãâã¬ãã¼ãã®ç»é²ã®ãã¬ãã¼ãã®ã¯ã¨ãªã«: select id as ticket, summary, changetime as modified ,milestone , owner as __group__ from ticket where status = 'closed' and changetime > strftime('%s','now',â¦
id:tokuhiromãHTML::Pictogram::MobileJpã¨ããã¢ã¸ã¥ã¼ã«ããªãªã¼ã¹ãã¦ããã®ã§ãããã使ã£ãPlack::Middlewareãä½ã£ã¦ã¿ã¾ããã http://github.com/hirose31/Plack-Middleware-Pictogram-MobileJp ãã¢ãã¤ã«ç¨ã®HTMLã®ãã§ãã¯ã宿©ãFireMobileSimâ¦
Xã§ã¯Xdefaultsãfvwm2rcã§ãVirtual Desktopãã¨ã«geometryããã·ã£ã¨æå®ãã¦å¸¸ã«ããã¡ããmltermã¨ãã®ã¦ã£ã³ãã¦ã並ã¶ããã«ãã¦ããhirose31ã§ããMacã§ã¯åºæ¬çã«çµäºæã®ä½ç½®ãè¦ãã¦ã¦ããããã§ããã¡ãã¡ä½ç½®æå®ããªãã¦ããããã§ãããMacBooâ¦
Mac OS Xã§ã¯ããã©ã«ãã§âMãMinimize (ãã¾ã)ã«å²ãå½ã¦ããã¦ããã§ããããã£ããâMãæ¼ãã¦ãã¾ãã¨ã¦ã£ã³ãã¦ãããã¯ã«ãã ãããã£ã¨å ¥ã£ã¦ã ãã¼ï¼ã£ã¨ãªãã¾ããããã ããã¼ï¼ï¼ã¨ãªãã®ã§å«ã«ãªã£ã¦ãã¾ããããªã®ã§ãã·ã¹ãã ç°å¢è¨å®âãã¼ãâ¦
shã£ã¦ãããdateã³ãã³ãã§ããã©ãå®ç´ã«ã1 month agoãã§ãããããï¼ã¨æã£ã人ã¯è² ãã§ã(ã¼ããã§ããã©ï¼ï¼)ã ããã¯ãããã ãã©ã $ date '+%Y-%m-%d %T.%N'; date '+%Y-%m-%d %T.%N' -d '1 month ago' 2010-09-16 18:05:00.342008278 2010-08-16â¦
ãããããªç°å¢ã«ãã®httpd.confå¯ä¸ã¤ã§å¯¾å¿ããã®ã ï¼ï¼ãã¨ããªããªãªhttpd.confæ¸ãã¨ãããããã¨ããã話ã§ããå ·ä½çäºä¾ã¨ãã¦ã¯ãAllow fromã¨ãã®ãéä¿¡å IPã¢ãã¬ã¹ãè¦ãè¨å®ãæãããã«å¹ããªããªã¼å¹ããªããªã¼ã¨æ©ãã§ãããããã¤ã¯reverseâ¦
ä¹ããããªãããã®ï¼°ï¼¨ï¼°ã¦ã§ã¼ãã«ï¼ $ uname -a Linux goa 2.6.32.8 #1 SMP Tue Feb 23 11:39:02 JST 2010 x86_64 GNU/Linux $ php -v PHP 5.3.2 (cli) (built: Jul 30 2010 16:58:59) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyriâ¦
2008å¹´ã«è²·ã£ãMacBook (13" Aluminum, Late 2008 (MB467J/A))ã®250GBã®ãã£ã¹ã¯ãæçã«ãªã£ã¦ããã®ã§äº¤æãã¾ãããããã¨ãã«è²·ã£ããã®ã®åå¿é²ã§ãã ãã¼ããã£ã¹ã¯ WESTERN DIGITAL 2.5ã¤ã³ãå èµHDD Serial-ATA 5400rpm 500GB 8MB WD5000BEVTåºç社â¦
ã¢ãã²ã¼ã®ããã¯ãã¼ã ãããµãã«ã¬ã¼ãã«ãããã¨ãããNGã¯ã¼ãã«å¼ã£ããã£ã仿¥ãã®é ãçæ§ããããéããã§ããããã ãã¤ã³ããªãï¼ããæå¾ ããã¤ã¤ããæ¸¡å°ä»¥æ¥ãé³ä¿¡ä¸éã®[twitter:@livedoorblog]ããã«ã¬ã¼ãã£ï¼å±ããï¼ï¼ã®ã§ãã©ãã¬ãã¼â¦
Nagiosã§ãªã¢ã¼ããã¹ãã®ãªã½ã¼ã¹ç£è¦ãªããã«ã¯ãNRPEã§ã¯ãªãã¦ãã©ã®ã¿ã¡ä¸ãã¦ããsnmpd(Net-SNMP)ã使ã£ã¦ãã¾ããäºãæå®ãã¦ãããã³ãã³ãã®çµæãSNMPã§ã²ããã§ããããã«ãã¦ãããã check_snmp ã§ç£è¦ããããã«ãã¦ããããã§ããNet-SNMPã§â¦
å¤ä¼ã¿ãçµãã£ãã®ã§å®¿é¡ãã¾ããã(å°ãã¿ã¯ããã¾ãã) http://github.com/hirose31/nagios-check_memcached_connections è¦ libmemcached ãããªæãã§ã $ ./check_memcached_connections -H mc101 -w 3 -c 5 MEMCACHED WARNING: conn 5, 0.001 secondsâ¦
GUIã§è¨å®ã§ããã·ãªã¢ã«ãã¼ãã¯ããã¹ãOSå´ããã¯ãã ã®ãã¡ã¤ã«ã«ããã¿ããªãããªã®ã§ãtail -f ããããããªããããã©ãã·ãªã¢ã«ã³ã³ã½ã¼ã«ã¨ãã¦ã¯ä½¿ããªãã(VMware Fusion 3ã§ã¯GUIã§è¨å®ã§ãããã§ãããï¼)ãã¹ãå´ã«UNIXãã¡ã¤ã³ã½ã±ããã¨ãã¦â¦
以ä¸ãã¦ã©ããªãã¦ãªãã®ã§[è¦æ¤è¨¼]ã§ããããã¾ãhbstudy#13ã§[twitter:@nippondanji]ããã®ã»ãã·ã§ã³ãèãã¦ã¦æãã¤ãããã¨ãè¤æ°å°ã¹ã¬ã¼ããããã¨ããã¹ã¿ããã¦ã³ããå ´åã«ã©ã®ã¹ã¬ã¼ãããã¹ã¿ã«ææ ¼ãããã¹ãã調ã¹ãã®ãããã©ãã§ããéåâ¦
ã©ããããã«ã¡ã¯ãå°å¤ªãç·åä¸å¹´ã®ãµã¼ãã¼ã¨ã³ã¸ãã¢ã§ããå æ¥è¡ãããhbstudy#13ã® [twitter:@nippondanji]ããã®ã»ãã·ã§ã³(ã¹ã©ã¤ã) ã§ããBLACKHOLEã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ã使ãã°ãInnoDBãªãã¼ãã«ã®ææ°é転(ãã¼ãã«ãã¼ã¿ã空èªã¿ãã¦ãbuffer poâ¦
ãWebéçºè ã®ããã®å¤§è¦æ¨¡ãµã¼ãã¹æè¡å ¥éãã¨ããæ¬ãæ¸ãã¾ãã - naoyaã®ã¯ã¦ãªãã¤ã¢ãªã¼ [twitter:@naoya_ito], [twitter:@stanaka] ç®æ¬ããã ãããããã¨ããããã¾ããï¼ ããç®æ¬¡ãåºã¦ããããã§ããã http://gihyo.jp/magazine/wdpress/plus/â¦
ç®ç ããã³ããHTTPãªã¯ã¨ã¹ããåãã¦ãããã¯ã¨ã³ãã®ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã«reverse proxyãããããªæ§æã«ããã¦ãæå®ç§æ°ä»¥å ã«ä½ãããã®ã¬ã¹ãã³ã¹ãè¿ãããã200ãè¿ããªãå ´åã¯ãå¦çãæã¡åã£ã¦500ãè¿ãããã èæ¯ ããã³ãã§ApacheãNgiâ¦
è¤æ°å°ããMySQLã®ã¹ãã¼ã¯ã¨ãªãã°ãããã¡ãã¡DBãµã¼ãã«ãã°ã¤ã³ãã¦èªãã®ãããã©ãããã log_output = FILE,TABLE ã¨ãã¦ãã¼ãã«ã«å ¥ãã¦ãªã¢ã¼ãããSELECTã§ããããã«ããã®ã¯ï¼ â ãã¼ãã«ã«å ¥ããå ´åãquery timeã¨lock timeã®åãTIMEåã«ãªâ¦
long_query_time = 0.5 ã¨ãé¾å¤ãå°ããã«ãã¦ãã¹ãã¼ã¯ã¨ãªãåºãªããªã£ããã©ãCPU(user)使ç¨çé«ãã¨ãããªããè¶³å¼ã£å¼µã£ã¦ãã¯ã¨ãªãããã£ã½ããªãã¨ããå ´åã®ã話ã§ãããå®é²ãã®éããç¾å¨çµ¶è³é²è¡ä¸ã§ãã®ã§ã鿬¡åãããã£ããæ¸ãè¶³ãã¦ããâ¦
2010-11-11è¿½è¨ ãã¤ã®éã«ã$49.99/yearã«ãªã£ã¦ããã§ããã http://www.godaddy.com/Compare/gdcompare_ssl.aspx?isc=sslqasia1 ãè¸ãã§è³¼å ¥ããã¨$12.99ã«ãªã模æ§ã Go Daddy ã¯ãSSLãµã¼ãè¨¼ææ¸ãå®ãã§ãã1å¹´éæå¹ã®ãã®ã§ããã£ãã®$29.99ã§ããâ¦
è¨æ¸¬å ã¯ãé½å ã®Bãã¬ããã§ISPã¯ã©ã¤ããã¢ãããã¤ããè¨æ¸¬ã¨ã°ã©ãæåã®ã³ã¼ãã¯ããã«: http://github.com/hirose31/monitor-latency ã°ã©ãã¯ãç´ºè²ã®ç·ãã¬ã¤ãã³ã·ã®å¹³åå¤ã§ãæ°´è²ã®ç¯å²ã¯æå°å¤ã¨æå¤§å¤ã ping RTT ã¾ããããããªã·ã³ã¬ãã¼ã«ã®â¦
è絡ãç¡ãéæè¡çãªè©±é¡ãããã°ã第ä¸å¼¾ã¯ãæè¿ããã£ã¦ããªã¬çç¥çªçµã®ç´¹ä»ã§ããé¡ãã°ãæ°å¹´åã«Wiiãè²·ã£ãã¨ãã®ã話ã§ããæ©éãWiiãå年鏿ã®14åãã©ã¦ã³ç®¡ã®ã«ã©ã¼ãã¬ãã«ç¹ãã§ããã¹ããã¬ã¤ãã¾ãããããããªãã¨ãé©ãã¹ããã¨ã«ããâ¦
redis-server (redis-1.2.5, 1.2.6ã§ç¢ºèª) ã§ã©ã¼ã¼ã¼ã¼ãã¦ãè¨å®ãã¡ã¤ã«ã®èªè¾¼ã§ã¨ã©ã¼ãåºã¦èµ·åã§ããªãã # ./run *** FATAL CONFIG FILE ERROR *** Reading the configuration file, at line 5 >>> 'pidfile /redis/bunashimeji/var/redis.pid' Bad dâ¦
ä»ã¾ã§MySQLã®ã¯ã¨ãªãã£ãã·ã¥ã¯ã¯æå¹ã«ãã¦ããã§ãããWebãµã¼ãã¹ã ã¨ãã£ãã·ã¥ããããããããªã¯ã¨ãªã¯ãããªã«å¤ããªãããã©ããã§è¦ããããã§ãã(失念â¦)ã¯ã¨ãªãã£ãã·ã¥ããªãã«ããã(éã«)ããã©ã¼ãã³ã¹ãä¸ãã£ãã ãè² è·ãä¸ãã£ãã ãã¨â¦
ãã©ããããããã®è©±ã ãããã¨ãããã«åã¯è¨ã£ã¦ã¿ãã è¨ãã¹ãã§ã¯ãªãã£ãã®ã ãå話å¨ãæ°·æ²³ã®ããã«å·ãããªã£ãã ããªãç¥ã£ã¦ããã ï¼ãã¨ç¸æ£ãè¨ã£ãã ã¨ã«ããããã®ããã«ãã¦ããããããããåéºãå§ã¾ã£ãã æä¸æ¥æ¨¹é¢¨ã«ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ã«ã¤ãâ¦
ããããã㨠æºå¸¯3ãã£ãªã¢ã®IPã¢ãã¬ã¹ãããã¯ã¯æ¯è¼çé »ç¹ã«å¤ããã®ã§èªåæ´æ°ããã èªå® ããªãã£ã¹ãã®ä»ã®IPã¢ãã¬ã¹ã¯ãå¤ãããã¨ããã¾ããªãã®ã§æå管çã§ãã ãããIPã¢ãã¬ã¹ãããã¯ã®æ å ±ã¯ãå¾è¿°ããéããããããªã¨ããã§ä½¿ããã å³ã¡â¦
RewriteCondã§ã¯ãæ¥æã®æ å ±ã使ããã®ã§: RewriteEngine On RewriteCond %{REQUEST_URI} !^/0401/ RewriteCond %{TIME_MON}%{TIME_DAY} 0401 RewriteRule . /0401/ [R,L]enjoy! è¿½è¨ (2010-04-01) ãããã¦èªã¿ãããã¨ããããã£ã¡ã®æ¹ãã¡ããã¨è§£èª¬ãã¦â¦
Apache ã§ç¹å®ã® URL ã®ã¿ Basic èªè¨¼ãå¤ãæ¹æ³ ãè¦ã¦ãenv使ã£ã¦BASICèªè¨¼ãã¤ãã¹ããããã¦ããªãã¨æã£ãã®ã§æãã¦ã¿ã¾ã: <Location /> Satisfy Any Order Deny,Allow Deny from all Allow from env=trusted Allow from env=my_ktai AuthType Basic AuthName "HI</location>â¦
ã¹ããã¯: ã³ããã±Ãï¼ãã¡ã³ãÃï¼ããã ã«ãÃï¼ãããã³ã«ãÃï¼ï¼ãã¨ãããªãã±ã§ã³ããã±Ãï¼ ããããèæ±ãããããã ã«ã ãã¡ã®ã¼ããããã®ãã¡ã ãã¼ ãããã è¡ããããªã£ã¦ããï¼ï¼ï¼
è¤æ°ã® PC ãæå ã§æä½ ãSynergyãã使ãã! -Win&Mac æ··å対å¿ç- - livedoor ãã£ã¬ã¯ã¿ã¼ããã° ãèªãã§æãåºããã®ã§ã é常ãã¹ã¯ãªã¼ã³éã®ç§»åã¯ãã¦ã¹ãã¤ã³ã¿ã®ç§»åã«ãã£ã¦è¡ãã®ã§ãããswitchToScreen(SCREEN_NAME) ã使ãã°ãã¼ãã¼ãæä½â¦