原创 sql - group & having example

problem:     there is table store course score of students, now write a sql to query student who has at least 2 course

原创 find palindromic-prime in pi

find palindromic-prime in pi     question:       find the first 7-digit palindromic prime found in consecutive digits o

原创 link archor

  link archor   http://www.xxx.com/me.html#mood, this is a link with a archor,  #mood, is the archor part, could be the

原创 colleges

    colleges   ------ stanford master apply   requirements: * TOFEL 600+ * GRE 1250 * education GPA 3.3 *  * work ex

原创 js logic operator

logical expression of js   && ,||, !   operand: the 3 operator all accept any values as operand,   return value: &&

原创 js closure

js closure   scope: in js, inner function has access to params/local variable of the outer function,   closure: var

原创 js array methods

  js array method   array has some build-in method, to manipulate array,   ------ join   join array elements and return

原创 火車票 網上訂票 經驗

  火車票 網上訂票 經驗   (以下經驗是 2012年春節前, 在深圳的經驗, 其他時間/地點 不保證適用,具體參見訂票網站的信息和Google)   網站: http://www.12306.cn/mormhweb/   操作系統:

原创 modify file name util - python

modify file name util - python   a util script to modify file/folder name recusively, written in python, on ubuntu syst

原创 (轉) IP, TCP, and HTTP

(轉自:) http://www.objc.io/issue-10/ip-tcp-http.html   When an app communicates with a server, more often than not, tha

原创 java: lib & classpath

classpath, is the path to search for third-part or user-defined classes,refer to:* linux    docs.oracle.com/javase/6/do

原创 Scan classes with specified annotation under specified package

Scan classes with specified annotation under specified package.   steps: * define annotation * use annotation on class

原创 change encoding of folder recusively

use shell to change encodeing of files under a folder recusively, the script use a tool called "enca", install it if n

原创 http - simple server & client

Simple http server & client implementation by pure j2se.   http - client: package eric.j2se.net.http; import java.io.

原创 lucene - demo

 demo - location:       * download lucene             there is a "demo" folder, it include a war file,       * downloa