File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 703703 - [ 给计算机 202102 班的选修课建议] ( 学习与进步/计算机/文章/给计算机202102班的选修课建议.md )
704704 - [ 备忘录 | Memo] ( 学习与进步/计算机/备忘录/备忘录.md )
705705 - [ 常用命令 | Commands] ( 学习与进步/计算机/备忘录/Commands.md )
706+ - [ 解决 MacOS 破解软件无法安装或者提示已损坏的问题] ( 学习与进步/计算机/备忘录/解决MacOS破解软件无法安装或者提示已损坏的问题.md )
707+ - [ MacOS 破解软件常用网站] ( 学习与进步/计算机/备忘录/MacOS破解软件常用网站.md )
708+ - [ 新 MacOS 配置流程] ( 学习与进步/计算机/备忘录/新MacOS配置流程.md )
709+ - [ 解决 MacOS 下 tmux 无法复制到系统剪切板的问题] ( 学习与进步/计算机/备忘录/解决MacOS下tmux无法复制到系统剪切板的问题.md )
706710 - [ Github 学生认证过程及注意事项] ( 学习与进步/计算机/备忘录/Github学生认证过程及注意事项.md )
707711 - [ Windows 相关] ( 学习与进步/计算机/备忘录/Windows相关.md )
708712 - [ Windows 自定义自启动任务] ( 学习与进步/计算机/备忘录/Windows自定义自启动任务.md )
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -771,6 +771,7 @@ https://tinysnow.github.io/阅读/每日一文/小事-吉尔贝·塞斯勃隆
771771https://tinysnow.github.io/阅读/每日一文/小偷-苏童
772772https://tinysnow.github.io/阅读/每日一文/小偷-雷蒙德·卡佛
773773https://tinysnow.github.io/阅读/每日一文/小公务员之死-契诃夫
774+ https://tinysnow.github.io/阅读/每日一文/小基督-马丁·麦克多纳
774775https://tinysnow.github.io/阅读/每日一文/小女孩与厌倦-于尔克·舒比格曼
775776https://tinysnow.github.io/阅读/每日一文/小女孩和死神-于尔克·舒比格
776777https://tinysnow.github.io/阅读/每日一文/小桔灯-冰心
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ # MacOS 破解软件常用网站
2+
3+ - 推荐程度依次降低
4+ - https://xmac.app/
5+ - https://appstorrent.ru/
6+ - https://www.digit77.com/macapps/
7+ - https://www.imacso.com/
8+ - https://macked.app/
9+ - https://xclient.info/
10+ - https://www.52pojie.cn/forum.php?mod=forumdisplay&fid=16&filter=typeid&typeid=234
11+ - https://macwk.cn/
12+ - https://macapp.org.cn/
13+ - https://zh.altapps.net/platform/mac
14+ - https://www.seemac.cn
Original file line number Diff line number Diff line change 1+ # 新 MacOS 配置流程
2+
3+ ## 流程
4+
5+ 1 . 进系统,登账号,系统账号登国区的,App Store 账号最好登美区的
6+ 2 . 改输入法为双拼
7+ 3 . 下载各种自己需要安装的软件,最好从官网下,不一定要从 App Store 下,有的 App Store 下载的软件版本可能比官网上做了阉割
8+ 4 . 安装科学上网软件,开启 tun 模式
9+ 5 . 安装环境
10+ 1 . 首先必安 homebrew
11+ - 打开终端:` /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" `
12+ - 或者自己去官网找命令
13+ 2 . rust:` curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh `
14+ 3 . python:` brew install python `
15+ - 之后所有的命令都要用 python3 或者 pip3,不能直接敲 python 或者 pip,不然认不到
16+ 4 . tmux:` brew install tmux `
17+ - tmux 装完之后可能会有无法复制到系统剪切板的问题,详情见另一篇博客
18+ 5 . git
19+
20+ ## 终端配置
21+
22+ - 各种软件配置的 dotfiles,我是直接用的 anishathalye 的 dotfiles,好用,就是这个仓库会有 git submodule,需要找一个好点的梯子,不然速度很慢
23+
24+ ``` bash
25+ # 克隆仓库之后运行
26+ cd ~ && git@github.com:anishathalye/dotfiles.git && cd dotfiles && ./install
27+ ```
28+
29+ - 如果运行半天都没反应,换一个节点,删了所有文件重来吧
30+
31+ ``` bash
32+ # 删除之前的软链接
33+ rm -rf dotfiles .agignore .aria2 .bash .bash_profile .bashrc .editrc .emacs .emacs.d .gitconfig .gitignore_global .haskeline .hgrc .inputrc .irssi .pythonrc .rtorrent.rc .screenrc .shell .tmux.conf .vim .vimrc .zsh .zshrc .dotfiles
34+ # 换一个节点之后运行
35+ cd .. && rm -rf dotfiles && git clone git@github.com:anishathalye/dotfiles.git && cd dotfiles && ./install
36+ ```
37+
38+ ## 常用软件
39+
40+ - Telegram
41+ - Microsoft TODO
42+ - Strongbox(Keepass 的 MacOS 版本)
43+ - Visual Studio Code
44+ - 纯纯写作桌面版
45+ - 捧读
46+ - Xmind(可能要去找破解版)
47+ - Firefox
48+ - Chrome
49+ - FLClash
50+ - LocalSend
51+ - Typora(可能要去找破解版)
52+ - ShadowRocket
Original file line number Diff line number Diff line change 1+ # 解决 MacOS 下 tmux 无法复制到系统剪切板的问题
2+
3+ ## 安装 reattach-to-user-namespace
4+
5+ ``` bash
6+ brew install reattach-to-user-namespace
7+ ```
8+
9+ ## tmux.conf 配置
10+
11+ ``` conf
12+ # 基础配置
13+ # buffer缓存复制到Mac系统粘贴板
14+ bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy"
15+ # Mac系统粘贴板内容复制到会话
16+ bind C-v run "reattach-to-user-namespace pbpaste | tmux load-buffer - \; paste-buffer -d"
17+
18+ # 复制模式下
19+ # 绑定y键为复制选中文本到Mac系统粘贴板
20+ bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel 'reattach-to-user-namespace pbcopy'
21+ # 鼠标拖动选中文本,并复制到Mac系统粘贴板
22+ bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "pbcopy"
23+ ```
24+
25+ ## 刷新 tmux
26+
27+ ``` bash
28+ tmux source ~ /.tmux.conf
29+ ```
30+
31+ 或者
32+
33+ 按下 \< prefix\> 键位,然后输入
34+
35+ ```
36+ :source-file ~/.tmux.conf
37+ ```
38+
39+
40+
Original file line number Diff line number Diff line change 1+ # 解决 MacOS 破解软件无法安装或者提示已损坏的问题
2+
3+ - 开启任何来源(最简便):打开终端输入 ` sudo spctl --master-disable ` 并回车,输入密码后在系统设置的“隐私与安全性”中勾选“任何来源”。 ** 安装完了之后记得改回去,不要选任何来源。**
4+ - 修复软件签名(推荐):打开终端,输入 ` sudo xattr -rd com.apple.quarantine ` (注意结尾有空格),然后将出现该提示的应用程序图标从应用程序文件夹拖入终端窗口,最后按下回车键并输入电脑密码即可。
5+ - 重新信任应用(替代方法):如果系统安全设置提示,在“系统设置”>“隐私与安全性”中,点击“仍然打开”。
You can’t perform that action at this time.
0 commit comments