Skip to content

Instantly share code, notes, and snippets.

View segheysens's full-sized avatar
🚧
building

Stephen Gheysens segheysens

🚧
building
View GitHub Profile
@segheysens
segheysens / hawaii_lunchbox.geojson
Created March 3, 2021 21:55
GeoJSON representing the Hawaiian Islands without HVNP
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@segheysens
segheysens / hi_mask_hvnp.geojson
Created February 15, 2021 14:15
Hawai'i masking layer that leaves out Hawai'i Volcanoes National Park
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@segheysens
segheysens / storyline.txt
Created April 30, 2020 18:39
storyline.txt
Access Token: pk.eyJ1Ijoic2dtYXBib3giLCJhIjoiY2s5NHViY251MDUweDNkbzVnYmJtbXYydCJ9.8Ra0D8yuCz7g6UMyWaMNpA
Style: mapbox://styles/sgmapbox/ck8etv6jr25781jqhhq8clbzc
Story
--------------
National Mall
The National Mall in Washington DC is an amazing public asset, free for all to enjoy. Here\'s a brief tour of highlights around "The Mall", that you should be sure not to miss should you visit!
location: {
center: { lon: -77.03279, lat: 38.89016 },
@segheysens
segheysens / weathermap.html
Created October 22, 2018 14:38
Mapbox Animated Layer Example - Weather Map
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>Animate a series of images</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
@segheysens
segheysens / weathermap.html
Created October 22, 2018 14:21
Weather Map Animated Layer
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>Animate a series of images</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
# Library for easier file input
import fileinput
# Open searchRequests.txt for appending
outputFile = open('searchRequests.txt', 'r+',encoding='utf-8', errors='ignore')
# Loop through the files, and run process() on each line of each file f
with fileinput.input(files=('April1OutputUTF.txt', 'April2OutputUTF.txt', \
'April3OutputUTF.txt', 'April4OutputUTF.txt', \
'April5OutputUTF.txt', 'April6OutputUTF.txt', \
@segheysens
segheysens / PBJ robot pseudocode
Created July 1, 2015 14:18
Instructions to make a peanut butter and jelly sandwich
Steps to creating a PB&J
1.) Collect the necessary ingredients and tools:
- jar of peanut butter
- jar of fruit jelly
- two slices of bread
- cutting board (larger that the combined surface areas of the slices of bread)
- butter knife
- tablespoon-sized spoon
2.) Place the cutting board on a stable surface, and the slices of bread side-by-side on the cutting board
3.) Open the jar of peanut butter.
<!DOCTYPE html>
<html>
<head>
<title>Stephen's Resume</title>
<meta charset="UTF-8">
</head>
<body>
<header>
<h1>Stephen Gheysens</h1>