Archive | September, 2005

Running Shell Commands in Ruby

One of the major benefits of unix is the quantity of many simple programs that one thing great. As a developer for unix, you must learn how to leverage these commands into your own scripts. Here is how to do this in Ruby. Say you script wants to call on the unix command to view [...]

Read full story Comments { 0 }

Server Status Plugin

I just got a new sidebar plugin developed for Typo here. It shows the uptime and load average of the server it is running on. It should work on any server that allows the “uptime” command to work. I have tested it on OSX(Darwin) and Debian 3.1 so far and it works on both. I [...]

Read full story Comments { 0 }

Back on Typo

Well I am back on Typo after going to WordPress for a bit. The reason I left was because after about 12 hours of being up my website would stop responding. Lighttpd was the only thing that logged it but it was a weird log message 2005-09-20 11:59:12: (server.c.937) connection closed – write-request-timeout: 9 And [...]

Read full story Comments { 0 }

Choosing Names in Your Database

At work I was working on a simple Ruby on Rails project that is basically going to use CRUD to store, edit, and view information, something simple. I kept getting really weird errors with my scaffolding. After much mangling done with my database and code I found the problem was that I named a field [...]

Read full story Comments { 0 }

Apple’s FileVault

Recently I turned on the “FileVault” option on my Mac. For those who don’t know FileVault is a preference that lets a user encrypt their /home directory. It is encrypted and the user sets a password to access it. Then when the user logs in their /home is decrypted on the fly as it is [...]

Read full story Comments { 0 }
Chirk HR     Reuse your existing job applicants »