Skip to content

Instantly share code, notes, and snippets.

View DanielJWood's full-sized avatar

Daniel Wood DanielJWood

View GitHub Profile
<!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 / 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();
});
<style type="text/css">
#iframe_container {
width: 100%;
height: 1200px;
}
iframe {
border: none;
width: 100%;
height: 100%;
@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'>
@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 / jesus_ascii_christ.txt
Last active August 29, 2015 13:57
jesus_ascii_christ
|~~~~~~~|
| |
| |
| |
| |
| |
|~.\\\_\~~~~~~~~~~~~~~xx~~~ ~~~~~~~~~~~~~~~~~~~~~/_//;~|
| \ o \_ ,XXXXX), _..-~ o / |
| ~~\ ~-. XXXXX`)))), _.--~~ .-~~~ |
@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 / 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;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<script src="http://d3js.org/d3.v3.min.js"></script>
<style>
rect {
fill:transparent;
@DanielJWood
DanielJWood / gist:1705208
Created January 30, 2012 16:14
attaching db in sql
Attach Database '/Users/danielwood/Dropbox/geodata-prep/sqlite-databases-new/ACS_06_VAP.sqlite' AS ACS_06_VAP;
SELECT * FROM ASN
join ACS_06_VAP.COUNTY on ASN.geoid = COUNTY.geoid;