Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.
You'll probably be working with a single smartcard, so you'll want only one primary key ( |
You'll probably be working with a single smartcard, so you'll want only one primary key ( |
#!/bin/bash | |
function stop () { | |
sudo systemctl stop "$1" | |
sleep 3s | |
} | |
function start () { | |
sleep 3s | |
sudo systemctl start "$1" |
This is a script written in Python intended to run alongside a Bitcoin node and export statistics for monitoring purposes. It assumes the existence of bitcoin-cli in the PATH and access to the RPC interface over localhost.
It tracks stuff like: block height, difficulty, number of peers, network hash rate, errors, uptime in seconds, mempool size, size of recent blocks, number of transactions within blocks, chaintips, total bytes received and sent, and transaction inputs and outputs. These Bitcoin metrics are refreshed once every 5 minutes.
Prometheus is a monitoring system and time-series database.
This is a script written in Python intended to run alongside a Zcash node and export statistics for monitoring purposes. It assumes the existence of zcash-cli in the PATH and access to the RPC interface over localhost.
It tracks stuff like: block height, difficulty, number of peers, network solutions per second, errors, mempool size, size of recent blocks, number of transactions within blocks, chaintips, total bytes received and sent, transaction inputs and outputs, and the make-up of transactions in terms of JoinSplits, shielded, unshielded or mixed. These Zcash metrics are refreshed once every 2 minutes.
Prometheus is a monitoring system and time-series database.
#!/bin/bash | |
# Measures ICMP and DNS latency to many popular public DNS servers. | |
# Works concurrently or in parallel. | |
# Author: Kevin M. Gallagher (@ageis) | |
#set -x | |
#set -e | |
#set -o nounset | |
#set -v | |
export ERRFILE="./testdns_errs.txt" |
function updateall() { | |
#set -o pipefail noclobber erexit | |
set -v | |
#set -e | |
#set -x | |
function exit_error() { | |
echo "You can only run updateall() once at a time." >&2 | |
} | |
function status() { | |
echo "Exit code is $1" |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
""" Simple Prometheus exporter for traffic metrics | |
from a running Tor daemon. """ | |
import re | |
import time | |
import sys | |
from prometheus_client import start_http_server, Gauge | |
import stem | |
from stem.control import Controller |
#!/bin/bash | |
# Installs as many fonts for Figlet/Toilet as possible from multiple sources. | |
# Author: Kevin M. Gallagher (@ageis) | |
#set -u | |
#set -x | |
export FIGLET_FONT_DIR=$(figlet -I2) | |
export TMP_FONT_DIR="$(pwd)/fonts" | |
export TMP_DEST_DIR="$(pwd)/tmp" | |
export FONT_REGEX=".*\.\(flf\|tlf\|flc\)$" |
Usage: apt-get -o "Dpkg::options==--option" --reinstall install <package> | |
$ dpkg --force-help | |
[!] all Set all force options | |
[*] downgrade Replace a package with a lower version | |
configure-any Configure any package which may help this one | |
hold Process incidental packages even when on hold | |
not-root Try to (de)install things even when not root | |
bad-path PATH is missing important programs, problems likely | |
bad-verify Install a package even if it fails authenticity check |
http://ubuntu.unc.edu.ar/ubuntu/ | |
http://mirrors.asnet.am/ubuntu/ | |
http://mirror.aarnet.edu.au/pub/ubuntu/archive/ | |
http://mirror.waia.asn.au/ubuntu/ | |
http://ubuntu.melbourneitmirror.net/archive/ | |
http://ubuntu.mirror.solnode.io/ubuntu/ | |
http://ftp.iinet.net.au/pub/ubuntu/ | |
http://mirror.as24220.net/pub/ubuntu-archive/ | |
http://mirror.as24220.net/pub/ubuntu/ | |
http://mirror.intergrid.com.au/ubuntu/ |