Skip to content

Instantly share code, notes, and snippets.

@Terabyte1385
Terabyte1385 / disable-acs-popups-iwork.sh
Last active November 23, 2026 10:03
Disable Apple Creator Studio update popup in iWork (Keynote, Pages, Numbers)
defaults write com.apple.iWork.Pages TSADisableUpdateNotifications -bool yes
defaults write com.apple.iWork.Keynote TSADisableUpdateNotifications -bool yes
defaults write com.apple.iWork.Numbers TSADisableUpdateNotifications -bool yes
@Mr-xn
Mr-xn / mac.js
Created May 29, 2026 09:35
typora mac 激活
#!/usr/bin/env node
/**
* Typora macOS 激活脚本
* 原理:替换二进制中的 RSA 公钥,用自己的私钥签名生成 Activation Token
*/
const crypto = require('crypto');
const fs = require('fs');
const path = require('path');
const { spawnSync } = require('child_process');
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
T3ZWQ-P2738-3FJWS-YE7HT-6NA3K
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
65Z2L-P36BY-YWJYC-TMJZL-YDZ2S
SFZHH-2Y246-Z483L-EU92B-LNYUA
GSZVS-5W4WA-T9F2E-L3XUX-68473
FTZ8A-R3CP8-AVHYW-KKRMQ-SYDLS
Q3ZWN-QWLZG-32G22-SCJXZ-9B5S4
DAZPH-G39D3-R4QY7-9PVAY-VQ6BU
KLZ5G-X37YY-65ZYN-EUSV7-WPPBS
@comicchang
comicchang / harmonyos-ota-cdn-links.md
Last active November 23, 2026 09:38
HarmonyOS OTA CDN direct links (HBN-AL00 Pura 70 Pro / VYG-AL00 Mate 80), captured 2026-07~09, with SHA256
@ph33nx
ph33nx / Install-Android-USB-ADB-Fastboot-Windows-2026.md
Last active November 23, 2026 09:38
Install Android USB Driver, ADB, and Fastboot on Windows 10/11 (2026) – Step-by-step instructions to install the Android USB driver and set up ADB/Fastboot using winget on Windows 10/11. Perfect for Android development and troubleshooting.

Installation Guide for ADB/Fastboot & Android USB Driver (Windows 10/11)

Step 1. Install ADB and Fastboot Binaries via Winget

  1. Open Command Prompt or PowerShell
    • Execute the following command to install the binaries:
      winget install Google.PlatformTools
@markdrew156
markdrew156 / download-from-pan-baidu-com-outside-china-2026.md
Created November 12, 2026 02:16
How to download from pan.baidu.com outside China (2026) — Baidu Pan / Baidu Netdisk without a Chinese account

How to download from pan.baidu.com outside China (2026) — Baidu Pan / Baidu Netdisk without a Chinese account

TL;DR: pan.baidu.com (Baidu Pan, Baidu Netdisk, 百度网盘) will not let you download anything without a logged-in Baidu account, and a Baidu account needs a mainland Chinese phone number. The working route in 2026 is a link-to-download service: paste the share link plus its extraction code on baidufast.com, check the real size and price, and receive a normal HTTPS download link. Files up to 150 MB are free; larger files start at $0.98.

Disclosure: BaiduFast is my own service. I run it, so this is a how-to written by the operator, not an independent review. Everything about Baidu itself below is public and checkable.

Key facts (November 2026)

  • pan.baidu.com is Baidu's consumer cloud storage. It is the dominant way files are shared on Chinese forums, Bilibili, Zhihu, game-mod sites and course platforms. "Baidu Pan", "Baidu
@pgaskin
pgaskin / 20261029-github-performance-jankiness-firefox.md
Last active November 23, 2026 09:32
My (seemingly successful?) attempt to root-cause the severe CPU/RAM usage issues and multi-second jankiness for GitHub.com on Firefox.

Why the fuck is GitHub so janky on Firefox lately?

Note: I didn't use AI to write this. I originally had it try to analyze the profiler GC logs, but there wasn't enough information for it to be conclusive (see below).

@bburhans
bburhans / flac_to_mp3_converter.sh
Created November 23, 2026 09:18 — forked from jarcento/flac_to_mp3_converter.sh
Convert FLAC audio files to MP3 using ffmpeg
#!/usr/bin/env bash
# ============================================================
# FLAC → MP3 Converter (parallel, in-place, cover-art safe)
#
# Usage:
# ./flac_to_mp3_converter.sh "/path/to/music" [options]
#
# Options:
# -b, --bitrate KBPS CBR bitrate for libmp3lame, e.g. 320 (default: 320)