takeown /F "<folder name>" /A /R /D Y
icacls "<folder name>" /T /grant administrators:F
rd /s /q "<folder name>"
In the above, replace with the full pathname of the folder you are trying to delete e.g. “Z:\Program Files” – make sure that you keep the quotes.
Discovered a great plugin for the Chrome browser today to enable capture of live video streams –
Stream Recorder by https://www.hlsloader.com/
Worth having a look if you are wanting to capture a video stream.
Below is a small code example that will post updates to EmonCMS using Python –
def postEmoncms(parameter_list): # parameter_list is a dictionary
host = 'your.emoncms.host' # Enter you host name or IP here
emoncmsApi = 'yourEmonCmsRwApiKey' # This must be your EmonCMS RW API Key
nodeName = 'nodeNameYouWantToUse' # The name of the node you want to update with these values
url = 'http://' + host + '/emoncms/input/post'
fullList = dict()
fullList['node'] = nodeName
fullList['apikey'] = emoncmsApi
fullList['json'] = str(parameter_list)
http = requests.Session()
r = http.post ( url,
valuesToPost = dict() # Create an empty dictionary to contain the values to post
valuesToPost['youKeyName1'] = 1 # First Key Name and value
valuesToPost['youKeyName2'] = 2 # Second Key Name and value
valuesToPost['youKeyName3'] = 3 # Third Key Name and value
postEmoncms(valuesToPost) # pass the keys to the post function
if __name__ == "__main__":
Some time ago my CurrentCost EnviR monitor stopped logging data to the attached Raspberry Pi. Initially I thought this was down to lack of input i.e. flat batteries in the OptiSmart Sensor. On checking this evening it appears that the serial cable, in particular the FTDI chip may have failed – checking around I’ve found the pinout for the cable so may have a go at making my own –
green/white (pin 7, data in to currentcost)
blue (pin 4, ground)
brown (pin 8, data out from currentcost)
You can still login to the Virgin Media shared Wifi if you cannot install the App on your device.
You will need the following –
<username> your Virgin Media account username e.g. email@example.com
<password> your Virgin Media account password
To Login –
Username – firstname.lastname@example.org
Password – <password>
EAP Method – TTLS
Phase 2 Authentication – MSCHAPV2
Note you must have a Virgin Media account/contract to use this service.