hsqldb on Mac OS X

It took me a while googling how to run hsqldb on Mac OS X. It turned out very easy when I looked back at its runners for Windows:

cd ..\data
@java -classpath ../lib/hsqldb.jar org.hsqldb.server.Server %1 %2 %3 %4 %5 %6 %7 %8 %9

Get it running on OS X just by typing it on Terminal, or create a runServer.sh file and run it anywhere.

cd path/to/hsqldb/data
java -cp ../lib/hsqldb.jar org.hsqldb.server.Server

New blog with Hexo

I don’t remember when I started to blog, maybe in 2005. I don’t remember when I blogged last time either, maybe in 2010. I don’t even remember when I lost my domain for my old blog.

In 2006 I started to learn ActionScript 3 and wrote a few tutorials about it. I found that interest is the best teacher and teaching is the best way to learn. Now I am back to school as an international student in an English speaking country, so writing blog again in English must be a good idea.

I’d like to use Github to host my blog this time and Octopress seems not good enough because of its slow compiling. Then I found Hexo, “A fast, simple & powerful blog framework, powered by Node.js.“ It is simple and fast, and I am happy with it so far.


Hello World