paulgorman.org

< ^ txt

Tue Jul 28 06:00:01 EDT 2020 ======================================== Slept from nine-thirty to six. Sunny. Highs in the mid 80s. West winds 5 to 15 mph increasing to 15 to 20 mph in the afternoon. Forty minute walk in the morning. Sunny and not hot yet. Heard a mourning dove and a crow. Saw lots of robins, a shiningly bright gold finch, and a cardinal. Work ---------------------------------------- - 11 AM pandemic call Done. - Email Gina about lockbox Done. - Test mailing through smarthost from Go No. - Find a text message broadcast service In progress. - 3 PM talk to Bob about approval routes Done. - How do we send resident communications in Entrata? Help Derek. No. - Follow up with Jennifer about DNS No. - Call Heidi about opening Gary's mailbox, 954-552-3091 Couldn't get in touch with her. Is this safe? It's been a long time since I've written a CGI in shell. ``` #!/bin/sh h=$(hostname) to="me@example.com" echo Content-type: text/html echo "" if [ "$REQUEST_METHOD" = "POST" -a "$CONTENT_LENGTH" -gt 0 ]; then read p printf "$p" | mail -E -s "Text message via $h $0" -- "$to" fi ``` Meditated for fifteen minutes at lunch. Home ---------------------------------------- Servings: grains 6/6, fruit 2/4, vegetables 2/4, dairy 2/2, meat 2/3, nuts 0/0.5 Brunch: cucumber, banana, coffee Lunch: egg and avocado wrap, orange, chocolate Dinner: Cheetos -33

< ^ txt