Coder Social home page Coder Social logo

.emacs.d's Introduction

Dependencies

Ubuntu 19.10 (or similar)

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.io
#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

OS Specific

OSX

Installing brew

Installing emacs via brew

Ensuring the brew emacs version is found before the installed version

sudo ln -sf /usr/local/Cellar/emacs/26.3/bin/* /usr/local/bin/

Ensure github keys are working

generate a publicprivate keypair

ssh-key

Get your terminal + emacs working

clone down iimacs .emacs.d into your system

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

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

sudo adduser $USER docker

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

tmate settings (including ESC timout)

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

docker group

We need to login/logout in order for this to work OR use newgrp

sudo adduser $USER docker

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

Usage

iimacs ~/path/to/orgfile

run xterm

#!/bin/bash
#/usr/local/bin/apisnoop.sh
xterm -T $USER@sharing.io -e \
    ssh -tA $USER@sharing.io bash -l \
    '~/ii/org/start_osc52_session.sh'  '~/ii/apisnoop/' &
#/usr/local/bin/conformance-testing.sh
#!/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/' &

.emacs.d's People

Contributors

hh avatar bobymcbobs avatar zachmandeville avatar heyste avatar bernokl avatar

Stargazers

Alkim Gozen avatar

Watchers

James Cloos avatar

.emacs.d's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.