Skip to content

Instantly share code, notes, and snippets.

View DanielJWood's full-sized avatar

Daniel Wood DanielJWood

View GitHub Profile
@DanielJWood
DanielJWood / entrances.js
Created March 6, 2014 13:24
for the future
//indexes/placeholders
var sat_index = 0;
var ufo_index = 0;
var comet_index = 0;
//// ONLOAD ENTRANCES ////
$(document).ready(function (){
ufoEntrance();
// microwaveRock();
});
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html>
<head>
<meta charset="utf-8" />
<title>Falling Price of Utility-Scale PV Projects</title>
<style type="text/css">
#container {
@DanielJWood
DanielJWood / index.html
Created January 17, 2014 19:39
Solar system
<!DOCTYPE html>
<html>
<head class="no-skrollr">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>Nice </title>
<link rel="stylesheet" type="text/css" href="../reset.css">
@DanielJWood
DanielJWood / index.html
Created December 11, 2013 18:27
Movetip example using map.gridLayer.on("mouseover").on("mouseout").
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A MapBox 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.5.0/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.5.0/mapbox.css' rel='stylesheet' />
@DanielJWood
DanielJWood / index.html
Created December 11, 2013 18:08
Movetip with gridControl.setTemplate
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A MapBox 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.5.0/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.5.0/mapbox.css' rel='stylesheet' />
@DanielJWood
DanielJWood / index.html
Last active December 30, 2015 09:09
Example of working links in tilemill rendered items.
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A MapBox 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.0/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.css' rel='stylesheet' />
@DanielJWood
DanielJWood / sankey.json
Created December 2, 2013 15:25
Sankey Data
{"nodes":[
{"name":"Solar"},
{"name":"Nuclear"},
{"name":"Hydro"},
{"name":"Wind"},
{"name":"Geothermal"},
{"name":"Natural Gas"},
{"name":"Coal"},
{"name":"Biomass"},
{"name":"Petroleum"},
@DanielJWood
DanielJWood / index.html
Last active December 30, 2015 00:39
Sankey
<!DOCTYPE html>
<html class="ocks-org">
<meta charset="utf-8">
<title>Sankey Diagram</title>
<base href="http://bost.ocks.org/mike/sankey/" target="_blank">
<style>
@import url(../style.css?aea6f0a);
@DanielJWood
DanielJWood / index.html
Created December 1, 2013 14:54
d3 pt two
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>D3 Test</title>
<script src="http://d3js.org/d3.v3.min.js"></script>
<style type="text/css">
div.bar {
display: inline-block;
@DanielJWood
DanielJWood / index.html
Created November 27, 2013 19:56
First time playing with D3.js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>D3 Test</title>
<script src="http://d3js.org/d3.v3.min.js"></script>
<style type="text/css">
div.bar {
display: inline-block;