Thursday, July 9, 2009

Fix Firefox slow startup

Firefox 3 startup sometimes is too slow and takes more than a minute to show up:
To fix this problem do the following:
- Start Firefox3
- Go to Tools Menu >>> Option
- In options window chose Advanced >>> Network Tab >>>
- Click in connection box press Setting button
- (in the new window) chose Manual Proxy Configuration
- Type in the HTTP Proxy Field: 127.0.0.1 and Port: 0
- Click OK
- Click OK
- restart your firefox3

Tuesday, July 7, 2009

Good reference for using Perl modules

http://stein.cshl.org/genome_informatics/chervitz/perl-modules/

Using double colons in using Perl modules

What's up with all the double colons (::)?

The :: corresponds to a filesystem path separator.

A Module called Shape::Rect corresponds to a file named Shape/Rect.pm relative to a module library directory.

Wednesday, July 1, 2009

Using Route command to fix vpn issues

Some networks might not be accessible when connected to vpn, as vpn connection would change
the default routing table to be the first hop in the network route.
You can run tracert command to see the used route

If the route does not lead to destination, route command could be used to fix that.

The "-p" switch would make the selected route persistent.

Run route help to check the available options.

Example: to access vmware machine directly without going through the vpn interface
route add 192.168.226.128 MASK 255.255.255.255 192.168.226.1 IF 2