From f67b7d0cad4154e8d37c8ecd2f1b61ef2b17cf18 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sun, 3 Nov 2019 13:37:58 -0500 Subject: [PATCH] =?UTF-8?q?random=20updates=20before=20formatting=20macboo?= =?UTF-8?q?k=20=F0=9F=98=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Brewfile | 29 ++++++++++++++++++++++------- git/.gitconfig | 10 +++++----- macos/brew-cask.sh | 2 ++ macos/defaults.sh | 2 +- setup.sh | 9 +++++++-- zsh/aliases.zsh | 6 ++++++ 6 files changed, 43 insertions(+), 15 deletions(-) diff --git a/Brewfile b/Brewfile index b868ca3..c9b26bf 100644 --- a/Brewfile +++ b/Brewfile @@ -7,6 +7,7 @@ tap "caskroom/cask" tap "cloudflare/cloudflare" # tap "exolnet/deprecated" tap "facebook/fb" +tap "goreleaser/tap" tap "heroku/brew" tap "hhvm/hhvm" tap "homebrew/bundle" @@ -14,9 +15,11 @@ tap "homebrew/cask" tap "homebrew/cask-versions" tap "homebrew/core" tap "homebrew/services" -tap "jakejarvis/brew" +tap "homebrew/test-bot" +tap "jakejarvis/brew", "git@github.com:jakejarvis/homebrew-brew.git" tap "mongodb/brew" tap "thoughtbot/formulae" +tap "twilio/brew" tap "wpengine/wpe-cli" @@ -35,7 +38,9 @@ brew "bash-completion" brew "coreutils" brew "moreutils" brew "findutils" +brew "gnu-indent" brew "gnu-sed", args: ["with-default-names"] +brew "gnu-tar" # wget with IRI support brew "wget", args: ["with-iri"] @@ -45,6 +50,7 @@ brew "gnupg" # More recent versions of some macOS tools brew "vim" #, args: ["with-override-system-vi"] +brew "gcc" brew "grep" brew "openssh" brew "screen" @@ -96,10 +102,11 @@ brew "dnsmasq" brew "doctl" brew "elixir" brew "erlang" -brew "fbsimctl" +brew "facebook/fb/fbsimctl", args: ["HEAD"] brew "geoip" brew "gitlab-runner" brew "go" +brew "goreleaser/tap/goreleaser" brew "govendor" brew "heroku" brew "heroku-node" @@ -108,7 +115,6 @@ brew "htop" brew "httpie" brew "httrack" brew "hub" -brew "hugo" brew "hydra" brew "iproute2mac" brew "jq" @@ -147,6 +153,7 @@ brew "rbenv" brew "rclone" brew "s3fs" brew "serverless" +brew "shellcheck" brew "speedtest-cli" brew "sqlite" brew "sub2srt" @@ -154,6 +161,7 @@ brew "terraform" brew "tor" brew "torsocks" brew "travis" +brew "twilio/brew/twilio" brew "typescript" brew "unrar" brew "watchman" @@ -166,6 +174,7 @@ brew "xz" brew "yarn" brew "youtube-dl" brew "yuicompressor" +brew "zopfli" # Android SDK brew "ant" @@ -213,6 +222,7 @@ cask_args appdir: "/Applications" # System Utilities cask "osxfuse" +cask "appzapper" cask "backblaze" cask "backblaze-downloader" cask "carbon-copy-cloner" @@ -224,6 +234,7 @@ cask "endurance" cask "etrecheckpro" cask "filebot" cask "geekbench" +cask "intel-power-gadget" cask "paragon-ntfs" cask "the-unarchiver" cask "transmission" @@ -234,7 +245,7 @@ cask "vnc-viewer" cask "1password" cask "authy" # cask "gpg-suite-no-mail" # Install Mail separately: https://github.com/GpgMailNoActivation/GpgMailNoActivation -cask "gpg-suite-no-drm" # personal cask to install GPG suite and mail.app plugin without activation +cask "jakejarvis/brew/gpg-suite-no-drm" # personal cask to install GPG suite and mail.app plugin without activation cask "keybase" cask "little-snitch" cask "nordvpn" @@ -250,12 +261,16 @@ cask "glyphs" cask "imageoptim" cask "intellij-idea" cask "iterm2" +cask "java8" cask "postman" +cask "powershell" cask "robo-3t" cask "sequel-pro" cask "transmit" -cask "visual-studio-code" +# install insiders build instead: https://code.visualstudio.com/insiders/ +# cask "visual-studio-code" cask "visual-studio" +cask "xquartz" # Virtual Machines (& Docker) cask "docker" @@ -292,8 +307,8 @@ cask "wifi-explorer" cask "wireshark" # QuickLook Extensions -cask "qlstephen" -cask "qlvideo" +# cask "qlstephen" +# cask "qlvideo" # Browsers (for reference only -- install these via offline DMGs no matter what) # * Firefox diff --git a/git/.gitconfig b/git/.gitconfig index 3cd7789..99368bc 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -13,11 +13,6 @@ [core] editor = nano excludesfile = ~/.gitignore_global -[filter "lfs"] - required = true - smudge = git-lfs smudge -- %f - clean = git-lfs clean -- %f - process = git-lfs filter-process [github] user = jakejarvis [pull] @@ -25,3 +20,8 @@ [hub] host = github.com host = git.jarv.is +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true diff --git a/macos/brew-cask.sh b/macos/brew-cask.sh index a414cd9..02d8167 100755 --- a/macos/brew-cask.sh +++ b/macos/brew-cask.sh @@ -17,6 +17,7 @@ # System Utilities brew cask install osxfuse +brew cask install appzapper brew cask install backblaze brew cask install backblaze-downloader brew cask install carbon-copy-cloner @@ -28,6 +29,7 @@ brew cask install endurance brew cask install etrecheckpro brew cask install filebot brew cask install geekbench +brew cask install intel-power-gadget brew cask install paragon-ntfs brew cask install the-unarchiver brew cask install transmission diff --git a/macos/defaults.sh b/macos/defaults.sh index 5c2f679..8d1cda9 100755 --- a/macos/defaults.sh +++ b/macos/defaults.sh @@ -50,7 +50,7 @@ defaults write com.apple.sound.beep.feedback -bool false sudo nvram SystemAudioVolume=" " # Menu bar: show battery percentage -defaults write com.apple.menuextra.battery ShowPercent YES +defaults write com.apple.menuextra.battery ShowPercent "YES" # Expand save panel by default defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true diff --git a/setup.sh b/setup.sh index cb26362..d591730 100755 --- a/setup.sh +++ b/setup.sh @@ -6,6 +6,9 @@ fi echo "👋 Deep breaths, everything will (probably) be fine!" +# Make sure macOS is fully up to date before doing anything +sudo softwareupdate --install --all + # This whole thing kinda hinges on having Homebrew... # Check for it and install from GitHub if it's not there if test ! $(which brew); then @@ -20,14 +23,16 @@ brew tap homebrew/bundle brew bundle # Install Xcode Command Line Tools -xcode-select --install +sudo xcode-select --install +# Accept Xcode license +sudo xcodebuild -license accept # Get Oh My ZSH up and running if [ ! -e ~/.oh-my-zsh ]; then sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" fi -# Make ZSH the default shell environment +# Make ZSH the default shell environment (maybe unnecessary on Catalina?) chsh -s $(which zsh) # Set up symbolic links for ZSH and Git pointing to this cloned repo diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index e4da956..e238047 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -78,6 +78,10 @@ alias gsync="hub sync" alias gopen="hub browse" alias dc="docker-compose" +alias dcu="docker-compose up -d" +alias dcd="docker-compose down" +alias dcr="docker-compose down && docker-compose up -d" +alias dcl="docker-compose logs -f" alias sshalt="ssh -p 2222" alias moshalt="mosh --ssh=\"ssh -p 2222\"" @@ -91,3 +95,5 @@ alias ytdl="youtube-dl -f bestvideo+bestaudio" alias ytmp3="youtube-dl -f bestaudio -x --audio-format mp3 --audio-quality 320K" alias weather="curl -4 https://wttr.in/Boston" + +alias hugod="docker run -v $(pwd):/src -p 1313:1313 jarv.is:develop"