Skip to content

Instantly share code, notes, and snippets.

@pboyd
pboyd / catalog.json
Last active March 27, 2025 17:15
Model Registry Catalog
{
"$id": "https://kubeflow.org/model-registry/catalog.yaml",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Model Catalog",
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "The name of the catalog provider.",
"example": "Red Hat"
@pboyd
pboyd / guestbook.gmi
Last active November 14, 2020 00:57
Guestbook for Gemini
# Guestbook
=> /cgi-bin/guestbook.pl Add your entry
package main
import (
"fmt"
)
func main() {
fmt.Printf("U+%04X\n", decode([]byte{0x61}))
fmt.Printf("U+%04X\n", decode([]byte{0xc2, 0xa1}))
fmt.Printf("U+%04X\n", decode([]byte{0xea, 0x9c, 0xb3}))