How to make the pricing table height the same.
When using the pricing tables module you will see that the height of each table is going to rely on the content you put there, so if you have different content in each table, you will see something like this:
This might be okay, but you may want to have those tables show with the same height. You can use the following CSS code:
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 direct link, not sure if it changes, but this was used 20200630. I also have a copy HERE.
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 here are the links for the fix’s with the correct Windows 10 version.
Windows 10, version 1909 (KB4567512)
Windows 10, version 1903 (KB4567512)
Windows 10, version 1809 (KB4567513)
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 0x00 It will return a code, here are those and their meanings: 00 dedicated 01 shared 02 Failover
Here is how you set the mode
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.
lvs So to get it to rescan the disk for the extra space you have to do the following command.
Unfortunately it doesn’t appear cPanel allows you to easily change the username. Most documentation I’ve read says to use the “Rearrange an Account” option, but if you only have one disk that doesn’t seem to get you an option. The downside to this is that is doesn’t fully do a normal restore it will restore the new account to the new directory, but it will symlink the old username to the new directory.
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 only thing I recommend is if you use it make sure to add the xml-rpc.php block. I haven’t added that to it yet.
There error comes in many forms one of the forms are “The trust relationship between this workstation and the primary domain failed.” If you’re able to log into the machine as a local admin it’s easy, you just do the following.
Use a local administrator account to log on to the computer. Select Start, press and hold (or right-click) Computer > Properties. Select Change settings next to the computer name. On the Computer Name tab, select Change.
I was having issues finding the correct way to add the remaining free space to the last partition (afraid to do so since it was on a live machine). I was finally able to figure it out.
Use this to see free space
parted /dev/sdX print free Then this to expand
parted /dev/sdX (parted) resizepart Partition number? ENTER NUMBER FROM ABOVE THAT HAS THE LVM End? [1075MB]? 100% (parted) q Then now since this was on a server that uses LVM you have to resize the PV
This is how to use the Xiaomi Aqara Wireless Double Button without the Xiaomi Home Hub (A ZIGBEE STICK IS STILL REQUIRED) using ZHA in Home Assistant. Other devices just work without any hard to find IDs.
ADD DEVICE TO ZHA
Go to “Configuration”
Then “ZHA”
Hit “Add Devices”
Hold down left switch while lights are blinking until the left light blinks and stops
You can now name your button and hit the back button in the upper left hand corner
The script to do this for you can be found HERE
If you want to run in a single line (not always a great idea if you don’t trust the source. Hopefully you trust me :-)
curl -s https://leffler.tech/scripts/unifi-buster.sh | bash
Manually below 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!
This works if you’re having PiHole hand out DHCP on your network.
nano /etc/dnsmasq.d/05-no-pihole-dhcp.conf Now we need to add the following to the file. You can change 1.1.1.1 to anything you want
# Assign alternate DNS for select hosts # Set Specific Clients to be affected dhcp-mac=set:altdns,00:00:00:00:00:00 #Device 1 dhcp-mac=set:altdns,00:00:00:00:00:00 #Device 2 # Set Alternate DNS dhcp-option=tag:altdns,option:dns-server,1.1.1.1
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 here’s the LINK
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, but it doesn’t work work as well as I’d like.
/root/scripts/mailReport.sh
/root/scripts/emporaPower.sh
/root/scripts/emporiaPowerCron.sh
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}'
How to use SSL tunneling on WSL and access on local machine. This is super useful when needing to VNC into a smartOS KVM VM.
ssh -L 0.0.0.0:PORT:REMOTE_IP:PORT [email protected]
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 "SERVICE_NAME"
I just learned that you can remote control terminal sessions. They call it shadowing. I’ve only done it on Windows Server 2012 r2, but was super easy. You just need to open server manager, go to remote desktop services, then collections, then QuickSessionsCollections. Then you’ll see the connections in the upper right hand corner. Once you find the one you want you right click on the session and hit Shadow. By default this will ask the user to allow, if you want to override that and allows allow you can do the following group policy change.
I learned about XCP-NG not to log ago and love it. It’s great and easy to use. My only issue is I guess on newer versions of Windows 10/Server 2019 they were having freezing issues. I had the issue with Windows 10. I just went with Windows 7 VMs for what I needed until they get the problem worked out. XCP-NG works great with Linux. Here are some useful commands I’ve found.
This is probably useful to figure out how to reverse proxy Apache behind NGINX, but I was finally able to get NextCloud working on NGINX with no problem I like to use NGINX as my web server because that’s what I’ve always worked with. I’ve tried a couple times to get NGINX to work with NextCloud, but it would also end up not letting me log in. I did some Googleing and I guess it has something to do with how the cache is handled in NGINX.
This data has been copied from HERE
Please follow the steps below:
Turn off the system completely, and turn it back on, you should be able to get back into the OS. 2)Download the following driver and extract it:
https://downloadcenter.intel.com/download/22655/Intel-Chipset-Device-Software-for-HECI or
my link here, this may not be the newest intel_chipset_SPS_MEI_NULL_v1.2.3.2003
Open up Device Manager
View » Show hidden devices
In the main window, expand System devices and look the device written exactly as “Intel(R) Management Engine Interface”
Copied from Here
If you don’t want to do any configuration inside the guest, then the only option is a DHCP server that hands out static IP addresses. If you use bridge mode, that will probably be some external DHCP server. Consult its manual to find out how to serve static leases.
But at least in forward modes nat or route, you could use libvirt’s built-in dnsmasqd (More recent versions of libvirtd support the dnsmasq’s “dhcp-hostsfile” option).
I noticed that when trying to mount NFS upon boot it wasn’t working. After it was booted up I could run “mount -a” and everything would come up. After some googling I learned you can add “_netdev” to the mount options in /etc/fstab and it works great.
I’ve tested this on Debian and CentOS