This URL:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# open a file in chrome | |
# usage: $ chrome index.html | |
function chrome() { | |
open $@ --args --allow-file-access-from-files | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
historia: | |
http://www.theatlantic.com/technology/archive/2013/01/the-never-before-told-story-of-the-worlds-first-computer-art-its-a-sexy-dame/267439/ | |
http://dada.compart-bremen.de/ | |
http://recodeproject.com/ | |
http://www.demoscene.tv/ | |
http://www.pouet.net/ | |
http://www.net-art.org/ | |
http://www.teleportacia.org/war/war.html | |
+teórico (txt): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggplot2) | |
library(lubridate) | |
## Set the working directory | |
setwd("~/Dropbox (Personal)/Personal/Github/Citibike") | |
## Organize restaurant data | |
r <- read.csv('trips.csv', header=TRUE, as.is=TRUE) | |
head(r) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * from ( | |
select the_geom as the_geom_webmercator, | |
min(ST_Distance_Sphere(st_transform(st_centroid(the_geom), 4326), st_transform(otherGeom, 4326)))/1600 as minDist | |
from ( | |
select grids.the_geom, st_collect(st_transform(timchung.allbusiness.the_geom, 3857)) as otherGeom | |
from ( | |
SELECT CDB_HexagonGrid( | |
ST_SetSRID( | |
ST_Envelope( | |
ST_Collect( |
An interactive version of a Reingold–Tilford tree. Click on the nodes to expand or collapse.
Very minor tweaks were made to create a collapsible tree of a dict-like object.
- The dict is converted to the
flare.json
tree structure with a defaultsize
. - I added a subset of a gist API response because that is what I am working on.
- I added lodash because the tree converter was already written.
My youngest is always asking me, 'how old will you be when I'm x
years? and by brother/sister is x
years
So this sketch is for him! but it was weird doing it, actually made me pause.
Used moment.js to calculate the dates; no real need though, as they were just subtractions—but handy if I do anything more detailed with the sketch.
The nav/options are an array (caled dates
in the code) that can just be added to and changed, and the rest get's worked out and displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SVG Patterns Example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just a quick sketch to explain how to use labels in CartoDB: | |
http://dl.dropbox.com/u/193220/CartoDB/labels.png | |
Something like this should work while we sort out exactly how to release this: | |
#populated_places_points_2{ | |
marker-fill:#0099FF; | |
marker-line-color:white; | |
marker-line-width:1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Editor backup files | |
*.bak | |
*~ |
OlderNewer