2009
12.22

As I don’t think in seconds about time and more like hours days etc. I’ve added this small bit of code to Nagios check_file_age script to display age in days. I’m using this to check PID file age for service that needs daily/weekly restarts.

Read More >>

2009
12.17

Apache2 + Passenger

Phusion Passenger™— a.k.a. mod_rails or mod_rack — makes deployment of Ruby web applications, such as those built on the revolutionary Ruby on Rails web framework, a breeze. It follows the usual Ruby on Rails conventions, such as “Don’t-Repeat-Yourself”.

Read More >>

2009
12.11

Here is a bit of code which uses Google credentials to authenticate a user. The idea is to use PHP sessions support and existing Google accounts for user management and don’t store any additional passwords.

Read More >>