Skip to content

Instantly share code, notes, and snippets.

View rkmax's full-sized avatar

Julian Reyes Escrigas rkmax

View GitHub Profile
@rkmax
rkmax / README.md
Last active July 29, 2025 13:49
Routes external links to your currently active Firefox profile instead of the default one. Useful when running multiple Firefox profiles simultaneously. Includes installer and desktop integration for Hyprland/Wayland systems.

Firefox Broker

Routes external links to the most recently active Firefox profile, solving Firefox's limitation of always opening links in the default profile.

Overview

Firefox Broker is a TypeScript/Deno utility that intelligently routes URLs to the appropriate Firefox profile based on window focus history. Instead of always opening links in the default profile, it identifies which Firefox instance was most recently active and opens the link there.

Features

@rkmax
rkmax / gtr.zsh
Created August 9, 2025 14:06
Git worktree wrapper for Zsh - create, remove, navigate, and open worktrees in editors with consistent branch naming
gtr() {
# Function to show usage
_gtr_usage() {
cat <<EOF
Usage: gtr {create|rm|remove|cd|claude|code|list|ls} <name> [<name2> ...]
Commands:
create <name> [...] Create one or more worktrees with branch ${GTR_BRANCH_PREFIX:-claude}/<name>
remove, rm [...] [-f] Remove one or more worktrees (use -f to force removal)
cd <name> Change to worktree directory
@rkmax
rkmax / SKILL.md
Created February 13, 2026 16:29
Render Mermaid diagrams as terminal-friendly ASCII using https://github.com/AlexanderGrooff/mermaid-ascii
name mermaid-ascii-diagrams
description Render Mermaid diagrams as terminal-friendly ASCII using a local mermaid-ascii binary. Use when an explanation or planning discussion needs a visual of component interactions, data flow, process steps, decision paths, or sequence/state transitions.

Mermaid ASCII Diagrams

Overview

Use this skill to turn Mermaid snippets into ASCII diagrams directly in the terminal.