mirror of
https://github.com/jakejarvis/dotfiles.git
synced 2026-01-12 16:32:54 -05:00
move stuff around to make just dotfiles work on linux
This commit is contained in:
@@ -1,125 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
#############################################################
|
||||
### Try using the Brewfile one folder up instead! ###
|
||||
### brew tap homebrew/bundle && brew bundle ###
|
||||
#############################################################
|
||||
|
||||
|
||||
# I'm not a huge fan of using Casks, but keeping a list here in case I change
|
||||
# my mind when I'm staring at a default macOS install and freaking out...
|
||||
|
||||
# To update all:
|
||||
# brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup
|
||||
|
||||
|
||||
# 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
|
||||
brew cask install cleanmymac
|
||||
brew cask install coconutbattery
|
||||
brew cask install daisydisk
|
||||
brew cask install duet
|
||||
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
|
||||
brew cask install unetbootin
|
||||
brew cask install vnc-viewer
|
||||
|
||||
|
||||
# Passwords, VPNs, other Security
|
||||
|
||||
brew cask install 1password
|
||||
brew cask install authy
|
||||
# brew cask install gpg-suite-no-mail # Install separately: https://github.com/GpgMailNoActivation/GpgMailNoActivation
|
||||
brew tap jakejarvis/brew && brew install jakejarvis/brew/gpg-suite-no-drm
|
||||
brew cask install keybase
|
||||
brew cask install little-snitch
|
||||
brew cask install nordvpn
|
||||
brew cask install tor-browser
|
||||
brew cask install tunnelblick
|
||||
|
||||
|
||||
# Development
|
||||
|
||||
brew cask install eclipse-java
|
||||
brew cask install filezilla
|
||||
brew cask install github
|
||||
brew cask install glyphs
|
||||
brew cask install imageoptim
|
||||
brew cask install intellij-idea
|
||||
brew cask install iterm2
|
||||
brew cask install postman
|
||||
brew cask install robo-3t
|
||||
brew cask install sequel-pro
|
||||
brew cask install transmit
|
||||
brew cask install visual-studio-code
|
||||
brew cask install visual-studio
|
||||
|
||||
|
||||
# Virtual Machines (& Docker)
|
||||
|
||||
brew cask install docker
|
||||
brew cask install virtualbox
|
||||
brew cask install virtualbox-extension-pack
|
||||
brew cask install vagrant
|
||||
brew cask install vmware-fusion
|
||||
|
||||
|
||||
# Media
|
||||
|
||||
brew cask install beamer
|
||||
brew cask install handbrake
|
||||
brew cask install iina
|
||||
brew cask install plex-media-player
|
||||
brew cask install pocket-casts
|
||||
brew cask install spotify
|
||||
brew cask install vlc
|
||||
|
||||
|
||||
# Communication/Social
|
||||
|
||||
brew cask install discord
|
||||
brew cask install skype
|
||||
brew cask install slack
|
||||
brew cask install whatsapp
|
||||
brew cask install zoomus
|
||||
|
||||
|
||||
# Gaming
|
||||
|
||||
brew cask install steam
|
||||
brew cask install nvidia-geforce-now
|
||||
|
||||
|
||||
# Pentesting
|
||||
|
||||
brew cask install burp-suite
|
||||
brew cask install charles
|
||||
brew cask install wifi-explorer
|
||||
brew cask install wireshark
|
||||
|
||||
|
||||
# Browsers (for reference only -- install these via offline DMGs no matter what)
|
||||
|
||||
# * Firefox
|
||||
# - Stable
|
||||
# - Dev: https://www.mozilla.org/en-US/firefox/developer/
|
||||
# - Nightly: https://www.mozilla.org/en-US/firefox/channel/desktop/
|
||||
|
||||
# * Chrome
|
||||
# - Stable
|
||||
# - Canary: https://www.google.com/chrome/canary/
|
||||
|
||||
# * Safari
|
||||
# - Preview: https://developer.apple.com/safari/technology-preview/
|
||||
227
macos/brew.sh
227
macos/brew.sh
@@ -1,227 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
#############################################################
|
||||
### Try using the Brewfile one folder up instead! ###
|
||||
### brew tap homebrew/bundle && brew bundle ###
|
||||
#############################################################
|
||||
|
||||
|
||||
# WARNING: I have not tested this yet (nor needed to, thankfully) so this is
|
||||
# basically just a list of everything I've installed with Homebrew. :)
|
||||
|
||||
|
||||
# Make sure we're using the latest Homebrew.
|
||||
brew update
|
||||
|
||||
# Upgrade any already-installed formulae.
|
||||
brew upgrade
|
||||
|
||||
# Tap casks. (Just for Android SDK here, otherwise not a fan of using casks!)
|
||||
brew tap caskroom/cask
|
||||
|
||||
# Save Homebrew's installed location.
|
||||
BREW_PREFIX=$(brew --prefix)
|
||||
|
||||
|
||||
# Perhaps most importantly...
|
||||
brew install zsh
|
||||
|
||||
# Better bash as a backup.
|
||||
brew install bash
|
||||
brew install bash-completion
|
||||
|
||||
# Install GNU core utilities (those that come with macOS are outdated).
|
||||
# Don't forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
|
||||
brew install coreutils
|
||||
# ln -s "${BREW_PREFIX}/bin/gsha256sum" "${BREW_PREFIX}/bin/sha256sum"
|
||||
|
||||
# Install some other useful utilities like `sponge`.
|
||||
brew install moreutils
|
||||
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, `g`-prefixed.
|
||||
brew install findutils
|
||||
# Install GNU `sed`, overwriting the built-in `sed`.
|
||||
brew install gnu-sed # --with-default-names
|
||||
|
||||
# Install `wget` with IRI support.
|
||||
brew install wget # --with-iri
|
||||
|
||||
# Install GnuPG to enable PGP-signing commits.
|
||||
brew install gnupg
|
||||
|
||||
# Install more recent versions of some macOS tools.
|
||||
brew install vim # --with-override-system-vi
|
||||
brew install grep
|
||||
brew install openssh
|
||||
brew install screen
|
||||
brew install gmp
|
||||
|
||||
# Install other universally useful binaries.
|
||||
brew install ack
|
||||
#brew install exiv2
|
||||
brew install gs
|
||||
brew install imagemagick # --with-webp
|
||||
brew install ffmpeg # --with-libvpx
|
||||
brew install lua
|
||||
brew install lynx
|
||||
brew install p7zip
|
||||
brew install pigz
|
||||
brew install pv
|
||||
brew install rename
|
||||
brew install rlwrap
|
||||
brew install ssh-copy-id
|
||||
brew install tree
|
||||
brew install vbindiff
|
||||
brew install zopfli
|
||||
brew install the_silver_searcher
|
||||
|
||||
# Git
|
||||
brew install git
|
||||
brew install git-lfs
|
||||
brew install git-crypt
|
||||
|
||||
# Node & NPM / NVM
|
||||
brew install node
|
||||
# brew install nvm
|
||||
|
||||
# mtr (better ping & traceroute)
|
||||
brew install mtr
|
||||
# Allow mtr to run without sudo
|
||||
mtrlocation=$(brew info mtr | grep Cellar | sed -e 's/ (.*//') # e.g. `/Users/jake/.homebrew/Cellar/mtr/0.86`
|
||||
sudo chmod 4755 $mtrlocation/sbin/mtr
|
||||
sudo chown root $mtrlocation/sbin/mtr
|
||||
|
||||
|
||||
# ---------- My Fringe Needs ----------
|
||||
|
||||
brew install amazon-ecs-cli
|
||||
brew tap aws/tap && brew install aws-sam-cli
|
||||
brew install aws-shell
|
||||
brew install angular-cli
|
||||
brew install asciinema
|
||||
brew install azure-cli
|
||||
brew install caddy
|
||||
brew install carthage
|
||||
brew install cli53
|
||||
brew install cloudflare/cloudflare/cloudflared
|
||||
brew install cocoapods
|
||||
brew install composer
|
||||
brew install dnsmasq
|
||||
brew install doctl
|
||||
brew install elixir
|
||||
brew install erlang
|
||||
brew tap facebook/fb && brew install fbsimctl
|
||||
brew install geoip
|
||||
brew install gitlab-runner
|
||||
brew install go
|
||||
brew install govendor
|
||||
brew tap heroku/brew && brew install heroku
|
||||
brew install heroku-node
|
||||
brew tap hhvm/hhvm && brew install hhvm
|
||||
brew install htop
|
||||
brew install httrack
|
||||
brew install hub
|
||||
brew install hugo
|
||||
brew install hydra
|
||||
brew install iproute2mac
|
||||
brew install jq
|
||||
brew install kubernetes-cli
|
||||
brew install kubernetes-helm
|
||||
brew install mcrypt
|
||||
brew install mhash
|
||||
brew install mkcert
|
||||
# brew install mongodb
|
||||
brew tap mongodb/brew && brew install mongodb-community
|
||||
brew install mosh
|
||||
brew install mysql
|
||||
brew install mysql-client
|
||||
brew install ncurses
|
||||
brew install neofetch
|
||||
brew install netcat
|
||||
brew install openvpn
|
||||
brew install optipng
|
||||
brew install packer
|
||||
brew tap thoughtbot/formulae && brew install parity
|
||||
brew install php # = php@7.3 https://formulae.brew.sh/formula/php
|
||||
brew install php@7.1
|
||||
brew install php@7.2
|
||||
# brew tap exolnet/homebrew-deprecated && brew install php@5.6
|
||||
# brew tap exolnet/homebrew-deprecated && brew install php@7.0
|
||||
brew install pngcheck
|
||||
brew install pngcrush
|
||||
brew install postgresql
|
||||
brew install python
|
||||
brew install python@2
|
||||
brew install qt
|
||||
brew install ruby
|
||||
brew install ruby-build
|
||||
brew install rbenv
|
||||
brew install rclone
|
||||
brew install s3fs
|
||||
brew install serverless
|
||||
brew install speedtest-cli
|
||||
brew install sqlite
|
||||
brew install sub2srt
|
||||
brew install terraform
|
||||
brew install the_silver_searcher
|
||||
brew install tidy-html5
|
||||
brew install tor
|
||||
brew install torsocks
|
||||
brew install travis
|
||||
brew install typescript
|
||||
brew install unrar
|
||||
brew install watchman
|
||||
brew install whois
|
||||
brew install wireguard-tools
|
||||
brew install wireguard-go
|
||||
brew install wp-cli
|
||||
brew tap wpengine/wpe-cli && brew install wpe-cli
|
||||
brew install xz
|
||||
brew install yarn
|
||||
brew install youtube-dl
|
||||
brew install yuicompressor
|
||||
|
||||
# Android SDK
|
||||
brew install ant
|
||||
brew install maven
|
||||
brew install gradle
|
||||
brew cask install android-sdk
|
||||
|
||||
# Pentesting tools
|
||||
brew install aircrack-ng
|
||||
brew install bfg
|
||||
brew install binutils
|
||||
brew install binwalk
|
||||
brew install cifer
|
||||
brew install dex2jar
|
||||
brew install dns2tcp
|
||||
brew install fcrackzip
|
||||
brew install foremost
|
||||
brew install hashpump
|
||||
brew install hydra
|
||||
brew install john
|
||||
brew install knock
|
||||
brew install netpbm
|
||||
brew install nmap
|
||||
brew install pdfcrack
|
||||
brew install pngcheck
|
||||
brew install socat
|
||||
brew install sqlmap
|
||||
brew install tcpflow
|
||||
brew install tcpreplay
|
||||
brew install tcptrace
|
||||
brew install xpdf
|
||||
brew install bettercap
|
||||
brew install hashcat
|
||||
brew install nikto
|
||||
brew install tcpdump
|
||||
|
||||
# -------------------------------------
|
||||
|
||||
|
||||
|
||||
# Remove outdated versions from the cellar.
|
||||
brew cleanup
|
||||
|
||||
# Call the doctor after this mess just to be safe.
|
||||
brew doctor
|
||||
@@ -6,6 +6,7 @@
|
||||
# https://github.com/paulirish/dotfiles/blob/master/.osx
|
||||
# https://github.com/kevinSuttle/macOS-Defaults/blob/master/.macos
|
||||
|
||||
set -e
|
||||
|
||||
COMPUTER_NAME="JJ-MBP15"
|
||||
|
||||
|
||||
33
macos/macos.sh
Executable file
33
macos/macos.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
if test ! "$(uname)" = "Darwin"; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# 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
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
fi
|
||||
|
||||
# Update Homebrew recipes
|
||||
brew update
|
||||
|
||||
# Install all apps from the Brewfile
|
||||
brew tap homebrew/bundle
|
||||
brew bundle
|
||||
|
||||
# Install Xcode Command Line Tools
|
||||
sudo xcode-select --install
|
||||
# Accept Xcode license
|
||||
sudo xcodebuild -license accept
|
||||
|
||||
# Set macOS defaults
|
||||
# Needs to be last since this will restart everything when done
|
||||
# shellcheck disable=SC1091
|
||||
source ./macos/defaults.sh
|
||||
Reference in New Issue
Block a user