Skip to content

Instantly share code, notes, and snippets.

View GOROman's full-sized avatar
👽
Damn I'm looking good.

GOROman GOROman

👽
Damn I'm looking good.
View GitHub Profile
@GOROman
GOROman / ep136-midi-spec.md
Created May 24, 2026 22:26
Teenage Engineering EP-136 K.O.–SIDEKICK — Confirmed MIDI CC Specification

Teenage Engineering EP-136 K.O.–SIDEKICK — Confirmed MIDI CC Specification

Status: Confirmed by real-device testing (May 2026)
Firmware: Unknown (latest as of testing date)
Protocol: MIDI 1.0, USB-MIDI


MIDI Channel Routing

@GOROman
GOROman / NullEvi.md
Last active May 24, 2026 07:33
NullEvi ESP Now

• 今の ESP-NOW はこの 16 byte 固定パケットです。

  #define NULLEVI_BEAT_VERSION 1
  #define NULLEVI_ESPNOW_CHANNEL 1
  #define NULLEVI_BEAT_FLAG_CELEBRATION 0x80

  typedef struct __attribute__((packed)) {
      uint8_t version;       // 1
 uint8_t flags; // 0x00 通常 / 0x80 祝福
@GOROman
GOROman / README.md
Created May 12, 2026 07:53
🦐 ナル先生の屁ロガー - M5Stack ATOM Lite + SGP30 (M5 Unit Mini TVOC/eCO2) で屁を検出する Arduinoサンプル。H2/TVOC二重検知

🦐 ナル先生の屁ロガー (Fart Logger)

M5Stack ATOM Lite + SGP30 (M5 Unit Mini TVOC/eCO2) で屁を検出するサンプル。

仕組み

屁の主成分:

  • 窒素 78%、CO2 9%、水素H2 9%、メタン3%、酸素3%
  • 臭気成分: 硫化水素・スカトール・インドール(微量)
@GOROman
GOROman / stt_push_to_talk.py
Created April 29, 2026 02:42
Groq - Speech to Text (STT) API のテスト
import os
import select
import sys
import termios
import tempfile
import threading
import time
import tty
import wave
from dataclasses import dataclass

from pathlib import Path

full_md = """# Project DENT

ビジョン

人類は停滞している。
2010年のiPad登場以来、人類は未だ新しい道具を生み出せていない。

2013年以降に始まったディープラーニング、2020年以降の生成AIブームといった技術的なブレークスルーは迎えたものの、未だそれをきちんと道具として使いこなした例は少ない。

@GOROman
GOROman / Using Claude Code: Session Management & 1M Context.md
Last active April 16, 2026 00:56
Using Claude Code: Session Management & 1M Context
image

Using Claude Code: Session Management & 1M Context (Claude Code活用法:セッション管理と100万トークンコンテキスト)

Thariq @trq212

本日、Claude Codeの利用状況をより把握しやすくするため、/usageの新アップデートをリリースします。これは多数のお客様との対話から得られた知見に基づくものです。 ヒアリングで繰り返し挙がったのは、セッションの管理方法に大きなばらつきがあるという点でした。特にClaude Codeの100万トークンコンテキストへのアップデート以降、その傾向が顕著です。

ターミナルで開きっぱなしのセッションを1〜2個だけ使うのか?プロンプトごとに新しいセッションを始めるのか?compact、rewind、サブエージェントはいつ使うのか?「悪いcompact」は何が原因で起きるのか?

@GOROman
GOROman / ELRSSBUS.md
Created March 8, 2026 00:41
ELRS S.BUS

ExpressLRS S.BUS 調査メモ

概要

実際の構造は次の通りです。

  • RX は ExpressLRS リンクから RC データを受信する
  • そのデータを内部で共通のチャンネルデータとして保持する
  • UART 出力時に、CRSFSBUSSUMD などのどのプロトコルで出すかを選ぶ
@GOROman
GOROman / ELRSSPEC.md
Created March 8, 2026 00:03
ELRS の調査を GPT-5.4 XHigh にやらせてみたテスト

ELRS プロトコル仕様メモ(ESP32 連携向け)

この文書の対象範囲

この文書は、ExpressLRS(ELRS)を 外部 MCU(ESP32 など)から扱う ための実装メモです。

ELRS には大きく 2 つの層があります。

  1. ELRS の無線 OTA リンク
    TX モジュールと RX の間で動く無線プロトコル
@GOROman
GOROman / new.md
Created February 24, 2026 01:42
new — GitHub リポジトリを作って ghq 管理下に落として開く

new — GitHub リポジトリを作って ghq 管理下に落として開く

new は、指定したリポジトリを (必要なら GitHub 上で作成し)ghq で取得し、ローカルの作業ディレクトリに cd するための zsh 関数です。

  • 引数に応じて owner/repo の解決clone URL の正規化を行います
  • 既存リポジトリでもOK(作成はしない/取得して移動するだけ)
  • repo を作るケースでは --public / --private を指定できます(デフォルトは --private

@GOROman
GOROman / oc.md
Created February 23, 2026 00:14 — forked from mberman84/oc.md
OpenClaw Prompts

OpenClaw Prompts - Build Your Own AI Assistant

Prompts to recreate each piece of the OpenClaw system. Use these with any AI coding assistant.


1. Personal CRM "Build a personal CRM that automatically scans my Gmail and Google Calendar to discover contacts from the past year. Store them in a SQLite database with vector embeddings so I can query in natural language ('who do I know at NVIDIA?' or 'who haven't I talked to in a while?'). Auto-filter noise senders like marketing emails and newsletters. Build profiles for each contact with their company, role, how I know them, and our interaction history. Add relationship health scores that flag stale relationships, follow-up reminders I can create, snooze, or mark done, and duplicate contact detection with merge suggestions. Link relevant documents from Box to contacts so when I look up a person, I also see related docs."

2. Meeting Action Items (Fathom)