2008-10-01ãã1ã¶æéã®è¨äºä¸è¦§
ä»åã¯ï¼é»è»ã§ã®éå¤ã«ã¤ãã¦ã éå¤ã®è¦çããªããï¼ ãã®æéãããã«æå¹å©ç¨ãããï¼ ãèããã
ã¨ã³ã¸ãã¢ã®æéã®ä½¿ãæ¹ã«é¢ããã·ãªã¼ãºè¨äºãSEã®çæ´»ä¸ã§ã©ã®ãããªã©ã¤ãããã¯ã®ååãTipsãé©ç¨ã§ãããï¼å ´é¢ãã¨ã«ã¾ã¨ãããã®ã ä»åã¯ï¼ãºã«ãºã«ã¨é·ããªããã¡ãªå¸°ç¤¾æéã«ã¤ãã¦ãå¸°å® ãæ©ããªãæ©ãï¼é ããªãé ãã§ï¼æ¯åæãåã£ã¦ã¡ãªãâ¦
Windowsã§ï¼ã³ãã³ãã©ã¤ã³ããã¡ã¼ã«éä¿¡ããæ¹æ³ã ããããªã©ã«çµã¿è¾¼ãã°ï¼èªåã ãã®ããªãã¤ã³ããã½ãããä½ããã ï¼ãï¼åã»ã©ã§å®æããã
ãããã®ã¾ã¨ãTOP㸠Windows ã³ãã³ãããã³ããä¸ããï¼ã¢ããªã±ã¼ã·ã§ã³ãèµ·åãããçµäºããããããæ¹æ³ã C:\WINDOWS\system32\taskmgr.exe C:\Program Files\Internet Explorer\iexplore.exe C:\Program Files\ffftp\FFFTP.exe ã®ï¼ã¤ã®ã¢ããªã±ã¼ã·â¦
ããï¼ãæã®æ¥çµå¹³åæ ªä¾¡ã®ä¸è½ã¶ããï¼ï¼©ï¼¤ï¼©ã§è¡¨ç¾ããã ãã¡ããããã¦ã³ãã¼ã http://www.name-of-this-site.org/coding/midi/Kabuka.mid æå¾ã®æ¹ã§åºè¾ºã転ãè½ã¡ã¦ããã®ããããã â»ããã¯ï¼Yahooï¼æ ªä¾¡ã«æ²è¼ããã¦ããæ ªä¾¡ãã¼ã¿ã®æ°å¤ãï¼ã¹ã¯â¦
é£è¼ç®æ¬¡ã¸ 以ä¸ã®JavaScriptã³ã¼ããæå³ããåä½ãããªãã®ã¯ï¼ãªãã§ãããï¼å¶éæéï¼åï¼ ããããäºï¼ ãã¯ãããã¿ã³ã¨ããããããã¿ã³ã®æ¼ä¸ãåºå¥ãã¦å¿çããã ãã¿ã³ã®ãã¼ã¿ã«ã®æ¼ä¸åæ°ã表示ããã <input type="button" value="ã¯ã" onClick="f(1)"> <input type="button" value="ããã" onClick="f(0)"> <script language="JavaScript"> function f( num ) // å¼æ°ã 1 :ãã¯â¦
ä¸è¨ã®è¨äºãã¯ã¦ãã«ã¨ã³ããªã¼ããã¦ããã JavaScript ãªã©ã§è±èªãåãããæ¹æ³ http://builder.japan.zdnet.com/member/u336453/blog/2008/10/22/entry_27017272/ 便ä¹ãã¦ï¼ä¸è¨æ¸ãã¦ãããã¨æãã æ¥æ¬èªã®é³å£°ãWebãµã¤ãä¸ã§é³å£°åæãï¼ããã¹ãâ¦
JavaScriptããã°ã©ãã³ã°ã®TOP㸠JavaScript(JScript)ã®ã³ã¼ãããï¼.exeå½¢å¼ã®ã¢ããªã±ã¼ã·ã§ã³ãç°¡åã«ä½æãããã¨ãã§ããã
JavaScriptããã°ã©ãã³ã°ã®TOP㸠åJavaScriptã§ï¼100以ä¸ã®ç´ æ°ãåæããã³ã¼ããä½æãå®è¡ããªããããã ã ï¼ããªã§ããã¦ã¹ãã¤ã³ã¿ãåããã¦ã¯ããã¾ããã ï¼ãã¤ãã§ãæ°è¦ãã¡ã¤ã«ãä½æãã¦ã¯ããã¾ããã ããï¼ã©ããã³ã¼ãã£ã³ã°ãå§ãã¦ä¸â¦
é£è¼ç®æ¬¡ã¸ 以ä¸ã®JavaScriptã³ã¼ããæå³ããåä½ãããªãã®ã¯ï¼ãªãã§ãããï¼å¶éæéï¼åï¼ <input type="button" value="ãï¼ãã¨è¡¨ç¤º" onClick="f()"> <script language="JavaScript"> function f() { var str = "{x:1}"; // JSONãªãã¸ã§ã¯ãã«ãã var obj = eval(str); // ããããã£ã表示 alert( obj.x ); } </script>
ãµã¯ã©ã¨ãã£ã¿ã®ãã¯ãã¯JScriptã§ã³ã¼ãã£ã³ã°ã§ããã ãã®ããJavaScriptã®ãã¦ãã¦ãçãããã ããã«å¯¾ãç§ä¸¸ã®ãã¯ãã¯ãCè¨èªã«ä¼¼ãææ³ãæã¤ãã¯ãè¨èªãã¨ããï¼å ¥éãå°ãé£ããã ã¨ãã£ã¿ã®ã«ã¹ã¿ãã¤ãºãå§ãããªãï¼ãµã¯ã©ããåãçµãã§ã¿â¦
ãã¨ãã£ã¿ã«ãã³ã§æ¸ãè¾¼ãããããã®ã«ãã¨æãäºãããã ä¾ãã°ï¼ããã°ã©ã ã®ã½ã¼ã¹ã³ã¼ãä¸ã§ï¼ ç¹å®ã®ç®æã ãã«ãå°ããã¤ãã¦ç®ç«ããã¦ãããã ããå¤æ°ã¨å¥ã®å¤æ°ãï¼å¥ã ã®èæ¯è²ã§ãã¤ã©ã¤ããããã ã¨ããæãªã©ã ããå®ç¾ã§ããã°ï¼é©åº¦ã«â¦
â»ãã®ãªã³ã¯éã¯ï¼ãªãã¡ã¯ã¿ãªã³ã°ãããäºå®ãï¼AndroidãRailsãªã©ã®ã«ãã´ãªå¥ã«åå²ããï¼ ã·ãªã¼ãºæ¦èª¬ éçºã®å³æ¦åï¼ åãªããã¦ãã¦ã§ã¯ãªãï¼éçºå·¥ç¨ãæ確ã«ç縮ããäºãç®çã¨ããåç §ç¨ã®è¨äºã ãâã«ï¼ å³å©ç¨å¯ï¼ãããã¯åçºçãªå 容ã¨ãªãâ¦
å®è¡ä¸ã®ããã°ã©ã ã¯ï¼ã¡ã¢ãªä¸ã«åå¨ããã ãã®ã¡ã¢ãªä¸ã®ãã¼ã¿ãèªã¿åãã°ï¼ã¢ããªã±ã¼ã·ã§ã³ãæ±ã£ã¦ããçã®ãã¼ã¿ãï¼ãã£ãããã®ã¾ã¾åå¾ã§ãã¦ãã¾ãã ã¦ã¼ã¶ãã©ã®ãããªå¤ãå ¥åãããï¼ã¢ããªã±ã¼ã·ã§ã³ãã©ãã¨éä¿¡ãã¦ã©ããããã¼ã¿ãåâ¦
ãBadboyãã¨ããï¼Webãã¼ã¸ã®å·¡åãèªååãã¦ãããããªã¼ã½ãããããã åãªãå·¡åã ãã§ãªãï¼å帰ãã¹ãã®ããã«å©ç¨ãããï¼jmeterç¨ã®ãã¹ãã±ã¼ã¹ï¼.jmxï¼ãã¨ã¯ã¹ãã¼ããããã¨ãã§ããã
Webã¢ããªã±ã¼ã·ã§ã³ã®éçºã«å¿ è¦ãªãã¹ããã¼ã«ãï¼ï¼ï¼åéã§ï¼ã¤èº«ã«ä»ããã ä»ããï¼å㧠qUnit ã®ä½¿ãæ¹ã身ã«ä»ãã ï¼JavaScriptã®åä½ãã¹ãï¼ ä»ããï¼å㧠selenium ã®ä½¿ãæ¹ã身ã«ä»ãã (å帰ãã¹ãèªåå) ä»ããï¼å㧠jmeter ã®ä½¿ãæ¹ã身ã«â¦
ãããã®ã¾ã¨ãTOP㸠ããã¹ããã¡ã¤ã«ä¸ã®æååãç½®æããå ´åï¼ æ®éã¯ã¨ãã£ã¿ã®ç½®ææ©è½ã使ãã ããã ãããï¼ãããä½åº¦ãè¡ãªãã«ã¼ãã£ã³ã«ãªã£ã¦ããå ´åï¼æä½æ¥ããã¦ã¯ãããªãã ãã¹ãæ··å ¥ããªãããã«ï¼æ¯åã®ç½®æä½æ¥ããããã«ä»»ããã¹ãâ¦
seleniumã¯ï¼Webã¢ããªã®å帰ãã¹ããã¼ã«ããã©ã¦ã¶ä¸ã§ã®ç»é¢è¡¨ç¤ºã»å ¥åã»éä¿¡ã»å¤ãã§ãã¯ãªã©ï¼æåï¼ç®è¦ã§ãã¡ãã¡ã«ãã¼ããããªãæä½ãï¼å ¨ã¦èªååã§ããã ãã®ãã¼ã«ã®åæ©ãä»ããï¼åã§ç¿å¾ããããã®è¨äºã
ãã使ãã³ãã³ãéã åé¡æ¸ã¿ã
qUnitã¯ï¼JavaScriptã³ã¼ããåä½ãã¹ãããããã®ã©ã¤ãã©ãªãqUnitã¯jQueryããã¸ã§ã¯ãããæ´¾çãã¦èªçãããjQueryã使ããªãæ®éã®ã³ã¼ãã§ãã£ã¦ãï¼å帰ãã¹ãã®å¯¾è±¡ã«ã§ããã ãã®ãã¹ããã¼ã«ã®åæ©ãï¼ä»ããï¼åã§ç¿å¾ããããã®è¨äºã
Apache jmeterã¯ï¼Webã¢ããªã®ããã©ã¼ãã³ã¹è¨æ¸¬ã®ããã®ç¡æãã¼ã«ã ãã®ãã¼ã«ã®åæ©ãï¼ä»ããï¼åã§ç¿å¾ããããã®è¨äºã æ¬å½ã«ï¼åãã£ãããªã®ã§éä¸ãã¦é ãããã (1) DL (2) ãµã¼ã (3) ãã¼ã¸ (4) jmeterèµ·å (5) ãã¹ãè¨ç»ä½æ (6) jmeterå®â¦
é£è¼ç®æ¬¡ã¸ 以ä¸ã®JavaScriptã³ã¼ããæå³ããåä½ãããªãã®ã¯ï¼ãªãã§ãããï¼å¶éæéï¼åï¼ ããããäºï¼ ãã¿ã³æ¼ä¸æã«ï¼ 2 ã¨è¡¨ç¤ºããã ãã®ããã«ï¼ï¼ã«ï¼è¶³ãæä½ãï¼åè¡ãªãã <input type="button" value="ã2ãã¨è¡¨ç¤º" id="my_button"> <div id="my_div"></div> <script language="JavaScript"> // åæå var a = 0; // a ã«ï¼è¶³ãã¦è¡¨ç¤º function f(){ a++;â¦
ãã®ãµã¤ãã«ä¸è¨ã®ãããªãªã³ã¯å ããã£ãã notify-NotifyUser_POST_NG_CATEGORY http://d.hatena.ne.jp/notify-NotifyUser_POST_NG_CATEGORY?aHR0cDovL2QuaGF0ZW5hLm5lLmpwL2xhbmd1YWdlX2FuZF9lbmdpbmVlcmluZy8yMDA4MTAwOC8xMjIzMzg0Mzgy notify-NotifyUsâ¦
JavaScriptããã°ã©ãã³ã°ã®TOP㸠åè¨äºã§ã¯ä¸è¨ã®ãããªäºãè¿°ã¹ãã Firefoxã®ã¤ãã³ããªã¹ãã¼ãè¤æ°ããå ´åï¼è¿½å ãããé ã«å®è¡ãããã IEã®ã¤ãã³ããªã¹ãã¼ãè¤æ°ããå ´åï¼è¿½å é ã«ã¯å®è¡ãããªããï¼è¿½å é ã®éé ã§ããªããå®è¡é åºãäºæ¸¬ããäºâ¦
é£è¼ç®æ¬¡ã¸ 以ä¸ã®JavaScriptã³ã¼ããæå³ããåä½ãããªãã®ã¯ï¼ãªãã§ãããï¼å¶éæéï¼åï¼ ããããäºï¼ ãã¿ã³ã¸åçã«ã¤ãã³ããªã¹ãã追å ããã ãã¿ã³æ¼ä¸æã«ï¼0, 1, 2 ã¨ã¢ã©ã¼ã表示ããã <input type="button" value="ã0, 1, 2ãã¨è¡¨ç¤º" id="my_button"> <script language="JavaScript"> function f0(){ alert( 0 ); } function f1(){ alerâ¦
é£è¼ç®æ¬¡ã¸ 以ä¸ã®JavaScriptã³ã¼ããæå³ããåä½ãããªãã®ã¯ï¼ãªãã§ãããï¼å¶éæéï¼åï¼ <input type="button" value="ã¯ãªãã¯ãã¦è¡¨ç¤º" onClick="f()"> <script language="JavaScript"> function f() { // é å var a = new Array( "H","e","l", "l","o",",", "w","o","r", "l","d","!", ); // Hello,world! ã¨è¡¨ç¤º alert( a.join("") ); // ãªâ¦
JavaScriptããã°ã©ãã³ã°ã®TOP㸠æ°æ¥åã® ããã1.7ãããã¤ãã®JavaScript ããªãªé¢¨ã®ã²ã¼ã ï¼è±åç³»ï¼ http://language-and-engineering.hatenablog.jp/entry/20081006/1223209263 ã¨ããè¨äºã§ã¯ï¼JavaScriptã®ã·ã§ã¼ãã³ã¼ãã£ã³ã°ãå°ã試ã¿ãã ãâ¦
éã³ã³ãã¤ã«, ããã³éã¢ã»ã³ãã«ã®ããã®åãã¼ã«ã¨ï¼å®è¡æé ãåæããã.exeã¨.classã対象ã â»ãªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ã«ããã£ã¦ã¯ï¼ã½ããã¦ã§ã¢ã®ä½¿ç¨å¥ç´ã«ãããããçæãããã¨ã ï¼ï¼ï¼ .exeãã¡ã¤ã« éã¢ã»ã³ãã© éã³ã³ãã¤ã© ï¼ï¼ï¼ Java â¦
é£è¼ç®æ¬¡ã¸ 以ä¸ã®JavaScriptã³ã¼ããæå³ããåä½ãããªãã®ã¯ï¼ãªãã§ãããï¼å¶éæéï¼åï¼ ããããäºï¼ Ajaxã使ã£ã¦ï¼a.htmlã«å¤é¨ãã¼ã¸(b.php)ãèªã¿è¾¼ãã ä¸ã®ä¾ã§ã¯jQueryã使ã£ã¦ãããï¼ã¹ã¤ã«prototype.jsã§ãï¼ç´ ã®XMLHttpRequestã§ããããâ¦
1.7ãããã¤ãã®JavaScriptã§ï¼ä¸å¿ï¼å³ç»åã®ãããªã¹ã¼ãã¼ããªãªé¢¨ã®ã²ã¼ã ãã§ããã (ï¼ï¼ï¼ãããã¤ãã«æ¹è¯ããã¾ããã) ãã¡ããããã¬ã¼ã§ãã¾ã http://www.name-of-this-site.org/coding/game/aamario.html éã³æ¹ï¼ å³ã»å·¦ãã¼ã§ç§»åï¼ä¸ãã¼ã§â¦