- tmux
- tmuxinator
- git
- tig
- diff-so-fancy
- proxy
- proxychains(proxychains-ng)
- privoxy
- tsocks
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
#difference between proc and |
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
快速输入 | |
确保在 ~/.config/fcitx/config 里把 SemiColonAction 修改为 QuickPhrase. | |
创建 ~/.config/fcitx/data/QuickPhrase.mb, 文件内容示范如下: | |
#第一个字符为“#”的行是注释 | |
#格式:编码 符号 | |
#数学符号 | |
dianhua 123456789 | |
youbian 123456 | |
dizhi 中华人民共和国北京市长安街一号 |
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
ctrl-alt-f7 |
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
fix | |
```shell | |
$ stty sane | |
``` |
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
/************************************/ | |
基本命令 | |
C-x C-f 打开/新建文件 | |
C-x C-s 保存当前缓冲区 | |
C-x C-w 当前缓冲区另存为 | |
C-x C-v 关闭当前Buffer并打开新文件 | |
C-x i 光标处插入文件 | |
C-x b 切换Buffer | |
C-x C-b 显示Buffer列表 | |
C-x k 关闭当前Buffer |
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
if [[ -z "$TMUX" ]] | |
then | |
ID="`tmux ls | grep -vm1 attached | cut -d: -f1`" | |
if [[ -z "$ID" ]] | |
then | |
tmux new-session | |
else | |
tmux attach-session -t "$ID" | |
fi | |
fi |