Archive for the ‘Uncategorized’ Category

Dual Monitors

Thursday, September 4th, 2008

I love dual monitors and it’s a real pleasure having them at work today. I’m thinking about upgrading my setup at home to include two 20″ Dells. One of the best things I’ve discovered is being able to rotate them so that the screen is looooong!

It makes reading online content a lot easier and much more like a newspaper!

Test from Wavelog

Friday, February 8th, 2008

Awesome!

This gets funnier every time I see it

Wednesday, February 6th, 2008

http://xkcd.com/349/

Happy Birthday Lizzie!

Monday, December 3rd, 2007

My Sister turned 18 on Friday so I sorted her out a website.

See it at lizzielaming.com.

Tools Launched

Wednesday, November 14th, 2007

ml_tools.jpg

Today I managed to get two little projects I’ve been playing with finalised. I’m putting them under a new section of my site called ‘tools’ and hopefully I’ll add a few more in the near future. Firstly, I’ve made a useful web safe colour chart for reference. This is nothing special really, but it’s quite cool because the table full of colours has been generated using Javascript and you can easily get the RBG value for the colour by clicking it. I’ve linked to the code from the project page, so feel free to download and have a look.

Secondly, I’ve written a conversion tool that allows you to convert between Decimal, Hexadecimal, Binary and Octal easily. Again, the code is freely available so if you have a need for it, go and download.

I’ve tested these in IE and FF and they both seem fine. There are probably one or two niggly bugs in there somewhere though (I think I remember seeing an integer overflow a few days ago). If you find anything serious please tell me.

Lastly, you can play with them at mikelaming.com/tools.

Blog Moved

Wednesday, November 7th, 2007

I’ve moved my blog from blog.mikelaming.com to mikelaming.com/blog, although the former will still redirect. There were a few reasons for this, none of which are interesting, nor important.

Anyway, for anyone else going through the process of moving a wordpress installation, here are my directions.

  • Copy all your files over to your new server.
  • Create a new database on your new server.
  • Edit wp-config.php and update it with your new database settings.
  • Using phpmyadmin or similar export your database. Make a backup of this incase it all goes wrong.
  • Open the database export sql file and do a find and replace on old url/path, to the new url/path you are migrating to.
  • Upload tables to new database.
  • Go to http://example.com/blog/wp-login.php and change your site options.
  • Make sure you chmod the necessary directories, like ‘uploads’ correctly.
  • Make sure your .htaccess file has been updated too, as to preserve permalink structure.

If this fails, wordpress have a tutorial here.

Happy Halloween!

Wednesday, October 31st, 2007

halloween_07.jpg

CodeColorer Test

Saturday, July 28th, 2007

Just downloaded and installed CodeColorer for wordpress. Lets try it out…

Some PHP:

[cc lang="php" tab_size="2" lines="40"]

function printTest($foo)
{
if($foo)
{
echo("Yay for foo!");
return true;
}
else
{
return false;
}
}

?>
[/cc]