Check wich version of the Java you are using

Always know which verison of the JDK you are using, if you switch programming computers:

I written a Java GUI program on Windows server 2008 platform and was planning to show it to my adviser on my Mac book.
After I imported the project into Eclipse, it gave me some error information, the GroupLayout can not be found.
By doing a little research I found that the GroupLayout is not in Java 1.5.  According to this I changed the default jdk from 1.5 to 1.6. Then everything is back to normal.

Check wich version of the Java you are using

Always know which verison of the JDK you are using, if you switch programming computers:

I written a Java GUI program on Windows server 2008 platform and was planning to show it to my adviser on my Mac book.
After I imported the project into Eclipse, it gave me some error information, the GroupLayout can not be found.
By doing a little research I found that the GroupLayout is not in Java 1.5.  According to this I changed the default jdk from 1.5 to 1.6. Then everything is back to normal.

whilProblem with selectSingleNode or selectNodese you are using dom4j parsing xml file?


If you are using dom4j parsing an XML file and you believe that you have used xpath correct. But you kept having problem. Why was that?

DOM4J在用XPATH表达式时,需要配置dom4j安装包中自带的jaxen包,你也可以从
http://jaxen.codehaus.org/releases.html
上下载jaxen。jaxen是一个用java开发的XPath引擎,用于配合各种给予XML的对象模型,如DOM、 dom4j和JDOM。在dom4j-1.6.1目录下,有一个lib子目录,其中有一个jaxen-1.1-beta-6.jar文件,将该文件添加到你的project的path当中就会解决你的问题。

whilProblem with selectSingleNode or selectNodese you are using dom4j parsing xml file?


If you are using dom4j parsing an XML file and you believe that you have used xpath correct. But you kept having problem. Why was that?

DOM4J在用XPATH表达式时,需要配置dom4j安装包中自带的jaxen包,你也可以从
http://jaxen.codehaus.org/releases.html
上下载jaxen。jaxen是一个用java开发的XPath引擎,用于配合各种给予XML的对象模型,如DOM、 dom4j和JDOM。在dom4j-1.6.1目录下,有一个lib子目录,其中有一个jaxen-1.1-beta-6.jar文件,将该文件添加到你的project的path当中就会解决你的问题。

Free Screen Capture Tool PicPick

Here is the link to the tool: http://www.picpick.org/

PicPick is user friendly and full of features for creating your image, suitable for software developers, graphic designers and home user.
It is an all-in-one program that provides full-featured screen capture tool, intuitive image editor, color picker, color palette, pixel ruler, protractor, crosshair and even whiteboard.
It has not only everything what you need, but it loads fast, sits quietly in the system tray until needed.
Furthermore, this software is distributed as freeware. So you may use this software on any number of computers for as long as you like.

Free Screen Capture Tool PicPick

Here is the link to the tool: http://www.picpick.org/

PicPick is user friendly and full of features for creating your image, suitable for software developers, graphic designers and home user.
It is an all-in-one program that provides full-featured screen capture tool, intuitive image editor, color picker, color palette, pixel ruler, protractor, crosshair and even whiteboard.
It has not only everything what you need, but it loads fast, sits quietly in the system tray until needed.
Furthermore, this software is distributed as freeware. So you may use this software on any number of computers for as long as you like.

可以生成ASCII文本或图片的工具

1.ASCII Text Signature Generator 是一个可以生成ASCII签名的cool网站。
http://www.kammerl.de/ascii/AsciiSignature.php



2.可以生成ASCII图片的网站
http://www.text-image.com/
这个网站还可以生成其它的图片。



3.一个同样可以生成ASCII图片的免费软件。
http://sourceforge.net/project/showfiles.php?group_id=133786


可以生成ASCII文本或图片的工具

1.ASCII Text Signature Generator 是一个可以生成ASCII签名的cool网站。
http://www.kammerl.de/ascii/AsciiSignature.php



2.可以生成ASCII图片的网站
http://www.text-image.com/
这个网站还可以生成其它的图片。



3.一个同样可以生成ASCII图片的免费软件。
http://sourceforge.net/project/showfiles.php?group_id=133786


等待job offer的日子过得真是很慢(3)!

