Skip to content

Instantly share code, notes, and snippets.

@seantiz
seantiz / +page.ts
Last active June 4, 2025 17:02
Root +page.ts loader (browser guard + dynamic importing)
import type { PageLoad } from './$types';
import { writable, type Writable } from 'svelte/store';
// Ignore this - config from my old project
import {
PUBLIC_FILES_PATH,
PUBLIC_SAVED_CONFIG,
PUBLIC_NODE_ENV,
PUBLIC_SAVED_JOBDESC
} from '$env/static/public';
@seantiz
seantiz / anime-js-advanced-staggering-demo.markdown
Created April 21, 2025 20:17
anime.js advanced staggering demo
@seantiz
seantiz / march25.md
Created March 17, 2025 05:34
Hybrid OSI model graph for SavingCaustic DAW
flowchart TD
    %% Define color styles
    classDef baseLayer fill:#d4f1f9,stroke:#05a,stroke-width:2px
    classDef coreLayer fill:#ffe6cc,stroke:#d79b00,stroke-width:2px
    classDef derivedLayer fill:#d5e8d4,stroke:#82b366,stroke-width:2px
    classDef routerLayer fill:#e1d5e7,stroke:#9673a6,stroke-width:2px
    classDef platformLayer fill:#f5f5f5,stroke:#666,stroke-width:2px

    %% Platform Layer