Skip to content

Instantly share code, notes, and snippets.

View espinielli's full-sized avatar

Enrico Spinielli espinielli

View GitHub Profile
@espinielli
espinielli / README.md
Last active December 12, 2015 01:28 — forked from mbostock/.block
Solar Terminator on Butterfly Map Projection

Forked from Mike Bostock's Solar Terminator gist. Changed map projection to Waterman's Butterfly.

It would be nice to:

  • fade transition from day to night
  • use satellite image as background (one for day area, the other with lights for the night area)
  • plot the position of the Sun [done] and the Moon, like here or here
  • use astronomical symbols for Sun [done] and Moon (there are SVG versions...)
@espinielli
espinielli / .gitignore
Last active December 16, 2015 16:46
Rotating Cahill-Keyes projection
mbostock
@espinielli
espinielli / README.md
Last active December 17, 2015 17:00
Cellular automata

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

@espinielli
espinielli / README.md
Last active December 20, 2015 01:09
Filling bathymetric contours
@espinielli
espinielli / gist:6266752
Created August 19, 2013 08:12
Snippet: bash with docco
#!/bin/sh
# **scForUser** provides a list of SC IDs for user ACRONYM created within time interval provided.
# Usage and Prerequisites
# -----------------------
# This tells bash that it should exit the script if any statement
# returns a non-true return value.
set -e
@espinielli
espinielli / MegamapMaker-prep9.pl
Created November 29, 2013 11:21
Mary Jo's update on MegamapMaker. Read the comment for status and details.
#! /usr/bin/perl -w
#
# 2012-03-15 This is program "MegamapMaker-prep9" by Mary Jo Graça
#
# Licensed under Creative Commons for non-commercial use, with attribution
# to Mary Jo Graça and Gene Keyes. May be modified or reproduced or
# redistributed. For commercial applications, contact gene.keyes at gmail.
#
# ADDITIONAL NOTES BY GENE KEYES, 2013-11-28
@espinielli
espinielli / README.md
Last active January 17, 2016 13:07 — forked from rveciana/README.md
d3-composite-projections conicConformalEurope
@espinielli
espinielli / FIRs_NM.json
Last active January 25, 2016 08:54
test FIR merging and topology
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@espinielli
espinielli / README.md
Last active January 25, 2016 08:54
test merging and topology