Skip to main content

To pull images from Docker Hub without having to prefix the image name with 'docker.io' update the file /etc/containers/registries.conf with the following snippet:

unqualified-search-registries = ["mylocalregistry:5005", "docker.io"]

Installing and Managing VSCode Extensions via the Command Line

DescriptionCommand
Install extensioncode --install-extension <ext>
Uninstall extensioncode --uninstall-extension <ext>
Disable extensioncode --disable-extensions
List all install extensionscode --list-extensions --show-versions

Manually Updating ClamAV on a QNAP NAS

Attempting to update ClamAV can sometimes fail without error. This usually occurs when the virus definitions haven't been updated for some time. Manually updating will bring the definitions up to date and also allow auto update to work.

To manually update, download the files from below and import them into the ClamAV app on the NAS.

Update locations:

A simple powershell script to Start/Stop a Windows service, the example below can be used to Start/Stop the Tobii Eye Tracker service.

# Name of service to track, can be changed to stop/start any service.
$service = get-service TobiiIS5LEYETRACKER5

if ($service.Status -eq "Stopped") {
$service.start();
Write-Host -ForegroundColor Yellow $service.name "is now Running";
}
elseIf ($service.status -eq "Running") {
$service.Stop();
Write-Host -ForegroundColor Yellow $service.name "is now Stopped";
}

How to Run:

Create a new shortcut and set the target as follows:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File <insert path to script>\start-stop-tobii.ps1