{description-short}
#!/bin/bash | |
sudo apt update -y && sudo apt upgrade -y | |
sudo apt install software-properties-common build-essential git wget curl zsh unzip neovim -y | |
sudo apt install --no-install-recommends apt-transport-https ca-certificates gnupg2 -y | |
# oh my zsh | |
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# powerlevel10k | |
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k |
{ | |
"workbench.colorTheme": "Tinacious Design", | |
"liveshare.presence": true, | |
"javascript.validate.enable": false, | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
}, | |
"[typescriptreact]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, |
#!/bin/sh | |
# Initializing Lerna | |
npx lerna init; | |
# Setup Workspaces | |
cat <<EOF > package.json | |
{ | |
"name": "root", | |
"private": true, |
// File ▶️ Preferences ▶️ User Snippets ▶️ global.code-snippets ▶️ Save it to `.../vscode/snippets/global.code-snippets` | |
{ | |
"Print to console": { | |
"prefix": ["console", "console.", "console.l", "console.lo", "console.log"], | |
"body": ["console.log($1);"], | |
"description": "Log output to console" | |
} | |
} |
#!/bin/sh | |
# Install brew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Install packages | |
brew tap sambadevi/powerlevel9k | |
brew install neovim tmux zsh powerlevel9k | |
# zsh setup (todo: install iterm2 and default to zsh) |
javascript:void(function(){const s=document.createElement('script');s.setAttribute('src','https://cdn.rawgit.com/tomsiwik/e7982cc626a18d13d995ac04d60afbf6/raw/f916fa5f67df43c13b13073a86a198a1dd5d1677/script.js');document.body.appendChild(s);}()); |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/tom/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="powerlevel9k/powerlevel9k" |
#!/bin/sh | |
# Get homebrew up & running | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Install kitty terminal for zsh | |
brew install kitty zsh git font-jetbrains-mono-nerd-font neovim | |
# Install zim | |
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh |