< ^ txt
Thu Aug 30 09:23:07 EDT 2018
Slept from ten-thirty to seven thirty. Woke briefly around four.
High of seventy-five and partly sunny today.
Work:
- Update VPN configs
Done.
Thirty-minute walk at lunch.
Almost not hot.
Saw a quartet of Canada geese, a dragonfly, and a little white butterfly.
Heard cicadas.
Scripting EdgeRotuers (Vyatta, VyOS, etc.) can be annoying.
This shell script seems to work OK to safely restart VPN's.
```
#!/bin/bash
set -uf
pokeVPN () {
router="$1"
ssh -i "$HOME"/.ssh/ht-edgerouter-key -q ht@"$router" 'ping -q -c 3 -w 6 10.0.0.1 > /dev/null 2>&1'
if [ "$?" -ne 0 ]; then
echo "VPN is down."
ssh -i "$HOME"/.ssh/ht-edgerouter-key -q ht@"$router" '/opt/vyatta/bin/vyatta-op-cmd-wrapper restart vpn'
else
echo "VPN is up."
fi
}
export -f pokeVPN
if [ "$#" == 0 ]; then
sites=(site1 site2 site3 site4 \
site5 site6 site7 site8 site9)
parallel --env pokeVPN --tag pokeVPN {} ::: "${sites[@]}"
else
pokeVPN "$1"
fi
```
Home:
- Find a doctor who's accepting new patients
Tried but failed. Is it supposed to be this hard to find a GP?
Jacqueline L Gierer, 29355 Northwestern Highway Suite 210, 248-356-7726 (highly rated), NOT accepting new Patients
Tania M Sadik, 29355 Northwestern Hwy. Suite 210, 248-356-7726 (also highly rated), NOT accepting new Patients
Brian J Kolender, 31500 Telegraph Rd Suite 130, 248-737-0091, Not accepting new patients
John R Schmitt, 17412 West 13 Mile Road, 248-642-7575, number disconnected
Fouad Batah, 29877 Telegraph Rd, 248-354-0730, office closed (at 3:30PM)
Genise E Kerner, 31500 Telegraph Road, 248-737-0091, moved to Livonia
Fifteen-minute walk after I got home from work.
A little cooler, and very pleasant.
Saw a pair of crows.
Heard cicadas.
https://en.wikipedia.org/wiki/Krishna_Janmashtami
> Janmashtami (popularly known as "Gokulashtami" as in Maharashtra) is celebrated in cities such as Mumbai and Pune. **Dahi Handi** is celebrated every August/September, the day after Krishna Janmashtami.[13][17] The term literally means "earthen pot of yoghurt". The festival gets this popular regional name from legend of baby Krishna. According to it, he would seek and steal milk products such as yoghurt and butter and people would hide their supplies high up out of the baby's reach. Krishna would try all sorts of creative ideas in his pursuit, such as making human pyramids with his friends to break these high hanging pots.[18] This story is the theme of numerous reliefs on Hindu temples across India, as well as literature and dance-drama repertoire, symbolizing the joyful innocence of children, that love and life's play is the manifestation of god.[19][20]
https://en.wikipedia.org/wiki/Krishna_Janmashtami#/media/File:Baby_thief_Krishna_(bazaar_art,_c.1950%27s).jpg
Read Plutarch's life of Marcus Cato.
VPN's kept dropping, so I SSH'd into work to revers one of the changes I make earlier today.
Oh, nice, the `-C` option make X forwarding over SSH tolerable.
Breakfast: bagel, coffee
Lunch: left-over falafel bowl, coffee
Dinner: ice cream
< ^ txt