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 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 |
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
$initial = array(1,2,3); | |
$remoteFiles = array(4,5,7); | |
$latestInitialCount = max($initial); | |
$checkRange = range($latestInitialCount,max($remoteFiles)); | |
$missing = array_diff($checkRange,$remoteFiles); // (6) |