常用软件安装
- 输入法
Hugo final_push.sh hugo_head.sh posts posts-new Rime
- 下载工具:
Hugo final_push.sh hugo_head.sh posts posts-new Motrix
- 文件分享:
Hugo final_push.sh hugo_head.sh posts posts-new LocalSend
- 文件编辑:
Hugo final_push.sh hugo_head.sh posts posts-new Obsidian
Hugo final_push.sh hugo_head.sh posts posts-new Emacs
Hugo final_push.sh hugo_head.sh posts posts-new Sublime Text 3
- 其他
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
brew tap railwaycat/emacsmacport
brew install --cask emacs-mac
git clone --depth 1 https://github.com/condy0919/.emacs.d ~/.emacs.d
brew install cmake rg
# install oh my zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
brew install eza
cd ~/.oh-my-zsh/custom/plugins/
git clone https://github.com/zsh-users/zsh-autosuggestions
vi ~/.zshrc>)
# quicklook
brew install qlcolorcode qlstephen qlmarkdown quicklook-json qlimagesize suspicious-package apparency quicklookase qlvideo
brew install --cask qlstephen
|
效率类:uTools 安装器:HomeBrew
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
## 使用科大源安装 Homebrew / Linuxbrew[](http://mirrors.ustc.edu.cn/help/brew.git.html#homebrew-linuxbrew "此标题的永久链接")
首先在命令行运行如下几条命令设置环境变量:
export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.ustc.edu.cn/brew.git"
export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.ustc.edu.cn/homebrew-core.git"
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.ustc.edu.cn/homebrew-bottles"
export HOMEBREW_API_DOMAIN="https://mirrors.ustc.edu.cn/homebrew-bottles/api"
之后在命令行运行 Homebrew 安装脚本:
/bin/bash -c "$(curl -fsSL https://github.com/Homebrew/install/raw/HEAD/install.sh)"
备注1
初次安装 Homebrew / Linuxbrew 时,如果无法下载安装脚本, 可以使用我们每日同步的安装脚本文件。
/bin/bash -c "$(curl -fsSL https://mirrors.ustc.edu.cn/misc/brew-install.sh)"
|
博客: Hugo
brew install –cask trilium-notes anki marginnote sublime-text edrawmind wondershare-edrawmax microsoft-excel microsoft-word bilibili iterm2 github firefox visual-studio-code joplin obsidian kopiaui utools squirrel maczip go2shell brew install wireguard-tools brew install –cask obs
- ENABLE_CJK_FONT brew install zsh-autosuggestions brew install zsh-syntax-highlighting brew install –cask syncthing brew install –cask joplin brew install –cask miaoyan brew install –cask appflowy brew install –cask flux brew install –cask dropshelf
原理
unraid下载插件为wget
命令,在unraid调用wget时,替换github.com为国内镜像站url
操作
- 新建
/usr/local/bin/wget
,内容如下
1
2
3
4
|
#!/bin/bash
opts=$@
opts=`echo $opts | sed 's/github.com/hub.fastgit.xyz/g'`
/usr/bin/wget ${opts}
|
- chmod +x
/usr/local/bin/wget
- alias wget=’/usr/local/bin/wget ;此处也可以加入到 /etc/profile下,用以开机启动
\