demo: demo: https://bl.ocks.org/schuchard/1f1c1e7fe3d5e1f1ae05ff24e1c16591
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
const COUNTRIES = [ | |
{ countryCode: 'AD', latLng: { lat: '42.546245', lng: '1.601554' }, country: 'Andorra', latLngString: '42.546245, 1.601554' }, | |
{ countryCode: 'AE', latLng: { lat: '23.424076', lng: '53.847818' }, country: 'United Arab Emirates', latLngString: '23.424076, 53.847818' }, | |
{ countryCode: 'AF', latLng: { lat: '33.93911', lng: '67.709953' }, country: 'Afghanistan', latLngString: '33.93911, 67.709953' }, | |
{ countryCode: 'AG', latLng: { lat: '17.060816', lng: '-61.796428' }, country: 'Antigua and Barbuda', latLngString: '17.060816, 61.796428' }, | |
{ countryCode: 'AI', latLng: { lat: '18.220554', lng: '-63.068615' }, country: 'Anguilla', latLngString: '18.220554, 63.068615' }, | |
{ countryCode: 'AL', latLng: { lat: '41.153332', lng: '20.168331' }, country: 'Albania', latLngString: '41.153332, 20.168331' }, | |
{ countryCode: 'AM', latLng: { lat: '40.069099', lng: '45.038189' }, country: 'Armenia', latLngString: '40.069099, 45.038189' }, | |
{ countryCode: 'AN', latLng: { lat: '12.226079', lng: '-6 |
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
npm i -S @angular/{common,compiler,core,forms,http,platform-browser,platform-browser-dynamic,router,upgrade,language-service} core-js rxjs zone.js reflect-metadata |
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
# pull base image. | |
FROM java:8 | |
# update packages and install maven | |
RUN \ | |
export DEBIAN_FRONTEND=noninteractive && \ | |
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \ | |
apt-get update && \ | |
apt-get -y upgrade && \ | |
apt-get install -y vim wget curl maven |
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
#!/usr/bin/env bash | |
# run `sh run.sh` for options | |
# run `sh run.sh hello` | |
volt() { | |
printf "\xE2\x9A\xA1"; | |
} | |
run_hello() { |
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
{ | |
"Import module": { | |
"prefix": "im", | |
"body": "import { $2 } from '$1';", | |
"description": "Import module from location" | |
}, | |
"Print to console": { | |
"prefix": "con", | |
"body": "console.log('${label} -> ', ${label});", | |
"description": "Log output to console" |
OlderNewer