Skip to content

Instantly share code, notes, and snippets.

@mcotton
Last active December 6, 2019 01:49
Show Gist options
  • Save mcotton/39080b5366b2e3f2e758d06da8e5eec2 to your computer and use it in GitHub Desktop.
Save mcotton/39080b5366b2e3f2e758d06da8e5eec2 to your computer and use it in GitHub Desktop.
#.bashrc
alias disableGUI='sudo systemctl set-default multi-user.target'
alias enableGUI='sudo systemctl set-default graphical.target'
alias startGUI='sudo systemctl start gdm3.service'
alias stopGUI='sudo systemctl stop gdm3.service'
/usr/bin/setxkbmap -option "caps:escape"
if [ -f ~/dev/personal/dot_files/.docker_aliases ]; then
. ~/dev/personal/dot_files/.docker_aliases
fi
alias open='xdg-open'
#.vimrc
syntax enable
syntax on
set background=dark
set nowrap
set autoindent
set shiftwidth=4
set expandtab
set tabstop=4
set softtabstop=4
set pastetoggle=<F12>
au BufNewFile,BufRead *.ejs set filetype=html
# installation commands
sudo apt update
sudo apt upgrade
sudo apt install vim git htop net-tools curl wget tree screen openssh-server -y
sudo apt install python3 python3-pip -y
sudo apt install ffmpeg imagemagick -y
sudo apt install docker.io docker-compose -y
curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
sudo usermod -aG docker mcotton
# install sublime-text
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt update
sudo apt install sublime-text
#install insomnia
echo "deb https://dl.bintray.com/getinsomnia/Insomnia /" \
| sudo tee -a /etc/apt/sources.list.d/insomnia.list
wget --quiet -O - https://insomnia.rest/keys/debian-public.key.asc \
| sudo apt-key add -
sudo apt-get update
sudo apt-get install insomnia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment