ITeye博客

My Reading Notes

niwtsew · 共 79 篇文章

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 directory names on cd shopt -s cdspell

2014-10-08 14:42 · shell · 评论(0)

Anatomy of a Subtle JSON Vulnerability

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

2014-06-30 17:21 · javascript/html · 评论(0)

Indeterminate Checkboxes

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

2014-06-23 13:56 · javascript/html · 评论(0)

css中clearfix的作用

一直不太明白bootstrap中.clearfix的作用,在这里发现了答案,http://css-tricks.com/all-about-floats/ .clearfix:before, .clearfix:after { display: table; content: " "; } .clearfix:after { clear: both; }

2014-03-07 17:05 · css · 评论(0)

Centering: Negative Margin

http://www.bluerobot.com/web/css/center2.html Centering: Negative Margin This box is horizontally centered using a technique proposed to me by Simon Coggins. First, the box's left edge is positioned at the horizontal center of the page using "position:absolute; left:50%;". Then, the box's left marg…

2014-03-06 16:53 · css · 评论(0)

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

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

2013-10-28 10:38 · Reading Notes · 评论(0)

js module pattern

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

2013-10-12 16:21 · Reading Notes · javascript/html · 评论(0)

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 includes the Accept-Encoding HTTP header in requests sent to an HTTP server (e.g. a Java web server). The content of the Accept-Encoding header tells what content encodings the browser can …

2013-07-31 15:48 · Reading Notes · 评论(0)

IE9 hide <tr> issue

It is incredibly weird. when trying to hide a <tr>, its children checkbox and label are not completed hidden.(in this case, checkbox is hidden,but its bounded label is not). Though I don't understand why, I do believe it's a IE specific BUG. Solution: when hide a <tr>, first try to hide all its chi…

2013-04-25 17:42 · javascript/html · 评论(0)

ECMA Script 5 browser compatiblity

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

2013-02-05 10:21 · javascript/html · 评论(0)

eclipse plugin update extremely slow

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

2012-11-16 15:38 · Misc · java · 评论(0)

INSERT INTO SELECT(bulk insert)

http://www.sqlteam.com/article/using-select-to-insert-records INSERT INTO SELECT INSERT INTO Store_Information (store_name, Sales, Date) SELECT store_name, Sales, Date FROM Sales_Information

2012-10-15 14:44 · sql · 评论(0)

java collection matrix

http://www.janeve.me/articles/which-java-collection-to-use

2012-08-07 11:24 · Reading Notes · 评论(0)

IE cannot add a hidden input to an iframe. FF can.

var hidden = $('<input type="hidden" name="test" value="test"/>'); $('#iframe').html(hidden);

2012-07-16 17:42 · javascript/html · 评论(0)

Use CSS to center content

http://www.elated.com/articles/css-center-content/ CSS centering: The basic technique The trick to centering an element with CSS is to give the element a left and right margin value of auto : #myElement { width: 500px; margin-left: auto; margin-right: auto; } Center a page To center all the content…

2012-06-12 17:33 · 评论(0)