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
7 12,20 * * * /usr/local/sbin/snapshots hourly | |
30 21 * * * /usr/local/sbin/snapshots daily | |
5 22 * * sun /usr/local/sbin/snapshots weekly | |
7 9 1 * * /usr/local/sbin/snapshots monthly | |
7 10 1 7 * /usr/local/sbin/snapshots yearly |
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 | |
# Control wifi. Since I can never remember the arguments to nmcli, I made | |
# this command to simplify usage. | |
# | |
# Written by Robert Bottomley | |
# | |
# $Id: wifi,v 1.4 2021/05/20 18:05:55 bob Exp $ | |
# | |
# $Log: wifi,v $ |
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
# Add to end of .bashrc. Uses git-prompt.sh from github to set branch in Bash prompt. | |
. ~/.git-prompt.sh | |
GIT_PS1_SHOWCOLORHINTS=1 | |
PROMPT_COMMAND='__git_ps1 "\n\[\033[01;37;44m\]\u@\h \[\033[01;37;40m\] \d \$(date +%I:%M:%S%P)\n\[\033[01;33;40m\]\w" ">\[\033[00m\] " "(%s\[\033[01;33;40m\])"' |