Stockholm, Seoul, Tokyo

osx

Fix PHP 5.3 timezone warnings for drupal

I recently installed drupal 6.14 on Snow Leopard and got these timezone warnings.

warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. 
You are *required* to use the date.timezone setting or the date_default_timezone_set() function. 
In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. 
We selected 'Asia/Tokyo' for 'JST/9.0/no DST' instead in /Users/<user>/Sites/drupal/sites/all/modules/views/modules/node/views_handler_argument_dates_various.inc on line 67.

Enable clean URLs for Drupal 6.x on Snow Leopard

By default clean URLs cannot be enabled on Snow Leopard (Macbook pro) unless one of the following prerequisites is done:

Simple netstat bandwidth summary script

This is a simple script for showing the bandwidth usage on all your network interfaces using netstat. It displays the total usage per interface and an approximation of the usage per day and month.

Uptime 2 days 22:49, Sun Aug  9 15:46:25 CEST 2009 
Iface    Rx Total     Tx Total       Rx/day       Tx/day     Rx/month     Tx/month   Rx+Tx/month
             (GB)         (GB)         (MB)         (MB)         (GB)         (GB)         (GB)
lo0           .03          .03        10.86        10.86          .32          .32          .65
en1          2.48          .15       841.32        52.56        25.23         1.57        26.81

My essential Mac applications

About 2 years ago I switched from using Windows XP/2000 workstations to a Macbook Pro running on Mac OS X 10.4 Tiger and I've not looked back since. Now I'm on my second Macbook Pro running Leopard, making backups on a 500GB time capsule, downloading music and pod casts from iTunes and also using an IPhone.

I won't be able to go back to MS land anytime soon.

As a relative new switcher these are some of the 3rd party applications that I've come to rely on and have to install on any new Mac that I would use. Practically all applications are open source or free to use.