This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Replace the Windows Terminal bell with Warcraft Peon sounds. | |
| .DESCRIPTION | |
| Downloads Peon WAV files and configures Windows Terminal's native bellSound | |
| setting to randomly play one on each bell event. That's it - no hooks, | |
| no runtimes, no extra dependencies. Just WAVs + a settings.json change. | |
| Supports all Windows Terminal variants: Stable, Preview, and Canary. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| PowerShell profile with Oh My Posh, posh-git, and Copilot CLI helpers. | |
| .DESCRIPTION | |
| Configures the interactive PowerShell experience: | |
| - Oh My Posh prompt with a custom clean-detailed theme (hosted as a gist) | |
| - osc99 enabled so split panes inherit the current working directory | |
| - posh-git for Git branch/tag tab completion | |
| - Split-Copilot function (alias: spc) to open Copilot CLI in a side pane |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "pwd": "osc99", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "newline": true, | |
| "segments": [ | |
| { | |
| "background": "#FEF5ED", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Google Calendar Sync — Import events from one calendar into another. | |
| * | |
| * Copies upcoming events from a secondary calendar into your primary calendar | |
| * as private "Personal Appointment" blocks (title and times only). Keeps them | |
| * in sync: creates new blocks, updates moved events, and deletes stale ones. | |
| * | |
| * Setup: | |
| * 1. Replace SECONDARY_CALENDAR_ID with the calendar you want to import from. | |
| * 2. Add a time-driven trigger to run sync() on your preferred schedule. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Monitor PnP device connects and disconnects in real time. | |
| .DESCRIPTION | |
| Polls Get-PnpDevice every 5 seconds and reports any devices that appeared | |
| or disappeared since the last check. Useful for debugging USB, Bluetooth, | |
| and other hot-pluggable peripherals. | |
| .EXAMPLE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; .emacs_on_windows --- Bootstrap Emacs config on Windows -*- lexical-binding: t; -*- | |
| ;; On Windows, Emacs looks for init files in %APPDATA% by default. | |
| ;; Place this file at C:\Users\<username>\AppData\Roaming\.emacs | |
| ;; and update the paths below to point to your real config. | |
| ;; This lets you keep your .emacs and .emacs.d wherever you want | |
| ;; (e.g., a Git repo, a secondary drive, etc.). | |
| ;; Place this file in C:\Users\<username>\AppData\Roaming and point to the appropriate files | |
| (setq user-init-file "C:/path/to/.emacs") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; .emacs --- Personal Emacs configuration -*- lexical-binding: t; -*- | |
| ;; Opinionated defaults: no tabs, visible whitespace, centralized backups, | |
| ;; and a handy C-c c binding to toggle comments on region or line. | |
| ;; Highlights dumb stuff. | |
| (require 'whitespace) | |
| (setq whitespace-style '(face empty tabs lines-tail trailing)) | |
| (global-whitespace-mode t) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Fresh Ubuntu / WSL2 setup script | |
| # | |
| # Installs essential build tools, configures Git credential forwarding | |
| # from Windows, sets up Docker, and wires up an SSH agent that persists | |
| # across shell sessions. | |
| # | |
| # Usage: | |
| # chmod +x install-with-fresh-ubuntu.sh && ./install-with-fresh-ubuntu.sh | |