This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# URL with details for Linux Mint install instructions : | |
# https://forum.blackmagicdesign.com/viewtopic.php?f=38&t=200276 | |
# Big thanks to : Christoph Schmid! | |
# Running the installer | |
# Install the dependiencies as suggested by installer. If you still have message regarding some items missing | |
# simply setup the skip : | |
export SKIP_PACKAGE_CHECK=1 | |
# Once you have run the installer. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# (C) 2025 Henri Shustak | |
# simple script to download youtube comments from a single video in bulk | |
# usage : ./yt-comments.bash "youtube.video.url" | |
# requires : python package called youtube-comment-downlaoder | |
# dependcy install : pip install youtube-comment-downloader | |
# currently set to ues sublime text to view the file when download completes..(last line) | |
tempfile=$(mktemp /tmp/yt-comments.XXXXXX) | |
suffix="json" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get link speeds of a 5 port device | |
interface ethernet monitor numbers=0,1,2,3,4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# update to latest version of restic | |
sudo restic self-update | |
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check the total real page load time for a specific page load : | |
TIMEFORMAT='%E' ; time curl https://myserver.com 2> /dev/null >/dev/null | |
# get my current ip address : | |
curl wtfismyip.com/text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |
NewerOlder