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
curl -X POST \ | |
-H "Accept: application/vnd.github.package-deletes-preview+json" \ | |
-H "Authorization: bearer <PERSONAL_ACCESS_TOKEN>" \ | |
-d '{"query":"mutation { deletePackageVersion(input:{packageVersionId:\"<PACKAGE_VERSION>\"}) { success }}"}' \ | |
https://api.github.com/graphql |
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
#!/bin/bash | |
# Fixes broken Google-based Franz recipes by changing user-agent per recipe | |
# "This browser or app may not be secure. Learn more. Try using a different browser" | |
FRANZ_OR_FERDI=Ferdi | |
MAC_OSX_PATH="$HOME/Library/Application Support/$FRANZ_OR_FERDI/recipes" | |
find "$MAC_OSX_PATH" -type d \( \ | |
-name "hangouts" -o \ | |
-name "hangoutschat" -o \ | |
-name "gmail" -o \ | |
-name "googlecalendar" -o \ |