I hereby claim:
- I am willjasen on github.
- I am willjasen (https://keybase.io/willjasen) on keybase.
- I have a public key whose fingerprint is 1573 8C45 5256 7964 4184 079B 6E41 B853 F8FF 092E
To claim this, I am signing this object:
#!/bin/bash | |
# Moved to https://github.com/willjasen/proxmox-scripts/blob/main/bulk-toggle-proxmox-replication-jobs.sh | |
# Output may show "trying to acquire cfs lock 'file-replication_cfg' ..." at some point but script should still finish | |
# EDIT: true to disable jobs, false to enable jobs | |
DISABLE=true; | |
# Make sure jq is installed |
#!/bin/bash | |
# taken from https://tailscale.com/kb/1133/proxmox | |
NAME="$(tailscale status --json | jq '.Self.DNSName | .[:-1]' -r)" | |
tailscale cert "${NAME}" | |
pvenode cert set "${NAME}.crt" "${NAME}.key" --force --restart |
#!/usr/local/bin/php | |
<?php | |
/* | |
This script can be used with OPNsense when using CARP in certain circumstances where CARP is desired on the LAN side | |
but where CARP cannot run on the WAN side. This script runs each time an event by CARP is generated. In the event that | |
there are multiple LAN interfaces where CARP is enabled, this script will check that all interfaces where CARP is | |
enabled are in a particular state (MASTER/BACKUP) before enabling or disabling its WAN interfaces. | |
*/ |
#!/bin/zsh | |
# this script limits access to screen sharing on a macOS computer to only be accessible via Tailscale | |
# variables | |
TS_INT=$(netstat -i | grep -B1 $(/Applications/Tailscale.app/Contents/MacOS/Tailscale ip --4) | head -n1 | awk '{print $1}') | |
PFANCHOR=/etc/pf.anchors/vnc-tailscale | |
# set the pf anchor variable for the tailscale interface | |
grep -q -e "ts_int = \"$TS_INT\"" $PFANCHOR || \ | |
echo "ts_int = \"$TS_INT\"" | sudo tee -a $PFANCHOR >/dev/null |
#!/bin/sh | |
# Image version - v2.3 | |
# Update the operating system | |
apt update; DEBIAN_FRONTEND=noninteractive apt upgrade -y; | |
# Install common tools | |
apt install curl git wget net-tools screen jq locate -y; |
#!/bin/bash | |
# Binary Revolution Radio - The Revolution will be Digitized | |
# content also available on IPFS: QmfZqvTBdQJLEefgTVF2vY6Zfi5tGv5ePHkGBhUPiFwT8S | |
linkroot="http://audio.textfiles.com/shows/binrev/" # available via audio.textfiles.com | |
rootname="binrev" # every file starts with this name | |
filetype=".mp3" # every file is an MP3 |
#!/bin/bash | |
# Backup a Plex database. | |
# Author Scott Smereka | |
# Author willjasen | |
# Version 2.0 | |
# Script Tested on: | |
# Ubuntu 12.04 on 2/2/2014 [ OK ] |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
echo -n "Enter Git username: " | |
read git_username | |
echo -n "Enter Git user email: " | |
read git_user_email | |
# Update available packages | |
sudo apt-get -y update |
## Sets up Graylog2 on Ubuntu | |
# Variables | |
ELASTICACHE_VERSION=0.90.10 | |
GRAYLOG2_VERSION=0.20.6 | |
GRAYLOG2_WEB_VERSION=0.20.6 | |
GRAYLOG2_PORT=12900 | |
GRAYLOG2_WEB_PORT=9000 | |
PASSWORD=password |