Make OL list start from number different than 1 using CSS

If you need to create an OL list that starts from number different than 1, here is an elegant solution. This is very useful if you need to display a listing on more pages (eg. there are 100 search results, and you want to display 10 results per page). In this case, if you are [...]

Amazon on Rails - search Amazon using Rails and Ruby/Amazon

Currently I am working on my first big Rails application and I needed an simple and quick way to get matching movies and music based on user entered keywords. The best place to get such information is Amazon as they have almost anything in their store.
So I decided to write a small Rails application that [...]

Excellent PHP Thumbnailer Class

I’ve found an excellent PHP Thumbnailer Class which lets you manipulate images easily. Beside usual functions you’d expect from thumbnailer class (such as resize and crop) it also has ability to create thumbnails on the fly or to save them. You can see it in action on PHP Thumbnailer demo page.

Coolest CSS Zen Garden solution ever!

I couldn’t stop laughing once I saw this solution. As you probably know, CSS Zen Garden website is all about one singe XHTML page that designers can dress up using their external CSS. Well, this theme is called Geocites 1996, and it’s a real time machine!

I congratulate Bruce Lawson on this one, he really tried [...]

Ubuntu: xserver-xorg-core version 10.3. breaks the Xserver!

If you updated your xserver-xorg-core recently, then you’re avare that your GUI ain’t working and all you can do is to login without one. Since I am new to Linux, I need some kind of step by step solutions in order to avoid panic.
What you need to do is to update your xserver-xorg-core to a [...]

Amazon.com is down!

Just when I wanted to go shopping on Amazon.com it went down! I know it’s not usual that I write about this kind of things, but hey it’s Amazon.com, one of the top 10 properties on the net. The almighty Amazon was one of the sites I thought I’ll never see going offline. It’s 20:50 [...]

1280×800 Wallpaper for free

UPDATE! We placed all our 1280×800 widescreen wallpapers on one page.
I quickly browsed through the Web to find a good wallpaper for my laptop. Since I coudn’t find any and my personal favorite VladStudio ain’t giving 1280×800 wallpapers for free, I created one of my own.
I used some of my last year drawings, ain’t [...]

Marlboro smokers use IE

Today, I’ve stumbled upon real gem on Daily WTF blog. It appears that people at Marlboro are very concerned with web standards and they want their site to support all browsers… Or not.
As Daily WTF notes when you visit Marlboro.com with FireFox you only get a blank page. This effectively eliminates more than 10% of [...]

MySQL: Get total number of rows when using LIMIT

Every now and then you need to limit the number of rows MySQL returns, i.e. use the LIMIT clause. Result set pagination is by far the most often usage of LIMIT clause, since you usually want to select only rows you’ll be displaying on certain page.
The problem is that for pagination you also need total [...]

Web App Conversion Funnel

When you are building a web application you think that you can presume how people will use it and you build it a certain way. You presume that a lot of visitors will signup for free plan or free trial. You presume that people who register will actually login.
Of course these presumptions are often completely [...]