Home

Tomcat7: Change Port to 80

I have many servers, which run Java Web applications. For development, I like Jetty, but for production, I prefer Tomcat7 now. In ubuntu, you need root permission to use ports under 1024.

Ubuntu: change time zone

Recently, I always have work in Ubuntu servers. And sometimes when I tried to output a timestamp from server side to front end, I find something is “wrong”. Such I want time in EST, but the default is UTC.

Image Manipulation [OpenGL]

Finding out what version of OpenGL your graphics card support: GLinfo2.zipThe very first thing you need to do is determine if your video card can support GPU programming. Specifically, you are looking to see if your graphic card supports OpenGL version 4.1 or later. >>See the Source Code<< >>Download the Executive program<<

Hierarchical 3D Modeling of L System Trees [OpenGL]

Finding out what version of OpenGL your graphics card support: GLinfo2.zipThe very first thing you need to do is determine if your video card can support GPU programming. Specifically, you are looking to see if your graphic card supports OpenGL version 4.1 or later. See the Source Code Download the Executive program

Interactive Ply Viewer 3D [OpenGL]

Finding out what version of OpenGL your graphics card support: GLinfo2.zipThe very first thing you need to do is determine if your video card can support GPU programming. Specifically, you are looking to see if your graphic card supports OpenGL version 4.1 or later. See the Source Code Download the Executive program

Interactive Polyline Viewer 2D [OpenGL]

Finding out what version of OpenGL your graphics card support: GLinfo2.zipThe very first thing you need to do is determine if your video card can support GPU programming. Specifically, you are looking to see if your graphic card supports OpenGL version 4.1 or later. See the Source Code Download the Executive program

MySQL String Replace

最近在处理数据库转移的活(把就网站的数据库拷贝到新的网站中),本来想写个脚本的,但是上面催的急,就先手工导入了数据。导入后遇到一个问题就是:原先的图片路径和新的网站中不一致。