Skip to content

Instantly share code, notes, and snippets.

@cfree3
cfree3 / .bashrc
Created March 27, 2015 10:42
Saving the world, one crontab at a time
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 January 12, 2014 22:10
Git log format
[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