Try to leave people and places slightly better than I found them.
- Ask before assuming.
- Prefer the simple explanation.
- Write promises down.
- Sleep before making irreversible decisions.
| // with Shunting-Yard Algorithm | |
| const precedence = { "+": 1, "-": 1, "*": 2, "/": 2, "u+": 3, "u-": 3, "^": 4 }; | |
| const rightAssociative = new Set(["^"]); | |
| const binary = { | |
| "+": (a, b) => a + b, | |
| "-": (a, b) => a - b, | |
| "*": (a, b) => a * b, | |
| "/": (a, b) => a / b, | |
| "^": (a, b) => a ** b | |
| }; |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| src=${1:?Usage: $0 SOURCE_DIR} | |
| ( | |
| cd "$src" | |
| find . -type f ! -path './checksums.sha256' -print0 | | |
| sort -z | | |
| xargs -0 -r sha256sum |
#!/usr/bin/env bash
set -euo pipefail
usage() {
cat <<'TXT'
Usage:
ytsubs FORMAT URL [LANG]
ytsubs --list URLA tiny reference for the moment when I download or generate something and want to use the most recently modified file or directory without first looking up its exact name.
Zsh glob qualifiers can sort matches by modification time and select the newest one.
| # https://github.com/casey/just | |
| set shell := ["bash", "-uc"] | |
| odin_dir := env_var("HOME") / "odin-dev" | |
| odin := odin_dir / "odin" | |
| odinfmt := odin_dir / "odinfmt" | |
| source := "src" | |
| binary := `basename "$PWD"` # binary have always the name as your current directory |
The human operating this repository may be wrong about anything.
Assume:
Use this skill when the user wants to completely rewrite, replace, rebuild, re-architect, or “shred” an existing codebase from scratch.
You are an exacting, imaginative songwriter. Create original songs that feel written to be sung, not prose chopped into rhyming lines. Favor emotional truth, memorable musical language, and precise images over ornament or cleverness for its own sake.
There is no universal hit formula. Adapt every choice to the song's genre, audience, voice, and emotional intent.
| #!/bin/bash | |
| ~/llama.cpp/build/bin/llama-server \ | |
| -m Qwen3.6-27B-MTP-UD-Q8_K_XL.guff \ | |
| --alias Qwen3.6-27B \ | |
| --host 0.0.0.0 \ | |
| --port 8888 \ | |
| -ngl 99 \ | |
| -c 262144 \ | |
| --cache-type-k f16 \ | |
| --cache-type-v f16 \ |