This file contains hidden or 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 nu | |
"启动时隐去援助提示 | |
set shortmess=atI | |
"语法高亮 | |
syntax on | |
"没有保存或文件只读时弹出确认 |
This file contains hidden or 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
// ==UserScript== | |
// @name scezju for chrome | |
// @namespace http://ycjy.scezju.com/ | |
// @version 0.1 | |
// @description IE go away! | |
// @author mzb | |
// @domain ycjy.scezju.com | |
// @match http://ycjy.scezju.com/* | |
// @grant none | |
// @require http://code.jquery.com/jquery-latest.js |
This file contains hidden or 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 style="text-align: center;"> | |
<style> | |
#submit{ | |
float: center; | |
width: 90%; | |
height: 40; | |
font-size: large; | |
margin: 15 0 0 0; | |
color: #fff; | |
background: #6cf; |
This file contains hidden or 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
Connection conn = null; | |
PreparedStatement stmt = null; | |
ResultSet rs = null; | |
try { | |
//System.out.println(((DruidDataSource) ((LazyConnectionDataSourceProxy) | |
//SpringUtils.getBean("dataSource")).getTargetDataSource()).getRawJdbcUrl()); | |
String sql = "select * from erp_user where login_id=? and password=?"; | |
conn = DBUtil.getConnection(); | |
stmt = conn.prepareStatement(sql); | |
stmt.setString(1, "name"); |
This file contains hidden or 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
mysqldump --all-databases -uroot -p --opt --add-drop-database --add-drop-table --events --triggers --routines --default-character-set=utf8 --master-data=2 --single-transaction --complete-insert --quote-names --log-error=/tmp/mysqldump20120305.log >/home/mysql/mysqlbackup/logs_backup_20120305.mysql |