Skip to content

Instantly share code, notes, and snippets.

View pfeif's full-sized avatar

James Pfeifer pfeif

  • Tampa, FL
  • 20:40 (UTC -04:00)
View GitHub Profile
# Notes:
# Tasks will be started based on the cron's system daemon's notion of time
# and timezones.
# Output of the crontab jobs (including errors) is sent through email to the
# user the crontab file belongs to (unless redirected).
# Special strings:
# @reboot Run once, at startup
# @yearly Run once a year, i.e. "0 0 1 1 *"
# @annually Same as @yearly
# @monthly Run once a month, i.e. "0 0 1 * *"
@pfeif
pfeif / README.md
Created July 21, 2024 19:44
Pi-hole app configuration for UFW (Uncomplicated Firewall)
  • Copy the contents of pi-hole into a new configuration file named /etc/ufw/applications.d/pi-hole.
  • Update the UFW app list with ufw app update appname.
  • Enable the appropriate profile with ufw allow "<applicable pi-hole configuration>".
    • Pi-hole is standard.
  • Pi-hole with DHCP is when you're using Pi-hole as your network's DHCP server.
@pfeif
pfeif / SQL_Reference.md
Created August 20, 2021 03:39
SQL Reference

ALIASES

You can specify an alias (alternative name) for each table in a query. You can use the alias in the rest of the command by following the name of the table with a space and the alias name.

The following command creates an alias named R for the REP table and an alias named C for the CUSTOMER table: