Paul - The Programmer

simple & stupid

The Impossible Dream

   To dream the impossible dream

    To fight the unbeatable foe

    To bear with unbearable sorrow

    To run where the brave dare not go.

    To right the unrightable wrong

    To be better far than you are

    To try when your arms are too weary

    To reach the unreachable star   

    This is my quest, to follow that star,   

    No matter how hopeless, no matter how far

    To be willing to give when there’’s no more to give

    To be willing to die so that honor and justice may live

    And I know if I”ll only be true to this glorious quest

    That my heart will lie peaceful and calm when I”m laid to my rest

    And the world will be better for this

    That one man scorned and covered with scars

    Still strove with his last ounce of courage

    To reach the unreachable star.

My Firefox was fucked by the "www.114.com.cn"

The story begins with I want to try the Powershell this weekend. But somehow the windows updater can not get the Powershell patch from microsoft official webpage.  So I decide to download the Powershell by myself from some software sharing website.

Anyway, I managed to install myself powershell. Everything looks good until I lunch my firefox. The Firefox always connects to that garbage website I mentioned in the title. Well, obviously that powershell installation package is not as clean as I wish. Somthing changed my Firefox configuration! I guess my system is not be infected any virus or worm. Since the anti-virus firewall didn't rise any alarm during the powershell installation.

The guys on the internet point out this kind of jerk website usally change the starup command of your appliction shortcut. So when you start the IE/Firefox, the application will open that webpage.

So, after a quick check, I found my Firefox shortcut starup command has been changed to "Firefox.exe www.that-stupid-jerk-website.com.cn".  The same to the IE, even though I seldom use it.

After recover the startup  command, my Firefox finally get rid of that stupid website.

Fuck them again.  All the thing they can produce is garbage.

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 port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx.

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 addons.mozilla.org/en-US/firefox/addon/1879.        

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 code.google.com/p/android-x86/.  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.

 

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.

http://linuxgazette.net/167/brownss.html