Skip to content

Instantly share code, notes, and snippets.

View dd5md's full-sized avatar

Mathias Davidheimann dd5md

View GitHub Profile
@dd5md
dd5md / .zshrc
Last active January 4, 2026 07:23
.zshrc
# PATHS
export ZSH=$HOME/.oh-my-zsh
# THEME
export ZSH_THEME='gnzh'
# ALIAS
alias cl='clear'
alias gcr='git clone'
alias cdh='cd ~/ && cl'
@dd5md
dd5md / install_fw_hsdualhat.sh
Created June 8, 2024 09:34
MMDVM HS_DUAL_HAT Installer
#!/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..."
# 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
@dd5md
dd5md / macM1Install.bash
Created January 4, 2026 04:44 — forked from vitorcalvi/macM1Install.bash
Comprehensive Bash script to automate macOS developer setup: installs essential apps with Homebrew, sets up Zsh with Oh My Zsh and Powerlevel10k, downloads FlutterFlow, updates /etc/hosts, sets up a conda environment, and installs Anaconda.
#!/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
#!/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