Skip to content

Fra146/Fra146

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Snake animation

Useful Git, GitHub and Linux-related commands

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published