To asynchronously load Google maps:
config.js
:
System.config({
"paths": {
"maps": "google-maps-url"
}
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title></title> | |
<meta charset="utf-8" /> | |
<meta name="description" content="" /> | |
<meta name="author" content="Alasdair Smith" /> | |
<link rel="stylesheet" href="style.css" /> | |
</head> |
[ | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ | |
"keys": ["ctrl+shift+l"], | |
"command": "insert_snippet", | |
"context": [{ | |
"key": "selector", | |
"operator": "equal", |
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<title>Animated WebGL Scene with Key and Mouse Input.</title> | |
<meta charset="utf-8"> | |
<script src="lib/webgl-debug.js"></script> | |
<script type="text/javascript" src="lib/glMatrix.js"></script> | |
<script src="lib/webgl-utils.js"></script> |
im = imread('building.tif'); | |
filter_g = fspecial('gaussian', [5, 5], 3); | |
filter_la = fspecial('laplacian', 0); | |
img_g = filter2(filter_g, im) / 255; | |
building_edge = edge(img_g, 'zerocross', filter_la); | |
imshow(building_edge) |
start_stats = regionprops(im_start_label, 'Centroid', 'ConvexArea', 'BoundingBox'); % Returns a set of properties (defined by the arguments passed in) | |
end_stats = regionprops(im_end_label, 'Centroid', 'ConvexArea', 'BoundingBox'); | |
[start_max_area, start_max_index] = max([start_stats.ConvexArea]); | |
[end_max_area, end_max_index] = max([end_stats.ConvexArea]); | |
start_bound_box = start_stats(start_max_index).BoundingBox; | |
end_bound_box = end_stats(end_max_index).BoundingBox; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Avatar CSS</title> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> | |
<body> | |
<h1>Avatar CSS</h1> |
### Keybase proof | |
I hereby claim: | |
* I am 40thieves on github. | |
* I am fortythieves (https://keybase.io/fortythieves) on keybase. | |
* I have a public key whose fingerprint is DA4E 99E9 0D34 3E34 0C5C 1BF7 1856 B711 4FC5 633F | |
To claim this, I am signing this object: |
/*** | |
* The examples provided by Facebook are for non-commercial testing and | |
* evaluation purposes only. | |
* | |
* Facebook reserves all rights not expressly granted. | |
* | |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
* FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL | |
* FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
{ | |
"extends": "airbnb", | |
"parser": "babel-eslint", | |
"plugins": [ | |
"babel" | |
], | |
"rules": { | |
// Tabs, just because | |
"indent": [2, "tab"], |