This file contains hidden or 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
// Firefox | |
(function function() (function function() alert(1))())() |
This file contains hidden or 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
/* | |
fix: error C2016: C では、構造体または共用体に少なくとも 1 つのメンバが必要です。 | |
struct function { | |
}; | |
*/ | |
typedef void functon; | |
function foo() { | |
} |
This file contains hidden or 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
// Running JSDeferred on WSH | |
var _util = { | |
cat : function(f){ | |
if(f.match(/^(https?|file):/)) { | |
var xhr = new ActiveXObject("Microsoft.XMLHTTP"); | |
xhr.open("GET", f, false); | |
xhr.send(); | |
return xhr.responseText; | |
} | |
return (new ActiveXObject("Scripting.FileSystemObject")).OpenTextFile(f,1,false).ReadAll(); |