原创 cannot be used in

1. <xsd:any> cannot be used in <xsd:all> 2. problems when <xsd:all> is used in <xsd:extension>

原创 bash two tips:tab completion igore-case and auto-correct mistyped dir name

in .bashrc   #tab auto-completion ignore -case bind 'set completion-ignore-case on' #automatically correct mistyped di

原创 Indeterminate Checkboxes

http://css-tricks.com/indeterminate-checkboxes/

原创 Anatomy of a Subtle JSON Vulnerability

http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx/

原创 css中clearfix的作用

一直不太明白bootstrap中.clearfix的作用,在這裏發現了答案,http://css-tricks.com/all-about-floats/   .clearfix:before,.clearfix:after {  di

原创 Centering: Negative Margin

http://www.bluerobot.com/web/css/center2.html Centering: Negative Margin This box is horizontally centered using a tec

原创 IE9 hide issue

It is incredibly weird. when trying to hide a <tr>, its children checkbox and label are not completed hidden.(in this c

原创 js module pattern

http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html  

原创 eclipse plugin update extremely slow

eclipse.ini   + -Declipse.p2.mirrors=false

原创 ECMA Script 5 browser compatiblity

http://kangax.github.com/es5-compat-table/

原创 How to be a Programmer: A Short,Comprehensive,and Personal Summary

well written. http://samizdat.mines.edu/howto/HowToBeAProgrammer.html?x

原创 GZip compressing HTML, JavaScript, CSS etc. makes the data sent to the browser s

this is fun. http://tutorials.jenkov.com/java-servlets/gzip-servlet-filter.html   GZip HTTP Headers The browser includ

原创 INSERT INTO SELECT(bulk insert)

http://www.sqlteam.com/article/using-select-to-insert-records   INSERT INTO SELECT   INSERT INTO Store_Information (sto

原创 find class in which jar

#!/bin/ksh #this script is used to find class in which jar file if [ "$#" -le "1" ]; then    echo "Usage: $0 class_name

原创 use oncontextmenu to disable right click

<a href='#' oncontextmenu='return false;' onclick='blabla;'></a>