Skip to content

Instantly share code, notes, and snippets.

Avatar

Curtis Free cfree3

View GitHub Profile
@cfree3
cfree3 / .bashrc
Created Mar 27, 2015
Saving the world, one crontab at a time
View .bashrc
function crontab() {
if [ "${1}" = "-r" ]; then
echo "I don't think you meant to do that."
return
fi
/usr/bin/crontab ${@}
}
@cfree3
cfree3 / .gitconfig
Created Jan 12, 2014
Git log format
View .gitconfig
[format]
# inspired by colleagues; some help from http://stackoverflow.com/questions/5889878/color-in-git-log
pretty = format:%C(green)%H%Creset%C(blue)%d%Creset%n%cn (%C(red)%cr%Creset @ %C(yellow)%cd%Creset) [%an (%cd)]%n%w(80)%B%n