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
.classname { | |
font-family: 'Courier New', Courier, monospace; | |
} |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title></title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
</head> | |
<body> | |
<p></p> | |
</body> |
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
function ToggleHLSearch() | |
if &hls | |
set nohls | |
else | |
set hls | |
endif | |
endfunction | |
nmap <silent> <C-n> <Esc>:call ToggleHLSearch()<CR> |
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
if has("autocmd") && exists("+omnifunc") | |
autocmd Filetype * | |
\ if &omnifunc == "" | | |
\ setlocal omnifunc=syntaxcomplete#Complete | | |
\ endif | |
endif |
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
do shell script | |
"DATE=`date '+%Y%d%m-%H%M%S'`; | |
FILE=~/Pictures/screenshot-${DATE}.png; | |
screencapture -i -W -x $FILE; | |
if [ -e $FILE ]; | |
then open /Applications/Preview.app $FILE; | |
fi" |
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
select | |
O.Object_Name as Name, | |
OA.OBJECT_NAME as Alias, | |
U.UDA_VALUE as UDA | |
from hsp_member_to_uda M | |
inner join hsp_uda U | |
on M.UDA_ID=U.UDA_ID | |
inner join hsp_object O | |
on M.MEMBER_ID=O.OBJECT_ID | |
inner join hsp_alias A |
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
set ignorecase smartcase " 搜索时忽略大小写,但在有一个或以上大写字母时仍保持对大小写敏感 | |
set nu " 显示行号 | |
set ruler | |
set rulerformat=%55(%{strftime('%a\ %b\ %e\ %I:%M\ %p')}\ %5l,%-6(%c%V%)\ %P%) | |
set guioptions+=b | |
set guioptions-=T | |
set paste | |
"set clipboard=unnamed " 让Vim和Win共用剪贴板 |
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
<script type="text/javascript"> | |
/* | |
** Name: toggle_visibility | |
** Desc: toggles id of element to be visible or not | |
*/ | |
function toggle_visibility(id) { | |
var e = document.getElementById(id); | |
if (e.style.display == 'none') | |
e.style.display = 'block'; | |
else |
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
<div class="backToTopButton"> | |
<a href="#" title="返回页首"><img src="back_to_top_24.png" alt="TOP" /></a> | |
</div> |
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
/* Go Top Link */ | |
div.backToTopButton { | |
font-family: Georgia; | |
font-size: 12px; | |
color: #000000; | |
background-color: #ffffff; | |
padding: 3px 10px 20px 10px; | |
width:50px; | |
text-align: center; |
OlderNewer