Praveen's Blog

An Eternal Quest for Incremental Improvement

I am using Lenovo Thinkpad T60 that has ATI Mobility Radeon X1300 on it. I run Debian GNU/Linux sid on my laptop. Even though I am not extensively using a lot of 3D applications on my laptop, I am forced to use AMD's proprietary fglrx driver so that ...


Xorg 7.3 is now available in Debian sid. I am using fglrx 8.40.4 for my ATI Mobility Radeon X1300. Looks like fglrx 8.40.4 works only with XFree86 4.3 and X.Org 6.7, 6.8, 6.9, 7.0, 7.1, 7.2. When ...


I have just upgraded to Gnome 2.20 in Debian sid. It just got released last Friday (Sep 21). Debian developers have impressed me this time with the speed they brought it to sid. Some packages are not yet available due to some dependencies and other usual stuff. The control ...


I am planning to migrate my primary domain from praveen.ws to kumar.in. As a first step my blog is moved from the old place to here. If you have a direct bookmark to my blog, please update it accordingly. If you have subscribed to my RSS feed through ...


Lenovo Thinkpad T60

I got a new Lenovo Thinkpad T60 from my office. I am amazed to see the difference between this one and my previous laptop, Toshiba Satellite A80. Thinkpad is built so professionaly that I love the look and feel of the laptop. I got an ATI graphics card, fingerprint reader ...


To prevent directory listing in Apache, add the following line to .htaccess in the top level of the directory you want to do it.

Options -Indexes

To allow directory listing for specific subdirectories, you can add the following in the .htaccess of the subdirectory to override the parent directory's ...


Here is an one-liner PHP code for URL redirection instantly.

<?php
  header( 'Location: http://www.yoursite.com/new_page.html' ) ;
?>

Make sure that you don't do send any HTML before doing this. The following is not going to work.

<html>
...
<?php
  header( 'Location: http://www.yoursite.com/new_page.html' ) ;
?>
...
</html>

Disclaimer

The following post is my personal view and my employer, Sun Microsystems should not be held responsible for any content or their consequences.
Sun Streaming System

Whenever my friends asked me about the details of the project that I am working for at Sun Microsystems, I was not able to disclose more ...


One of the most handy features on a GSM phone is the Cell Info display. It shows the name of the current cell that one is hanging out. I was struggling to get it configured on my new Motorola ROKR E6. It was not that straight forward. So, I decided ...