Tuesday, March 29, 2011

Daily dilbert on firefox 4

The extension i missed the most after upgrading to firefox 4 is daily dilbert. This extension has not been updated for quite sometime, so i decided to give it a try by forcing it to install of 4.0. One way is to disable compatibility checking in firefox, but i decided to modify the extension to claim as supporting firefox 4.0. Below are the steps for linux

  • Download daily dilbert extension for 3.6 (using older firefox or any other browser like chrome/opera)
  • From terminal execute the following steps
  • mkdir daily.dilbert
  • cp daily_dilbert-2.6-fx.xpi daily.dilbert
  • cd daily.dilbert
  • unzip daily_dilbert-2.6-fx.xpi
  • Use vim or any other editor to edit install.rdf and change 3.6.* to 4.0.*
  • zip daily_dilbert-2.6-fx.xpi install.rdf  # this will update the zip file with new install.rdf
  • Install the xpi in firefox
I have used it a few times and have not faced any problems

Monday, March 28, 2011

Add/remove programs windows is blank/waiting

I have had problem of Add/remove programs being stuck, in creating list of applications. After searching through microsoft site none of the solutions offered fixed the problem

Finally a solution on tom's hardware had the fix, which is was due to invalid path of java

http://www.tomshardware.com/forum/85414-45-remove-programs-program-open

The exact key may be different, but in HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Current Version/Uninstall there should a key for java which has '\\' instead of a single slash. Once this has been changed add/remove dialog opens fine.

Install GPG key on ubuntu bypassing firewall

If you are seeing error while adding a repo to ubuntu, because you are behind some stupid firewall which is not allowing accessing port 11371

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv B34505EA326FEAEA07E3618DEF4186FE247510BE
gpg: requesting key 247510BE from hkp server keyserver.ubuntu.com
gpgkeys: HTTP fetch error 7: couldn't connect to host
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

then you download the key manually from the website and add it to ubuntu. Go to anonymouse.org and visit http://keyserver.ubuntu.com:11371 through the proxy site

Search for the corresponding key on the server as 0x247510BE and download the key, and save it to a text file on local system

Key should be something like below 


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.0.10

mI0ESYo68wEEAKSgKJImCQIcSP/b+24TS0NYzxpf5Y34WOfQBaGpTVhkSXx2TCcF+kC0P3zz
wAsrvL8AULpr2Ww33ahnQ7Cg3kzBxTneo6jdvQOBwshSHMey/PhBAu0ew9zrt/OuKToMJY2h
0TRA2EG6OfcTA8LOm1wkWWadTUG+fqduKKeHDmjdABEBAAG0MUxhdW5jaHBhZCBQUEEgZm9y
IFVidW50dSBNb3ppbGxhIERhaWx5IEJ1aWxkIFRlYW2IXgQQEQgABgUCTSOx/wAKCRD8kg8z
/8ZzxIhpAP9ECWs+m6W/QRysu9APd93yPic08GnN82XFZ/6Zf8oXrgEAruIdOrqeWzvqv1OT
pFo/9ApgjkG98wSSk5AsL5RDHvKItgQTAQIAIAUCSYo68wIbAwYLCQgHAwIEFQIIAwQWAgMB
Ah4BAheAAAoJEO9Bhv4kdRC+2KED/3F9TudOsjvGfeIevqUsOXocd3CQTGJMGu3YevuiBk+l
rGj0EHi9MZ7yq3vi4ZVFoFairUhedQ6iuLrug301CkVNKSYwhwQzQRVkG0b8XqIAqg2UKlPe
JD6nYoEncZNZkD0RHLDAM3Ii/PN1znMKyRZfWKI7MY1IPbECFXFQTv6I
=exAf
-----END PGP PUBLIC KEY BLOCK-----
Then add the key to ubuntu using 'sudo apt-key add ' and then run 'sudo apt-get update' to update the repository which should accept the key

Sunday, March 27, 2011

ubuntu in.archive.ubuntu.com server slow

Its been an problem for a long time, every time i run apt-get update, updating from in.archive.ubuntu.com takes a very long time sometimes it even fails. Even though it is the closest mirror it doesn't seem to be having the requiring bandwidth, so i switch to using jp.archive.ubuntu.com. Now its pretty good.

Graeme smith : Interview after loss in 2011 World cup

Resume broken downloads in firefox

After scourging through to resume a broken (downloaded 200MB of 800MB, and desperate not to download from beginning), found a very useful technique at

http://www.moddb.com/forum/thread/broken-download-solution-for-firefox-users

The idea is simple

1- you have two files on the destination folder. One with the original name and one with an extra ".PART" extension. Move both of these files to some other folder (Move! not copy)
2- Start your download again from the beginning (you have access to the download link, don't you?)
3- Let it download a few bytes, just to have those two files created again, with the exact same name. Now PAUSE this download.
4- Go to the folder where you backed up those old files. Copy both of these files to your download folder and replace the new created files when asked.
5- Now go to Firefox's Downloads form and resume the download.

SA vs Australia 434 vs 438 match

Searched for some time to find the full match video, but everywhere there just seem to be highlights. None of these highlights reflect the real match tension we had watching it live in college. It was incredible, the all action game.
The best copy i could find on the net is at http://www.desipad.com/odi-one-day-innings-videos/87799-south-africa-vs-australia-2005-06-5th-odi-434-438-match.html

http://www.megaupload.com/?d=M9P949Z0 (australia innings) (1:30 min)
http://www.megaupload.com/?d=ANAF5GC5 (SA innings)