commit 80be70a95736a636562f1e7044a4830d5a04c815
parent 57e760c1fc96d5f73c5100b71e96ecd2d1f93d51
Author: dwrz <dwrz@dwrz.net>
Date: Wed, 28 Feb 2024 12:08:25 +0000
Update reveille script
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/reveille b/scripts/reveille
@@ -4,7 +4,7 @@ readonly DAY_SECONDS=86400
# TODO: replace this constant with an API request.
# https://www.ssa.gov/cgi-bin/longevity.cgi
-readonly ESTIMATED_REMAINING_YEARS=50
+readonly ESTIMATED_REMAINING_YEARS=45
readonly ESTIMATED_REMAINING_DAYS="$(( "${ESTIMATED_REMAINING_YEARS}" * 365))"
age() {
@@ -65,7 +65,11 @@ $(wisdom | fold --spaces --width 72)
$(shuf -n 8 "${HOME}"/projects/chinese/vocabulary.csv | sort)
Sunrise & Sunset:
+Los Angeles $(sun -c 34.052235,-118.243683 -f 15:04 -z America/Los_Angeles)
New York City $(sun -c 40.730610,-73.935242 -f 15:04 -z America/New_York)
+Napoli $(sun -c 40.853294,14.305573 -f 15:04 -z Europe/Rome)
+上海 $(sun -c 31.224361,121.469170 -f 15:04 -z Asia/Shanghai)
+Sydney $(sun -c -33.865143,151.209900 -f 15:04 -z Australia/Sydney)
EOF