Using the HTML5 history API for push/replace states
HTTP/2 for Front-End developers
Caching SVG sprites in local storage (article) (by this guy)
var obj = { | |
prop: function() {}, | |
foo: 'bar' | |
}; | |
// New properties may be added, existing properties may be changed or removed | |
obj.foo = 'baz'; | |
obj.lumpy = 'woof'; | |
delete obj.prop; |
/* | |
* The ( Number ) has many properties... | |
*/ | |
Number.name | |
// "Number" | |
Number.EPSILON | |
// 2.220446049250313e-16 | |
Number.MAX_SAFE_INTEGER | |
// 9007199254740991 |
/numbers/{ | |
s/.*/99a green bottles hanging on the wall/ | |
bl1 | |
} | |
s/.*/99 green bottles hanging on the wall/ | |
:l1 | |
h | |
s/\(.*\)/c\1/ |
compiling... done! | |
2016-02-12 08:30:58.780 node[4632:79460] -[__NSCFNumber _fastCStringContents:]: unrecognized selector sent to instance 0x67 | |
2016-02-12 08:30:58.783 node[4632:79460] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber _fastCStringContents:]: unrecognized selector sent to instance 0x67' | |
*** First throw call stack: | |
( | |
0 CoreFoundation 0x00007fff9316fae2 __exceptionPreprocess + 178 | |
1 libobjc.A.dylib 0x00007fff984f373c objc_exception_throw + 48 | |
2 CoreFoundation 0x00007fff93172b9d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205 | |
3 CoreFoundation 0x00007fff930ab601 ___forwarding___ + 1009 | |
4 CoreFoundation 0x00007fff930ab188 _CF_forwarding_prep_0 + 120 |
Using the HTML5 history API for push/replace states
HTTP/2 for Front-End developers
Caching SVG sprites in local storage (article) (by this guy)
0.1 + 0.2 | |
// 0.30000000000000004 | |
1 + 2 | |
// 3 | |
0.1 + 0.2 + 0.3 | |
// 0.6000000000000001 | |
0.1 + 0.2 + 0.3 + 0.4 | |
// 1 | |
0.1 + 0.2 + 0.3 + 0.4 + 0.5 | |
// 1.5 |
<template name="HomePageTemplate"> | |
<div class="slider-container"> | |
<div id="carousel"> | |
{{#each sliderImages}} | |
<div> | |
<img src={{src}} alt={{alt}} width="100%" /> |
CDaniels-MacBook-Pro:android-sdk dm$ npm i -g nativescript | |
npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css | |
npm WARN deprecated lodash-node@2.4.1: This package is no longer maintained. See its readme for upgrade details. | |
npm WARN deprecated lodash@1.0.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0 | |
npm WARN excluding symbolic link docs/assets/ir_black.css -> ../../node_modules/highlight.js/src/styles/ir_black.css | |
npm WARN engine xmlbuilder@2.2.1: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"0.12.7","npm":"2.12.1"}) | |
npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css | |
npm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Resources -> Versions/Current/Resources | |
npm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Test Framework -> Versions/Current/Test Framework | |
npm WARN e |
// Closure | |
(function() { | |
/** | |
* Decimal adjustment of a number. | |
* | |
* @param {String} type The type of adjustment. | |
* @param {Number} value The number. | |
* @param {Integer} exp The exponent (the 10 logarithm of the adjustment base). | |
* @returns {Number} The adjusted value. | |
*/ |
typeof(typeof(typeof(typeof(typeof(typeof))))) // undefined |