Skip to content

Instantly share code, notes, and snippets.

@ansiwen
Last active March 16, 2021 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ansiwen/2933152e6509a8af72b8b69b4423888c to your computer and use it in GitHub Desktop.
Save ansiwen/2933152e6509a8af72b8b69b4423888c to your computer and use it in GitHub Desktop.
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