Skip to content

Instantly share code, notes, and snippets.

View telnet2's full-sized avatar

FreshStage telnet2

View GitHub Profile
@telnet2
telnet2 / ghostty-cwd-fix.md
Created July 19, 2026 04:07
Ghostty: fix new panes/tabs opening at / (incl. the Claude Code TUI case) — zsh OSC 7 hook

Ghostty: fix new panes/tabs opening at / (incl. the Claude Code case)

New Ghostty splits/tabs/windows should open in the current working directory. On some setups they open at / instead. This documents the root cause and a robust zsh fix, including the subtle case where the pane is running a long-lived TUI such as Claude Code.

Environment where this was diagnosed

  • Host: ASUS Ascent GX10 (NVIDIA DGX Spark / GB10), aarch64
@telnet2
telnet2 / install-byobu.sh
Last active April 12, 2026 00:08
Self-extracting byobu + tmux installer with OSC 52 clipboard support
#!/bin/bash
# Self-extracting byobu + tmux installer with OSC 52 clipboard support
# Usage: curl -sL <gist-raw-url> | bash
set -euo pipefail
BYOBU_CONFIG="$HOME/.byobu"
# --- Install byobu and tmux ---
if ! command -v byobu &>/dev/null || ! command -v tmux &>/dev/null; then
echo "Installing byobu and tmux..."
@telnet2
telnet2 / .mcp.json
Last active February 20, 2026 07:57
Qwen3-TTS on Apple Silicon - session files (mcp_server, patches, howto)
{
"mcpServers": {
"qwen3-tts-mcp": {
"type": "stdio",
"command": "/Users/joohwi.lee/.local/bin/qwen3-tts-mcp",
"args": [
"--models-dir",
"/Users/joohwi.lee/.local/share/qwen3-tts-models"
],
"env": {}
@telnet2
telnet2 / HOWTO_QWEN3.md
Created February 20, 2026 07:32
Qwen3-TTS on Apple Silicon - Lessons Learned

Qwen3-TTS How-To: Lessons Learned

Models

Three models are installed locally at ~/.local/share/qwen3-tts-models/:

Key Model Notes
1 Qwen3-TTS-12Hz-1.7B-CustomVoice-8bit Default. Best quality. Supports instruct.
4 Qwen3-TTS-12Hz-0.6B-CustomVoice-8bit Faster, less RAM. No instruction control.
@telnet2
telnet2 / SKILL.md
Last active July 30, 2026 21:42
Local macOS bootstrap: Homebrew, Ghostty, fonts, shell utilities, editor plugins, and private dotfile links
name local-setup
description Bootstrap or refresh Joohwi's macOS development environment with Homebrew, Ghostty, terminal fonts, GitHub CLI, mosh, Prezto, fzf, Vundle, the sorinx prompt, Vim plugins, and private dotfile symlinks. Use on a new Mac, after migrating machines, or when asked to reproduce or repair the local shell and terminal setup.

Local setup

Set up the machine with the bundled script, preserving existing configuration through timestamped backups.

@telnet2
telnet2 / SKILL.md
Last active February 9, 2026 18:10
remote-setup skill: install zellij, mosh, and fzf

remote-setup

Set up essential CLI tools on a remote machine. Detects the platform and installs zellij, mosh, and fzf using the appropriate method.

Usage

Run this skill on a freshly provisioned remote server to bootstrap the interactive environment.

Instructions

@telnet2
telnet2 / prompt_sorinx_setup
Created December 23, 2025 18:49
Sorinx theme setup for prezto
#
# A custom theme based on Sorin that displays git info on the left prompt.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
# Joohwi Lee (sorinx customization)
#
# Screenshots:
# http://i.imgur.com/nrGV6pg.png
#
@telnet2
telnet2 / count-down-days.md
Created August 12, 2025 21:20
Countdown Days: Your Free, Simple Event Tracker for iOS

Countdown Days: Your Free, Simple Event Tracker for iOS

Why Another Countdown App? Because Simplicity Matters

In a world of increasingly complex apps with subscription fees and overwhelming features, Countdown Days stands out by doing one thing exceptionally well: helping you track important dates without the clutter.

Market Overview: The Countdown App Landscape

The iOS App Store features over 200 countdown apps, with the category generating approximately $8 million in annual revenue. However, our research reveals a significant gap in the market:

@telnet2
telnet2 / keyboard.json
Last active September 25, 2025 20:59
VSCode Shortcut
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "alt+r",
"command": "workbench.action.debug.run",
"when": "!inDebugMode"
},
{
"key": "ctrl+f5",
"command": "-workbench.action.debug.run",
@telnet2
telnet2 / prompt_sorin_setup.zsh
Created June 12, 2022 21:00
prompt sorin update
#
# A simple theme that displays relevant, contextual information.
# Move git info to the left prompt and remove the right prompt
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Screenshots:
# http://i.imgur.com/nrGV6pg.png
#