Skip to content

Instantly share code, notes, and snippets.

@shayaantx
shayaantx / generate-github-access-token.sh
Last active September 15, 2023 14:11
generate-github-access-token.sh (for github apps with private keys)
#!/bin/bash
if [ "$#" -ne 3 ]; then
echo "Usage: $0 <APP_ID> <OWNER_REPO_NAME> <PRIVATE_KEY_PATH>"
exit 1
fi
APP_ID="$1"
OWNER_REPO_NAME="$2"
PRIVATE_KEY_PATH="$3"
@shayaantx
shayaantx / hide-deployment-events-github-pr.css
Created September 19, 2023 13:56
hide-deployment-events-github-pr
div.js-timeline-item div.js-socket-channel[data-url*="deployed_event"] {
display: none !important;
}
@shayaantx
shayaantx / gist:efa398c34c0fd4ebd9f2af421db55cd2
Created October 8, 2024 18:13
get-auth0-connections.bash
echo -e "\nPlease enter your Auth0 credentials:\n"
read -sp "Enter your Client ID: " CLIENT_ID
echo -e "\n"
read -sp "Enter your Client Secret: " CLIENT_SECRET
echo -e "\n"
read -sp "Enter your Domain: " DOMAIN
echo -e "\n"