Saturday, September 6, 2008

Dont dump your PC !!

Today Times of India includes a article about dumping of e-waste. It says that most of e-waste is recycled in an hazardous way. I completely agree with the article and we should all be responsible for what we are doing for the environment. So thought of noting the phone numbers mentioned. Here are the phone numbers for my reference as well as all bangaloreans:
Ash Recyclers: 25548037
E-Parisara: 28360902

Karnataka state pollution control board: 25589112

Friday, September 5, 2008

Reorder tasks in task bar

You can now reorder tasks bar buttons as you wish using taskix. It's freely available for download. :)

If you want to download it check out following URL:
http://taskix.robustit.com/

Courtesy:
Lifehacker.

Saturday, August 9, 2008

Apache RTR 160 CC - July 2008 model

I bought myself Apache RTR a month back, today was day for getting it serviced from the vendor where I purchased it. When I collected my bike after servicing, the quality of work that was not satisfactory for me. The reason I arrived at this is because these service guys did not know anything of features provided like Service reminder indicator lamp. They said they are done with the service, but still I could see that service reminder indicator lamp was still blinks right after keys are turned on. When I asked about that he says that it is like that only. He was trying to convince me that it will always be like that. I showed him the para which describes about it. I don't think he can read also. He just ignored to readout what I was showing. I do not know how to get this resolved. They have asked me to come back tomorrow to get it resolved. Lets see if they can get it resolved.

Thursday, August 7, 2008

Friday, August 1, 2008

ssh-agent

Found this interesting link, which I have been looking for some time now. I have searched in manual pages about this, but didn't find any. I can use this for my own reference as well.

http://www.webmonkey.com/tutorial/Automate_a_Remote_Login_Using_SSH-Agent

Thursday, July 31, 2008

Yet another viper

In Linux/Unix world two editors are raging war on each other. Some say emacs is the best editor and others say vi is the best editor. Google for "vi+emacs", you will see tons of blogs posted, supported there own favored editor. I, on the other side don't support either of them, and yes, I have used both of them. I feel both of these editors have there own advantages and disadvantages. So, for some time I have been searching for a editor which supports switching between these two editor modes dynamically. 'Viper' is one such package which can be used to emulate 'vi' like functionality within emacs. You can also use emacs commands in insert mode if you know any. I think there is a similar add-on available for 'vi' also. If I find one I will get it posted here, for your and my reference.

Friday, July 18, 2008

Indiatimes shopping experience

Today I was going through shopping sites that are available in India, I was specifically looking for hand crank radio and flashlights. I first googgled and found couple of good products in amazon. As amazon does not ship products to India I decided to try out searching on some shopping sites available in India. some of the sites I tried are sify shopping, rediff shopping and indiatimes. I did a quick search on sify shopping and rediff shopping it did not return any good products, later I tried out on indiatimes quick search, to my amazement it returned me 320 search results. when I went through absolutely _NONE_ of the search results matched my keyword. I wonder indiatimes shopping has misunderstood the quick search requirement.

Happy shopping!!!

Friday, June 20, 2008

Fetch installed perl package list from commandline

For Redhat Linux there is rpm command with which you can get it by running 'rpm -qa'. And for recent versions we can also use yum. But ever wondered how one can list all perl packages that are installed on a machine, well try the following command.

perl -MExtUtils::Installed -e '$i=ExtUtils::Installed->new();print join "\n",$i->modules();'

Found this in one of perl books. Hope this helps someone who is looking for it.

Tuesday, April 29, 2008

Cool site

Dont know why I lost interest in blogging or something, I just stopping blogging. After seeing one of my friends blog page, I got little enthu to get started with. Okay now lets getting started again.

While going through friends blog I found this interesting site which explains about STUFF. I mean all the stuff that we buy from shopping malls. Just have a look.

http://www.storyofstuff.com/

Thats it for today.

Thursday, January 17, 2008

How to fix your Windows MBR with an Ubuntu liveCD

Original Page referred.

Something happen to a windows Master Boot Record (MBR) that you’re responsible for? Want a very quick, very easy way to restore it with nothing but your craft, native intelligence and a liveCD?

Boot into your Ubuntu LiveCD on the offending machine. Once Ubuntu starts up, go to System -> Administration -> Software Sources and enable (by checking it off) the Universal repository.

Now, open a terminal session (Applications -> Accessories -> Terminal) and type the following:

sudo apt-get install ms-sys

ms-sys is a program used to write Microsoft compatible boot records.

Now you’ll need to figure out what partition is the one hosting your Windows operating system. Back in the command line, type:

sudo fdisk -l

That will list the available partitions. You’re looking for a partition that says something like

/dev/sda1 1 9327 74919096 83 NTFS

The two important bits are the ‘/dev/sda1‘ which is the partition itself and the ‘NTFS‘ which tells us it’s a Windows formatted partition.

We want to fix the MBR, on /dev/sda1. To do so, type:

sudo ms-sys –mbr /dev/sda1

You’ll want to change the ’sda1′ bit if your results from ‘fdisk -l‘ are different.

Once you do that, reboot the machine, removing the LiveCD from the drive and Windows should come back to you.

Sure, you could do this by inserting the correct Windows CD and booting into repair mode from it - but I find the Ubuntu way a bit faster and I’m more likely to have an Ubuntu LiveCD on me than a Windows CD.