Thursday, September 17, 2009

check network listen and connect

netstat -anp

config smtp server using sendmail

service saslauthd restart
service sendmail restart

PHPMailer
http://sourceforge.net/projects/phpmailer/files/

redhat下的sendmail+smtp 的配置
http://www.myfaq.com.cn/2005September/2005-09-13/198608.html

用Sendmail配置你的第一台e-mail服务器
http://www.5dmail.net/html/2004-10-26/20041026133839.htm

Configuring Linux Mail Servers
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch21_:_Configuring_Linux_Mail_Servers

Sunday, September 13, 2009

setup Chinese Font in Nokia E75

1. get a cer file and "DOSPY SignTool v2.2.9.0627.exe" from http://cer.dospy.com/
2. get FontRouter.LT.for.v9.Build20071109.unsigned.sis
3. use the cer file sign FontRouter get Administrator_Signed_FontRouter.LT.for.v9.Build20071109.sisx
4. setup FontRouter on E75
5. copy Simsun Nina ZL by Loname.ttf to E:/data/fonts
6. restart E75

http://www.mitbbs.com/clubarticle/smartphone/30994727_0.html
http://www.dospy.com/bbs/thread-4550277-1-1.html

Thursday, September 10, 2009

createElement('div').innerHTML

function fnGetId(){
var aa = document.getElementById('aa');
alert(aa.innerHTML);
var bb = document.createElement('div');
bb.innerHTML = '
bb
';
aa.insertBefore(bb, aa.firstChild);
alert(aa.innerHTML);
}

to easy use element.innerHTML, you should document.createElement('div'), but not document.createElement('p');