Skip to content

Instantly share code, notes, and snippets.

View dennisse's full-sized avatar

Dennis Eriksen dennisse

View GitHub Profile
@dennisse
dennisse / nsupdate.sh
Last active April 30, 2017 11:03
nsupdate.sh
#!/usr/bin/env bash
# This file:
#
# - Will check to see if your IP-address has updated, and use `nsupdate` to
# update DNS for you if it has.
#
# Usage:
#
# ./nsupdate.sh -k nsupdate.keyfile
#
@dennisse
dennisse / mbsync-notify.sh
Last active October 26, 2018 10:02 — forked from john2x/offlineimap-notify.sh
mbsync-notify.sh
#!/usr/bin/env bash
# This file:
#
# - Uses mbsync to check your email if you have a connection to the server.
# - Slows down syncing if you're on battery
# - Notifies you of new emails
#
#
# Usage:
#