AppleScript
Some useful tidbits on AppleScript programming popped up on Hacker News today (comments).
Work From Home Things: The Lunch Minute
One of those random Work From Home Things my fiancée and I both have: marking
yourself away for lunch must be done on a timestamp ending in :00
, :15
,
:30
, or :45
. If not, you have to wait for the next one to come around.
HTML capture attribute
I learned about the capture
attribute for file inputs today, which
allows you to prompt a user to take a picture and passes it to the file input
for processing. It is only supported by mobile browsers, and I can’t think of
how I would use it. Still, seems like a neat concept.
Setting up my PiBox
I picked up a PiBox and wanted to run it without KubeSail/k3s. The devs at KubeSail have open sourced all of their provisioning scripts and I was able to get things working in a night.
My Git+Synology setup
I upgraded my NAS and setup git on it again. I went a little custom this time around, so I’m documenting it here if I ever need to do it again.
How to setup a git server
Here’s how I setup a git server with Gitweb on a Raspberry Pi.
The Oregon Trail’s Origins
Very interesting documentary on The Oregon Trail’s Origins.
Slack’s scrollbar
I was searching for CSS scrollbar rules for Safari and came across this completely unrelated article about how Slack customizes their scrollbar by hiding it and showing their own. Clever!
Don’t think to write, write to think
This is one of the lessons that every writer comes to appreciate: writing is thinking. Writing is not the artifact of thinking, it’s the actual thinking process.
The Rails Attributes API
Test Double wrote about the Rails Attributes API. Great article—just don’t be tempted to use it on a serialized column like jsonb… you’ll hate yourself eventually like I always do.