I was looking for a small laptop to use on the train. I came across the HP DM1 4027sa - it looked like a surpsisingly good balance of performance and size, at a very reasonable £350. I'll start by saying the laptop's definitely worth the money. Build quality is good (but don't expect premium at this price) and with 4GB RAM and a dual-core CPU, the whole thing is very snappy and runs like a modern PC. Considering it's netbook size and netbook price. It's great, especially in comparison to other netbooks which, to...
November, 9 2011 • 0 Comments • 0 Faves
The purpose of this blog post is to get you running a reliable, Unix-based web development environment on top of Windows 7, using Virtuabox to create an Ubuntu virtual machine. It's an improvement on my previous setup, serves as a "note-to-self" on how to get up and running and is something I thought others would find useful. Create a LAMP virtual machine Create a new VM and install Ubuntu. Install aptitude, then virtualbox guest utils: sudo apt-get install aptitude sudo aptitude install virtualbox-ose-guest-utils...
August, 2 2011 • 2 Comments • 0 Faves
Note As per the comments for this post (I haven’t had the time to verify): Paul Mitchell submitted a patch which solves the issue in the latest versions of Virtualbox Guest Additions – so please try upgrading. If that doesn’t work, Theodore Smith suggests that adding this attribute and value to the phpunit tag in your xml configuration will solve the issue: testSuiteLoaderClass="PHPUnit_Runner_StandardTestSuiteLoader" Original post I’ve been fighting for two evenings trying to get PHPUnit working. I have...
June, 3 2011 • 8 Comments • 0 Faves
I went to Iceland. For those of you who want to see some photos, here are a random few that won't get me in trouble with Kerry for posting pictures of her on the internet...
December, 22 2010 • 1 Comment • 0 Faves
I wanted to learn Java so I could get on with some Android programming. I’ll try to cover everything that someone who only knows PHP would need to know to get to grips with Java. Have a quick read of this and it’ll answer a few questions you might have along the way. Java is strongly typed Something you might not be used to is the concept of “declaring” a variable. In Java you must declare a variable first. DatabaseRecord foo; foo = new DatabaseRecord(); On line 1 you declare the variable specifying its...
December, 22 2010 • 0 Comments • 0 Faves
I like shoving little methods in my bash ~/.profile ... to complete the laziness I added tab auto-completion.Create a method that generates the tab options then use "complete" to assign it to your custom method: # a method which returns all my project dirs via COMPREPLY - note the use of # compgen and ls /clients within backticks, that's where you want to do # your own thang function _clientdirs() { local curw COMPREPLY=() curw=${COMP_WORDS[COMP_CWORD]} COMPREPLY=($(compgen -W...
December, 22 2010 • 0 Comments • 0 Faves
NOTICE: I have made a more up-to-date tutorial. If you prefer, you can still follow this post. However I'd recommend you give my new setup a try - you'll find it at The Perfect Windows 7 LAMP using Ubuntu and Virtualbox. This post tells you to mount in a nasty way and uses virtualbox's Shared Folders feature which I find problematic. A few steps on getting yourself set up with an Ubuntu LAMP running in VirtualBox, sharing your internet connection in a way which keeps it portable (so it'll work on your laptop regardless...
December, 10 2010 • 1 Comment • 0 Faves
Acer apparently "dont support" Windows 7 or Windows Vista drivers on my Acer 3020. After spending a while browsing around for drivers, I found Acer 3020 Vista drivers. They work great on Windows 7. Acer 3020 Windows Vista & Windows 7 drivers: ftp://ftp.support.acer-euro.com/notebook/aspire_3020/vista/ Acer 3000 Windows Vista & Windows 7 drivers: ftp://ftp.support.acer-euro.com/notebook/aspire_3000/vista/ Acer 5020 Windows Vista & Windows 7 drivers: ftp://ftp.support.acer-euro.com/notebook/aspire_5020/vista...
December, 26 2009 • 1 Comment • 0 Faves
# Install Apache2 sudo apt-get install apache2 sudo /etc/init.d/apache2 start sudo /etc/init.d/apache2 stop # Install PHP5 and the PHP5-CLI sudo apt-get install php5 libapache2-mod-php5 php5-cli sudo /etc/init.d/apache2 restart # Install MySQL sudo apt-get install mysql-server # ... and the php/apache mysql gubbins. Also phpMyAdmin. sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin sudo /etc/init.d/apache2 restart # Install rewrite module sudo a2enmod rewrite sudo /etc/init.d/apache2 restart...
December, 20 2009 • 0 Comments • 0 Faves