Skip to content

Instantly share code, notes, and snippets.

View u1i's full-sized avatar

Uli u1i

View GitHub Profile
@u1i
u1i / prompts.txt
Created September 10, 2026 05:20
Image Prompts
**1. Anachronism plus absence**
*A full suit of plate armour standing in the queue at a suburban post office, visibly empty inside, the visor up on nothing. Everyone else holds parcels and waits.*
PROMPT:
A full suit of medieval plate armour standing upright in the queue inside a small suburban post office, visor raised showing the helmet is hollow and empty, no head inside, dark interior visible. It stands in ordinary queue posture with gauntlets at its sides. Four other customers wait in front of and behind it holding parcels, padded envelopes and phones, none of them looking at it. Numbered service windows, retractable queue barrier tape, laminated postage posters on the wall, a rack of greetings cards, worn grey carpet tiles. Amateur snapshot on a compact digital camera from around 2009, direct on-camera flash, deep depth of field with everything roughly in focus, slightly green fluorescent cast, visible sensor noise in the shadows, mild JPEG artefacts, crooked horizon, careless framing with one customer
**1. Whale in lane four**
A full-size humpback whale swimming in lane four of a municipal indoor swimming pool, its body far too large for the lane, blue plastic lane ropes bent outward and half-submerged under its bulk. A tight silicone swim cap stretched over the front of its head. Water sloshing over the tiled edge in sheets. A lifeguard in red shorts leans forward from a raised white chair, whistle in his mouth, one arm pointing, expression annoyed rather than alarmed. Two swimmers in the neighbouring lanes carry on doing front crawl. High windows, humid air, harsh reflections and caustics on the tiled floor, painted lane numbers visible on the pool wall. Photorealistic, 28mm, available light, natural wet skin texture on the lifeguard, slight lens fog.
**2. Camel in the revolving door**
A dromedary camel wedged inside the revolving glass door of a modern office tower, its hump jammed against the top of the compartment, head and neck protruding into the lobby, legs folded awkwardly. The door has stopped
@u1i
u1i / prompts.txt
Created September 9, 2026 04:55
Image prompts
**1. Airport security diver**
A Victorian deep-sea diver in a full brass and canvas rig standing in the security queue at a modern airport, helmet removed and sitting in a grey plastic tray on the conveyor, weighted lead boots setting off the walk-through metal detector. A tired TSA agent in a blue uniform gestures him forward with one hand, holding a wand in the other. Overhead fluorescent lighting, flat and greenish, reflecting off the tarnished brass and off the scuffed terminal floor. Other passengers in shorts and hoodies waiting behind him, some looking at their phones. Photorealistic, shot on 35mm at f/4, natural skin texture with visible pores and micro-asymmetry on the agent's face, slight motion blur on the conveyor belt, no dramatic lighting, documentary tone.
**2. The dog interview**
A golden retriever in a well-fitted charcoal suit and open collar seated behind a large executive desk in a corporate meeting room, paws resting on a manila folder, looking directly across the desk with an appraisi
@u1i
u1i / set-env.sh
Created May 3, 2026 04:15
Xiaomi Claude Code
export XIAOMI_API_KEY="tp-XXX"
export ANTHROPIC_BASE_URL="https://token-plan-sgp.xiaomimimo.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="$XIAOMI_API_KEY"
export ANTHROPIC_API_KEY="" # This must be explicitly empty
export ANTHROPIC_DEFAULT_OPUS_MODEL=mimo-v2.5-pro
export ANTHROPIC_DEFAULT_SONNET_MODEL=mimo-v2.5
export TERM=xterm-256color
@u1i
u1i / .screenrc
Created May 3, 2026 04:14
Claude Code in GNU Screen
# Force screen to use 256 colors
term screen-256color
# Tell screen to allow 256 color programs
attrcolor b ".I"
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defscreenrc 256
@u1i
u1i / info.txt
Created March 29, 2026 04:26
ollama increase context window
ollama run qwen3.5:9b
/set parameter num_ctx 128000
/save llama3.1-128k
/set parameter num_ctx 262144
/save qwen3.5-256k
@u1i
u1i / prompt.txt
Created February 2, 2026 01:43
Uli Pokémon Card - Prompt
A physical Pokémon card lying on a wooden table, slightly worn with soft edges and minor creases showing it's been well-loved. The card features a portrait of the person in the uploaded photo.
Card details:
- Name: Uli Hitzel
- HP: 365 (coffee-powered)
- Type: AI Technologist
- Stage: Evolved from Software Engineer
Abilities:
- "Ecosystem Builder" - Connects startups, enterprises, and academia
@u1i
u1i / doit.sh
Created January 29, 2026 10:50
Video ffmpeg strip content credentials
ffmpeg -i input.mp4 -map 0 -map_metadata -1 -c copy output.mp4
@u1i
u1i / run-redis.sh
Created November 6, 2025 04:59
Run Redis on a specific port and dedicated config file
#!/bin/bash
# Check if a port number was provided
if [ -z "$1" ]; then
echo "Usage: $0 <port_number>"
echo "Example: $0 6380"
exit 1
fi
PORT=$1
@u1i
u1i / README.md
Created September 2, 2025 00:28
Qwen Image Models on Lambda AI

Qwen Image Models Setup on Lambda Labs GPU

Complete step-by-step guide to set up and run both Qwen-Image (text-to-image) and Qwen-Image-Edit (image editing) on Lambda Labs cloud GPU instances.

Prerequisites

  • Lambda Labs account
  • SSH key pair generated

Step 1: Instance Setup