This GIST has everything you need to run multiple private web browsers on your system.
Kick off install/upgrade script (inspect source-code below) by running the one liner four lines below in your terminal :
/bin/bash -c "$(curl -fsSL \
# initilise restic backup repository + generate an initial key | |
restic init -r <repository-directory> | |
# configure enviroemnt varables (fish) / alter as needed | |
set -x RESTIC_REPOSITORY /path/to/repository | |
set -x RESTIC_PASSWORD_FILE /path/to/.restic_password | |
set -x RESTIC_PASSWORD my_AmZiNiNg_password | |
set -x RESTIC_EXCLUDE_FILE /path/to/.restic_exclude | |
# run a backup to the repository |
# check disk usage : output is graphical and feed out to stout. | |
ncdu | |
# check a disk is saving things as it should - check flash disks, hdd's, memory sticks, raids and more :) | |
f3write /path/to/mount && f3read /path/to/mount | |
# network / wifi | |
nmcli # eg : nmcli device wifi connect "<ssid>" --ask | |
# check file type |
#!/usr/bin/env python3 | |
# | |
# Released Under GNU GPLv3 | |
# Copyright 2025 Henri Shustak | |
# | |
# About : | |
# This script will print messages as they arrive from a meshtastic node connected via serial port USB. | |
# If you have multiple nodes attached, you will need to edit this script and specify the node to monitor. | |
# | |
# Requirements : |
# check the total real page load time for a specific page load : | |
TIMEFORMAT='%E' ; time curl https://myserver.com 2> /dev/null >/dev/null | |
#!/bin/bash | |
# ssh-multi | |
# Modified to check if the script is started within a TMUX session to avoid starting in a background TMUX session | |
# H.SHUSTAK | |
# Origional : | |
# D.Kovalov : https://gist.github.com/dmytro/3984680 | |
# Based on http://linuxpixies.blogspot.jp/2011/06/tmux-copy-mode-and-how-to-control.html |
# NOTES | |
# | |
# - this approach has been tested on mint (will work on many other distributions as well - YMMV) | |
# - this approach uses swap files not partitions | |
# | |
# create a 5GB swap disk to use - run as root! | |
swapon --show | |
mkdir /swapfiles ; chmod 700 /swapfiles |
#!/usr/bin/env bash | |
# | |
# This super basic script boiler plate | |
# will ping each host passed into the | |
# via stdin. Pipe your hosts into this | |
# script to check if they are up. | |
# | |
# Modify as needed for your purposes | |
# | |
# (C)2024 Henri Shustak - Released Under the GNU GPL 3.0 or later. |
#!/usr/bin/env bash | |
# | |
# This script may be used when cinnamon springs | |
# a memory leak. Running this script will start | |
# a screen session and run 'cinnamon --replace' | |
# within this new session. | |
# | |
# Presently, this is a script to be run manually. | |
# perhaps in the future a deamon to keep an eye | |
# on memory usage would be a good idea. |
This GIST has everything you need to run multiple private web browsers on your system.
Kick off install/upgrade script (inspect source-code below) by running the one liner four lines below in your terminal :
/bin/bash -c "$(curl -fsSL \
# Sometimes when moving files around, you do not have the ability to directly | |
# preserve permissions, the approach below uses two commands : getfacl and setfacl | |
# to save and restore permissions once your rsync is compled. | |
# Alterativly, you can also explore using the fake-super options in rsync. | |
# The commands below are if you have a small number of files, there are also some | |
# scripts below to split up larger files in to chunks for batch processing. | |
# save permissions for a direcotry tree to a file using ACL tools | |
getfacl --recursive ./ > permissions.data |