Skip to content

Instantly share code, notes, and snippets.

View jrejaud's full-sized avatar
🖤

Jordan Réjaud jrejaud

🖤
View GitHub Profile
@jrejaud
jrejaud / iterm-tab-management.zsh
Created February 23, 2026 16:20
iTerm2 tab management setup - auto-updating names, status indicators, keyboard shortcuts
# iTerm2 Tab Management Setup
# Auto-updating tab names + status indicators + keyboard shortcuts
# 1. Load Oh My Zsh (includes termsupport hooks for tab name updates)
export ZSH="$HOME/.oh-my-zsh"
source $ZSH/oh-my-zsh.sh
# 2. Disable default auto-title (we'll use custom hooks instead)
DISABLE_AUTO_TITLE="true"
@jrejaud
jrejaud / worktree-cleanup.mjs
Created February 22, 2026 16:20
Claude Code worktree workflow - Linear integration + MCP intelligence layer
#!/usr/bin/env zx
import {chalk, fs, $, argv, path} from "zx"
import {checkbox} from "@inquirer/prompts"
/**
* Worktree Cleanup Script
*
* This script safely removes a git worktree after work is complete.
* It performs these steps:
* 1. Verifies the worktree exists
#!/usr/bin/env zx
const URL = "https://subtitletools.com/api/v1/merge-subtitles/simple"
// These are real files
const fileOne = await fs.readFile('./input1.srt')
const fileTwo = await fs.readFile('./input2.srt')
const body = {
"subtitle": fileOne,
@jrejaud
jrejaud / gist:58f9fba9aa14e1d42f7ebf84c5d7bb21
Created December 26, 2020 07:46
Send local epubs and pdfs to kindle
# Send to Kindle
# Sends epubs and pdfs to Kindle (converting epubs to mobi along the way)
RES=$(curl -b 'session=$SESSION_ID' -F "kindle_email=$KINDLE_EMAIL" -F "amazon_email=$AMAZON_EMAIL" -F "files[]=@\"$1\"" https://www.sendepubtokindle.com/api/upload)
if [ "$RES" == "null" ]; then
echo "File send to Kindle"
else
echo $RES
fi
filtering: [{'field':'country','operator':'IN','value':['US']}],

Keybase proof

I hereby claim:

  • I am jrejaud on github.
  • I am jrejaud (https://keybase.io/jrejaud) on keybase.
  • I have a public key ASAZEfebFGyewgFQUv7KLKToKkuEsKdMMxI6feSvsWQ3ewo

To claim this, I am signing this object:

activate application "SystemUIServer"
tell application "System Events"
tell process "SystemUIServer"
-- Working CONNECT Script. Goes through the following:
-- Clicks on Bluetooth Menu (OSX Top Menu Bar)
-- => Clicks on SX-991 Item
-- => Clicks on Connect Item
set btMenu to (menu bar item 1 of menu bar 1 whose description contains "bluetooth")
tell btMenu
click
Error:(13, 2) error: com.northfly.superfish.mandarin.home.PeeloffMould cannot be provided without an @Inject constructor or from an @Provides-annotated method.
public abstract void inject(@org.jetbrains.annotations.NotNull()
^
com.northfly.superfish.mandarin.home.PeeloffMould is injected at
com.northfly.utilmould.test.MyProxy.<init>(…, peeloffMould)
com.northfly.utilmould.test.MyProxy is injected at
com.northfly.utilmould.widght.MyActivity.myprxu
com.northfly.utilmould.widght.MyActivity is injected at
com.northfly.utilmould.widght.MyCommponente.inject(mainActivity)
Error:(13, 2) error: error.NonExistentClass cannot be provided without an @Inject constructor or from an @Provides-annotated method.
public abstract void inject(@org.jetbrains.annotations.NotNull()
^
error.NonExistentClass is injected at
com.northfly.utilmould.test.MyProxy.<init>(…, peeloffMould)
com.northfly.utilmould.test.MyProxy is injected at
com.northfly.utilmould.widght.MyActivity.myprxu
com.northfly.utilmould.widght.MyActivity is injected at
com.northfly.utilmould.widght.MyCommponente.inject(mainActivity)
Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG).setAction("Action", null).show();