原创 One public IP for different contexts via apache rewrite

<VirtualHost *:82>     #ServerName www.example.com     #ServerAlias example.com     #ServerAdmin [email protected]

原创 Customize tag lib 2

We also can customize the tag lib using component class, here are the steps: 1. Define the component package com.stefli

原创 How to let IE support HTML5 tags(aside, section, header, footer, etc..)

Import a html5.js with content below (also can download this js from remysharp.com/html5-enabling-script): // html5shiv

原创 Multi IE Tester

http://utilu.com/IECollection/

原创 How to access url via wifi in blackberry emulator

Add below code to url: ;interface=wifi StreamConnection conn = (StreamConnection) Connector.open("http://192.168.87.7

原创 Customize tag lib 1 (freemarker)

Want to customize a tag lib, we need to do follow the steps: 1. Define the component (UIBean) package com.stefli.core.c

原创 How to setup Apache and mod_python and django

Here is the tutorial:     1. Install Apache2.2 Please refer to other article!   2. Install mod_python Please go to mod_

原创 Add Locales

Quote: http://code.google.com/p/winelocale/wiki/AddLocalesToDebian AddLocalesToDebian   How to add locale code pages

原创 OuterHTML implementation in Firefox

Here is a sample: <html> <head> <title>FireFox OuterHTML Implementation</title> <mce:script type="text/javascript"><!--

原创 Fix the issue: JVM terminated. Exit code=-1

When restart the Blackberry plug-in, an error happened with "JVM terminated. Exit code=-1.". We can specified the jdk t

原创 教你怎麼把騙子弄哭

教你怎麼把騙子弄哭 1.收到騙子要你匯款的短信後先別忙著刪除,看看他的卡號是什麼銀行的,並登陸此銀行的網上營業廳,輸入該騙子的卡號,密碼隨便填寫,只要3次錯誤,此卡在24小時之間是不能進行任何的交易了(就是被凍) 2.先查出這個手機號的

原创 Cool, i have fixed the "Access violation writing to 0x00000008" of BlackBerry Simulator(JDE5.0)

This issue only happened in Jde 5.0, so i can't use 9700 or other devices.   I have searched many articles, and no solu

原创 Jboss 4.2 & hibernate java.lang.NoSuchFieldError: INSTANCE

Just remove the hibernate-annotation.jar from lib

原创 Build administrative area via Json

We want to build a json string to store the administrative area data, the format would bevar threeSelectData={"省份":{"va

原创 org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start()

Solution:   Just remove the folder under "X:/Documents and Settings/username/workspace/.metadata/.plugins/org.eclipse.c