Skip to content

Instantly share code, notes, and snippets.

@ansiwen
Last active Mar 16, 2021
Embed
What would you like to do?
MacOS notes

MacOS Notes

Apps

VSCode

  • rewrap (hard word-wrap)
  • gitlens
  • Back & Forth
  • .zshrc
    • export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"

brew

  • joe
  • liquidprompt
  • zsh-completions
  • gh
  • mos
  • ukelele (for creating nodeadkey layouts)
  • gfxcardstatus

configs

  • ssh
    • ssh-add -K (add to keychain)
    • config
      • UseKeychain Yes
  • sudo with touch-id
    • add auth sufficient pam_tid.so to top of /etc/pam.d/sudo

existing tools

  • caffeinate
    • disables automatic standby

remove management

in recovery mode, mount "Macintosh HD", open Terminal, cd /Volumes/Macintosh\ HD:

  • Sentinel
    • Library/Sentinel/sentinel-agent.bundle/Contents/MacOS/sentinelctl uninstall --local
  • Profiles
    • remove everything from var/db/ConfigurationProfiles besides the .profilesAreInstalled files
    • ´rm -r Library/Managed\ Preferences`

in normal mode:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment