Skip to content

egor-lukin/workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workspace

Intro

Env vars

cp -n .env_example .env
source .env

Ubuntu Packages

sudo apt install $(grep -Ev '^\s*#' packages/apt | xargs)
sudo snap install $(grep -Ev '^\s*#' packages/snap | xargs)

Emacs

cp -n emacs/secrets.el.example emacs/secrets.el
git clone https://github.com/doomemacs/doomemacs ~/.config/emacs
ln -s ~/workspace/emacs ~/.config/doom
~/.config/emacs/bin/doom install --force

Dotfiles

ln -s ~/workspace/dotfiles/bashrc ~/.bashrc
ln -s ~/workspace/dotfiles/gitconfig ~/.gitconfig
ln -s ~/workspace/dotfiles/pryrc ~/.pryrc
ln -s ~/workspace/dotfiles/tmux.conf ~/.tmux.conf
ln -s ~/workspace/dotfiles/k9s ~/.k9s
ln -s ~/workspace/dotfiles/tool-versions ~/.tool-versions

Asdf

git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0

. "$HOME/.asdf/asdf.sh"

asdf plugin add golang
asdf install golang 1.22.3

gem install dip

asdf plugin add ruby
asdf install ruby 3.1.2

asdf plugin-add yarn
asdf install yarn latest

asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
asdf install nodejs latest
asdf install nodejs 16.18.0

asdf plugin-add python
asdf install python 3.11.5

go install github.com/sachaos/viddy@latest
go install github.com/derailed/k9s@latest

Terraform

sudo apt-get update && sudo apt-get install -y gnupg software-properties-common
wget -O- https://apt.releases.hashicorp.com/gpg | \
gpg --dearmor | \
sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg > /dev/null

gpg --no-default-keyring \
--keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg \
--fingerprint

echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \
https://apt.releases.hashicorp.com $(lsb_release -cs) main" | \
sudo tee /etc/apt/sources.list.d/hashicorp.list

sudo apt update

sudo apt-get install terraform

Docker

Copied from Omakub project.

# Add the official Docker repo
sudo install -m 0755 -d /etc/apt/keyrings
sudo wget -qO /etc/apt/keyrings/docker.asc https://download.docker.com/linux/ubuntu/gpg
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update

# Install Docker engine and standard plugins
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras

# Give this user privileged Docker access
sudo usermod -aG docker ${USER}

# Use local logging driver - it's more efficient and uses compression by default.
echo '{"log-driver":"local","log-opts":{"max-size":"10m","max-file":"5"}}' | sudo tee /etc/docker/daemon.json > /dev/null

Packages

Stripe

curl -s https://packages.stripe.dev/api/security/keypair/stripe-cli-gpg/public | gpg --dearmor | sudo tee /usr/share/keyrings/stripe.gpg

echo "deb [signed-by=/usr/share/keyrings/stripe.gpg] https://packages.stripe.dev/stripe-cli-debian-local stable main" | sudo tee -a /etc/apt/sources.list.d/stripe.list

sudo apt update
sudo apt install stripe

About

Emacs-based dev environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published