Skip to content

Instantly share code, notes, and snippets.

View darrylnoakes's full-sized avatar

Darryl Noakes darrylnoakes

View GitHub Profile
@luckygoswami
luckygoswami / migrate-gpg-key.md
Created May 5, 2025 17:59
Step-by-step guide to transfer your existing GPG key to a new machine for Git commit signing. Covers key export/import, Git configuration, and GitHub setup for seamless migration.

Title: 🔑 How to Import and Configure an Existing GPG Key on a New System

Description:

Step-by-step guide to transfer and set up an old GPG key (for Git commit signing) on a new machine.


1. Export Keys from Old System

@cullylarson
cullylarson / config.ts
Last active January 10, 2025 03:18
Example configuration file
const stages = ['production', 'staging', 'development', 'test'] as const;
type Stage = typeof stages[number];
function getStage(stages: Stage[]) {
if (!stages.length) return 'production';
for (const stage of stages) {
// if any of the provided stages is production, assume we are in production
if (stage === 'production') {
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active January 29, 2026 22:38
Conventional Commits Cheatsheet