Skip to content

Instantly share code, notes, and snippets.

@JMBattista
Last active November 23, 2022 09:48
Show Gist options
  • Save JMBattista/5779f94437021fb3b3cb to your computer and use it in GitHub Desktop.
Save JMBattista/5779f94437021fb3b3cb to your computer and use it in GitHub Desktop.
Machine setup
## Modify the plugins line to contain the plugins below
# more plugins can be found at https://github.com/unixorn/awesome-zsh-plugins
plugins=(git jsontools history-substring-search)
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/jsontools
# history-substring-search is not necessary for iterm2 since it has a built in support
# Add bindings for history search
bindkey "^[[A" history-substring-search-up
bindkey "^[[B" history-substring-search-down
## Append these lines at the end of the zshrc file
#Sets the default editor preference
export EDITOR='vim'
#Import completions for tmuxinator
source ~/.bin/tmuxinator.zsh
- MacOS has a system setting under general to control dark mode setting.
- [JIRA nightmode extension](https://chrome.google.com/webstore/detail/night-mode-for-jira/nlgcogdbamhmdbpaabmpklojolokodaa) (JIRA requires an enterprise purchase to support)
- Notion: Settings & Members > Appearance
- Slack: Preferences > Themes
- IntelliJ: Appearance & Behavior > Appearance
- [Google.com](http://Google.com): Settings Gear > Dark Theme
- DataDog: Mouse over profile at bottom > Appearance
- Zoom: Settings > General > Theme
- GChat: Settings (gear) > Theme settings
sudo apt-get update
sudo apt-get install -y git zsh
chsh -s $(which zsh)
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Setup which version of node to install
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs build-essential ruby-full
sudo gem install tmuxinator
mkdir .bin; curl https://raw.githubusercontent.com/tmuxinator/tmuxinator/master/completion/tmuxinator.zsh > ~/.bin/tmuxinator.zsh
# Update the ~/.zshrc file with items from the ~/.zshrc entry and source it
# make git not stupid by putting output in console isntead of vim
git config --global pager.branch false
git config --global pager.log false
# This Gist contains guides for setting up different development environments
https://www.jetbrains.com/toolbox/download/download-thanks.html
https://code.visualstudio.com/Download
http://www.sublimetext.com/3
https://www.dropbox.com/downloading?src=index
#Mac
https://iterm2.com/
#Windows
http://www.rarlab.com/download.htm
https://github.com/docker/toolbox/releases/download/v1.8.1a/DockerToolbox-1.8.1a-windows-10-test.exe
https://code.visualstudio.com/Download
https://conemu.github.io/
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install cask wget
cd ~/Downloads
wget https://iterm2.com/downloads/stable/iTerm2-2_1_4.zip
# Move iterm2 into Applications
wget https://raw.github.com/altercation/solarized/master/iterm2-colors-solarized/Solarized%20Dark.itermcolors
# iTerm -> Preferences -> Profiles -> Colors -> load presets -> Import
wget https://github.com/powerline/fonts/blob/master/Meslo/Meslo%20LG%20M%20DZ%20Regular%20for%20Powerline.otf
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# AWS
brew install python3
brew install awscli
aws --version
# make git not stupid by putting output in console isntead of vim
git config --global pager.branch false
git config --global pager.log false
# https://learn.microsoft.com/en-us/windows/wsl/install
# Open ConEmu settings and change the shell to {{WSL:WSL}}
# $ ln -s /mnt/c/User/<username>/XYZ XYZ
# You may have to run this command to remount the c drive in order to perform some operations
sudo umount /mnt/c
sudo mount -t drvfs C: /mnt/c -o metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment