(0,0)(1,1)(2,0)(1,1)(1,0)(2,1)(3,0)(1,0) = w(phi(0,w(0)+1)+phi(0,w(0))+1) # agreement
(0,0)(1,1)(2,0)(1,1)(1,0)(2,1)(3,0)(1,0)(0,0) = w(phi(0,w(0)+1)+phi(0,w(0))+1)+1
(0,0)(1,1)(2,0)(1,1)(1,0)(2,1)(3,0)(1,0)(1,0) = w(phi(0,w(0)+1)+phi(0,w(0))+1+1)
(0,0)(1,1)(2,0)(1,1)(1,0)(2,1)(3,0)(1,0)(2,0) = w(phi(0,w(0)+1)+phi(0,w(0))+w(0))
(0,0)(1,1)(2,0)(1,1)(1,0)(2,1)(3,0)(1,0)(2,1) = w(phi(0,w(0)+1)+phi(0,w(0))+phi(0,0)) # here ------
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| grep -rHF 'stop_reason":"max_' --include='*.jsonl' ~/.claude/projects | sed 's|.*/projects/-home-koteitan-||' | awk -F: '{p=$1; sub(/^[^:]*:/,""); print p"\t"$0}' | while IFS=$'\t' read -r p j; do echo "$j" | jq -r --arg p "${p%%/*}" '[$p,(.timestamp|.[0:16]|sub("T";" ")),.message.usage.output_tokens,.message.model]|@tsv'; done | sort -k2 | column -t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # statusLine command for Claude Code | |
| # save it as ~/.claude/statusline-command.sh | |
| input=$(cat) | |
| host=$(hostname -s) | |
| dir=$(echo "$input" | jq -r '.workspace.current_dir // .cwd // empty') | |
| [ -z "$dir" ] && dir=$(pwd) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 🏆 koteitan 2025年 アホアホ投稿大賞 | |
| Nostr の koteitan (npub1f3w4x7dqvceeez8kuyq78md3lwhwfm0ra634llr0r3nykwjrs0hq) の 2025年の投稿 7387件から、月ごとにアホアホ投稿を3つずつ選抜し、さらに決勝戦で年間TOP3を決定しました。 | |
| --- | |
| ## 月間予選結果(各月TOP3 = 計36投稿) | |
| ### 1月 |
例えば、openai-codex の場合は下記のような感じ
~/.nvm/versions/node/v22.22.0/lib/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/providers/openai-codex-responses.js
//ここから挿入コード-------------------------
try {
const controlPath = "/tmp/openclaw-request-dump.json";
if (existsSync(controlPath)) {
const cfg = JSON.parse(readFileSync(controlPath, "utf8"));
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # List ports that live-server is listening on | |
| pids=$(ps aux | grep 'node.*[l]ive-server' | awk '{print $2}') | |
| if [ -z "$pids" ]; then | |
| echo "No live-server running." | |
| exit 0 | |
| fi | |
| for pid in $pids; do | |
| port=$(ss -tlnp 2>/dev/null | grep "pid=$pid," | awk '{print $4}' | grep -oE '[0-9]+$') | |
| dir=$(readlink -f /proc/$pid/cwd 2>/dev/null) |
NewerOlder