2010-01-01ãã1å¹´éã®è¨äºä¸è¦§
å æ¥ãâããã使ã£ã¦ãã©ã¦ã¶ãããµã¼ãã«ãã¡ã¤ã«ãã¢ãããã¼ãããã¨ããç»é¢ãä½ã£ã¦ãã¾ããã ä½ãã¾ã§ã¯ããã£ããã§ãããããã SeleniumRC ã§ãã¹ããããã¨æã£ããã»ã»ã»ãã¡ã¤ã«æ¬ã®æä½ã¯ã§ããªãããã§ã(Selenium Core FAQ - Selenium - Opeâ¦
ã(å¢è£æ¹è¨ç)Javaè¨èªã§å¦ã¶ãã¶ã¤ã³ãã¿ã¼ã³å ¥éããã«ãã¹ã¬ããç·¨ãããèªã¿çµããã¾ããã ãã¨ãã¨ã7æãããã«ä»ã®ä»äºã§ãããããã¯ãçºçããã¨ãã«è²·ã£ã¦ãªãªãèªã¿ãã¦ããã®ã§ãããä»æã«å ¥ã£ã¦æ¹ãã¦ã¡ããã¨èªã¿ç´ãã¾ããã ãã£ãããªã®â¦
ãx += 3;ãã¯ãx = x + 3;ãã¨ã¯éãã¨ãããã¨ãç¥ãã¾ããã ãã£ãã ããã¡ã½ãã(foo)ã®å®è¡æéã確èªãããã¨ãããããã½ã¼ã¹ãæ¸ãã¾ããã int sum = 0; for(String arg : args){ long start = System.currentTimeMillis(); foo(); long end = Syâ¦
åä½ã®ããã®æä½æ¡ä»¶ãã¹ãã®ãã¨ããã¹ã¢ã¼ã¯ãã¹ããã¨å¼ã³ã¾ãã ãã®ãã¹ã¢ã¼ã¯ãã¯ãç¦ããã¨ãã«åºãç ãã®ãã¨ãæãã¦ãã¾ãã ï¼å称ã®ç±æ¥ã¯ãæ°ããåºç¤ã«é»æºãéãã¦ã¿ã¦ãç ãä¸ãããªããã©ããã確èªãããã¨ããã¨ããããï¼ ã§ããã½ããâ¦
å æ¥ã®ã³ãããã³ã¡ã³ãã®æ¸ãæ¹(ææµ)ã«å¯¾ãã¦ãtwitter ã§ã³ã¡ã³ããããã ãã¾ããã BTSé£æºãããã°ãã±ããçªå·ã [subversion]ãããï¼ åã¯BTSã¨é£æºããããã¨ãå¤ãã®ã§ã太æ¬å¼§ããã®é¨åããã±ããçªå· #XX ã«ãªãã¾ãããé£æºã§ããªãã¨ãã¯ãâ¦
public static void main(String[] args){ System.out.println // ãã¡ããããµã¤ãã¯ãããªã½ã¼ã¹ãæ¸ãããã¯ãã¾ããã // ã§ãããã¤ãå½ããåã®ããã«ã¡ã½ããåã®ç´å¾ã«ãã£ããæ¸ãã¦ããã // ãããã«ã¼ã«ã§ãããã®ããã«é¯è¦ãã¦ãã¾ã£ã¦ãã¾ãâ¦
Java ã® HashSet ã®ã¢ã«ã´ãªãºã ã確èªãããã¨ã¯ã©ã¹ã®ä¸èº«ãè¦ã¦ã³ã£ããã HashSet ã¯ãå¦çã®ã»ã¨ãã©ã HashMap ã¸å§è²ããã ãã¨ããè¶ ç°¡åãªã¢ã«ã´ãªãºã ã§ããã ã³ã³ã¹ãã©ã¯ã¿ã¯ãããªæãã public HashSet() { map = new HashMap<E,Object>(); } ã¡ã½ãã</e,object>â¦
Javaã®ç¹å¾´ã®ä¸ã¤ã«ãã§ãã¯ä¾å¤ãããã¾ãã IOException ã SQLException ãªããã代表ä¾ã§ãã èªåããã§ãã¯ä¾å¤ã«ééããæã«ã©ã®ããã«å¯¾å¦ãã¦ããããã¾ã¨ãã¦ã¿ã¾ããã throwsãã public String read(File file) throws IOException æãå¤ãè¡â¦
ã¡ãã£ã¨åã«ãGoogleæ¤ç´¢ã«ã¤ã³ã¹ã¿ã³ããã¬ãã¥ã¼ã¨ããæ©è½ã追å ããã¾ããã ã¨ããã§ããã®ã¹ã¯ãªã¼ã³ã·ã§ãããã©ãããç°å¢ã§åã£ããã®ãªãã§ããããã 調ã¹ã¦ã¿ã¾ããã UserAgent Mozilla/5.0 (en-us) AppleWebKit/525.13 (KHTML, like Gecko) Vâ¦
Javaã§ããã¾ã«ãªã¹ãã¨é åãå¤æããããã³ãã¼ãããããã¨ããããã¾ãã ã§ãæå¤ã¨ãããã¨ãããã³ã«å¿ãã¦ãã¾ãã®ã§ããã£ã¨ã¾ã¨ãã¦ã¿ã¾ããã ï¼è§£èª¬ãåãããããããããã«ãã¸ã§ããªã¯ã¹ã使ç¨ãã¦ãã¾ããï¼ ãªã¹ã ãã é åï¼å¤æï¼ publiâ¦
Subversionã®ã³ãããã³ã¡ã³ãã¯ã人ã«ãã£ã¦å¤ã æ¸ãæ¹ãéãã¾ãã ãã ãå¾ã§ã³ãããã®å 容ã確èªããæã« ä½ãæ¸ããã¦ããªãã£ã æ¸ãã¦ãã£ã¦ãä¸è¡ã ãã ã£ã ã¨ãªã£ã¦ãã¦ã詳細ãåããããæ¬äººã«èãããããã¥ã¡ã³ããæ¢ãã¦ç¢ºèªããç¾½ç®ã«ãªã£â¦
Java7 ã«ã¯ Objects ã¯ã©ã¹ã追å ãããäºå®ã«ãªã£ã¦ãã¾ã*1ã Arrays ã Collections ã¿ãããªãã¦ã¼ããªãã£ã¯ã©ã¹ã§ããã ãã£ã¨èª¿ã¹ã¦ã¿ã¾ãã (ã¨ãã£ã¦ãAPIãå¼ç¨ï¼ç¿»è¨³*2ããã ãã§ããã»ã»ã»)ãhttp://download.java.net/jdk7/docs/api/java/utilâ¦
Javaã§ã¯ãããããã£ã®è¨å®ã«ãã Properties ã¯ã©ã¹ã使ãã¾ãã ãã®ã¯ã©ã¹ã¯ãã³ã³ã¹ãã©ã¯ã¿ã§å¥ã®ããããã£ãããã©ã«ãå¤ã¨ãã¦æå®ãããã¨ãã§ãã¾ãã public Properties(Properties defaults) æå®ãããããã©ã«ãå¤ãæã¤ç©ºã®ããããã£ãªã¹ãâ¦
Hudsonåå¼·ä¼ã§ããããããç´¹ä»ãã¦ãããHudsonãç¨ãã¦é©å½ã«ï¼ãã¹ãããæ¹æ³ããå®è·µãã¦ã¿ã¾ãããHudson study-zenView more presentations from Wataru Yukawa. èªåã®ããã¸ã§ã¯ãã§ã¯ããã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ç¨ã®ã¯ã©ã¹ã«SQLã¨ãã®å®è¡ã¡ã½ãããæ¸â¦
æè¿ãJava API(JavaDoc)ãéããã¨ããã¨é ãã»ã»ã»ã¨ãããã¿ã¤ã ã¢ã¦ãã§å¤±æããã»ã»ã»ãã°ã°ã£ã¦ã¿ããã java.sun.comãéããªã DNSãããããæ°ããã http://twitter.com/joniburn/status/4822838108233728 DNSãããããï¼ ã¨ãããããnslookup â¦
Javaã® for-each æ (æ¡å¼µforæ) å 㧠remove ãããæ¹æ³ã¯ããã¾ããã Sunã®è§£èª¬ã§ããã®ç¹ã¯æè¨ããã¦ãã¾ãã for-each ã«ã¼ãã¯å¥½ããªã¨ãã«ä½¿ãã¾ãã使ç¨ããã°ã³ã¼ãããããããããªãã¾ãããã©ãã§ã§ã使ç¨ã§ããããã§ã¯ããã¾ããããã¨ãã°ãâ¦
ãµã¨æ°ä»ãããã§ãããGoogleæ¤ç´¢ã®ãµããªã¼ã¯æ¥µåæ¥ä»ãå«ãããã«ãªã£ã¦ãããã§ããã»ã»ã»ã æ¤ç´¢èªå¥ã«é¢ä¿ãªãããµããªã¼ã«æ¥ä»ãå«ãã§ãã¾ãã æ¹ãã¦èããã¨ãçµæ§åãããã£ã¦ããæ°ããã¾ããããã¤ãããªãã§ããããã ãã¾ãã«ãããããªããâ¦
ï¼±.ãããããããªãã§ã¡ã¼ã«ã¢ãã¬ã¹ã®ä»æ§ã¯ãããªã«è¤éï¼ã A.ãã¡ã¼ã«ã¢ãã¬ã¹ã®ä»æ§ãã§ã¯ãªããã¡ã¼ã«ã®ãããä»æ§ãã®ä¸é¨*1ã ãã ï¼ã¡ã¼ã«ã¢ãã¬ã¹ã¨ãã¦èããã¨ãï¼ãã§ããããããã¨ãã¦ã¯æ±ç¨çã«æ å ±ãå«ãããããããªä»æ§ã«ãªã£ã¦ãã¾ãâ¦
Strutsã®Emailããªãã¼ã¿ï¼æ£ç¢ºã«ã¯ãApache Coomons Validatorï¼ã使ã£ã¦ããããäºæ³å¤ã®æåã«ãããã³ã£ãããã¾ããã åå¾ã«ç©ºç½ãå ¥ã£ã¦ããã [email protected] ããã¯ãæåã«ç©ºç½ãå ¥ã£ã¦ãã¾ãããæå¹ã¨å¤å®ããã¾ãã ã³ã¡ã³ããå ¥ã£ã¦ããã (â¦
Hudsonåå¼·ä¼ã«è¡ã£ã¦ãã¾ããã http://wiki.hudson-ci.org/pages/viewpage.action?pageId=46336352 ãä»äºã§Hudson使ããããã©ãä½ããæãã¤ããããããã ãããã¨æã£ã¦ããç¢å ã ã£ãã®ã§ã¨ã¦ãå©ããã¾ããã å 容ã¯æ¬æ ¼çãªä½¿ãæ¹ãããé©å½ãªä½¿ãâ¦
Java5 ãã Closeable ãå®è£ ããã¦ãã¾ããã A Closeable is a source or destination of data that can be closed. The close method is invoked to release resources that the object is holding (such as open files). Closeableã¯ãéãããã¨ãã¨ã®â¦
Firefox & GoogleChrome ç¨ã® greasemonkeyãAdd Tab Index for Googleãããã¼ã¸ã§ã³ã¢ãããã¾ããã Add Tab Index for Googleã¨ã¯ï¼Googleã®æ¤ç´¢çµæãã¼ã¸ã3åããã使ããããããããã®greasemonkeyã§ãã [1]æ¤ç´¢çµæã®æåã«ãã©ã¼ã«ã¹ãå½ãã (Eâ¦
ã客æ§ãåºå±ããã¦ããã¨ãããã¨ã§ãIT PRO EXPOã«è¡ã£ã¦ãã¾ããã ææ³ãªãã§ããâ¦ããããiPadã ããã ããããiPadã®å±ç¤ºä¼ã§ããã£ãï¼ãã¨æãã»ã©ãiPadã ããã§ããã ãã¸ãã¹ç¨éã§iPadã¯æ®åããï¼ å±ç¤ºæ°ã ããèããã°ããã¸ãã¹ç¨éã§iPadâ¦
èªåã®ãµã¤ããã°ã°ã£ãããã£ãã®æ´æ°ãããåæ ããã¦ãã æ稿ãã¦ãã30ç§ããçµã£ã¦ãªãã®ã«â¦ã
Javaã®æ¨æºAPIï¼java.*, javax.*ï¼ã«å«ã¾ããã¡ã½ããåãåæãã¦ããã使ããã¦ããåèªãæ¥é è¾ãæãåºãã¦ã¿ã¾ããã ããã§ãããã¡ã½ããåã決ããã®ã«è¿·ããªãï¼ã¯ãâ¦ã æ¥é è¾ é ä½ åèª æå³ ä»£è¡¨ä¾ åºç¾åæ° 1 get åå¾ãã List#get() 21198 2 â¦
æ´ç° è³æ¨¹ãã*1ã®ããã°ãèªãã§ãã¦ããµã¨ç®ã«ã¨ã¾ã£ãã³ã¡ã³ããããã¾ããã çµæã¨ãã¦ãAPIã®å®è£ ã³ã¼ãã§ã¯ä¸æ£ãã©ã¡ã¼ã¿ã®æ¤æ»ããã¦ããªãããããã¯ãæ¤æ»ã¯ãã¦ãããä¾å¤ãã¹ãã¼ãããã¨ãªããåç´ã«ãªã¿ã¼ã³ãã¦ãããâ» ï¼ä¸ç¥ï¼ â» æ¤æ»ã¯ãâ¦
Firefox & GoogleChrome ç¨ã® greasemonkeyãAdd Tab Index for Googleãããã¼ã¸ã§ã³ã¢ãããã¾ããã Add Tab Index for Googleã¨ã¯ï¼Googleã®æ¤ç´¢çµæãã¼ã¸ã3åããã使ããããããããã®greasemonkeyã§ãã [1]æ¤ç´¢çµæã®æåã«ãã©ã¼ã«ã¹ãå½ãã (Eâ¦
egg (JavaScript Effect Library)ã«ã¢ã¶ã¤ã¯ã¤ã³ã»ã¢ã¶ã¤ã¯ã¢ã¦ãã追å ãã¾ããã egg ã¨ã¯ï¼HTML5 ã® canvas ã使ã£ãç»åã¨ãã§ã¯ãã©ã¤ãã©ã¤ãã©ãªã§ãã ã¾ã æ°ã¯å°ãªãã§ãããçµæ§ããããªã¨ãã§ã¯ãããããã¾ãã Firefox, Google Chrome ããå©ç¨â¦
HTML5 ã® canvas ã使ã£ãç»åã¨ãã§ã¯ãã©ã¤ãã©ãªãeggããå ¬éãã¾ããã egg ã¨ã¯ï¼HTML5 ã® canvas ã使ã£ãç»åã¨ãã§ã¯ãã©ã¤ãã©ã¤ãã©ãªã§ãã ç¾å¨ã¯ç²åã¨ãã§ã¯ãã®ã¿ã§ãããçµæ§ããããªã¨ãã§ã¯ãããããã¾ãã Firefox, Google Chrome ããâ¦
Google Chrome 㧠canvas ãããã£ã¦ããããããªã¨ã©ã¼ãã Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1 Firefoxã ã¨åãã®ã«ãªãã§ã¼ï¼ã£ã¦æã£ãããdrawIndex ã§ç¯å²å¤ãã³ãã¼ãããã¨ãã¦ãããã¨ãåå ã§ããã context.drawImage(img, sx, sy,â¦