CSS sprites are pretty useful in web development. The general idea is you use one big image that contains all your icons and other interface-related images and use that image as a background for your HTML elements, shifting it’s position such that the right portion of the sprite is displayed. This technique is becoming more […]
One of the most confusing topics ever in web development history is character sets. MySQL has a lot of features to help you with this, but when things go wrong, it can be a real pain to get it solved. Read this and fear no more.
So, I thought I’d devise a websocket server in Python. I’ve been tweeting some stuff about that too, but as soon as I wanted to publish the source code, I accidentally deleted websocket.py, instead of websocket.pyc (which I didn’t want to occur on github). That was quite dumb…
In openbox, you have a configuration file in ~/.config/openbox/rc.xml in which you can pretty much configure all the shortcuts you need in a lifetime. Here’s my top ten configurations, along with their code.
A taxonomy is an ordered, parent-child (or ‘tree’) structure, used to classify a set of data in groups and subgroups. Any relation to a subgroup implies a relation with the parent group(s). This phenomenon is also called classification, but has recently been popularly called “tagging”. However, though tagging implies taxonomy, not all taxonomy is tagging. […]
I made the switch from Debian Unstable to Arch Linux for my home desktop a few weeks back. I’m both impressed and pleased.
I love Python. It is clean, it simple and it evolves in a natural and healthy way. I have been working with PHP for over 10 years now, but Python stole my heart. Ahhhww 😛
A simple jQuery plugin to let the CSS handle resolution dependent content – jQuery.classBySize(). This little plugin maps the current document’s size to classnames applied to the element the plugin is used on.
After a while spent on tweakblogs.net, I have to say, a combination of WordPress, Markdown and GeSHi surely feels better than typing the BB codes that have even earned theirselves the special acronym RML. I’m making the great escape, and am definitely feeling that the combination of tools mentioned above are gonna help keeping things […]
Ever since PHP5 came out, there is some need to run multiple PHP versions on your local development box, or at least make it easy to switch from one version to another. Derick Rethans has posted a solution based on your PATH environment variable. I have devised an alternative approach which changes the system wide […]