Skip to content

Instantly share code, notes, and snippets.

View danse's full-sized avatar

Francesco Occhipinti danse

  • Internet
View GitHub Profile
getBoundingClientRect
@danse
danse / gist:4644848
Created January 26, 2013 21:50
Markdown downs
- No indexes
- No easy way to generate local (hash link)
@danse
danse / README.md
Created February 6, 2013 17:00 — forked from mbostock/.block
@danse
danse / README.md
Created February 8, 2013 17:42 — forked from mbostock/.block

Source: Bureau of Labor Statistics

This visualization shows the distribution of unemployment for 380 U.S. metropolitan areas from January 2000 to December 2012. I’m currently weighting each area equally, but it would probably be better to weight areas by the size of the civilian labor force. Thanks to Kevin Quealy for suggesting this dataset, which was the basis for his earlier graphic!

# Specify where our binaries are (I'm using package.json and npm to handle dependencies)
LESSC = node_modules/.bin/lessc
UGLIFYJS = node_modules/.bin/uglifyjs
# Our LESS input file(s)
LESS = css/base.less
# Our CSS list (replaces .less with .css in the list)
CSS = $(LESS:.less=.css)
@danse
danse / gist:5098452
Created March 6, 2013 10:40
make reminder (GNU)
$< first prerequisite
$^ all prerequisites
$@ target
/**
* Just for fun: Wifi icon with pure CSS
*/
.wifi {
padding: 20px;
}
.wifi, .wifi:before {
display: inline-block;
@danse
danse / gist:5327286
Created April 6, 2013 19:20
.net awards
brackets editor
conditionizr
font awesome
@danse
danse / dabblet.css
Created April 15, 2013 14:03
Untitled
.red {
background: red;
width: 100px;
float: left;
hight: 100px;
}
.blue {
background: blue;
width: 100px;
overflow: hidden;
@danse
danse / dabblet.css
Created April 16, 2013 07:34
Untitled
.red {
background: red;
width: 100px;
float: left;
hight: 100px;
}
.blue {
background: blue;
width: 100px;
overflow: hidden;