2006-10-01ãã1ã¶æéã®è¨äºä¸è¦§
Plaggerå®è¡ä¸ã«configã対話çã«å ¥åãããã©ã°ã¤ã³ - ãã«ãºã§åã@robarioã®æãã° åã¨ã³ããªãé·ãã®ã§æ°è¦ã¨ã³ããªã§ãããã¹ã¯ã¼ãã対話çã«èãã®ã¯lib/Plagger/Crypt/Prompt.pmã£ã¦ã®ãä½ãã°ããããããï¼ - otsune's SnakeOil - subtech ãã©ãâ¦
Catalyst::Request#pathã®å¤ã«ãLocationMatchã§ãããããæååããã£ã¤ã - ãã«ãºã§åã@robarioã®æãã° Catalyst::Request#pathã®å¤ã«ãLocationMatchã§ãããããæååããã£ã¤ãï¼ï¼ï¼ - ãã«ãºã§åã@robarioã®æãã° ã¨ããããã§ãCatalystã«ãâ¦
ä¹ ãã¶ãã«ã¢ã¸ã¥ã¼ã«ã¢ãããã¼ãã§ããããã¼ã¨æã£ã¦CPAN::Shell->rãããã VERSION 0.6701 1.09 LEIF/tidyview-1.09.tar.gzΣ(ï¾Ðï¾ï¼ï½´ï½°ï½¯!ä½ãã®ãã¼ã¸ã§ã³ã®ä¸ããæ¹ï½ããããã£ã¹ããªãã¥ã¼ã·ã§ã³åãéãï½ï½ï½ ç¯äººâPerl::Tidyview - a previewer forâ¦
Catalyst::Request#pathã®å¤ã«ãLocationMatchã§ãããããæååããã£ã¤ã - ãã«ãºã§åã@robarioã®æãã° id:dayflowerããããã³ã¡ã³ããããã ãã¾ããï¼ãµã¤ãã®æ¹ä½åº¦ãæè¦ããã¦ããã ãã¦ãã¾ãï¼ãããã¨ããããã¾ãï¼ mod_perlãApache APIã®â¦
ã¯ã¦ãªããã¯ãã¼ã¯ã«ã¦ã³ã¿ã¼ã®ã«ã©ã¼ããªã¨ã¼ã·ã§ã³è¿½å ã«ã¤ã㦠- ã¯ã¦ãªããã¯ãã¼ã¯æ¥è¨ - æ©è½å¤æ´ããç¥ãããªã© <img src="http://b.hatena.ne.jp/bc/è²/ããã°ã®URL">è²ã®æå®ãpath infoã«å«ã¾ãã¦ããã®ã£ã¦ãªãã ããªãã¨æããèªåã ã£ãã <img src="http://b.hatena.ne.jp/bc/ããã°ã®URL?bgcolor=è²">ããªãããã ã¨ãæåè²ãå¤ããããããã©ã³ããå¤ãããâ¦
ããï¼http://mecab.sourceforge.jp/ãCygwinã§ãã«ããããiconvãæå¹ã«ãªããªãããconfig.logãè¦ãã¨ãconfigureã®æç¹ã§iconvã®ãã¹ãã失æãã¦ããããããã¨ãããã㧠% ./configure LIBS='-liconv'ããã§OKãããå¤åMeCabã®ä¸å ·åã
W3C çã«ã¯ã©ããªãã ããã http://www.w3.org/TR/XMLHttpRequest/ èªãã§ã¿ããã©ç¹ã«æè¨ããã¦ãªãããã«æããæè¨ã¯ããã¦ããªãã®ã ããã©ããExamples of Usageã§ã¯thisã£ã¦æ¸ãã¦ããã ããªãããã©ãã¯ããã¯ã¤ãã§ãªã®ã§ãããRegExp#test,RegExpâ¦
åèï¼JSONScriptRequest.jsï¼XMLHttpRequestã®ä»£ããã«<script>ã使ã£ã¦éä¿¡ããã©ã¤ãã©ãª åèï¼JSONScriptRequest.jsï¼XMLHttpRequestã®ä»£ããã«scriptè¦ç´ ã使ã£ã¦éä¿¡ããã©ã¤ãã©ãª XMLHttpRequestã®ããã«JSONP(Remote JSON)APIã®å¼ã³åºããè¡ãªãJSONScriptâ¦
Shibuya Perl Mongers : Shibuya Perl Mongers ãã¯ãã«ã«ãã¼ã¯ #7ã«è¡ã£ã¦ãã¾ããã ä¼å ´ã¹ã¯ãªã¼ã³ã«åãã£ã¦å³ç«¯ã®çãä¸è¾ºãã«å¥³æ§ï¼éçºè ï¼ã¨å ±ã«åº§ã£ã¦ãã¾ããã女æ§ã¯å°ãªãã£ãã®ã§ããåãããã¨ã 飲ã¿ä¼ã«åå ãããã£ããã©ãã©ãããã°ããâ¦
for-inæ§æã§ä½è¨ãªããããã£ãåºãã¨ãã話ã¯è¯ãèãã¾ãããèªåã§è¨å®ãã¦ãåºã¦ããªãããããã£ãããã®ã¯ç¥ãã¾ããã§ããã以ä¸ã®ããã«ãããã¤ãããããã£ãè¨å®ãã¦for-inæ§æã§åãã¦ã¿ã¾ããã var object = { constructor: function() {}, pâ¦
IEã§innerHTMLãå¤æ´ã§ããªãå ´åããã - ãã«ãºã§åã@robarioã®æãã°ã¨ããã¨ã³ããªã«å¯¾ãã¦ãã¯ã¦ãªããã¯ãã¼ã¯çµç±ã§ãã¤ã³ããããã ãã¾ããããã¤ã³ããããã ããã®ã¯åãã¦ã®ãã¨ã§å¬ããéãã§ããã¢ããã¼ã·ã§ã³ä¸ããã¾ããã¾ããï¼ è¿½è¨ ãâ¦
æè¿è¶ å¤å¿ã§æ¥è¨ãæ¸ãæããããã¾ããã§ããã å¥åº·&ç¾å®¹ã®ã»ã«ããã¯ã¿ã¼ããããã,ãããã ç°å¢éæ±ã試ããã»ã»ã»ããªãã§ãã ãã®é±æ«ã«ä½äºãèµ·ããªããã°ãæ¥é±ããã¯å°ã楽ã«ãªããã§ããã©ããããè¨ãã°ææ¥ã¯Shibuya Perl Mongersã®ãã¯ãã«â¦
http://labs.bambino.jp/counter/ã¨ããããã§ããµã¤ããã¼ã®ä¸çªä¸ã«Bambino Labs Counterãä»ãã¦ã¿ã¾ããããã£ã±ãå°ãªãâ¦(´・Ïï½¥`)ショï¾ï¾ï½°ï¾ã¯ãªãã¯ããã¨http://d.hatena.ne.jp/holidays-l/ãå«ãããã°ä¸è¦§ã«é£ã³ã¾ãã
ã¿ããã§ããã·ã§ãã¯ãä¾ãã°å é ã«è±å°æåãå«ããã©ããã調ã¹ãæã var str; /^([a-z])/.exec(str); // testã§ãåæ§ã¨ããã¨ã strãundefinedã®ã¨ãã¯RegExp.$1 = "u"ï¼"undefined"ã®å é ï¼ã strãnullã®ã¨ãã¯RegExp.$1 = "n"ï¼"null"ã®å é ï¼ ã¨â¦
$VERSION = eval $VERSION;ï¼ - ãã«ãºã§åã@robarioã®æãã°ã«ã¤ãã¦ãPerlã§ã¯æ°å¤ã«_ï¼ã¢ã³ãã¼ã¹ã³ã¢ï¼ãå ¥ãããã¨ãåºæ¥ã¾ããããã¯åã«è¦æãã®ããã§ãã åèï¼Perl::Critic::Policy::ValuesAndExpressions::RequireNumberSeparators - Write 141â¦
10é²æ³ã§ã¯ãªã8é²æ³ã§æ°ããæ°ä½ç³»ããªã¯ãããã£ã¯ã¹ã - GIGAZINEããã ããã¯oct(134) + oct(241) = oct(375)ã¨ããè¨ç®ããã£ã¦ããã®ã§ãããããã2é²æ³ã¨ã¿ãªãã¦åããã¨ããã㨠001 011 100 + 010 100 001 ------------- 011 111 101ã¨ãªãã¾ããâ¦
CSSã«æ½è±¡åã®ææ³ãå°å ¥ããã便å©ãããï¼ - [ã» _ãã»]æ¥è¨ãæ¸ãã¯ãã¿ãããããã ããã£ã¦ div#page_right , div#page_left { (å ±éé¨å) }ã§ããããããï¼ãããã[CSS]CSSã»ã¬ã¯ã¿ãå ¥ãåã«ã§ããªãã®ã¯ä½æ ï¼ãä½ã¨ãããããããåå«è¦ç´ ã¨ãç´â¦
Firefoxã§ã¯catchã«æ¡ä»¶å¼ãæ¸ããã®ã§ã以ä¸ã®ããã«ä¾å¤ã®åãæå®ã§ãã¾ãã var Exception1 = function() { }; var Exception2 = function() { }; try { // throw new Exception1(); throw new Exception2(); } catch(e if e.constructor == Exception1)â¦
ãã¾ããã¡ã®å¤ã大好ãã§ãï¼ã»ï¼ããã£ã¦ãã¾ãããææ°è¾¼ãã§PS2ã¨åæã«2ãè²·ãã¾ãããï¼ã¯ç´å¾ãããªãä½åã§ããã®å¾æ°å¹´éãã¾ããã¡ã¨ã¯ç¡ç¸ã®çæ´»ããã¦ãã¾ããã2ã¶æã»ã©åããã¾ããã¡ï½ï¼ãåºã¾ãã¦ãä¸å¿è²·ã£ã¦ãããã®ã§ããä¸ã ããæ°ã«ã¯â¦
Prototype.jsã®Element.updateèªãã ãã¡ããã¨å¯¾çããã¦ãã ã ããã§ãã ä¹ ã ã«ããã¡ãããï¼ãã¨ããæ°åã«ãªãã¾ããã ãã¥ã¼ã¨ã¢ãã«ãåé¢ããããã«ãæ¨æ¥JavaScriptçç°¡æTemplate-Toolkitãã¡ããã£ã¨æ¸ãã¦ä½¿ã£ã¦ãã¾ããããã®æç¹ã§ã¯ä¸æãâ¦
DECONã§malaãããè¨ã£ã¦ããJavaScriptã®ãããã°æ¹æ³ alert debug window.status debug document.title debug ã«è¿½å ã§location.hash debugã <script type="text/javascript"> location.hash = 'DEBUG'; </script>ãããªãã«ä½¿ãããããã¨æã£ããIEã§ã¯ç¡éã«ã¼ãã«ãªã£ã¡ããã¾ããã使ããã¼ã
以åãããããªã£ã¦ããã®ãè¨æ¶ãå®ãã§ã¯ããã¾ãããã Catalystã¢ããªã±ã¼ã·ã§ã³ã® http://localhost:3000/test ã«ã¢ã¯ã»ã¹ããããsub testå 㧠$c->req->pathãè¦ã㨠/%5E/[%5E%5C.]*(%5C?|%24)/testã«ãªã£ã¦ãã¾ã£ã¦ãã¾ãããããã«ã¯ããã¯ãªÎ£ã½(ï¾â¦
å ã®ã¨ã³ããªtoSourceã£ã¦ãããªã«ä¾¿å©ã ã£ãã®ã - ãã«ãºã§åã@robarioã®æãã°ã®çµ¡ã¿ã§ãid:higeorangeãããOperaç¨ã®toSourceãä½ã£ã¦ãã ããã¾ãããOperaç¨ã¨ããã¾ããããã®ã¾ã¾IEã§ãåãã¾ããã®ã§æ©é使ããã¦ããã ãã¦ããã¾ããæè¬æè¬ãâ¦
æ¥ããããªããæè¿ã«ãªã£ã¦ãã£ã¨toSourceé¢æ°ã®ä¾¿å©ããåããã¾ãããä»ã¾ã§ã¯ãããã°ä¸ã«FireBugã®console.info(object)ãå®è¡ãã¦ãä¸èº«ã確èªããããã«ãã¦ã¹ã§ããããã¨Inspectãã¦ãã¾ããããobject.toSource()ã¨ãã¦ããã°ä¸èº«ããã確èªã§ããâ¦
http://shibuya.pm.org/blosxom/techtalks/200610.htmlã«ç³ãè¾¼ã¿ã¾ããã
[Perl] Dumping variables Everywhere without use() - Bulknews::Subtech - subtech perl - Perl6ã®$variable.perlãPerl5㧠useç¡ãã§ã©ãã§ãå¤æ°ããã³ãããpackage P;p - ãã«ãºã§åã@robarioã®æãã° http://naoya.g.hatena.ne.jp/naoya/20061009/11â¦
http://naoya.g.hatena.ne.jp/naoya/20061009/1160367621 Devel::Warn::YAML ã¨ãããªãã»ãã® Devel::* ã¨ã¯ã¡ãã£ã¨æ§æ ¼ãéããªãDevel::*ã¯perl -dã¨ãã¦ä½¿ç¨ããæå³ãããå ´åã®ã¿ã¨ããæ¹ãããã¨æãã¾ãã-d:FooãDevel::Fooãèªããã¨ããã®ã§ã %â¦
[perl] use Smart::Comments - Bulknews::Subtech - subtech use Smart::Commentsã¯ãããªãã¨æã - ãã«ãºã§åã@robarioã®æãã° > ã°ãã¼ãã«ãã£ã«ã¿ã¼ã¿ããã«åããã¾ãä»çµã¿ã¯ç¡ãã§ãããããã¨ããããã§ãåãã¡ã¤ã«ã«èªåçã«ãuse Smart::Commâ¦
Filter::Simple使ããã«GlobalSmartComments::importã§å ¨é¨ããã°ã§ãã¾ãããã¨ãããã¨ã§å¾ã§ã¡ãã£ã¨ãã£ã¦ã¾ãã ã¨ããããã§ãã£ã¦ã¿ããå¤åããã§çµãããåæéãã¦ã¤ã¾ããªããªã£ã¦ãã¾ããã é è¯ã人ããããPerlãããæ¹æ³ã§ãã£ã¦ãããã¨æãâ¦
perl - Perl6ã®$variable.perlãPerl5㧠[Perl] Dumping variables Everywhere without use() - Bulknews::Subtech - subtech æåCHECKãããã¯ã§ã§ããããªã¨æã£ã¦ããã®ã§ãããã·ã³ãã«ã®è§£æ±ºã¯CHECKã§ã¯é ãã¦BEGINã§ãããªãããããªãããã§ããå¤é¨â¦