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
.parallax-inner .fusion-column-wrapper { | |
background-color: rgba(255,255,255,0.1); | |
text-shadow: 1px 1px 1px #666; | |
} |
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
{ | |
"etcd": { | |
"enabled": true | |
}, | |
"nginx": { | |
"enabled": true | |
}, | |
"mongodb": { | |
"enabled": true | |
}, |
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
<link type='text/css' rel='stylesheet' href='https://npmcdn.com/[email protected]/bundles/ionic.css'> | |
<script src='./show-frame-section.js'></script> | |
<iframe name='terms-frame' onload="showFrameSection( 'section' )" src='./terms.html' height='100%' width='100%' frameborder='0'></iframe> |
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
{ | |
"status": 0, | |
"body": { | |
"updatetime": 1249409679, | |
"timezone": "Europe/Paris", | |
"measuregrps": [ | |
{ | |
"grpid": 2909, | |
"attrib": 0, | |
"date": 1222930968, |
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
System.config({ | |
//use typescript for compilation | |
transpiler: 'typescript', | |
//typescript compiler options | |
typescriptOptions: { | |
emitDecoratorMetadata: true | |
}, | |
//map tells the System loader where to look for things | |
map: { | |
app: './src' |
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
let num = 29.9; | |
console.log( Math.trunc( num ) ); |
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
let wave = '\u{1f30a}'; | |
console.log( wave.repeat(10) ); | |
// 🌊🌊🌊🌊🌊🌊🌊🌊🌊🌊 |
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
let title = 'Santa Claus'; | |
console.log( title.startsWith( 'Santa' ) ); | |
// true | |
console.log( title.endsWith( 'Claus' ) ); | |
// true | |
console.log( title.includes('clau') ); | |
// false |
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
let notNum = NaN; | |
console.log( notNum === notNum ); | |
// false | |
console.log( Object.is(notNum, notNum) ) | |
// true | |
let amt = 0, total = -0; | |
console.log( amt === total ) |
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
let a = {a:1}, b = {b:2}; | |
let target = {}; | |
// skips non-enumerable properties | |
Object.defineProperty(b, 'c', { | |
value: 3, | |
enumerable: false | |
}); |