Thursday, September 13, 2012


Once again, I realized that there is nothing better (at least currently) rather than HTC/Samsung and Android-based devices.

Anyway, want to see iPhone 6, 7, 8, 9, 10+?

Thursday, September 6, 2012

Mac Book Air

Is the Mac Book Air (13") is so cool looking, works real fast and is a very light/thin device?

...direction: rtl

When you output a lot of text information in HTML pages you may need to truncate some words. A smart thing to do is to use CSS3 text-overflow property. For example: to get text truncated like "Here is a long te..." you would code:

<span class="truncate">Here is a long text information.</span>

SPAN.truncate {
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;

Sometimes you may need to cut text from left side to get something like "...a long text information". This is easy to do using the "direction: rtl" CSS property. Add another class which will define alternate truncation side:

SPAN.truncate.left {
    direction: rtl;

Usage for the above CSS class:
<span class="truncate left">Here is a long text information.</span>

Fighting with old code

Some people prefer to use old outdated scripts even if there are good modern alternatives are available. Such code can be is very dangerous from security standpoint. Nevertheless, reasonable sense does not work for them. Today we had to fix issue with the MultiCart ( script which uses session_register() function to work with sessions. The problem is that this function is not available in PHP 5.4.

Monday, August 27, 2012

Midnight Commander and other linux stuff on Mac OS

I recently started using Mac as my secondary laptop but after a few days of being a "mac user" I was really missing the mc (Midnight Commander) command-line utility. Here is a quick guide how to install it in Mac OS (tested under Mac OS version 10.8.1).

Saturday, August 25, 2012



I am continuing to share my experience with bug tracking systems started here. The second BT in my list — BugZilla. This is a free and open source product written in Perl. it's a very popular system used by big guys (Mozilla, Gnome, Apache, etc.)

Wednesday, August 22, 2012

World's Smallest Web Server

webACE is the smallest web server in the world. Isn't this awesome?

More info about webACE here:

Popular Posts