Author Archive

April 19, 2012 0

LOAD ALL THE RUBIES!!!

By in ruby

Dangerous Cucumber Loading Issue I recently discovered a potentially dangerous issue with how cucumber loads ruby files. The standard cucumber project expects a features directory in which to place your .feature files. Standard practice is to place supporting ruby files in features/support and to place step definitions in features/step_definitions, but that’s just convention. Cucumber recursively [...]

Tags: ,

April 17, 2012 0

Fetch and Iterate

By in javascript

Tonight I stumbled across a blog post from the future! Or something like that. On 4/17 at 11:30PM I read a blog post that was published on 4/18 at 1:54. Time zones = time travel. Anyway… It was about finding a cleaner, more succinct, syntax for a standard pattern: fetch_data, process_data, rinse and repeat until [...]

Tags: , , ,

April 3, 2012 0

ANSI color in Windows shells

By in shell

Having used git on windows for over three years now, I’ve fallen back in love with the command line. Bash, of course, not the windows command prompt. Beautiful, ubiquitous, warty bash. Git depends heavily on GNU utilities so on Windows it requires either cygwin or msys. Having been burned by cygwin in the past, I [...]

Tags: , , ,

November 15, 2011 1

Subdirectory Checkouts with git sparse-checkout

By in git

If there is one thing I miss about SVN having switched to git (and trust me, it’s the only thing), it is the ability to checkout only a sub-tree of a repository. As of version 1.7, you can check out just a sub-tree in git as well! Now not only does git support checking out [...]

Tags: , , ,

July 5, 2011 0

JRuby on MSYS | MinGW

By in jruby, ruby

For many Windows users, like myself, the easiest way to get up and running with Ruby is to install JRuby. If you’re like me, then you may also be a Git user. Now this is just a hunch, but I would wager that if you’re a git user and interested in ruby, then there is [...]

Tags: , , ,

June 30, 2011 4

Ubiquity in Firefox 5

By in ubiquity

As may be clear by my ubiquitycommands github repository, I am an avid Ubiquity user. So much so, in fact, that I delayed upgrading to Firefox 5 until I was able to find a version of Ubiquity that works with Firefox 5. Wonder of wonders, I have found that version. Satyr Murky continues to work [...]

Tags: ,

June 27, 2011 1

Test Your Transformations

By in .net

Web.config transforms are a really great tool for setting up environment-specific configuration files. However, the transform syntax can be a bit obscure, and tracking down configuration bugs is just painful. For this, there is a great testing tool hosted on AppHarbor. Paste in your web.config contents in one box, drop in your transform in another [...]

Tags: , , ,

June 20, 2011 2

Google Calendar > Lotus Notes

By in productivity

Are you forced to use Lotus Notes at work? Do you prefer Google Calendar? Would you like to have your Lotus Notes calendar synced to your Google calendar? Solution: CalSync! CalSync is a great little utility that runs in the background and automatically syncs your Lotus Notes calendar with Google Calendar. You can download it [...]

Tags: , ,

June 16, 2011 0

Userscripts, Userstyles and Ubiquity

By in ubiquity, userscripts, userstyles

A while ago I described how to merge two git repositories into one. I discovered how to do this as I was attempting to consolidate a number of git repositories that I have on GitHub. Previously, I had a separate git repository for each user script, user style and ubiquity command that I’ve written. It [...]

Tags: , ,

March 23, 2011 4

Merge Two Git Repositories Into One

By in git

A few weeks ago I tweeted: “Just did 2 subtree merges in order to combine 2 partially-related git repos into a single repo and still maintain history. #gitrocks” Wanna learn how to do it? Here we go… TL;DR # create new project as the parent $ mkdir new_parent_project $ cd new_parent_project $ git init $ [...]

Tags: