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"]
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
Description | Command |
---|---|
Install extension | code --install-extension <ext> |
Uninstall extension | code --uninstall-extension <ext> |
Disable extension | code --disable-extensions |
List all install extensions | code --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";
}
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