Skip to content

Instantly share code, notes, and snippets.

<div id='ts-embed-1314133504720-script'><script src='http://tiles.mapbox.com/mapbox/api/v1/embed.js?api=mm&amp;size%5B%5D=500&amp;size%5B%5D=500&amp;center%5B%5D=-77.5360107421877&amp;center%5B%5D=38.128075212115455&amp;center%5B%5D=8&amp;layers%5B%5D=world-black&amp;layers%5B%5D=dhcole.na-roads&amp;layers%5B%5D=dhcole.world-borders-light&amp;layers%5B%5D=va-quake-aug&amp;options%5B%5D=legend&amp;options%5B%5D=zoompan&amp;options%5B%5D=tooltips&amp;options%5B%5D=zoomwheel&amp;options%5B%5D=zoombox&amp;options%5B%5D=attribution&amp;el=ts-embed-1314133504720'></script></div>
<iframe width="500px" height="400px" frameborder="0" src="http://gop.sites.devseed.com"></iframe>
<div id='ts-embed-1315511876689-script'><script src='http://tiles.mapbox.com/devseed/api/v1/embed.js?api=mm&amp;size%5B%5D=536&amp;size%5B%5D=400&amp;center%5B%5D=-97.09442138671847&amp;center%5B%5D=38.957273041127806&amp;center%5B%5D=4&amp;layers%5B%5D=mapbox.world-blank-light&amp;layers%5B%5D=usa-unemployment-vs-stimulus&amp;options%5B%5D=legend&amp;options%5B%5D=zoompan&amp;options%5B%5D=tooltips&amp;options%5B%5D=zoomwheel&amp;options%5B%5D=bwdetect&amp;options%5B%5D=zoombox&amp;options%5B%5D=attribution&amp;el=ts-embed-1315511876689'></script></div>
#rail {
line-width:2;
line-color: black;
[zoom >=6] {
::line1 { line-color:#999; line-dasharray:4,4; }
::line2 { line-color:#000; line-dasharray:0,4,4,0; }
}
[zoom = 5] {
::line1 { line-color:#999; line-dasharray:4,2; }

When in the Course of human events, it becomes necessary for one people to dissolve the political bands which have connected them with another, and to assume, among the Powers of the earth, the separate and equal station to which the Laws of Nature and of Nature's God entitle them, a decent respect to the opinions of mankind requires that they should declare the causes which impel them to the separation.

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<link href='http://mapbox.com/wax/css/controls.css' rel='stylesheet' type='text/css' />
</head>
<body>
<div id="map"></div>
<!-- scripts-->
@dhcole
dhcole / reload.js
Created April 16, 2012 14:50 — forked from tmcw/reload.js
minimal live-reload server in node
// A super, super minimal LiveReload implementation in node.
// Relies on polling.
//
// Run as
//
// node reload.js ~/your/project/dir
//
// Add to your HTML like
//
// <script src='http://127.0.0.1:1337/'></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
</head>
<body>
<div id="map" style="position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%"></div>
<div style="position: absolute; z-index: 100; background: white;">
<a href="#overlay">add overlay</a>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>foursquare :: Explore Sample</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" id="jquery"></script>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>foursquare :: Explore Sample</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" id="jquery"></script>