Counting lines of code (non-git tip)

Put the following in your .bashrc as you're starting a new project:
alias loc='find . |grep -E '"'"'\.(h|hpp|c|cc|cpp|py|js|css|html|jsp|java|php)$'"'"' | xargs cat | wc -l'
alias projloc='for D in *; do [ -d "${D}" ] && echo $D && cd $D && loc && cd ..; done'