Skip to content

Instantly share code, notes, and snippets.

View janwirth's full-sized avatar
🎯

Jan Nikolaus Wirth janwirth

🎯
View GitHub Profile
@janwirth
janwirth / laboindustria-proposal.md
Last active May 4, 2026 20:39
LaboIndustria — Website Rebuild Proposal (Elixir/Ash)
@janwirth
janwirth / b2-s3-upload.swift
Created April 2, 2025 02:19
Upload stuff to B2 with swift
//
// S3_Backblaze.swift
// Tuna Family
//
// Created by Jan Wirth on 14/12/24.
//
//❯ cat config
//[default]
//region = EU-CENTRAL
@janwirth
janwirth / knowledge-triple-extraction-llm-dsl.ts
Last active January 26, 2025 13:27
Knowledge Triple Extraction DSL
import { generateObject, generateText } from "ai";
import { test } from "bun:test";
import z from "zod";
import { cerebrasLlama8 } from "../../../llm-models";
const DSL = `Use the following format
Subject -> relationship -> Object `;
/* common */
.funk-dropdown-contents {
z-index: 1000;
transition: all 0.05s ease-in-out;
}
/* .funk-dropdown-contents[style] { */
/* transition: .05s all ease-in-out; */
/* } */
funk-dropdown:not(.open) .funk-dropdown-contents {
@janwirth
janwirth / README.md
Last active November 14, 2022 12:06
awesome-custom-elements
/* common */
.funk-dropdown-contents {
z-index: 1000;
}
funk-dropdown:not(.open) .funk-dropdown-contents {
pointer-events: none !important;
opacity: 0;
display: none;
}
SiriusStarr:bird: 12 hours ago
Is there any community consensus on the 14 different Dicts that allow custom types? Or a comparison of them all? Not really sure which to go with.
Jan Wirth 12 hours ago
Welcome to the growing elm ecosystem.
@janwirth
janwirth / gist:13ef3b0fa09d0c85cbd0a2885e234445
Created March 19, 2022 15:52
Elm slack conversation on Widget APIs and Return helpers.
erlandsona 1 month ago
Feel like I keep running into this as I’m building widget API’s based on other widget API’s…
I keep wishing I had a function with a type signature of msg -> msg -> msg that would behave like Cmd.batch but not require me to make my view signature Html (Cmd msg).
jessta 1 month ago
type Msg = Batch (List Msg) | Pizza | Pies
jessta 1 month ago
Is that what you mean?
@janwirth
janwirth / elm.cabal
Last active June 17, 2023 02:40
Build elm for M1
Name: elm
Version: 0.19.1
Synopsis:
The `elm` command line interface.
Description:
This includes commands like `elm make`, `elm repl`, and many others
for helping make Elm developers happy and productive.
@janwirth
janwirth / elm-toolbox.md
Last active April 30, 2022 05:34
A productive elm programmers toolbox