Skip to content

Instantly share code, notes, and snippets.

@LeZuse
Last active July 14, 2025 14:51
macOS Machine Setup

Mac OS Dev Machine Setup

General

For latest settings refer to this comment

For previous settings check this Gist revisions

Remarks

  • always read and follow Homebrew formulae installation instructions
  • NEVER utilize prebundled binaries from Apple (ruby, python, postgres)
    • use virtual environments whenever possible (chruby, virtualenv, nvm, etc)

TODO

  • translate OS settings into defaults calls
  • save all dot files; see https://github.com/jansedivy/dotfiles
  • figure out how to backup a list of installed sw (for reference)
    • using Homebrew Cask?
    • Mac App store installs
@LeZuse
Copy link
Author

LeZuse commented May 4, 2023

notification settings management
https://github.com/jacobsalmela/NCutil

@LeZuse
Copy link
Author

LeZuse commented May 4, 2023

@LeZuse
Copy link
Author

LeZuse commented May 9, 2023

@LeZuse
Copy link
Author

LeZuse commented Jun 12, 2023

@LeZuse
Copy link
Author

LeZuse commented Oct 24, 2023

MacOS Sonoma

@LeZuse
Copy link
Author

LeZuse commented Dec 16, 2024

Managing multiple git identities within .gitconfig file.

You can set this one up per-folder but I prefer mine to be set per wildcard of remote origin URL like so, example:
contents of my global ~/.gitconfig

[includeIf "hasconfig:remote.*.url:**github.com:*/*.git"]
	path = .gitconfig_personal

[includeIf "hasconfig:remote.*.url:**github.com:productboard/*.git"]
	path = .gitconfig_productboard

contents of ~/.gitconfig_productboard:

[user]
	email = xxx.xxxx@productboard.com
	name = John Does
    signingKey = xxx

contents of ~/.gitconfig_personal

# ... you get the idea

@LeZuse
Copy link
Author

LeZuse commented Apr 3, 2025

@LeZuse
Copy link
Author

LeZuse commented Jun 26, 2025

@LeZuse
Copy link
Author

LeZuse commented Jul 8, 2025

OSS version of "Hide my email"
https://github.com/simple-login/app

@LeZuse
Copy link
Author

LeZuse commented Jul 14, 2025

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