| date | author | paging | theme |
|---|---|---|---|
2026-02-27 |
Peter Hellberg 🌿 |
[page %d / %d] |
../../../.slides/theme.json |
________________________________________________
| services: | |
| valheim: | |
| image: ghcr.io/lloesche/valheim-server | |
| container_name: mmmm-valheim-server | |
| cap_add: | |
| - sys_nice | |
| volumes: | |
| - ./config:/config | |
| - ./data:/opt/valheim | |
| ports: |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # ---------------------------- | |
| # Check arguments | |
| # ---------------------------- | |
| if [ "$#" -ne 1 ]; then | |
| echo "Usage: $0 <zig-version>" | |
| echo "Example: $0 0.15.2" |
| CC ?= zig cc | |
| CFLAGS ?= -std=c11 -Wall -Wextra `sdl2-config --cflags` | |
| LDFLAGS ?= `sdl2-config --libs` | |
| TARGET = sdl-minimal | |
| all: $(TARGET) | |
| $(TARGET): sdl-minimal.c | |
| $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) |
| package main | |
| import ( | |
| "errors" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "net/http" | |
| "os" | |
| "path/filepath" |
| // Variabler | |
| #let text-font = "Inter" | |
| #let text-size-small = 8pt | |
| #let text-size-base = 9.3pt | |
| #let text-size-section = 12pt | |
| // Typsnitt och textstorlek för etiketterna | |
| #set text(font: text-font, size: text-size-base) | |
| // A4 papper med marginaler som stämmer med Avery 99x138-R |
Requires the Arduino CLI
# Dependencies
arduino-cli lib install "u8g2"
arduino-cli lib install "WS2812FX"| { | |
| "document": { | |
| "block_prefix": "\n", | |
| "block_suffix": "\n", | |
| "color": "#E8E8D3", | |
| "margin": 2 | |
| }, | |
| "block_quote": { | |
| "indent": 1, | |
| "indent_token": "│ ", |
| /****************************************************************************** | |
| MicroViewBounce.ino | |
| This sketch uses the MicroView library. | |
| ******************************************************************************/ | |
| #include <MicroView.h> | |
| MicroView m; | |
| struct State { |
| package main | |
| import ( | |
| "cmp" | |
| "context" | |
| "encoding/json" | |
| "fmt" | |
| "io" | |
| "log" | |
| "os" |