Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

152 total results found

ExpressJS devnull

NodeJS Examples

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

Minecraft

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

Randomness

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

Postfix

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

Technical Notebook Pages

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

Networking

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 VE

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

Proxmox VE

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

Proxmox VE

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

Proxmox VE

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

Proxmox VE

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

Mikrotik Snippets

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

Proxmox VE

  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

Linux

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

Mikrotik

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

Linux

# 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

Python

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

EasyRSA

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...