Skip to content

Instantly share code, notes, and snippets.

@eric-gitta-moore
eric-gitta-moore / Windows-远程操作-Mac-Codex.md
Last active August 10, 2026 03:22
Windows / Mac 远程操作主 Mac Codex

Windows / Mac 远程操作主 Mac Codex

目标:主 Mac 只运行一个 app-server,本机 ChatGPT、Codex CLI 和第二台电脑的 ChatGPT 共用它。

主 Mac ChatGPT ── WS :45001 ── socat ───────────────────┐
主 Mac Codex CLI ─────────────── unix:// ────────────────┤
第二端 ChatGPT ── Remote Connections / SSH ── proxy ─────┤
                                                         ▼
                     ~/.codex/app-server-control/app-server-control.sock
@eric-gitta-moore
eric-gitta-moore / README.md
Last active August 7, 2026 14:57
可直接粘贴执行:使用 Codex 官方登录凭证获取并过滤 gpt-5.6-sol 模型目录

获取 Codex 官方 gpt-5.6-sol 模型配置

将下面整段命令直接粘贴到 zsh 终端执行。结果会写入当前目录的 models-5.6-sol.json

(
  set -euo pipefail

  AUTH_FILE="${CODEX_HOME:-$HOME/.codex}/auth.json"
  OUTPUT="$PWD/models-5.6-sol.json"
@eric-gitta-moore
eric-gitta-moore / models-5.6-sol.json
Last active August 7, 2026 14:50
Codex 官方模型目录:gpt-5.6-sol
{
"models": [
{
"additional_speed_tiers": ["fast"],
"apply_patch_tool_type": "freeform",
"auto_compact_token_limit": null,
"auto_review_model_override": null,
"availability_nux": null,
"available_in_plans": [
"business",
@eric-gitta-moore
eric-gitta-moore / 01-Open Gatekeeper friendly.bash
Last active October 17, 2024 06:50
Open Gatekeeper friendly
#!/bin/bash
printf '\e[1;40;92m'
clear
printf "All TNT releases are provided\n\tfree of charge for educational and uncommercial reasons.\n"
printf "Все релизы TNT предоставляются\n\tбезвозмездно для образовательных и некоммерческих целей.\n"
echo ""
echo "Press ENTER if you agree or close this window!"
echo "Нажмите ENTER, если вы согласны, или закройте окно!"
read ok
echo "Please wait..."
if (typeof Promise.withResolvers === 'undefined') {
Promise.withResolvers = function () {
let resolve, reject
const promise = new Promise((res, rej) => {
resolve = res
reject = rej
})
return { promise, resolve, reject }
}
}
@eric-gitta-moore
eric-gitta-moore / NGINX-BOILERPLATE .conf
Created September 12, 2022 11:34
NGINX-BOILERPLATE
####################################################################################################
#### author: SlickStack ############################################################################
#### link: https://slickstack.io ###################################################################
#### mirror: https://mirrors.slickstack.io/modules/nginx/nginx-conf.txt ############################
#### path: n/a (boilerplate) #######################################################################
#### destination: /etc/nginx/nginx.conf (after install) ############################################
#### purpose: Nginx main configuration file (server block configuration files are separate) ########
#### module version: Nginx 1.18.x ##################################################################
#### sourced by: n/a ###############################################################################
#### bash aliases: n/a (ss-install-nginx-config) ###################################################