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.

File Operations in Java

File:


FileInputStream:


BufferedReader
:

Wednesday, February 7, 2007

IP Address in LumaQQ

Copy QQWry.dat to ~/.lumaqq2006
or
Make a symbol link.

Tuesday, February 6, 2007

Setting up Gvim

~/.vimrc

Enable highlight for source codes:
syntax enable

Set the number of spaces for a TAB:
set tabstop=4

Display line numbers:
set nu

Auto indent:
set autoindent

Print with line numbers:
set printoptions=number:y

Now, my .vimrc:
syntax enable
set tabstop=4
set autoindent
set nu

Lv.40 in WOW

My little human warlock reached his level 40 today. Now he can ride horse happily.

Sunday, February 4, 2007

VLC Player Runs on My openSUSE

I have installed VLC player. It's really a cool tool which can meet all my demands.


Thursday, February 1, 2007

Fast openSUSE Mirrors

Fucking mirror in Japan:
http://ftp.novell.co.jp/pub/opensuse/distribution/

A fast mirror in g=Germany
http://packman.iu-bremen.de/

Another fast Mirror in Austria:
http://packman.inode.at/

Exams End

I finished the last exam which means my vocation started.
Maybe another good time to study?

Wednesday, January 31, 2007

An Excellent YaST Source for openSUSE10.2

http://packman.inode.at/

I find it today. It is really cool!!!

Math Passed

My Math passed. Wow...

Sunday, January 28, 2007

BT Client

I downloaded the latest Azureus, an excellent BT client software. Then I enabled port needed by it in firewall.
I tried downloading a movie form greedland.com. It was so fast. So cool!

Friday, January 26, 2007

Java Progress:extends


//Name:Extends
//Description:Practise using extends
//Auther:CrackCell
//Date:26-Jan-07

class Human{
String name=null;
int sex; //0=male,1=female
Human(){
System.out.println("Human");
}
}

class Student extends Human{
String studentID;
Student(){
System.out.println("Student.");
}
}

public class Extends{
public static void main(String[] args){
Student S1=new Student();
S1.name="TanMenglong";
S1.sex=0;
S1.studentID="200632580051";
System.out.println(S1.name);
}
}

Bought a book

I went to Guanggu Book Store to buy books with ZhangYaqian, YangZiqing, LiuYu and WangFei today. I bought Data Structure and Alogrithms in Java. It will be useful in winter vocation. The other bought some wonderful books, such as WangFei's C++ Primer and YangZiqing's Operating System Design.

Thursday, January 25, 2007

Math Exam

We dumped the annoying Math exam yesterday. I didn't do well in it, so I am afraid of losing marks from it. But at least I can enjoy a free time right now without worrying about anything.
God blesses me!