Skip/hide Windows update on Windows 10

Since Windows 10 has been released there’s no easy way to skip/hide updates you don’t want installed. In Windows 7 it was super easy. I finaly found a way to skip/hide them. You have to download a troubleshooter from Microsoft. HERE is the link. HERE is a...

Printers not working after KB4557957 update

I noticed an issue where after updating Windows 10 2004 with KB4557957 some printers were no longer working. BetaNews did a good writeup HERE about the issue. Microsoft released a couple off-schedule patches to fix it. HERE is the BetaNews article about it. In short...

SuperMicro ipmitool shared/dedicated NIC change

Here is how to change the NIC for IPMI to be shared or dedicated. I know this works on SuperMicro I’m not sure about other vendors Make sure you have IPMI tool installed and you’re able to connect via ipmitool To Get Lan Mode ipmitool raw 0x30 0x70 0x0C...

Expand PV to expanded disk

This will work if you made the PV your whole disk. If you want to do so with partition follow the link HERE. I use XCP-NG and when adding additional space to an existing disk I scan for the extra space using the command below and the extra space doesn’t appear....

Acme.sh with NGiNX

First you have to install acme.sh. I like using acme.sh because it’s all bash based. As with all posts I take no responsibility for anything and this is more of a quick help instead of a full guide. I have a script that I use to deploy my WordPress sites. The...

Setup Unifi Controller on Debian10 /Buster

Link to original persons blog post The requirements of the Unifi Controller do not allow a direct installation. But with a few manual steps a successful setup is possible! Basic requirements apt install wget gnupg2 ca-certificates apt-transport-https dirmngr gnupg...

SmartOS Tricks

Start smartOS VM from iso that is in /zones/UUID/root/ vmadm start UUID order=cdn,once=d cdrom=/FILE.iso,ide Set static vnc port Do vmadm list to get UUID vmadm update UUID_HERE vnc_port=PORT_#_HERE I love RealVNC. It works well and they have stand-alone executable...

Empora Total power usage email report

For this to work you will need to dump a CSV export at least twice a month and then upload the CSVs from the ZIP to nextcloud. This could honestly be from anywhere nextcloud is just easy for me. Here’s links to the files. I try my best to paste them in the blog,...

Calculate Emporia Energy usage in Bash

How to calculate data use for specfici month using bash for Emporia Energy device cat FILE.csv | egrep “MonthInNumForm/?[0-9]?[0-9]/2019″ | awk -F”,” ‘{print;x+=$2}END{print “Total ” x}’

WP Search-Replace

This is how to use wp-cli to change the domain If using CentOS sudo -u nginx wp search-replace ‘old.domain.com’ ‘newdomain.com’ If using Plesk sudo -u user /opt/plesk/php/7.1/bin/php /usr/local/bin/wp search-replace ‘old.domain.com’...

Windows Service CMD control

These aren’t really tricks, but super useful if you want to change things without interrupting the end user. Find service name since the display name may be different sc query | find “DISPLAY_NAME” sc config “SERVICE_NAME” start=disabled sc stop...