phpMyAdmin on demand

If you are like me only using phpMyAdmin a few times every year, it can be a good idea and a easy security measure to disable the config when not needed. You can disable phpMyAdmin by disabling the module configuration: Enable it again with:

Published
Categorized as Ubuntu, Web

Raspberry Pi 4 PoE HAT

I recently installed Home Assistant with ZHA and wanted to place the device in a little more cramped space. The PoE HAT enables me to do exactly that. One problem. The fan is a little on the loud side. With managed OS in HA there is no way to edit the /boot/config.txt file while running.… Continue reading Raspberry Pi 4 PoE HAT

Dynalite Motion Sensor

Best practice use for the motion sensor. Timeout on Preset 1 defines the “light on” length.

Published
Categorized as Dynalite

Change hostname on Ubuntu 18.04 LTS

If you have Cloud cloud-ini installed you will have to edit to preserve your new hostname. When that is done, run the rename command Edit /etc/hosts so it corresponds with your new hostname You can verify your changes by running At last, reboot and it should show the correct hostname.

Upgrade Windows edition with Dism

Have you downloaded the Evaluation ISO and want to make it real? Not a problem with Dism. The above key is for Server 2016 Standard AVMA activation. You can find more keys for that here if you have Datacenter on your host. Dism documentation: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-windows-edition-servicing-command-line-options

How to safely clean up WinSxS

Windows Update may in some occasions not automatically clean up after it self. The fastest and safest way to do so is to run the following. For more options and documentation you can read the source here;https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder