Skip to content

Instantly share code, notes, and snippets.

@yumikokh
yumikokh / git-br-name
Created May 16, 2026 08:15
git-br-name: 現在の差分から1秒でブランチ名を予測し checkout までするシェルスクリプト (Anthropic Haiku API)
#!/usr/bin/env bash
# git-br-name — 現在の差分からブランチ名を予測する
#
# Usage:
# git br-name 予測した名前で git checkout -b する(デフォルト)
# git br-name -n 名前を出力するだけ、checkout はしない(dry-run)
# git br-name -h ヘルプ
#
# 仕組み:
# ANTHROPIC_API_KEY があれば curl で API を直叩き(高速、~1-2秒)。
@yumikokh
yumikokh / config
Created March 12, 2026 09:55
Ghostty config
# Font
font-family = HackGen35 Console
font-size = 14
adjust-cell-width = -1
# Theme
theme = Catppuccin Mocha
# Appearance
background-opacity = 0.92
@yumikokh
yumikokh / settings.yml
Last active June 26, 2024 06:19
github-nippou settings
format:
subject: '### %{subject}'
# line: '* %{url} by @%{user} %{status}'
line: '* [%{title}](%{url})'
dictionary:
status:
merged: '_merged!_'
closed: '_closed!_'
@yumikokh
yumikokh / Gruntfile.js
Created August 14, 2014 18:17
jekyll + compass + browser-sync
module.exports = function(grunt) {
// All configuration goes here
grunt.initConfig({
jekyll: {
build : {
dest: '_site'
}
},