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 [...]
Category: Web Design |
38 Comments »
Tags: CSS tips, Oredered List Counter Reset, Styling Ordered lists, Web Design
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 [...]
Category: Programming, Ruby & Rails |
4 Comments »
Tags: Amazon on Rails, Creating Amazon on Rails app, Ruby on Rails
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.
Category: PHP, Resources and Links |
3 Comments »
Tags: PHP, PHP Thumbnailer
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 [...]
Category: Resources and Links, Web Design |
2 Comments »
Tags: CSS, CSS Zen Garden
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 [...]
Category: News, Resources and Links |
No Comments »
Tags: Linux, Operating Systems, Ubuntu
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 [...]
Category: News |
10 Comments »
Tags: Amazon
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 [...]
Category: 1280x800 Wallpapers |
13 Comments »
Tags: 1280x800 Wallpapers, Wallpapers, Widescreen Wallpapers
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 [...]
Category: Web |
1 Comment »
Tags:
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 [...]
Category: Programming |
30 Comments »
Tags: Add new tag, MySQL
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 [...]
Category: Web |
No Comments »
Tags: Web Applications