====== OSX ======
* [[https://archive.zhimingwang.org/blog/2014-10-25-os-x-package-receipts.html|OS X package receipts]]
* [[http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/|Disable System Integrity Protection (rootless) in Mac OS X]]
* [[https://apple.stackexchange.com/questions/27544/how-to-completely-disable-auto-save-and-versions-in-mac-os-x-lion|How to completely disable auto-save and versions?]]
* https://github.com/mathiasbynens/dotfiles/blob/master/.macos
===== Benutzung des Terminals =====
==== iTerm ====
* [[http://chris-schmitz.com/develop-faster-with-iterm-profiles-and-window-arrangements/|Profile und Windows]]
* [[https://apple.stackexchange.com/questions/22445/how-can-i-save-tabs-in-iterm-2-so-they-restore-the-next-time-the-app-is-run|Save tabs in iTerm 2]]
==== Screen ====
* http://www.kinnetica.com/2011/05/29/using-screen-on-mac-os-x/
Disconnect (leaves the session running), shows message [detached]:
Ctrl-A Ctrl-D
Kills screen session:
Ctrl-D
Reconnect to a running session:
screen -r
Reconnect to running session, creates a new one if none exists:
screen -D -r
Create a new window inside of a running screen session:
Ctrl-A C
Switch from one screen window to another:
Ctrl-A Ctrl-A
List open screen windows:
Ctrl-A W
screen -ls
===== Software =====
==== Firewalls ====
=== Application Firewall ===
/usr/libexec/ApplicationFirewall/socketfilterfw --listapps
#put Xcode as an exception:
/usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/Xcode.app/Contents/MacOS/Xcode
=== Lulu ===
* https://objective-see.com/products/lulu.html - LuLu is a free, open-source firewall that aims to block unknown outgoing connections
==== Password-Manager ====
* https://github.com/MacPass/MacPass
* https://github.com/keepassxreboot/keepassxc
===== Packet Manager für MacOS =====
* https://saagarjha.com/blog/2019/04/26/thoughts-on-macos-package-managers/
==== MacPorts ====
* https://www.macports.org/
==== Homebrew ====
=== Kommandos: ===
brew list # lists installed packages
brew leaves # shows all top-level packages, that are not dependencies
brew leaves --installed-on-request # manually installed
brew leaves --installed-as-dependency # installed as dependency
brew deps --tree --installed # dependencies as tree
brew doctor # finds problems in the installed base
brew uninstall
https://apple.stackexchange.com/questions/101090/list-of-all-packages-installed-using-homebrew
=== Installation aktualisieren ===
brew update
brew outdated
brew upgrade
brew cleanup -n
* https://zanshin.net/2014/02/03/how-to-list-brew-dependencies/
* https://stackoverflow.com/questions/7323261/uninstall-remove-a-homebrew-package-including-all-its-dependencies
=== Aktuelle Version von OpenSSL installieren ===
brew update
brew install openssl
brew install python --with-brewed-openssl
Add the following to ~/.bash_profile:
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
* [[https://comeroutewithme.com/2016/03/13/python-osx-openssl-issue/]]
==== Omni Graffle ====
* http://blog.grio.com/2012/12/creating-custom-stencils-for-omnigraffle-the-right-way.html
* [[http://forums.omnigroup.com/showthread.php?t=22226|Text background color in OGfl]]
* [[https://discourse.omnigroup.com/t/adding-bezier-points-to-lines-or-shapes/24065|Adding Bezier Points to Lines or Shapes]]
* [[https://support.omnigroup.com/documentation/omnigraffle/mac/7.3/en/using-the-tools/#altering-shapes-with-the-point-editor-tool|The Point Editor Tool Altering Shapes with the Point Editor Tool]]
==== iMovie ====
* http://imovie.skydocu.com/en/crop-and-apply-effects-to-video-and-photos/enhance-video-and-photos/add-interesting-visual-treatments-to-video-clips/
==== Safari ====
* https://www.minicreo.com/mac-uninstaller/how-to-unintall-safari-mac.html
==== Screen-Annotation Tools ====
* https://apple.stackexchange.com/questions/172046/screen-annotation-software-to-draw-on-any-app-in-osx
=== Stuff ===
* https://mac.getutm.app/ - **Virtualisierung**
* https://github.com/ExistentialAudio/BlackHole - **Virtual audio driver**
----
===== Tastatur =====
* https://www.jacob.de/produkte/keysonic-tastatur-mit-ksk-8022macu-artnr-5537107.html
* https://www.keychron.com/pages/qmk-prelaunch
==== Tastaturbelegung ändern ====
**Cherry KC 6000 (Lock-Screen Taste neu belegen):**
* https://apple.stackexchange.com/questions/210517/disable-shift-cmd-q-for-logout
**PC-Tastaturbelegung am Mac - rechte Option-Taste verhält sich wie AltGr**
- Laden Sie die folgende Ukulele-Datei herunter: {{ :osx:deutschmitaltgr.keylayout.txt |}}
- Dateiendung ''.txt'' entfernen
- Datei in ''~/Library/Keyboard Layouts'' speichern
- Aktivierung des neuen Keyboard Layouts über die Systemeinstellungen
**Links:**
* https://stackoverflow.com/questions/21878482/what-do-the-parameter-values-in-applesymbolichotkeys-plist-dict-represent
* https://stackoverflow.com/questions/3202629/where-can-i-find-a-list-of-mac-virtual-key-codes/3202689
* https://github.com/diimdeep/dotfiles/blob/master/osx/configure/hotkeys.sh
* https://krypted.com/mac-os-x/defaults-symbolichotkeys/
===== aktuelles OSX auf älteren Mac's =====
* https://forums.macrumors.com/threads/macos-high-sierra-10-13-unsupported-macs-thread.2048478/
* https://forums.macrumors.com/threads/macos-10-14-mojave-on-unsupported-macs-thread.2121473/page-338#post-26603691
* https://forums.macrumors.com/threads/macos-10-15-catalina-on-unsupported-macs.2183772/
* http://dosdude1.com/software.html
==== Open Legacy Patcher ====
* https://dortania.github.io/OpenCore-Legacy-Patcher/MODELS.html#imac
* https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108
* https://forums.macrumors.com/threads/any-way-to-use-mba-2011-run-linux-throw-in-garbage.2398537/
===== Repair & Fix =====
* [[https://support.apple.com/de-de/HT203538|Probleme beheben, die durch das Ändern der Zugriffsrechte für Elemente in Ihrem Benutzerordner entstanden sind]]
* [[http://osxdaily.com/2015/11/04/verify-repair-permissions-mac-os-x/|Repair Permissions in OS X El Capitan]]
* [[https://eclecticlight.co/2017/06/15/something-odd-you-cant-fix-sierra-re-introduces-repairing-permissions/|Sierra re-introduces repairing permissions]]
* [[https://discussions.apple.com/docs/DOC-3353|..Step by Step to fix your Mac]]
* [[https://www.cnet.com/news/boot-argument-options-in-os-x/|Boot argument options in OS X]]
* [[https://www.inteller.net/notes/change-user-id-on-snow-leopard|Change a user's User ID on Mac OS X]]
* [[https://github.com/mnott/pbp|PGP/GPG entfernen/dauerhaft entschlüsseln]]
* [[http://gigoblog.com/2014/11/13/firewall-locked-you-out-of-screensharing-on-os-x/|Firewall locked you out of screensharing]]
* [[https://github.com/yene/Safari-Backspace/issues/1|Safari Backspace]]
* [[https://forums.macrumors.com/threads/upgrading-2013-2014-macbook-pro-ssd-to-m-2-nvme.2034976/|Upgrading 2013/2014 Macbook Pro SSD to M.2 NVMe]]
===== Hardware-Repair =====
* [[osx:imac|iMac]]