#open this file with sudo visudo -f
/etc/sudoers.d/fangxing
fangxing ALL=(ALL) NOPASSWD:ALL
sudo apt-get install -f mysql libmysqlclient-dev redis-server git git-extras \
fix | |
```shell | |
$ stty sane | |
``` |
ctrl-alt-f7 |
快速输入 | |
确保在 ~/.config/fcitx/config 里把 SemiColonAction 修改为 QuickPhrase. | |
创建 ~/.config/fcitx/data/QuickPhrase.mb, 文件内容示范如下: | |
#第一个字符为“#”的行是注释 | |
#格式:编码 符号 | |
#数学符号 | |
dianhua 123456789 | |
youbian 123456 | |
dizhi 中华人民共和国北京市长安街一号 |
#difference between proc and |
+------------+ | |
|permissions | | |
+-----+------+ | |
| | |
has_many through +----+ permission_id | |
| +--------------------+ | |
+-----^+-> | role_permissions | | |
| +--------------------+ | |
has_many through +----+ role_id | |
+ |
# === EDITOR === | |
Pry.editor = 'vim' | |
# == Pry-Nav - Using pry as a debugger == | |
Pry.commands.alias_command 'c', 'continue' rescue nil | |
Pry.commands.alias_command 's', 'step' rescue nil | |
Pry.commands.alias_command 'n', 'next' rescue nil | |
Pry.commands.alias_command 'r!', 'reload!' rescue nil | |
Pry.config.color = true |
$ webpack-dev-server --content-base ./ --port <port> --hot
#检测文件改动webpack 是否察觉 webpack --watch --progress
#如果改动文件(并保存), webpack没有察觉 , 则执行
$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p