Initial name-check prerelease.
Why? npm/cli#9188
npm pkg set name="your-candidate-name"
npm publish --access public --tag name-checkInitial 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.
| const text = "mama dad mama cat dad mama dog"; | |
| const words = text.split(" "); | |
| const model = {}; | |
| for (let i = 0; i < words.length - 1; i++) { | |
| const a = words[i]; | |
| const b = words[i + 1]; | |
| model[a] ??= []; |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| GAME_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
| GAME_EXE="$GAME_DIR/SimCopter.exe" | |
| export WINEPREFIX="$HOME/.local/share/wineprefixes/simcopter" | |
| DXWRAPPER_VERSION="v1.7.8400.25" | |
| DXWRAPPER_URL="https://github.com/elishacloud/dxwrapper/releases/download/${DXWRAPPER_VERSION}/dxwrapper.zip" |