Skip to content

Latest commit

 

History

History
83 lines (81 loc) · 2.84 KB

iimacs.org

File metadata and controls

83 lines (81 loc) · 2.84 KB

iimacs setup

Dependencies

Ubuntu 19.10 (or similar)

emacs 26.X

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 -
apt update 
apt install -y kubectl google-cloud-sdk

golang 1.13

add-apt-repository --yes ppa:longsleep/golang-backports
apt update
apt install -y golang golang-1.13

kind 0.5.1

curl -Lo /usr/local/bin/kind \
     https://github.com/kubernetes-sigs/kind/releases/download/v0.5.1/kind-$(uname)-amd64
chmod +x /usr/local/bin/kind

Get your terminal + emacs working

clone down iimacs .emacs.d into your system

cd ~/
# 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

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

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

run xterm

#!/bin/bash
xterm -T $USER@sharing.io -e \
    ssh -tA $USER@sharing.io bash -l \
    '~/ii/org/start_osc52_session.sh'  '~/ii/apisnoop/' &
#!/bin/bash
xterm -T [email protected]/conformance-testing -e \
      ssh -tA $USER@sharing.io bash -l \
      '~/ii/org/start_osc52_session.sh'  '~/ii/conformance-testing/' &

Possibly use ~/.emacs.d/.spacemacs-hh

You can have your own config, but I do a lot of work to keep mine happy. It’s not a bad starting spot.

cp ~/.emacs.d/.spacemacs-hh ~/.emacs.d/.spacemacs-$USER

Get your local Terminal Working