Ghostty + Zoxide + Yazi + Oh-My-Zsh 完整配置
- Ghostty - 现代化 GPU 加速终端模拟器
- Zoxide - 智能目录跳转工具(cd 的智能替代)
- Yazi - 快速终端文件管理器
- Oh-My-Zsh - Zsh 配置框架
| ## Troubleshooting Antigravity Remote SSH on macOS: Fixing "posix_spawnp failed" and 404 Download Errors | |
| When attempting to use **Antigravity** (or similar IDEs) to connect via Remote-SSH to a macOS (Darwin) server, you might encounter a `posix_spawnp failed` error or a `404 Not Found` during the server installation phase. This usually happens because the official `darwin-arm` server binary is missing from the download mirrors. | |
| Below is a verified workaround to manually "assemble" a working Remote Server by bridging the Linux-arm structure with native Darwin binaries. | |
| ### 🛠 Prerequisites | |
| On your **Remote macOS Server**, ensure you have the necessary tools installed via Homebrew: |
| # 混合端口 HTTP和SOCKS5用一个端口 | |
| mixed-port: 7893 | |
| # TCP 并发连接所有 IP, 将使用最快握手的 TCP | |
| tcp-concurrent: true | |
| # 允许局域网的连接(可用来共享代理) | |
| allow-lan: true | |
| # 开启 IPv6 总开关,关闭阻断所有 IPv6 链接和屏蔽 DNS 请求 AAAA 记录 | |
| ipv6: true | |
| # 规则模式:rule/global/direct/script | |
| mode: rule |
| # 21 世纪最伟大的发明是什么,那必然是 AI | |
| # 所以如果你遇到什么问题,也许问 AI 比问人更快哦 | |
| # AFF | |
| # 如果你想支持我,可以通过我的邀请链接购买机场 | |
| # 感谢支持 | |
| # 1. ssLinks 邀请码: fSo2OhzH https://98a6251b6cd7471da86cca993b6dbe6f.36d.biz/#/register?code=fSo2OhzH | |
| # 2. 一元机场 邀请码: r3f1duds https://xn--4gq62f52gdss.top/#/register?code=r3f1duds | |
| # 一定要填我的邀请码,不填我哭给你看😭 |
| log: | |
| level: info | |
| plugins: | |
| # 缓存mosdns-install.hook | |
| - tag: cache | |
| type: cache | |
| args: | |
| size: 1024 | |
| lazy_cache_ttl: 86400 |
All license keys and activation files have been removed in accordance with GitHub's Terms of Service.
Only official trial installers are available. Bring your own license (BYOL).
| /system/device-mode/update container=yes | |
| /interface veth add address=172.17.0.1/24 gateway=172.17.0.254 name=agh | |
| /interface bridge add name=dockers | |
| /interface bridge port add bridge=dockers interface=agh | |
| /ip address add address=172.17.0.254/24 interface=dockers network=172.17.0.0 | |
| /ip firewall nat add action=masquerade chain=srcnat | |
| /container config set registry-url=https://registry-1.docker.io tmpdir=/disk1/tmp |
| :local curDNS [/ip dns get server] | |
| :local gwDNS "192.168.2.1" | |
| :local aghDNS "192.168.2.230" | |
| :local oriDNS "8.8.8.8,8.8.4.4" | |
| :local testDomain "www.google.com" | |
| :local isDown "no" | |
| :if ($curDNS = $aghDNS) do={ | |
| :do { |
| > * Go to [hexed.it](https://hexed.it/) | |
| > * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)** | |
| > * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1 | |
| > * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1 | |
| > * Click "Find next" then "Replace" | |
| > * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9 | |
| > * Click "Save as" then name it: sublime_text | |
| > * Copy your modified sublime_text.exe to directory Sublime Text |
| # Cloudflare Dynamic DNS update script | |
| # Required policy: read, write, test, policy | |
| # Add this script to scheduler | |
| # Install DigiCert root CA or disable check-certificate | |
| # Configuration --------------------------------------------------------------------- | |
| :local TOKEN "__APITOKEN__" | |
| :local ZONEID "__ZONEIDENTIFIER__" | |
| :local RECORDID "__RECORDIDENTIFIER__" | |
| :local RECORDNAME "__DNSRECORD__" |