July 2006


safari memory usage

Come on … 2gb of virtual memory and 165Mb of real!? It brings my new MacBook Pro to it’s knees; do I really need to upgrade to 2Gb of RAM just to run Safari, and leave room for other apps too?

Sort it out Apple. SteamSHIFT out.

Technorati Tags:
,

What can I say; Robots made of Styrofoam; where can I get one?!

Styrofoam robots by Michael Salter.

styrobaoat.jpg

Via notcot and ghost school.

(Via we make money not art.)

Technorati Tags:
,

I’ve been using PHP for years, but had never used the quick if construct:


$var = (conditional) ? ‘true’ : ‘false’;

?>

Beautifully simple; but not in any of the books I used to learn PHP!

Technorati Tags:
, ,

Seen On The Streets of Taipei, Taiwan

taipai.jpg

(Via Wooster Collective / A Celebration of Street Art.)

Technorati Tags:
, , ,

Having gone through the interesting process of upgrading the server from 10.3 (Panther) to 10.4 (Tiger), I wanted to ensure the server was performing as well as possible with regard to spam filtering. I found this excellent article:- Agile Tortoise » OS X Tiger Server: Improving SpamAssassin. Excellent just what I wanted!

Technorati Tags:
, , ,


(more…)

I consider myself a pretty savvy computer user. I have successfully installed Windows 2000 and XP; and know my way around the guts of *NIX systems reasonably well, and OS X is like a second home to me. One thing I have never done before (perhaps from straying too far into ÜberGeek territory) is a Linux install. My perception has been that it requires a hideous amount of mucking about with drivers, compiling and all that jazz.

Technorati Tags:
, , , , , , ,


(more…)

I wanted an alternative to having phpMyAdmin installed on my server as I couldn’t help but be a little concerned about having a web application that has access to all my databases. The alternative?

I present here for your reading pleasure 2 alternatives, based around 1 simple principle:- ssh tunneling.

  1. Set up an SSH tunnel in terminal:

    ssh -L 3396:127.0.0.1:3306 username@WebServerIP

    or use ‘SSH Tunnel Manager‘ or ‘Almost VPN‘ or the like.

    I’m using port 3396 on the local machine just ’cause it’s easy to remember.

  2. Now set up either phpMyAdmin running on your local version of apache (Personal Web Sharing under Sharing Prefs Pane) with php (get Marc Liyanage’s PHP Apache Module if you don’t already have php installed), making sure that you put 127.0.0.1 as the MySQL host, and 3396 as the MySQL port in the config.inc.php file.

    Alternatively, despite being a long term phpMyAdmin user, I have switched to the combination of the MySQL Administrator application and CocoaMySQL-SBG for full GUI database administration loveliness. Again, with both apps, use 127.0.0.1 as the host, and 3396 as the port.

    NB: because the tunnel is essentially making the database access happen on the server itself, the user details you use can be limited to access by localhost only.

Easy. All you have to remember is to start the tunnel before you use the administration tools.

All Clear? SteamSHIFT out.

Technorati Tags:
, , , , , , , ,

After a few people have had problems with the old widget, where the version of the Category Tagging plugin had been updated, thus breaking the widget, and with the debugging help of Nicholas Feasey, now available is a new version. This version has imported the plugin code (Category Tagging Plugin), so I can only claim to have connected all the dots as it were. The upshot of this is that the widget can now operate independently of the plugin; hopefully this will make it easier.

Download Category Cloud Widget Version 1.2

Technorati Tags:
, , ,