Posts

URL Validator

URL Validator using .Net Download source code

Upgrade packages that have been kept back

After upgrading to Ubuntu 9.04 I found something not upgraded when I work with apt-get commands.

Flash on Firefox (For Ubuntu 9.04 AMD64)

swfdec/gnash does not work well with BBC iplayer. So I decided to remove them. Also the default flash comes with the software repository doesn't work. I removed them all. sudo apt-get remove swfdec-mozilla sudo apt-get remove mozilla-plugin-gnash sudo apt-get remove flashplugin-nonfree Then reinstalled the Flash plugin nonfree with official flash plugin (amd64) unzip and save the file into ~/.mozilla/plugins (create this folder if doesn't exist).

Ubuntu upgrade

Ubuntu upgrade from 8.10 to 9.04 was very successful and straightforward. Everything started normally except VMWare. When I run VMWare on console it returns: $ vmware Logging to /tmp/vmware-ubuntu/setup-15021.log modinfo: could not find module vmmon modinfo: could not find module vmnet modinfo: could not find module vmblock modinfo: could not find module vmci modinfo: could not find module vsock modinfo: could not find module vmmon modinfo: could not find module vmnet modinfo: could not find module vmblock modinfo: could not find module vmci modinfo: could not find module vsock Segmentation fault I thought it was the same problem as before when the kernel is updated. So I ran the setup program again with root account. The bundle program uninstalled and reinstalled VMWare for me. However the result was the same, it didn't solve the problem. After research on Internet I found the following solution that worked for me: sudo mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/bin...

A web based tool to test GFW of China

Well, this is a quite useful tool for web masters like me, especially when the major audiences are from China.

Time sync in Vista and Ubuntu

In a dual boot system Ubuntu time is set to UTC by default. The display time on Linux desktop is calculated based on the UTC (GMT) time of BIOS. Vista uses BIOS' time as local time, thus lead to incorrect reading for LT. To solve this issue use a favorite editor tool to edit /etc/default/rcS and change UTC=yes to UTC=no so that BIOS' time is set to local time rather than UTC.

Fix Vista MBR which was previously managed by Grub

It's automatic, maybe the Active flag of the partition do the trick. While Grub try to take over MBR and the snippiest points the rest of boot sequence to the destinated partition, to restore MBR for Vista is fairly quick and easy. Take out your DVD installation disk, boot from it and choose system mantenance. In command line interface, type: bootrec / fixboot bootrec / fixmbr That's it. Now you can restart your PC, take out installation DVD and it should boot directly to Vista.