Skip to content

Instantly share code, notes, and snippets.

@jacobparis
jacobparis / .cursor\rules\shadcn-ui.mdc
Created March 7, 2025 06:13
shadcn-ui cursor rules
---
description: "Use shadcn/ui components as needed for any UI code"
patterns: "*.tsx"
---
# Shadcn UI Components
This project uses @shadcn/ui for UI components. These are beautifully designed, accessible components that you can copy and paste into your apps.
## Finding and Using Components
@lukasnellen
lukasnellen / README.md
Last active December 19, 2025 09:18
Connect host and VM when using MACVTAP instead of TAP interfaces

Connect host and VM when using a MACVTAP interface

NB: The following is only of interest if you want to share the host network with your virtual machine. The most common way this gets implemented is by setting up a bridge which includes the physical interface. Using a [MACVTAP] inerface is suposed to be more efficient, since it avoids the additional bridge in the network setup.

In this gist, we extend the information provided in the documenation on linux virtual interfaces.

In the following, we assume you host interface is eth0. IP addresses used:

  • host: 198.51.100.50/24
  • virtual machine: 198.51.100.198/24
  • default gateway: 198.51.100.254
@hackermondev
hackermondev / writeup.md
Last active December 19, 2025 09:24
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)

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 19, 2025 09:10
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:
@jinjier
jinjier / javdb-top250.md
Last active December 19, 2025 09:07
JavDB top 250 movies list. [Updated on 2025/11]
@K1ethoang
K1ethoang / Active StarUml version 6 for Window | MacOS | Linux.md
Last active December 19, 2025 09:04
Active StarUml version 6 for Window | MacOS | Linux
@NelloKudo
NelloKudo / tft_linux_waydroid_guide.md
Last active December 19, 2025 09:00
How to play Teamfight Tactics (TFT) on Linux (Waydroid)

Playing TFT on Linux using Waydroid

Just like many other League addicts, ever since the Vanguard incident, TFT has been a no-go....

except it isn't, since the Android 13 version works just as fine, after some tweaks!

Screenshot From 2025-01-02 22-05-49


@mewmew
mewmew / ll.bnf
Last active December 19, 2025 08:58
A BNF grammar for LLVM IR assembly
// ### [ Lexical part ] ########################################################
_ascii_letter_upper
: 'A' - 'Z'
;
_ascii_letter_lower
: 'a' - 'z'
;
@ph33nx
ph33nx / php.conf
Last active December 19, 2025 08:56
Wordpress/PHP DDOS Protection + Harden PHP on Nginx (2024)
# PHP DDOS Protection + Harden PHP on Nginx (2022)
# Created as per latest security standards
# includes protection against DDOS, SQL injections, Comment spam, Php code injection and more
# 444 is returned in most places as it's the most appropriate response code for hackers.
# Some wordpress url's are also blocked as most bots often hit those urls no matter the site is running on wordpress or not
# ** Created by @ph33nx : https://github.com/ph33nx **
# HOW TO USE:
# Include below line (#12) in all your WordPress Sites server block (/etc/nginx/conf.d/wp_site.conf) for this to take effect
# include snippets/wordpress.conf;