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
textToBeStriked.replace(/[a-zA-Z0-9À-ÿ]/g, "$&\u0336") |
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
"♥".charCodeAt(0).toString(16) |
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
/** | |
* justify in xhtml | |
*/ | |
body{background: #f06; background: linear-gradient(45deg, #f06, yellow); min-height: 100%;} | |
p{width:85%; margin:50px auto; padding:.5em; text-align:justify; background:white; font-size:1%;} | |
p>*{font-size:10000;} | |
p:after{content:""; display:inline-block; width:100%; | |
font:0/0 a; margin-top:-100%; line-height:0; height:0; padding:0;} | |
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
<koken:categories> | |
<koken:loop> | |
<koken:if data="category.id" equals="1"> | |
Also in <strong>{{ category.title }}</strong> | |
<ul> | |
<koken:load source="essays" filter:category="1"> | |
<koken:loop> | |
<li> | |
<koken:link> | |
{{ essay.title }} |
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
copy(JSON.stringify(data, null, 2)) |
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
console.log('Captain\'s Log 1', new Date()); | |
console.info('Ammo supplies moderate'); | |
console.debug('Shield\'s are up'); | |
console.warn('Unidentified craft appearing'); | |
console.error('Fire in the cargo bay');Run | |
console.assert(false, 'Not true'); // say 'Not True' only if 1st param === false | |
console.group('My group'); | |
// … |
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
<meta name="format-detection" content="telephone=no"> |
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
selector, | |
selector:hover, | |
selector:active, | |
selector:focus{ | |
-webkit-tap-highlight-color: rgba(0,0,0,0); | |
} |
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
(document.documentElement || document.body.parentNode || document.body).scrollTop; |
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
Object.getPrototypeOf(console).log.call(console, val1, val2, …) |
OlderNewer