ymattw
banner
fmt.re
ymattw
@fmt.re
fmt.re
#AhaMoment
you can use <a class=button>, or you can use just a button with an onClick handler. And within that handler, there are several ways to find the event receiving object, several ways to implement the download, and several ways to disable the button...
March 22, 2025 at 9:19 PM
👍 I hope it's never a breaking change, because keeping an alias is cheap and we should learn from the Python 2 to 3 lesson.
March 20, 2025 at 8:49 PM
I maintain gcalexporter.com for exporting google calendar events to excel. Made for a friend who runs a small business, probably no more than 10 people tried it, but I am proud of its security features.
Gcal Exporter - Home
gcalexporter.com
March 15, 2025 at 10:41 PM
I consulted a bunch of LLMs, but ultimately found a clue by debugging with `curl --socks5` and `curl --socks5-hostname`. In hindsight, formulating the correct question was the most difficult aspect. #AhaMoment
March 8, 2025 at 8:12 PM
Took me some time to figure everything out. It was nice to have an #AhaMoment.
March 7, 2025 at 8:21 PM
We can also merge the /foo.sh and /bar.sh into one, to allow execute from both remote and local. Just make sure avoid circular execution.

Here's my real script used to deploy gcalexporter.com from GitHub Action.
March 7, 2025 at 8:16 PM
Then no matter what the ssh client invokes, only /foo.sh will be executed, with the full ssh command in $SSH_ORIGINAL_COMMAND

2. The script /foo.sh can then check the env variable, compare the full command to the desired one, and reject mismatching commands.
March 7, 2025 at 8:16 PM