layout | title | date | comments | categories | tags | author |
---|---|---|---|---|---|---|
post |
Spree 1.0 deployment on Heroku |
2012-02-21 06:40 |
true |
spree, heroku, ruby, deployment, cedar stack |
Trung Lê |
custom |
The tree
layout implements the Reingold-Tilford algorithm for efficient, tidy arrangement of layered nodes. The depth of nodes is computed by distance from the root, leading to a ragged appearance. Cartesian orientations are also supported. Implementation based on work by Jeff Heer and Jason Davies using Buchheim et al.'s linear-time variant of the Reingold-Tilford algorithm. Data shows the Flare class hierarchy, also courtesy Jeff Heer.
ruby -e 'system("heroku create z#{29.times.map{ (("a".."z").to_a + ("0".."9").to_a).sample }.join}")' |
A demo of TopoJSON using a single file that contains county, state and country boundaries. This example uses topojson.mesh
to extract separating lines between states and counties from the geometry collections.
To see the resizable nature of this image, check out this gist live at: http://bl.ocks.org/harlantwood/raw/6900108/.
This is a fork of https://gist.github.com/mbostock/4136647, which you can see live at http://bl.ocks.org/mbostock/4136647. I reverted to an earlier version of the gist, as the feature that I was interested in -- dynamic resizing of the image on browser resize -- seemed to be removed in the later versions.
I found the original gist when searching on this topic via this post: .
/* MongoDB cheat sheet */ | |
// replication lag via serverStatus() | |
db._adminCommand( { serverStatus : 1 , repl : 2 } ) | |
// stats | |
db.stats() | |
db.foo.stats() | |
// size of BSON of some query |