Skip to content

Instantly share code, notes, and snippets.

View kbuley's full-sized avatar

Kevin Buley kbuley

  • 20:01 (UTC -04:00)
View GitHub Profile
nicholasdille / Show-JobProgress.ps1
Last active December 30, 2021 20:38
Retrieve progress from PowerShell job and display progress bar
function Show-JobProgress {
PiDayDev /
Last active July 22, 2024 20:12
Partial cherry-pick
#!/usr/bin/env bash
# Usage: ./cherry-pick <commit SHA or tag>
# It will cherry-pick given commit, but will only commit files in "src/" folder, skipping the rest.
# Bonus: the commit message and authorship information including the timestamp are copied from cherry-picked commit
# Credits to
git cherry-pick -n $1
git reset HEAD
git add src/