Skip to content

Instantly share code, notes, and snippets.

View maccman's full-sized avatar
🦞
gpu poor

Alex MacClaw maccman

🦞
gpu poor
View GitHub Profile
@maccman
maccman / chart_threeway_advantage.svg
Last active April 5, 2026 17:04
HSA+HDHP vs Zion Health Share vs PPO: 30-Year Financial Model (2025 Data)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maccman
maccman / healthcare_30yr_wealth_2025.svg
Last active April 5, 2026 16:37
HSA+HDHP vs PPO: 30-Year Financial Model (2025 Data)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maccman
maccman / healthcare_breakeven_2025.svg
Last active April 5, 2026 16:33
HSA+HDHP vs PPO: 30-Year Financial Model (2025 Data)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maccman
maccman / dna_analysis_guide.md
Created April 5, 2026 14:36
The Advanced Hacker's Guide to DNA Analysis with Cursor

The Hacker's Guide to DNA Sequencing and Offline Analysis with Cursor

Most consumer DNA tests (like 23andMe or Ancestry) only look at a tiny fraction of your genome (less than 1%) using microarray genotyping. If you want to truly understand your genetic code, calculate massive polygenic risk scores, and run offline analyses without trusting a third party, you need Whole Genome Sequencing (WGS) and an AI coding assistant like Cursor.

Here is the step-by-step guide on how to get your full 5GB DNA sequence, download it to your local machine, and use Cursor to uncover your true health risks.


Step 1: Sequence Your DNA (Whole Genome Sequencing)

@maccman
maccman / dna_analysis_guide.md
Created April 5, 2026 14:33
The Hacker's Guide to DNA Sequencing and Offline Analysis with Cursor

The Hacker's Guide to DNA Sequencing and Offline Analysis with Cursor

Most consumer DNA tests (like 23andMe or Ancestry) only look at a tiny fraction of your genome (less than 1%) using microarray genotyping. If you want to truly understand your genetic code, calculate massive polygenic risk scores, and run offline analyses without trusting a third party, you need Whole Genome Sequencing (WGS) and an AI coding assistant like Cursor.

Here is the step-by-step guide on how to get your full 5GB DNA sequence, download it to your local machine, and use Cursor to uncover your true health risks.


Step 1: Sequence Your DNA (Whole Genome Sequencing)

import type { ZodType } from 'zod'
import { z } from 'zod'
const API_BASE_URL = 'https://api.pipecat.daily.co/v1'
// Schemas
const AutoScalingConfigSchema = z.object({
minAgents: z.number().optional(),
maxAgents: z.number().optional(),
})
@maccman
maccman / ai-visual-effects-motion.markdown
Created June 1, 2025 17:21
AI visual effects motion
import {assertString} from 'plugins/assert'
type TemplateContext = {
input: string
customPrompt?: string
}
type Template = (context: TemplateContext) => string
type ServerPredictionPrompt = {
.marquee {
@apply flex-1 flex overflow-hidden;
}
.marquee .marquee-inner {
@apply truncate flex-1;
}
.marquee.marquee-active .marquee-inner {
@apply flex-none;
import { RefObject, useMemo, useLayoutEffect, useRef, useState } from 'react'
type DOMRectRef = [rect: DOMRect, ref: RefObject<HTMLDivElement>]
export const useDimensions = ():DOMRectRef => {
const ref = useRef<HTMLDivElement>(null)
const [rect, setRect] = useState<DOMRect>(DOMRect.fromRect())
const resizeObserver = useMemo(() => {