bjorn.now

#macos

Apple's operating system

26 October, 2025

Apple Notes can evaluate calculations with variables that update as you change them. The variable name has to be “one word,” so usual camelCase or PascalCase will likely do you best.

I realized this while trying to calculate what height TV bench I should get:

Apple Notes calculations determining TV bench height using variables for TV size, sofa height, and eye level

The center of the TV should be about eye level, so what height bench should I get given myself and the sofa? Seems around 60cm will be good. Update: I realized the TV stand adds to the height of the TV bench, so it shouldn’t be part of the center of TV calculation.

[… more]
til Updated 2 min read #macos, #productivity

01 August, 2025

You can enable the fingerprint reader for sudo on macOS, and pressing my finger on a button beats having to type the password, steps:

  1. cp /etc/pam.d/sudo_local{.template,}
  2. Edit /etc/pam.d/sudo_local and uncomment auth sufficient pam_tid.so.

The reason for doing this in sudo_local is that this file will not get reset with system changes from Apple.

til Singapore • #how-to, #macos

15 April, 2024

Day-to-day automation using Alfred on your Mac

reducing TOIL outside of your DevOps practice

I try to be aware of where I have friction in my day-to-day when working at my computer, keeping an eye out for TOIL to remove. Whether it’s from manually repeated actions, or from differing behaviors across apps and services I use. When I identify any of these I try to spend some small amount of time automating or changing how I work to improve.

All of these things don’t necessarily make a lot of sense from how much time I save, but, it also makes me happy to spend a bit of time improving my environment, and spending a bit of time to make me happy is good enough for me.

[… more]
blog Updated 12 min read Singapore • #how-to, #automation, #alfredapp, #productivity, #macos