sync or unsync all Box folders at once

If you’ve ever wanted to unsync (or sync) all of your Box.com folders to your computer without having to manually select each one, this is for you.  Login to your Box account and go to the page with the folders you want to (un)sync.  Then open a web console and paste the following in:

PS: I knocked it up pretty quickly and I think it’s relying on a couple of Chrome’s native functions.  They’re probably available in other browsers, but if it doesn’t work, use Chrome. :)

Finder changes its layout based on which folder your mouse is hovered over, which changes what you’re hovered over, so it changes its layout, which changes what you’re hovered over, repeat.

Also, I updated my previous post on Lion-related issues to correct the source of the esc key problem.  Since moving to a new 13” MBP, I no longer have the volume control issues.  The third point about minimised windows not displaying in Mission Control is still annoying on an almost daily basis. :-(

deploy-time assets on heroku cedar stack w/ mongo

If you’re using ENV vars for the database config, it isn’t currently possible (according to Heroku themselves). :-(  Compile locally, or be satisfied with runtime-compile during dev.

Hopefully there’s a deploy-time solution by the time coffeeprefs is production ready. ;-)

Lion issues

Some annoying things I’ve encountered so far:

  1. The ability to press esc turns off after a while. [Official Retraction: I’m sorry OS X & Apple, this wasn’t you; it was box.net SimpleShare being stupid.]  Usually a reboot fixes it, but for two reboots in a row now it hasn’t. :-(  This one is super infuriating, especially for such a small thing.  I use it for cancelling dialogues and dismissing messages, so moving to the trackpad for these things now is frustrating.
  2. My volume control is often inactive for seemingly no apparent reason.  Sounds still play - I just can’t control the volume and the status bar icon is greyed out.  When I press the volume keys I get this:
     
  3. Minimised windows are no longer included in Exposé / Mission Control.

More to come, I’m sure.

Rails agnostic database.yml

I found myself going backwards and forwards between Rails 2 & 3 a bit during a conversion. Changing the database.yml gets annoying, so try this:

GOTCHA: heroku db:pull (Taps) doesn’t parse the ERB so if you’re using this w/ Heroku you’ll have to put the details in normally.

League of Legends Mac beta installer error:

Error reading games files
$INSTALLVOLUME/installer/AdobeAIR/en-AU.plist

Solution:
System Preferences
Language & Text
drag ‘English’ to the top
install
drag your preferred language back :-)

League of Legends Mac beta installer error:

Error reading games files

$INSTALLVOLUME/installer/AdobeAIR/en-AU.plist

Solution:

  1. System Preferences
  2. Language & Text
  3. drag ‘English’ to the top
  4. install
  5. drag your preferred language back :-)