I hereby claim:
- I am 0x4a on github.
- I am jackel (https://keybase.io/jackel) on keybase.
- I have a public key whose fingerprint is 6050 97F4 28FA 4F0D CEFD F01F 8EF9 A9B7 5BFB F6DC
To claim this, I am signing this object:
//http://www.textfixer.com/tutorials/javascript-line-breaks.php | |
someText = someText.replace(/(\r\n|\n|\r)/gm,""); |
function getQueryVariable(variable) | |
{ | |
var query = window.location.search.substring(1); | |
var vars = query.split("&"); | |
for (var i=0;i<vars.length;i++) { | |
var pair = vars[i].split("="); | |
if(pair[0] == variable){return pair[1];} | |
} | |
return(false); | |
} |
console.log(Object.keys(window)); |
//http://htmltweaks.com/Debugging_JavaScript_with_the_Console | |
var log = function(msg, force) { | |
force ? alert(msg) : (window.console && window.console.log ? window.console.log(msg) : null); | |
}; |
//http://www.paulirish.com/2008/how-to-iterate-quickly-when-debugging-css/ | |
javascript:(function(){var%20h,a,f;a=document.getElementsByTagName('link');for(h=0;h<a.length;h++){f=a[h];if(f.rel.toLowerCase().match(/stylesheet/)&&f.href){var%20g=f.href.replace(/(&|%5C?)forceReload=\d+/,'');f.href=g+(g.match(/\?/)?'&':'?')+'forceReload='+(new%20Date().valueOf())}}})() |
//http://appglobe.com/check-if-element-exists-with-jquery/ | |
jQuery.fn.exists = function() { | |
return this.length > 0; | |
}; | |
// usage: | |
/* | |
if ( $('#element').exists() ) { | |
// Do something |
; Turn Caps Lock into Mute | |
CapsLock::Volume_Mute |
I hereby claim:
To claim this, I am signing this object:
for i in {0..255} ; do | |
printf "\x1b[38;5;${i}mcolour${i}\n" | |
done |
=<Quellzelle>/86400+DATUMWERT("1970-01-01") |