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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
Subscribe to updates
9 Day Rails Controller Refactoring Course
Do you have some crufty Rails controllers? Are they getting too fat and need to be slimmed down?
Sign up below for the free 9 day email course on how you can refactor your Rails controllers. You don't have to live with bad code.