这已经是第三周了。周一(4/5/2010)给面试主管发了信件,他回信说,工作申请很顺利,但是他不知道具体到哪一步了,因为他的manager 不在单位。他会等到周二问问manager之后再告诉我。但是到今天(4/7/2010)还是没有收到他的任何进一步的消息。也不知道是否应该再写信问问。没准他太忙把这件事情又给忘记了?
============
无聊中看到下面几个有用的帖子:
most popular free windows download of 2009: 有些是真的很有用的信息。
http://tinylink.com/?nql3WoWmsU
windows 7 keyboard shorcuts
http://tinyurl.com/yfdpj53

等待job offer的日子过得真是很慢(3)!

这已经是第三周了。周一(4/5/2010)给面试主管发了信件,他回信说,工作申请很顺利,但是他不知道具体到哪一步了,因为他的manager 不在单位。他会等到周二问问manager之后再告诉我。但是到今天(4/7/2010)还是没有收到他的任何进一步的消息。也不知道是否应该再写信问问。没准他太忙把这件事情又给忘记了?
============
无聊中看到下面几个有用的帖子:
most popular free windows download of 2009: 有些是真的很有用的信息。
http://tinylink.com/?nql3WoWmsU
windows 7 keyboard shorcuts
http://tinyurl.com/yfdpj53

Use PuTTYtel with Chinese BBS

如果在英文版的操作系统下面是用PuTTYtel登录中文的bbs,你可能会遇到编码显示的问题。也就是说不能正确的显示中文。下面是一个可行的解决办法。
1.下载PuTTYtel from here:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
2.双击打开下载的文件:
找到Windows >Appearance>Font settings,将default修改成NsimSun。这里注意要将Script修改成CHINESE_GB2312  image
3. 同样在Window下面找到Translation修改Received data assumed to be in which character set:找到下来菜单的最后一项: USe font encoding.
image
4.在Session中的Host Name项目中填写你要登录的BBS。保留其他的设置为默认。
5.保存刚才的设置为新的session,这样在以后你就可以直接使用了。
(该设置基于下面的版本)
image

Use PuTTYtel with Chinese BBS

如果在英文版的操作系统下面是用PuTTYtel登录中文的bbs,你可能会遇到编码显示的问题。也就是说不能正确的显示中文。下面是一个可行的解决办法。
1.下载PuTTYtel from here:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
2.双击打开下载的文件:
找到Windows >Appearance>Font settings,将default修改成NsimSun。这里注意要将Script修改成CHINESE_GB2312  image
3. 同样在Window下面找到Translation修改Received data assumed to be in which character set:找到下来菜单的最后一项: USe font encoding.
image
4.在Session中的Host Name项目中填写你要登录的BBS。保留其他的设置为默认。
5.保存刚才的设置为新的session,这样在以后你就可以直接使用了。
(该设置基于下面的版本)
image

等待 job offer的日子过得真是很慢 (2)!

已经两个星期了,还是没有消息。也不知道发生了什么事情。根据以前这个公司的申请的情况来看,大多数申请人,会在两个星期左右收到确定的消息。看来,还是要耐心的等待的……

等待 job offer的日子过得真是很慢 (2)!

已经两个星期了,还是没有消息。也不知道发生了什么事情。根据以前这个公司的申请的情况来看,大多数申请人,会在两个星期左右收到确定的消息。看来,还是要耐心的等待的……

Use Navicat for MySQL

I tried Navicat for MySQL today and it is indeed a nice tool to manage your MySQL database.
1. Save into database from many sources: You can use it save data into MySQL database from many sources, like text, html, excel, xml access database from and etc.
2. Design or modify the design of the table: assign primary key, attributes of fields etc.
3. Move data from one database to another database.
Download one to try if you like the tool.

Use Navicat for MySQL

I tried Navicat for MySQL today and it is indeed a nice tool to manage your MySQL database.
1. Save into database from many sources: You can use it save data into MySQL database from many sources, like text, html, excel, xml access database from and etc.
2. Design or modify the design of the table: assign primary key, attributes of fields etc.
3. Move data from one database to another database.
Download one to try if you like the tool.

Datatable static image not found on the server

When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...