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.

Revisions

  1. mcotton revised this gist Dec 5, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu setup
    Original file line number Diff line number Diff line change
    @@ -37,7 +37,7 @@ au BufNewFile,BufRead *.ejs set filetype=html
    sudo apt update
    sudo apt upgrade

    sudo apt install vim git htop net-tools curl wget tree screen -y
    sudo apt install vim git htop net-tools curl wget tree screen openssh-server -y

    sudo apt install python3 python3-pip -y

  2. mcotton revised this gist Dec 5, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ubuntu setup
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,7 @@ if [ -f ~/dev/personal/dot_files/.docker_aliases ]; then
    . ~/dev/personal/dot_files/.docker_aliases
    fi

    alias open='xdg-open'


    #.vimrc
  3. mcotton revised this gist Nov 26, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu setup
    Original file line number Diff line number Diff line change
    @@ -36,7 +36,7 @@ au BufNewFile,BufRead *.ejs set filetype=html
    sudo apt update
    sudo apt upgrade

    sudo apt install vim git htop net-tools curl wget -y
    sudo apt install vim git htop net-tools curl wget tree screen -y

    sudo apt install python3 python3-pip -y

  4. mcotton revised this gist Nov 25, 2019. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions ubuntu setup
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,10 @@ 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



    #.vimrc
  5. mcotton revised this gist Nov 22, 2019. 1 changed file with 17 additions and 2 deletions.
    19 changes: 17 additions & 2 deletions ubuntu setup
    Original file line number Diff line number Diff line change
    @@ -38,7 +38,22 @@ sudo apt install python3 python3-pip -y

    sudo apt install ffmpeg imagemagick -y

    sudo apt install docker.io
    sudo apt install docker-compose
    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


  6. mcotton revised this gist Oct 22, 2019. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions ubuntu setup
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,9 @@ 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"



    #.vimrc

    @@ -26,14 +29,12 @@ au BufNewFile,BufRead *.ejs set filetype=html

    # installation commands

    /usr/bin/setxkbmap -option "caps:escape"

    sudo apt update
    sudo apt upgrade

    sudo apt install vim git htop net-tools curl wget -y

    sudo apt install python3-pip
    sudo apt install python3 python3-pip -y

    sudo apt install ffmpeg imagemagick -y

  7. mcotton revised this gist Oct 20, 2019. 1 changed file with 17 additions and 0 deletions.
    17 changes: 17 additions & 0 deletions ubuntu setup
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,23 @@ alias startGUI='sudo systemctl start gdm3.service'
    alias stopGUI='sudo systemctl stop gdm3.service'


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

  8. mcotton revised this gist Oct 20, 2019. 1 changed file with 19 additions and 1 deletion.
    20 changes: 19 additions & 1 deletion ubuntu setup
    Original file line number Diff line number Diff line change
    @@ -5,4 +5,22 @@ 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"


    # installation commands

    /usr/bin/setxkbmap -option "caps:escape"

    sudo apt update
    sudo apt upgrade

    sudo apt install vim git htop net-tools curl wget -y

    sudo apt install python3-pip

    sudo apt install ffmpeg imagemagick -y

    sudo apt install docker.io
    sudo apt install docker-compose
    curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
    sudo usermod -aG docker mcotton
  9. mcotton revised this gist Oct 20, 2019. 1 changed file with 1 addition and 4 deletions.
    5 changes: 1 addition & 4 deletions ubuntu setup
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,8 @@

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


    /usr/bin/setxkbmap -option "caps:escape"
  10. mcotton created this gist Aug 31, 2019.
    11 changes: 11 additions & 0 deletions ubuntu setup
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@

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