kind はどちらも 30023.
| tag | lumilumi | nosli |
|---|---|---|
image |
プレビュー画像 URL | 出力しない |
published_at |
unix 秒 | 出力しない |
| # 🏆 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"));| #!/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) |
| (ws=new WebSocket("wss://yabu.me")).onopen=()=>ws.send('["REQ","tl",{"kinds":[1],"limit":20}]'),ws.onmessage=e=>{d=JSON.parse(e.data);d[0]=="EVENT"&&console.log(d[2].content)}; |
| import os | |
| import sys | |
| def is_binary(file_path): | |
| try: | |
| with open(file_path, 'rb') as f: | |
| chunk = f.read(1024) | |
| if b'\0' in chunk: | |
| return True | |
| text_characters = bytearray({7,8,9,10,12,13,27} | set(range(0x20, 0x100))) |
| #!/bin/bash | |
| # claude-pushover - Send Claude Code conversation summary to Pushover | |
| # push over https://pushover.net/ is a web API to make a push notification into iPhone App | |
| # Configuration | |
| SECURITY_MODE=0 # 0=off (detailed messages), 1=on (simple message only) | |
| MAX_CHARS=800 # Maximum message length for Pushover | |
| DEBUG_LOG="$HOME/claude-pushover-debug.log" # Debug log file | |
| # Function to extract message from hook JSON input | |
| get_hook_message() { | |
| # Check security mode first |
| #!/usr/bin/env node | |
| import { nip19, getPublicKey } from 'nostr-tools' | |
| // secp256k1 curve order | |
| const n = 115792089237316195423570985008687907852837564279074904382605163141518161494337n | |
| // Get nsec from command line argument | |
| const input_nsec = process.argv[2] | |
| // Check arguments |
| import { nip19, getPublicKey } from 'nostr-tools' | |
| import crypto from 'crypto' | |
| // secp256k1の位数 | |
| const n = 115792089237316195423570985008687907852837564279074904382605163141518161494337n | |
| // シードから秘密鍵ペアを生成 | |
| function generatePair(seed) { | |
| // シードをSHA256でハッシュ化して32バイトの値を作る | |
| const hash = crypto.createHash('sha256').update(seed).digest() |