Compare commits

..

5 Commits

Author SHA1 Message Date
Jason Swank
de876b706b alter color for code in markdown 2026-01-12 02:45:34 +00:00
Jason Swank
71140395b0 markdown color changes 2026-01-11 03:40:27 +00:00
Jason Swank
62e1d0117a theunixzoo has almost no relationship to upstream.... 2026-01-10 13:15:47 -05:00
Jason Swank
c0662c5044 revert to the theunixzoo 2026-01-10 13:02:14 -05:00
Jason Swank
8e86d82578 experiment w/ a new colorscheme 2026-01-10 17:33:52 +00:00
2 changed files with 0 additions and 5 deletions

View File

@@ -1,4 +1,2 @@
# ignore all files in the stew directory # ignore all files in the stew directory
stew/* stew/*
containers/
direnv

View File

@@ -3,9 +3,7 @@ aws-get-secret () {
if [[ -z "$secret_id" ]]; then if [[ -z "$secret_id" ]]; then
secret_id=$(aws secretsmanager list-secrets \ secret_id=$(aws secretsmanager list-secrets \
# build a tsv w/ name and date
| jq -r '.SecretList | sort_by(.Name) | .[] | [.Name,.LastChangedDate] | @tsv' \ | jq -r '.SecretList | sort_by(.Name) | .[] | [.Name,.LastChangedDate] | @tsv' \
# convert to tsv w/ full name, truncated name, date (no timestamp)
| awk -F'\t' '{ | awk -F'\t' '{
full_name = $1; full_name = $1;
truncated_name = substr($1,1,30); truncated_name = substr($1,1,30);
@@ -13,7 +11,6 @@ aws-get-secret () {
# Output: full_name (for return), truncated_name (for display), date (for display) # Output: full_name (for return), truncated_name (for display), date (for display)
printf "%s\t%-30s\t%s\n", full_name, truncated_name, date_parts[1] printf "%s\t%-30s\t%s\n", full_name, truncated_name, date_parts[1]
}' \ }' \
# select via fzf, fields 2 & 3
| fzf \ | fzf \
--header="$(printf '%-30s\t%s\n' 'NAME' 'LAST_CHANGED_DATE')" \ --header="$(printf '%-30s\t%s\n' 'NAME' 'LAST_CHANGED_DATE')" \
--delimiter='\t' \ --delimiter='\t' \