paulgorman.org

< ^ txt

Sat 26 Oct 2019 09:17:46 AM EDT Slept from eleven to seven without waking. High of fifty-three and rainy today. Goals: - Clean apartment Done. - Automate creation of skeleton for daily diary entry Done. Cleaned kitchen and bathroom, unpacked new Roomba, watered plants, vacuumed, washed dishes, took out trash, changed sheets and towels. ``` -- inky ~ $ touch bin/make_new_diary_entry -- inky ~ $ chmod a+x bin/make_new_diary_entry -- inky ~ $ vi bin/make_new_diary_entry -- inky ~ $ cat bin/make_new_diary_entry #!/usr/bin/bash set -uf df=/b/www/paulgorman.org/diary/$(date +%Y%m%d.txt) if [ ! -f "$df" ]; then date > "$df" echo >> "$df" echo "Slept from " >> "$df" echo >> "$df" curl -s https://api.weather.gov/zones/public/MIZ069/forecast | jq -r '.periods[0].detailedForecast' | sed 's/\\n/\n/g' | sed '/^$/d' >> "$df" cat <<EOF >> "$df" Work: Home: Servings: grains 0/6, fruit 0/4, vegetables 0/4, dairy 0/2, meat 0/3, nuts 0/0.5 Brunch: Lunch: Afternoon snack: Dinner: EOF fi -- inky ~ $ crontab -e -- inky ~ $ crontab -l | tail -1 0 6 * * * /home/paulgorman/bin/make_new_diary_entry ``` WFO: KVLL curl https://api.weather.gov/stations/KVLL Zone: MIZ069 https://api.weather.gov/zones/forecast/MIZ069 curl https://api.weather.gov/zones/public/MIZ069/forecast ``` 🐚 bava ~ $ curl -s https://api.weather.gov/zones/public/MIZ069/forecast | jq -r '.periods[0].detailedForecast' | sed 's/\\n/\n/g' | sed '/^$/d' Rain in the afternoon. Highs in the lower 50s. East winds 10 to 15 mph. Gusts up to 30 mph in the afternoon. Chance of rain near 100 percent. ``` Watched The Midnight Meat Train on Hulu. The artistic struggle of the photographer is uninteresting, but the slasher scenes are fun. Some kind of ghoul conspiracy? OK, sure. Based on a Clive Barker short story, apparently. Does the short story engage more directly than the film with _Pickman's Model_? Chatted briefly with Ed and Jay. Exchanged email with Mom. Ten-minute walk in the early evening. Rain. Dim. Soaked shoes and pant legs. Watched some anime. Servings: grains 8/6, fruit 3/4, vegetables 4/4, dairy 5/2, meat 3/3, nuts 0.5/0.5 Brunch: pineapple, cucumber, nuts, coffee, banana Lunch: one beer, burrito Afternoon snack: apple Dinner: pizza 128/80

< ^ txt