Skip to content

Instantly share code, notes, and snippets.

View marcneuwirth's full-sized avatar

Marc Neuwirth marcneuwirth

View GitHub Profile
@marcneuwirth
marcneuwirth / gist:1262553
Created October 4, 2011 19:31
CoderDeck Test
<header>
<h1>Gist Test</h1>
<nav><ul>
<li><a href='#'>Link 1</a></li>
<li><a href='#'>Link 2</a></li>
</ul></nav>
</header>
<section id='content'>
<article class='blog-post'>
@marcneuwirth
marcneuwirth / gist:1263412
Created October 5, 2011 01:47
CoderDeck Template
<html>
<title>test</title>
<style>
CODE
</style>
<body>
<h1>I'm a H1 heading</h1>
<h2>I'm a H2 heading</h2>
<p>Pargraph of text &lt;p&gt; here</p>
<div class='stuff'>I'm a div &lt;div&gt; with class "stuff"</div>
@marcneuwirth
marcneuwirth / gist:1263505
Created October 5, 2011 02:46
CoderDeck Style
h1 { color:blue; }
h2 { color:red;}
p { color:pink;}
.stuff { color:purple;}
#my-div { color:teal;}
@marcneuwirth
marcneuwirth / gist:1263509
Created October 5, 2011 02:51
CoderDeck JS Example
<script>
$(function() {
$(".box").animate({
'top':"50%",
'left':"50%" });
});
</script>
<style>
.box {
top:0px; left:0px;
@marcneuwirth
marcneuwirth / index.html
Created February 13, 2012 06:58 — forked from jasondavies/README.md
Zoom/pan map example: integrates d3.geo with d3.behavior with the aim of producing a map that can be panned and zoomed.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<!--
Zoom/pan map example: integrates d3.geo with d3.behavior with the aim of
producing a map that can be panned and zoomed.
Iain Dillingham, http://dillingham.me.uk/
-->
<title>Zoom/pan map example</title>
<script type="text/javascript" src="https://raw.github.com/mbostock/d3/master/d3.min.js"></script>
@marcneuwirth
marcneuwirth / uniform_number.csv
Created March 24, 2012 18:32
MLB uniform numbers/salary
We can't make this file beautiful and searchable because it's too large.
uniform_number,year,playerID,name,team,salary
10,1989,zuvelpa01,Paul Zuvella,Cleveland Indians,145000
27,1985,wynegbu01,Butch Wynegar,New York Yankees,550000
27,1986,wynegbu01,Butch Wynegar,New York Yankees,733333
35,1987,wynegbu01,Butch Wynegar,California Angels,733333
35,1988,wynegbu01,Butch Wynegar,California Angels,733333
26,1986,wojnaed01,Ed Wojna,San Diego Padres,65000
34,1989,wojnaed01,Ed Wojna,Cleveland Indians,77500
5,1985,wohlfji01,Jim Wohlford,Montreal Expos,308333
5,1986,wohlfji01,Jim Wohlford,Montreal Expos,350000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
<svg id="defs">
<defs>
<linearGradient id="gradBlue" x1="0%" y1="0%" x2="100%" y2="0%">