Category: Web-related

Apache and umask 002

I ran into a problem with Apache on Centos 6. For some time, I was the only person who had access to this particular machine so permissions were not a problem. However, now that somebody else is taking care of the website

Tagged with: , , , ,

Gettext translations

Gettext is a great way to localize and internationalize (simply put, to translate) your (web)applications. It’s especially useful when you’re building a multi-language application because you can separate the code from the translation process effectively. all strings that need to

Tagged with: , ,

Yii CRUD generator and plural forms

Yii framework has a really nice CRUD generator that can speed up building back-end applications, which tend to be rather similar and therefore repetitive. If you prepare reasonable taxonomy of the underlying database tables, it also manages the page headers

Tagged with: , ,

Check the WordPress version of several sites at once

I’ve got this blog of mine where I log in every now and then, so whenever there is a new version of WordPress, I see the update reminder message. There is, however, over a dozen other blogs under my wings

Tagged with: , ,

Delete huge amount of files in a directory

I had this peculiar problem – one of my virtual hosts had a custom tmp directory where sessions were stored and not deleted for a long time. When I found out, the number of files in there already posed a

Tagged with: , ,

Fixed background and animation

I ran into a peculiar problem while designing a website for my client. They had professional photos taken and I liked them very much, so I decided I would use them as a fixed background that would stretch to the

Tagged with: , , , , ,

MySql – get names of columns and put them in an array

Sometimes I need to get all the names of the columns in an sql table, most often to use the names of the columns as names of variables as it’s easier to use than simple $row[1], $row[2], etc. Let’s take

Tagged with: ,

Firefox 4 and IE 9 – testing Javascript speed

comparison of IE 9, FF 4, and Chrome from the Javascript performance point of view

Tagged with: ,
Top