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> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta name="keywords" content="" /> | |
<meta name="description" content="" /> | |
<meta name="generator" content="gvim" /> | |
<meta name="author" content="闲耘™ (hotoo.cn[AT]gmail.com)" /> | |
<title>Image.Abort</title> | |
</head> |
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
let g:use_bash="zsh" | |
" 打开终端窗口。 | |
" TODO: 默认打开指定的目录。 | |
" TODO: Vim 的等待提示。 | |
function! OpenBash(...) | |
let bash=':!open /bin/bash' | |
if g:OS#win | |
let bash=':!start cmd' | |
elseif "zsh" == g:use_bash |
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
" GOOD! | |
set noimdisable | |
set imactivatekey=D-space | |
set imsearch=0 | |
autocmd! InsertLeave * set imdisable|set iminsert=0 | |
autocmd! InsertEnter * set noimdisable|set iminsert=2 |
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
var o = {name:"hotoo"}; | |
var a = [o]; | |
o.name = "updated"; | |
document.write(a[0].name); // updated |
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
var RE_ORACLE = /^jdbc:oracle:thin:@([^:]+)(?::([0-9]+))?:([a-zA-Z][a-zA-Z0-9]*)$/, | |
RE_MYSQL = /^jdbc:mysql:\/\/([^:\/]+)(?::([0-9]+))?\/([a-zA-Z][a-zA-Z0-9]*)$/; | |
var oracle = "jdbc:oracle:thin:@10.253.102.122:1521:dg01"; | |
var mysql = "jdbc:mysql://10.253.102.122:1521/dg01"; | |
var m = oracle.match(RE_ORACLE); | |
document.write(m + "<br />"); | |
var n = mysql.match(RE_MYSQL); | |
document.write(n); |
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
个人银行(专业版)说明及责任条款 | |
1、招商银行网上个人银行(专业版)[以下简称个人银行(专业 | |
版)]是招商银行开发的个人客户网上理财软件系统,招商银行 | |
通过互联网为客户提供网上理财服务。 | |
2、如客户选择个人银行(专业版)进行网上交易,为确保交易 | |
安全,招商银行采用的安全防护设置将会对客户电脑环境进行 | |
安全净化,以避免客户账号和密码被不法分子窃取。 |
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 commfy0(n){ | |
var a = n.toString().split("."); | |
var i = a[0].length%3; | |
var prefix = (a[0].substr(0,i)+a[0].substr(i).replace(/(\d{3})/g,",$1")).replace(/^,/, ""); | |
//var postfix = a[1] ? "."+a[1].replace(/(\d{3})/g, "$1,").replace(/,$/, "") : ""; | |
return prefix+(a[1]?"."+a[1]:""); | |
} |
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
#507AA5 |
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 get(){ | |
var m = location.hash.match(/#(.+?)(?:\/p([1-9][0-9]*)|$)/); | |
var k,p; | |
if(m){ | |
k = m[1] || ""; | |
p = m[2] || 1; | |
}else{ | |
var m=location.search.match(/[?&]q=([^&]*)(?:&|$)/); | |
k = m && m[1] ? m[1] : ""; | |
var m=location.search.match(/[?&]p=([^&]*)(?:&|$)/); |
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
" for Vim7.2-= | |
"syn match out80 /\%80v./ containedin=ALL | |
"hi out80 guifg=#333333 guibg=#ffffff | |
set colorcolumn=81 |