Skip to content

Instantly share code, notes, and snippets.

View akunzai's full-sized avatar

Charley Wu akunzai

View GitHub Profile
@akunzai
akunzai / uninstall-orbstack.sh
Created November 10, 2026 02:35
OrbStack Uninstaller
#!/usr/bin/env bash
# Completely cleans up leftovers from an OrbStack (https://orbstack.dev) uninstall:
# - Removes the 'orbstack' Docker context (and switches active context away if needed)
# - Cleans OrbStack shell integration lines from ~/.zprofile and ~/.zshrc
# - Unloads and removes the privileged helper LaunchDaemon (/Library/LaunchDaemons)
# - Removes user data, caches, group containers, and ~/OrbStack
#
# Usage:
# uninstall-orbstack.sh # dry run: inspect and list what would be removed
# uninstall-orbstack.sh --yes # remove matching paths and configs, no prompt
@akunzai
akunzai / README.md
Last active December 2, 2026 23:21
My Herdr App settings

Herdr App Configuration & Dotfiles Setup

A cross-platform configuration suite and synchronization manager for Herdr App (the native GUI desktop application for herdr-core).

This setup automates managing your ~/.config/herdr-app across multiple machines (macOS, Linux, and Windows) using ~/dotFiles/herdr-app (synchronized via rclone bisync) or another centralized dotfiles directory.


Features

@akunzai
akunzai / uninstall-muse-code.ps1
Last active October 14, 2026 01:17
Muse Code uninstaller
<#
.SYNOPSIS
Removes Muse Code on Windows.
.DESCRIPTION
The installer writes the launcher and binaries to %LOCALAPPDATA%\Programs\muse
(or $env:MUSE_INSTALL_DIR, or ~/.local/bin) and adds that directory to User PATH.
The app keeps login credentials, settings, and session data under ~/.config/muse,
~/.local/share/muse, ~/.local/state/muse, and ~/.cache/muse.
@akunzai
akunzai / uninstall-cursor-cli.ps1
Last active October 14, 2026 01:14
Cursor CLI uninstaller
<#
.SYNOPSIS
Removes the Cursor CLI on Windows installed by Cursor's install script.
.DESCRIPTION
That installer puts the package in %LOCALAPPDATA%\cursor-agent (containing
agent.cmd, cursor-agent.cmd, and version runtimes) and adds that directory
to the User PATH environment variable. When executed, it also generates
a compile cache in %LOCALAPPDATA%\cursor-compile-cache.
@akunzai
akunzai / README.md
Last active November 1, 2026 04:45
Setup OpenSSH Server on Windows

Windows OpenSSH Server Setup & Configuration (setup-openssh-server.ps1)

Automated installation, configuration, ACL permission fixing, and public key deployment for OpenSSH Server on Windows.

Supports Windows 10 / 11 and Windows Server 2019 / 2022 / 2025.


Features

@akunzai
akunzai / README.md
Last active November 19, 2026 08:54
My Shared Codex CLI profile

Shared Codex CLI profile

Install shared.config.toml next to the machine-local ~/.codex/config.toml. Start it with codex --profile shared, or cx after loading the Unix or PowerShell shortcut. Plain codex still uses your original configuration.

Requires Codex 0.134.0 or later. Profiles are separate files, not legacy [profiles.shared] tables or a top-level profile selector.

macOS / Unix install or update

@akunzai
akunzai / .bashrc
Last active September 22, 2026 03:49
My Bash profile
# ~/.bashrc: executed by bash(1) for non-login interactive shells.
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# Prevent circular or duplicate execution in the same subshell
if [ -n "$__BASHRC_SOURCING" ]; then
@akunzai
akunzai / settings.json
Last active August 22, 2026 07:20
My GitHub Copilot CLI settings
{
"footer": {
"showAgent": true,
"showAiUsed": true,
"showBranch": true,
"showCiStatus": true,
"showCodeChanges": false,
"showContextWindow": true,
"showCustom": true,
"showDirectory": true,
@akunzai
akunzai / README.md
Last active November 3, 2026 08:10
My Herdr TUI settings

Herdr config

Flat layout (gists have no directories). Copy each file to its target path.

File Target Notes
config.toml ~/.config/herdr/config.toml Herdr main config: keybindings, theme (catppuccin), sidebar. [ui.sidebar.agents] holds the $cache color rules for cache-hit, recolored with catppuccin tones (the plugin defaults are unreadable on dark themes).
plugins.json ~/.config/herdr/plugins.json Installed plugins snapshot (managed by herdr plugin; contains machine-specific absolute paths, for reference only).
config.json ~/.config/herdr/plugins/config/cache-hit/config.json cache-hit plugin options: show hit % for all agents, hide the ⇣ read-token count.
@akunzai
akunzai / cleanup-dory.sh
Last active August 5, 2026 03:43
Clean up leftover files after uninstalling Dory (github.com/Augani/dory) for macOS
#!/usr/bin/env bash
# Removes leftover files for a Dory (https://github.com/Augani/dory) uninstall.
# Assumes /Applications/Dory.app, ~/.dory, /etc/resolver/dory.local, and the pf
# anchor are already gone (i.e. `dory uninstall` / manual app removal was done).
#
# Usage:
# cleanup-dory.sh # dry run: list what would be removed
# cleanup-dory.sh --yes # actually remove everything, no prompt
# cleanup-dory.sh --apply # actually remove everything, with a confirm prompt