2009-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã¨ã大仰ãªã¿ã¤ãã«ãã¤ãã¦ã¿ã¾ãããããããªããããäºã¯ãã¦ãªãã§ãã»ã»ã ã§ããå人çã«ã»ããã£ãããããnanapiãã¨ãã¦ã使ããã®ã§å®æã«ã¯æºè¶³ã AutoPagerizeã®ã½ã¼ã¹ãèªãã§åå¼·ããã¦ããããªããä½ã£ãã®ã§ãã¡ãã£ã¨è¦ãç®ãã½ã¼ã¹ãä¼¼ã¦â¦
è²ã ä¸æ£ç¢ºãªç¥èã°ãããè©°ã¾ã£ã¦ãè³å ãã©ãã«ãããããã®ã ããã æç´ã¯å°ãã«ãã¦ãæ¬é¡ã ãã¹ã¦ããªãã¸ã§ã¯ãããã¹ã¦ãããã·ã¥ï¼é£æ³é åï¼ javascriptã¯é åãããã·ã¥ããªãã¸ã§ã¯ãããã¹ã¦åããã®ã ããªãã¡ãé£æ³é åãããã ã¾ããç¥èâ¦
ãã©ã´ã³ãã¼ã«ã®ãã£ã©åã¿ãããªãã®ãã¯ãã¼ã¸ã£ãã¨ãããã¤ãã¡ã¢ããã èªåç¨ã¡ã¢ãªã®ã§ãèªã¿ã«ããã¦ããããããã»ã»ã»ã åèã«ãããµã¤ãæ§ JavaScript ç¿ã§ããããã¯ãã¼ã¸ã£è¶ å ¥é ã¾ã¨ã - DQNEOèµ·æ¥æ¥è¨ ç¿ä¸¦ã¿ã®åã§ããããã¾ããã nothâ¦
javascriptã®é¢æ°ã function testFunc() { alert(1); }ãã㨠var testFunc = function() { alert(2); }ããã¯ã»ã¼å義ã ä¸ã®ã»ããããè¦ãã å¼ã³åºãæ¹ å¼ã³åºãæ¹ãä½éããããã testFunc();(testFunc)();ããã«å®è¡ãããªããããããã®ããã (funâ¦
autopagerize ãåå¼·ã§èªãã§ãã使ã£ã¦ãã¦ä¾¿å©ããã ã£ãã®ã§ã //åæè¨å® var DEBUG = true; function debug() { if ( typeof DEBUG != 'undefined' && DEBUG ) { console.log.apply(this, arguments) } }ããã¦ã var testText = "this is test text"; â¦
javascriptã§æ¥ä»æ±ãã¨æ¯åæ©ãããã¡ã¢ ã°ãªã¢ã³ä½æ ã°ãªã¢ã³ä½ã£ã¦ãããå¤é¨js使ããã«ãç¬èªå®è£ ã§æ¥ä»æ±ããã¨ã«ã ããããã£ãã®ã¯ã ï¼æ¥æ¸ãã ï¼ææ¸ãã ï¼å¹´æ¸ãã ã£ã¦å¦çã ã£ãã®ã§ãæ±ç¨æ§ã¯ä½ããã©ã¨ããããä½ãå§ãã function substOâ¦
è¦å´ããã®ã§ã¡ã¢ã ä»åã¯ãã³ããæ¦åãã¡ã«å©ãããã¾ããm(_ _)m snipMateå°å ¥ ã¾ãã¯id:maroekunã«ãsnipMate便å©ã ããã¨æãã¦ããã£ãã¨ãããã話ã¯å§ã¾ãããã¨ãã¨ç¥ã£ã¦ã¯ããããèå³ã¯ãã£ããã©ä½¿ã£ããã¨ã¯ç¡ãã£ãã ãããæ©ä¼ã«ä½¿ã£ã¦ã¿â¦
LatLng2Heightï¼ï¼ç·¯åº¦çµåº¦ããæ¨é«ç®åºAPI ãã¡ãã®APIã«æåããã¦ä½ã£ã¦ã¿ã¾ããã ããããâã®ãµã¤ãæ§ã§ãã§ã«å®è£ ã§ãã¦ãããã®ã ãã©ãåå¼·ã®æå³ãããã¦ã°ãªã¢ã³å ãã¨ãjsonpã使ã£ã¦ã¿ããã£ãã ãããªæãã«æ¨é«ã表示ãã¦ããã¾ã â»ã¤ã³ã¹ãâ¦
Perl 㧠YAML 㨠JSON ã®ãã³ããã¼ã¯æ¯è¼ - Daio Todayãã¡ãã®è¨äºãèªã¿ã¾ããã çµæçã«ã¯ãYAML 㨠æ¯ã¹ã¦ JSON ã®æ¹ã 6åã8åé«éããã ããããã¯ãã¼ã¿éãå°ãªãå ´åã§ããã¼ã¿éã大ãããªã㨠0.5åã0.8å ã¨å·®ã縮ã¾ã£ã¦ãã¾ãã ãªãã»ã©ãâ¦
MA5ãããã§ãããã ããããã¤ãã³ãã¯å¤§å¥½ãã§ãã å»å¹´ã¯APIä¸è¦§ãã¼ã¸ããã£ããã©ã»ã» ã©ãããä»å¹´ã®APIç´¹ä»ãã¼ã¸ã¯ãã¼ã¸ã£ãããã ã¾ããããã ãæä¾APIæ°ãå å®ãã¦ãããã¨ãããã¨ã§ããããã ããããauto pagerize ã«ã対å¿ãã¦ããªãããâ¦
æ¨æ¥ã«å¼ãç¶ããç¹æ®å¤æ°ã使ã£ã¦ã¿ã¾ããã $,ã£ã¦ãªãããã»ã»ã»ï¼ ã¾ãã¯ã$, ã§ãã 説æããèªãã§ã¿ã¾ãããã åºåæã®é ç®åºåãæåãprint @xx; ã®æã«æå¹ ãªãã»ã© 使ã£ã¦ã¿ãã #!/usr/bin/perl use strict; use warnings; my @array = qw/aa â¦
æ¦åidï¼maroekunã¨ç¹æ®å¤æ°ã«ã¤ãã¦èªã£ãã®ã§ããã®æ©ä¼ã«åå¼·ããªããã¦ã¿ãã $.ã¨ã¯ãªããã ã¾ãã¯ã$. ã«ã¤ãã¦å¦ã³ãªããã¦ã¿ãã æå³ãç¥ã ãã¡ã¤ã«ããèªã¿è¾¼ã¿æã®ç¾å¨ã®è¡æ° ãããã ãµããµã ãã£ã¦ã¿ã test.txt aa:aa bb:bb cc:cc dd:dd eâ¦
æè¿ãperlã§ç»åãhogehogeãã¦ããããä½ã£ã¦ãããã®ã¯ããã§ãããFavimage -ãã¡ãã³ã³ã§è¡¨ãã¦ã¿ãã-â»éããï½ï½ è²ã 表示ãã¦ã¿ã¾ãã âãã«ã âã¢ããªã¶ ä»ã«ãä½åãä½ã£ã¦ã¿ã¾ããã æãã¤ããçç± ãã¨ãã¨ãç ã®QRã³ã¼ãã¯èªããã®ãï¼ SINAP â¦
ç»åããåç´åãã¦ç½®ãæãããããªå¦çããããã£ãã ãã®ããã«ãç»åå ã®è²æ å ±ãè¤æ°ããããããå¹³ååããå¦çãæ¸ãã¦ã¿ãã ãããªé¢¨ã«ã§ãããã ãããªç»åãèªã¿è¾¼ã¾ããã¨ã å¦çãã¦ã ãããªè²ã«ãã¦ãããã Image::Magick使ã£ã¦ãè²æ å ±åâ¦
è¦å´ããã æ¥æ¬èªã§ãè±èªã§ãããã¥ã¡ã³ããè¦ã¤ããããªãã£ããããããããã£ã¦ãã¯ãã Image::Magickã§ç¹å®é¨åã®è²æ å ±åå¾ ããã¯ãµã³ãã«ãã´ãã´ãè½ã¡ã¦ãã ãããªæã my $image = Image::Magick->new; $image->Read('ç»åãã¹ã'); my ($r, $â¦
favicon ã¡ããã¡ããããã£ã¦ã¾ãã favicon ãåå¾ãããå ´åãfaviconURL㯠use WWW::Favicon qw/detect_favicon_url/; my $url = "http://google.com"; my $favicon_url = detect_favicon_url($url);ãããªç°¡åãªæãã§åå¾å¯è½ã§ãã çµæ㯠'http:/â¦
perlã§æºå¸¯ãµã¤ããä½ãã¨ãã«ãGPSæ©è½ã使ãå ´åãããã§ãããã PGSæ å ±ã¯APIã¨ãé£åãããããã§ãããããã·ã¥ã¢ãããµã¤ããä½ãã®ãæ±ããããæ å ±ã§ãããã ããããGPSã¯çµæ§å½¢å¼ãè¦ããã¾ã§ãé¢åã§ãã çµåº¦ç·¯åº¦ã®è¡¨è¨æ¹æ³ dmsè¡¨è¨ degree表â¦
ä»ã«èª°ããããªãã¨ããã人ãããã®ãåãããªããã©ã»ã»ã»ã 使ç¨ãããµã¤ãã¯ãã¡ã Alexa Top 500 Global Sites ä¸è¨ã®ãµã¤ãã§äººæ°ãµã¤ããåããã®ã ããæ£ç¢ºã«ã¯ã¢ã¯ã»ã¹æ°ã©ã³ãã³ã°ã¨ã¯ãããªããããã Alexaã§ãµã¤ãã®ä¸çã©ã³ãã³ã°æ å ± :SEOãâ¦
perlã§é³æ¥½ãæ±ã£ã¦ã¿ããã¦ãåå MP3::info ãããã£ã¦ã¿ãã ãã£ãããªã®ã§ãããã§ä½ãä½æ¥ããã¦ã¿ãã perlãå®è¡ããããæè©ãèªååå¾ãããããªãã®ãä½ã£ã¦ã¿ãã ç¹ã«ä»ã«æãã¤ããªãã£ãã®ã§ã ã¾ãã¯ä¸èª¿ã¹ã gooæè©ãè¦ãã¦ã¿ãã gooæè©â¦
perlãã¡ããã¡ãã使ã£ã¦ã¾ãã perlã¯ããã¹ãå¦çã«ã¯åãã¦ãã¾ããã é³æ¥½ åç» ç»å ãªã©ã®ã¡ãã£ã¢åãã®æä½ã¯ãã¾ãé©ãã¦ãªãã§ããã æ å ±ãå°ãªãã§ãã ã¾ããããããããã£ã¡ç³»æ±ããããªããå¥ã®è¨èªä½¿ããã£ã¦è©±ãªãã§ããããã»ã»ã»ã 使â¦
LimeChat ã使ç¨ãã¦ãã¾ãã æ¥åã§ããã©ã¤ãã¼ãã§ãã IRC便å©ã [Ctrl+Space] 次ã®æªèªããããã£ã³ãã«ã¸ç§»åãã¾ã ã¨ãããããããã¯å¿ é ã IRCã§ãã¦ã¹ã使ãæ©ä¼ã¯ã»ã¼ãªãã§ãã ãã«ã¼ã³ãåºãããã¨ããããã [Ctrl+Space] ä½æ¥å¹çãä¸ããâ¦
åå¼·ã®ããã«ã ãªããã¨ã©ã¼ãã§ãããã ä¸ã®å¦çæ©ãã§ãããã çç±ã¯è²ã ããã¨æãã¾ããããã¾ã«CPANã¢ã¸ã¥ã¼ã«èªã¿ããã¨ãããã¾ãã vi `perldoc -lm Class::Accessor::Fast` ãããªæãã§ä¸çºã§éããã®ãã 使ããã Class::Accessor::Fast ã®é¨â¦
ä¸çºãã¿ãæãã¤ããã ä¸ã®ä¸å ¨ã¦ã®ã¨ã©ã¼æè¨ã«ããã¡ãï½ï½ï½ãã£ã¦è¿½å ããã ãã®ã°ãªã¢ã³ã ãã£ã¨ãä¸ã®ä¸ãã¡ãã£ã¨ã ãå¹³åã«ãªãã¯ãã ã ã£ã¦ãã¨ã©ã¼æè¨ãã§ã¦ããã¤ã©ã¤ã©ããªãã¯ãï½ï½ ãã¡ãï½ï½ï½ï½éµä¾¿çªå·ã¯åè§æ°åã§å ¥åãã¦ãã ããâ¦
使ãæ¹ã¯ç°¡åãããªãã®SBMãé¸ã³ã¾ãããã ã»ããã ã»livedoor clip ã»Delicious ããç¨æãã¦ããã¾ãã ããªãã® SBM_ID ã¨ã¡ã¢ããå ¥åãã¾ãããã ããã¨ãæ¯æ¥ããã¨ã§èªããã¿ã°ããã©ã³ãã ã§è¨äºãéä¿¡ãã¾ãã åé¡ç¹ ã¡ã¢ãç»é²ãããªã(æ¬å½â¦
ããä¸åã®ããã°ã«ã¯è¨äºæ¸ããã®ã§ããããã£ã¡ã«ãä¸å¿æ¸ãã¦ããã¾ãã æè¿ mixi ã¢ããªãä½ã£ã¦ã¾ã ãã®ã¢ããªè£½ä½ã ãªããªããªã½ã¼ã¹ãåããã¦å¤§å¤ã»ã»orz èªåã®ãµã¤ãä½æã¨ããid:wajihoã¨ã¢ããªãµã¤ãä½æããããã¨ãããã¨ããã£ã¡ã«ä½¿ããâ¦
ã¢ããªè©±ããã¦ããããçµæ§çãä¸ãã£ãã®ã§ãå¢ãã«ä»»ãã¦æ¸ãã¦ã¿ãã å ãã¿ã¯â PMããã£ã¬ã¯ã¿ã¼ã«å¿ è¦ãªï¼ã¤ã®ããã¸ã¡ã³ã - GoTheDistance âã®è¨äºã§ç´¹ä»ããã¦ãããTwitter ã®ä¸è¨ã§ãã æããã°ã§ã¿ããããã°ã©ãã®ãã£ãªã¢ãã¹ã®å ã«ããããâ¦
ãããã»ã»ã ãªããããªåç´ãªãã¨ã«æéã使ã£ã¦ãã¾ã£ãã®ãã»ã»ã»ã XMLãjQueryã§å¦çãã¦ãfugafugaãããµã¤ããä½ããã¨ãã¦ã¾ããã XMLã¨ãã£ã¦ããä¸èº«ã¯rssãªã®ã§ã <item> <title>test</title> <link>http://hoge</link> <media:content url="http://www.hoge/test.jpg" /> <media:thumbnail url="http://www.hoge/test.jpg" /> <pubDate>Wed, 03 Jun 2009 19:52:20 GMT</pubDate> </media:thumbnail></media:content></item>
ã¢ãããããã©ãå ¬éã LimeChat ã«ã¯ã¹ã¯ãªãããè¨å®ã§ããã LimeChat ã«ã¯èªåã§ã«ã¹ã¿ãã¤ãºããã¹ã¯ãªãããè¨å®ãããã¨ãã§ãã¾ãã ã¾ãããã®ã¹ã¯ãªããã¯ãjavascript ã§è¨è¿°ãããã¨ãã§ãããããç°¡åãªè¨è¿°ã§ä¾¿å©ãªæ©è½ãå®è£ ã§ãã¡ããã¾ãâ¦
æè¿ä½ãã¨è©±é¡ã®ãã³ããã³ãã³ãã ã¡ãã£ã¨æ¤ç´¢ããã ãã§ããè²ã åºã¦ãã¾ããã³ããã³ãã³ããä»è¾¼ãæ¹æ³ | ã¨ã³ã¿ã¼ãã©ã¤ãº | ãã¤ã³ãã¸ã£ã¼ãã« ä¸ã»ä¸ã»ä¸ã»ä¸ã»å·¦ã»å³â¦â¦ã³ããã³ãã³ãã§ãGoogleãªã¼ãã¼ãã«ä½ããèµ·ããï¼ - iNSIDE ã³ããã³ãâ¦
opensocial ã«ã¯å¤§ããå¥ãã¦ãï¼ã¤ã®ãã£ãã·ã¥ãåå¨ãã¾ãã ã¬ã¸ã§ããXMLã®ãã£ãã·ã¥ makeRequestã§ã¢ã¯ã»ã¹ãããå¤é¨APIã®ãã£ãã·ã¥ featureãåºããJavaScriptã®ãã£ãã·ã¥ JavaScriptãCSSãimgãªã©HTMLãããªã³ã¯ããããªã½ã¼ã¹ã®ãã£ãã·ã¥ ãâ¦