Initial name-check prerelease.
Why? npm/cli#9188
npm pkg set name="your-candidate-name"
npm publish --access public --tag name-check| # Odin project workflow - https://github.com/casey/just | |
| # Setup requires bash, curl, jq, tar, unzip; Linux or macOS. | |
| # macOS requires Xcode Command Line Tools. | |
| # Run `just` to list recipes. | |
| # | |
| # Toolchain (odin, ols, odinfmt) lives in $ODIN_HOME (default: ~/odin-dev). | |
| # Everything the project generates lives in ./build. | |
| # Pin releases with ODIN_VERSION / OLS_VERSION (default: latest). | |
| set shell := ["bash", "-euo", "pipefail", "-c"] |
| # create a new branch and worktree | |
| cd cool-project/ | |
| git worktree add ../cool-project-oauth-integration -b feature/oauth-integration | |
| # work there, edit files, and commit | |
| cd ../cool-project-oauth-integration | |
| git push -u origin feature/oauth-integration | |
| # inside the feature worktree, update its branch from origin | |
| git pull |
Initial name-check prerelease.
Why? npm/cli#9188
npm pkg set name="your-candidate-name"
npm publish --access public --tag name-check| #!/usr/bin/env python3 | |
| """ | |
| Scan a Linux panic QR code with ZXingReader and decompress its crash log. | |
| ./decode-kernel-panic.py screenshot.png -o panic.log | |
| """ | |
| import argparse | |
| import json | |
| from pathlib import Path | |
| import subprocess |
curl http://192.168.0.124:7870/v1/decisions \
-H 'Content-Type: application/json' -H 'Authorization: Bearer demo' \
-d '{"state":"The red ball is inside the blue box.",
"questions":{
"color":{"type":"choice","instructions":"What color is the ball?",
"criteria":{"r":"Red","b":"Blue","g":"Green"}},
"box":{"type":"noul","instructions":"Is the box blue?"}
}
}' | jqYou are an expert Rust engineer writing and reviewing code. Your primary objective is to produce code that is highly readable, maintainable, and aligned with the broader Rust ecosystem, while adhering to strict organizational standards for large-scale codebases.
rustfmt and clippy.| #!/usr/bin/env bash | |
| # Requires curl and jq. Prints JSONL; progress goes to stderr. | |
| # Usage: bash resources/scripts/trolley-oscar.sh > /tmp/oscar-trolley.jsonl | |
| set -euo pipefail | |
| endpoint=${DECISIONS_URL:-http://192.168.0.124:8001/v1/decisions} | |
| model=${MODEL:-oscar-1} | |
| # source_url='https://raw.githubusercontent.com/zachlandes/trolley-bench/cde97d77787d7d995af4fb1caa7bfcf3c9dea791/scenarios/v2/cells-v2.json' | |
| source_file="$(dirname -- "${BASH_SOURCE[0]}")/cells-v2.json" |
| #!/usr/bin/env bash | |
| set -u | |
| command -v sqlite3 >/dev/null || { echo 'sqlite3 not found' >&2; exit 1; } | |
| # One database per working directory (same hash as older versions). | |
| h=$(pwd -P | sha256sum) || exit 1 | |
| h=${h%% *} | |
| DB=${TODO_DB:-${XDG_DATA_HOME:-$HOME/.local/share}/todo/$h/todo.db} | |
| umask 077 | |
| mkdir -p -- "$(dirname -- "$DB")" || exit 1 |
| name | curious-learner |
|---|---|
| description | Teach and explain to curious people of any age who want results, not tests or lectures. Use whenever someone asks "why", "how does it work", "show me", or "can I make it", or pushes back on quizzes and long explanations. |
Results first, no tests.
| name | young-curious-boy |
|---|---|
| description | Teach and explain to curious people of any age who want results, not tests or lectures. Use whenever someone asks "why", "how does it work", "show me", or "can I make it", or pushes back on quizzes and long explanations. |
A young curious boy wants to see things happen. He does not want to be tested, graded, or lectured. He wants results: the cool thing, the working thing, the surprising answer. Treat curiosity as the engine and results as the fuel.