Skip to content

Instantly share code, notes, and snippets.

View jgravois's full-sized avatar

john gravois jgravois

View GitHub Profile
@jgravois
jgravois / .block
Last active April 26, 2016 01:36
locate, query
license: Apache-2.0
@jgravois
jgravois / .block
Last active April 26, 2016 01:37
locate, query (w/turf)
license: apache-2.0
@jgravois
jgravois / index.html
Last active October 30, 2015 15:55
Parks
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href=
"http://js.arcgis.com/3.14/esri/css/esri.css">
<link rel="stylesheet" type="text/css" href=
"https://rawgit.com/benheb/legend/master/legend.css">
@jgravois
jgravois / webmap.json
Created October 30, 2015 15:54
Parks
{
"item": {
"title": "New Map",
"snippet": "Parks",
"extent": [
[
-119.2374999999679,
-38.27765021858897
],
[
@jgravois
jgravois / keybase.md
Created October 28, 2015 03:48
keybase.md

Keybase proof

I hereby claim:

  • I am jgravois on github.
  • I am jgravois (https://keybase.io/jgravois) on keybase.
  • I have a public key whose fingerprint is 97D1 DF53 8F56 CC93 AC21 9C4E B5FC FA40 FA11 07BF

To claim this, I am signing this object:

@jgravois
jgravois / _webserver.md
Last active June 2, 2025 14:59
a simple guide for getting a local web server set up

Do I have a web server running?


having a web server turned on doesn't necessarily mean you are serving pages on the world wide web. its what allows you to load your own static files (.html, .js etc.) in a browser via http://.

if you're not sure whether or not you have a web server running, no problem! its easy to confirm.

what happens when you visit http://localhost/?

@jgravois
jgravois / water.txt
Created August 1, 2015 17:37
Esri hosted resources related to h20
Public / Open Content
1. USA Rivers and Streams
a. http://www.arcgis.com/home/item.html?id=0baca6c9ffd6499fb8e5fad50174c4e0
2. USA Water Bodies
a. http://www.arcgis.com/home/item.html?id=9dff3cf646704abd9e74265f02abeb09
3. USA Permitted Pollutant Discharge Permits
a. http://www.arcgis.com/home/item.html?id=b0f683b5543d406697e0d82b414b3ddf
4. Vegetative Change Index Library Web Services (Time Enabled)
a. http://imagery.arcgisonline.com/arcgis/rest/services/LandsatGLSChange
@jgravois
jgravois / index.html
Last active February 18, 2016 18:01
raleigh open data talk
<html>
<head>
<meta charset=utf-8 />
<title>Simple FeatureLayer</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<!-- Load Leaflet from CDN-->
<link rel="stylesheet" href="//cdn.jsdelivr.net/leaflet/0.7.3/leaflet.css" />
<script src="//cdn.jsdelivr.net/leaflet/0.7.3/leaflet.js"></script>
@jgravois
jgravois / gravois-travel.md
Last active August 29, 2015 14:21
places i've been

places i've been

Africa:

  • not yet

Antarctica

  • ross sea

Australia

  • melbourne
@jgravois
jgravois / commands.md
Last active March 22, 2016 16:46
get out of jail git commands

use these commands VERY carefully!

$ git checkout filename.txt

blows away whatever changes you've made to a tracked file and replaces the file with what was present in the most recent commit

$ git reset --hard HEAD

forcefully rewinds you to the most recent commit, blowing away all uncommitted changes you've made locally

$ git reset --hard f772f4 (sha)

same as above, but allows you to rewind to a specific named commit (via its SHA)