404 Blog Not Found:perl - myã¨ourã¨scope㨠ã¿ããªé£ããèãããã§ãã ï¼ä¾å¤ã«ã¤ãã¦ã¯å¾ã§èãããã¨ã«ãã¦ï¼ã¨ãããã以ä¸ã®åºæ¬ããããã¦ããã°æ··ä¹±ãããã¨ã¯ãªãã¨æãã¾ãã â our 宣è¨ã«ã¤ã㦠our ã¯ã°ãã¼ãã«å¤æ°ãã¹ãã¼ãã«ä½¿ç¨ããããã®å®£è¨ã§ããour 㯠use vars ã¨ç価ã¨èãã¦ãã ããã our $var; 㯠use vars qw($var); ã¨ç価ã our $var = 1; 㯠use vars qw($var); $var = 1; ã¨åãåãããããã®ãã¨è¦ãã¦ããã°OKã§ãããã以ä¸ã®éãã¯åºæ¬çã«ãªãã¨èãã¦æ§ãã¾ããã ã²ã¨ã¤å®ç¨ä¸ã®éããããã¨ããã°ãour 㯠Perl 5.6 以éã® built-in ãªã®ã«å¯¾ãã¦ãuse vars 㯠vars.pm ã® Perlã¹ã¯ãªããã§å®è£ ããã¦ãã¾ããã
â [esobook] Brainf*ckã¨Whitespaceã®æ¬ãæ¸ãã¾ããï½ï½ï½ï½ æ£ç¢ºã«ã¯ããBrainf*ckã¨ãWhitespaceã®ãããªè¨èªã®å¦çç³»ãä½ãã¤ã¤ãæ°ããããã°ã©ãã³ã°è¨èªãä½ãã¨ããã¾ã§ã解説ããæ¬ãã§ããã 4839927847 12/20çºå£²ã§ãã ããã¯ã¸ã§ã¼ã¯ã§ã¯ãªããç¹°ãè¿ããããã¯ã¸ã§ã¼ã¯ã§ã¯ãªãï¼ ç¬¬ä¸é¨ã§ã¯HQ9+ããå§ã¾ããBrainf*ckãWhitespaceãé¡æã«ã¤ã³ã¿ããªã¿ã»VMæ¹å¼ã®å¦çç³»ãä½ã 第äºé¨ã§ã¯æ¬æ¸ãªãªã¸ãã«è¨èªã§ããStarryãBolicãé¡æã«æ°ããããã°ã©ãã³ã°è¨èªã®ä½ãæ¹ã解説 ä»é²ã§ã¯æ¬ç·¨ã§åãä¸ããããªãã£ã13åã®Esoteric Languageãã¡ãã£ã¨ãã¤ç´¹ä» (Grassããããï¼) ã¨ããæ§æã«ãªã£ã¦ãã¾ã(ç®æ¬¡ã¯ãã¡ãããã©ãã)ã å人çã«ã¯è£ãã¼ã(?)ã§ããããã¥ã¼ãªã³ã°ã»ãã·ã³ããλ
æ¥æ¬ãã¬ããæªæ¥åµé å ãã§ãå ç¿å²©ç³ã®æåæ°ãããã±ã³ã¿ããã¼ãã©ã¤ãããã³è¶æ¼¬ããã大好ãã¨ãã話ããã¦ããã®ãèãã¦ãç°æ§ã«ãã£ã¦ã¿ãããªã£ãã ã¡ãªã¿ã«ãæåæ°ãªã¹ã¹ã¡ã®é£ãæ¹ã¯ã ããã³ã¯ãã»ãããã«ä¸¸ã®ã¾ã¾ã´ãã³ã®ä¸ã«ã®ããã æ¿ããã®ãè¶ããï¼ããã³ã®ä¸ããã§ã¯ãªãï¼ãããã³ã«ããããªãããã«èãã注ãã é£ã£ã¦ããã¡ã«ããè¶ãã ãã ãããã³ã®å³ã«ãªã£ã¦ããã®ã§ããè¶ã ã飲ã¿å¹²ãã¦ãæ°é®®ãªãè¶ãç¶ã足ãã ã¨ãããã®ã ç§ãã±ã³ã¿ããã¼ãã©ã¤ãããã³ã«åºä¼ã£ãã®ã¯ããããã40å¹´ãåã å°å¦æ ¡é«å¦å¹´ã®ã¨ããæåï¼ã§æå¾ï¼ã®å¹¼ç¨åã®åçªä¼ããã£ãã®ã ãããã®æã«ãå½æã¾ã çããã£ãã±ã³ã¿ããã¼ãã©ã¤ãããã³ãåºã¦ããã ãä¸ã®ä¸ã«ããããªãã¾ããããåå¨ããã®ãï¼ããã¨æã£ãã ããããå½æã¯ãã³ãã§ãå¤é£ããç¿æ £ããªãã£ããã大ãããªã£ã¦ããããé£ãã®ã¯5å¹´ã¨ã3å¹´ã«ä¸åã®ãã¼
ã¼ããã©ã¹ãã«åããéã®ããæ¯æ´ èªç¤¾ã®ã»ãã¥ãªãã£ã®èª²é¡ãæµ®ã彫ãã«ã M365ã®åæ©è½ã§å¯¾å¿ 次æèªæ²»ä½ãããã¯ã¼ã¯å¼·éå㸠ã¬ã¤ãã©ã¤ã³æ¹å®ã§ãã¸ã¿ã«åãæ¨é² å©ä¾¿æ§åä¸ã¸ã®åãçµã¿æ¹ããã¤ã³ãã§è§£èª¬ æªæ¥ã®ã»ãã¥ãªãã£ã¤ããã¼ã¿ã¼ã¸ åã®ãªã³ã©ã¤ã³éå¬ã¨ãªã£ãSecHack365 20年度ææçºè¡¨ ããè¦ãã¦ããæ°ããªå ã ãã¼ã¿ã®æ£å¨ã¨é常çéç¨ããã㯠ä¼æ¥ã®DXãITã妨ããååãåé¿ããããã« ãã¼ãã³ãæãããã¼ã¿ç®¡çåºç¤ã®éè¦æ§ IDaaSã£ã¦ä½ï¼ Identityãã¹ã¿ã¼ã¸ã®é4åç®ã¯ ID管çããã·ã³ãã«ã«ããæ¹æ³ãç´¹ä» é£è¼ï¼ãããèªãã¹ãã¬ã¼ã¸æ¦ç¥ 第ä¸åï¼ã³ã³ããç°å¢ã«ãããã¹ãã¬ã¼ã¸ æå¤ã¨ç¥ããã¦ããªãéè¦æ§ã詳解ãã ãã®å 㸠ãã¼ã¿æ´»ç¨ãå¤ãã ãã¸ãã¹ã¯æ°ããèå°ã¸ M365 æ´»ç¨ã®ã»ãã¥ãªãã£å¯¾ç æ¥æ¿ã«é²ãã ãªã¢ã¼ãã¯ã¼ã¯ã«å¯¾å¿ãã ã¼ããã©ã¹ã
Conveyor (æ§åPRhagger) 㯠Plagger ã®ããã«æ å ±ã®åéãå å·¥ãåºåãåºæ¥ãã¢ããªã±ã¼ã·ã§ã³ã§ãã PHP4以éã§åä½ãã¾ããrhaco Framework ã«ããã¤ã³ã¹ãã¼ã«ã®ç°¡åãã¨ãã©ã¦ã¶ä¸ã§ç°¡åã«è¨å®åºæ¥ãç¹ãç¹å¾´ã§ãã ã¡ã¤ã³ç»é¢(1) *1 ã¡ã¤ã³ç»é¢(2) *1 ã¤ã³ã¹ãã¼ã«æ¸ã¿ã¯ã¼ã«ã¼ä¸è¦§ *1 å ¨ã¯ã¼ã«ã¼ä¸è¦§ *1 ã¹ã¯ãªã¼ã³ãã£ã¹ã Conveyorãå°å ¥ããã¾ã§ã®ä¸é£ã®æµããåç»ã§ç¢ºèªåºæ¥ã¾ãã*2 conveyorã£ã¦ä½ã¦èªãã®ï¼ ãã³ã³ãã¢ãã¨èªã¿ã¾ãããã«ãã³ã³ãã¢ã®ã³ã³ãã¢ã§ãã lineã¨ãworkerã£ã¦ä½ï¼ ã©ã¤ã³(line)ã¯Conveyorã§ã®ä¸é£ã®æµããè¨è¿°ãããã¡ã¤ã«ã§ããã¯ã¼ã«ã¼(worker)ã¯ä»ã®ã¢ããªã§è¨ããã©ã°ã¤ã³ã®ãããªãã®ã§ Conveyor ã«æ©è½ã追å ãã¾ããã¹ã¯ãªã¼ã³ãã£ã¹ãã®ãã¥ã¼ããªã¢ã«ã§ã¯ [ã
ãæç´ãä¸çªä¸ãå¹¼ç¨åå ¥ã£ããåãã¦ã»ããã£ã¦å«ã«è¡ã£ãããåãåå°ãã¯å®¶äºã®åæ ã¨è²å ãä»ããé¢ãã£ã¦ãã¨è¨ããããã ã⦠ãããâ¦ãåéã¨ãã¼ãã³ã¼ãã¸âç§ããããè²·ã£ã¦äºäººã§é£ã¹ãï¼åé¡æã£ã¦ããããªãç§ã®ã¨ä¸ç·ã«æ³¨æãããã©ãåéãä»æ¥ã¯å¥ã®åºã®ãããã«ãããç§ãäºè§£ãâçµæ
RubyRubyã®injectãããæ·±ãç解ããã人ã«æ§ã ãèªãã§ã Enumerable#inject ã¯ç¥ã£ã¦ã®éãããã¿è¾¼ã¿æ¼ç®ãããã¡ã½ããã§ããå ·ä½çã«ã¯æ¬¡ã®éãã p (1..5).inject(0){|r, i| r + i} # => 15 ããã¯æ¬¡ã®å ´åã¨åãã§ãã r = 0 (1..5).each {|i| r += i } p r # => 15 ããã¾ã§ã¯ç¾å¨ã®ãªãã¡ã¬ã³ã¹ã«è¼ã£ã¦ãã¨ããã§ãããªãåæå¤ã渡ããªãå ´åã¯æ¬¡ã®ããã«ãªãã¾ãã p (1..5).inject{|r, i| r + i} # => 15 src = (1..5).to_a r = src.shift src.each {|i| r += i } p r # => 15 ããã¦ãRuby 1.9ç³» 㨠1.8.7 ã§ã¯ &Symbol å½¢å¼ï¼ã Symbol ãç´æ¥ï¼ã渡ãã¦æ¥½ã§ããæ§
AutoPagerizeã®ãããªãã¨ãå®ç¾ããããã«ãWindowã®ä¸ã¾ã§ã¹ã¯ãã¼ã«ããããã¨ãæ¤åºããJavaScriptã調ã¹ã¦ã¿ãã æå¤ã¨è¦å´ããã®ã§ã¡ã¢ã ã½ã¼ã¹ // åç´ã¹ã¯ãã¼ã«éãåå¾ãã var scrollTop = document.body.scrollTop || document.documentElement.scrollTop; // 表示é åã®é«ããåå¾ãã var clientHeight = document.body.clientHeight; // ã¹ã¯ãã¼ã«ãã¼ã§é ããé åãå«ãã³ã³ãã³ãé åã®é«ããåå¾ãã var scrollHeight = document.body.scrollHeight; // ã³ã³ãã³ãé åã®åºã¾ã§ã®æ®ãé å var remain = scrollHeight - clientHeight - scrollTop
3ã¤ã»ã©ããã®ã§ç´¹ä»ãªã© Firefox addons XPath Checker ãªã¢ã«ã¿ã¤ã ã§XPathãå®è¡ããçµæã表示ãããplugin. é常ã«ä¾¿å© 使ãæ¹ ã¨ããããã¤ã³ã¹ãã¼ã«ããå³ã¯ãªãã¯ãæ¼ãã¨View XPathã¨ããé ç®ããããããã®ã§ãããã¯ãªãã¯ãã¾ã ããã¨ãXPathã®çµæã表示ãããã¦ã£ã³ãã¦ãã§ã¦ããã®ã§ããã§XPathãå®è¡ããã¨ãå®è¡çµæã表示ããã¾ã BookMarklet é¢ç½æ³äººã«ã¤ãã¯ã®?Find XPath ãã®ããã¯ãã¼ã¯ã¬ãããå®è¡ãããã¨ã§ãã¦ã£ã³ãã¦ä¸ã®ã«ã¼ã½ã«ãä½ç½®ãã¦ããé¨åã®XPathã表示ããã. ã¦ã£ã¨ãã°ããXPathãç¥ãããã¨ãã«éå®ãã ãã®äºã¤ãå ¼ç¨ããã¨ä¾¿å©ã§ãã æµãã¯ä»¥ä¸ã®ããã«ãªãã¾ã Find XPathã§XPathã®æ§æãææ¡ ãããXPath Checkerã«å ¥ãã¦ãçµæ表示 ãã©ã¡ã¼ã¿ãå¤åããã¦
Moose ã®ã³ã¼ããæ¢ç´¢ãã¦ç解ãæ·±ãã æ¬æ¥ã¯ Roppongi.PM ã®ç¬¬ä¸å Moose ã³ã¼ããªã¼ãã£ã³ã°ãããã¾ããã Mooseã¯ãåç´ã«ä½¿ã£ã¦ãåã«ã¯åãæãã®ã§ããããã®å®è£ ãè¦ããã¨ããã¨é端ã«è¤éããå¢ãã¾ãã ã¨ã«ããã¡ã½ããã®å¼ã³åºãã®ã¹ã¿ãã¯ãæ·±ããMySQLç¨ã§ã¯ç¡ãã«ããæ²è ã§ãã ä»åã¯ãããªMooseã®æåãææ¡ããæããããæ´ããã¨ããåã§ãã Moose.pm Moose.pmã¯ã主ã«use Mooseãããæã«exportããã¡ã½ããã®å®ç¾©ããã¦ãã¾ãã use Mooseããã¨ãextends,with,has,before,after,around,override,inner,augment,make_immutable($c->meta->make_immutableãã¹ã),confess,blessedãexportããã¾ãã ããã¦M
38.73% Browser: Firefox 3.0 16.69% Browser: MSIE 6.0 10.36% Browser: MSIE 7.0 6.07% Browser: Sleipnir 5.75% Browser: Firefox 2.0 4.57% Browser: Safari 4.00% Browser: Opera 9 2.94% Mobile: KDDI 2.16% Mobile: DoCoMo 1.88% Browser: Google Chrome 0.x 0.96% Browser: w3m 0.73% Browser: Firefox 3.1 0.63% Browser: Mozilla/4.0 browsers 0.62% Browser: Lunascape 0.49% Browser: MSIE 5.5 0.45% Browser: Firefox
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}