macOS 的 Launchd 配置和使用 家里的黑苹果一直开机当成一台类似 Home Lab 的服务器用,但偶尔会重启,就得把上面跑的服务一个个重新拉起来。花了点时间学 macOS Launchd 的基础用法,让这个过程自动化。 系统启动先加载内核 kernel_task(0),然后启动 launchd(1),去拉起配置好的 Daemons,等用户登录后再运行相应的 Agents。 Launchd 管理 Daemons 和 Agents 两种任务,配置文件分别放在不同文件夹:Agents 是用户登录后执行的,Daemons 是开机后就执行,可以指定用户(比如 root)运行。
11 月 21 日 星期一
Netbird 异地组网 管理后台、远程连回家中的电脑、访问内网的服务。 测试了延迟和带宽都很满意,最重要的是简单——用 Homebrew 三行命令就能把一台设备加进组网。
NetBird - Open Source Zero Trust NetworkingWireGuard®-based overlay network and Zero Trust Network Access in one platform for reliable and secure connectivitynetbird.ioThree.js Journey 观望了很久的 Three.js 课程,黑五五折只要 $47.5(¥340)。把前两章看完,对 Three.js 有了基础了解——重要的还是对 3D 领域一些概念的理解,比如几何图形、材质、光源这些东西。
Three.js Journey — Learn WebGL with Three.jsLearn 3D on the web with Three.js Journey: 87 lessons and 116 hours of video on Three.js, WebGL, WebGPU and TSL, from absolute beginner to advanced.threejs-journey.com
ChatGPT 以后有 ChatGPT 来教我写正则了。
Doko 用 Node.js 重写了
GitHub - egoist/doko: A docker-based development dependency manager.A docker-based development dependency manager. Contribute to egoist/doko development by creating an account on GitHub.github.com
数据库 Serverless 服务的选择 看一些全栈项目的代码时会想把项目跑起来,但又懒得在本地装数据库,就用 Serverless 数据库:Postgres 用 Railway,MySQL 用 PlanetScale。
Railway | The all-in-one intelligent cloud providerRailway is a full-stack cloud for deploying web apps, servers, databases, and more with automatic scaling, monitoring, and security.railway.app
Dub.sh 短链接服务自定义域名时 ERR_TOO_MANY_REDIRECTS Cloudflare 有个 Flexible SSL 选项,会强制客户端到 Cloudflare 之间走 HTTPS,但 Cloudflare 到源服务器之间可以走 HTTP。如果开了这个选项,但服务器上已经装了 SSL 证书,服务器就会把这些请求重定向到 HTTPS,很容易导致 too many redirects。解决办法是把加密模式换成 Full 或 Full (strict)——在 Cloudflare 控制台改成“完全”。
等到了 Readwise Reader 的试用资格 有字幕的 YouTube 视频可以当文章来阅读;全文搜索很好用;文章排版漂亮,让阅读更沉浸;能抓取 Tweet Thread。
Readwise Reader: The first read-it-later app built for power readers.Save everything to one place to overcome content overload, search instantly, and highlight like a pro.readwise.io
Fig 的 2022 年终总结
Raycast 2022 年终总结
新头像 又菜又爱玩吃鸡的我。
Kiwi 浏览器中使用“划词翻译”插件 在电脑上读英文文章时重度依赖 Chrome 的划词翻译插件的全文翻译功能。Kiwi 这款安卓浏览器可以装 Chrome 插件,手机上读英文文章也轻松多了。
GitHub - kiwibrowser/src.next: Source-code for Kiwi Next, a Kiwi Browser auto-rebased with latest ChromiumSource-code for Kiwi Next, a Kiwi Browser auto-rebased with latest Chromium - kiwibrowser/src.nextkiwibrowser.com
IconChnager 一键更换 macOS 图标,省了去 macOSicons 网站下载图标的步骤。
App+1|为 macOS 换图标,一共分几步? - 少数派自从用上了BigSur,我的强迫症就一天都没好过。Apple将macOS的所有图标都变成了圆角图标,可惜几年过去了,还是有好多软件没有遵循这一设计规则。有强迫症的我,自然不能让启动台中出现不和谐的元素 ...sspai.com














