Skip to content

Instantly share code, notes, and snippets.

@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)
@ssp
ssp / git-extract-file.markdown
Created January 23, 2012 13:21
Extract a single file from a git repository

How to extract a single file with its history from a git repository

These steps show two less common interactions with git to extract a single file which is inside a subfolder from a git repository. These steps essentially reduce the repository to just the desired files and should performed on a copy of the original repository (1.).

First the repository is reduced to just the subfolder containing the files in question using git filter-branch --subdirectory-filter (2.) which is a useful step by itself if just a subfolder needs to be extracted. This step moves the desired files to the top level of the repository.

Finally all remaining files are listed using git ls, the files to keep are removed from that using grep -v and the resulting list is passed to git rm which is invoked by git filter-branch --index-filter (3.). A bit convoluted but it does the trick.

1. copy the repository to extract the file from and go to the desired branch

@rxaviers
rxaviers / gist:7360908
Last active November 23, 2026 09:23
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@stevejenkins
stevejenkins / Pi-hole on UC-CK 0.13.6
Last active November 23, 2026 09:17
Pi-hole on UC-CK 0.13.6
# Instructions for installing Pi-hole 4.2 on UniFi CloudKey Gen 1 (UC-CK) running firmware 0.13.6
# Pi-hole will need to be completely re-installed after every FW update or if CloudKey is reset to defaults.
# Verify UC-CK is running firmware v0.13.6 (or later) before installing Pi-hole. If not, do:
ubnt-systool fwupdate https://dl.ubnt.com/unifi/stage/cloudkey/firmware/UCK/UCK.mtk7623.v0.13.6.7ad551e.190225.0939.bin
# UC-CK firmware v0.13.6 downgrades UniFi Controller to 5.10.17. Upgrade to 5.10.19 with:
cd /tmp
wget https://dl.ubnt.com/unifi/5.10.19/unifi_sysvinit_all.deb
dpkg -i unifi_sysvinit_all.deb
@jarcento
jarcento / flac_to_mp3_converter.sh
Last active November 23, 2026 09:18
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)
@ElBarto254
ElBarto254 / PS4 PKGs CUSA1-10000.csv
Created November 23, 2026 09:04 — forked from z5ottu/PS4 PKGs CUSA1-10000.csv
PS4 - Single PKG Downloads - CUSA1-10000
We can't make this file beautiful and searchable because it's too large.
Parental Level,Game Title,File Offset,PlayStation PRO Support,Current Version,Instant Download,Package Size,PlayStation VR,Piece,SHA1 Hash,Title ID,Play Together
3,THE PLAYROOM,0,No,1.07,http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/9/f_ef965b581d35637dabc96366f29f1f0ece58c8fa9158b0eb7de9407ae72272e8/f/IP9100-CUSA00001_00-PLAYROOM00000000-A0107-V0100.pkg,34.9MB,No,0,22774b6c655f47dffce0eb7e15c5e865dce6a849,CUSA00001_00,
9,KILLZONE SHADOW FALL,0,No,1.81,http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00002_00/58/f_0882efa770fbf5b9a03b4decce248e8f07fd9585cbe43c44791799952c62fd14/f/EP9000-CUSA00002_00-KZ4RELEASE000041-A0181-V0100.pkg,2.9GB,No,0,552b7127dac3ee8ab5ce2ae051f6436c3ec605fc,CUSA00002_00,
7,inFAMOUS Second Son,0,Yes,1.07,http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00004_00/28/f_2881c3732328a643917aeb4c1e73b916c1d6baa7ea09e2e81f33d5f139ea9449/f/EP9000-CUSA00004_00-SECONDSONSHIP000-A0107-V0100.pkg,3.7GB,No,0,0538bdff843286013877ab92e5dc936b1407ddcb,CUSA00004_00,