Skip to content

Instantly share code, notes, and snippets.

@ideaOwl
ideaOwl / .block
Last active March 24, 2018 10:15
D3 Workshop: Part 1 - Basic HTML, d3, and Data Binding
license: mit
@ideaOwl
ideaOwl / font_grabber.rb
Last active April 24, 2017 21:45 — forked from ttscoff/font_grabber.rb
Give it a <link> from Google fonts and get back CSS with fonts embedded
#!/usr/bin/ruby
# encoding: utf-8
# Grab google web fonts and embed them as base64 data URIs
# <http://brettterpstra.com/2015/03/14/embedding-google-web-fonts/>
require 'base64'
if ARGV.length > 0
input = ARGV
elsif STDIN.stat.size > 0
input = STDIN.read.strip.split(/\n+/)
@ideaOwl
ideaOwl / .block
Last active July 22, 2016 05:10 — forked from mbostock/.block
Choropleth
license: gpl-3.0
height: 600
border: no