Ȥ Blog

Ruby,C#

2009ǯ06

Chrome iframe

ŻǤäChrome󥹥ȡǤ褦ˤʤäΤ(ޤǤϤɤäƤProxyǧڤǻߤޤäƤ)®󥹥ȡJavaScriptμ¹®٤βäּǤȡSelenium(ΤʤͤĴ٤ƤβͤϤޤ ȯԸ)¹ԡ 餷ᤤ
FireFox3.5(RC)®
Safariδ1䶯®

Seleniumǥե졼ѤƤƤΤǤChromeϤɤե졼ɽƤڡwindow.onbeforeunload٥Ȥ򥵥ݡȤƤʤ褦ǤäƱ褦ʸݤǺäƤ볰ͤ󤬲ͤޤȾƤʤȤ褦ȻפäɡܤǤǰFF,IEOKʤΤˡ


äȤ狼äޥ른㥯ζ̾ ֥٥Υơޡ

˴ʤäƤޤäޥ른㥯ǤŪ˥Хɥɰʳ̣ʤİȤϤʤäΤǤ23ǯ˼֤FMİƤ餢ʤήƤơ֤ʤ󤫤ɤʤ 졩פȻפä֥ޥ른㥯xxxxxǤפȥʥ󥹡äˤ϶̾򤹤ä˺ƤޤפФƤϤζʤʤƸ Ȼפʤǯ᤮ƤޤޤǶýǤäȶ̾ȽΤ®iTunesǹ ϤۤȤɤʤǤƤäƤѤꤹΥޥ른㥯ʤΡ? ΤͤäΤǤ͡

ԥ󥯤η

ӤΥǥץ쥤ĴҤ㤤ʤȻפŹ˹Ԥä㤪Ȼפäޤʬʧ4ʬĤäƤȤΤȡ㤤12000߶᤯;פʧʤƤϤʤʤȸȤǡФޤ¿ץ˲ƤȤ̵ǹԤȤȤǤǼڤƤص顢եбκ߸ˤϥԥ󥯤Ȼ翧ǤɡƤȤϸ񤯡ϥԥ󥯤ɤäƤȤǰԥ󥯤ηӤȤäƤޤӥˤǥǻʧ빽Ѥ



iPhoneؤƻΤϱ󤤡
FacebookǤϻפ碌֤ʤȽ񤤤ƴԤƤޤä褦ǤѤߤޤ󡢡(^^;)
äƤȤäˤ⤦ʧäƤȻפäƤ

ϿɤϾĵޥӥ13ˤŹ֤ߡפǰǤޤ
ʤϹǤϤˤǤ
ŹϤ
桹ʬϹԤޤ󡢡
Ǥ⿧ŻäʤɤǤƼϤޤ
Ǥ߲᤮ƤǤƬˤ


JavaScript

ɤȤޤ3ͤ餤ΤǤ
parseInt("07") // => 7? ̤

parseInt("08") // => 0? ʤǡ
parseInt("09") // => 0? ʤǡ
ʸͤѴݤparseIntȤäꤹȡ褯դ0ᤵ줿ʸ08,09Ԥ89Ѵ줺0ˤʤäƤޤäƺ롢ȤΤ褯褦Ǥ
Ƭ0ĤƤ8ʿɽȲᤵƤޤΤǡ7μϷ夬ä10ˤʤäƤޤᡢ8,9ȤΤʤʤΤǤ

ǡɤФΤȤȡĤˡϤޤִñʤΤ 1dz ˡǤ
var s = "09";
var i = s / 1;
alert(i); // 9 ɽϤ
alert(typeof i);? //Number ɽϤ
Ϥ褯ȤǤΤʤ뤫JavaScriptλͤʤΤǤɤdzǧƤ

Ȥ̤evalȤȤ⤢ޤeval ξоʸ󤬿ɽǤʤä㳰ꤲƤޤޤ
var i = eval("08");? //OK
var i = eval("hoge"); //顼ȯ
1ˡʤ
var i = "hoge" / 1;? // => NaN
ȤʤΤнλͤޤ
0809бǤƤ010Ϥ8ˤʤäƤޤΤǻȤޤ󡢡

ȤɽȤäƬ0äƤparseIntˡ
ݤǤ

ʤߤˤȤϵդ˿ͤʸѴݤˤ褯ȤΤʸϢ뤹ˡǤ
var s = "" + 9;? // s = "9"
alert(typeof s);? //StringɽϤ

ߤJavaScript饤֥ʤɤΥ򸫤ƤߤȤ褯񤤤Ƥޤ͡
ʤΤǷ褷ƥХǤϤޤΤǡդ






jQuery







ŻǤJavaScriptǤUI̤٤jQueryƳΤǤɤjQuery˾ܤȻפƤ褦Ǥ
ʬȤΤϼ¤ϽƤǡޤǤWebǥμǥʤȤäƤơޤʤʤɤ˼뤿ˤäĴ٤ꤹ뤯餤Ǥ
jQueryϤβǤ⼫ˤMicrosoftɸǺѤ뤯餤Τե졼ĹƤޤ
2ǯʾǤ礦jQueryʤΤ򶵤Ƥ줿˿ͭ̾ȤμǥʤˤϴդƤޤΤȤ˰ˤäƤʤФޤjQuery̾ΤäƤ뤱ɡפƤʴäǤ礦
äѻjQueryǤ礦äȻ⹥ˤʤޤ


ɥȤڤ AjaxȤϤƱȤϸ¤ޤ

ŻǤäǤʤˤ餢ڡȴݤɬԲĻ׵ĤʥݥåץåץɥɽƼưŪ˾ä롢Ȥޤ
ˤϤʤäƤϤΤǤޤ궽̣ʤäΤ֤Ƥޤ

