ChrisMar035 Adventures in Web Programming

12Aug/110

Ruby on Rails/ActiveSupport: To delegate or not to delegate

This is an account of my adventure with delegation from problem to apparent solution to bug in ActiveSupport to you're doing it wrong!

15Feb/110

Ruby Auto-Responder for Postfix/Vmail

Not knowing perl, I set out to write my own script in Ruby to send auto-responses from e-mail addresses setup in a vmail folder structure. You don't need to use postfix, just have the 'new' folder where new messages are stored.

20May/100

Keep ssh sessions from timing out

The Ubuntu Blog has a nice lil' article about keeping SSH sessions alive.

It basically boils down to editing your /etc/ssh/ssh_config file and adding the following:

/etc/ssh/ssh_config
ServerAliveInterval 5

The number is the number of seconds to send the small keep alive which keeps the connection open. Ubuntu Blog suggests changing it from 5 to 240 or 300 (4 or 5 minutes).

26Jan/100

Installing PianoBar – Console client for Pandora Radio

PianoBar is a console client for Pandora Internet Radio. For me, this is a huge discovery. If you run Ubuntu, the flash player for Pandora can be a pain in the ass to install. Plus, on my netbook, the flash plugin for Chrome usually eats about 40-55% CPU constantly. A console client for Pandora will resolve all these issues.

8Jan/104

Notepad++ Color Configurator and styler.xml

Before I start talking about colors, let's talk font. Consolas That's all you need to know. By far the best programming font. Get it. Use it. Love it.