This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Bootstrap script for fresh macOS setup with chezmoi dotfiles | |
| # Usage: curl -fsSL https://gist.githubusercontent.com/.../bootstrap.sh | bash | |
| set -euo pipefail | |
| echo "🚀 Starting dotfiles bootstrap..." | |
| # 1. Install Homebrew if not present | |
| if ! command -v brew &>/dev/null; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ============================================================================= | |
| # Unified macOS Developer Setup Script | |
| # ============================================================================= | |
| # Merged from: 0.sh, 1.sh, 5.sh, 10.sh, vai.sh, vai2.sh, vai3.sh | |
| # Updated: 2026-01-02 | |
| # Author: vitorcalvi | |
| # | |
| # This script combines the best features from all source scripts: | |
| # - sudo caching (vai3.sh) - prevents repeated password prompts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # To get this script and run copy and paste the following in to the terminal: | |
| # bash <(curl -s https://gist.githubusercontent.com/martynhaigh/b45d9370995e48a4cd5354e8305652ab/raw/new_mac_setup.sh) | |
| if [ `uname -s` != "Darwin" ]; then | |
| printf " ❗️ This only works on a Mac\n" | |
| exit | |
| fi | |
| DEBUG=false | |
| while getopts d: flag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Configure Latest Version | |
| FW_VERSION="v1.6.1" | |
| # Firmware Filename | |
| FW_FILENAME="mmdvm_hs_dual_hat_fw.bin" | |
| # Download latest Firmware | |
| echo "Downloading firmware..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # PATHS | |
| export ZSH=$HOME/.oh-my-zsh | |
| # THEME | |
| export ZSH_THEME='gnzh' | |
| # ALIAS | |
| alias cl='clear' | |
| alias gcr='git clone' | |
| alias cdh='cd ~/ && cl' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| #################################################################### | |
| # Check for Homebrew, install if we don't have it | |
| #################################################################### | |
| if test ! $(which brew); then | |
| echo "Installing homebrew..." | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # run "sh setup.sh" | |
| # BACKUP BEFORE WIPE: | |
| # SSH keys | |
| # Fonts | |
| # Keychain passwords | |
| # files outside dropbox: downloads, documents, photos, photobooth | |
| # bash/zsh profile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Brewfile: Homebrew bundle file for macOS app download/install (on Apple Silicone or Linux) | |
| # | |
| # Author : Chad Mayfield ([email protected]) | |
| # License : GPLv3 | |
| # | |
| # INFO: * Links and comments are added because I'm too old to remember where/what everything is :) | |
| # * install.sh can be used, but it needs love, some of it doesn't work correctly | |
| # * TODO items are in a list at the bottom of this file | |
| # | |
| # Installation steps; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Credit: pwnsdx https://gist.github.com/pwnsdx/1217727ca57de2dd2a372afdd7a0fc21; nebular https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3#gistcomment-3019082 | |
| # IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it! | |
| # IMPORTANT: You will need to disable SIP: Reboot to Recovery, in Terminal csrutil disable | |
| # WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars. | |
| # Get active services: launchctl list | grep -v "\-\t0" | |
| # Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents | |
| # List disabled services: launchctl print-disabled user/501 |grep true & launchctl print-disabled system |grep true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
NewerOlder