Main Contents

Random cool hack: Make your Ruby scripts work as man pages

October 27, 2011

Via careful use of nroff directives and comments, it’s possible to make a Ruby script that works both as a command line utility you can run, and as a man page. It’s a floor wax and a dessert topping. This is handy, as it means you can distribute both the utility and the documentation in [...]

Filed under: Ruby | Comments (0)

Sending Domino logs to syslog

July 19, 2011

How to get your IBM Lotus Domino server to send its logs to syslog.

Filed under: Domino, Linux, Ruby, System administration | Comments (0)

Multi-line comments considered harmful

December 31, 2010

Recently on the ruby-core mailing list, someone asked why Ruby doesn’t have multi-line comments. I did a few searches, and didn’t find much discussion of the evils of multi-line comments. I thought it was common knowledge that they were a bad thing and a historical mistake made by Kernighan and Ritchie, but apparently not. So, [...]

Filed under: Annoyances, Java, Programming, Ruby | Comments (2)

Negotiating the IBM DB2 version maze

May 7, 2010

Suppose you want to install a DB2 server, and connect to it from some client software. If you browse the IBM DB2 Software pages, you’ll soon find that there’s a bewildering array of products with confusingly similar names. For example, IBM Data Server Client and IBM Data Server Runtime Client are two different things. Fortunately, [...]

Filed under: Java, Ruby | Comments (0)

Jay: A program for removing excess kernels

April 12, 2010

A script to safely and automatically remove unneeded kernels from Ubuntu systems.

Filed under: Linux, Ruby, System administration | Comments (3)

Ruby packages: chaos and confusion

January 31, 2010

In October of last year, someone built a new RubyGems hosting site called Gemcutter. Everyone liked it so much that GitHub decided to stop offering RubyGem hosting, and point people at Gemcutter instead. Then the maintainer of RubyGems decided to make Gemcutter the default repository for gems when you install RubyGems. Then RubyForge decided to [...]

Filed under: Programming, Ruby | Comments (0)