Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
97 lines (72 sloc) 2.76 KB
# emacs 26.X
sudo apt install -y emacs #>26.0
# kubectl / google-cloud-sdk
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" \
| sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg \
| sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
sudo apt update
sudo apt install -y kubectl google-cloud-sdk
# golang 1.13
sudo add-apt-repository --yes ppa:longsleep/golang-backports
sudo apt update
sudo apt install -y golang golang-1.13
# kind 0.5.1
sudo curl -Lo /usr/local/bin/kind \
https://github.com/kubernetes-sigs/kind/releases/download/v0.5.1/kind-$(uname)-amd64
sudo chmod +x /usr/local/bin/kind
# tmate 2.3.1
curl -L \
https://github.com/tmate-io/tmate/releases/download/2.3.1/tmate-2.3.1-static-linux-amd64.tar.gz \
| sudo tar xvfzC - /usr/local/bin --strip-components 1
# ripgrep 0.10.0
sudo apt install -y ripgrep
# xterm
sudo apt install -y xterm xtermcontrol
# docker
sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
disco \
stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io0
export DOCKER_VERSION=5:19.03.3~3-0~ubuntu-disco
sudo apt-get install docker-ce=$DOCKER_VERISON docker-ce-cli=$DOCKER_VERSION containerd.io
# clone down iimacs .emacs.d into your system
# #+name: git clone --recursive ~/.emacs.d
cd ~/ # do as your own user
# mv ~/.emacs.d ~/.emacs.d.before-ii
git clone --recursive https://github.com/iimacs/.emacs.d ~/.iimacs.d
# populate the cache
curl https://storage.googleapis.com/apisnoop/dev/iitoolbox-spacemacs-0.6.tgz \
| tar xzfC - ~/.iimacs.d
# ensure when you login, emacs can find .iimacs.d and tooling
# This is done for all users, but has no impact unless ~/.iimacs.d exists
cat <<EOF | sudo tee /etc/profile.d/99-iimacs.sh
# Ensures the iitooling is avaliable and loaded by emacs
export IIMACS=~/.iimacs.d
export PATH=${IIMACS}/bin:${PATH}
export EMACSLOADPATH=${IIMACS}:
EOF
# xterm font size and OS Code settings
# #+name: set xterm settings
cp .emacs.d/.xterm-xdefaults ~/.Xdefaults
# edit the above to your preferences ^^^
# In particular the DPI is set to 180 for hidpi, 90 is good for older screens
xrdb ~/.Xdefaults
# tmate settings (including ESC timout)
# #+name: set tmux settings
cat <<EOF >> ~/.tmate.conf
set -s escape-time 0
set-option -g set-clipboard on
set-option -g mouse on
set-option -g history-limit 50000
EOF
You can’t perform that action at this time.