James McDonald

awk specifying multiple field separators

I want to extract the text "Windows 2008" sandwiched between [VM STORE] and "/Windows 2008.vmx" So I need two field separators ] for the left and / for the right. So for awk I use "[]/]" as the argument to -F. Then I need to trim the spaces using sed. echo "32 EDI...

OpenSuse 11.4 on HP Mini 110 – It works!

Talk about drama free install. Download the KDE LIVE ISO http://mirror.optus.net/opensuse/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso dd if=openSUSE-11.4-KDE-LiveCD-i686.iso of=/dev/sde bs=8M Where /dev/sde is my 4GB USB Key. Press F10 on the HP Mini 110...

Samba Domain Membership KRB5 Setup Head Scratching

Samba 3.5 documentation states: With both MIT and Heimdal Kerberos, it is unnecessary to configure the /etc/krb5.conf, and it may be detrimental. And further: MIT's, as well as Heimdal's, recent KRB5 libraries default to checking for SRV records, so they will...

Upgrade your network it will save you time!

Today I fired up VMWare convertor to move a 60GB Virtual Machine running as a guest on VMWare Server 2.0 on my workstation accross to a VMWare ESXi server. I kicked the process off and it guestimated the time to completion as 8hrs and 44 minutes. Hmmm... Then after...

CakePHP Javascript Include

I read the documentation. But I must be a slow learner or something. Anyway including javascript into a view using cakephp: I am using an auto baked cake template named index.ctp For me it's located cake_app_dir/views/names/index.ctp To get the javascript script block...

Fedora Fanboy

I know Ubuntu is getting a lot of the kudos recently for being the most popular distro. But Fedora deserves a lot of credit, if not for anything else for this: Presto reduced the update size by 80% (from 222 M to 46 M) It's yum based update system proactively checks...

Getting my CakePHP instances working on Fedora 15

I have unzipped the latest version of cakephp into /home/username/public_html/cakephp I have baked an app: cd /home/username/public_html/cakephp/cake/console ./cake bake -app /home/username/public_html/mapdb-dev And then I hit the errors of access denied to the...

Page Load Speed Improvements

I'm noodling away at my websites performance using the Google Page Speed plugin. It recommends losslessly compressing your images using a number of utilities. I mostly upload png format images so I ran the following on my Wordpress content folder to compress the...

Page Speed

Since I moved to a self managed Rackspace Cloud Server. I've been forced to look at all the things that one would normally pay a shared hosting provider to manage. i.e. Security and Performance. So after installing a roll-your-own Apache+Suexec+Mod_Security+MySQL+PHP...

GIMP Cool New Feature

Just playing with the latest development snapshot of GIMP and discovered that it's got a really cool new way of sizing the pencil and brush tools. Before you had to select a 1, 3, 5 etc pixel brush or pencil. Which was annoying because I always seemed to want...