Saturday, August 30, 2008

Experimenting with Ubiquity

For those of you who know what Ubiquity is, I'll keep this brief. For the non-initiated, take a second to read about what many describe as Quicksilver for Firefox:

You can install it here, read the tutorial and then come back when up to speed.

Cool stuff, right? So I took a look at their wiki earlier and was kind of surprised to find that nothing was listed there for Ruby...but you could search for php functions? I took their code and hacked it up a bit:

Easiest way to play with this in my opinion is, once you've installed Ubiquity, test it at chrome://ubiquity/content/editor.html

As you can see from the gist, its pretty easy to create a new command to play with and you can easily add in search capability for your favorite site. If its well known there's a shot someone's done that already.

Anyway, I thought this was pretty cool and imagine over time it will enable some pretty interesting mashups. Its almost a more powerful and approachable version of Yahoo Pipes, albeit a different sort of beast.

As I get time I'll be playing more with it, probably hooking up some nice Merb search capabilities. Feel free to drop some comments if you have some ideas, but perhaps aren't familiar with Javascript or coding in general. Enjoy!

Monday, August 18, 2008

Updated merb-thor tasks

Lots of questions have come up regarding sake in #merb recently. The current sake tasks at are out of date, so I updated the tasks inside merb-more itself. You can install using:

For those interested in Thor, I've also updated the tasks at:

They, like the sake tasks, are particular about directory structure, so make sure you've set things up, and run things from the correct directory.

Wednesday, August 6, 2008

A Mac zoom key

I'm a bit picky when it comes to how I interact with my system; I have tons of aliases, shortcuts, quicksilver triggers, pretty much anything that will save me typing. One that I use every day is a trigger for Zoom.

Open up System Preferences and click on Keyboard & Mouse. Select the Keyboard Shortcuts tab, and click on the plus at the left to add a new one. You'll want to type in Zoom and whatever key combo you wish--I like shift-cmd-M.

Should look something like this:

Save that and open a new terminal window and give it a go. It will of course work in whatever app you can zoom in, I just find I use it in terminal and sometimes my browser almost all the time.


Monday, August 4, 2008

merb-dev sake tasks update

People mentioned today that the sake tasks were broken, so as of commit 123f1e13e96ba6d42cbb0d25554913ab9851cd6a in merb-more you should be good. I changed the installation of primarily the extlib library, and reordered things a bit. As Yehuda mentioned recently, when living on the edge things can be a bit unstable. The pain this may create now is a small price to pay for a 1.0 release thats solid and easily used by many, so please stay tuned and keep the comments coming in #merb.

Sunday, August 3, 2008

a quick note on deploying with git

I've deployed a merb app and rails app recently with git, both on boxes. For one I didn't need this option, and yet for the other I, to anyone having issues with git deployment with capistrano, see if this helps. In your deploy.rb file add this line:

default_run_options[:pty] = true

The guys at mention this in their guide to deploying with capistrano as well, so if you need other clues I suggest checking that out.