New website!

After a night of (not so)solid coding I’ve finally made me website usable again.

The reason I never really updated my old blog was that it was such a hassle to post something that didn’t break something else, for example if I wanted to post a nice chunk of code (which I love doing) I had to spend ages making sure it wouldn’t be parsed as actual code or that it didn’t break my post script due to quotation marks etc.

My new design is very much a “back to basics” design. I’ve decided to basically put some text on a page and make it look a bit nice.
All of the pages are static php pages that I will update via ftp or ssh. I messed about with the idea of using WordPress for entire site but I’ve tried it in the past and it never worked out (editing the themes got too boring).

I decided not to use images because I really couldn’t be bothered, instead I decided to go crazy with sIFR.

The thing I love most about my new design is that I can easily post highlighted code without anything being broken! amazing!

Stock foundStock = null;

for (int i = 0; i < stockIndex; i++)
{
    String searchString = stockListLL.get (i).toString ();
    if (searchString.startsWith (searchStr))
    {
	foundStock = stockListLL.get (i);
    }
}
return foundStock;

I’ve also setup TextMate to be my blog writing tool which means I can write, edit and upload my new entries much easier than going through WordPress. It also means I can create text snippet to make my life easier (I made a ‘code’ tab trigger that spits out the code needed to highlight stuff)

All I need to do now is finish out some of the static pages (resume and portfolio) and make the comments look a bit nicer.

Just for fun here’s a picture that I uploaded by dragging it into TextMate.

TextMate Blogging

Buying a mac really has made my life so much more enjoyable!

3 Comments »