Coworking review: Berkeley Coworking

Posted by on Oct 30, 2010 in working | One Comment

My second coworking experience was Berkeley Coworking, on Shattuck near Ashby BART in Berkeley. I was hoping to find an East Bay option where I could drop in once a week or so, as I expect to spend most of my time in San Francisco. Berkeley Coworking had a garage startup feel–pretty plain decor, even […]

Coworking review: Citizen Space

Posted by on Oct 19, 2010 in working | 2 Comments

Updated 10/30: I moved price from con to pro after checking out more spaces I’m making the rounds of the coworking spaces in San Francisco and the East Bay over the next couple of weeks to see if it’s a good option for me, and compare the options. My first stop was Citizen Space in […]

Clearing Quicksilver’s clipboard to free up RAM

Posted by on Oct 18, 2010 in code | No Comments

I’ve been using Quicksilver for so long it’s second-nature, and I hate being on a computer without it. One thing I use regularly is the clipboard history. The downside to this is that occasionally I copy something big into your clipboard, like a chunk of formatted text in Word or a range of cells in […]

Log userInfo, not localizedDescription, for CoreData errors

Posted by on Oct 12, 2010 in code | No Comments

Most of the Core Data code samples out there log [error localizedDescription] on errors. However, that will return a message that isn’t particularly useful, like: The operation couldn’t be completed. (Cocoa error 1570.) Instead, if you log [error userInfo], you’ll get a much more actionable message, like: { NSLocalizedDescription = “The operation couldnU2019t be completed. […]

Multi-line strings in ObjC localization files

Posted by on Oct 11, 2010 in code | No Comments

I manage my la email templates in localization files for ease of wholesale nba jerseys formatting. When first creating June them, I found lots of documentation on creating single-line strings, but 09 nothing on multiline strings. I could create a single-line string like Perry this: “my-email-template”=”Dear wholesale nfl jerseys %@,nnMessage here.nnSalutation,nnSender”; However, that will quickly […]

Verifying JSON in Rails functional tests

Posted by on Oct 8, 2010 in code | No Comments

If your rails controllers return JSON, 30 you can call ActiveSupport::JSON.decode Setting on the response body to get a hash you can validate in your cheap mlb jerseys functional tests. Since that doesn’t quite wholesale mlb jerseys roll off the tongue, I’ve added this method wholesale nba jerseys to my test-helper.rb: class свободу ActionController::TestCase def […]

Setting request headers in Rails functional tests

Posted by on Sep 9, 2010 in code | 5 Comments

I have some Ruby on Rails controllers that depend June on checking Collective a custom HTTP header value, which I wanted to test. In integration tests, you cheap NBA jerseys can pass a hash of headers wholesale NFL jerseys when you call your request Een method: post(:create, cheap NBA jerseys {:something => {:name => “foo”}}, […]