Loop 3 times times – Powershell

April 19th, 2017


Letsencrypt IIS

April 17th, 2017

@%SystemRoot%\System32\inetsrv\appcmd set config -section:staticContent -+”[fileExtension=’.’, mimeType=’text/plain’]”

Upgrading High Availability Deployments

March 3rd, 2017

Generally the recommended path for upgrading a High Availability cluster is to first upgrade the secondary node. After it comes back up, disable CARP on the primary node under Status > CARP, and run on the secondary for a period of time. If the secondary node is running comfortably as desired, upgrade the primary node and it will switch back to MASTER status after rebooting for the upgrade.



Update from Select MySQL

November 7th, 2016

UPDATE users AS U1, users AS U2

SET U1.name_one = U2.name_colX

WHERE U2.user_id = U1.user_id

Fastest way to delete large folders in Windows

July 23rd, 2016
del /f/s/q foldername > nul
rmdir /s/q foldername

TreeSize Free V3.45

June 25th, 2016


DS18B20 – 1-Wire Temperature Sensors

April 30th, 2016

Power/VCC sensor lead — Orange CAT-5/6 wire (pin 2)
Data sensor lead — Blue CAT-5/6 wire (pin 4)
GND (ground) sensor lead — White/Blue CAT-5/6 wire (pin 5

Feeds updating at incorrect time – Update Time Zone

April 30th, 2016

By default, the emonPi is set to the UTC time zone. You can set the time zone to match your location by connecting to the emonPi via SSH, and running :

Reset Emoncms to factory settings and erase all data

April 29th, 2016

If you want to erase all logged data, input processing and configuration from the local Emoncms on the emonPi, run the ‘factoryreset’ script in the emonpi directory:

$ rpi-rw
$ cd emonpi
$ sudo ./factoryreset
$ rpi-ro


July 1st, 2015