Skip to content

Instantly share code, notes, and snippets.

View t27's full-sized avatar

Tarang Shah t27

View GitHub Profile
@t27
t27 / index.html
Last active August 24, 2018 05:10 — forked from d3noob/.block
Sankey from csv with d3.js
<!DOCTYPE html>
<meta charset="utf-8">
<title>SANKEY Experiment</title>
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
.ad_box, .ad_box + .hr {
display: none;
}
.article_preview,body #story {
color: rgba(0,0,0,0.8);
font-family: "FreightText";
letter-spacing: 0.01rem;
line-height: 1.5;
}
@t27
t27 / pgessays.py
Last active September 27, 2015 07:02 — forked from olasitarska/pgessays.py
# -*- coding: utf-8 -*-
"""
Builds epub book out of Paul Graham's essays: http://paulgraham.com/articles.html
Author: Ola Sitarska <ola@sitarska.com>
Copyright: Licensed under the GPL-3 (http://www.gnu.org/licenses/gpl-3.0.html)
This script requires python-epub-library: http://code.google.com/p/python-epub-builder/
"""