Get keyboard and mouse battery percentage
Shell scripts to get keyboard and battery values. Run it on a schedule somehow. I like a GUI so I use ‘Run Shell Script’ in Automator and schedule them with a daily ‘custom script’ event in iCal.
Shell scripts to get keyboard and battery values. Run it on a schedule somehow. I like a GUI so I use ‘Run Shell Script’ in Automator and schedule them with a daily ‘custom script’ event in iCal.
I was recently given a 2015 i7 Macbook Pro, 16GB ram/500GB SSD, with a huge LCD leak covering almost the entire screen. A replacement screen is about £500 and a risky repair which may or may not work, plus I don’t need another laptop, so I decided to give it a whirl as an HA…
I noticed today that BarTunes was no longer in my menu bar. Launching it caused a brief flicker in the menu bar but the app wouldn’t launch. Who knows how long it’s been gone? It’s one of those apps I use a lot, but only on some days (music days as opposed to radio days).…
So I had just exported a MySQL database, and immediately re-imported it to the same server into a new database. The import failed with an error.
I’ve discovered that my previous attempt to automate Radium doesn’t entirely work if my password-protected screensaver was running. It seems that since OS X 10.9 disabling the password that way somehow causes the keyboard to remain ‘captured’ by ScreenSaverEngine
Launching the OS X radio app Radium automatically, including the ability to select AirPlay speakers as necessary.
Every morning at 6am run Doug’s excellent Block Party script to create a playlist of 4 and 5 star songs from random albums.
If you don’t want the hassle of using terminal’s mail app, you can read and delete your system email with terminal commands.
After a recent hardware failure I was forced to replace my iMac’s internal hard disk (more on this some other time, perhaps). One of the decisions I made was to move down from a 1TB HDD to a 512GB SSD, so rather than restore from a backup I reinstalled all my applications from scratch and moved my large…