Skip to content

Instantly share code, notes, and snippets.

set backspace=2 " backspace in insert mode works like normal editor
syntax on " syntax highlighting
filetype indent on " activates indenting for files
set autoindent " auto indenting
"set number " line numbers
colorscheme desert " colorscheme desert
set nobackup " get rid of anoying ~file
set laststatus=2
set paste
set ignorecase
$initial = array(1,2,3);
$remoteFiles = array(4,5,7);
$latestInitialCount = max($initial);
$checkRange = range($latestInitialCount,max($remoteFiles));
$missing = array_diff($checkRange,$remoteFiles); // (6)