Skip to content

Instantly share code, notes, and snippets.

View bsudekum's full-sized avatar
👋

Bobby Sudekum bsudekum

👋
View GitHub Profile
@bsudekum
bsudekum / index.html
Last active December 31, 2015 18:09
2 years of my life, animated
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>2 Years animated</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<script src='//api.tiles.mapbox.com/mapbox.js/v1.5.2/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.5.2/mapbox.css' rel='stylesheet' />
<script src='year.js'></script>
@bsudekum
bsudekum / index.html
Created December 12, 2013 15:55
Upload to imgur
<!DOCTYPE html >
<html>
<head>
<meta charset='UTF-8'/>
<title>Export to imgur</title>
<script>window.L_PREFER_CANVAS = true;</script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.5.1/mapbox.css' rel='stylesheet' />
<script src='//api.tiles.mapbox.com/mapbox.js/v1.5.1/mapbox.js'></script>
<script src='//code.jquery.com/jquery-1.8.2.min.js'></script>
<script src='leaflet-image.js'></script>
@bsudekum
bsudekum / index.html
Created November 20, 2013 14:50
cat image map popup
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A Simple Map</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<script src='//api.tiles.mapbox.com/mapbox.js/v1.4.2/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.2/mapbox.css' rel='stylesheet' />
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A Simple Map</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<script src='//api.tiles.mapbox.com/mapbox.js/v1.4.2/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.2/mapbox.css' rel='stylesheet' />
@bsudekum
bsudekum / index.html
Created November 18, 2013 17:06
OverZoom
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>OverZoom</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
<style>
body { margin:0; padding:0; }
@bsudekum
bsudekum / gmaps.html
Created November 6, 2013 17:07
Switching from Google Maps to MapBox.js
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'/>
<title>Example Google Map</title>
<meta name='viewport' content='initial-scale=1.0, user-scalable=no'>
<style>
html, body, #map-canvas {
height: 100%;
margin: 0px;
@bsudekum
bsudekum / index.html
Created November 1, 2013 16:48
MapBox.js 0.6.7 is fast
<!DOCTYPE html>
<Html>
<Head>
<Meta charset=utf-8 />
<Title></Title>
<Script src='//api.tiles.mapbox.com/mapbox.js/v0.6.7/mapbox.js'></Script>
<Link href='//api.tiles.mapbox.com/mapbox.js/v0.6.7/mapbox.css' rel='stylesheet' />
<Style>
body { margin:0; padding:0; }
@bsudekum
bsudekum / index.html
Last active December 25, 2015 04:39 — forked from yhahn/index.html
<!DOCTYPE html>
<html>
<head>
<script src='http://api.tiles.mapbox.com/mapbox.js/v0.6.6/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v0.6.6/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
@bsudekum
bsudekum / index.html
Created October 1, 2013 21:23
video embed
<!DOCTYPE html>
<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<script src='http://api.tiles.mapbox.com/mapbox.js/v1.2.0/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.2.0/mapbox.css' rel='stylesheet' />
<!--[if lte IE 8]>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.2.0/mapbox.ie.css' rel='stylesheet' >
<![endif]-->
<style>
@bsudekum
bsudekum / lidar.txt
Created September 30, 2013 14:34
Lidar sample
358629.881 5133650.113 1195.562 47104 52736 36352
358635.568 5133650.113 1195.057 47104 55040 37888
358641.255 5133650.113 1194.973 44800 53760 36864
358646.941 5133650.113 1194.889 44544 53504 37120
358652.628 5133650.113 1194.430 45056 53248 37120
358658.315 5133650.113 1195.022 44800 52992 36864
358664.002 5133650.113 1195.012 44800 52992 36864
358669.688 5133650.113 1195.002 45056 53248 37120
358675.375 5133650.113 1194.992 44288 53248 36864
358681.062 5133650.113 1194.982 44032 52992 36608