Discover gists · GitHub
Skip to content

Instantly share code, notes, and snippets.

@akella
akella / curl.glsl
Created November 5, 2023 09:03
curl.glsl
sepal.length sepal.width petal.length petal.width variety
5.1 3.5 1.4 .2 Setosa
4.9 3 1.4 .2 Setosa
4.7 3.2 1.3 .2 Setosa
4.6 3.1 1.5 .2 Setosa
5 3.6 1.4 .2 Setosa
5.4 3.9 1.7 .4 Setosa
4.6 3.4 1.4 .3 Setosa
5 3.4 1.5 .2 Setosa
4.4 2.9 1.4 .2 Setosa
@anasmaluuma
anasmaluuma / iris.csv
Created October 24, 2026 11:35 — forked from netj/iris.csv
sepal.length sepal.width petal.length petal.width variety
5.1 3.5 1.4 .2 Setosa
4.9 3 1.4 .2 Setosa
4.7 3.2 1.3 .2 Setosa
4.6 3.1 1.5 .2 Setosa
5 3.6 1.4 .2 Setosa
5.4 3.9 1.7 .4 Setosa
4.6 3.4 1.4 .3 Setosa
5 3.4 1.5 .2 Setosa
4.4 2.9 1.4 .2 Setosa
dism /online /set-edition:serverstandard /productkey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /accepteula
@myheart111
myheart111 / How to download from pan.baidu.com, pan.quark.cn and 123pan without an account (2026).md
Last active October 24, 2026 11:36
How to download from pan.baidu.com, pan.quark.cn and 123pan without an account (2026)

How to download from pan.baidu.com, pan.quark.cn and 123pan without an account (2026)

✅ Working method (October 2026): baidufast.com

Paste a Baidu Netdisk (百度网盘), Quark Pan (夸克网盘), 123pan (123云盘) or Xunlei (迅雷云盘) share link → see the real size and price → get a direct download link. No account, no Chinese phone number, no app, no 50 KB/s. Files under 150 MB are free. Or post your link in the comments and I'll fetch it for you.

🔄 Last update 18 Oct 2026: Xunlei links added (handled by hand, price on Telegram). PanDownload, baidu.kinh.cc, userscripts and Telegram bots are dead — see Old methods below.

Information

@breisa
breisa / firefox-ai-sidebar-customization.md
Created March 22, 2026 19:10
how to customize firefox ai sidebar

How to customize Firefox AI sidebar

Firefox AI sidebar is just an additional tab that opens some AI provider's website with a prompt passed via the q=PROMPT URL parameter. The prompt is built from a prefix that gives the AI relevant context and a command prompt that is appended afterwards. The command prompt is either entered by the user via the UI or predefined depending on the selected menu item (e.g. 'summarize' -> some summarization prompt). All of this can be configured in about:config.

AI Provider

Firefox comes preconfigured with a selection of major providers. You can also configure a local or custom provider. First set browser.ml.chat.hideLocalhost to false.

@devhammed
devhammed / Caddyfile
Last active October 24, 2026 11:27
Laravel Docker Setup (Caddy, FrankenPHP, Queue Worker, Octane, Scheduler, Reverb)
@johnshew
johnshew / rdp-lsm-wedge-post.md
Created June 25, 2026 23:47
Windows 11 24H2/25H2: whole-machine freeze when RDPing into a console you're already signed into (same-account LSM session-arbitration wedge) — identify, confirm, and fix

Windows 11 24H2/25H2: whole-machine freeze when you RDP into a PC you're already signed into at the console — root cause + fix

TL;DR — On Windows 11 24H2/25H2, if you are signed in at the physical console with an account and then connect via Remote Desktop as that same account, the session handoff ("session arbitration") can hang LogonUI.exe and wedge the whole machine — RDP and the local console both become unusable until a hard power cycle. The fix is a host-side Group Policy: enable "Select network detection on the server" and turn off both detects, then reboot. After applying it, the same collision that used to hang for minutes (or forever) completes in ~2 seconds.

This writeup adds the part most existing threads are missing: how to positively confirm you're hitting this bug (via the Local Session Manager event log) rather than one of the other 24H2 RDP regressions.


Symptoms