This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"env": { | |
"browser" : true, | |
"node" : true, | |
"commonjs": true, | |
"es6" : true | |
}, | |
"extends": "eslint:recommended", | |
"parser" : "babel-eslint", | |
"parserOptions": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt upgrade | |
#install essential packages | |
sudo apt install -y vim | |
sudo apt install -y avahi-daemon | |
sudo apt install -y python | |
sudo apt install -y git | |
sudo apt install -y curl | |
sudo apt install -y dconf-cli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install required pakcages | |
echo 'Installing required apt packages...' | |
sudo apt install -y curl git wget vim | |
# Switch to home dir and copy .vimrc | |
echo 'Downloading vimrc...' | |
cd $HOME | |
wget https://gist.githubusercontent.com/aqual3o/b6c2478c38d1e08f76697b224efb9490/raw/.vimrc | |
# Switch to home dir and copy .eslintrc.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " disable compatibility to old-time vi | |
set showmatch " show matching | |
set ignorecase " case insensitive | |
set mouse=v " middle-click paste with | |
set hlsearch " highlight search | |
set incsearch " incremental search | |
set tabstop=4 " number of columns occupied by a tab | |
set softtabstop=4 " see multiple spaces as tabstops so <BS> does the right thing | |
"set expandtab " converts tabs to white space | |
set shiftwidth=4 " width for autoindents |