Skip to content

Instantly share code, notes, and snippets.

@ahembree
ahembree / win11_restore_win10_context_menu.md
Last active December 21, 2025 13:50
Restore Windows 10 Right-Click Context Menu to Windows 11

The default Windows 11 right-click context menu is (in my opinion) awful and was an unnecessary change.

Switching back to Windows 10 Context Menu

If you're on Windows 11 and want the old Windows 10 right-click context menu, run the following command in a regular command prompt (NOT administrative):

reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
@insulineru
insulineru / DotaCoach-SKILL.md
Created December 21, 2025 10:00
DotaCoach Skill - Dota 2 coaching and analytics for Claude Code
name description
DotaCoach
Dota 2 coaching, analytics, and game knowledge system. USE WHEN user mentions dota, dota 2, hero, patch, meta, counterpick, matchup, item build, draft, mmr, match id, analyze match, OR wants to analyze patch notes, get hero info, check winrates, find counters, understand abilities, analyze match history, or improve at dota.

DotaCoach

Your personal Dota 2 analyst and coach. Provides real-time game data, patch analysis, hero breakdowns, meta insights, and strategic recommendations using official Valve APIs and OpenDota statistics.

Data Sources

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 21, 2025 13:49
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@hackermondev
hackermondev / writeup.md
Last active December 21, 2025 13:44
How we pwned X (Twitter), Vercel, Cursor, Discord, and hundreds of companies through a supply-chain attack

hi, i'm daniel. i'm a 16-year-old high school senior. in my free time, i hack billion dollar companies and build cool stuff.

about a month ago, a couple of friends and I found serious critical vulnerabilities on Mintlify, an AI documentation platform used by some of the top companies in the world.

i found a critical cross-site scripting vulnerability that, if abused, would let an attacker to inject malicious scripts into the documentation of numerous companies and steal credentials from users with a single link open.

(go read my friends' writeups (after this one))
how to hack discord, vercel, and more with one easy trick (eva)
Redacted by Counsel: A supply chain postmortem (MDL)

Exposing Homelab Services via Cloudflare Tunnel with Authelia SSO

This guide covers setting up external access to your homelab services through Cloudflare Tunnels, with Authelia providing single sign-on protection. The end result: you can access sonarr.yourdomain.com from anywhere, protected by 2FA, without opening any ports on your router.

The Traffic Flow

Internet → Cloudflare → cloudflared container → Traefik → Authelia check → Your service
@DarinM223
DarinM223 / Concepts.md
Last active December 21, 2025 13:30
Rust concept explanations

My explanation of the main concepts in Rust

There are three main concepts with Rust:

  1. Ownership (only one variable "owns" the data at one time, and the owner is in charge of deallocating)
  2. Borrowing (you can borrow a reference to an owned variable)
  3. Lifetimes (all data keeps track of when it will be destroyed)

These are fairly simple concepts, but they are often counter-intuitive to concepts in other languages, so I wanted to give a shot at

@andypiper
andypiper / set-transparency.md
Created October 20, 2024 18:05
Set transparency in Ptyxis (GNOME Terminal) in Fedora 41

Get the UUID of the default profile

Substitute that value in to the second command to enable transparency level

$ dconf read /org/gnome/Ptyxis/default-profile-uuid
'3aae5a177777aa966b1fd63467153e2d'
$ dconf write /org/gnome/Ptyxis/Profiles/3aae5a177777aa966b1fd63467153e2d/opacity 0.85
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
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active December 21, 2025 13:46
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.