demo: https://bl.ocks.org/schuchard/ba5132c9201b94557c9efd2855af0863
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
{"contents":{"launch":{"version":"0.2.0","configurations":[{"type":"chrome","request":"launch","name":"Launch Chrome against localhost","url":"http://localhost:4200","webRoot":"${workspaceFolder}"}]}},"overrides":[],"keys":["launch.version","launch.configurations"]} |
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() { |
OlderNewer