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
if(window.fbAsyncInit && !window.fbAsyncInit.hasRun){ | |
window.fbAsyncInit.hasRun = true; | |
fbAsyncInit(); | |
} |
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
<script> | |
window.FB = window.FB || { | |
onReady: function() { | |
// This is called when the code has loaded. | |
} | |
}; | |
// Load the SDK Asynchronously | |
(function(d){ | |
// <snip> |
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
<script type="text/javascript"> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-XXXXX-X']); | |
_gaq.push(['_trackPageview']); | |
(function() { | |
// <snip> Load the JS required to process the _gaq "queue". | |
})(); | |
</script> |
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
<script> | |
var _errs = []; | |
window.onerror = function() { _errs.push(arguments); } | |
// <snip> Load our JS asynchronously, after page load, to process the _errs "queue" | |
</script> |
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 _errs=["##EC##"]; | |
window.onerror=function(){_errs.push(arguments)}; | |
(function(f,n){function r(d,a){d=d.contentWindow||d.contentDocument;d.document&&(d=d.document);d.open();d.write(a);d.close()}function s(d,a){a=(""+a).replace(/</g,"<").replace(/>/g,">").replace(/'/g,""");return"<input type='hidden' name='"+d+"' value='"+a+"' />"}function o(d){l&&clearTimeout(l);l=setTimeout(t,200);d._when=p;q.push(d);try{if("ot"==m){for(var a,h=d.callee,e=/function\s*([\w\-$]+)?\s*\(/i,c=[],b,k;h&&10>c.length;)b=e.test(h.toString())?RegExp.$1||"{anonymous}":"{anonymous}", | |
k=Array.prototype.slice.call(h.arguments||[]),c[c.length]=b+"("+i(k)+")",h=h.caller;a=c.join("\n");d._stack=a}}catch(g){}}function t(){var d=[],a,b,e,c,f=0,k,g=function(a,c){d.push(s(a+f,c))};try{for(;a=q.shift();){b=k=a.m||a[0]||a;e=a.u||a[1];c=a.l||a[2];if(!(k&&k instanceof Error)&&b&&"string"==typeof b&&e&&c&&("Error loading script"===b&&/Firefox/.test(navigator.userAgent)||/originalCreateNotification/.test(b)?f--:(g("type","onerr"),g("mes |
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
Dear Mr Pai, | |
Thank you for writing to airtel. | |
This is with reference to your e-mail dated 04th June 2012, wherein; you | |
highlighted your concern regarding website blocking for your airtel | |
account number 15793484. | |
We regret for the inconvenience caused to you. |
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
// Original | |
var getElementsByTagName = "getElementsByTagName"; | |
var links = document[getElementsByTagName]("link"), | |
anchors = document[getElementsByTagName]("a"), | |
iframeContents = "...<script>var whatever = document." + getElementsByTagName + "('whatever');</script>..."; | |
// becomes |
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
<script> | |
_errs.meta = { | |
email: "email@domain.com", | |
sessionId: 4138727492, | |
lovesCats: true | |
}; | |
</script> |
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 gulp = require("gulp"), | |
browserify = require("browserify"), | |
source = require("vinyl-source-stream"), | |
buffer = require("vinyl-buffer"), | |
uglify = require("gulp-uglify"), | |
through = require("through2"), | |
port = "/dev/cu.wchusbserial410", | |
espruino = require("node-espruino").espruino({comPort: port}); |
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
<!doctype html> | |
<title>Stackgen</title> | |
<script src="stackgen.js"></script> | |
<script> | |
try { | |
stackgen(); | |
} catch(e) { | |
ex = e; | |
throw e; |