2007-05-01ãã1ã¶æéã®è¨äºä¸è¦§
GoogleCodeä¸ã®Issuesã¿ãããnew issueãã¯ãªãã¯ããã¨ãã°ã¬ãã¼ããã©ã¼ã ãéãã®ã§ãããããã« What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you usingâ¦
ã¨ããåé¡ããã£ãã®ã§ãããéããã¨ãã°ã¬ãã¼ãæ¸ãã¦ããã ãã©TrimPath Forumè¦ãããè¼ã£ã¦ã¾ããã http://trimpath.com/forum/viewtopic.php?id=498å½¼ã®ãããã®æ¹ããã¬ã¤ã ã£ãã®ã§ä½¿ããã¦ããããã¨ã«ãemitExpressionå var parts = expr.spliâ¦
JSANãå ¥ã£ã¦ãªãã£ããå ¥ããã % cpan JSAN ãã©ã¼ãä½æããã % jsan index && perl -MDBI -MFile::Path -MLWP::Simple -e '$h=DBI->connect(qq{dbi:SQLite:$ENV{HOME}/.jsan.index.sqlite});foreach $dist (@{$h->selectall_arrayref(q{select source,lâ¦
ã¾ã£ãããªç¶æ ã§ãminijsanãå®è¡ãã¦ãä½æ ã13åãããã©ã¼ãã¦ãããªãã£ããï¾ ï¾ï¾ï¾ï¾ï¾ã½(`д)ï¾
ä¸ã®äººã«åãè¾¼ãã§é ãã¾ããã®ã§ããLast Modified: 2007.05.30ã以éãã¤ã³ã¹ãã¼ã«ããã°ä»¥ä¸ã®ãããã¯ä¸è¦ã§ããhttp://white.s151.xrea.com/wiki/index.php?script%2FSBMCommentsViewerLivedoor Clipã®å¦çã§ãã¿ã°ãç¡ãã¨ãã¯ãä»ããã³ã¡ã³ããåâ¦
ä»åã¯çè ã®Emacsï¼ã¨è¨ã£ã¦ãMeadow2ãªãã§ããï¼ã®Perlã«é¢ããè¨å®ãä¸é¨æç²ãã¦ã¿ããã¨æãã¾ãã (autoload 'cperl-mode "cperl-mode" nil t) ;; cperl-modeã使ã£ã¦ã¾ãã (add-to-list 'interpreter-mode-alist '("perl" . cperl-mode)) ;; shebanâ¦
ãã¾ã«ãã¯ã¦ãªããWikiããã®è¨æ³ã¯ä½¿ãã«ãããæ°ããè¨æ³ãèãããï¼ãã¿ãããªè¨äºãè¦ããããã ãã©ãçè ã¯reStructuredTextï¼reSTè¨æ³ï¼ãæµè¡ãã¨ãããªã¼ãªãã¦æã£ã¦ã¾ããPythonã®æ¨æºããã¥ã¡ã³ãã§ãããã¾ãããä½ããè¨æ³ãæ¸ãã¦ãæä¸ã§â¦
ããæ°å¤ãããã¨ã [% SET number = 1234567 %]ãããã㨠[% number.chunk(-3).join(',') %]ãããªãã¾ãã 1,234,567MACROã¨ãã«ãã¦ãããããTemplate::Plugin::Comma - TT Plugin to commify numbers - metacpan.orgã¨ããæãããã¾ãã 話ã¯å¤ããã¾â¦
ã¡ãã£ã¨ããåè«ã®ã¤ããã§Twitterã®Locationã«geolocationãæ¸ãã¦ãããç¥ããªããã¡ã«twittervisionã£ã¦ã¨ãã«æ¾ããã¦ããã¡ãã£ã¨ã³ã³ã£ãã
wxWidgetsã«ã¯wxSoundãæ¨æºã§ä»ãã¦ãã¾ããï¼æããã§ããï¼wxWidgetsã®ããã¥ã¢ã«ã¯ã¡ãã£ã¨å¤ã§ã http://www.wxwidgets.org/manuals/stable/wx_contents.htmlã®ãClasses by categoryãã®æ¹ã«ã¯è¼ã£ã¦ãã¾ãããããAlphabetical class referenceãã®æ¹â¦
çè ã¯ããªãã¹ããã¶ã¤ã³ããã¼ã«ã«ï¼ã¤ã¾ãfileãããã³ã«ï¼ã§ç¢ºèªã§ããããã«ãå¤é¨JS/CSS/ç»åã¸ã®ãã¹ã¯çµ¶å¯¾ãã¹ã§ã¯ãªãç¸å¯¾ãã¹ã§æ¸ãããã«ãã¦ãã¾ããã¾ããå°ã話ã¯ãºã¬ã¾ãããããã¢ã¯ã·ã§ã³åºæã®éçãªã½ã¼ã¹ã®é ç½®ã /action/ /images/actiâ¦
åå¾ãããã¼ã¿ãåç §ããã¨ãã«å¤æãã¦ããããå ´åã¯inflate_columnã使ãã¾ããä¾ãã°created_onã«ã©ã ãDateTimeãªãã¸ã§ã¯ãã¨ãã¦æ±ãããå ´åã package Schema::Foo; __PACKAGE__->inflate_column( 'created_on', { inflate => sub { DateTime::Forâ¦
ã³ã³ããã«åããma.laãããçºè¦ããã話ãããããã£ããã©ãªãã ãç²ãã¦ããã ã£ãã®ã§ãããã
user.home-info.postal.nameã¨ããã®ããuserHomeInfoPostalNameã¨ããæãã«ä¸æ¬å¤æããããªã£ã¨æãèããã $ perl -pe 'sub convert{uc $1;};s/\.([a-z])/&convert($1)/eg;s/-([a-z])/&convert($1)/eg;' ã¨ããæãã§ããã¿ããã ããã°ã©ã ä¸ã«2ç®æâ¦
ãµãã«ã¼ãã³ã®ä¸æ¸ãã«ã¤ãã¦ããããªããã - ãã«ãºã§åã@robarioã®æãã°ãèªãã§ãã ããï¼ï¼ï¼ï¼ id:zetamattaãããããundef &main::symbol;ãã§ã¯é§ç®ãªãã§ããããï¼ã¨ã³ã¡ã³ããé ãã¾ãããå ¨ç¶ãã¡ãããªãã§ããå ¨ç¶OKã§ãã æ¥ããããªããâ¦
ããã°ã©ã ã対話çã«å®è¡ããã¦ãããã©ããã§å¦çãåããã«ã¯IO::Interactiveã使ãã¨é常ã«æ¥½ã§ãã use IO::Interactive qw(is_interactive); if (is_interactive) { print {*STDOUT} q{Now, interactive}; # negotiate with human } % perl -MIO::Inteâ¦
DBIx::Class::Manual::Cookbookã®Schema import/exportã« sqlt --from SQL::Translator::Parser::DBIx::Class --to MySQL --DBIx::Class "MySchema.pm" > Schema1.sql ã£ã¦ããä¾ãè¼ã£ã¦ããã ãã©ã Unknown option: dbix::class ã¨ãè¨ããã¦åããªããã â¦
Podããã³ã¼ããã³ããããã¨ãã«ã¤ãã¦ãã¾ãã¤ã³ãã³ããviã¨emacsã§ã©ããã£ã¦æ¶ãã èªåã®å ´åãä¾ã¨ãã¦LWP::Simpleã®SYNOPSISãEmacsã§ã (1) use LWP::Simple; $content = get("http://www.sn.no/"); die "Couldn't get it!" unless defined $contenâ¦
Devel::Bayside - ããã©ã«ãã¢ã¯ã·ã§ã³ã®åãæ±ãèªåã¯defaultã¢ã¯ã·ã§ã³ãRoot.pmã ãã«æ¸ãã¦ã404 Not Foundãè¿ãããã«ãã¦ãã¾ãã package MyApp::Controller::Root; sub default : Path { my ( $self, $c ) = @_; $c->res->status(RC_NOT_FOUND); â¦
Livedoorã¨ãTwitterã¨ãã¯ã-ï¼ãã¤ãã³ï¼ãä»ãã®ã¦ã¼ã¶åãè¹´ããããªãããªãã§ã ãï¼ ãã¡ã¤ã«ã·ã¹ãã ã§ãURIã§ãç¹æ®æåã§ã¯ãªãã¿ããã ãã©ã
社å ã§ã¯ãªã¯ã¨ã¹ããRT â Best Practical Solutionsã§ç®¡çãã¦ãã¾ããï¼ãããSVKã£ã¦RTä½ã£ãã¨ããä½ã£ã¦ãã ï¼ éçºãã¼ã ãéå¶ãã¼ã ãIPMessengerã¯å¿ ãç«ã¡ä¸ãã£ã¦ããã®ã§ãRTã®ãã¼ã¿ãRSSã«å¤æããã²ã¼ãã¦ã§ã¤ã¨ãPlaggerã§IPMessengerã«Broaâ¦
é ã¾ããªããTwitterå§ãã¾ããã http://twitter.com/holidays_l ã¡ãã»ã³ã¸ã£ã¼ããæ稿ã§ããã®ãè¯ãããæ¥ãè æã¾ããªã®ã§åéç»é²ã¯ãèªç±ã«ã©ããã
default : Privateã ã¨ãå¼æ°ï¼$c->req->argsï¼ã«namespaceãå«ã¾ãã¦ãã¾ã£ã¦é¢åãªæãã«ãªãã®ã§ãdefault : Pathã«ãã¦ãããåã§ãã ã¾ãã¯ã¾ã£ããdefault ã¢ã¯ã·ã§ã³ã§ã® args ã®æ±ã - ãã«ãºã§åã@robarioã®æãã° ãåç §ã®ãã¨ã
Perl::Critic - Critique Perl source code for best-practices. - metacpan.orgãã³ã¼ãã£ã³ã°ã¹ã¿ã¤ã«ãçµ±ä¸ããããã«ä½¿ã£ã¦ãã¾ãã ï¼å®éã«ã¯åé¢ã¨ãã¦ã®ã³ã¼ãã£ã³ã°ã¹ã¿ã¤ã«ï¼ã³ã¼ãã¬ã¤ã¢ã¦ãï¼ï¼ã¯Perl::Tidy - metacpan.orgãæ å½ãã¦ããããã§â¦
ã·ã¹ãã ã³ã¼ã«ã®æ»ãå¤ã¯ãã§ãã¯ããªãããªããã®ã ãã©ãé¢åã ããFatalã使ãã use Fatal qw/open close/; use Fatalã使ãã¨ã失æããã¨ãã«undefãè¿ã代ããã«dieããããã«ãªãã®ã§ãå ¨ä½ãevalã§æ¬ã£ã¦ãã¾ãã°åã ã®ãã§ãã¯ãä¸è¦ã«ãªãã®ã§ä¾¿â¦
ã·ã¹ãã ã³ã¼ã«ã®æ»ãå¤ã¯ãã§ãã¯ããªãããªããã®ã ãã©ãé¢åã ããFatalã使ã use Fatal qw/open close/;
DBIx::Class::Schema::Loaderã®_load_externalæ©è½ã使ãã¨ããå¤é¨ãã¡ã¤ã«ãdump_directoryã§æå®ãããã£ã¬ã¯ããªå ã«ããã¨èªã¿è¾¼ãã§ãããªããã©ããªã«æ·±ãã¨ããã«ç½®ãã¦ãã£ã¦ããã¡ã ä»ã¾ã§ä½åãå¼ã£æãã£ã¦ããã®ã§æããå ¼ãã¦ã¡ã¢ã DBIx/Claâ¦
æ¨æ¥ã®ã¨ã³ããªã«åºã¦ããyamldumpã®è©±ã§ããå®ä½ã¯ãããªaliasã§ãã alias yamldump="\perl -MYAML -MData::Dumper -e '"'print Dumper(YAML::LoadFile(shift))'"'" æ¨æºå ¥åããèªããããã«ã¯ãªã£ã¦ãã¾ãããããããã使ãæ¹ã¯ããªããããªã®ã§å¥ã«ãâ¦
ANOTHER PIECES - 空繰åç¹° - ãã£ã¬ã¯ããªæ§é ãYAMLã§è¡¨ç¾ãã 空繰åç¹° - ãã£ã¬ã¯ããªæ§é ãYAMLã§è¡¨ç¾ããããï¼ % cat a.yml home: xcezx: .cpanplus: - .emacs .irssi: - config - charset.yml - scripts: autorun: % yamldump a.yml $VAR1 = { 'homeâ¦
ãã£ããcommandã®åºåã®ä¸åç®ã ãã欲ãã㦠% command | ack '{print $1}' ã¨ããã£ãã®ã«åºåãããªãã¦ã % command ã % command 2>&1 ãç»é¢ã«åºã¦ãããã¨ã¯ç¢ºèªã§ãã¦ãã®ã«ã念ã®çºã« % command 2>&1 | ack '{print $1}' ã£ã¦ãã£ã¦ã¿ã¦ããã£ã±ãâ¦