Last active
January 2, 2024 08:49
-
-
Save TomLous/3d94cce3461baddb9a0001c22586f445 to your computer and use it in GitHub Desktop.
Clean Install
This file contains 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
defaults write com.apple.finder AppleShowAllFiles YES | |
defaults write com.apple.Finder AppleShowAllFiles true | |
# TODO: Copy id_rsa keys to .ssh (copy from file) | |
chmod 600 ~/.ssh/id_rsa | |
chmod 600 ~/.ssh/id_rsa.pub | |
# Homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Mac Software | |
brew tap homebrew/cask-versions | |
brew install --cask iterm2 | |
# quit terminal & open iterm | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
brew install romkatv/powerlevel10k/powerlevel10k | |
# p10k configure | |
echo "source $(brew --prefix)/opt/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc | |
brew install --cask google-chrome | |
brew install 1password | |
brew install git | |
git config --global user.name 'Tom Lous' | |
git config --global user.email 'tomlous@gmail.com' | |
git config --global credential.helper osxkeychain | |
ssh -T git@github.com # check | |
# brew install zsh | |
brew install openjdk@8 | |
brew install --cask temurin8 | |
#sudo ln -sfn $(brew --prefix)/opt/openjdk@8/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-8.jdk | |
brew install openjdk@11 | |
brew install openjdk@17 | |
brew install --cask sizeup # Follow link in irradiated software order to dowload license / file: SizeUp.sizeuplicense | |
brew install --cask slack | |
brew install --cask caffeine | |
brew install --cask clipy | |
brew install --cask docker | |
brew install --cask franz | |
brew install --cask bbedit # Do brew tap homebrew/boneyard to get v 13 | |
#brew install --cask visualvm # skipped | |
brew install --cask intellij-idea | |
brew install --cask dropbox | |
brew install --cask google-drive | |
brew install --cask adobe-acrobat-reader | |
brew install --cask visual-studio-code # skipped | |
brew install --cask sourcetree | |
brew install --cask bartender | |
brew install --cask pycharm-ce # skipped | |
brew install --cask spotify | |
brew install --cask flux # skiped | |
brew install --cask notunes | |
brew install --cask skype | |
brew install --cask mongodb-compass # skipped | |
brew install --cask VirtualBox # skipped | |
brew install --cask beardedspice | |
brew install --cask coinomi-wallet # skip | |
brew install --cask deckset | |
brew install --cask discord | |
brew install --cask disk-inventory-x | |
brew install --cask hex-fiend | |
brew install keybase # show in finder / run app / allow in system prefs | |
brew install --cask keyboardcleantool | |
brew install --cask little-snitch | |
brew install --cask loopback # check later | |
brew install --cask macs-fan-control # skipped | |
brew install --cask micro-snitch # skipped | |
brew install --cask gpg-suite # skipped | |
brew install --cask zoom | |
brew install --cask obs | |
brew install --cask postman | |
brew install --cask signal | |
brew install --cask telegram # in Franz | |
brew install --cask the-unarchiver | |
brew install --cask vlc | |
brew install --cask wireshark | |
brew install --cask mongodb-compass # skipped | |
brew install --cask obsidian | |
brew install --cask calibre | |
brew install --cask affinity-photo | |
brew install --cask steam | |
brew install --cask graalvm/tap/graalvm-ce-java17 | |
brew install --cask graalvm/tap/graalvm-ce-java11 | |
# Manual: | |
# => discontinuedc | Camera Settings https://support.logi.com/hc/en-us/articles/360049055854 | |
# LogiTune https://support.logi.com/hc/nl/articles/360025141734 | |
# MT940 Creator https://www.coenfin.nl/software/mt940-creator | |
# Snap Camera | |
# Synology Drive Client https://www.synology.com/en-global/support/download/DS415+#utilities | |
# prey X | |
# Remarkable https://my.remarkable.com/device/desktop | |
# brew untap adoptopenjdk/openjdk | |
# brew untap caskroom/versions | |
brew cleanup | |
# xcode-select --install | |
#brew install git | |
brew install sbt | |
brew install apache-spark | |
brew install glances | |
brew install htop | |
brew install apache-flink | |
brew install wget | |
brew install hyperkit | |
brew link --overwrite hyperkit | |
brew install openssh | |
# brew install openssl@1.1 | |
# brew link --force openssl | |
# brew install mongo # failed skipped | |
brew install iftop | |
brew install scala | |
brew install scalacenter/bloop/bloop | |
brew install Virtuslab/scala-cli/scala-cli | |
brew install ammonite-repl | |
# brew install jvmtop | |
brew install hadoop | |
brew install maven | |
brew install httpie | |
brew install jq | |
brew install yq | |
brew install kubernetes-cli | |
brew link --overwrite kubernetes-cli #/usr/local/bin/kubectl -> /Applications/Docker.app/Contents/Resources/bin/kubectl | |
brew install kubernetes-helm | |
brew install npm | |
brew install gawk | |
brew install pass | |
brew install bash-completion | |
brew install avro-tools | |
brew install imagemagick | |
brew install readline | |
brew install kafka # brew services start kafka | |
brew install kcat | |
#maybe when `dyld: lazy symbol binding failed` | |
#brew reinstall pkg-config | |
#brew install librdkafka --HEAD | |
brew install postgres # brew services start postgresql / initdb --locale=C -E UTF-8 /opt/homebrew/var/postgres | |
brew install azure-cli # skipped | |
brew install circleci # skipped | |
brew install hg | |
brew install mysql #skipped | |
brew install redis #skipped | |
brew install gcloud #skipped | |
brew install exa | |
brew install tfenv # brew install terraform | |
brew install kubectx | |
brew install thefuck #skipped | |
brew install pyenv #skipped | |
brew install k9s | |
brew install openshift-cli | |
brew install pipenv | |
brew install avro-c | |
brew install coreutils | |
brew install gnu-sed | |
brew install mp3splt | |
#brew install aircrack-ng | |
brew install protobuf | |
brew install telnet | |
brew install parquet-tools | |
brew install nmap | |
brew install netcat | |
brew install ncurses | |
brew install jenv | |
brew install nano | |
brew install minikube | |
brew install nordvpn | |
brew install 1password-cli | |
op signin my.1password.com tomlous@gmail.com | |
brew install brew-gem | |
brew install ruby | |
brew install rbenv | |
brew install ruby-build | |
brew install fontforge | |
brew install gh | |
brew install nativefier | |
brew install pinentry-mac | |
brew install antigen | |
source $(brew --prefix)/share/antigen/antigen.zsh | |
brew install cassandra | |
brew install sops | |
brew install pbcopy | |
brew install exercism | |
brew install rust | |
brew tap azure/functions | |
brew install Azure/kubelogin/kubelogin | |
brew install azure-functions-core-tools@4 | |
# nativefier --name 'MS Product' 'https://outlook.office.com/calendar/view/week' --internal-urls ".*?(office\.com|microsoftonline\.com|office365.com|office.net|schiphol.nl|microsoft.com|sharepointonline.com|msftauth.net).*?" --icon Downloads/calendar.icns | |
brew tap bell-sw/liberica | |
brew install --cask liberica-jdk11 | |
#aws | |
brew install awscli | |
brew tap aws/tap | |
brew install aws-sam-cli | |
brew install container-tools | |
brew link --overwrite docker-credential-helper-ecr | |
brew install k8s-tools | |
aws configure --profile [name] | |
#mongo | |
brew tap mongodb/brew | |
brew install mongosh | |
brew install mongocli | |
brew install mongodb-database-tools | |
touch ~/.nanorc | |
cat > "~/.nanorc" <<EOF | |
# Enable syntax highlighting in Nano | |
include "/opt/homebrew/Cellar/nano/6.0/share/nano/*.nanorc" | |
EOF | |
# git clone https://github.com/powerline/fonts.git --depth=1 | |
# cd fonts | |
# ./install.sh | |
# cd .. | |
# rm -rf fonts | |
# pip install awscli | |
# aws configure | |
# pip install theano tensorflow keras pandas matplotlib h5py sklearn pillow jupyter | |
# alias hsitory='history' | |
# brew services restart mongodb | |
# pip install pre-commit | |
# pip install databricks-cli | |
# pip3 install databricks-cli | |
# pip uninstall ply; pip uninstall pyhcl; pip install ply; pip install pyhcl | |
# pip3 uninstall ply; pip3 uninstall pyhcl; pip3 install ply; pip3 install pyhcl | |
# pip install databricks-cloud-automation | |
# pip install pylint | |
# pip3 install databricks-cloud-automation | |
# pip3 install jupyter | |
# pip3 install jupyterlab | |
# pip3 install toree | |
gpg --import [key.asc] | |
git config --global user.signingkey 80EF0647A0389493 | |
git config --global commit.gpgsign true | |
git config --global init.defaultBranch main | |
git config --global gpg.program $(which gpg) | |
echo "default-cache-ttl 3600" >> ~/.gnupg/gpg-agent.conf | |
# prepend | |
echo -e " | |
# GPG (issue: https://gist.github.com/repodevs/a18c7bb42b2ab293155aca889d447f1b) | |
export GPG_TTY=\$(tty) | |
export DEFAULT_USER=\$(whoami) | |
$(cat ~/.zshrc)" > ~/.zshrc | |
#append | |
echo ' | |
# SSH | |
export PATH="/usr/local/opt/openssl@1.1/bin:$PATH" | |
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" | |
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" | |
# gnu | |
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" | |
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH" | |
# Language Conf | |
export LANG="en_US.UTF-8" | |
export LC_ALL="en_US.UTF-8" | |
export LC_CTYPE="en_US.UTF-8" | |
# Aliasses | |
alias l="exa -al --git" | |
alias ll="exa -al --git" | |
alias llt="exa -alT --git" | |
alias k="kubectl" | |
# jenv settings | |
export PATH="$HOME/.jenv/bin:$PATH" | |
eval "$(jenv init -)" | |
export JENV_ROOT=~/.jenv | |
# Kube Config | |
export KUBECONFIG=$HOME/.kube/config | |
# Helm | |
export HELM_EXPERIMENTAL_OCI=1 | |
# Ruby | |
export SDKROOT=$(xcrun --show-sdk-path) | |
export PATH="/usr/local/opt/ruby/bin:$PATH" | |
export PATH="/usr/local/lib/ruby/gems/3.0.0/bin:$PATH" | |
export LDFLAGS="-L/usr/local/opt/ruby/lib" | |
export CPPFLAGS="-I/usr/local/opt/ruby/include" | |
export PKG_CONFIG_PATH="/usr/local/opt/ruby/lib/pkgconfig" | |
# Use GNU sed | |
alias sed=gsed | |
# Antigen | |
source $(brew --prefix)/share/antigen/antigen.zsh | |
# UUID | |
alias uuidgen='uuidgen | tr "[:upper:]" "[:lower:]"' | |
#1Password | |
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock | |
' >> ~/.zshrc | |
source ~/.zshrc | |
p10k configure | |
jenv enable-plugin export | |
mkdir -p ~/.jenv/versions | |
jenv add /Library/Java/JavaVirtualMachines/openjdk-11.jdk/Contents/Home | |
jenv add /Library/Java/JavaVirtualMachines/openjdk-8.jdk/Contents/Home | |
echo ' | |
# Github | |
Host * | |
IgnoreUnknown AddKeysToAgent,UseKeychain | |
AddKeysToAgent yes | |
UseKeychain yes | |
IdentityFile ~/.ssh/id_rsa | |
' >> ~/.ssh/config | |
/usr/bin/ssh-add -K ~/.ssh/id_rsa | |
gh auth login | |
git config --global core.ignoreCase true | |
#brew untap adoptopenjdk/openjdk | |
#brew untap sambadevi/powerlevel9k | |
#brew untap caskroom/versions | |
#brew cleanup | |
# Minikube Docker Registry | |
#eval $(minikube docker-env) | |
# Install manually | |
# https://github.com/rodyager/RWTS-PDFwriter | |
bash > | |
[[ -r "/opt/homebrew/etc/profile.d/bash_completion.sh" ]] && . "/opt/homebrew/etc/profile.d/bash_completion.sh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pipenv install --dev pipenv-setup