Skip to content

Instantly share code, notes, and snippets.

@junqdu
junqdu / terraria-mac-server.md
Last active July 20, 2025 05:31
Hosting Terraria on MacOS
  1. Download server file from the bottom of the page, https://terraria.org/
  2. I can't open the app, instead cd /Mac/Terraria%20Server.app/Contents/MacOS/
  3. chmod +x ./TerrariaServer && chmod +x ./TerrariaServer.bin.osx
  4. sudo codesign --sign - ./TerrariaServer.bin.osx
  5. sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add ./TerrariaServer.bin.osx
  6. ./TerrariaServer.bin.osx and allowing it in the setting, System Settings > Privacy & Secrutiy -> Security -> Allow
  7. Setup port forwarding for your router

Source:

@junqdu
junqdu / diet.md
Created April 16, 2025 06:47
Diet

增肌概括

高蛋白(维持肌肉增长)
适量碳水(提供能量)
健康脂肪(保持激素平衡)
足够热量(略微增加,但不暴饮暴食)


@junqdu
junqdu / schedule.md
Last active April 16, 2025 06:02
Workout Schedule

🗓️ 训练安排(4 天计划)

星期 内容 备注
胸 + 三头肌 推类动作为主
背 + 二头肌 拉类动作为主
休息 恢复 + 拉伸, 可以适当做轻度活动
腿部 + 臀部 下半身重点训练
肩 + 核心训练 小肌群和稳定性
休息 恢复 + 拉伸, 可以适当做轻度活动
休息 恢复 + 拉伸
@junqdu
junqdu / master-javascript-interview.md
Created March 3, 2022 20:34 — forked from Geoff-Ford/master-javascript-interview.md
Eric Elliott's Master the JavaScript Interview Series