I hereby claim:
- I am andrewpolidori on github.
- I am andrewpolidori (https://keybase.io/andrewpolidori) on keybase.
- I have a public key ASBRWWYyaN0Dzjhjg0V1JULOZkneXjDr4Vf4hiuFAvqEUwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
usage() { | |
echo -e "Usage: clean_failed_helm_releases [-h | --help][-d | --dry-run] \n" | |
echo " -h --help Prints this message\n" | |
echo " -d --dry-run Simulate deleting the failed releases with helm" | |
} | |
# check for correct argumet number |
#!/bin/bash | |
# Instructions: | |
# 1) Create your TAR archive | |
# tar -czpf file.tar <file1> <file2> ... <fileN> | |
# 2) Append the TAR file contents to the script | |
# cat file.tar >> embeddedPayload.sh | |
# 3) Run script. (./embeddedPayload.sh) | |
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
--Table | |
CREATE TABLE IF NOT EXISTS person ( | |
id integer NOT NULL, | |
person_name character varying(40) NOT NULL, | |
updated_date date, | |
CONSTRAINT person_pkey PRIMARY KEY (id) | |
); | |
--Index | |
CREATE INDEX IF NOT EXISTS idx_person_name ON person (person_name); |
SELECT | |
relid::regclass AS table, | |
indexrelid::regclass AS index, | |
pg_size_pretty(pg_relation_size(indexrelid::regclass)) AS index_size, | |
idx_tup_read, | |
idx_tup_fetch, | |
idx_scan | |
FROM | |
pg_stat_user_indexes | |
JOIN pg_index USING (indexrelid) |