Writing

Everything I've written here, newest first, going back to 2000.

Filter by:
All Categories
All Tags

Midlands interweb groups

· Web / Meetups

I've only been living in the midlands for a few months now but have already found two promising groups: The Multi Pack and PHP West Midlands. Multipack seems to be a bit more designery but they are …

Siftware is go

· Life Updates

We've unpacked all of our boxes (apart from all of the ones in my office, it seems), put as many again in the loft, and all members of family Beale are settling nicely into our new life. I'm …

BASH for loop

· Dev-Sys

#!/bin/sh for FOO in a b c d e f; do echo $FOO done Outputs a b c d e f

Wordpress spam plugin

· Development, Php

After getting over 200 comment spams in 2 days I decided to implement an automatic spam blacklist system as manual parsing wasn't cutting it any more. Akismet seems good: We can’t stand spam. Who can? …

Installing Ruby on Rails onto Debian Sarge with Apache 1.3

· Development

After quite a bit of resistance on my part I'm afraid that it's time to get down with the kids, hence: Install ruby apt-get install irb1.8 libreadline-ruby1.8 libruby libruby1.8 rdoc1.8 ruby ruby1.8 …

Global search and replace using Vi

· Dev-Sys

to replace all instances of - say - 127.0.0.1 with 10.0.0.1 in a file then using vi you can do: :%s/127.0.0.1/10.0.0.1/g if you mess it up then press u for undo. Of course if it's an important file …

ssh logins without a password

· Dev-Sys

Share ssh keys: client: cd ssh-keygen -t rsa the copy ~/.ssh/id_rsa.pub over to server server: mkdir .ssh cat id_rsa.pub >> .ssh/authorized_keys Job done

MySQL Workbench

· Development

I just downloaded MySQL workbench 1.06 beta. I stumbled across it after finding this message on the DBDesigner forum page: Dear DBDesigner4 users, Due to several attacks against the DBDesigner4 forum …

Enabling spell checking within FCKeditor

· Development

CMS Made Simple uses the great GPL WYSIWYG editor FCKeditor and I noticed this morning that it has a spell checking facility. To get it to work, I: Installed aspell on my dev server: apt-get install …

Adding arbitrary PHP to a CMS Made Simple website

· Development

CMS made simple (CMSms) is great as it does what it says on the tin e.g. it's a CMS and it's easy to use and configure. Most importantly for me, it's easy to skin and modify. It uses Smarty as a …