Saturday, February 24, 2007

WinJam deprecated, but helpful today

Entered Jabber world via WinJab on the Winbook FX and Pandion on seaturtle.

This was for a test that didn't need to happen

Get the Flash Player to see this player.

Thank you Dreamhost for making Flash Media so easy.

Friday, February 23, 2007

I Love Hello Kitty

Get the Flash Player to see this feature.

Wednesday, February 14, 2007

Ubuntu beginnings

After days of false starts with Ubuntu 6.10, a move to 6.06LTS made all the difference and I'm now making my first blog entry as a Linux user.

Neither the Edgy Eft i386 version at work nor the AMD64 version at home ever worked usably, but Dapper Drake is humming along on the live CD.

Next steps, which I hope go as smoothly as today's attempt, are to load it onto two hard drives.

Sunday, February 04, 2007

Codewalkers Tutorials

From strings to this on codewalkers.

Author: Andrew Walsh
Username: Andrew
$uptime = @exec('uptime');
preg_match("/averages?: ([0-9\.]+),[\s]+([0-9\.]+),[\s]+([0-9\.]+)/",$uptime,$avgs);
$uptime = explode(' up ', $uptime);
$uptime = explode(',', $uptime[1]);
$uptime = $uptime[0].', '.$uptime[1];
$start=mktime(0, 0, 0, 1, 1, date("Y"), 0);
$end=mktime(0, 0, 0, date("m"), date("j"), date("y"), 0);
$percentage=($uptime/$days) * 100;

Server Statistics For '.getenv('SERVER_NAME').'

Name: '.getenv('SERVER_NAME').'
(days): '.$uptime.'

(%): '.$percentage.'%

Load:  '.$load.'
Protocol:  '.getenv('SERVER_PROTOCOL').' Server statistics provided by ServerStat 1.0
Gateway: '.getenv('GATEWAY_INTERFACE').'

Created By: Andrew Walsh

echo $page;