The relentless game of Golf on Mars strikes a great balance between challenge and ease. #mbaug
Uploaded using Mimi.
Script Kitty
We wanted to adopt a kitten from the Oregon Humane Society. In these days of the pandemic, their adoption process has changed and you’re only allowed to apply online. So we checked their website regularly. That’s when we noticed that demand is very high these days so the window to apply was very short. New kittens would get posted but by the time we noticed and applied, they would already have been spoken for. This went on for a week or so.
So I did what any programmer might do, I implemented a script to detect when new kittens are posted. It was run every five minutes for about three weeks. Now it has been retired with the arrival of Mr. Momo a few weeks ago.
The script flow is pretty straightforward:
- Retrieve the page that lists kittens.
- Use some regular expressions to get the relevant data out.
- Open a local JSON file of saved kittens from the previous run so that the new kittens can be identified.
- If there are new kittens, use Pushcut to send a notification to my phone (and watch).
- If the notification is successful, save the list of currently available kittens in a local JSON file for referencing in the next run.
It was loaded as a launchd
service on my always-on Mac, which I manage using LaunchControl.app.
Here’s the script in its entirety:
π»
An update on my usage of Setapp
I have now been subscribed to Setapp for a while. I wrote a post about my initial experience in April 2019. Recently I figured it was a good time to re-evaluate how it’s working out. So here are some similar lists as last time. Apps are listed in alphabetical order.
Apps I’m currently using on a regular basis:
- MarsEdit
- Timing
- Unite
- iStatMenus
Apps I use occasionally:
- Downie
- Dropshare
- Expressions
- Folx
- Marked
- MindNode
- Permute
Apps that I’ve used just once or twice or briefly for a project. These were handy when I needed them and now I know they’re there and can use them again if a similar need arises.
- Archiver
- CleanMyMacX
- GlueMotion
- Jump Desktop
- TablePlus
Apps that I thought I’d use more often but haven’t:
- Ulysses
On the whole I think Setapp is still providing me value for the subscription and I look forward to the new apps they add. If you would like to try out Setapp, use my referral code.