Skip to content

Instantly share code, notes, and snippets.

View trescube's full-sized avatar

Stephen Hess trescube

View GitHub Profile
#!/usr/bin/env node
const numberOfGenerations = 20
const initialGenerationOfPots = '#..#.#..##......###...###'.split('')
const rules = [
'...##',
'..#..',
'.#...',
'.#.#.',
'.#.##',
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trescube
trescube / mapping_workshop_dynamic_directions_to_historic_homes.html
Last active August 13, 2018 14:48
Delaware Mapping Workshop - Directions to Historic Homes
<!DOCTYPE html>
<html>
<head>
<title>Delaware Mapping Workshop - Directions to Historic Homes</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<style>
#map {
height: 100%;
}
@trescube
trescube / mapping_workshop_dynamic_historic_districts.html
Last active August 13, 2018 14:48
Delaware Mapping Workshop - National Register Historic Districts
<!DOCTYPE html>
<html>
<head>
<title>Delaware Mapping Workshop - National Register Historic Districts</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<style>
#map {
height: 100%;
}
@trescube
trescube / mapping_workshop_dynamic_bike_routes.html
Last active August 13, 2018 14:48
Delaware Mapping Workshop - Libraries
<!DOCTYPE html>
<html>
<head>
<title>Delaware Mapping Workshop - Statewide Bike Routes</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<style>
#map {
height: 100%;
}
<!DOCTYPE html>
<html>
<head>
<title>Delaware Mapping Workshop - Libraries</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<style>
#map {
height: 100%;
}
<!DOCTYPE html>
<html>
<head>
<title>Delaware Mapping Workshop</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<style>
#map {
height: 100%;
}
<html>
<body>
<table>
<tr>
<td>
<img src="https://maps.googleapis.com/maps/api/staticmap?
key=<YOUR API KEY>
center=39.1172707,-75.4815594&
zoom=8&
size=300x600&