本歌单由Listen1创建, 歌曲数:347,歌单数:3,点击查看更多
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
" ================================================================================================ | |
" = Extensions ===================================== | |
" ================================================================================================ | |
Plug 'tpope/vim-surround' | |
Plug 'preservim/nerdtree' | |
" ================================================================================================ | |
" = Basic settings ===================================== | |
" ================================================================================================ | |
set clipboard+=unnamed |
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
import com.google.common.base.CharMatcher; | |
/** | |
* 去掉SQL表达式的特殊字符. | |
* | |
* @param value SQL表达式 | |
* @return 去掉SQL特殊字符的表达式 | |
*/ | |
public static String getExactlyValue(final String value) { | |
return null == value ? null : CharMatcher.anyOf("[]`'\"").removeFrom(value); | |
} |
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
#! /bin/bash | |
# shell 脚本自动写入vim | |
# TODO 后续可以自动做vimgolf | |
vim -n -E test_test.test << EOF | |
i | |
zhouxiang | |
. | |
^[ | |
:wq | |
EOF |