Skip to content

Instantly share code, notes, and snippets.

View qqii's full-sized avatar

Cheery qqii

View GitHub Profile
@qqii
qqii / GitHubCopilotCLIAlias.ps1
Last active May 25, 2023 07:39 — forked from MattJeanes/GitHubCopilotCLIAlias.ps1
Alias commands to use GitHub Copilot CLI in PowerShell
# You should insert this script into your PowerShell Profile script so it exists in every session
# Fun fact: This script was mostly generated by ChatGPT by giving it the bash version of the output
# from `github-copilot-cli alias -- "$0"` with a few fixes from me
function Invoke-CopilotWhatTheShell {
$TMPFILE = New-TemporaryFile;
try {
github-copilot-cli what-the-shell $args --shellout $TMPFILE
if ($LASTEXITCODE -eq 0) {
@qqii
qqii / New-GourceMultiRepo.ps1
Last active November 5, 2022 00:51 — forked from Sotilrac/gource-multi-repo.sh
Generates gource video out of multiple repositories. Uses avconv to export the video file.
# Automatically run gource on multiple repositories
# https://github.com/acaudwell/Gource/wiki/Visualizing-Multiple-Repositories
$Resolution = "1920x1080"
$Title = "Software Development"
$Output = "output.mp4"
$BackgroundColour = "38383D"
$FPS = "30"
$Repositories = @('artcam-express-store', 'bin2c', 'blackbox', 'carveco', 'carveco-icons', 'carveco-po', 'carveco-release-sandbox', 'ccuser', 'ddx', 'ddxman', 'delcam-cmake', 'derek-the-goat', 'dgkman', 'diagnostics', 'dongle-emulator-service', 'genman', 'grafman', 'guiman', 'hallmark', 'health-check', 'herbert-walker', 'legacy-decryption-service', 'legacy-decryption-table-generator', 'licence-api', 'license-server', 'mcuser', 'mswman', 'package-recipies', 'partner-portal', 'pdftron', 'pmpost', 'psteam-slack-bot', 'shopify-auth0', 'toolbox-addins', 'translation-wizard', 'tvd', 'vroni'<#,'vcpkg'#>)
# $Repositories = @('health-check', 'partner-portal', 'licence-api')