Skip to content

Instantly share code, notes, and snippets.

View joseph-crowley's full-sized avatar
💭
Thermalizing

Joe Crowley joseph-crowley

💭
Thermalizing
View GitHub Profile
@joseph-crowley
joseph-crowley / shadcn.md
Created March 17, 2025 19:58
initial solution for shadcn llms.txt

Below is a compressed yet complete reference for quickly integrating each shadcn component. Assumption: you already have the files from your question in @/components/ui/*.tsx and can import them directly. All components accept typical React props plus any Radix/3rd-party props. Adjust styling and props as needed.Do not rewrite any of the code for the shadcn components.


1. Accordion

Import

import {
  Accordion,
  AccordionItem,
@joseph-crowley
joseph-crowley / cyberhaven_interview_problem.py
Created November 22, 2024 17:54
Cyberhaven Backend Engineer - Coding Problem
import uuid
import flask
# JSONRESPONSE
app = flask.Flask(__name__)