Skip to content

Instantly share code, notes, and snippets.

View espinielli's full-sized avatar

Enrico Spinielli espinielli

View GitHub Profile
@espinielli
espinielli / .block
Created September 28, 2017 15:59 — forked from mbostock/.block
Geodesic Rainbow
license: gpl-3.0
@espinielli
espinielli / .block
Created August 4, 2017 18:42 — forked from Fil/.block
Furuti 3 - projection.clipPolygon()
license: mit
@espinielli
espinielli / install_tesseract.sh
Created February 16, 2016 08:37 — forked from fractaledmind/install_tesseract.sh
install tesseract-ocr on a Mac
#!/usr/bin/env bash
# courtesy of : <https://ryanfb.github.io/etc/2014/11/13/command_line_ocr_on_mac_os_x.html>
# Check for Homebrew,
# Install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Ensure `homebrew` is up-to-date and ready
@espinielli
espinielli / README.md
Last active January 17, 2016 13:07 — forked from rveciana/README.md
d3-composite-projections conicConformalEurope
@espinielli
espinielli / Another R script for plotting ship paths.md
Last active December 11, 2015 17:30 — forked from bmschmidt/Plotting Ship Paths
Plotting (historical) ship paths
@espinielli
espinielli / README.md
Last active August 29, 2015 14:19 — forked from jasondavies/README.md
Switch to horizontal bug: fixed
@espinielli
espinielli / README.md
Last active August 29, 2015 14:19 — forked from jasondavies/README.md
bug when switching to horizontal

When switching to horizontal the axis is not correctly positioned: bug.

A demonstration of D3’s vertically-oriented bullet charts, based on this example.

@espinielli
espinielli / README.md
Last active August 29, 2015 14:16 — forked from mbostock/.block
Polygons merge with a hole.
# OSX for Hackers (Mavericks/Yosemite)
#
# Source: https://gist.github.com/brandonb927/3195465
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Ask for the administrator password upfront

The NASA Blue Marble is reprojected using d3.geo.kavrayskiy7’s invert function.