Pass ports on to WSL2
In a PowerShell with administrative rights, execute: Here we’re adding a port forward for connections that come in on any interface on port 80 and passing them to the IP address of the default WSL2 instance.
Read More »Mount Linux NFS in Windows Using Specific UID and GID
Turn on Windows Feature: Services for NFS – Client for NFS Create file C:\Windows\System32\drivers\etc\passwd: windows-user:x:linux-uid:linux-gid::: Create file C:\Windows\System32\drivers\etc\group: windows-user:x:linux-gid: Now from the command line, mount with: mount -o casesensitive=yes \\server\path Z: use mount /? to see more options. use mount to show current mounts with their properties.
Read More »Clear MariaDB root@localhost password
$ sudo mariadb -uroot > alter user root@localhost identified by ”; > flush privileges; > exit $ mariadb -uroot Or if version < 10.2 try $ sudo mariadb > UPDATE mysql.user SET plugin = ‘mysql_native_password’ WHERE user = ‘root’; > flush privileges; > exit
Read More »Delphi 6 HTTPS
https://github.com/IndySockets https://github.com/IndySockets/Indy https://github.com/IndySockets/OpenSSL-Binaries
Read More »Installing PHP 7.4 on Debian on WSL
https://packages.sury.org/php/README.txt #!/bin/sh # To add this repository please do: if [ “$(whoami)” != “root” ]; then SUDO=sudo fi ${SUDO} apt-get update ${SUDO} apt-get -y install apt-transport-https lsb-release ca-certificates curl ${SUDO} curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg ${SUDO} sh -c ‘echo “deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main” > /etc/apt/sources.list.d/php.list’ ${SUDO} apt-get update
Read More »Code Signing a Windows Application on Linux on Windows
I refreshed my Windows 10 development PC the other day. I tend to do a refresh about once every three months to keep things tidy. It’s usually quite straight forward getting all my apps and documents back to the way I like them except, that is, for Microsoft’s signtool.exe. For some reason it always seems […]
Read More »