Restart USB ports after a power overdraw (error -110). Unplug all devices prior to running script.
References:
/// <summary> | |
/// Provides helpers to manually toggle validation errors. | |
/// </summary> | |
public static class ManualValidation | |
{ | |
// this dummy attached property is used as a source | |
// of the binding. | |
static readonly DependencyProperty DummyProperty = | |
DependencyProperty.RegisterAttached("DummyProperty", typeof(object), typeof(ManualValidation), new PropertyMetadata(null)); |
#!/usr/bin/python | |
import sys | |
import time | |
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler | |
class RequestHandler(BaseHTTPRequestHandler): | |
def do_GET(s): | |
while True: | |
time.sleep(1000) |
Restart USB ports after a power overdraw (error -110). Unplug all devices prior to running script.
References:
Warning: I believe the paths to be outdated, as DDClient docs point to /etc/ddclient/ddclient.conf
instead of /etc/ddclient.conf
. However, this document should still work regardless.
Quick and easy steps to get DDClient running with Namecheap and as a systemd
service on Ubuntu Server OS.