Skip to content

Instantly share code, notes, and snippets.

View blech's full-sized avatar

Paul Mison blech

View GitHub Profile
@mbostock
mbostock / .block
Last active January 30, 2024 13:24
Calendar View
license: gpl-3.0
height: 2910
border: no
redirect: https://observablehq.com/@d3/d3-calendar-view
@mbostock
mbostock / .block
Last active January 10, 2024 01:25
World Tour
license: gpl-3.0
redirect: https://observablehq.com/@mbostock/world-tour
@mbostock
mbostock / .block
Last active February 16, 2017 17:25
Prose-only Blocks
license: none
@andrewxhill
andrewxhill / index.html
Last active December 10, 2015 15:38
Simple CartoDB + D3 earthquake example
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Easy earthquakes</title>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://libs.cartocdn.com/cartodb.js/v2/cartodb.js"></script>
<style type="text/css">
body{
@mbostock
mbostock / .block
Last active November 14, 2023 01:06
Solar Terminator
license: gpl-3.0
redirect: https://observablehq.com/@mbostock/solar-terminator
@dwtkns
dwtkns / README.md
Last active April 19, 2020 22:30
Faux-3d Shaded Globe

Faux-3d SVG globe using d3.geo.orthographic and a few radial gradients. Labels offset or hidden based on radians from current map center to enhance the effect.

Uncomment svg.append("g").attr("class","countries") for hover-able country outlines.

@mbostock
mbostock / .block
Last active September 30, 2019 23:16
Project to Bounding Box
license: gpl-3.0
@migurski
migurski / Grid.min.js
Created February 9, 2013 02:38
I Miss GetLatLon.com
var require=function(b,j){var d=require.resolve(b,j||"/"),e=require.modules[d];if(!e)throw Error("Failed to resolve module "+b+", tried "+d);return(d=require.cache[d])?d.exports:e()};require.paths=[];require.modules={};require.cache={};require.extensions=[".js",".coffee",".json"];require._core={assert:!0,events:!0,fs:!0,path:!0,vm:!0};
require.resolve=function(){return function(b,j){function d(a){a=g.normalize(a);if(require.modules[a])return a;for(var c=0;c<require.extensions.length;c++){var b=require.extensions[c];if(require.modules[a+b])return a+b}}function e(a){a=a.replace(/\/+$/,"");var c=g.normalize(a+"/package.json");if(require.modules[c]){var c=require.modules[c](),b=c.browserify;if("object"===typeof b&&b.main){if(c=d(g.resolve(a,b.main)))return c}else if("string"===typeof b){if(c=d(g.resolve(a,b)))return c}else if(c.main&&
(c=d(g.resolve(a,c.main))))return c}return d(a+"/index")}j||(j="/");if(require._core[b])return b;var g=require.modules.path(),c=(j=g.resolve("/",j))||"/";if(b.match(/^(?:\.\.?\/|\/)
@migurski
migurski / README.md
Last active December 14, 2015 18:38
GL-Solar, Rainbow Road edition
@schuyler
schuyler / .bash_profile
Last active December 14, 2015 20:49
my .bashrc
source .bashrc
if [ `hostname -s` != $MY_LAPTOP ]; then
# reattach or start a new screen. don't make it a login shell.
screen -xRR -ln
fi