export user=NameOrOrgName
export repo=RepoName
gh api repos/$user/$repo/actions/runs --paginate -q '.workflow_runs[] | "\(.id)"' | xargs -n1 -I % gh api repos/$user/$repo/actions/runs/% -X DELETE
This file contains 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
declare module 'react-native-branch' { | |
// https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution#content-schema | |
export type ContentSchema = | |
| 'COMMERCE_AUCTION' | |
| 'COMMERCE_BUSINESS' | |
| 'COMMERCE_OTHER' | |
| 'COMMERCE_PRODUCT' | |
| 'COMMERCE_RESTAURANT' | |
| 'COMMERCE_SERVICE' | |
| 'COMMERCE_TRAVEL_FLIGHT' |
This file contains 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 | |
if [[ -z "$NGROK_TOKEN" ]]; then | |
echo "Please set 'NGROK_TOKEN'" | |
exit 2 | |
fi | |
if [[ -z "$USER_PASS" ]]; then | |
echo "Please set 'USER_PASS' for user: $USER" |
This file contains 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
#!/usr/bin/expect | |
set USERNAME "<user>" | |
set PASSWORD [lindex $argv 0] | |
eval spawn /opt/cisco/anyconnect/bin/vpn connect vpn.mysite.com | |
expect "Connect Anyway" { send "y\r" } | |
expect "import the certificate" { send "n\r" } |
OlderNewer