Skip to content

Instantly share code, notes, and snippets.

View khirotaka's full-sized avatar
🦉
Under studying at 🏡

Hirotaka Kawashima khirotaka

🦉
Under studying at 🏡
View GitHub Profile
@khirotaka
khirotaka / README.md
Created August 10, 2026 14:15
TypeScript codegen spike for kubernetes-sigs/agent-sandbox#976 (sandboxd spec)

TypeScript codegen spike against packages/sandboxd/spec

Local spike referenced in kubernetes-sigs/agent-sandbox#976, checking whether a thin TypeScript wrapper over generated stubs is buildable against the sandboxd specs on main (process.proto, process_grpc.pb.go, filesystem.yaml, buf.gen.yaml).

Both generators ran clean against the specs as merged — zero manual edits.

gRPC: process.proto → process_pb.ts

Connect-ES v2 style: only @bufbuild/protoc-gen-es is needed (no separate protoc-gen-connect-es plugin) — the generated schema is enough for createClient(ProcessService, transport) at runtime.

Git用語集(Windowsユーザー向け・研究者向け)

用語 説明
リポジトリ プロジェクトのファイルや履歴(変更の記録)をまとめて管理する場所です。研究データや論文執筆の進捗など、ファイルのバージョン管理をしたいときに使います。パソコン内に作る「ローカルリポジトリ」と、インターネット上(例:GitHub)に作る「リモートリポジトリ」があります。
ブランチ 作業の「枝分かれ」を作る機能です。たとえば、論文の本筋とは別に新しい実験や修正を試したいとき、ブランチを作ることで元のファイルに影響を与えずに作業できます。最終的にうまくいけば、元のブランチ(通常はmainやmaster)に統合できます。
ステージング ファイルの変更を「これから記録します」と一時的にまとめる作業です。コミットする前に、どの変更を記
from to
Rosa Karl
Karl Fred
Fred Karl
‪ ·͜· 𖠚ᐝ

Architecture

ReActなどのエージェントシステムの大まかな処理はこのようになっている

sequenceDiagram
    Agent ->> LLM: プロンプトを送信
    LLM -->> Agent: LLMの出力
    Agent ->> Tool: Actionの実行
    Tool ->> Environment: Toolを実行
[plugins.zsh-autosuggestions]
github = "zsh-users/zsh-autosuggestions"
use std::mem;
fn main() {
let mut a: Vec<i32> = vec![1, 2, 3];
let mut b: Vec<i32> = vec![4, 5, 5];
println!("i32 size of {}", mem::size_of::<i32>());
println!("var a: {:?}", a.as_ptr());
set number
" シンタックスハイライトの設定
syntax on
filetype on
filetype indent on
filetype plugin indent on
augroup vimrc
autocmd!
@khirotaka
khirotaka / .zshrc
Last active November 28, 2020 04:02
fpath+=~/.zfunc
autoload -U compinit
compinit
alias ls="ls -pG"
export LSCOLORS=gxfxcxdxbxegedabagacad
# prompt
PROMPT="%F{2}%n@%m:%f%F{4}%~%f$ "

Install Miniconda on server

Download

$ curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

Run install script