Skip to content

Instantly share code, notes, and snippets.

View zackdever's full-sized avatar

Zack Dever zackdever

View GitHub Profile
@tmcw
tmcw / d3.md
Last active December 6, 2022 14:04
Accompaniment to dcjq

This is a more wordy, narrative accompaniment to my pretty bare presentation about d3 that I gave to the jQuery DC Meetup.

What is d3?

  • Not a chart library (though you can make charts with it)
  • Not a map library (though you can make maps with it)

Which is to say, d3 can be used for building things, but the 'atomic parts' are lower-level than bar graphs or projections or so on. This is a powerful fact. It also means that d3 is a good basis for simple interfaces, like Vega.js, that make its power accessible in other ways.

  • Not a compatibility layer (it doesn't work with bad browsers)
@bradfrost
bradfrost / dabblet.css
Created March 19, 2012 05:24
Center aligned placeholder text
/**
* Center aligned placeholder text
*/
input {
box-sizing: border-box;
width: 100%;
padding: 1em;
border: 0.15em solid #808080;
border-radius: 0.5em;
@zackdever
zackdever / .vimrc
Created September 23, 2011 03:09
.vimrc for ubuntu
""" Vundle """""""""""""""""""""""""""""""""""""""""""""
"
" Brief help
" :BundleList - list configured bundles
" :BundleInstall(!) - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle command are not allowed..
@rdegges
rdegges / dev.py
Created April 29, 2011 08:21
Awesome development settings file.
"""Development settings and globals."""
from common import *
from os.path import join, normpath
########## DEBUG CONFIGURATION
DEBUG = True
TEMPLATE_DEBUG = DEBUG
@rdegges
rdegges / common.py
Created April 29, 2011 08:19
Awesome settings file.
"""Common settings and globals."""
import sys
from os.path import abspath, basename, dirname, join, normpath
from helpers import gen_secret_key
########## PATH CONFIGURATION