關於我自己

我的相片
New York, New York, United States
我叫江奕賢啦

2005年2月24日

sniffer for wireless network,
I was using Network Stumbler, but it can only do very simple stuff.
I think I'll try AirSnort for WEP and AiroPeek NX or kismet for packets.

2005年2月17日

forget admin's password in xp
press F8 while booting, select safe mode with command line.
select administrator account to login (don't need password)
use "net user owner 123456 /add" to change owner's password to 123456
"net user abcdef 123456 /add" to add a user
"net localgroup administrators abcdef /add" to make abcdef an administrator
reboot, then abcdef has administrator's privilege.
now you can use abcdef as administrator to assign a new password for anyone.

to use gcg through VNC
instructions

change vnc password: vncpsswd
start vnc server: vncserver
You should see "New 'X' desktop is siriusC:y"
ex: New 'X' desktop is siriusC:1
connect to http://gcgserver.umdnj.edu:5800+y/
ex: http://gcgserver.umdnj.edu:5801/
fill in your vnc password.
gcg
seqlab

to translate GB2BIG5, usually use a translate table
you can find it here

for code, 1.PHP 2.PHP

2005年2月7日

A power point file explain what's WordNet in Chinese
Chinese version WordNet

What do stars means for hotel?
I got an answer from Taiwan's government
or you can search google by keyword: 旅館等級評鑑制度
sorry, it's in chinese.

2005年2月5日

for online multiple text alignment, you can use this one
http://prodes.toulouse.inra.fr/multalin/multalin.html

if you want to use bioperl to align sequences, you have to install ClustalW first, and also the Lib for ClustalW.
the AlignIO::ClustalW only read ClustalW files, it will not do alignment.
RUN::ClustalW...will only work if you installed ClustalW.

#!/usr/bin/perl
use SOAP::Lite;

$str="> t1 asdf
ASDF

> t2 asdf
ASDDF

> t3 asdf
SDFF";


printf SOAP::Lite -> service('http://xml.nig.ac.jp/wsdl/ClustalW.wsdl') -> analyzeSimple($str);
printf("\n");

2005年2月4日

To know which process listen on which port on windows (tested on XP)
use "netstat -ano" to list all the information (includes ports and PIDs),
then use windows task manager(Ctrl-Alt-Del/ taskmgr.exe) to check the name of that PID. (active: Porcesses, View, select columes, PID)

2005年2月2日