Here are some bookmarks that I visit frequently when deploying a new system, or setting up a new development environment, or just trying to look something up, along with some snippets that I use frequently.
Build Essentials
sudo apt update
sudo apt upgrade
sudo apt install build-essential
~/.zshrc
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
source $ZSH/oh-my-zsh.sh
export MANPATH="/usr/local/man:$MANPATH"
export PATH="$PATH:/usr/local/go/bin"
export GPG_TTY=$(tty)
export WORKSPACE="$HOME/WORKSPACE"
export PATH="$PATH:$WORKSPACE/spire/bin"
export PATH="$PATH:$WORKSPACE/spike"
export PATH="$PATH:$HOME/.local/bin"
source "$WORKSPACE/spike/hack/lib/env.sh"
Distro Information
cat /etc/*release
# Or:
lsb_release -a
## Or:
export ARCH=$(case $(uname -m) in x86_64) \
echo -n amd64 ;; aarch64) echo -n arm64 ;; *) \
echo -n $(uname -m) ;; esac)
export OS=$(uname | awk '{print tolower($0)}')
NPM and Node
Claude Code
Grammarly
GitHub
- Generating a new SSH Key
- Adding a new SSH Key to Your GitHub Account
- Generating a new GPG Key
- Adding a GPG Key to Your GitHub Account
Docker
Windows Subsystem for Linux
Minikube
Copying SSH Keys to Remote Hosts
ssh-copy-id -i ~/.ssh/id_rsa.pub user@host
zsh and PowerLevel10k
sudo apt update
sudo apt install zsh
chsh -s /usr/bin/zsh
JetBrains
Fonts
Themes
Vim Setup
.vimrc
set nocompatible
filetype off
syntax enable
colorscheme darcula
set nu
set rnu
set cursorline
# Right Margin
set colorcolumn=80
highlight colorcolumn guibg=#444444
# Tab Settings
set tabstop=2
set shiftwidth=2
set softtabstop=2
set smarttab
set expandtab
# Remove Scrollbars
set guioptions-=r
set guioptions-=R
set guioptions-=L
set guioptions-=l
set laststatus=2
set hlsearch
# IndentGuidesEnable
autocmd! GUIEnter * set vb t_vb=
Windows
Windows Shortcuts
- Next/Previous Desktop:
Win + Ctrl + (right or left arrow key) - Shift+Drag to move a window to a fancy zone.
JetBrains Shortcuts
- Search Everywhere:
Shift + Shift - Search in file:
Alt + F3 - Find in files:
Ctrl + Shift + F - Select in…:
Alt + F1 - Toggle terminal:
Alt + F12 - Various views:
Alt 1--9 - Commit view:
Alt + 0