- 浏览: 72416 次
- 性别:
- 来自: 北京
文章列表
in .bashrc
#tab auto-completion ignore -case
bind 'set completion-ignore-case on'
#automatically correct mistyped directory names on cd
shopt -s cdspell
http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx/
http://css-tricks.com/indeterminate-checkboxes/
css中clearfix的作用
- 博客分类:
- css
一直不太明白bootstrap中.clearfix的作用,在这里发现了答案,http://css-tricks.com/all-about-floats/
.clearfix:before,.clearfix:after { display: table; content: " ";}.clearfix:after { clear: both;}
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 ...
well written.
http://samizdat.mines.edu/howto/HowToBeAProgrammer.html?x
http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html
GZip compressing HTML, JavaScript, CSS etc. makes the data sent to the browser s
- 博客分类:
- Reading Notes
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 ...
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 ...
http://kangax.github.com/es5-compat-table/
eclipse.ini +
-Declipse.p2.mirrors=false
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
http://www.janeve.me/articles/which-java-collection-to-use
var hidden = $('<input type="hidden" name="test" value="test"/>');
$('#iframe').html(hidden);
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 ...