办公软件推荐

ditto,记录复制信息,不需要重复复制。
snipaste,截图可以定在窗口,不需要来回切页面。
vscode:tabnine插件提示代码,设置自动换行”editor.wordWrap”: “on”.

brew安装慢或者没有反应,默认是github的源是国外的所以访问慢,所以需要换国内源,这里换的是清华的源

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles' >> ~/.zshrc
source ~/.zshrc
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles' >> ~/.bash_profile
source ~/.bash_profile
brew update

# 安装工具,安装卡或者慢的继续观看文章,后面有解决方案
​# gifify开源项目地址:https://github.com/jclem/gifify
brew install gifify
# 切换到视频保存目录
cd Documents
# 重命名一下视频文件,原文件名太长转换会报错,也可以鼠标右键重命名
mv 屏幕录制2023-09-09\ 14.55.15.mov 1.mov
# 转换为gif
gifify 1.mov -o 1.gif