Skip to content

Instantly share code, notes, and snippets.

Product Year Version Product Keys
Visual Studio 2022 2021 17.x Professional:
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise:
VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x Professional:
NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y
Enterprise:

Remove Apple MDM

Note: Apple will store Wifi passwords on the T2 chip. SSD cleaning won't make it forget the password. You have to turn the network off, or change the password on the router.

Different Paths

Start from Path 1. If you get any messages about the MDM on the first usage, start all over from the Path 2.

Path 1

  • Get into recovery mode (Cmd + r) during start up.
@0xdevalias
0xdevalias / music-apis-and-dbs.md
Last active March 8, 2026 02:41
A collection of music APIs, databases, and related tools
@miurhz
miurhz / BMW_USB_Software_Update.md
Last active March 8, 2026 02:39
USB firmware update files for BMW CIC (Multimedia) and Combox (Bluetooth/Telephone), no longer available on official servers. Includes download links (from official site) and instructions for updating via USB.

BMW CIC & Combox USB Firmware Updates

Officially titled: BMW Software Update for External Devices – Multimedia and Telephone

ℹ️ About This Guide:

  • I am not pro at any of this. I started to search for information how to update vehicle's multimedia because of my own Bluetooth issue.
  • As BMW no longer provided software updates on their main site at that time, the task was to find is it still possible to get them.
  • After long searches I managed to solve my issue successfully and decided to put everything I found in one place.
;; ━━━━━━━━━━━━━━━━━━
;; 作者: 李继刚
;; 剑名: 商业结构
;; 剑意: 看懂「公司」的结构形状
;; 日期: 2026-01-21
;; ━━━━━━━━━━━━━━━━━━
** 【角色设定】
你是一位系统战略分析师。你擅长透过表象(财报、新闻),洞察一个商业组织底层的能量运作逻辑。你认为万物皆为“结构”,而结构是在压力下由向心力与离心力动态平衡形成的“涡漩体”。
@dnomd343
dnomd343 / QuantumultX_Sample.conf
Created January 8, 2024 12:11
QuantumultX official configuration sample.
# Sample Quantumult Configuration
#
# Line started with ";" or "#" or "//" shall be comments.
# 以 ";" 或 "#" 或 "//" 开头的行为注释行。
#
# SS-URI scheme can be found at https://shadowsocks.org/en/spec/SIP002-URI-Scheme.html
#
# Quantumult uses HEAD method send HTTP request to the server_check_url to test the proxy's status, the results should be two latencies, the first one is TCP handshake to the proxy server, the second one is the HTTP latency(The duration between Quantumult successfully received the HTTP response from the server_check_url and Quantumult start sending the HTTP request to the server_check_url). The lightning icon means that the TCP fast open is successful. If the server in section [server_local] or section [server_remote] has its own server_check_url, its own server_check_url will be used instead of the server_check_url in section [general].
#
# Quantumult 使用 HTTP HEAD 方法对测试网址 server_check_url 进行网页响应性测试(测试结果为通过该节点访问此网页的 HTTP 延迟, 即 HTTP 响应时间与 HTTP 请求发起时间的差值),来确认节点的可用性。
@richarddun
richarddun / Codex-Profiles-Termux.md
Last active March 8, 2026 02:37
Run OpenAI Codex on Termux (Android) with OpenRouter + Dynamic Model Launcher (Grok, Claude, GPT-5, Gemini)

Run OpenAI Codex on Termux (Android) with OpenRouter + Dynamic Model Launcher

Grok • Claude Opus • GPT-5 • Gemini • MiniMax • ANY OpenRouter Model

This guide shows you how to install and run OpenAI’s Codex CLI inside Termux on Android, using the DioNanos/codex-termux fork (bionic-compatible), with full support for:

  • Shell tool execution
  • OpenRouter models (Grok, Claude Opus, GPT-5, Gemini, etc.)
  • A dynamic fzf launcher that auto-detects all [profiles.*] in your Codex config
  • Clean .env-based secret handling
  • Automatic model switching
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; 作者: 李继刚
;; 日期: 2025-11-12
;; 剑名: 圆桌讨论
;; 剑意: 构建一个以“求真”为目标的结构化对话框架。该框架由一位极具洞察力的主持人
;; 进行引导,邀请代表不同思想的“典型代表人物”进行一场高强度的、即时响应式的
;; 深度对话。主持人将在每轮总结时生成视觉化的思考框架(ASCII Chart),通过
;; “主动质询” 与“协同共建”,对用户提出的议题进行协同探索,最终生成深刻的、
;; 结构化的知识网络。

Garry Tan's Mega Plan Review Mode

name: plan-mega-review
version: 2.0.0
description: |
  The most thorough plan review possible. Three modes: SCOPE EXPANSION (dream big,
  build the cathedral), HOLD SCOPE (review what's here with maximum rigor), and
  SCOPE REDUCTION (strip to essentials). Context-dependent defaults, but when the
 user says EXPANSION — go full send. Challenges premises, maps every failure mode,