Skip to content

Instantly share code, notes, and snippets.

View daf's full-sized avatar
✴️
halp

Dave Foster daf

✴️
halp
View GitHub Profile
@daf
daf / index.html
Last active February 4, 2016 16:20
d3 canvas graticule renderer
<!DOCTYPE html>
<meta charset="utf-8">
<style>
path {
fill: none;
stroke-linejoin: round;
}
.sphere,
@daf
daf / index.html
Last active August 29, 2015 14:01
<!DOCTYPE html>
<meta charset="utf-8">
<style>
path {
fill: none;
stroke-linejoin: round;
}
.sphere,
@daf
daf / index.html
Last active August 29, 2015 14:01 — forked from mbostock/.block
<!DOCTYPE html>
<meta charset="utf-8">
<style>
path {
fill: none;
stroke-linejoin: round;
}
.sphere,
@daf
daf / d3reads.md
Created May 19, 2014 15:49
D3 Reads
@daf
daf / keybase.md
Last active August 29, 2015 14:01
keybase.md

Keybase proof

I hereby claim:

  • I am daf on github.
  • I am daf (https://keybase.io/daf) on keybase.
  • I have a public key whose fingerprint is 5B8B 0063 3A07 4378 35C8 0B7F 1E39 A08E DAB8 F316

To claim this, I am signing this object:

@daf
daf / README.md
Created February 28, 2014 14:57 — forked from milroc/README.md

d3.unconf example gist. Fork it here.

{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@daf
daf / 0_reuse_code.js
Created January 20, 2014 16:05
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
{
"__source_mapping_type__": "ISO 19115",
"__name__": "My Import",
"west_bounding_longitude": {
"query": "/gmi:MI_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:extent/gmd:EX_Extent/gmd:geographicElement/gmd:EX_GeographicBoundingBox/gmd:westBoundLongitude/gco:Decimal"
},
"service_provider_name": {
"query": "/gmi:MI_Metadata/gmd:contact/gmd:CI_ResponsibleParty/gmd:role/gmd:CI_RoleCode[@codeListValue='pointOfContact']/../../gmd:individualName/gco:CharacterString",
"desc": "This is the person who provides the service"
}
@daf
daf / nex.log
Created August 12, 2013 21:16
nexuiz
====== Log started (Fri Aug 02 10:57:27 2013) ======
^7Server using port 26000
^7Server listening on address 0.0.0.0:26000
^7Server listening on address [0:0:0:0:0:0:0:0]:26000
^7Loading csprogs.dat
^7server detected csqc progs file "csprogs.dat" with size 408476 and crc 61283
^7Compressing csprogs.dat
^7Deflated: 71.6524%
^7Loading csprogs.dat
^7server detected csqc progs file "csprogs.dat" with size 408476 and crc 61283