Some hardware just don’t work with ehci_hcd on Karmic Koala. My memory stick from transcend refused to work no matter what I did. After plugging the device nothing happened, doing dmesg showed me the following error: Apr 18 10:59:04 dpac-laptop kernel: [73668.388060] usb 1-2: new high speed USB device using ehci_hcd and address 5 Apr… Continue reading [Solved] Unable to enumerate USB device (Disabling ehci_hcd)
Month: April 2010
13 cool themes for Linux
Those of who are bored of the dull themes of Linux, I found 13 cool new themes for Linux. Bisigi Themes provide 13 free themes, each has its own icon-set, wallpaper, and color scheme. Just a few terminal commands are needed to install them. Installation instructions of Bisigi Themes Few people have complained that the… Continue reading 13 cool themes for Linux
Passing variable number of arguments to a function in PHP
We all know about functions and how we can pass arguments to it. But did you know that we can pass variable number of arguments in a function? Consider a function sum() which adds numbers passed into its arguments. Now we want it to add all the numbers passed onto the arguments. Eg; if we… Continue reading Passing variable number of arguments to a function in PHP
[Solved] Unable to boot due to GNOME Power Manager error
If you are getting the following error while booting into ubuntu, its most likely due to low disk space in root drive: “The configuration defaults for GNOME Power Manager have not been installed correctly. Please contact your computer administrator.” Behavior: After you enter the password on login screen, it takes you back to login screen… Continue reading [Solved] Unable to boot due to GNOME Power Manager error
[Solved] ‘Public key is not available’ error on apt-get update in Ubuntu
I came across this error while doing sudo apt-get update W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5A9BF3BB4E5E19B8 W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9ABD05E22847688C This made me… Continue reading [Solved] ‘Public key is not available’ error on apt-get update in Ubuntu
[HOW-TO] Back up all MySQL databases
To backup all or some of your MySQL databases, you’ll need mysqldump which comes bundled with mysql. If you have MySQL installed, you probably have mysqldump installed already. To backup all databases use the following command: In linux: mysqldump -uroot -ppassword –all-databases | gzip > /media/disk-2/db.sql.gz In Windows: mysqldump -uroot -ppassword –all-databases > db.sql This… Continue reading [HOW-TO] Back up all MySQL databases
Find PageRank of all outbound and multiple links
Latest Google PageRank update was on April 3rd 2010, that is 2 days back. I wanted to check out the PR of all my subpages as well. However, I was too lazy to check one by one. I had 2 solutions for this. Either make a PHP-curl script and put all the links in a… Continue reading Find PageRank of all outbound and multiple links