Every time you feel your code is ugly, go look at the source code of awstats. Then you feel yours is not that bad.
æè¿ãã¾ãImageMagickããããæ©ä¼ããã£ãã®ã§ãã¡ã¾ãã§äººæ°ã®Polaroizeã¨åããã¨ãPerkMagickã§ã§ãããã¨ãã®è¾ºãåèã«è©¦ãã¦ã¿ã¾ããã æå ã«ã¾ã¨ããªImageMagickã使ããå ¬éãµã¼ãã¼ããªãã£ãã®ã§ã¹ã¯ãªããã ãã Fedora Core 6ã® ImageMagick-6.2.8.0-3.fc6.1 ImageMagick-perl-6.2.8.0-3.fc6.1 ã§è©¦ãã¾ããã poralize.pl use strict; use Image::Magick; my $input = 'image.jpg'; my $output = 'polaroid.jpg'; my $img = Image::Magick->new; $img->Read($input); $img->Border( width => 10, height => 1
ã¹ã¯ãªããè¨èªç¨ã®ãããã¬ã®ä½¿ãæ¹ - Ruby, Python, Perl ã¹ã¯ãªããè¨èªç¨ã® CUIã®ãããã¬ã®ä½¿ãæ¹ãç°¡åã«ã¾ã¨ãã¾ããã対象è¨èªã¯ Ruby, Python, Perl ã§ãã ç§ã¯ C, C++ ã§ããã°ã©ã ãæ¸ãã¦ããã¨ãã¯ããã㬠(主㫠GNU/Linux ä¸ã® gdb) ãé »ç¹ã«å©ç¨ãã¾ããããããã¹ã¯ãªããè¨èªã§ã¯ããã»ã©ã§ãããã¾ãããããã¯ãããã次ã®ãããªçç±ã«ããã¾ãã ãã«ããä¸è¦ãªã®ã§ printf ãããã°ã容æ (ããç¨åº¦å¤§ãã C++ ã®ããã°ã©ã ã§ã¯ãã«ãæéãé·ãã®ã§ printf ã®æ¿å ¥ã¯ããã©ã) ç°å¸¸çµäºæã«ã¹ã¿ãã¯ãã¬ã¼ã¹ã表示ããã (Ruby, Python ãªãèªåãPerl ã®å ´å㯠use Carp; $SIG{__DIE__} = \&Carp::confess; ãªã©) ãªãã¸ã§ã¯ãã®ã¤ã³ã¹ãã¯ããç°¡å (Ru
2007å¹´01æ15æ¥05:00 ã«ãã´ãªLightweight Languages perl - åè§ã¹ãã¼ã¹ãèªåã§å ¥ãã æ¯éã¯ãã¦ãããå ¥ããã®ã§ããã°èªåã§å ¥ããããã¨ããããã§ãã¡ãã portal shit! : åè§ã¹ãã¼ã¹å ¥ãã¦ã¾ããï¼ åè§ã¹ãã¼ã¹å ¥ããã¹ããå ¥ããªãã¹ãï¼spacer.pl #!/usr/local/bin/perl use strict; use warnings; use Encode; my $east = qr/(?!\p{M})(?:\p{Han}|\p{Katakana}|\p{Hiragana})/; my $west = qr/(?!\p{M})(?:\p{Latin}|\p{Greek}|\p{Cyrillic})/; binmode STDOUT, ':utf8'; while(<>){ $_ = decode 'utf8', $_
Assurer - ãµã¼ããã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ #0 Posted by Gosuke Miyashita Fri, 05 Jan 2007 15:44:44 GMT æ§ç¯ãããµã¼ããã¡ããã¨åä½ãããã©ããã®ãã¹ããèªååããããªã¼ãã¨ã¹ã¯ãªãããæ¸ããã¨æã£ãã®ã§ãããPerler ã¨ãã¦ã¯ããã¯ãã¯ããPlagger ã¨ã Archer ã¿ããããã©ã¬ãã«ã§ YAML ã§è¨å®æ¸ãã° OK ã¿ããã®ãä½ãã¹ãã ãããã£ã¦ãã¨ã§ãAssurer (SVN) ã¨ãããµã¼ããã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ãã§ã£ã¡ããã¦ã¿ã¾ããã ãã¹ãã®ãã¨ã Quality Assurance ã¨ãè¨ã£ããããããPlagger ã Archer ã er ã§çµãã£ã¦ãã®ã§ãããã«å£ã£ã¦å½åãã¦ã¾ãã ä»ã®ã¨ãã Plagger ã Archer ããã³ãããã¦ãããç°¡å㪠HTTP ãã¹ããã©ã°ã¤ã³ãã¤
2006å¹´12æ22æ¥19:00 ã«ãã´ãªLightweight Languages {perl,ruby} -nle 'print if /start/../end/' ã¢ã«ãã¡ã®ã¼ã¯ã§ãç¥ããªãã£ãã¨ããã®ã¯ãä¸æè°ã§ãããå½ç¶ã®ããã§ãããã naoyaã°ã«ã¼ã - naoyaã®æ¥è¨ - if /regexp/../regexp/ Perl ã§æ£è¦è¡¨ç¾ã .. ããã¨ããã®éã«å«ã¾ããæååã¨ããæå³ã§ããããããããã % w3m -dump_source http://www.yahoo.com/ | perl -nle 'print if /^<style/../<\/style>/' ã¨ããã¨ãããå®ã«ç±ç·æ£ãã使ãæ¹ã§ããããã¾ã perlãhashãããµãã¼ããã¦ããªãé ãããã£ãã¨è¨æ¶ãã¦ãã¾ãããªã«ããsed/awkãèµ·æºã§ãããã NAME operator - se
æ¢å DB ãã以ä¸ã®ã¯ã³ã©ã¤ãã¼ä¸çºã§ DBIx::Class ã® Schema ãçæã§ãã $ perl -MDBIx::Class::Schema::Loader=make_schema_at,dump_to_dir:./lib -e 'make_schema_at "Hoge::Schema", {relationships => 1, debug => 1}, ["dbi:mysql:hoge","user","password"]' ããããã ã¾ããã¯ã©ã¹ãä½ããããã£ã¬ã¯ããªä»è¿ã«ç§»å ãã£ãã®ã³ãã³ãã® dump_to_dir: ã®ç®æã«ã¯ã©ã¹ããªã¼ã®èµ·ç¹ã¨ãªããã£ã¬ã¯ããªãæå® make_schema_at ã®ç¬¬ä¸å¼æ°ã«çæãã Schema ã®ããã±ã¼ã¸åãæå® å¤é¨ãã¼å¶ç´ã¨ããèæ ®ã㦠has_many ã¨ã belongs_to ã¨ããèªåã§è¨å®ãã¦æ¬²ããå ´å
TIMTOWTDI ãªãã¨ããã£ã±ã㧠POE ã®ãã¨ãããããããªãã£ãã®ã§ããï¼Cookbook ã¨ãªãã¡ã¬ã³ã¹ãèªãã§ãªãã¨ãªãããã£ã¦ãã¾ããã POE::Kernel ã POE ã·ã¹ãã ã®ã³ã¢ã§å¯ä¸ç¥ POE::Kernel->run()*1 ãå®è¡ããã¨ã¤ãã³ãã«ã¼ããåãåºã ã¤ãã³ãã«ã¼ãã§ãããã¨ããªããªã㨠POE::Kernel->run() ããæ»ãï¼æ»ããã¨ãæå¾ ãã¦ã¯ãããªãï¼ POE::Session ã POE ã·ã¹ãã ã«ãããï¼ã¿ã¹ã¯/ã¹ãã¼ããã·ã³/ããã»ã¹/ã¹ã¬ããçãªãã®ã®åä½ è¤æ°çæãã¦ãã ã»ãã·ã§ã³ã®æåã« _start ã¤ãã³ããçºçãã ã»ãã·ã§ã³ã®æå¾ã« _end ã¤ãã³ããçºçãã ã¤ãã³ããã³ãã©ã¨ãã¦ï¼ãµãã«ã¼ãã³ãªãã¡ã¬ã³ã¹ï¼inline_statesï¼ï¼ããã±ã¼ã¸é¢æ°ï¼package_statesï¼ï¼ãªãã¸ã§ã¯ãã¡ã½ããï¼o
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
Blog Search when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${entry.path} [in template "__entry.ftlh" at line 3, column 25] - Reached through: #include "__entry.ftlh" [in template "entry.ftlh" at
Adam Kennedy Andy Lester Arnout Pierre bowtie Branislav ZahradnÃk brian d foy Chas. J. Owens IV Chris Capaci Chris Dolan Colin Newell Damyan Ivanov Dan Book Dan Church David Steinbrunner dependabot[bot] Edmund Adjei Elliot Shank Gabor Szabo Graham Knop Graham Ollis Guillaume Aubert James E Keenan Joel Maslak Julian Fondren Karen Etheridge Kent Fredric Lance Wicks Matt Church Matthew Horsfall Mike
æåã³ã¼ãå¤æãããã©ã°ã¤ã³ã§ããã term: utf-8 servers: irc.unknownplace.org: iso-2022-jp irc.freenode.net: - channel: '-ja$' charset: iso-2022-jp irc.fujisawa.wide.ad.jp: iso-2022-jp ã¿ããã«YAMLã§å®ç¾©ã§ããããã¾ã®ã¨ãæ¥æ¬èªãã£ã³ãã«ãã£ã³ãã«åãæ¥æ¬èªãªãã£ã³ãã«ã«å¯¾å¿ã§ããªãã ããã§tiarraè±å´ã§ãããã¼ã http://svn.unknownplace.org/public/library/perl/trunk/irssi_scripts/charset.pl è¨å®YAMLã®ãã¹ã¯ ~/.irssi/charsets.yml ããæ¿ããç ãã®ã§èª¬æã¯å ¨åã§çãã¾ããå¾ã»ã¨ãã©ãã¹ããã¦ãªããã ãããããªãã®ã§ãããããc
CPAN::Mini 㧠CPAN ã®ãã©ã¼ããã¼ã«ã«ã« DECON ã§è©±ãã¦ãããã¿ã§ããã¡ãã£ã¨è©³ããã é£è¡æ©ããé»è»ã®ä¸ããã§ãªãã©ã¤ã³ããã¯ããã¨ãã«ï¼ãã¾ã«ï¼åé¡ã«ãªãã®ã CPAN ã¢ã¸ã¥ã¼ã«ã®ä¸è¶³ã§ãããããããã®ãã·ã³ã«ã¯ãã®ã¢ã¸ã¥ã¼ã«å ¥ã£ã¦ããï½ãã¨ãã§ããã¯ãæ»ãã®ã¯èãã¾ããã¨ãããã㧠minicpanãCPAN::Mini ã¨ããã¢ã¸ã¥ã¼ã«ã§ãCPAN ã¢ã¸ã¥ã¼ã«ã®ææ°çã ããæã£ã¦ãã¦ãã©ã¼ãã¤ãããã¨ãã§ãã¾ãã å°å ¥ã¯ç°¡åã§ãCPAN ãã install CPAN::Mini ãã㨠minicpan ã¨ããã³ãã³ããä»å±ãã¦ãã¾ããã³ãã³ãã©ã¤ã³ãã使ãã«ã¯ã > minicpan -r http://ftp.funet.fi/pub/languages/perl/CPAN/ -l ~/minicpan ã¨ãããã° finet ãã HTTP ã§åæã§
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}