This came in handy when rummaging, managing, deduplicating, and improving the health of a company 1password
op vault list | cut -d' ' -f4- | sed 's,^ ,,g'
I had an issue when trying to get the cloudflare account_id which is available using the REST API but unavailable using the cloudflare terraform provider (original thread).
✗ curl -X GET "https://api.cloudflare.com/client/v4/accounts" \
-H "Content-Type:application/json" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" |
jq -r '.result[] | select(.name == "<your-account-name>").id'| #!/bin/bash | |
| # SAML IDP ARN to use to authenticate | |
| export LEAPP_IDP_ARN="" | |
| # The IAM role to assume | |
| export LEAPP_ROLE_ARN="" | |
| # The default profile name | |
| export LEAPP_PROFILE_NAME="" | |
| # Both the session name and the role session name | |
| export LEAPP_PROFILE_ALIAS="" | |
| # The region of the saml connection |
After enabling renovatebot on an org for the first time, it doesn't seem like there is a way to prevent opening a PR in every repo.
Using the gh cli, we can retrieve every repo, collect the PR number associated with the new PR, and close each one until we're ready to configure each.
ORG=myorg
gh repo list $ORG -L 400 --json name --jq '.[].name' > repo-list.textIt's nice to see a Verified message next to each commit for peace of mind.
Using GPG or S/MIME, you can sign tags and commits locally. These tags or commits are marked as verified on GitHub so other people can be confident that the changes come from a trusted source.
Install latest gpg
If using a mac use homebrew