└── startup.sh /startup.sh: -------------------------------------------------------------------------------- 1 | sudo apt-get update 2 | 3 | echo 'installing curl' 4 | sudo apt install curl -y 5 | 6 | echo 'installing git' 7 | sudo apt install git -y 8 | 9 | echo "What name do you want to use in GIT user.name?" 10 | echo "For example, mine will be \"Erick Wendel\"" 11 | read git_config_user_name 12 | git config --global user.name "$git_config_user_name" 13 | clear 14 | 15 | echo "What email do you want to use in GIT user.email?" 16 | echo "For example, mine will be \"erick.workspace@gmail.com\"" 17 | read git_config_user_email 18 | git config --global user.email $git_config_user_email 19 | clear 20 | 21 | echo "Can I set VIM as your default GIT editor for you? (y/n)" 22 | read git_core_editor_to_vim 23 | if echo "$git_core_editor_to_vim" | grep -iq "^y" ;then 24 | git config --global core.editor vim 25 | else 26 | echo "Okay, no problem. :) Let's move on!" 27 | fi 28 | 29 | echo "Generating a SSH Key" 30 | ssh-keygen -t rsa -b 4096 -C $git_config_user_email 31 | ssh-add ~/.ssh/id_rsa 32 | cat ~/.ssh/id_rsa.pub | xclip -selection clipboard 33 | 34 | echo 'enabling workspaces for both screens' 35 | gsettings set org.gnome.mutter workspaces-only-on-primary false 36 | 37 | echo 'installing zsh' 38 | sudo apt-get install zsh -y 39 | sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" 40 | chsh -s /bin/zsh 41 | 42 | echo 'installing tool to handle clipboard via CLI' 43 | sudo apt-get install xclip -y 44 | 45 | export alias pbcopy='xclip -selection clipboard' 46 | export alias pbpaste='xclip -selection clipboard -o' 47 | source ~/.zshrc 48 | 49 | echo 'installing vim' 50 | sudo apt install vim -y 51 | clear 52 | 53 | echo 'installing code' 54 | curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg 55 | sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ 56 | sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' 57 | sudo apt-get install apt-transport-https -y 58 | sudo apt-get update 59 | sudo apt-get install code -y # or code-insiders 60 | 61 | echo 'installing extensions' 62 | code --install-extension dbaeumer.vscode-eslint 63 | code --install-extension christian-kohler.path-intellisense 64 | code --install-extension dbaeumer.vscode-eslint 65 | code --install-extension dracula-theme.theme-dracula 66 | code --install-extension esbenp.prettier-vscode 67 | code --install-extension foxundermoon.shell-format 68 | code --install-extension pmneo.tsimporter 69 | code --install-extension waderyan.gitblame 70 | code --install-extension yzhang.markdown-all-in-one 71 | 72 | echo 'installing spotify' 73 | snap install spotify 74 | 75 | echo 'installing chrome' 76 | wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 77 | sudo dpkg -i google-chrome-stable_current_amd64.deb 78 | 79 | echo 'installing nvm' 80 | sh -c "$(curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash)" 81 | 82 | export NVM_DIR="$HOME/.nvm" && ( 83 | git clone https://github.com/creationix/nvm.git "$NVM_DIR" 84 | cd "$NVM_DIR" 85 | git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)` 86 | ) && \. "$NVM_DIR/nvm.sh" 87 | 88 | export NVM_DIR="$HOME/.nvm" 89 | [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" 90 | 91 | source ~/.zshrc 92 | nvm --version 93 | nvm install 12 94 | nvm alias default 12 95 | node --version 96 | npm --version 97 | 98 | echo 'installing autosuggestions' 99 | git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions 100 | echo "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc 101 | source ~/.zshrc 102 | 103 | echo 'installing theme' 104 | sudo apt install fonts-firacode -y 105 | wget -O ~/.oh-my-zsh/themes/node.zsh-theme https://raw.githubusercontent.com/skuridin/oh-my-zsh-node-theme/master/node.zsh-theme 106 | sed -i 's/.*ZSH_THEME=.*/ZSH_THEME="node"/g' ~/.zshrc 107 | 108 | echo 'installing meet franz' 109 | wget https://github.com/meetfranz/franz/releases/download/v5.1.0/franz_5.1.0_amd64.deb -O franz.deb 110 | sudo dpkg -i franz.debchristian-kohler.path-intellisense 111 | sudo apt-get install -y -f 112 | 113 | echo 'installing slack' 114 | wget https://downloads.slack-edge.com/linux_releases/slack-desktop-3.3.8-amd64.deb 115 | sudo apt install ./slack-desktop-*.deb -y 116 | 117 | echo 'installing terminator' 118 | sudo apt-get update 119 | sudo apt-get install terminator -y 120 | 121 | echo 'adding dracula theme' 122 | cat < ~/.config/terminator/config 123 | [global_config] 124 | title_transmit_bg_color = "#ad7fa8" 125 | [keybindings] 126 | close_term = w 127 | close_window = q 128 | new_tab = t 129 | new_window = i 130 | paste = v 131 | split_horiz = e 132 | split_vert = d 133 | switch_to_tab_1 = 1 134 | switch_to_tab_10 = 0 135 | switch_to_tab_2 = 2 136 | switch_to_tab_3 = 3 137 | switch_to_tab_4 = 4 138 | switch_to_tab_5 = 5 139 | switch_to_tab_6 = 6 140 | [layouts] 141 | [[default]] 142 | [[[child1]]] 143 | parent = window0 144 | type = Terminal 145 | [[[window0]]] 146 | parent = "" 147 | type = Window 148 | [plugins] 149 | [profiles] 150 | [[default]] 151 | cursor_color = "#aaaaaa" 152 | EOF 153 | 154 | 155 | cat <> ~/.config/terminator/config 156 | [[Dracula]] 157 | background_color = "#1e1f29" 158 | background_darkness = 0.88 159 | background_type = transparent 160 | copy_on_selection = True 161 | cursor_color = "#bbbbbb" 162 | foreground_color = "#f8f8f2" 163 | palette = "#000000:#ff5555:#50fa7b:#f1fa8c:#bd93f9:#ff79c6:#8be9fd:#bbbbbb:#555555:#ff5555:#50fa7b:#f1fa8c:#bd93f9:#ff79c6:#8be9fd:#ffffff" 164 | scrollback_infinite = True 165 | EOF 166 | 167 | echo 'installing docker' 168 | sudo apt-get remove docker docker-engine docker.io 169 | sudo apt install docker.io -y 170 | sudo systemctl start docker 171 | sudo systemctl enable docker 172 | docker --version 173 | 174 | chmod 777 /var/run/docker.sock 175 | docker run hello-world 176 | 177 | echo 'installing docker-compose' 178 | sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose 179 | sudo chmod +x /usr/local/bin/docker-compose 180 | docker-compose --version 181 | 182 | echo 'installing aws-cli' 183 | sudo apt-get install awscli -y 184 | aws --version 185 | curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" -o "session-manager-plugin.deb" 186 | sudo dpkg -i session-manager-plugin.deb 187 | session-manager-plugin --version 188 | 189 | echo 'installing teamviewer' 190 | wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb 191 | sudo apt install -y ./teamviewer_amd64.deb 192 | 193 | echo 'installing vnc-viewer' 194 | sudo apt-get install -y --no-install-recommends ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal 195 | sudo apt-get install vnc4server -y 196 | 197 | echo 'installing fzf' 198 | git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf 199 | ~/.fzf/install --all 200 | 201 | echo 'installing brave' 202 | curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add - 203 | source /etc/os-release 204 | echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ $UBUNTU_CODENAME main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-${UBUNTU_CODENAME}.list 205 | sudo apt update 206 | sudo apt install brave-keyring brave-browser 207 | 208 | echo 'installing dbeaver' 209 | wget -c https://dbeaver.io/files/6.0.0/dbeaver-ce_6.0.0_amd64.deb 210 | sudo dpkg -i dbeaver-ce_6.0.0_amd64.deb 211 | sudo apt-get install -f --------------------------------------------------------------------------------