2006-09-01ãã1ã¶æéã®è¨äºä¸è¦§
ãã¼ã«ã飲ã¿ãªãã404 Blog Not Found:javascript - çä¸ä¿æ°çµç±ã§ãã ãã éããã¦ãã¾ã£ããgetElementsByClass() - ã«ã½ããç 究æ ãªãã§j++ãªãï¼pushãããªããï¼ã¨æãã¤ã¤getElementsByClassï¼IE,Firefox対å¿çï¼ - æè¡æ å ±ã¡ã¢ getElementsByClaâ¦
http://sugoi.doko.jp/ ãã®è¦ãæ¹ã¯æ¬å½ã«ãããããã©åæéä¿¡ãã¦ãã®ãï¼ã£ã¦ãããå¼ã£ããããããã
zshã®è¨å®ãããæãç¡ãã¦bashã¨zshãä½µç¨ãã¦ããã®ã ããã©ããã¼ã¡ã¼ã¡zshã«ã·ããã§ãã¦ãããä¸çªå°ã£ã¦ããã®ããè£å®åè£ã表示ãã¦ãããã ãã§è¯ãã®ã«åæã«å ¥åã¾ã§ããã¡ããæ©è½ãã·ã¼ã±ã³ã·ã£ã«ãªé¸æã¯( ï¾Ðï¾)ï¾ï¾ï¾ï¾ï½¸ï½¾ï½°ããã㯠unsetopt AUTO_â¦
Perlã§æ¸ãããä½ãã®ãã¼ã¸ã§ã³ã調ã¹ãã¨ãã« % perl -MCPAN -e 'print CPAN->VERSION' 1.8801ã¨ãããã®ã¯( ï¾Ðï¾)ï¾ï¾ï¾ï¾ï½¸ï½¾ï½°ãã.plãªå®è¡ãã¡ã¤ã«ã¯requireããã¨å®è¡ããã¦ãã¾ã£ã¦ãããããªãã®ã§ã¡ãã£ã¨ä½ã£ã¦ã¿ããã¨ã³ããªæ«å°¾ã«ããã½ã¼ã¹ãperl_verâ¦
ä»ã¾ã§ãããã¢ã¸ã¥ã¼ã«ãã³ã¢ã¢ã¸ã¥ã¼ã«ãã©ããã調ã¹ãã®ã«Module::CoreListã使ã£ãèªä½ã¹ã¯ãªããã使ã£ã¦ãã¾ããã ã¨ããããModule::CoreListã«ã¯corelistã¨ããã¹ã¯ãªãããä»ãã¦ããã®ã§ããã % corelist CPAN CPAN was first released with peâ¦
CPANã·ã§ã«èµ·åæã®ã¬ãªã¬ãªãå«ããªã®ã§ãCPAN::Configã®scan_cacheãneverã«ãã¦ãã¾ããããããã¨å½ç¶ã§ãã~/.cpan/buildãã©ãã©ã太ã£ã¦ããããã§ããCPAN::CacheMgrã¯ãã£ãã·ã¥ãµã¤ãºã«åã¾ãããã«å¤ããã®ããåé¤ããããã«ãªã£ã¦ããã¿ããã§â¦
> * dotãã¡ã¤ã«ã¯ãæã¯~/etcã«ã¾ã¨ãã¦ããã¦symlinkãã¦ãã¾ããããä»ã¯~/ããã®ã¾ã¾CVS管çãã¦ãã¾ãããã ããã ã¨status=?ãªãã¡ã¤ã«ãå¢ãã¦ãã¾ãã®ã§ãæ»ãããã¨æã£ã¦ããã¨ããã§ããã~/cãä¾å¤ãªããã¼ã¸ã§ã³ç®¡çã£ã¦ã®ã¯ããããªã®ã§ãè²ã â¦
perlã«find2perlã¨ãããã¼ã«ãä»ãã¦ããã®ã§ããããããã¡ãã£ã¨é¢ç½ãã§ããfindã®ä»£ããã«find2perlãæå®ããã¨ãåãäºãããããã®Perlã¹ã¯ãªãããåãåºããã¾ãã ä¾ãã°/ãã*.pmãªãã¡ã¤ã«ãæ¢ãã«ã¯ find / -name "*.pm" ã¨ãã¾ããããã®findâ¦
CPAN Testers Reports: Indexã¨ãããã£ã¹ããªãã¥ã¼ã·ã§ã³ã®é å¸å½¢å¼ããã¹ãããããµã¤ããããã®ã§ããããã®ãã¹ããè¡ãªãModule::CPANTS::Analyseã¨ããã¢ã¸ã¥ã¼ã«ãããã¾ããããã«ä»å±ãã¦ããcpants_lint.plã使ãã¨ãã¼ã«ã«ã§ç°¡åã«ãã¹ããããâ¦
ã®ã¿ã¤ã«ãæ´æ°ããã¦ããï¾ï¾ï½½ï½ºï¾ï½½ï½ http://maps.google.co.jp/?ie=UTF8&z=17&ll=35.680795,139.767294&spn=0.006048,0.010064&t=h&om=1
UNIX使ãã®ããã©ã¼ãã³ã¹ããããå°æã³ãã³ã | IDEA*IDEAããã 139 ls 107 svn 59 cd 39 less 29 rm 26 make 11 find 11 ack 8 mv 6 rmdir 5 grep 5 cat 5 ./Makefile.PL 4 ssh 4 cvs 4 cpan 3 wget 3 perldoc 3 gnupg 3 echo 2 yamllint 2 vi 2 type 2 â¦
ååã®ãã¡ã¤ã«ï¼ä¾ãã°Makefileï¼ãè¤æ°éãã¨ããããã¡åãMakefileã¨Makefileã®ããã«ãªã£ã¦ãã¾ãã¾ããä»ã¾ã§ã¯C-x C-vï¼find-alternate-fileï¼ã§ã©ãã®Makefileããå¤å¥ãã¦ãã¾ãããuniquify.elã使ã£ã¦ (require 'uniquify) (setq uniquify-bufferâ¦
http://www.mtblue.org/pc/tips/speed_up_xp.phpã¨ããã§æãããã¦ããåèãµã¤ãã®è¨è¿°ã«æ²¿ã£ã¦ããã©ããããã§ãã¯ããããã°ã©ã ã誰ãæ¸ããªãããªã¼ãã¿ã¤ãã«ã¯ç¹ã«æå³ã¯ãªãã§ãã
ã§ããEmacs ããã©ã«ãã®åç»é¢ã¹ã¯ãã¼ã«ã®ã¾ã¾ã ã¨ãæ°æã¡æªãã®ã§1è¡ã¹ã¯ãã¼ã«ã®è¨å®ã追å ãã¦ã¿ãã (setq scroll-conservatively 35 scroll-margin 0 scroll-step 1) åç»é¢ã¹ã¯ãã¼ã«ã«ãªãã¦ãã¾ã£ã¦ããã©ããã£ã±ããã£ã¡ã®ã»ããããã ãã®è¨â¦
JSONScriptRequest-0.02[Ajax][JSON][API] - ãã«ãºã§åã@robarioã®æãã°JSANã«ä¸ãã¾ããã ãã®ã¨ã³ããªã«åºã¦ãããHTTPã®ã¨ãã¥ã¬ã¼ããå¯è½ã¨ãªãã¾ããã¨ããã®ã¯JSONScriptRequest.jsã§ã¯å®è£ ãã¦ãã¾ãããJSONHttpRequest.jsã¨ããã©ã¤ãã©ãªã§å®â¦
sub default : Private { my ( $self, $c ) = @_; shift @{ $c->req->args }; ... } ã¨ããmizzyããã®hackãæ½ãã¦éããã¦æ¥ã¾ããããã¢ã¯ã·ã§ã³ã®é層ãæ·±ãããæã«æå³ããªãçµæã«ãªã£ã¦ãã¾ãã¾ããã Controller::Fooã¢ã¯ã·ã§ã³ã§/foo/1ã«ã¢ã¯ã»ã¹â¦
$cã®ä¸ãè¦ã¦ãã«ããã«ãå¤å®ããã¡ã½ãããæ¸ãããã¨ãã話ã§ããã¨ããããforwardã使ã£ã¦ã sub default : Private { my ( $self, $c ) = @_; if ( $c->forward('is_hoge') ) { } } sub is_hoge : Private { my ( $self, $c ) = @_; return defined $câ¦
åºæ¬ã®è¨å®ãã¡ã¤ã«ãç¨æãã¦ããã¦ãç°å¢æ¯ã«ç°ãªãè¨å®ã§ä¸æ¸ãããããã¨ãè¯ãããã¾ãããã®éããã¹ãåï¼uname -nã§åºãnodenameï¼ã使ãã¨ä¾¿å©ã§ãã Catalystãªã¢ããªã±ã¼ã·ã§ã³MyAppã§MyApp->setupããåã« use POSIX; __PACKAGE__->config->{filâ¦
â© ( â) â©_ _ /,. ï¾ i .,,Eï¼ ./ /" / /" ./ / _ã_ ï¼ ã' / / ,_ï¾` ï¼ï¼ ï¼ ï¼ ï¼ good job! ã½ | ï¼¼ ï¼¼ ã¾ããããã¯ï¼ããã¼ããã©ä¸å¿ï¼æè¡ç³»ããã°ãªãã§ãAAæ¸ããã¨ãªãã¦ãã¾ãç¡ãã®ã§ããã
ä»æ¥ããã¯ã¼ããªã¹ãã qw() ã§ããããã¾ã¾ã§ã¯ qw// ã ãªãã¨ãªãã ãµã³ãã«ã§ã¯è¯ãuse base qw/.../;ã¿ããã«æ¸ãã¦ããã®ãè¦ãããã®ã§ãããèªåã¯ãã£ã¨use base qw(...);ã®ããã«æ¸ãã¦ã¾ããï¼ãPerl5ã«ããã¦ã¯ãã¨ä¸å¿æã£ã¦ããã¾ããï¼//ã¯â¦
ãã¹ã¯ã¼ããå¿ è¦ãªãã©ã°ã¤ã³ã使ãå ´åãconfig.yamlã«ãã¹ã¯ã¼ããç´æ¥æ¸ããããããããªã®ã§ããã対話çã«å ¥åãããããªãã¨æã£ã¦å®è¡ä¸ã«ãã©ã¡ã¼ã¿ãå ¥åã§ãããã©ã°ã¤ã³ãä½ã£ã¦ã¿ã¾ãããï¼æ¢ã«ãã£ããæ²ããï¼ ä½¿ãæ¹ ä¾ãã°CustomFeed::Mixiâ¦
youtubech.comããæ°ã«å ¥ãã§ããã¤ã使ããã¦ããã ãã¦ã¾ãã ãµã¨æãç«ã£ã¦æ®éã®ã¢ããªã±ã¼ã·ã§ã³ã¿ããã«èµ·åã§ããããªãã¨æã£ã¦âã®ãããªã¹ã¯ãªãããä½ã£ã¦ã¿ã¾ãããYoutubePlayerLite.jsã¿ããã«å¥½ããªååï¼æ¡å¼µåã¯jsï¼ã§ä¿åãã¦ããã¾ãã次â¦
Catalyst->setupã§ãããå¤æ°ã使ç¨ããã¦ãã¾ã - ãã«ãºã§åã@robarioã®æãã°ã®éããããå¤æ°æ²æ» éåããã¦ããã®ã§ãããä»åã¯Catalyst::Plugin::FormValidator::Simpleã使ããã¨ãã¦è¦ã¤ãã¾ãããå®éã«ã¯FormValidator::Simpleç³»ã§ã¯ãªããDaâ¦
å¿ è¦ã«ãªããããªã®ã§ç¡ããã°ä½ããã¨æãã¾ãããã§ããã°æ¥½ããããã§ãã è¿½è¨ http://d.hatena.ne.jp/tokuhirom/20061111/1163219448 Data::Visitorã§ã§ããã£ã½ããã§ãä½ã§HASHã®ä¸ãèµ°æ»ããå¿ è¦ããã£ãã®ãå¿ãã¦ãã¾ã£ã(´Ï`)
ã¢ã¸ã¥ã¼ã«ã®ãã¼ã¸ã§ã³çªå·ã«ã¤ãã¦èãã¦ã¿ã¾ããï¼ï¼ï¼ - ãã«ãºã§åã@robarioã®æãã°ã®ç¶ãã§ãã ã¡ãªã¿ã«perl -v 㯠This is perl, v5.8.7 built for cygwin-thread-multi-64int ã§ãã versionãªãã¸ã§ã¯ãã®çæ version.pmï¼0.6701 XSçï¼ã§ã¯ãvâ¦
æ¨æ¥ã®ææ³ã¨ãããããèªã¿ããã®ã§ blog ã«æ¸ãã人㯠Shibuya.js ã®ãã¼ã¸ãªããã®ã¨ã³ããªãªãã«ãã©ãã¯ããã¯ãã¦ããã ããã¨å¤§å¤å¬ããã§ãã ã¨ã®ãã¨ãªã®ã§ãã©ãã¯ããã¯ãã¦ã¿ã¾ãããæ®éã«æ¸ãã¦ãã¢ã¬ãªã®ã§ããªã³ã¯ã§ãå¼µããªããæ¸ãã¦ã¿ã¾â¦
åæã¨ããversion.pmã®ãã¼ã¸ã§ã³ï¼ã¨XSãå¦ãï¼ãæ¸ãã¦ããã¦ã»ããã ã¨ã®ã¯ã¦ã¶ã³ã¡ã³ãããããã¨ããããã¾ããã ã¨ã³ããªã¼ä¸ã®version.pmã¯å ¨ã¦ version.pm 0.6701 ã®XSçã®ãã¨ã§ãã Perlã¢ã¸ã¥ã¼ã«ã®ãã¼ã¸ã§ã³çªå·ãã©ãä»ãããã¯çµ±ä¸ããã¦â¦
解決ï¼Scalar::Util::weakenã使ããã¨ããã¨Weak references are not implementedã§è½ã¡ã
Scalar::Util::weaken 使ã£ã¦ãã¹ã¯ãªãããå ¨æ» ã ï¼ç¥ï¼ ãªãã§ã ãã¼ã¨ããã£ã¦ã¨ãããã Scalar::Util åã¤ã³ã¹ãã¼ã«ãããç´ã£ãã è¬éããããåããã¼ã¸ã§ã³ã ã£ãã®ã«ã ãã¡ã§ãåãç¾è±¡ãçºçãã¾ããã $ perl -MScalar::Util=weaken -e 42 Weâ¦
ãã¡ãªããããªãã§ããã©ãããè¯ãã®ã§ããã°Development Environment Conferenceã«ãã¼ããã½ã³ã³ã¨ã¦ã§ãã«ã¡ã©æã£ã¦è¡ããããªããªãã¦æã£ããæããªãã£ããã
æ¨æ¥ã®Javascriptã®è¨äºãæ¸ãã¦ãã¦æã£ãã®ã§ãããã¿ãªããã³ã¼ããããã°ã«è²¼ãä»ããã¨ãã£ã¦ã©ããã¦ãããã§ãããã 大æµã®ã³ã¼ãã¯Emacsä¸ã§ç·¨éãã¦ããã®ã§Emacsç¨ã® http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el ã¨ããelispã使ã£ã¦ãã¾ãâ¦