Paul - The Programmer

simple & stupid

I'm coming out only to show you're wrong

Play wmv video in Firefox

Since the wmv files is only supported by the windows media player.  The firefox does not support the wmv files directly. Fortunately there is an addon can let the firefox recongnize the wmv video in the web page and play it with windows meida player Firefox plugin.

Here are the steps I took for playing windows media player video / audio in Firefox.

  • Install the windows media player Firefox plugin.

Download the installation package from the web page

Of cause, it's always recommended keep the Firefox shutdown while the installation.

  • Install the Firefox addon MediaWrap. We count it to translate the ActiveX  for the window meida player Firefox plugin

Install the addon from the web page        

That's all. After a quick restart of the Firefox, you can enjoy the wmv videos with Firefox.


Android-x86 on EEEPC 701

Finally got some fancy thing to update. I have the android running on my netbook!

I am amazed how easy the installation is. I followed the instructures precisely. No suprising thing happend during the procedures.

Thanks to the team  They have done a great job.

Only one thing needs to be clearified.  Since I am using the XP, the apk installation instructures is a little different than they are described on the official site. To install the apk, we need to ..

On android:

  • Settings -> Unknown sources.   Allow the android to install non-market applications
  •  Settings->Wireless controls->Wi-Fi settings.  Click  the Wi-Fi network (below the Text Label Wi-Fi networks) you connected to check the ip address of your android device.

On you host: 

  • set ADBHOST=<android-x86 ip address>
  • adb kill-server
  • adb install <your apk file name>

Enjoy the Android! Thanks to the team android-x86 again.


find & insert new line with VIM

:%s/$/\rthis is a new line/g

\r is the new line character in VIM.

nice to know, installation instructure of QQ on Linux

QQ is the most popular IM client in China. It's always make me feel frustrated for it's installation on Linux.  Hope this guide would be helpful.

BTW. It's from a Chinese learner.