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
https://developers.google.com/maps/documentation/javascript/tutorial |
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
/** | |
* The model returned from a web service | |
*/ | |
class VehicleModel { | |
public make: string; | |
public model: string; |
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
/* latin */ | |
@font-face { | |
font-family: 'Ubuntu'; | |
font-style: normal; | |
font-weight: 300; | |
font-display: swap; | |
src: local('Ubuntu Light'), local('Ubuntu-Light'), url(ubuntu.woff2) format('woff2'); | |
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | |
} |
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
# | |
# Put this file in the root of the directory your JSON files are in and run it | |
# | |
# $ python create-njk.py | |
# | |
# The stub content is at line 27. It supports adding more lines. Percentages must be doubled to escape them. | |
import os | |
import os.path |
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 stage = new createjs.Stage("canvas"); | |
createjs.Ticker.addEventListener("tick", tick); | |
function shapey(x, y, angule) { | |
var shape2 = new createjs.Shape().set({x:x, y:y}); | |
shape2.graphics.s("#fdd").ss(20, "round"); | |
stage.addChild(shape2); | |
var startAngle = -90 * Math.PI/180; | |
var endAngle = 270 * Math.PI/180;; |
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
[ | |
{ | |
"path": "/todo/list", | |
"handler": "ListHandler", | |
"verb": "get" | |
}, | |
{ | |
"path": "/todo/list/:id", | |
"handler": "DetailHandler", | |
"verb": "get" |
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
class OriginalClass { | |
constructor () { | |
console.log(this); | |
} | |
} | |
var originalClass = new OriginalClass(); | |
// outputs: | |
// |
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
// Requires Node V8 | |
// | |
// Put this script in a directory, then do: | |
// | |
// $ npm init | |
// $ npm install cornerstonelabs-semantic-logging --save | |
// $ node index.js --harmony | |
// | |
// |
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
{ | |
"_id":"76fb08340b4bef661da571f49e098b16", | |
"_rev":"1-241e3735369d60bf123471b4287c7329", | |
"folders":[ | |
], | |
"status":"new", | |
"datetime":"2017-01-27T18:46:12.397Z", | |
"user":"76fb08340b4bef661da571f49e0945ec", | |
"message":"Hello. Posted as me", |
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
[ | |
[ | |
[ | |
-1.461718191699953, | |
50.92572792453119 | |
], | |
"2016-04-26T08:37:51.101Z" | |
], | |
[ | |
[ |
NewerOlder