Skip to content

Instantly share code, notes, and snippets.

View DawnBreather's full-sized avatar

GoodWok DawnBreather

  • GoodWok Studio
  • = )
View GitHub Profile
@DawnBreather
DawnBreather / install.ts
Created January 21, 2026 12:42
1Password MCP Server Installer for Claude Code
#!/usr/bin/env bun
/**
* 1Password MCP Server Installer
*
* Pulls the release from 1Password and installs globally for Claude Code.
*
* Usage:
* bun run https://gist.githubusercontent.com/YOUR_USERNAME/GIST_ID/raw/install.ts
*
* Prerequisites:
@DawnBreather
DawnBreather / install-mcp-config.ts
Created January 21, 2026 12:39
MCP Global Configuration Installer for Claude Code
#!/usr/bin/env bun
/**
* MCP Global Configuration Installer
*
* Fetches MCP server configuration from 1Password and merges it into ~/.claude.json
*
* Prerequisites:
* - 1Password CLI (op) installed and signed in
* - bun runtime
*
@DawnBreather
DawnBreather / ghostty.config
Last active March 12, 2025 14:20
Installation snippets
command = /opt/homebrew/bin/nu
keybind = global:opt+space=toggle_visibility
copy-on-select = clipboard
background-opacity = 0.9
font-family = JetBrainsMono NF
background-blur = true
macos-option-as-alt = left
keybind = alt+left=unbind
keybind = alt+right=unbind
@DawnBreather
DawnBreather / gcp_container_registry_cleanup.md
Last active November 26, 2024 11:51
GCP Toolbox (i.e. scripts)

GCR Image Cleanup Script

A simple Bash script to clean up Google Container Registry (GCR) images older than a specified number of days. Includes a dry-run mode to preview deletions without making any changes.

Prerequisites

  • Google Cloud SDK (gcloud) installed and authenticated.
  • jq installed for JSON processing.
  • Access to the GCR repository from Cloud Shell or your local environment.
@DawnBreather
DawnBreather / won.pub
Created June 28, 2024 09:13
won - public SSH key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGcMxvLwdrIcPEj67ugc1slbrooUPv3zxQyTAaq0Jh75 dawnbreather@gmail.com
@DawnBreather
DawnBreather / install.sh
Created May 13, 2024 20:08
install.solv[object Object]
#!/bin/bash
set -e
# Constants and configurable variables
export NODE_VERSION="20.11.1"
# This ensures the entire script is downloaded
{
set -e # exit immediately if a command exits with a non-zero status

Mounting Amazon S3 Bucket in Windows and Docker

Table of Contents

1. Introduction

This document provides a comprehensive guide on how to mount an Amazon S3 bucket as a directory in Windows using Rclone, and how to subsequently mount this directory into a Docker container as a volume.

2. Prerequisites

VSCode Configuration for Handling Unsaved Changes and Window Management

To adjust VSCode’s behavior for unsaved changes and window management to avoid being prompted to save changes when closing windows, follow these configurations:

Auto Save Configuration

Enable auto save to automatically save changes, which helps in not being prompted when trying to close a window.

  1. Open the Command Palette with Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac).

  2. Type Preferences: Open Settings (UI) and select it.

@DawnBreather
DawnBreather / code.sh
Last active February 27, 2024 18:15
GCP: Create multi-regional Load-Balancer
# Google Cloud Multi-Regional Load Balancer Setup for Cloud Run
# Prerequisites:
# - Google Cloud SDK installed and initialized
# - Cloud Run services deployed in desired regions
# Step 1: Define Variables
# Replace these variables with your specific service names, regions, and project details
SERVICE_NAMES=("service1" "service2") # Example service names
REGIONS=("us-central1" "europe-west1") # Example regions
@DawnBreather
DawnBreather / wsl2-with-1password-info.md
Created June 15, 2023 09:58 — forked from WillianTomaz/wsl2-with-1password-info.md
Instructions for using 1Password SSH Agent with WSL2 (on Windows 11)

Saturday, April 22, 2023

How to Use 1Password SSH Agent with WSL2 (on Windows 11)

  • Note:

    • Always look for the official documentation, this tutorial may not suit you as there are new updates to the installation process.
    • References are at the end of the document.
  • Was used:

    • Windows 11 (x64)
    • WSL 2 (Ubuntu 22.04.2 LTS)