How many iPhone Visitors have you had?

apple I was curious if anyone was using an iPhone to read my blog yet, I'm sure before too long we will all be optimizing our sites for 3.5" displays. To find out I did a little grep on my Apache log file and piped it to wc to count the number of matches:

fgrep 'iPhone;' access.

This entry was:

Monitoring Log files in Realtime on Unix

apple linux Here's a handy trick for monitoring log files on unix, linux or mac's.

SSH on to your server then type:

tail -f /var/log/httpd/access_log

The above command will show you the last few lines of the log file, this is no suprise if your fimiliar with tail command.

This entry was:

Howto Backup your Mac incrementally over SSH

apple linux Do you have access to a shell account on a unix server with some spare space? If so it's pretty easy to incrementally backup your files securely with SSH.

This entry was:

Setting up public key authentication over SSH

apple linux misc Every time I want to setup public key authentication over SSH, I have to look it up, and I've never found a simple guide, so here's mine.

Generate key on local machine

ssh-keygen -t rsa

It will ask you for a password but you can leave it blank.

This entry was:

Vi in a Nutshell

linux misc The unix text editor vi probably has more features than Microsoft Word yet I've only been using about 5 of them. Recently I've been learning a bit more about it.

This entry was:

Unix Job processing

linux misc I learned something new from my brother the other day about unix job processing. We had written a script to do some specific analysis of the logs for, and it would take about 30 seconds to a minute for the script to complete.

This entry was:

Top 20 Internet Security Vulnerabilities of 2005

apple databases linux misc web SANS has published a list of the top 20 internet security vulnerabilities of 2005. The list is not however cumulative, it features security vulnerabilities that have been the most prevalent within the past year and a half.

This entry was:

Cheat Sheet Roundup - Over 30 Cheatsheets for developers

apple coldfusion databases java linux web Lets face it, unless you have a photographic memory, no developer can remember all the different functions, options, tags, etc. that exist. Documentation can be cumbersome at times, thats why I like cheat sheets.

This entry was:

The 15 Essential UNIX commands

apple linux misc Learning UNIX is a seemingly daunting task, there are thousands of commands out there, each with hundreds of options. But in reality you only need to know a few of them.

I use unix quite a bit, usually either on one of our Linux servers, or on my Powerbook with OS X.

This entry was:

Unix Utils for Windows

misc I work with unix operating systems quite a bit. So when I'm using Windows I'm often missing some of the handy little command line unix tools that are ubiquitous to unix but no where to be found on Windows.

Just today I was wanting to use the GNU find utility.

This entry was:

A good and free log analysis tool - awstats

web There are a lot of free http log file analysis tools out there that haven't been updated since the mid 90's, awstats however is both free, and up to date. It looks a bit like web trends (though I haven't used web trends in several years). Here's an online demo.

This entry was:


did you hack my cf?