This file contains 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 |
This file contains 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
#!/bin/bash | |
sudo wget https://nginx.org/keys/nginx_signing.key -P /tmp/ | |
sudo apt-key add /tmp/nginx_signing.key | |
echo | |
echo | |
echo | |
echo "Enter codename for your ubuntu version (bionic for 18.04, focal for 20.04 etc -> 'lsb_release -a' to see codename):" |
This file contains 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
background : radial-gradient(black 15%, transparent 16%) 0 0, | |
radial-gradient(black 15%, transparent 16%) 8px 8px, | |
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px, | |
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px; | |
background-color : #282828; | |
background-szie : 16px 16px; |
This file contains 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 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
/* eslint no-console : off */ | |
const logger = {}; | |
let logOptions = { | |
enabled : true | |
}; | |
logger.setConfig = function (options) { | |
logOptions = options; | |
}; |
This file contains 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-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 | |
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list | |
sudo apt-get update | |
sudo apt-get install -y mongodb-org | |
sudo service mongod restart |
This file contains 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 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 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
" general vim features toggle | |
set hlsearch | |
set t_ut="" | |
" for vim 7 | |
set t_Co=256 | |
" Theme | |
syntax on | |
set background=dark |