Skip to content

Instantly share code, notes, and snippets.

@amirrezaDev1378
amirrezaDev1378 / rate-limit.ts
Created December 21, 2025 16:44
Here is a small utility for helping with rate limits in the Next.js App Router.
import { Cacheable } from "cacheable";
import { NextRequest, NextResponse } from "next/server";
const cache = new Cacheable();
// Your storage of choice
// Or Redis
// const cache = new RedisClient({...});
// Or just a simple Map
// const cache = new Set();
@davidcafor
davidcafor / TheUnofficialAppleDeveloperCurriculum.md
Created December 17, 2025 17:13
🍎 The Unofficial Apple Developer Curriculum

🍎 The Unofficial Apple Developer Curriculum

WWDC19 → WWDC25

A complete, curated roadmap for modern Apple developers.

Goal Build a deep, long-lasting understanding of Apple development: Swift → SwiftUI → Concurrency → Data → Testing → Performance → visionOS → Swift 6

Rules

@7etsuo
7etsuo / tetsuo_curl.c
Created December 20, 2025 21:06
tetsuo_curl.c
// clang-format off
/*
* SPDX-License-Identifier: MIT
* Copyright (c) 2025 Tetsuo AI
*
* tetsuo_curl.c - A minimal curl-like HTTP client using the Simple API
*
* Demonstrates how little code is needed for a functional HTTP client.
* Redirects are followed automatically (up to 10 hops).
*
@MarvNC
MarvNC / get-discord-token-from-browser.md
Last active December 21, 2025 16:56
How to Get Your Discord Token From the Browser Developer Console

How to Get Your Discord Token From the Browser Console

New method (contributed by youyoumu)

  • Open the browser console with F12 or Ctrl + Shift + I.
  • Enable mobile device emulation with Ctrl + Shift + M.
  • Paste the following code into the console and press Enter:
const iframe = document.createElement('iframe');
==> https://blog.sitedd.ru/archives/109
Linux. Монтирование Яндекс.Диск по WebDAV в локальную файловую систему
Ubuntu 16.04
davfs2
Установка davfs2
@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active December 21, 2025 16:53
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system

Since the original creator aamiaa does not want new features or improvements added to their code, I created this gist with some quality-of-life improvements instead.

My version still fully respects the Discord API and does not bypass or abuse it.


Patch Notes

Patch 0.0

@Astrophelverse
Astrophelverse / differential_evolution_packing.py
Created December 21, 2025 16:40
A technical deep-dive into using Differential Evolution for geometric optimization.
import numpy as np
from scipy.optimize import differential_evolution
import matplotlib.pyplot as plt
import matplotlib.patches as patches
# 1. CONFIGURATION
@hackermondev
hackermondev / writeup.md
Last active December 21, 2025 16:40
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)