å代æªèã®Perl軽éã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ç¥ãã®ä¸ãããããéããã§ããããï¼ ç´ä½æ²æããã£ã¦ãããªãã¨ãè¨ã£ã¦ãããã«ä½ããã¦ãªãã§ã¼ã¼ã£ã¨ãã¦ããéã«ãè ã«è¦ãã®ããå µéãæãæãã¨æãåããã¦ãããã®ã§ãç³ã訳ãªãååã§æ²ããã«ãã³ããã¼ã¯ãåã£ã¦ã¿ã¾ããã http://d.hatena.ne.jp/tokuhirom/20081111/1226418572 NanoA ã¨ããã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ãããã¦ã¿ã - kazuhoã®ã¡ã¢ç½®ãå ´ YappoLogs: Yacafi ã¨ãã軽éCGIãã¬ã¼ã ã¯ã¼ã¯æ¸ããã ã¿ããªåºæ¬çã«è»½éãªãã¬ã¼ã ã¯ã¼ã¯ãããã£ã¦ãã¦ãéçºå¹çããã軽ããé å¸ã®ããããã売ãã¨ãã¦ããã®ã§ç¹ã«åé¡ãªãã¨æãã¾ãã æ¯ã¹ãã®ã¯ä¸ã®3ã¤ã¨ ã¢ã¸ã¥ã¼ã«ã使ããªãcgi CGI.pmã§ãããåºåãããã㮠軽éãã¬ã¼ã ã¯ã¼ã¯ã®ä»£
ã¿ã¤ãã«ã¯é£ãã§ãã å®éã®ã¿ã¤ãã«ã¯ãPerlã®ãªãã¸ã§ã¯ãæåãã ãºã«ã·ã¤ã ã£ã¦ï¼ããªãã«ãªãã ã£ããPHPã§åç¾ãã¦ãããï¼ãã§ãããã¾ãã ãã¤ãã¤ãã¤ãããã®åãPerlã®ãªãã¸ã§ã¯ãæåãé£ããã ãªãã¦ãã£ãã誰ãè¨ã£ããã ãï¼ Perlã®ãªãã¸ã§ã¯ãæåã»ã©ãã·ã³ãã«ä¸ã¤æè»ãªãã®ã¯ãªããï¼ åãªãããã±ã¼ã¸(åå空é)ã¨ãªãã¡ã¬ã³ã¹(ãã¼ã¿)ãblessã¨ããé¢æ°ã§ç´ä»ããã ãã®ããªãã ããã 第ä¸å¼æ°ã«å¿ ã$selfãæ¥ãã£ã¦ããã®ãçµå±ã®è©±ãããªãé¢æ°å¼ã³åºãã¨ãªããå¤ãããªãã®ã ããã package Foo; sub new { my $class = shift; return bless { @_ } , ref $class || $class; } sub plus { my $self = shift; my $int = shift; return $s
æ¸ãã®ãé ããªãã¾ããããå æ¥éããã snow-bell ãã主å¬ã® SICP åå¼·ä¼ (è¨ç®æ©ããã°ã©ã ã®æ§é ã¨è§£éã®èªæ¸åã³æ¼ç¿) ã«åå ãã¾ãããSICP åå¼·ä¼ã¯åå¾ããã ã£ãã®ã§ãããåãä¼å ´ã§ååä¸ã« Gauche åå¼·ä¼ (ç§ã¯ä¸åå ) ãéããã¦ããããã£ãããã°ãååã¨ãªã£ã¦ãã¾ããä»ã®åå è ã®è¨äºã¯SICPåå¼·ä¼ã®ã¾ã¨ãã¨ç°æ¥ç¨®äº¤æµä¼ - snow-bellã®æ¥è¨ããã©ããã çµã¿åããã¨åææç¶ã Scheme ã®å¼ (expression) ã«ã¯çµã¿åãã (combination) ã¨åææç¶ã (compound procedure) ããããå¼ãè©ä¾¡ããã¨ããçµã¿åãããªãã°é¨åå¼ (ãªã¹ãã®åé ) ãå帰çã«è©ä¾¡ãããããåææç¶ãã§ã¯é¨åå¼ãçµåãã¨ãã¦è©ä¾¡ãããã¨ã¯éããªãã ãã¨ãã°ãæç¶ãå®ç¾© (é¢æ°å®ç¾©) (define (square x) (
ã¡ãã£ã¨åããéçºç°å¢ãSpketIDEããAptanaã«ãã¦ã¿ã¦ãããã¨ããã両æ¹ããã¤ããªããããã¦ããã®ã§Apatanaã使ç¨ãå§ãããã¨ãã£ãæ¹ãæ£ãããã Aptanaã®æå©ãªç¹ã¯ sdocã使ãæã Code Assist Profilesãã¥ã¼ãä¾¿å© ãã ããæ¡å¼µéçºç¨ã§ã¯ãªãã®ã§ããã®ãããã¯SpketIDEã®åãå©ç¨ã㦠æ°è¦ããã¸ã§ã¯ãã§æ¡å¼µç¨ã®ãã£ã¬ã¯ããªãbuild.xulã®é ç½® XULãXBLãã¡ã¤ã«ã¯SpketIDEã®ã¨ãã£ã¿ãä½¿ç¨ JavaScriptãã¡ã¤ã«ã¯Aptanaã®ã¨ãã£ã¿ãä½¿ç¨ Code Assist Profilesã«ãããã¡ã¤ã«ãä½æãã¦JavaScriptãã¡ã¤ã«ãç»é² XPCOMé¢ä¿ã¯SpketIDEã®JavaScriptã¨ãã£ã¿ã«åãæ¿ãã¦è£å®æ©è½ãå©ç¨ãã¦ã³ã¼ãã®è¨è¿° ã£ã¦æãã§ä¸¡æ¹ã並è¡ãã¦ä½¿ã£ã¦ãã Aptanaã®sdocã®å©ç¹ï¼å
ãããã¦ã¿ãã¨ã svn 㨠git ã®ã³ãã³ãä½ç³»ã¯é常ã«ä¼¼ã¦ãããã¨ãåããã¾ ãããSubversion 使ç¨è 㯠Git ãæ¯è¼çèªç¶ã«è¦ããããã®ã§ã¯ãªãã§ããããã 注1 git-init ãå®è¡ããã¨ãã«ã¬ã³ããã£ã¬ã¯ããªã« .git ã¨ãããã£ã¬ã¯ã ãªãä½æããã¾ãã Subversion ã¨ã¯ç°ãªãä¸å¤®é権ã®ã¬ãã¸ããªãä½æããå¿ è¦ã¯ã ãã¾ããã cg init ãå®è¡ãããã®å ´æãããªãã®ã¬ãã¸ããªã§ãã ãªããgit-init ã³ãã³ãã¯ä»¥å git-init-db ã³ãã³ãã§ããã å¤ããã¼ã¸ã§ã³ã® git ã®å ´å㯠git-init-db ã³ãã³ããå®è¡ãã¦ãã ããã 注2 Subversionã¯ã¬ãã¸ããªãã²ã¨ã¤ããããã¾ããããGit ã§ã¯åå人ãã¬ãã¸ããªãæ æãã¦ãã¾ã(ããããããä¸äººã§ããã¤ãæã£ã¦ããã)ã git-commit -a ã¯èªåã®
ãããã¤ã³ã¹ãã¼ã«ä»£è¡¨ã®ã©ã¤ãããã¯ããã°
è¯ãæ¸ãæ¹ãå¿ããã¡ãªã½ã¼ãã ç¹ã«Perlã¨PHP両æ¹ä½¿ã£ã¦ãã¨Perlã¯ããã ãã©ãPHPã¯ã©ãã ã£ãï¼ã¨ãããããã®ã§ãããã§ã¾ã¨ãããã¦ããã é åãæååã§æé ã»éé ã½ã¼ã # æé @sarray = sort @array; @sarray = sort { $a cmp $b } @array; # éé @sarray = sort { $b cmp $a } @array; Perlã®sorté¢æ°ã¯ãããã¯è¡¨è¨ãçç¥ããã¨ããã©ã«ãã§æé ã½ã¼ãã«ãªãã¾ãã <?php // æé sort( $array , SORT_STRING ); // éé rsort( $array , SORT_STRING ); PHPã®sorté¢æ°ã¯å¼æ°ã«æ¸¡ãããé åãã½ã¼ãããã 第äºå¼æ°ãæå®ããªããåãã«ã¯åãããçç¥ããã¨å¤ã«æ°å¤ã¨æåãæ··å¨ãã¦ãã¨ãã«ãããããªãã®ã§æ示çã«
ãã®è¨äºã¯æ´æ°ãå¿ è¦ã¨ããã¦ãã¾ãã ãã®è¨äºã«ã¯å¤ãæ å ±ãæ²è¼ããã¦ãã¾ããç·¨éã®éã«æ°ããæ å ±ãè¨äºã«åæ ããã¦ãã ãããåæ å¾ããã®ã¿ã°ã¯é¤å»ãã¦ãã ãããï¼2020å¹´5æï¼ Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã®æ¯è¼ï¼ãªããã¯ã¹ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã®ã²ããï¼ã§ã¯ãLinuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã®æ¯è¼ãè¡ãã Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã®æè¡çãªå¤æ§æ§ã¨ãã¦ãç°ãªã£ã¦ãããã¼ãã¦ã§ã¢ããã¤ã¹ãã·ã¹ãã ãã½ããã¦ã§ã¢ããã±ã¼ã¸å½¢æ ã«å¯¾ãããµãã¼ããæãããããçµç¹ã®éãã¯æ´å²çãªçç±ã«ãããããªã£ã¦ããã®ãããããªããä»ã®åºæºã¨ãã¦ãã¦ã¼ã¶ã¼ã¤ã³ã¿ãã§ã¼ã¹ãã»ãã¥ãªãã£ã¢ãããã¼ããå ¥æå¯è½ã«ãªãæ©ããããã±ã¼ã¸ç®¡çã®å®æããå©ç¨å¯è½ãªããã±ã¼ã¸ã®æ°ãæããããã ãããã®è¡¨ã¯å¹ åºã客観çãªåºæºã§æ³¨ç®ãã¹ããã£ã¹ããªãã¥ã¼ã·ã§ã³ã®ææ°å®å®çã«ã¤ãã¦æ¯è¼ãããã®ã§ããããããã®è¡¨ã¯
ããããã¤å¯ã㨠ä»å¹´ã®ã¯ããã«ãããããã¨ãªã¹ããä½ã£ããä»è¦ãã50é ç®ãããªã¹ãã®ãã¡25åãéææ¸ã¿ã ã£ããã¡ããã©ååãããããã¨ããã£ãã¨ãããã¨ã ãç§ã«ãã¦ã¯ã¾ãã¾ãã®çµæã ã¨æããæºè¶³ã ãããããã¨ãªã¹ãã«ãããã®ã®ãã¡ããããé£ã¹ãããç³»ã¯æ¦ãã¯ãªã¢ãâ¦
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
æ¬é£è¼ã§ã¯ä»è©±é¡ã®ãã¬ã¼ã ã¯ã¼ã¯ãRuby on Railsï¼ä»¥ä¸ãRailsï¼ãã¨ç¾å¨Webã¢ããªã±ã¼ã·ã§ã³éçºã§ä¸»æµã§ããJavaã®ãã¬ã¼ã ã¯ã¼ã¯ç¾¤ãæ¯è¼ãã¦ããã¾ãã æ¯è¼è»¸ã«ã¤ãã¦ã¯ãéçºã«é¢ããäºé ï¼çç£æ§ãã¡ã³ããã³ã¹æ§ãªã©ï¼ãä¸å¿ã«è§£èª¬ãã¦ããã¾ãã第1åã®ä»åã¯O/Rãããã³ã°ãæä¾ãããã¬ã¼ã ã¯ã¼ã¯ã«ã¤ãã¦ã§ãã O/Rãããã³ã°ã¨ã¯ããªãã¸ã§ã¯ãã¨RDBã®ãã¼ãã«ããããã³ã°ãããã¨ãããã¾ããO/Rãããã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã¯ãªãã¸ã§ã¯ãæåã¨RDBã®ä»²ä»äººã¨ãªããã¨ã§ãã¢ããªã±ã¼ã·ã§ã³ã®éçºçç£æ§ãåä¸ããã¾ãã Railsããã¯å梱ã®ãActiveRecordãã¨ããO/Rãããã³ã°ã®ã³ã³ãã¼ãã³ããåãä¸ãã¾ãã対ãã¦Javaã®O/Rãããã³ã°ã¨ãã¦ã¯ããã£ã¨ãç¥å度ãé«ãã¨èãããããHibernateãã¨ãJavaã®æ£å¼ä»æ§ã¨ãã¦çå®ããããJava Pers
Warning! 2008/5/22追è¨ï¼ãã®ã¨ã³ããªã¯æ å ±ãä¸ååã ã£ããééããå«ã¾ãã¦ããããã®ã§ãä¸è¨URLã®ãã¼ã¸ãåèã«ããããã«ãã¦ãã ããâ http://piro.sakura.ne.jp/latest/blosxom/mozilla/xul/2007-09-13_selector-to-xpath.htm CSS3ããããXPath1.0ãããã«å¤æãã表 CSSXPath .class//*[@class="class"]*1 .class//*[contains(concat(" ",@class," ")," class ")]*2 tag//tag #id//*[@id="id"] tag.class#id//tag[@class="class"][@id="id"] .class.class2//*[contains(concat(" ",@class," "
Safari 3.1 ãéãã¦å¿«é©ã¨ãã話ããã¡ãã¡ã§èãã®ã§ããã®æ©ä¼ã«ç§»è¡ãã¾ããã Mac ã«ç§»è¡ãã¦ã Firefox ã使ãç¶ãã¦ããã®ã¯ãAdd-on ãæ§ã ãªä¾¿å©æ©è½ã¨åçãªãã¨ã Safari ã§ãã§ããã®ããããã¨æã£ã¦ããããã§ãã Firefox ã§æç¨ããSafari ã«ç§»è¡ãã¦ãæä½é欲ããã¨æã£ã¦ããæ©è½ã¯ä»¥ä¸ã®éãã ãã¦ã¹ã¸ã§ã¹ãã£ã¼ QuickSilverããã®ããã¯ãã¼ã¯å¼ã³åºã Greasemonkeyãã¨ãã« AutoPagerize ã¨ãèªä½ãæç¨ãã¦ãã » Amazonã«èª¿å¸å¸ç«å³æ¸é¤¨ã®èµæ¸æ¤ç´¢ãªã³ã¯ã追å ããGreasemonkeyã¹ã¯ãªãã : åã¯çºå±éä¸æè¡è Google ã¯ãã Amazon ãªã©æ§ã ãªãµã¤ããå¼ã³åºããæ¤ç´¢ãã¼ Firefox ãã Safari ã«ç§»è¡ãããããã®æ©è½ã Safari ã§ã使ããããã«ããæ¹æ³ãç´¹
ãã¢ããã¥ã¡ã³ã << ã®ãã¨ã®æåå string ããåç¬ã§ç½®ããã string ã¾ã§ã®è¡ãæååã¨ãªãæ©è½ã è¤æ°è¡ã®åãæ±ã(表示ãªã©)ãè¨è¿°ããã®ã«ä¾¿å©ã Perl << ã®ãã¨ã®æåå string ããåç¬ã§ç½®ããã string ã¾ã§ã®è¡ãæååã¨ãªãæ©è½ã $str = "foo"; print <<EOS; <HTML> $str </HTML> EOS string ãããããã" "ããã' 'ããã` `ãã§å²ã£ãå ´åãæååã®æ¬ä½ã ããããã" "ããã' 'ããã` `ãã§å²ãããããã«ãµãã¾ãã ç´ ã®æååã®å ´åã¯ã" "ãã§å²ã¾ããã®ã¨åãããã«ãµãã¾ãã $str = "foo"; print <<'EOS'; <HTML> $str </HTML> EOS 以ä¸ã®ããã« << ã®ãã¨ãã¹ãã¼ã¹ã«ããã¨ç©ºè¡ã¾ã§ãæååã¨ãã¦æ±ãããã $str =
é åæä½ã®æ¯è¼è¡¨: Ruby, Python, JavaScript, Perl, C++ ããã°ã©ã ãæ¸ãã¦ããã¨ãä»ã®ããã°ã©ãã³ã°è¨èªã®è¨æ¶ã¨ãã£ã¡ãã«ãªã£ã¦ããé åã®å¾ãã«è¦ç´ ã追å ããã®ã¯ push ã ã£ãã append ã ã£ãããªã©ã¨æ··ä¹±ãããã¨ãããã¾ããç¹ã« Ruby, Python, JavaScript ã¯ã³ã¼ãã®æ¸ãæ¹ãä¼¼ã¦ããã®ã§ããã®åé¡ãèµ·ããã¡ã§ãã ããã§ãåå¿é²ã¨ãã¦ã Ruby, Python, JavaScript, Perl, C++ ã®é åæä½ã®æ¯è¼è¡¨ãä½ãã¾ãããä¸çªæ £ãã¦ãã Ruby ãåºæºã«ãã¦ãã¾ããééããªã©ããã£ãããææããã ããã¨å©ããã¾ããä»ã®è¨èªã®ãããã¨ãããªãã Ruby (Array) Python (list) JavaScript (Array) Perl (@) C++ (std::vector)
â [arc][scheme] Arcã¨Schemeã®I/Oãæ¯ã¹ã¦ã¿ã Arcã®I/Oé¢æ°ã®ã¾ã¨ããã¼ã¸ããã£ãã®ã§ï¼Schemeã®é¢æ°åã¨æ¯è¼ãã¦ã¿ãï¼ Arc: I/O å ¨ä½çã«ï¼ããªãã´ã«ãããã¦ãã¾ã(ç¬)ï¼Schemeã¯é·ãã¦ãæ確ãªååãé¸ã¶ã®ã§å°æ´ï¼ æã¯Schemeã®é¢æ°åã¯é·ãããã¨æã£ã¦ããã§ããï¼æè¿ã¯ä¸æã«æ½è±¡åããã°æ°ã«ãªããªãã®ããªãã¨æã£ãããã¦ã¾ãï¼ Input ArcScheme(Gauche)
ã¯ã¦ãªããã¯ãã¼ã¯ã®ãããªãã¯ã¦ã¼ã¶ãªã¹ã - Ironsãçµå©ããã¾ã§ããã ããã¹ããã¡ã¤ã«ã§ããè¦ãããªãã£ãã®ã§ããã¡ãã«ã¡ã¢ç¨ã¨ãã¦ãªã³ã¯ä»ãããã¯ãã¼ã¯æ°ã®å¤ãã¦ã¼ã¶ã¼BEST1000ãè¼ãã¦ã¿ã¾ããï¼æããããæ¶ãã¾ãï¼ ï¼ååæ稿ãããã¯ã¦ããæ°ã«ããããªã¹ãï¼ãªã³ã¯2008å¹´3æåãã¯âãã¡ãï¼ ã¯ã¦ãªID ã¯ã¦ãªããã¯ãã¼ã¯æ° b:id:andsoatlast 217902 b:id:citora 105552 b:id:zephyr_82 60662 b:id:yuiseki 52315 b:id:b4-tt 49043 b:id:RanTairyu 45638 b:id:nkoz 44843 b:id:tamutamuuu 44172 b:id:otsune 40877 b:id:westerndog 37285 b:id:pongpongland 37130 b:
Are you an Emacs user but don't know Lisp? Welcome to my first Emacs Lisp primer! This should hopefully help get you over the hurdle so you can have more control over your Emacs sessions. There are lots of ways to do things in Lisp, and some are "Lispier" than others. I'm going to focus on how to do things you probably already know how to do from C++ or Java. I'm mostly focusing on the language it
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}