Skip to content

Instantly share code, notes, and snippets.

View brianjbayer's full-sized avatar

Brian J. Bayer brianjbayer

View GitHub Profile
@brianjbayer
brianjbayer / gist-mac-install-git-vim-janus.md
Created November 19, 2023 23:01
How to install git and vim (with the Janus: Vim Distribution) using Homebrew on Mac

Install Git and Vim (with Janus: Vim Distribution) Using Homebrew

Here you will install...

  • git the source code control versioning system using Homebrew
  • vim the command line editor using Homebrew
  • The Janus: Vim Distribution plug-ins and mappings for vim

⚙️ You can use an automated script to install git and vim and extensions such as the Janus: Vim Distribution.

@brianjbayer
brianjbayer / gist-mac-add-ssh-key.md
Created November 19, 2023 21:57
How to add a new SSH key to your Mac

Add an SSH Key on a Mac

Add and configure an SSH Key to connect to remote source code repositories (like GitHub) and servers.

⚙️ You can use an automated script to add an SSH Key to your Mac.

I use a GitHub repository mac-setup for my basic Mac setup scripts including one to add a new SSH Key.

@brianjbayer
brianjbayer / gist-mac-configure-your-git-globals.md
Created November 19, 2023 21:27
How to configure your git globals on Mac

Configure Your Git Globals

Once you have at least a basic user profile with Homebrew, you can configure your git.

⚙️ You can use an automated script to configure your basic git global configuration.

I use a GitHub repository mac-setup for my basic Mac setup scripts including one to configure

@brianjbayer
brianjbayer / gist-mac-configure-user-profile.md
Created November 19, 2023 06:21
Configure a basic Mac user profile (~/.zshrc)

Configure Your User Profile (~/.zshrc)

Once you have Homebrew installed, it is really helpful to have your user profile ~/.zshrc setup. This will give you your aliases, paths, environment, etc.

🍺 Homebrew in its installation output instructs you to add it to your ~/.zshrc.

⚙️ You may find it useful to both automate the installation of your common profile files as well as keep them under source code

@brianjbayer
brianjbayer / gist-mac-install-xcode-homebrew.md
Created November 19, 2023 06:05
How to install Apple Xcode and the Homebrew package manager

Install Xcode

You will need to install the Apple Xcode developer tools application from the App Store.

🔒 You will need an Apple ID to sign into the App Store to download XCode

⏩ Try clicking this link in Safari and following any prompts to allow opening the App Store

@brianjbayer
brianjbayer / gist-customize-your-mac.md
Created November 19, 2023 04:36
These are some of my preferred Mac settings

Customize Your Mac

Once you are at the latest system software, customize your Mac.

These are some of my preferred settings.

Add Your Bluetooth Accessories Like Mouse and Keyboard

If you have a have bluetooth mouse or trackpad or keyboard, turn on bluetooth and connect them through...

System Settings > Bluetooth

@brianjbayer
brianjbayer / gist-mac-update-system.md
Created November 19, 2023 04:21
How to update your macOS system software

Mac Update the System

You can either update the system software using just the System Settings application or start with the terminal and command line. But you will still need to use the System Settings application to complete the update.

It is easier to just use System Settings, but you do you.


@brianjbayer
brianjbayer / gist-mac-clean-install.md
Last active November 3, 2024 16:54
How to guide on a clean installation of a macOS operating system (Sonoma)

Mac Clean Install of an Operating System


This guides you through installing your existing or new macOS operating system (e.g. Sequoia‌) and removing all existing data and configuration, thus providing a "clean" installation like on a new machine. This type of clean installation ensures that there is no previous configuration that can cause issues.

@brianjbayer
brianjbayer / gist-mac-add-ssh-key.md
Last active November 19, 2023 21:55
Add a New SSH Key To Your Mac

Add an SSH Key on a Mac

Add and configure an SSH Key to connect to remote source code repositories (like GitHub) and servers.

⚙️ You can use an automated script to add an SSH Key to your Mac.

I use a GitHub repository mac-setup for my basic Mac setup scripts including one to add a new SSH Key.

@brianjbayer
brianjbayer / gist-selenium-chrome-disable-save-popups.md
Created July 4, 2023 16:46
How to disable the Chrome Controlled by automation banner and those Save address?, Save card?, and Save Password? pop up windows in Selenium Webdriver

Disabling Selenium Chrome Automation Banner and Save address?, Save card?, and Save password? Pop Ups

Pencil Sharpener - Wendy Bayer

Image: Pencil Sharpener by Wendy Bayer


This shows you how to disable those Chrome Save address?, Save card?, and Save Password? pop up windows in Selenium Webdriver