Skip to content

Instantly share code, notes, and snippets.

@hackermondev
hackermondev / writeup.md
Last active December 19, 2025 03:01
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)

@joelklabo
joelklabo / ios-claude-workflow.md
Last active December 19, 2025 02:51
iOS Claude Code Setup Workflow - How I configured Claude Code for my iOS project

1) Prime Claude with /init

I started by running /init so Claude reads the repo and rewrites CLAUDE.md with real project affordances: how to run one test with xcodebuild, where Vice models live, what Swift 6.1 concurrency rules we enforce, and the bundle/CloudKit facts. I cut redundancy, kept only the sharp bits, and verified with CI. This establishes a trustworthy "ops manual" Claude sees first, not tribal memory.

Why: if the source of truth is precise, agents stop hallucinating paths/flags.

2) Level up Claude Code (settings, commands, hooks, nested docs)

Next pass: I mapped the whole Claude Code surface (settings, slash commands, MCP hooks, status line, nested CLAUDE.mds). Then I added:

  • .claude/settings.json — status line, model prefs, environment, and hook wiring.
  • Custom commands as the primary UX: small, composable, documented.
@joelklabo
joelklabo / ios-claude-setup-prompt.md
Created August 15, 2025 19:26
iOS Project Claude Code Setup Prompt - Complete setup instructions for Claude Code with XcodeBuildMCP

Complete iOS Project Claude Code Setup - Master Prompt

IMPORTANT: This comprehensive setup will transform any iOS project into a fully automated, context-aware, self-maintaining Claude Code environment. This prompt is designed specifically for Claude Code (claude.ai/code) users.


PHASE 0: Prerequisites & Environment Verification

0.1 Check Required Tools

Before starting, verify these tools are installed:

using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using UnityEngine;
namespace JsonDeserializeExample.Scripts
{
public enum VehicleType
{
Default,
@kurotanshi
kurotanshi / VUE_SDD_RULES_TEMPLATE.md
Created December 11, 2025 08:57
Vue SDD 規則檔範本 - WebConf 2025

Vue SDD 規則檔範本

本文件預設專案使用:Vue 3.5+、<script setup>、Composition API、TypeScript。 若使用 Nuxt、Options API 或 JavaScript,請依團隊技術選型調整對應規則。 此檔案可作為 CLAUDE.md.cursorrules.github/copilot-instructions.md 使用 根據你使用的 AI 工具,複製到對應位置即可

本文檔目的

  • 為 AI 工具提供一致的 Vue 程式碼風格與行為規範
@matthewzring
matthewzring / markdown-text-101.md
Last active December 19, 2025 02:37
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers: