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
| { | |
| "tasks": { | |
| "dev": "deno run --watch main.ts" | |
| }, | |
| "imports": { | |
| "@googlemaps/google-maps-services-js": "npm:@googlemaps/google-maps-services-js@^3.4.0", | |
| "@std/assert": "jsr:@std/assert@1", | |
| "@types/node": "npm:@types/node@^22.10.7" | |
| } | |
| } |
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
| SELECT u.usename AS username, | |
| c.relname, | |
| n.nspname, | |
| pg_catalog.pg_table_is_visible(c.oid) as table_name, | |
| has_table_privilege(c.oid, 'SELECT') as select_access, | |
| has_table_privilege(c.oid, 'INSERT') as insert_access, | |
| has_table_privilege(c.oid, 'UPDATE') as update_access, | |
| has_table_privilege(c.oid, 'DELETE') as delete_access | |
| FROM pg_catalog.pg_user u | |
| CROSS JOIN pg_catalog.pg_class c |
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
| #!/usr/bin/env bash | |
| BUCKET=abc/def | |
| REGION=us-east-1 | |
| PROFILE=my_profile | |
| for key in "vault-root" "vault-unseal-0" "vault-unseal-1" "vault-unseal-2" "vault-unseal-3" "vault-unseal-4" | |
| do | |
| aws s3 cp s3://${BUCKET}/${key} . --profile "$PROFILE" --region "$REGION" |
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
| #!/usr/bin/env bash | |
| # open-prs.sh | |
| __gh=/opt/homebrew/bin/gh | |
| __jq=/opt/homebrew/bin/jq | |
| while IFS= read -r -d '' dir | |
| do | |
| dir=$(dirname "$dir") | |
| cd "$dir" || continue |
OlderNewer