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
| # FLAC to ALAC Converter | |
| # Converts .flac files to .m4a (Apple Lossless) while preserving directory structure | |
| param( | |
| [switch]$DryRun | |
| ) | |
| $SourceDir = "$env:USERPROFILE\Music" | |
| $DestDir = "G:\Music\Automatically Add to iTunes" |
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
| { | |
| "model": "claude-opus-4-5", | |
| "enabledPlugins": { | |
| "csharp-lsp@claude-plugins-official": true, | |
| "commit-commands@claude-plugins-official": true, | |
| "microsoft-docs@microsoft-docs-marketplace": true, | |
| "code-simplifier@claude-plugins-official": true | |
| }, | |
| "hooks": { | |
| "Notification": [ |
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
| # PowerShell script to split MKV file by chapters using ffmpeg and ffprobe | |
| param( | |
| [string]$InputFile, | |
| [string]$OutputPrefix = "Chapter" | |
| ) | |
| # Get chapter information from the file in JSON format | |
| # ffprobe extracts metadata; we're specifically requesting chapter information | |
| $chapterJson = ffprobe -v quiet -print_format json -show_chapters $InputFile | ConvertFrom-Json |
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
| [alias] | |
| root = rev-parse --show-toplevel | |
| undo = reset HEAD^ | |
| [user] | |
| name = David Jarman | |
| email = davidbjarman@gmail.com | |
| [core] | |
| autocrlf = true | |
| [push] | |
| autoSetupRemote = true |
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
| # Set custom prompt | |
| PROMPT='%1~ %# ' | |
| . "$HOME/.local/bin/env" |
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
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
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Position = 0, Mandatory = $true)] | |
| [string] | |
| $ProgramName | |
| ) | |
| # Search environment variables | |
| Write-Output "Searching Environment Variables..." | |
| Get-ChildItem Env: | Where-Object { $_.Value -like "*$ProgramName*" } |
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
| $baseBranch = "master" | |
| $currentBranch = "your-branch" | |
| $modifiedFiles = git diff --name-only $baseBranch $currentBranch | |
| foreach ($file in $modifiedFiles) { | |
| $originalContent = git show ${$baseBranch}:"$file" | |
| $currentContent = Get-Content $file -Raw -AsByteStream | |
| $currentContentString = Get-Content $file -Raw |
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", | |
| "osc99": true, | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "right", | |
| "segments": [ | |
| { | |
| "type": "shell", |
NewerOlder