How to enable SNI of Apache at CentOS 5.5

Since Openssl at CentOS 5.5 is 0.9.8e which not support SNI, in order to support Virtual Host SSL at Apache, update openssl and mod_ssl is needed to be compiled.

In order not to impact the RPM installed at CentOS, we need to compile the new openssl to a location which not the system path, ie /usr/local2, then . . . → Read More: How to enable SNI of Apache at CentOS 5.5

GAE 上用自己的 domain name

GAE 上面的 application, 是可以以自己的 domain 去連接的. 當中只需要在 DNS 上加上一 CNAME 的 Entry 即可, 並不需要改變 DNS 的托管. 另外, sub-sub-domain 其實也可以, 只要你的 DNS (ie, godaddy) 是 support 以 “xxx.yyy” 作為 CNAME 的 Alias 即可.

1/ 到 Google App 的主頁, 現在是 http://www.google.com/apps, (或 search google app), 按 “開始免費試用”, 以你目標的 Domain 去開一個 Google Apps for Business 的 Account.

2/ 假設你 GAE 的 . . . → Read More: GAE 上用自己的 domain name

jQuery Validation plugins tips

I found something strange of the jQuery Validation plugins, ie, only the first html input can work find to stop the form submittion when valid fails, or ‘rules’ cannot be function for some input field.

The solution is let all fields need checking has both ‘id’ and ‘name’ attributes, and both attributes is . . . → Read More: jQuery Validation plugins tips

免費算八字及六壬數

. . . → Read More: 免費算八字及六壬數

Grails batch import slow

I working in a Grails project, and find it is a good tools, hope the Grails development will continuous.

But one day, I work on the Batch import, and find that the import is not fast as I expect (about 0.5 for 1 record), and the most hopeless is that, it become slower and slower when the . . . → Read More: Grails batch import slow

DD-WRT, Headless BT

For TP-link 1043

Since the iphg is obselete, first of all, install the opkg first.

Installation of opkg

http://g300nh.blogspot.com/2010/06/software-installation-on-dd-wrt-part-1.html

http://g300nh.blogspot.com/2010/06/software-installation-on-dd-wrt-part-2.html

Then install and config . . . → Read More: DD-WRT, Headless BT

Optware lib for TP-Link 1043nd or may be other Atheros

Download links,

http://download.hououji.info/lib.tar

Just for keep record,
original come . . . → Read More: Optware lib for TP-Link 1043nd or may be other Atheros

Grails searchable is very slow is fixed

Grails searchable which bases on compass.
I have use it in my grails project, for item search.

It run very fast when records size is small ( < 20)
But when the records size is large than 1000, and the result set is > 100,
it become very very very …. sssslow. ( > 10 sec, before the screen is . . . → Read More: Grails searchable is very slow is fixed

JDK 1.4 + ANT -> java.lang.NoClassDefFoundError: org/xml/sax/ext/Locator2Impl

I use JDk1.6, and ANT 1.8 normally with no problem.

But, today when I compile a old project using JDK1.4, then the ANT give me Exception

C:\projects\Smartone\sv-jupiter>call ant -version
Apache Ant version 1.6.4 compiled on May 19 2005
Buildfile: build.xml

BUILD FAILED
java.lang.NoClassDefFoundError: org/xml/sax/ext/Locator2Impl
at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source)
at . . . → Read More: JDK 1.4 + ANT -> java.lang.NoClassDefFoundError: org/xml/sax/ext/Locator2Impl

流年事業

. . . → Read More: 流年事業