This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var yql = function(qry, suc, err){ | |
var c = "_" + (+new Date), | |
s = document.createElement("script"), | |
t; | |
var clean = function(){ | |
s.parentNode.removeChild(s); | |
window[c] = null; | |
try{ | |
delete window[c]; | |
}catch(err){} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var s=18,e=71,f=29-32,b=Math.abs(f--)+1,a=[];while(f++){var t=s-((e-s)/b)*f;a.push(((t*10)|0)/10);};console.log(a.reverse().join('\n')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.forEach(function (f) { console.log("\t\t\t'"+f.replace(/\s(\d+)/,function(a,b){return ' '+(b-0+5)})+"',");}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Main.createNotifyIcon(); | |
/* | |
with(require('Keyboard')){ | |
for each(let [n,v] in Iterator(Keyboard.codes)){ | |
println('Alias: '+(n+' ').slice(0,16) | |
+' / Code: 0x'+(('0'+v.toString(16)).slice(-2)) | |
+' / ScanCode: 0x'+(('00'+(new Key(n)).scanCode.toString(16)).slice(-3)) | |
+' / Name: '+(new Key(n)).name); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* jquery-animate-css-rotate-scale | |
* Zachary Johnson | |
* www.zachstronaut.com | |
* https://github.com/zachstronaut/jquery-animate-css-rotate-scale/ | |
* This code is currently available for use in all personal or commercial projects | |
* under both MIT and GPL licenses, just like jQuery. | |
* | |
* modified by @kyo_ago 2011-06-02 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (w, r) { | |
w['r'+r] = w['r'+r] || w['webkitR'+r] || w['mozR'+r] || w['msR'+r] || w['oR'+r] || function(c){ w.setTimeout(c, 1000 / 60); }; | |
})(window, 'equestAnimationFrame'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8365 : if (fx.interval === 13) { | |
8366 : requestAnimationFrame( raf ); | |
8367 : fx.tick(); | |
8368 : } else { | |
8369 : setTimeout(function () { | |
8370 : requestAnimationFrame( raf ); | |
8371 : fx.tick(); | |
8372 : }, fx.interval - 16); | |
8373 : }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
172: itemWrap.stop(true, true).animate(props, time, conf.easing, fn || function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17a18 | |
> escapeXml_regexp : /[&<>"]/g, | |
20c21 | |
< return typeof(s) != 'string' ? s : s.replace(/[&<>"]/g, Shotenjin._escape_func); //" | |
--- | |
> return typeof(s) != 'string' ? s : s.replace(Shotenjin.escapeXml_regexp, Shotenjin._escape_func); //" | |
44c45,47 | |
< | |
--- | |
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// これが書いてある行の下に | |
static function OnBeforeRequest(oSession: Session) | |
{ | |
// 以下の3行を追加(ホスト名は適当に書き換える) | |
if (oSession.HostnameIs("www.example.com") || oSession.HostnameIs("example.com")) { | |
oSession.oRequest["User-Agent"] = "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7"; | |
} |