Skip to content

Instantly share code, notes, and snippets.

@morganmcg1
morganmcg1 / settings.json
Last active December 19, 2025 21:13
Claude Code statusline settings - place in your ~/.claude/ dir
{
"model": "opus",
"statusLine": {
"type": "command",
"command": "~/.claude/statusline.sh"
}
}
@lykn
lykn / buttons.md
Last active December 19, 2025 21:12
A gist which shows/tells you how to make buttons using discord.py v2(version 2.0.0a)

Note: Before we go any further. Let me make this real clear that the following gist uses the OFFICIAL discord.py library and not forks like discord_components, nextcord, etc... So when your using this code but a different library and fuck up don't comment something mean or go to a help channel in the server and say "this gist is misleading" or "bad gist who wrote this" when your at fault, trust me I'm going to fuck you up😅

Just a reminder^^

Related Links:

DPY's Docs

Discord's Docs

@ShinWolf-Subject
ShinWolf-Subject / nvrch-cli.js
Created December 19, 2025 20:17
Tools CLI untuk reaction pesan pada saluran WhatsApp menggunakan library nvch-reactor
#!/usr/bin/env node
const { auth, validateUrl, getPackageInfo } = require('nvch-reactor');
const readline = require('readline');
const fs = require('fs').promises;
const path = require('path');
// Colors for terminal
const colors = {
reset: '\x1b[0m',
" Called with a command and a redirection target
" (see `:help redir` for info on redirection targets)
" Note that since this is executed in function context,
" in order to target a global variable for redirection you must prefix it with `g:`.
" EG call Redir('ls', '=>g:buffer_list')
funct! Redir(command, to)
exec 'redir '.a:to
exec a:command
redir END
endfunct
@mcrumm
mcrumm / phx_sqlite_fly_launch.md
Last active December 19, 2025 21:07
Phoenix + SQLite Deployment tips

Deploying to Fly.io with SQLite

Deploying a Phoenix app to Fly.io is a breeze...is what everyone kept telling me. In fairness, I imagine the process would have been breezier had I just used postgres, but all the sqlite and litestream talk has been far too intriguing to ignore. "Wait", you say. "It is just a flat file. How much harder can it be?"

It is easy to make something harder than it should be. It is hard to take something complex and make it truly simple. flyctl launch does an amazing job at providing a simple interface to the utterly complex task of generating deployment resources, especially now that we are living in a containerd (erm, firecracker) world.

This gist is for anyone who, like me, thinks they know better than to read all of the documentation and therefore necessari

@taslabs-net
taslabs-net / PVE9_TB4_Guide_Updated.md
Last active December 19, 2025 21:06
Thunderbolt4 mesh network

PVE 9.1.1 TB4 + Ceph Guide

Updated as of: 2025-11-19 - Network architecture corrections applied


Network Architecture (UPDATED)

Cluster Management Network: 10.11.11.0/24 (vmbr0)

  • Primary cluster communication and SSH access
@taslabs-net
taslabs-net / pve9tb4-original.md
Created July 26, 2025 00:13
My original post on using PVE 9 BETA's GUI visible and supported Fabric ability in SDN for TB4 Networking

Complete Guide (ish): Thunderbolt 4 OpenFabric Mesh on Proxmox VE 9

Acknowledgments

This guide is heavily adapted from the excellent work by @scyto.

Original gist and foundational research: https://gist.github.com/scyto/76e94832927a89d977ea989da157e9dc

The Thunderbolt hardware detection, kernel module loading, systemd configuration, and udev automation techniques are based on scyto's pioneering work on Thunderbolt networking with Proxmox. This guide adapts those proven methods for Proxmox VE 9's new native SDN OpenFabric capabilities.

@cooljeanius
cooljeanius / fink-packages.diff
Created May 16, 2013 14:28
packages that used to be available versus ones that are now available
--- 10.6_i386.txt 2013-05-16 10:26:29.000000000 -0400
+++ 10.8.txt 2013-05-16 10:24:40.000000000 -0400
@@ -1,45 +1,27 @@
Name Latest Version Description
-0verkill 0.16-1 2D ASCII-art shooter
-2mandvd 1.3.5-1005 Utility for creating Video DVD media
-2mandvd-mac 1.3.5-1004 Utility for creating Video DVD media
-3dpong 0.4-12 Pong clone
+3dpong 0.5-2 Pong clone
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 19, 2025 20:54
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 19, 2025 20:57
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)