Skip to content

Instantly share code, notes, and snippets.

View imaitland's full-sized avatar
🌾

iain maitland imaitland

🌾
View GitHub Profile
@johnowhitaker
johnowhitaker / draw.py
Last active July 30, 2024 14:45
Canvas demo polling
from fasthtml.all import *
import anthropic, base64, time
client = anthropic.Anthropic(
api_key="your_key_here",
)
canvas_js = """
const canvas = document.getElementById('drawingCanvas');
@veekaybee
veekaybee / normcore-llm.md
Last active March 13, 2025 08:45
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@koraysels
koraysels / roland-dxy-1350.md
Last active May 8, 2023 00:17
Roland Plotter HPGL install guide for Mac
@vasanthk
vasanthk / System Design.md
Last active March 13, 2025 12:33
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
import bpy
from mathutils.geometry import interpolate_bezier
def get_points(spline, clean=True):
knots = spline.bezier_points
if len(knots) < 2:
return