I hereby claim:
- I am sethvincent on github.
- I am sethvincent (https://keybase.io/sethvincent) on keybase.
- I have a public key ASC5VCJ_G31zo96YD5OlEYf-2PucD2jGepwCZida8YK9Hgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8' /> | |
<title>Select features around a clicked point</title> | |
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v1.3.1/mapbox-gl.js'></script> | |
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v1.3.1/mapbox-gl.css' rel='stylesheet' /> | |
<style> | |
body { margin:0; padding:0; } |
brew install docker-machine-driver-hyperkit
brew cask install minikube
To use the driver:
var fs = require('fs') | |
var url = require('url') | |
var path = require('path') | |
var request = require('request') | |
var pump = require('pump') | |
var getGranules = require('../tasks/search-cmr/get-granules') | |
function readJSON (filepath) { | |
return JSON.parse(fs.readFileSync(filepath, 'utf8')) |
[ { type: 'Feature', | |
properties: | |
{ geoid: '14000US53033004600', | |
name: 'Census Tract 46, King, WA', | |
dataset: 'census-tracts' }, | |
geometry: { type: 'MultiPolygon', coordinates: [Array] } }, | |
{ type: 'Feature', | |
properties: { district: 6, dataset: 'city-council-districts' }, | |
geometry: { type: 'Polygon', coordinates: [Array] } }, | |
{ type: 'Feature', |
based on this: https://gist.github.com/jonathantneal/774e4b0b3d4d739cbc53
mkdir some/path/ssl
sudo openssl genrsa -out some/path/ssl/localhost.key 2048
sudo openssl req -new -x509 -key some/path/ssl/localhost.key -out some/path/ssl/localhost.crt -days 3650 -subj /CN=localhost
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain some/path/ssl/localhost.crt
use with budo:
ulimit -n 10240 | |
export JOBS=max | |
export CLICOLOR=1 | |
# aliases | |
alias l="ls -al" | |
alias ws="cd ~/workspace" | |
alias g="git add . && git commit -m" | |
alias nr="npm run" |
#!/bin/bash | |
# download this file to your vagrant box: | |
# wget https://gist.githubusercontent.com/sethvincent/1754789/raw/git-config.sh | |
# curl -o- https://gist.githubusercontent.com/sethvincent/1754789/raw/git-config.sh | bash | |
# run this script to set up git: | |
# sh ./git-config.sh |