Skip to content

Instantly share code, notes, and snippets.

Nathan Giesbrecht NathanGiesbrecht

Block or report user

Report or block NathanGiesbrecht

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
NathanGiesbrecht / noip2.service
Last active Feb 9, 2020
Systemd Service file for dynamic ip updater
View noip2.service
# Simple Dynamic DNS Updater
# By Nathan Giesbrecht (
# 1) Install binary as described in's source file (assuming results in /usr/local/bin)
# 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file
# 3) Copy this file noip2.service to /etc/systemd/system/
# 4) Execute `sudo systemctl daemon-reload`
# 5) Execute `sudo systemctl enable noip2`
# 6) Execute `sudo systemctl start noip2`
NathanGiesbrecht / gist:6f389b150e15d27b60b6
Created Dec 10, 2015
My Google Analytics Referral Spam Filter - These sites are spammers
View gist:6f389b150e15d27b60b6
NathanGiesbrecht / software-save
Last active Jan 29, 2017
Save Installed Software Centos
View software-save
# A script to save installed software list automatically to Github
# Clone this Gist
git clone <this gist URL>
# Dump list of all installed software
rpm -qa > ~/installed-software.log
NathanGiesbrecht / gist:972f14f817190f222027
Last active Dec 13, 2018
Purge mod_pagespeed cache on WHM server
View gist:972f14f817190f222027
# This will clear the mod_pagespeed cache on a server that's had it installed via the cPanel script here:
# The location of the cache file may change, it can be found in the pagespeed.conf file located at /usr/local/apache/conf/
# The cache location is set by ModPagespeedFileCachePath variable
touch /var/mod_pagespeed/cache/cache.flush
You can’t perform that action at this time.