Skip to content

Instantly share code, notes, and snippets.

View zzolo's full-sized avatar

Alan Palazzolo zzolo

View GitHub Profile
@zzolo
zzolo / index.html
Created November 2, 2012 18:32
A basic pack layout with D3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MinnPost</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
<link rel="shortcut icon" href="http://www.minnpost.com//sites/default/themes/siteskin/favicon.ico" type="image/x-icon" />
<meta name="keywords" content="Mark Dayton,Minnesota DFL,Minnesota GOP,Minnesota Legislature,Vikings Stadium,Voter ID Amendment" />
@zzolo
zzolo / README.md
Last active August 29, 2015 14:01
D3 MultiLineString Example

This is an example of using D3's geo paths to render a MultiLineString, but it seems to not render correctly for whatever reason. It is not a fill/stroke problem, either.

Identified problem: It seems that the stroke width gets scaled as well.

@zzolo
zzolo / README.md
Last active August 29, 2015 14:02
GeoJSON Voronoi

An example of using GeoJSON data and a Voronoi map for hovers.

@zzolo
zzolo / README.md
Created August 29, 2014 21:18
An aRanger arrangment.

An arrangement of items made through aRanger.

@zzolo
zzolo / README.md
Last active August 29, 2015 14:05
An aRanger arrangment.

An arrangement of items made through aRanger.

@zzolo
zzolo / README.md
Created September 17, 2014 01:29
An aRanger arrangment.

An arrangement of items made through aRanger.

@zzolo
zzolo / keybase.md
Created September 17, 2014 23:12
Keybase proof

Keybase proof

I hereby claim:

  • I am zzolo on github.
  • I am zzolo (https://keybase.io/zzolo) on keybase.
  • I have a public key whose fingerprint is 256F 9044 B919 F5B9 87D8 ACBB 45A6 A63B 5F99 5539

To claim this, I am signing this object:

2014-11-17 16:29:54 -0600
cmake
..
-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/qgis-26/2.6.0_1
-DCMAKE_BUILD_TYPE=None
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_VERBOSE_MAKEFILE=ON
-Wno-dev
-DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison
@zzolo
zzolo / data.csv
Last active August 29, 2015 14:26
data! from editdata.org!
date title body
2015-03-04 This data is coming from EditData.org <a href="http://editdata.org" target="_blank">EditData.org</a> is a lightweight data editor that we can connect easily to Tik Tok. Actually, the data is coming from Github, since EditData is a simple interface that stores its data on Github. This means you will have to have a Github account to use EditData.
2015-05-05 Make your data source Go to EditData.org and create a new datasource. Then create your columns, this will probably include <code>date</code>, <code>title</code>, and <code>body</code> but might have other <a href="https://github.com/datanews/tik-tok#entries">Tik Tok fields</a>.
2015-05-06 Add some data Add rows in your spreadsheet just as you would with a CSV or a Google Spreadsheet. Feel free to use some HTML if you want.
2015-06-01 Save and export Save to a Gist (it's a Github thing). Then click on the <code>JSON</code> button to get the URL to the data that will be used in Tik Tok.
2015-07-04 Make a Tik Tok Check
@zzolo
zzolo / README.md
Last active November 16, 2015 21:55
A scatter plot