ȤΤǼˤϥ֥饦ΥݥåץåפĤ褦ꤷƤȸäƤޤäƤȤΤȡ

ޤޤʬμܤˤ뵡񤬤äΤǡȤˤäΤǥįƤ鸫ĤƤޤäΤǤ̤˥եġXmlHttpRequestꤲФ󡢤ȤƤΤΤǤ

ꤿȤȤƤϡΥڡȴݤ˥СˤȤ򤵤ȤΤΤǡwindow.beforeunload٥Ȥեåơwindow.openURL˥С¦ˤΥꤷƼ¹ԤƤޤ

ʤPrototypeɸǻȤĶǤʤȤ򤷤ƤΤԻ׵ĤˤʤäƤޤ֥ɥФʤ褦ˤޤ礦פȸäƤߤȡ֤äƤǤʤ󤸤ʤǤפȤ

ɤ⥽򸫤ƤߤȡAjaxǤȤפȥȤǻĤäƤޤǡǼƱǼ¹ԤƤ뤫餦ޤˤ虜虜̥ɥƤΤ

PrototypeAjaxץˤϡasynchronousȤץ󤬤ꡢ false ꤹƱ(褦Ʊ)ưΤXmlHttpRequestνޤ餺ˡȽäƤ饤٥Ȥȴ褦ˤǤޤ
ǥեȤtrueƱʤǤɡAjaxäƤ餤Ǥ顢)
ĹäƤΤ

Ȥ櫓ǡʲΤ褦˽񤱤СƱưƤޤ

new Ajax.Request(
? "http://ꥯURL",
? {
??? asynchronous: false
? });
alert("ȥꥯȤƤ餳Υåɽޤ");

ñäǤ
ʤߤjQueryʤ顢
$.ajax({
? async: false,
? url: "http://ꥯURL"
});

ɥȤϸФȽ񤤤Ƥ뤳ȤǤȸ褦ˤޤ礦
Ʊϼ¤Ϸ빽ݤ¦̤¿ΤǡäͳʤƱץfalseˤȽ񤭤䤹ΤǤ
ޥåɤΥץߥ󥰤빽ݤʤ褦ˡ?
jQueryAjaxץΥɥ
PrototypeAjaxץΥɥ

Ӥ㤤˹ԤäƤޤ

ëǤϤ餯Ĺι (߼ʸ)

ͧͤ˴ƼڤɤǤߤޤ Τ˼ä򤫤äǤޤǤ桼ȤääƤʰ̣ǡбļԤäƿѤʤǤ͡
ȥëǤϤ餯Ĺι (߼ʸ)
//Artistƣ
, 560 ߼
ɾ

2009-06-21

ڡBOOKץǡ١
ɽҤꤿ⹻ΤȤȤ̴ϡСȤΩˤ¸ĹˤʤäԤäƤΤϡ¤äITХ֥δ⳰η㤷ͤ夲ġȤ˾Τ٤Ƥ硹˹򤷤Υե̴ɤɬɤν


Ƕʤ󤫤ФФФƤߤʿƲ߼δ֥󥸥ݤˤФƤɡ
ȿ٤ƤȱưΤ֤Τ褦ʵޤ

ȥ
//ArtistƲ ߼
, 1,575 ݥץ
ɾ

2009-06-22

ڡBOOKץǡ١
󥰡Ĥθ䤦׷դȶ򸫤ơʤϻפפƤʤʤäΤϡ??׳ǽ򿶤֤ꡢפϻפ֤Ƚм㤱СäơġؤϡʤФϷפ˹ȤĻҤΤȤʤߤˡĤɤƤⰦᤷäʤȡä٤βȤסڤʤʤäܥܥȸߤʤԤͤ嫤ϴƤ椯ե£롢밥ڤؤʪ졣


TextMate2

http://blog.macromates.com/2009/working-on-it/? Υ쥹ݥ󥹤įƤȡԤεפ֤Υ(ĹܤΥ)˶ʳƤ褦Ǥ͡С󥢥åפ̵ͽäΤˡͭʤסͭˤ٤ס֤⤦ԤƤޤ󡣶ʧޤפʤɡˤϡ֥ץ꼫Τ˴եܥĤפȤΤ⤢뤯餤Ǥ
ϡֲƥˤʤ롢䡢ƥˤʤ餻Ƥ졪פߤΤȤ桼ФǤ(^^;)

ºݤ˥쥹ˤ⤢ޤåץǡȤȸäƤʤ2ǯФäƤƤ⳧ͥƥ֤ȿۤȤɤʤΤϡκԤTextMate餷Ż򤷤¾ʤޤ󡣻ƱǤºݻƱTextMateޥåͳȤ쥹Ƥޤ͡ޤWindowsǥeTextEditorȤΤ⤢ǤäܲȤˤϤʤޤ

ʤ櫓dzΥ쥹ɤǤܸƥˤƤפȤäƤߤʤޤƤܸ첽μƤ졢ʡ

פ֤˿˺档

ɵ
ǤeTextEditorܲȤˤϤʤʤȽ񤭤ޤäƤޤ˽פǡܸեȤȰ뤳ȡ(饤ϤǤʤΤƱǤ)Ƥ2Хʸ桼Textmate2ԤӤƤ֤ͳä¿ʬʤǤ礦ɡȾɽˤޤˤⴷƤޤäΤ


ץե

Ȥ

C#ɻŻRubyФʳȯԡ
ǶDockerȤؿȤAngularJS˥ϥޤäƤ롣
¢ȤĮȤȤ˽ס

QR
QR
  • 饤֥ɥ֥