Skip to content

Instantly share code, notes, and snippets.

@GOROman
GOROman / Codex-Micro-LED-Protocol.md
Created August 7, 2026 07:15
Codex Micro LED制御プロトコル解析

Codex Micro LED制御プロトコル解析

解析日: 2026-08-07
対象: Codexデスクトップアプリ + Work Louder Codex Micro(BLE HID)
目的: 6個のエージェントキーと、キー照明・外周照明を互換デバイスから制御する

結論

Codex MicroのLED制御は、独自UUIDのBLEサービスではない。標準のBLE HID Service(HOGP)内にある Report Characteristic を使い、Vendor HID Report ID 6 の中へJSON-RPCを分割して送っている。

const CONFIG = {
baseUrl: "https://x.com/",
followingPagePath: "/following",
unfollowButtonSelector: 'button[data-testid$="-unfollow"]',
followIndicatorSelector: 'div[data-testid="userFollowIndicator"]',
confirmUnfollowButtonSelector:
'button[data-testid="confirmationSheetConfirm"]',
scrollAmount: 0.8,
scrollRetryDelay: 800,
dryRunScrollDelay: 200,
@Yuikawa-Akira
Yuikawa-Akira / AtomS3R_pixel-art_style_camera.ino
Last active August 30, 2026 09:49
AtomS3R Pixel-art style camera
/*
MIT License
Copyright (c) 2026 Yuikawa-Akira
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@GOROman
GOROman / dekamoji.sh
Created January 16, 2025 11:52
iTerm2にデカイ文字を画像で出してみるウル技(テク) 【小結級】
#!/bin/zsh
# フォントとか色々設定
font="/System/Library/Fonts/ヒラギノ角ゴシック W3.ttc"
output_path="/tmp"
pointsize=100
image_size="1024x150"
background_color="black"
fill_color="white"
/*
kill Unity Hub process continuously after UnityEditor is started.
they have no reason to keep living after starting UnityEditor.
To:Unity, please stop UnityHub process until user need to use that. and never use macOS's status bar. please add "quit Hub after UnityEditor startd" option.
or, please design more small UnityInstaller app and UnityProjectViewer app separately.
*/
using System.Diagnostics;
using UnityEditor;
@numb86
numb86 / ハイパフォーマンス ブラウザネットワーキング.md
Last active November 11, 2022 07:09
『ハイパフォーマンス ブラウザネットワーキング』のメモ。

『ハイパフォーマンス ブラウザネットワーキング』

本書では、ブラウザに関連するネットワーク技術について扱っている。
その範囲は広く、TCP/IP や TLS のような土台となるような知識も、HTTP/2.0 や WebRTC のような最新の知識も、両方扱っている。
そしてそれらを、パフォーマンスという文脈で説明していく。パフォーマンス向上のために、どのようなことをするのか、そしてそれはなぜなのかを、解説していく。そしてそれを理解するためには、様々なネットワークプロトコルについて、その特徴や制限を知らなければならない。だから、パフォーマンスに関する本質的な知識を学んでいくことが、ネットワークについて学ぶことにもなる。

1章 レイテンシ・帯域幅入門

ウェブサイトのスピードの重要性は、計測によって証明されている。速ければ速いほど、エンゲージメントやコンバージョンが高まる。だから、スピードは機能なのだと言える。
100ミリ秒以上の遅延がシステムで発生すると、人間はそれを知覚する。

@voluntas
voluntas / sora_momo_av1.md
Last active September 12, 2020 14:29
Sora と Momo で WebRTC の AV1 を試す

Sora と Momo で WebRTC の AV1 を試す

前提

Sora Labo と Momo の使い方は把握している前提の資料です

@voluntas
voluntas / shiguredo_slack.rst
Last active October 29, 2020 20:21
時雨堂を支える Slack 運用方法

時雨堂を支える Slack 運用方法

日時:2020-04-21
作:時雨堂
バージョン:2020.1
URL:https://shiguredo.jp/

日々追記していきます。

@voluntas
voluntas / webrtc.rst
Last active January 13, 2025 22:40
WebRTC の未来