Skip to content

Instantly share code, notes, and snippets.

@grmkris
grmkris / claude-hooks-tmux-setup.md
Created February 27, 2026 11:00
Claude Code Hooks + tmux pane auto-focus setup

Claude Code Hooks + tmux Pane Focus Setup

Auto-focus the correct terminal pane when Claude Code finishes a task or needs your input. Shows macOS notifications with sound.

Prerequisites

  • Claude Code CLI installed
  • jq installed (brew install jq)
  • macOS (uses osascript for notifications)
@grmkris
grmkris / [ipfs-infura-proxy].ts
Last active October 25, 2022 20:30
NextJS IPFS Infura proxy
// Put this file in your nextjs project at /api/ipfs/[ipfs-infura-proxy].ts
// run:
// yarn add next-http-proxy-middleware
import httpProxyMiddleware from "next-http-proxy-middleware";
import { NextApiRequest, NextApiResponse } from "next";
import { env } from "../../../env/server.mjs";
// For preventing header corruption, specifically Content-Length header
server {
listen 80;
server_name 4t.burns.lab;
location / {
proxy_read_timeout 36000s;
proxy_http_version 1.1;
proxy_buffering off;
client_max_body_size 0;
proxy_redirect off;
proxy_set_header Connection "";
@grmkris
grmkris / keybase.md
Last active February 28, 2019 11:56

Keybase proof

I hereby claim:

  • I am grmkris on github.
  • I am kris96 (https://keybase.io/kris96) on keybase.
  • I have a public key ASC5ty_ZM_55aI0jzIFjiHnnAONfuEyQHrdyBPjSGmQIFgo

To claim this, I am signing this object: