ããã° ãã¹ã¯ã¼ãèªè¨¼ é²è¦§ããã«ã¯ç®¡ç人ãè¨å®ãã ãã¹ã¯ã¼ãã®å ¥åãå¿ è¦ã§ãã 管ç人ããã®ã¡ãã»ã¼ã¸ é²è¦§ãã¹ã¯ã¼ã Copyright © since 1999 FC2 inc. All Rights Reserved.
ããã° ãã¹ã¯ã¼ãèªè¨¼ é²è¦§ããã«ã¯ç®¡ç人ãè¨å®ãã ãã¹ã¯ã¼ãã®å ¥åãå¿ è¦ã§ãã 管ç人ããã®ã¡ãã»ã¼ã¸ é²è¦§ãã¹ã¯ã¼ã Copyright © since 1999 FC2 inc. All Rights Reserved.
_ 5å¹´å¾ã«å¾æããªãJavaããã°ã©ã ã®æ¸ãæ¹ ããæ°æ¥ãæ»ã¬ã»ã©å¾æãã¾ãã£ã¦ããã®ã§ãããããã¦ï¼ã¨ããã®ã¯ãæ°å¹´åã«ãä¸åº¦å¾æãã¾ãã£ã¦ããã®ã¨ãã®ç¥è¦ã¯ããããå¦æ¹ç®ã¨ãã³ã¼ãã£ã³ã°ã®æã«æ¸ãã¦ããããã ãï¼å¾æããªãããã®æ¸ãæ¹ãããã¤ãç´¹ä»ããã ã¨ã«ããããã¡ã¯ããªã¡ã½ãããã¿ã¼ã³ã使ããã¨ã ããã¯æ¬å½ã«éè¦ããããç°¡åã§ãããªããå¹æã¯çµ¶å¤§ã ã ããªä¾ã public class FooBar { private Connection conn; ... protected void setup() { ... conn = DriverManager.getConnection(url); ... } urlãæå®ãããã¨ããDriverManagerã®å®è£ ã交æããã°è¯ãã ããã¨æ³å®ãã¦ãã¦ãï¼ã¨ããããConnectionãªãããããæ¹æ³ãããå¾ãããããã¯ãããª
2009å¹´06æ23æ¥15:30 ã«ãã´ãªLightweight Languages perl - use CGI; use Encode; # éè±èªWebããã°ã©ãã³ã°3åå ããã¯ãå®ã¯Perlã«éããæªã ã«äºå®ã ã£ããããã®ã§ãã.... Perl ã§ãã©ã¼ã ãã¼ã¿ãã UTF-8 æ¥æ¬èªæåãã¨ãã ãæ¹æ³ (ããã°ã©ãã³ã°ã®å°ç³ã»å¤§ç³) UTF-8 ã®ãã©ã¼ã ã«ãã£ã¦ããããããã¼ã¿ã®ãªãããæ¥æ¬èªæåãã¨ãã ããã¨ã¯ï¼æ¥æ¬ã® Perl CGI ããã°ã©ããªãããã¦ãå¿ è¦ã«ãªããã¨ã§ããï¼ ã¨ãããï¼ãã®æ¹æ³ã¯æå¤ã«ç¢ºç«ããã¦ããªãããã«ã¿ããï¼ ããããå çºè¨ã®æ¹æ³ã¯å ç¥å¸°ããããã®ã§ã Perlããã°ã©ãã¼ä»¥å¤ã«ããWebããã°ã©ãã¼ã§ããã°æç¨ãªentryã§ãã Perlã§Webããã°ã©ãã³ã°ããå ´åã®ä¸åå Queryã¯CGIã¢ã¸ã¥ã¼ã«ã§å¦çãã æåã³ã¼ãã¯Encode
LANã±ã¼ãã«ã ããã¯æã ã«ã¨ã£ã¦ã¯ç¡ãã¦ã¯ãªããªãå½ã®æºã 人éã§ä¾ãããªãè¡ç®¡ã«ç¸å½ããããã¹ã¦ã®æ ¹å¹¹ã¨ãªãç·æã§ãã æ®éã¯ãã®LANã±ã¼ãã«ãæ¥è ã«æé ãããããããã®åºã§é©å½ãªç©ãè²·ã£ã¦ãããããã®ã§ãããç§ã®ãããªå売ããã¦ããã¨ã ã¨ããäºæ ãããã¾ã«ããã¾ãã ã¾ããã ããã㯠æé æ¼ã ã¨ãã ãã£ã¹ï½ï½ï½é ç·ãã¦ã¿ãããªããé·ã足ãããï½ï½ï½ãè²·ãã«è¡ãã®ã ããï½ï½æ¥ãã§ä½ã£ã¦ï½ï½ï½ ã¨ããããããã£ã¼ãçç±ã ã£ãããã¾ãã... ãã¦ãããªãã¨æ°ã«ããªãã¦ã¯ãããªãã®ãèªä½ã±ã¼ãã«ã®å質ã 10Mã100Mbpsç¨åº¦ã¾ã§ãªããã¾ããªãã¨ãã¨ãªã極åæ»ããªãããæ°ãä»ãã¦ä½ã£ã¦ãæå¾ã¯ï¼ä¸åç¨åº¦ã®ãã£ããã±ã¼ãã«ãã§ãã«ã¼ã§å°éã ã確èªããã°ãã¾ããã£ã½ã©é ·ãä½ããããªããã°å¤å°ã¤ããã¦ããã¬ãããªã大ä¸å¤«ã§ããã ã ããããã ä¸ã¯ã¾ãã«GigabitEtherne
ä¸äººæ®ããã®ã³ãã®ãã§ãã¯ãã¤ã³ã ä¸äººæ®ããã®ã³ãã§ã¯ãä¸äººæ®ããã«é¢ãããã¾ãã¾ãªæ å ±ãæ²è¼ãã¦ãã¾ãã ã¾ã ä¸äººæ®ããããã¦ããªã人ããããã§ã«ãã¦ãã人åãã«ãå種æ å ±ãæ²è¼ã ã¡ãã¥ã¼ããé¢é£ããé ç®ãã覧ãã ããã 主ãªãã§ãã¯ãã¤ã³ããç´¹ä»ãã¦ããã¾ãã ä¸äººæ®ããå®æ½å ä¸äººæ®ãããããåã®æ®µéãããã³ãå¼è¶ãçãèãã¦ãã人åãã®ãã¤ã³ãã§ãã ä»ã«ããããããªæ å ±ãããã¾ãã®ã§ãã¡ãã¥ã¼ããä¸éãã覧ãã ããã é¨å±æ¢ã é¨å±æ¢ãã¯ãããã§è¡ãã¾ããæè¿ã§ã¯åºé ã§é¨å±æ¢ããããæ¹ãç¨ã¨ãªã£ã¦ãã¾ãã ãé¨å±ããããã§æ¤ç´¢ãã¦æ¢ããã§ãããä¸ã§ã®é¨å±æ¢ãã«ã¤ãã¦ç¢ºèªãã¾ãããã ã¾ããé¨å±æ¢ããããä¸ã§ã®ãã¤ã³ãããä¸äººæ®ããã®é¨å±æ¢ããã§ç´¹ä»ãã¦ãã¾ãã å¼è¶ã å¼è¶ãã®ç³ãè¾¼ã¿ãåºæ¬çã«ã¯ãããä¸ã§å¯è½ã§ãã詳細ã¯ãä¸äººæ®ããã®å¼è¶ããã§ã確èªãã ããã ãã®ã»ããå¼
ããªãã¯èªåã®ä¼ç¤¾ã®ã¦ã§ããµã¤ãããµã¼ãã¹ããApacheãã¤ã³ã¹ãã¼ã«ããã¨ããã ã¨ããããApacheã¯ã¹ã ã¼ãºã«åä½ãã¦ãããä¸ãä¸ã®å ´åã«ãLinuxã®ã»ã¼ããã£ããããå©ãã«ãªãã¯ãã ã¨æããã¨ãããã2é±éã»ã©çµã£ãã¨ããã§ãããããã¨ããããªãã¨ãèµ·ããå§ããããªãã ãããApacheã¨Linuxã使ã£ã¦ããã®ã«ã»ã»ã»ãããããªããã¨ãªã©ããã ãããï¼ ãã¡ããã注æãæããªããã°ããããããªããã¨ã¯ãããã§ãããå¾ããApacheãå®å ¨ã«ããæ¹æ³ã¯ãããããã¡ããä½ãããªããã°å®å ¨ã«ã¯ãªããªãã以ä¸ã«ç¤ºãã®ã¯ãApacheãããå®å ¨ãªã¦ã§ããµã¼ãã«ããããã®ç°¡åãª10ã®æ¹æ³ã ã #1: ã¨ã«ããã¢ãããã¼ã Linuxã§Apacheãåããã¦ããããã¨è¨ã£ã¦ãã¢ãããã¼ããä¸è¦ã ã¨ãããã¨ã«ã¯ãªããªãã常ã«æ°ããã»ãã¥ãªãã£ãã¼ã«ããªã¹ã¯ãç»å ´ãã¦ãããããªãã¯ãææ°ã®ãã
http://www.t-dori.net/k-way/?date=20061218 ãããªã³ãã³ãããã£ãã®ãã常èï¼ ssh-copy-id [email protected] ãããã¹ã¯ã¼ãèªè¨¼ã®ãã¹ã¯ã¼ããæ±ããããã ãããããããªä¾¿å©ãªã³ãã³ããã£ãã®ãã ãããã authorized_keys ã«ç»é²ããå¦çãç°¡åã«è¡ããã ãã ãã»ã¨ãã©ã®ç°å¢ã«å ¥ã£ã¦ãªãã æè¿ã®OpenSSHã ã¨å ¥ã£ã¦ãã®ããªã ã¡ãªã¿ã«ãã¤ãã¯ãããã£ã¦ãã $ cat ./.ssh/id_rsa.pub | ssh user@remote_host "cat >> ./.ssh/authorized_keys" åè: http://www.delafond.org/traducmanfr/man/man1/ssh-copy-id.1.html http://takkan-m
ãå§ãåãªã¹ã æè£ ã»å¸½åãã»ãã©ã¤ã¡ãã·ã¥Tã·ã£ã ã»åå¦ç¹ç¶è£½ã®ã«ã¼ã´ãã³ããã»çæ¿ãã æã対ç ã»ã¢ã«ã³ã¼ã«ã®ã¦ã§ãããã£ãã·ã¥ãã»æåãã»ãã¸ã¯ã¼ã«ï¼å¨åº«å¸å°ï¼ãã»ãã¤ãã³ é¨å¯¾ç ã»ãã³ãã§ããã»ããªè¢ï¼æ±äº¬é½æ¨å¥¨ããã以ä¸ã®å¤§ããï¼ããã»æãããã¿æ¤ åã 飲é£ç© ã»ã¼ãªã¼ç³»ï¼ã¦ã£ãã¼çï¼ããã»éº¦è¶ï¼ä½ãå©å°¿å¹æãããã®ã§æ³¨æï¼ããã»ã¹ãã¼ãããªã³ã¯ ã»ç±ä¸é£´ãã®ä»å¡©åãåãããã®ãæ¢ å¹²ã¨ããããã»ãã©ã¤ãã«ã¼ãï¼ç³åè£çµ¦ï¼ ãã®ä»ããã¨ä¾¿å© ã»æºå¸¯å é»æ± ããã»ã©ã¸ãªï¼æã¤ã¶ãï¼ â»ç±ç対çã«å·ããã¹ãç®æã¯é¦çãèã®ä¸ãé¡ãããããåèã®æ¸©åº¦ãä¸ããçºã â»æã¯åºãããåã«å¿ ãä½ãè ¹ã«å ¥ãã¦ãããããã辺ããè¯ãã 追å è¨æ£ãã£ããå®ããé ¼ãã
2008å¹´07æ02æ¥23:00 ã«ãã´ãªLightweight Languages perl - ããã©ã«ãå¤ã®perlãããæå®æ³ Perl Cookbook (English) Christiansen / Torkington [é¦è¨³: Perlã¯ãã¯ããã¯] ããã§ãããã®ã ãã©ãããã«æ°å¥½ã¤ããã¨ããperlããããªãã®ã§ã ããã©ã«ãå¤ã®æ±ãã - ãµã³ãã«ã³ã¼ãã«ãã Perl å ¥é Scalarã«ããããã©ã«ãå¤ sub num{ my $num = shift; # .... } ãã㯠sub num{ my $num = shift || -1; # .... } ã®æ¹ãããããããã0ã¾ãã¯''ãå ¥åå¤ãããªãã¡éããã©ã«ãå¤ã¨ãã¦æ±ãããå ´åã®ã¿ã sub num{ my $num = shift; $num = -1 if not defined $num;
Linux/Unixçãå©ç¨ãã¦ãã¦ãã³ãã³ãããã¡ã¤ã«åããã£ã¬ã¯ããªåã¯TABãã¼ã§è£å®ãããããã¨ã¯ããããã¨æãã¾ãã ä»åã¯ãbashã®è£å®æ©è½ãå¼·åãããbash_completionãç´¹ä»ãããã¨æãã¾ãã bash_completionãã¤ã³ã¹ãã¼ã«ãã Debianç³»ã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§ããã°æ¨æºã§ã¤ã³ã¹ãã¼ã«ããã¦ããã¨ãããã¾ãã/etc/ã®ä¸ã«å ¥ã£ã¦ãã¾ãã®ã§ã確èªãã¦ã¿ã¾ãããã $ ls -l /etc/bash_completion -rw-r--r-- 1 root root 215907 2006-12-12 06:20 /etc/bash_completionããã¤ã³ã¹ãã¼ã«ããã¦ããªãå ´åã¯ãä¸è¨ã®ãµã¤ããããã¦ã³ãã¼ããã¦ãã ããã bash programmable completion â Freecode /etc/ã®ä¸ã«ç½®ããããªæé ã«
ã©ããã 以ä¸ã®æ¹æ³ã§å¤å®ãããã¨ãã§ããããã§ãã // ãªã¯ã¨ã¹ããªãã¸ã§ã¯ããä½ã var req = new ActiveXObject('Microsoft.XMLHTTP'); // ãã©ã°ã®æºå var sended = false; // readystatechange ã¤ãã³ããå¾ ã¤ req.onreadystatechange = function() { if (req.readyState == 4) { // ãã£ãã·ã¥ã«åå¨ããªãå ´å if (sended) { alert('loaded'); } // ãã£ãã·ã¥ã«åå¨ããå ´å else { alert('cached'); } } }; // éä¿¡éå§ req.open('GET', 'hoge'); req.send(); // ãã©ã°ãç«ã¦ã sended = true; 解説 IE ã§ã¯ããã£ãã·ã¥
2008å¹´05æ26æ¥02:30 ã«ãã´ãªä¸æ¥ä¸è¡ééTips perl - tac ãä¸è¡ã§ ããã£ã¦one-linerã§ã [ã] ãããã®ã¬ã³ã¿ã«ãµã¼ãã« tac ã³ãã³ããå ¥ãã UNIX ç³»ã®ã³ãã³ãã§ãtac ã¨ããã®ãããã便å©ãªã®ã§ãã ããã¯ãã¡ã¤ã«ãå é ãã表示ãã cat ã¨ããã³ãã³ãã®éã§ã ãã¡ã¤ã«ãè¡åä½ã§ã²ã£ããè¿ãã¦æ«å°¾ãã表示ãã¦ãããã®ã§ãã% perl -e 'print reverse <>' ãã ãããã®ããæ¹ã¯ä¸ç«¯ã¡ã¢ãªã¼ã«å ¨ãã¡ã¤ã«ãèªã¿è¾¼ãã®ã§éå¹çã¨ããã°éå¹çã以ä¸ã®ããã«ããã°ããå°ãå¹ççã«ãªãã¾ããã #!/usr/local/bin/perl use strict; use warnings; @ARGV or die "$0 [files...]"; for my $filename ( reverse @ARGV ) { o
Subversion ãã¹ããã©ã¯ãã£ã¹ 2006-11-16 Brad Choate: OSCON: Subversion Best Practicesã®å訳ã«ææ¦ãã¦ã¿ã¾ããï¼èª¤è¨³ãªã©ããã¾ãããé æ ®ç¡ãã³ã¡ã³ããã¦ãã ãããã¾ããä¸é¨ãåæã®ã¾ã¾ã§ãã åæã¨è¨³æã®ä½µè¨ç (Wiki)ãããã¾ãã®ã§ã誤訳ããªãã確èªãããæ¹ã¯ãã¡ããã覧ã«ãªãã¨ä¾¿å©ãã¨æãã¾ããWikiãç´æ¥ä¿®æ£ãã¦ããã ãã¦ãçµæ§ã§ãï¼ ã¡ãªã¿ç§ã¯è±èªåå¿è ã§ããããã翻訳ä½æ¥ã¯åãã¦ã§ããã¾ãä»åã®ç¿»è¨³ã«ããã£ã¦ä¸é¨ãfjkktkys (fjkktkys blog)ã«æ·»åãã¦ããã ãã¾ããããããã¨ãï¼ ããã§ã¯ã©ããã åæ㸠OSCON: Subversion Best Practices ããã¯ããã£ãä»ç§ãåºå¸ãã¦ããOSCONã®ã¾ã¨ãã§ãããã®é¨å±ã¯äººã§ãã£ã±ãã ãã ãã®ã話ã¯ã°ã¼ã°ã«å¤åã®Ben
2006å¹´11æ08æ¥04:30 ã«ãã´ãªLightweight Languages perl - In-Memory File Perl 5.8以éã§ã¯ããã®ãããªå ´åã«in-memory fileã使ãã¾ãã ãç¶ããã¯ã Perl ã¯ã¡ã¢ãªå°ããªè¨èªããã¼ã¿åã®å é¨æ§é :: Drk7jp DBä¸ã®å ¨ã¬ã³ã¼ãããã£ãã perl å´ã®é åã«æ ¼ç´ãã¦ããã®çµæãè¿ããã£ã¦ã³ã¼ããªã®ã§ãããå½ç¶ãªããã¬ã³ã¼ãæ°ãå¤ããªãã°ã¡ã¢ãªãé£ãã®ã¯å½ããåãªã®ã§ããã以åã®è¨äºã®å 容ãå®å ¨ã«å¿å´ãã¦ã¾ãããããã«ã¯è½ã¨ãç©´ãããã®ã§ãã使ãæ¹ã¯ãç°¡åã§ãã my @array = (0x21..0x7e); my $memfile; open my $wfh, '>', \$memfile or die $!; print $wfh chr($_), "\n" for (@array); clos
WebOS Goodies ã¸ããããï¼ WebOS ã¯ã¤ã³ã¿ã¼ãããã®æªæ¥å½¢ããããã Web ãµã¤ããç¹ãããå ±æããååãã¦åµãä¸ãããã²ã¨ã¤ã®å·¨å¤§ãªæ å ±ã·ã¹ãã ã§ããããã§ã¯ãããããæ å ±ããããã¯ã¼ã¯ä¸ã«èç©ãããæã ã¯ãã¤ã§ããã©ãããã§ããå¤å½©ãªããã¤ã¹ã使ã£ã¦ãããã«ã¢ã¯ã»ã¹ã§ãã¾ãã WebOS Goodies ã¯ããã¾ãã¾ãªæ å ±æä¾ããã¼ã«éçºãéãã¦ããããªä¸çã®å®ç¾ã«å°ãã§ãè²¢ç®ããã¹ãæ´»åãã¦ããã¾ãã å æ¥ãå¿æ¥å¦ç½®ãè¡ã£ã Linux ã²ã¹ãOSã®æå»é ãã§ããããã¯ãæ°ã«ãªãã®ã§ããå°ã調ã¹ã¦ã¿ã¾ããã åå ããããã°ã°ã£ããããã¨ãããæçµçã« VMware ã® Knowledge Baseãã®ãã¼ã¸ã«ãã©ãçãã¾ããããªã«ããé·ã ã¨æ¸ãã¦ããã¾ãããæå»ããããåå ã¯ä»¥ä¸ã®ãããªãã¨ãããã§ãã Linux OS ã§ã¯ãã¿ã¤ãã¼å²ãè¾¼ã¿ãã«ã¦ã³ãããã
åé»ã¨ãï¼å¯¿å½ã§HDDãå£ãã¦ãã¾ã£ãå ´åï¼ããã¦æ®ã£ã¦ãããã¼ã¿ã ãã§ãååºãããã»ã»ã»ããããæ³£ããããªç¶æ³ã«é¥ã£ã人åãã®ä½æ¥ã¡ã¢ï¼ æ¦è¦ã¨ãã¦ã¯ï¼ä¾ãã°CDROMãCDRã¸ã³ãã¼ããéã«ã¯ï¼ ä¸åº¦ CDROMãããã¼ã¿ãå¸ãåºãã¦ISOã¤ã¡ã¼ã¸ãã¤ãã£ã¦ ISOã¤ã¡ã¼ã¸ãCDRã¸æ¸ãè¾¼ã ã¨ããä½æ¥ãããï¼åãããã« å£ããHDDãããã¼ã¿ãå¸ãåºã㦠æ°ããHDDã¸æ¸ãè¾¼ã ã¨ããä½æ¥æé ã§ï¼ç ´æããHDDããæ®ã£ã¦ãããã¼ã¿ãæåºã§ããï¼ä»¥ä¸ï¼å ·ä½çãªä½æ¥æé ã«ã¤ãã¦ã¾ã¨ããï¼ ç¶æ³ãææ¡ãã ãã¨ãã° dmesg ã§ä»¥ä¸ã®ãããªã¨ã©ã¼ãåºã¦ããå ´å㯠end_request: I/O error, dev 03:42 (hdb), sector 31719462 hdb: read_intr: status=0x59 { DriveReady SeekComplete Dat
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}