Update RubyGems on Ubuntu 9.04 (Jaunty)

Posted on the 10th of January 2010

Happy new year everyone! It has been a bit silent from my side lately – due to being extremely busy with new job and so on. Yesterday I took the freedom to setup a new Linode on their recently added London datacenters. I’m from Europe myself so I thought that using a EU host would probably give me a lot better performance. I was right.

I then decided to check out Ubuntu 9.04 Jaunty. But ran in to a problem when I wanted to update the RubyGems installation. But after playing around a little I found the following solution:

gem install rubygems-update
cd /var/lib/gems/1.8/bin
./update_rubygems

That solved the problem :)


18 Impressive Web Form Validation Scripts

Posted on the 18th of November 2009

This post is related to my jQuery tutorial about simple form validation I wrote the other day. dzineblog has a post about 18 Impressive Web Form Validation Scripts to Enhance User Experience. I thought that that would be worth mentioning, since I can see I get a lot of hits on form validation these days.

posted in Development, Javascript

jQuery: Clientside Form validation

Posted on the 11th of November 2009

This is the first tutorial of many, which covers jQuery. My favorite javascript library. In this post we will cover how to create a simple form client-side validation script.

Read more…

posted in Javascript, Usability

Eric Tan’s retro/vintage posters

Posted on the 04th of November 2009

I’m a big fan of vintage and retro inspired art. I just stumbled upon a cool post over at Slashfilms featuring some of Eric Tan’s retro poster creations and they are indeed worth a look! These posters reminded me of some of the ones art.com has on sale from US cities. One example is this poster of San Francisco which I have been looking at for quite some time hoping it will hang on my wall one day – a great amount of other vintage posters can be found in art.com’s vintage section

posted in Art

PHP: Send mail the simple way

Posted on the 31st of October 2009

One of the fun things of doing web programming, is when you make something that isn’t just visual appealing – but also gives you responds and integrate with other things. In this post I will give a tiny very simple example on how to send a basic text email using PHP.

Read more…

posted in Development, PHP

Firebug for on-the-fly CSS editing

Posted on the 28th of October 2009

I doubt there is a lot of people who doesn’t know the small Firefox add-on, Firebug. Anyway.. I think it deserve to be mentioned as it is a – for me – frequently used tool in my (small) arsenal of tools I use when I work with web design and development.

Read more…

posted in Design, Tools

PHP: Data Access Objects part 1

Posted on the 28th of October 2009

In this post I will cover the use of Data Access Objects (DAO) in PHP. The primary goal by doing so is greater abstraction by seperating the layers as well as covering some of the new techniques of PHP5. It will also come as a great help for you who create massive database web-applications which often result in a lot of duplicate code.

Read more…

posted in Development, PHP