This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
基本语法 | |
^ 字串起始 | |
$ 字串結束 | |
n* 0或多個'n' | |
n+ 1或多個'n' | |
n? 0或1個'n' | |
n{3} 只有3個'n' | |
n{3,} 有3個或多個 | |
n{3,5} 有3個至5個 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*, *::active, *::focus { | |
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
-webkit-focus-ring-color: rgba(0, 0, 0, 0); | |
outline: none; | |
-webkit-user-modify: read-write-plaintext-only; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*light*/ | |
::-webkit-scrollbar{width:5px;height:5px} | |
::-webkit-scrollbar-track{background:#ddd} | |
::-webkit-scrollbar-thumb{background:#999} | |
/*dark*/ | |
::-webkit-scrollbar{width:5px;height:5px} | |
::-webkit-scrollbar-track{background:rgba(0, 0, 0, 0.2)} | |
::-webkit-scrollbar-thumb{background:rgba(0, 0, 0, 0.8)} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Like, basically PERFECT scrollbars | |
*/ | |
/* | |
It's pure CSS. | |
Since a quick google search will confirm people going crazy about Mac OS Lion scrollbars... | |
this has no fade-out effect. | |
In Mac OS Lion, the lowest common denominator is always showing scrollbars by a setting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul id="members" data-role="listview" data-filter="true"> | |
<!-- ... more list items ... --> | |
<li> | |
<a href="detail.html?id=10"> | |
<h3>John Resig</h3> | |
<p><strong>jQuery Core Lead</strong></p> | |
<p>Boston, United States</p> | |
</a> | |
</li> | |
<!-- ... more list items ... --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.gaohui.jdbc.meta; | |
import com.google.common.annotations.VisibleForTesting; | |
import com.google.common.base.Preconditions; | |
import java.sql.*; | |
import java.util.*; | |
/** | |
* 目前只支持mysql,其他数据库未进行测试。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Turn on debug mode if neccesary | |
debug_file="$bin/hadoop.debug" | |
is_debug_enabled() | |
{ | |
if [ -f $debug_file ]; then | |
cat $debug_file | grep $1 >/dev/null 2>&1 | |
fi | |
} | |
case "$COMMAND" in |
NewerOlder