Skip to content

Instantly share code, notes, and snippets.

View zhouyijiaren's full-sized avatar
🥲
onfly

ZX zhouyijiaren

🥲
onfly
View GitHub Profile
@zhouyijiaren
zhouyijiaren / listen1_aha_playlist.md
Last active August 17, 2023 07:36
updated by Listen1(https://listen1.github.io/listen1/) at 2023/8/17下午3:36:04

本歌单由Listen1创建, 歌曲数:347,歌单数:3,点击查看更多

@zhouyijiaren
zhouyijiaren / .ideavimrc
Created June 14, 2022 05:13 — forked from LintaoAmons/.ideavimrc
ideavimrc
" ================================================================================================
" = Extensions =====================================
" ================================================================================================
Plug 'tpope/vim-surround'
Plug 'preservim/nerdtree'
" ================================================================================================
" = Basic settings =====================================
" ================================================================================================
set clipboard+=unnamed
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);
}
#! /bin/bash
# shell 脚本自动写入vim
# TODO 后续可以自动做vimgolf
vim -n -E test_test.test << EOF
i
zhouxiang
.
^[
:wq
EOF