Tuesday, March 20, 2007

Jad - the fast JAva Decompiler

I have started to work for ziqiang.net. It is a pleasant job for me but some source code badly needed is missing. Now I only have some compiled class files at hand. I'm thirsty for a decompiler.

Fortunately, I found jad, an execllent decompiler.

1. You can download it form here.
I am using Linux and hate to solve dependence problems manually, so I downloaded Jad 1.5.8e for Linux (statically linked).

2. Just untar it to a location as you wish.
Make sure that the location is in your PATH variable.

3.add alias jad="jad -sjava " to ~/.bashrc (or any other inital file for your shell)
If not, you have to run jad with arguement -sjava to decompile classes.

Tuesday, March 13, 2007

Install Linux on HP Jornada 690

I have bought a second hand HP Jornada 690 pda from taobao.com. Maybe it's completely a waste in the views of many people, but I consider it a treature.

The original OS of 690 is WinCE2.1 whose function is limited for it is out-of-date. I am wondering if Linux can run on it. If so, I will be enabled to do more. Fortunately, my need can be easily met by many volunteers' work.

OK, let's start the fantastic journey.

1. Download JLime, a GNU/Linux for 690
Download it from http://www.jlime.com/. (If your machine is 720, please select Mongo. Here I downloaded Donkey)

2.Extract it to your CF card.
Notice:file userland.tar.bz2 contains all the apps and config files. The original GUI in it is Opie. But it is very slow, even slower than WinCE! So I recommend you to download a userland contains IceWM form http://devfiles.jlime.com/Userlands/ . Once you get this file, replace the userland.tar.bz2 with it and rename it ro userland.tar.bz2 .

3.Run shlo.exe in your WinCE which will guide you all the way to JLime!
Notice: When it comes to the partition window, you'd better choose Manual Partition for the Automatic one may cause crash.

If you are using a HP690, you should enable 32MB mode for a better preformance.


4.Now a pda with Linux is right in front of you! Enjoy.

Opie


IceWM_1

IcwWM_2

Sunday, March 11, 2007

FTP Client Plugin For Firefox

https://addons.mozilla.org/firefox/684/

Watch Online Video Clips With Firefox

1.Download and install MediaPlayerConnectivity for Firefox:
https://addons.mozilla.org/firefox/446/

2.Specify different applications for different file types in menu:
Tools->MediaPlayerConnectivity->Configure..

PS: Now I can watch CCTV News at Xinhua video.

Thursday, March 8, 2007

How do I configure Gaim for Google Talk?

Once you download Gaim, you'll need to configure your client to connect to the Google Talk service. If you're connecting with a Google Apps account, please read the specific instructions in the Google Apps Help Center.

To configure your account:

  1. Open Gaim.
  2. Click Accounts at the bottom of the login page.



  3. Click Add from the Accounts window.



  4. Enter the following information in the Add Account window:

    • Protocol: Jabber
    • Screen Name: your Google Talk username (without any @ symbol or domain).
    • Server: gmail.com
    • If you're signing in with a Google Account that's not linked to any Google email service, enter gmail.com
    • Google Mail accounts should enter googlemail.com
    • Google Apps users, please visit the Apps Help Center for instructions.
    • Password: we suggest leaving this field blank for increased security, but if you'd like to log in automatically, enter your password
    • Alias: leave this field blank
    • Remember password: check the box if you'd like Gaim to remember your password (you won't be prompted to enter it each time you log in, if you select this option)
    • Auto-login: check the box if you'd like to connect to the Google Talk service each time you use Gaim

  5. Click the + next to Show more options.
  6. Enter the following information in the section that appears:

    • Jabber Options: Select Use TLS if available and leave the other boxes unchecked.
    • Port: 5222
    • Connect server: talk.google.com
    • Proxy type: Use Global Proxy Settings



  7. Click Save.
Congratulations! You're now ready to connect to the Google Talk service using Gaim.

Have questions about Gaim? Learn from the experts! Check out Gaim's FAQs. The Google Talk Team can only assist you in configuring your client to work with the Talk service.

Wednesday, February 14, 2007

Replace Scim With Fcitx

There is something wrong with scim. I found suprisely that it can not work well with firefox. Awful thing... So I replaced it with Fcitx.

1. Install Fcitx
2. Replace string scim in /etc/X11/xim.d/scim with string fcitx

Monday, February 12, 2007

Last Night in University

Chch101 leaves this morning, so does PangShapeng in the afternoon, which leaves me alone
in the dormitory. It is so quiet that I feel as if I were sharing the whole college with nobody.
I will leave tomorrow afternoon. Oh~My winter vocation begins.