Skip to content

Instantly share code, notes, and snippets.

View chapati23's full-sized avatar

chapati chapati23

View GitHub Profile
@chapati23
chapati23 / README.md
Created April 15, 2026 11:01
Better Claude Code notifications for Ghostty (macOS): per-split precision, click-to-focus, auto-dismiss

Better Claude Code notifications for Ghostty (macOS)

Smarter notifications for Claude Code that:

  • Fire a banner when Claude needs your input.
  • Click the banner → land in the exact right Ghostty split, keyboard ready to type.
  • Manually focus the right split → notification auto-disappears within 250 ms.
  • Per-Claude-session precision via Ghostty's terminal UUIDs (no false dismissals when multiple splits share a directory).

Stack

Verifying that "chapati.id" is my Blockstack ID. https://onename.com/chapati
@chapati23
chapati23 / create-kubernetes-cluster-on-aws.sh
Last active October 23, 2021 12:34
Setup script to create a fresh kubernetes cluster on AWS with kops incl. all required AWS resources (S3 buckets, IAM etc.)
#!/bin/bash
# Prerequisites (macOS):
# - aws cli => to create AWS resources
# => pip install --upgrade --user awscli
# => aws configure
# - jq => to parse JSON results returned by the AWS CLI
# => brew install jq
@chapati23
chapati23 / react-router-v4-page-transitions.jsx
Created November 8, 2016 22:41
React Router v4 Page Transitions
import React from 'react'
import { TransitionMotion, spring } from 'react-motion'
import Router from 'react-router/BrowserRouter'
import Match from 'react-router/Match'
import Link from 'react-router/Link'
import Redirect from 'react-router/Redirect'
const styles = {}
styles.fill = {