2006-01-01ãã1å¹´éã®è¨äºä¸è¦§
id:takefumiããããã¤ã®éã«ããç´ãã¦ããã¦ã¾ããã ãããã¨ããããã¾ãã^^æ¥æ¬èªã®ãµã¤ãä½ãéã«é常ã«ä¾¿å©ãªæ°ãããã§ãã 次ä½ããã£ããæ¯é使ã£ã¦ã¿ã¾ãã
d:id:jojo_a_gogogo:20061220:1166612945 (å ãã¿) d:id:nekokak:20061222:1166748742 (æ·»åçw) ã¨è¨ã訳ã§id:nekokakããã®æ¹ã確ãã«ã·ã³ãã«ã§ããªã SELECT me.id, me.name FROM member me ORDER BY RAND() LIMIT 3; ã£ã¦PostgreSQLã§ãåãã®ã ããããâ¦
Catalystã§ã¯requestãã¼ã¿ã®parseã«HTML-Bodyã使ã£ã¦ãã¾ããã§è¯ããåãã®éããUploadããããã¡ã¤ã«ã«é¢ãã¦ã¯ãåæã«ãã³ãã©ãªãã¡ã¤ã«ã¨ãã¦ãã³ãã©ãªãã£ã¬ã¯ããªã«ä¿åããã次第ã§ãããã®ãã³ãã©ãªãªãã£ã¬ã¯ããªã¯Linuxã¨ããªãã°/tmpã§ãâ¦
ã¿ã¼ããã«ã§ã¾ãããçã«ã¤ãã¦ã http://unknownplace.org/memo/2006/12/22#e001 http://femo.jp/kazeburo/kbgxw52xoq ãã¬ãã¼ã©ããã¡ãªã¿ã«æ£ç¢ºã«ã¯lsã£ã¦ããã¨ã³ã¿ã¼4åãã³ãã³ãã®ã³ã³ããä¸çªå¤ãã§ãã ç¡æå³ã«æ¹è¡ãæ¿å ¥ããã³ãã³ãã¨ããã£ã¦â¦
宣ä¼ã§ãã¼ã åããµã¼ãã¼ã®ã»ããã¢ããããéç¨é¢ã§å°ããæä¼ãããã¦é ããããã°ããã©ã¼ã¨è¨ããµã¤ããæ¬æ¥ãªã¼ãã³ãã¾ãããhttp://blogbattler.com/ããã°ããã©ã¼ã¨ã¯ãããã°ã®RSSãèªã¿è¾¼ãã§ãã£ã©ã®ç¹æ§ãå¤ããã¾ãã ãã©ã¯ã¨é¢¨ã®ãã£ã©ã§â¦
ã¯ããã« è¯ãPluginãæ¸ãã£ã¦ãªãã¨ã¾ãè¦ãã®ããããã§ããããåºæ¬çã«ã¯$cã«ã¡ã½ããã追å ããã£ã¦ã®ãæ¬æ¥ã®ããæ¹ãªãã§ããã©ã å¥ã«ãããå®ããªããè¡ããªãã£ã¦è¨³ãããªãã§ãã è¯ããµã³ãã« Catalyst-Plugin-Upload-MD5 Catalyst-Plugin-Uploâ¦
ã¡ã¨ä»äºã§ããã¨ãããªã¼ã¨æã£ãã®ã§ã¡ã¢ã§ãã ãããã ftp://ftp.redhat.com/pub/redhat/linux/enterprise/4/en/osæ®éã¯ãããã¸ãããRPMããSRPMãæ¾ã£ã¦æ¥ã¾ããå ¬å¼ãªãã§ããç¨åº¦ä¿¡é ¼ãã¦è¯ãã§ãããã RHEL4ç¨ã®yum repositoryã¯ããã®ã çãâ¦
ã¾ã ã©ããã£ãæã«åºããåãããã®ã§ãããSpiffyã§isaãã©ãããã¨ãçµæ§é »ç¹ã«ã¨ã©ã¼ãåºããããå ´åãããã¿ããã§ããããã£ã¦ä¾ãã°Module::Starterããã©ã«ãã§åãåºãããã¹ããæ¢ãã¦compatibleã ããã£ã¦Test::Baseã«ç½®ãæããã¨èµ·ããæ°ããâ¦
ã¨ããããã§X-REPROXY_URL, X_REPROXY_FILE, X_Sendfileãããã¼ãåãããã¦ãããViewã¯ã©ã¹ã£ã¦ã®ãä½ãã¾ããããªãã§Viewãªãã§ããã¨è¨ãã°ããããã°æã«ããã³ãã«Perlbal, Lighttpdãããªãã£ããããå ´åã«ã¯LWPã§åã£ã¦ããããã¡ãããã¼ã£ã¦ã®â¦
g:catalyst:id:ikasam_a:20061126:1164552341 http://blog.hide-k.net/archives/2006/11/catalystplugins.php ããã§ãè¿°ã¹ããã¦ã¾ããã©ãfinalizeã§å¼·å¶fillformã®åã£ã¦ã®ã¯è¥å¹²ã©ããªãã ãã¨ãæã訳ã§ãããã¡ãªã¿ã«ããã®ããã§ãã¡ã®ãã¼ã ã®id:jojâ¦
IRCã§reportããã£ã¦ãmanagerãªãã·ã§ã³ãåä½ãã¦ãªãã¨ã®ãã¨ã ãã£ãããéãã ã£ãã®ã§å¤§è³æ¥å¯¾å¿ã ã§ããããã¦ä½¿ã£ã¦ããã¦ãæ¹ãå± ãã£ã¦å¬ããã§ããã
Brackup (Brad Fitzpatrick) http://search.cpan.org/dist/Brackup/ Chroniton (Jonathan Rockway) http://search.cpan.org/dist/Chroniton/ è²ã ããã¿ããã§ãããã ãã¡ã®ä¼ç¤¾ã¯ãæ製ã«ãªã£ã¦ããã§ããã©ãã¾ããããã¦ä¸éã«åºã¦ãç©ã使ãã®ãè¯ããâ¦
lighttpd : 1.4.13 perlbal : 1.53 ã§è©¦ãã¦ã¿ã¾ãããä¸å¿ç°¡åãªãã¼ã X-SendFile id:typesterããã®Catalyst::Plugin::XSendFileã使ãã¾ããã sub index: Private { my ($self, $c) = @_; $c->res->sendfile('/path/to/file'); }ãããªãã§æ®éã«ãã¡ã¤â¦
d:id:spiritloose:20061025:1161770915Apacheã§ãlighttpdã®X-Sendfileã使ããã¿ããã ããã§è¨åããã¦ãX-REPROXY-FILEãªãã ãã©ãPerlbalã®æ©è½ã§ããä»å±ã®docã«ããreproxying.txtã«ããã¨ã This can be useful for having URLs that get mapped toâ¦
ãªãªã¼ã¹ãã¾ãããCatalyst-Model-MogileFS-Client大ä½åºæ¬çãªä½¿ãæ¹ã¯hosts(trackers), domainãæå®ããååã¥ããããMogileFS::Clientã使ãããã£ã¦æãã§ããModelã ãããã¢ã¬ãªã®ã§ãViewã¯ã©ã¹ãå¤åä½ãã¨æãã¾ãã path listã渡ãã¨å¯è½ãªãXâ¦
Catalyst-Helper-FastCGI-ExternalServerå æ¥ä¼ç¤¾ã®ååãã¨å ±ã«åä½ã¨ãã¦ãªãªã¼ã¹ã ã£ã¦ããã®ãåç¬ã§fcgiç«ã¡ä¸ãã¦ã£ã¦æã«ããã¨ä¾¿å©ã ãªã¼ã£ã¦ã®ã¨ã init scriptåãããã£ã¦ãã¼ãºãå¾®å¦ã«ãã£ãããã ãã§ããã©ã0.03ãã/etc/sysconfig/myappã¿â¦
ã¯ããã« d:id:ZIGOROu:20061130:1164840144 ã®ç¶ãã§ãã komamiyaæ°ã®ç©ãããå°ãå°ç¶ºéºã«æ¸ãç´ãã¦ã¿ã¾ããã komamiyaæ°ããããã³ã testã»ã¯ã·ã§ã³ã«æå®ããç°å¢å¤æ°ã渡ãMYã¢ã¸ã¥ã¼ã« package MY; use strict; use warnings; our @INCLUDE_ENV = â¦
ããpsã§åºæ¥ãããããã£ã¦çµè«ãå ã«åºããã§ããã©ãw æ¢ãã¦CPANã¢ã¸ã¥ã¼ã«ã§ãã£ã¦ã¿ããã®å·»ãProc::ProcessTableããã便å©ã $ perl -MProc::ProcessTable -e 'print join("\n", Proc::ProcessTable->new->fields);'ãããªã¯ã³ã©ã¤ãã¼ã§Proc::Proceâ¦
Install JSON-Shellã¯JSON RPCãå®è£ ãã¦ããã¨ã³ããã¤ã³ãã«å¯¾ãã¦ãã¡ã½ãããå®è¡ããçºã®shellã§ããã§ããããªãããã®ã¢ã¸ã¥ã¼ã«ã®ã¤ã³ã¹ãã¼ã«ããªããªãä¸æãè¡ãã¾ããã§ããã ã¨ãããã Term-ReadLine-Gnu ãå ¥ããã¨ã¨ããããåä½ãããããªâ¦
ä»åã¯InnoDBãªãæ¯é使ãããæ©è½ã®ã²ã¨ã¤ãFOREIGN KEYå¶ç´ã®è©±ã§ãã ã¾ãã¯ãã¼ãã«ãç¨æ Fooã¨è¨ãè¤åprimary keyãæã¤ãã¼ãã«ãç¨æããã¨ãã¾ãã CREATE TABLE `Foo` ( `a_id` int(11) NOT NULL default '0', `b_id` int(11) NOT NULL default 'â¦
çµæ§æ©ã¿ä¸ã§ãããªããè¯ãCPANã¢ã¸ã¥ã¼ã«ããã°ããã®ã«ãªãã ã¯ããã« Perlã¢ã¸ã¥ã¼ã«ãä½ã£ã¦ããã¨ãã©ããã¦ãç°å¢ä¾åãªè¨å®å¤ã£ã¦ã®ãå¿ è¦ãªã·ã¼ã³ãããã ä¾ãã°DBD::mysqlãªããã ã¨ãã¹ãç¨ã®ãã¼ã¿ãã¼ã¹ã®æå¨ã ã¨ãèããããã©ããããã奴â¦
DataTime-Format-Strptimeã®Makefile.PLããããã®ã¤ã¤ï¼w
è¿½è¨ T.MURACHIããã®ãææã©ããã·ã³ãã«ãªãã¡ã¬ã³ã¹ãªã®ã§ã ã¿ã¤ãã«å¤ãã¾ãããï¼¾ï¼¾ï¼ ç¶ã ã¨ããã½ã¼ã¹ãèªãã§ãããããªãåºã¦ããã my $tmp = "main::foo"; $tmp->{a} = "a";ãããããã©ãããäºãªãã ããã¨æã£ããã $foo{a} = "a"; ã¨åãâ¦
Devel::DProfã使ãã¨ç°¡åã«ããã°ã©ã ã®æµããææ¡åºæ¥ã¾ãã*1ä¾ãã°inc::Module::Installã®åæåå¦çã£ã¦ã©ããªãã ããã¨æã£ããã $ perl -d:DProf -Minc::Module::Install -e 'use inc::Module::Install'ã£ã¦ããã¨ãã®ãã£ã¬ã¯ããªã«tmon.outã£ã¦ãâ¦
ãã¼ããããã«ã£ã½ããã¿ã§ããã©ãã Perlã¡ã¢ Math::Round ã¡ãã£ã¨ã«ã¹ã¿ã ã§ãµãã«ã¼ãã³ãå®ç¾©ããã®ããªããããã°ããã å¾ã£ã¦å¾è ã®å ´åã Math::Round::nearestã使ãå ´å å°æ°ç¹ç¬¬2ä½ãåæ¨äºå ¥ãã¦å°æ°ç¹ç¬¬1ä½ã¾ã§ä¸¸ãããå ´åãMath::Roundãâ¦
ã¯ããã« MySQLã®é¢æ°ã«AES_ENCRYPT, AES_DECRYPTã£ã¦ã®ãããã¾ããAES_ENCRYPT, AES_DECRYPTRijndaelã128bitã®keylengthã§ECBã§æå·åããé¢æ°ã§ãã AES_ENCRYPT mysql> SELECT HEX(AES_ENCRYPT('hogehoge', 'abcdeabcdeabcdea')) AS encrypted; +------â¦
ã¯ããã« ã¨ããããåã®ç°å¢ã§ããFC6ã§è©¦ãã¦ã¾ãã Install SpiderMonkey checkout ã¾ãã¯é©å½ãªãã£ã¬ã¯ããªã«è¡ã£ã¦cvsããcheckoutãã¦ãã¾ãããã # cvs -d :pserver:[email protected]:/cvsroot login # cvs -d :pserver:anonymous@â¦
ä¸ã®ä¸binary2.0ãªã ã¼ããé«ã¾ã£ã¦ãã¾ããã ä»æ¥ä¼ç¤¾ã®Linux masterãªæ¹ã«èããææ³ã ãã¨èªåã§å°ã工夫ãã¦ã¿ãã§ããsano++ rpmã³ãã³ã rpm -qa query allãªã®ã§å ¨ã¦ã®ããã±ã¼ã¸ã表示ãã¾ãã rpm -ql [package name] packageã«å«ã¾ãããã¡ã¤ã«â¦
d:id:higepon:20060707:1152249345 ã«ããã¨javascript.elãããæãã¨ã®äºã§ããããä»ç¢ºããã¦ã¿ãã404ã§ãããorz... Web Archiveã«ã¦ã¾ã æ¾ãã¾ããjavascript.elè¨å®ã¯ã ;; javascript-mode (add-to-list 'auto-mode-alist (cons "\\.\\(js\\|as\\|jsâ¦
åããåå¨ã¨ç¨éã¯ç¥ã£ã¦ããã ãã©ãtpageã³ãã³ããé常ã«(°д°)ï½³ï¾ï½° ãã³ãã¬ã¼ããä½ã£ã¨ã $cat foo.tt2 [% name %] is [% something %] tpageã§ãã¼ã³ $ tpage --define name=foo --define something=bar foo.tt2 foo is barè²ã ã¨å¿ç¨å©ãããã§ããã