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 | |
IFS=' | |
' newfiles=($(find . -type f -name "*.*" | grep -v '\./[0-9]\+\.[^.]\+' | sed -e 's,^\./,,')) | |
oldfiles=($(find . -type f -name "*.*" | grep '\./[0-9]\+\.[^.]\+' | sed -e 's,^\./,,')) | |
total=0 | |
((total=${#newfiles[@]}+${#oldfiles[@]})) | |
mindigits() { |
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
[user] | |
name = XXX XXX | |
email = XXX@XXX.XXX | |
signingkey = XXXXXXX | |
[color] | |
ui = auto | |
status = auto | |
[alias] | |
s = status | |
co = checkout |
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 | |
set exrc " enable per-directory .vimrc files | |
set secure " disable unsafe commands in local .vimrc files | |
autocmd! | |
" Enable spell checking for documents | |
au FileType tex,markdown,pandoc setlocal spell spelllang=en_us | |
" Set tab width and convert to space in certain files, based on the generally | |
" accepted format of community. |
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
/* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
* GNU General Public License for more details. |