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
\usepackage{fontspec} | |
\usepackage{xeCJK} | |
\setCJKmainfont {微软雅黑} |
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
magic-enter () { | |
if [[ -z $BUFFER ]]; then | |
if git rev-parse --is-inside-work-tree > /dev/null 2>&1; then | |
echo | |
git diff --minimal | |
echo | |
fi | |
fi | |
zle accept-line | |
} |
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
bind -v | |
bind ^l ed-clear-screen |
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 keymap vi | |
set editing-mode vi | |
set completion-ignore-case on | |
"\eOC": forward-word | |
"\eOD": backward-word | |
"": clear-screen |
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
# coding:utf8 | |
import redis | |
import logging | |
import click | |
from itertools import izip_longest | |
# hosts = ('172.16.14.2', '172.16.14.4', '172.16.14.7', '172.16.14.16') |
OlderNewer