I wanted a way to be able to drop my files between all my machines quickly and easily. I found that in Dropbox, but one downside is dropbox is more GUI based while most of my workflow is command line based. With this issue at hand I went out to create an installer that downloaded, installed and launched the dropbox daemon on linux.
here’s the script:
Here’s an inside look of our newest installation downtown! Hive, a giant LED light installation by Leo Villareal was recently completed at the Bleecker Street Station. The LED sculpture takes the form of an ever-changing colorful honeycomb, dramatically filling an architectural elliptical-shaped space above the stairs that marks the brand new transfer point connecting the IRT (6) and IND (B,D, F, M) subway lines. Hive (Bleecker Street) has a playful aspect in its reference to games. Riders will be able to identify individual elements within a larger context and track this movement. The work explores the compulsion to recognize patterns and the brain’s hard coded desire to understand and make meaning. The patterns also take inspiration from the research of the mathematician John Conway who invented the Game of Life, the best-known cellular automata program. Whether you concentrate on mapping the movement, or just appreciate the colors changing this piece is sure to catch your eye.
Top: Artist Leo Villareal testing his piece before complete, Photo Credit: Rob Wilson
Check out more of Villareal’s bright installations on Co.Design.
After a lot of research on node.js I have noticed most of the tutorials are all geared to the most common neo-“hello world” apps, ie blogs and todo lists. I plan on solving this with the best and most fun “Hello world” app ever. DooM and Diablo in Node.
Tumblr’s utter lack of Gist support was pretty much a show-stopper for me, which is why this is my first post. In trying to figure out how to hack it myself, I ran across Jarred Grippe’s post describing how he hacked it. I refactored his solution a bit to add some error checking and a couple of features:
Most of the magic comes from the call to embedNextGist inside the document.write overrides. Typically when scripts are being added to the page programatically, you have to be careful not to execute code that depends on the script before the script is loaded. For example, if I had instead just put embedNextGist in a loop, all of the document.write overrides and appending of script tags would have happened long before the first appended script even loaded. The calls to the overridden document.write do not occur until the script has loaded, which would mean that all of the appended scripts would use whichever version of document.write was provided in the last iteration of the loop. That is, each Gist would, in turn, write itself into the last p.gist.
But in this case, all of that trouble is circumvented by calling embedNextGist from document.write which is called by the appended script (a call which, naturally, cannot happen until the script is loaded).
Two other small notes:
- Jarred’s version writes the stylesheet link for every Gist that it handles. My version never writes the stylesheet link because I have that link as part of my Tumblr template.
- My version caches document.write before processing Gists and restores it upon completion.