Delete all workflow runs from a GitHub repository (clear the history of workflow runs) (SOURCE)
user=YOUR_USERNAME_HERE repo=YOUR_REPO_HERE; gh api repos/$user/$repo/actions/runs \
--paginate -q '.workflow_runs[] | select(.head_branch != "master") | "\(.id)"' | \
xargs -n1 -I % gh api repos/$user/$repo/actions/runs/% -X DELETE
Reinstate the Microsoft extensions marketplace in VSCodium (SOURCE)
mkdir -p ~/.config/VSCodium && cat > ~/.config/VSCodium/product.json <<EOF
{
"nameShort": "Visual Studio Code",
"nameLong": "Visual Studio Code",
"extensionsGallery": {
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
"itemUrl": "https://marketplace.visualstudio.com/items"
}
}
EOF
Git Yolo (SOURCE)
git config --global alias.yolo '!git add --all && git commit -m "$(curl -s https://whatthecommit.com/index.txt)" && git push then git yolo