Skip to content

Instantly share code, notes, and snippets.

codex-theme-v1:{"codeThemeId":"linear","theme":{"accent":"#78ecc1","accentSource":"custom","contrast":15,"fonts":{"code":"\"ProFontWindows Nerd Font\"","ui":"\"SF Pro Display\"","content":"\"SF Pro Text\""},"ink":"#ffffff","opaqueWindows":true,"semanticColors":{"diffAdded":"#42ff97","diffRemoved":"#ff1a67","skill":"#fd7cff"},"surface":"#161616"},"variant":"dark"}
@aaronedev
aaronedev / oc-profile.md
Created October 8, 2026 22:41 — forked from locxter/oc-profile.md
OpenCode Profile Switcher

OpenCode Profile Switcher — Installation & Usage Guide

A POSIX shell script for switching between multiple opencode authentication accounts on the same provider — without manually editing auth.json every time.


How the Script Works

The Problem It Solves

{
"name": "Vimium C",
"@time": "06/08/2026, 12.29.21",
"time": 1786012161164,
"environment": {
"extension": "2.12.3",
"platform": "linux",
"firefox": 153
},
"allBrowserUrls": true,
@aaronedev
aaronedev / tcalc
Last active March 11, 2026 16:49
time calc script (days, hours, years support)
#!/usr/bin/env bash
set -euo pipefail
##############################################################################
### tcalc — quick date/time calculations (qalc wrapper)
### Author: aaronedev
### https://github.com/aaronedev
##############################################################################
# tcalc — fast date/time math wrapper around qalc, with:
# - short units (e.g. 10m -> 10min)
# - colored + structured output
/* ==UserStyle==
@name violet-void-theme_archwiki
@version 20260301.17.59
@namespace github.com/aaronedev/violet-void-theme
@description Dark Violet-Void theme that applies a consistent handcrafted color palette to the ArchWiki.
@author aaronedev
@github https://github.com/aaronedev/violet-void-theme.git
@homepageURL https://github.com/aaronedev/violet-void-theme_archwiki
@license MIT
==/UserStyle== */
@aaronedev
aaronedev / btop.conf
Last active April 15, 2026 11:39
best btop.conf yo
#? Config file for btop v.1.4.6
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
color_theme = "TTY"
#* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = false
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
#!/usr/bin/env bash
set -euo pipefail
export NVM_DIR="$HOME/.nvm"
if [ ! -s "$NVM_DIR/nvm.sh" ]; then
curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
fi
. "$NVM_DIR/nvm.sh"
touch "$HOME/.bashrc" "$HOME/.bash_profile"
@aaronedev
aaronedev / sync-upstream.yml
Created November 3, 2025 08:26
sync workflow github fork from upstream
# yamllint disable rule:truthy
# yamllint disable rule:document-start
name: Sync Upstream
on:
schedule:
- cron: "0 5 * * 0"
workflow_dispatch:
jobs:
call plug#begin(~/.vim/plugged)
" Core + quality of life
Plug tpope/vim-sensible
Plug tpope/vim-abolish
Plug jdhao/better-escape.vim " Escape insert mode with jk/kk etc.
" Indentation detection
Plug tpope/vim-sleuth " Automatically detect file indent settings
@aaronedev
aaronedev / Git_Commit_Freeze_Solution.md
Created September 30, 2025 11:57 — forked from bahadiraraz/Git_Commit_Freeze_Solution.md
Git Commit Freeze Due to GPG Lock Issues (Solution)

Git Commit Freeze Due to GPG Lock Issues

If you encounter a problem where you cannot commit changes in Git – neither through the terminal nor via the GitHub Desktop application – the issue might be a freeze during the Git commit process. This is often caused by GPG lock issues. Below is a concise and step-by-step guide to resolve this problem.

Solution Steps

1. Check for GPG Lock Messages

Open your terminal and try to perform a GPG operation (like signing a test message). If you see repeated messages like gpg: waiting for lock (held by [process_id]) ..., it indicates a lock issue.