Skip to content

Instantly share code, notes, and snippets.

View charl3y15's full-sized avatar

Charley Bailey charl3y15

  • Estes Forwarding Worldwide
  • Richmond, VA
View GitHub Profile
@kieranklaassen
kieranklaassen / SKILL.md
Last active April 25, 2026 09:52
Claude Code Swarm Orchestration Skill - Complete guide to multi-agent coordination with TeammateTool, Task system, and all patterns
name orchestrating-swarms
description Master multi-agent orchestration using Claude Code's TeammateTool and Task system. Use when coordinating multiple agents, running parallel code reviews, creating pipeline workflows with dependencies, building self-organizing task queues, or any task benefiting from divide-and-conquer patterns.

Claude Code Swarm Orchestration

Master multi-agent orchestration using Claude Code's TeammateTool and Task system.


@intellectronica
intellectronica / GEMINI.md
Last active April 14, 2026 16:53
Useful Custom Instructions for ~/.gemini/GEMINI.md

Default Instructions for Gemini CLI

Useful Command-Line Tools

GitHub

  • Use the gh command-line to interact with GitHub.

Markdown

  • Use the glow command-line to present markdown content.
@jauderho
jauderho / gist:5f73f16cac28669e56608be14c41006c
Last active May 2, 2026 14:27
HOWTO: Upgrade Raspberry Pi OS from Bookworm to Trixie
### WARNING: READ CAREFULLY BEFORE ATTEMPTING ###
#
# Officially, this is not recommended. YMMV
# https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/
#
# This mostly works if you are on 64bit. You are on your own if you are on 32bit or mixed 64/32bit
#
# Credit to anfractuosity and fgimenezm for figuring out additional details for kernels
#
@charl3y15
charl3y15 / clear-credential-manager.cmd
Created February 26, 2024 21:05 — forked from tomfanning/clear-credential-manager.cmd
Batch file to clear all credentials from Windows Credential Manager
@echo off
cmdkey.exe /list > "%TEMP%\List.txt"
findstr.exe Target "%TEMP%\List.txt" > "%TEMP%\tokensonly.txt"
FOR /F "tokens=1,2 delims= " %%G IN (%TEMP%\tokensonly.txt) DO cmdkey.exe /delete:%%H
del "%TEMP%\List.txt" /s /f /q
del "%TEMP%\tokensonly.txt" /s /f /q
echo All done
pause
@troykelly
troykelly / README.md
Last active March 12, 2026 10:17
Rebuild and Refresh Collation Version for PostgreSQL

PostgreSQL Collation and Reindexing Utility

Overview

The reindex_and_refresh_collation.sh script is created to automate the process of reindexing tables and refreshing the collation version for all user databases in a PostgreSQL server. This utility is particularly useful when you've updated the locale or collation libraries on the system where PostgreSQL is installed, as these updates could cause mismatches between the databases' expected collation version and the operating system's provided version.

What It Does

  • Retrieves a list of all user databases (excluding system templates) on the PostgreSQL server.
@tobz
tobz / steps.md
Last active April 22, 2026 17:54
Migrate Radarr from SQLite to Postgres

Migration steps

  1. Upgrade Radarr to at least v4.1.0.6133 or newer. This brings in support for Postgres. This will also ensure that all of your SQLite tables have the latest schema migrations applied before we migrate to Postgres. If you want to upgrade further, that's fine too, but make sure you've completed all upgrades first before continuing.
  2. Create your Postgres databases (one for the "main" database and one for the "logs" database) and configure Radarr with the relevant Postgres credentials. Both databases need to be owned by/accessible from the same Postgres user.
  3. Restart Radarr, and ensure it connects to Postgres and runs all schema migrations.
  4. Once all schema migrations have been applied, and no other activity is occurring, stop Radarr.
  5. Copy the SQLite databases from the Radarr instance/pod, both the main database and logs database. For this guide, we'll assume these files are called radarr.db and logs.db.
  6. Using pg_dump -s, dump the schema for the main Radarr database . P
@avoidik
avoidik / README.md
Last active March 8, 2026 17:37
Migrate Raspberry Pi from SD to USB

Raspberry Pi from SD to USB

How to switch over from SD-card to USB-attached device (USB thumbstick, USB enclosed SSD or HDD, etc.) to have more durable storage option.

Steps

  1. Connect USB device to your RPI

  2. Make sure USB device visible by the system

@rithvikvibhu
rithvikvibhu / LICENSE
Last active May 2, 2026 15:34
Get tokens for Google Home Foyer API
MIT License
Copyright (c) 2020 Rithvik Vibhu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@rmi1974
rmi1974 / how_to_predeploy_wine_mono_and_wine_gecko_installers_for_all_wine_releases.md
Last active April 20, 2026 21:07
How to pre-deploy Wine-Mono and Wine-Gecko installers for all Wine releases #wine #commandlinefu #wine-mono #wine-gecko #mono #gecko

How to pre-deploy Wine-Mono and Wine-Gecko installers for all Wine releases

Wine-Gecko

Installer packages can be found here: [WineHQ Wine-Gecko Packages][1]

To work around WineHQ disallowing "spider" mode, use the following scriptlet which outputs the download URLs:

$ wget -qO- https://dl.winehq.org/wine/wine-gecko/ | \
@rxm
rxm / sshPemKey.md
Created July 16, 2018 16:26
Create an SSH key in PEM format

Create an SSH key in PEM format

I have not been able to use ssh-keygen -e to reliably generate a private key for SSH in PEM format. This format is sometimes used by commercial products. Instead, I had to convert the key using openssl.

# generate an RSA key of size 2048 bits
ssh-keygen -t rsa -b 2048 -f jabba -C 'ronnie-jabba'

# copy key to 10.1.56.50 and add to authorized_keys