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+?
Visit: www.future-iphone.com
comrade developer
A blog about development, development tools, IT industry and everything related.
Thursday, September 13, 2012
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:
HTML
CSS
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:
CSS
Usage for the above CSS class:
HTML
<span class="truncate">Here is a long text information.</span>
CSS
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:
CSS
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 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
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: http://d116.com/ace/
Subscribe to:
Posts (Atom)
