Skip to content

Instantly share code, notes, and snippets.

View DanielJWood's full-sized avatar

Daniel Wood DanielJWood

View GitHub Profile
@DanielJWood
DanielJWood / README.md
Last active May 25, 2016 20:00
Spirals
@DanielJWood
DanielJWood / markup.html
Created November 2, 2015 21:22
iframe for map content type, energy.gov
<div id="iframe_container">
<iframe src="http://EXAMPLE.GOV"></iframe>
</div>
@DanielJWood
DanielJWood / README.md
Created September 30, 2015 19:52
AlbersUSA + PR near Hawaii
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<script src="http://d3js.org/d3.v3.min.js"></script>
<style>
rect {
fill:transparent;
@DanielJWood
DanielJWood / narcissist.css
Created June 3, 2014 22:25
don't be a narcissist
/*Injected code to prevent you from seeing number of followers on twitter*/
ul.DashboardProfileCard-statList li:nth-child(3), ul.ProfileNav-list li:nth-child(4) {
display: none;
}
@DanielJWood
DanielJWood / markup.html
Created April 17, 2014 16:03
Markup for Data Tables
<div id="container-data">
<div class="above-table">
<h4>1705</h4>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>
</div>
@DanielJWood
DanielJWood / jesus_ascii_christ.txt
Last active August 29, 2015 13:57
jesus_ascii_christ
|~~~~~~~|
| |
| |
| |
| |
| |
|~.\\\_\~~~~~~~~~~~~~~xx~~~ ~~~~~~~~~~~~~~~~~~~~~/_//;~|
| \ o \_ ,XXXXX), _..-~ o / |
| ~~\ ~-. XXXXX`)))), _.--~~ .-~~~ |
@DanielJWood
DanielJWood / index.html
Created March 17, 2014 19:22
The crazy rayz
<!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
Last active August 29, 2015 13:57
Enquire.js for responsive map zooms
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title></title>
<!-- Include your mapbox library. Feel free to update -->
<script src='http://api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.css' rel='stylesheet' />
<!--[if lte IE 8]>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.ie.css' rel='stylesheet'>
<style type="text/css">
#iframe_container {
width: 100%;
height: 1200px;
}
iframe {
border: none;
width: 100%;
height: 100%;