进程路径获取
活动监视器》选择特定进程》取样

beyond compare
bc exe path: /Applications/Beyond Compare.app/Contents/MacOS/BCompare
source tree config: 注意要用 bcomp 版本 "/Applications/Beyond Compare.app/Contents/MacOS/bcomp", 注意加引号 $LOCAL $REMOTE $BASE $MERGED
终端代理
export http_proxy=http://127.0.0.1:7890;export https_proxy=http://127.0.0.1:7890;
nvm
install,注意先 proxy
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
use
- nvm install 10
- nvm list
- nvm use 10
ssh servers
- see 备忘录
mac ip manual 手动
ipconfig getifaddr en0
设置静态IP、子网掩码、网关
networksetup -setmanual Wi-Fi 192.168.0.223 255.255.255.0 192.168.0.1
设置DNS
networksetup -setdnsservers Wi-Fi 192.168.0.1 networksetup -setdnsservers Wi-Fi 223.6.6.6 8.8.8.8
恢复
networksetup -setdhcp Wi-Fi networksetup -setdnsservers Wi-Fi Empty
命令记录
cat with name
X:\all2\bat\packclient.sh
cd /e/uninote/mynote-site-docs/online/cyb/docs-mynote-client
find . -name '*.md' |xargs -n 1 cat-with-name.sh > all.log
# mobile
find . -name '*.dart' -not -path './test/*' -not -path './.dart_tool/*'| xargs -n 1 cat-with-name.sh > all.log
find . -name '*.md' | xargs -n 1 cat-with-name.sh > all.log
$ find . -name '*.md' -not -path './.mynote/*' |xargs -n 1 rg -n -H '' > test.log
# 空格问题:
find . -name '*.txt' -exec cat-with-name.sh {} \;
