Skip to content

Instantly share code, notes, and snippets.

View jtmoon79's full-sized avatar
πŸ’­
πŸ˜‡

James Thomas Moon jtmoon79

πŸ’­
πŸ˜‡
View GitHub Profile
@jtmoon79
jtmoon79 / stubby-docker-service.md
Last active March 5, 2021 04:17
Running stubby DNS Privacy stub resolver and unbound DNS with stubby-docker as a systemd service
@jtmoon79
jtmoon79 / build-install-airdc++.sh
Last active September 28, 2019 19:44
build and install Air DC++ (airdcppd) on Raspberry Pi
# Build Air DC++ for Raspberry Pi Debian Stretch
# Uses a docker Raspberry Pi image to temporarily install necessary build tools and contain the mess
#
# This is not a script. This is shell commands that should be copy+pasted and tweaked to your setup
#
# This worked for using Raspberry Pi Debian Stretch and AirDC++ version 2.7.0b
# MMV
#
# run on Raspberry Pi
@jtmoon79
jtmoon79 / glances-start.sh
Last active October 26, 2022 02:33
start glances, single instance, user glances
#!/usr/bin/env bash
#
# run single instance of glances on the system as user glances.
# follows from https://gist.github.com/jtmoon79/1b5a806b3e71874542c21b1578156a42
# designed for a Debian-based Linux
#
# place this file at /var/lib/glances/glances-start.sh
# chmod +x /var/lib/glances/glances-start.sh
# should look like:
# ls -l /var/lib/glances/glances-start.sh
@jtmoon79
jtmoon79 / glances-install.sh
Last active October 26, 2022 02:23
install glances system monitor on a Debian system
#!/usr/bin/env bash
#
# install glances system monitor onto a Debian-based System under user "glances"
# https://github.com/nicolargo/glances
#
# This creates user "glances" (which glances presumes to do) but for the purpose of install the program glances (and the
# required libraries) under permissions of user glances. This way,
# - glances programs are slightly better contained under user glances permissions
# - glances (and related programs) are not added to shared $PATH directories
#