Archive for January, 2007

How to run Ruby from Komodo Edit 4

Antonio Cangiano January 29th, 2007

ActiveState has released Komodo Edit 4 for free. While basic, it offers a few interesting features including code AutoCompletion. Make sure to give it a try here.

Once installed, you may find yourself puzzled by the lack of an F5 or one-click Run option. I’ve put together a small screencast that shows how to associate the F5 key with the execution of the current open ruby file (click the image below to open the video).

I know it’s not Komodo IDE (the commercial bigger brother of the Edit version), but I would have expected the program to recall the appropriate interpreter based on the file extension just like SciTE does. Feel free to comment and let me know if you find better ways to handle these tasks in Komodo Edit.

Put DB2 in your search bar

Antonio Cangiano January 27th, 2007

UPDATE: IBM has now released an official version of the search plugin for DB2 8 and DB2 9. You are strongly advised to install it from here
. On that page, click on ‘DB2 9 Information Center OpenSearch plugin’ or ‘DB2 UDB V8 Information Center OpenSearch plugin’ depending on what version(s) you want.


The following text no longer applies:



The DB2 Information Center is an indispensable resource when working with DB2 and can be an excellent reference. I also happen to like the search bar in Firefox a lot, so I decided to enable the search of DB2 documentation by adding it as an extra search engine. I find it very fast and useful. It works with both Firefox and IE7.

Firefox

  1. Visit this page
    (where the autodiscovery is enabled);
  2. In the drop down list you should find the standard search engines and the Add “DB2 Search” entry that you can click (don’t worry about the Rails icon, it won’t be installed):


At this point you can search the DB2 documentation directly from your search bar. You may double-check that DB2 Search is now part of the listed search engines:





Internet Explorer 7



The procedure for IE7 is very similar.

  1. Visit this page
  2. Click on “DB2 Search” as shown in figure:

  3. Click “Add Provider” in the dialog box that appears:

At this point you are done. You’ll see the following when clicking on the drop down list:


I hope you’ll find this useful. ;-)

January’s goodies

Antonio Cangiano January 24th, 2007

It looks like we started this year for the best ;-)

Next »