Advanced Search
Search Results
152 total results found
ExpressJS devnull
This is a simple NodeJS script that will give you a GET and POST endpoint to push data to for testing. npm init -y npm install express body-parser touch server.js // FILE: server.js const util = require('util'); const express = require('express')...
mcaselector on Linux
Download the proper version of JavaFX and then run with a command line similar to the one below: java --module-path openjfx-21.0.7_linux-x64_bin-sdk/javafx-sdk-21.0.7/lib --add-modules ALL-MODULE-PATH -jar mcaselector-2.5.2.jar I was successful running mcas...
Party Games
ClothespinsGame ChangerWho can pin the most clothespins to themselves in one minute. Keep in mind, by self, we mean not clothes but skin. Compliment DualGame Changer -end
OpenDKIM
sudo apt install opendkim mkdir -p /etc/opendkim/keys cd /etc/opendkim touch key.table signing.table trusted.hosts sudo chown -R opendkim:adm /etc/opendkim sudo find /etc/opendkim -type d -exec chmod 770 {} \; sudo find /etc/opendkim -type f -exec chmod 660 ...
Trend Micro Vision One Search Auto-Clicker Auto-Refresher
Use case I need to auto-refresh the Trend Vision One Quarantine list every minute since they haven't added that into their platform. I tried using an auto-clicker / auto-refresh browser extension, but it would only hard refresh the page or click on anchor lin...
HPE Aruba
HPE Aruba specific configuration snippets Aruba 5400r RFC-1918 subnet matching for route distribution ip prefix-list "PRIVATE-IP-SUBNETS" seq 10 permit 10.0.0.0 255.0.0.0 ge 8 le 32 ip prefix-list "PRIVATE-IP-SUBNETS" seq 20 permit 172.16.0.0 255.240.0.0...
High Availability
Proxmox Documentation: High Availability Below are relevant excerpts from the above source materials for quick access to necessary commands for various tasks. Please consult the source material for more documentation related to the concepts and commands refer...
ZFS
Upgrade single disk rpool to mirrored rpool I added a second M.2 drive to a laptop already running Proxmox VE. From the zpool-attach man page: If the existing device is a mirror or plain device (e.g. specified as "sda" or "mirror-7"), the new device...
Useful additions
Packages to add apt install lldpd snmpd snmpd.conf Minimal configuration for /etc/snmpd/snmpd.conf to enable monitoring physical host resources via snmp. # file:/etc/snmp/snmpd.conf sysLocation Undisclosed location sysContact Ghostbusters! <ghos...
Nested Virtualization Benchmarks
Disk benchmark tests fio simple write test fio --name=sequential_write --rw=write --bs=1M --size=10G --filename=/root/testfile --direct=1 fio random read job file [global] ioengine=libaio direct=1 group_reporting runtime=60 time_based [random_read_...
Troubleshooting
Various notes for random troubleshooting List all block devices with model lsblk -o NAME,MODEL,SERIAL,SIZE,TYPE,MOUNTPOINT Backup to NAS mount via SMB - stale file handle Testing backups to a QNAP via SMB resulted in failures with the message stale fil...
DHCP Leases to CSV
CSV output of DHPC related items in RouterOS Static DHCP leases to CSV output { # process only static leases :local staticLeases [/ip dhcp-server lease find where dynamic=no] :foreach l in=$staticLeases do={ :local lma [/ip dhcp-serve...
CEPH
Useful commands # quick status check ceph status # summary of storage pools, raw usage, and estimated capacity ceph df # utilization per osd ceph osd df Adding CEPH Manager Dashboard Source # run this on all service manager nodes apt i...
Supermicro fan control
Quick and dirty Login to the IPMI interface, go Configuration -> Fan Speed -> Power Usage Effectiveness mode More stuff apt install ipmiutil Show current fan speeds ipmiutil sensor -g fan -end
Container
Howto Prepping the base configuration { /system logging action :foreach actionName in={ "ContainerLog"; "ContainerDebug" } do={ :if ([:len [find where name="$actionName"]] = 0) do={ add name=$actionName target=memory :put "[ADDED...
Ubuntu unattended upgrades
# enable unattended upgrades dpkg-reconfigure --priority=low unattended-upgrades # edit unattended-upgrades config file vim /etc/apt/apt.conf.d/50unattended-upgrades Unattended-Upgrade::Automatic-Reboot "true"; Unattended-Upgrade::Automatic-Reboot-W...
Govee Bluetooth Hygrometers
Playing with some Govee H5074 and H5075 Bluetooth hygrometers. All code below was grabbed from Google search AI responses and then altered to suite. import asyncio import struct from bleak import BleakScanner timeout_seconds = 20 address_to_look_fo...
Code Signing
Creating the certificate Below are the steps to create a code signing certificate using OpenSSL and an established EasyRSA CA. # Step 1: Generate either an RSA or an EC private key... pick one... openssl genrsa -out SuperCodeSigning.key 2048 openssl ecpara...