Hacker News new | ask | show | jobs
by nefitty 1595 days ago
I have had a lot of fun and success with Keyboard Maestro for Mac and Shortcuts for iOS. For my work, I try to automate Terminal commands. I also dabbled a little with bash scripts. I love that Shortcuts lets me think programatically and flex those muscles for fun tasks.

Here's some stuff I have set up:

Mac:

- I use several displays, and don't usually use the built-in monitor. I have an automation that dims it until it turns off.

- I have recurring KM script that deletes Yarn and NPM caches. They get huuuuge.

- I have a bash script that shows me the temperature of my Mac. I might be able to add an alert if the temp goes above x.

iOS:

- I hooked up my Pavlok shock bracelet to Reminders. I get a percentage chance of getting shocked every 15mins if tasks aren't done. The more tasks done, the less likely it is.

- Shortcut to pull up Youtube videos for PiP without a Youtube Premium account. You can find that online. Game changer.

- Sci-Hub and Meta.org search shortcuts made available in the share menu. You can get my Sci-Hub shortcut here (a good starting point for other search shortcuts): https://observablehq.com/@iz/sci-hub-mirrors

- To help me debug shortcuts, I created a logger that writes to Data Jar or to a Note. Helps soo much. I haven't released it but you can get my Twitter at the link above if you're interested.

Node dev:

- Semantic commit template accessible through Dash's text-expander

- Next.js sucks but I made some scripts to automate that work. I had to use a Chrome-watcher that let's me refresh specific tabs from the command line.

There's many more. I wanted to share mine to maybe give you an idea of what tools to check out and what to automate to approximate your robotic luxury communist future.