Please note that this whole manual refers to the version 3.5.11 of Squid. You probably would have to adapt some commands to the version you will actually download.
This file contains hidden or 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 | |
# | |
# Send by e-mail new entries in the Bash history of all users. | |
# | |
# usage: mail-history <email> <subject> | |
# | |
TMPFILE=`tempfile 2>/dev/null` || TMPFILE=`mktemp` || exit 1 | |
declare -i CHANGES | |
CHANGES=0 |
This file contains hidden or 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
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
# Automatically update your CloudFlare DNS record to the IP, Dynamic DNS | |
# Can retrieve cloudflare Domain id and list zone's, because, lazy | |
# Place at: | |
# /usr/local/bin/cf-ddns.sh |