Compiling newsboat 2.18 on (Armbian) Ubuntu 18.04

It has some weird build dependencies like xsltproc, asciidoc & gettext to build docs & cargo (seems to be built in a mix of c++ & rust).

Others include: libcurl4-openssl-dev, pkg-config, libkrb5-dev (needed for curl-config), libstfl-dev, libjson-c, libsqlite3-dev.

Then the xmllint check run by a2x fails as it won’t download the DTD, so replace all instances of

$(A2X)

in the Makefile with

$(A2X) –no-xmllint

Enable or Disable pi-hole from Alexa

The easiest way to enable or disable ad-blocking from your pi-hole using Alexa is to install fauxmo – with which you can create fake Belkin devices that are Alexa-enabled.

You then configure fauxmo with URLs like this:

# disable for 600 seconds
http://YOUR.PIHOLE.IP/admin/api.php?disable=600&auth=YOUR_AUTH_CODE
# enable
http://YOUR.PIHOLE.IP/admin/api.php?enable&auth=YOUR_AUTH_CODE
# get status
http://YOUR.PIHOLE.IP/admin/api.php?status&auth=YOUR_AUTH_CODE

Get YOUR_AUTH_CODE from the WEBPASSWORD= line in /etc/pihole/setupVars.conf

See example conf at GitHub