macOS keyboard shortcut favorites
Command (or Cmd) - ⌘
Control (or Ctrl) - ^
Option (or Alt) - ⌥
Shift - ⇧
Fn (Function) - 🌐
| https://support.apple.com/en-us/122867 | |
| Published Date: September 15, 2025 | |
| Updated: November 10, 2025 | |
| Verification: https://regex101.com/r/YXAchM/6 | |
| 1) Exact regex — Matches major model identifier numbers based on Apple's knowledge base article (more accurate): | |
| ^Mac((BookPro1(6,[124]|[78],\d)|(1[3-6]|BookAir10|mini9|Pro7),\d+))|iMac2[01],\d+$ |
| #!/bin/bash | |
| # | |
| # Created by Pico Mitchell (of Random Applications) on 1/5/23 | |
| # | |
| # https://gist.github.com/PicoMitchell/877b645b113c9a5db95248ed1d496243#file-get_compatible_macos_versions-asls-sh | |
| # | |
| # MIT License | |
| # | |
| # Copyright (c) 2023 Pico Mitchell (Random Applications) |
| #!/bin/bash | |
| : <<DOC | |
| https://docs.jamf.com/technical-articles/Mitigating_the_Apache_Log4j_2_Vulnerability.html | |
| deletes: | |
| /usr/share/tomcat8/webapps/*/WEB-INF/lib/log4j-1.2-api-2.13.3.jar | |
| /usr/share/tomcat8/webapps/*/WEB-INF/lib/log4j-api-2.13.3.jar | |
| /usr/share/tomcat8/webapps/*/WEB-INF/lib/log4j-core-2.13.3.jar | |
| /usr/share/tomcat8/webapps/*/WEB-INF/lib/log4j-slf4j-impl-2.13.3.jar |
| #!/bin/zsh | |
| :<<ABOUT_THIS_SCRIPT | |
| ------------------------------------------------------------------------------- | |
| Written by:William Smith | |
| Professional Services Engineer | |
| Jamf | |
| [email protected] | |
| https://gist.github.com/e9ed319226c6da30dd633725e48a97b0 |
| #!/usr/bin/python | |
| """ | |
| Completely reset TCC services database in macOS | |
| Note: Both the system and individual users have TCC databases; run the script as both | |
| a user and as root to completely reset TCC decisions at all levels. | |
| 2018-08-15: Resetting the 'Location' service fails; unknown cause | |
| 2018-08-16: Confirmed the 'All' service does not really reset _all_ | |
| services, so individual calls to each service is necessary. |