mingang.he
mingang.he
For `zsh`, you can add this to the zshrc file: ```shell compdef _precommand graftcp ``` More details: https://unix.stackexchange.com/a/178054
使用 docker 命令拉取镜像,实际上会通过 unix socket 通知运行于后台的 docker 进程,让后台的 docker 发出网络请求拉取镜像。因此,如果要让 docker 的网络请求走代理的话,需要停止后台的 docker 进程,再让 graftcp 重新启动 docker 进程就可以了。 例如: ``` sudo stop docker sudo graftcp docker -d docker pull hello-world...
Fix sub_proc.
The bug is: ``` bash > (- 3) ; should return -3 3 ```
...r with changeport flag
When we do Test3 to determine the client is behind a restricted or port restricted NAT, this line: ``` ret = stun_test(s, changedIP, port, source_ip, source_port, changePortRequest) ``` will request...
I am using this vim config to [jump to the left tab after closing current tab](http://stackoverflow.com/questions/14079149/vim-automatically-show-left-tab-after-closing-tab): ``` let s:prevtabnum=tabpagenr('$') let s:prevtabid=tabpagenr() augroup TabClosed autocmd! TabEnter * :if tabpagenr('$')1 && s:prevtabid...
### Description I have noticed that [the code](https://github.com/nvim-telescope/telescope.nvim/blob/2e1e382df42467029b493c143c2e727028140214/lua/telescope/actions/init.lua#L938) in telescope.nvim may lead to a problem: ```lua vim.api.nvim_exec_autocmds("QuickFixCmdPost", {}) ``` If the user's configuration or other plugins (e.g., [go.nvim](https://github.com/ray-x/go.nvim/blob/d748e79011437d5b080006b896b3c296656641d7/lua/go/commands.lua#L126)) define similar...