Skip to content

Instantly share code, notes, and snippets.

View korovamilk's full-sized avatar
🏠
Working from home

Marco Agate korovamilk

🏠
Working from home
View GitHub Profile
@korovamilk
korovamilk / cf-ddns.sh
Created January 13, 2017 14:32 — forked from larrybolt/cf-ddns.sh
Automatically update your CloudFlare DNS record to the IP, Dynamic DNS for Cloudflare
#!/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
@korovamilk
korovamilk / README.md
Created December 7, 2015 07:36 — forked from e7d/README.md
[Debian] Build a Squid transparent proxy from source code
#!/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