Sheet Metal Gauge
Heisenberg - Digital Alchemist, Software Architect, Automation Specialist and Mechanical Engineer.
If a system is already registered and causing problems;
I had tried building C/C++ applications for Windows XP using my Mac and mingw-w64 installed using Home-brew but it just didnt work out. This mostly resulted in the following when trying to run the executable on Windows XP;
What I finally discovered and use is, setting up a Docker image with the appropriate XP-compatible toolchain, ie. a MinGW that targets MSVCRT, not UCRT.
255.255.255.255 /32 (/31)
255.255.255.0 /24
255.255.254.0 /23
255.255.252.0 /22
255.255.240.0 /20
To get wget to prompt for a password do;
wget --user=someuser --ask-password somedomain/somedir/
For information only.
Download the product UMSKT https://github.com/UMSKT/UMSKT
and use the format umskt -i <Installation ID>
To allow the use of USB, we must add the user to the vboxusers group, this can be done with:
sudo /usr/sbin/usermod -aG vboxusers $USER
substitute $USER for a user other than the current user if needed.
Also worth doing is adding a directory for VM's such as /DATA/VM
We should then change the group to vboxusers by:
sudo chgrp -R vboxusers VM
and also set the group inheritance by
sudo chmod g+s VM
this ensures that any new files also have the vboxusers group.
When working with VB6 and uploading to GitHub, modify the .gitattributes file to look like the below:
For this example, we will be using dnsmasq on Slackware 14.2 with the Slackware 15 mirror.
Open your .bashrc file and add the line export EDITOR=vim or do;
echo 'export EDITOR=vim' >> ~/.bashrc
Then logout and back in or source .bashrc
If this doesn't work, try adding it to .bash_profile or do;
echo 'export EDITOR=vim' >> ~/.bash_profile
and then again, logout and back in or do source .bash_profile
NOTE: We can test using echo $EDITOR
I think on is fine for when at the console and the other for remote sessions, maybe...
For old password compatibility, do
SET GLOBAL old_passwords = 1;
SET PASSWORD FOR 'repl'@'%' = PASSWORD('the_password');
SET GLOBAL old_passwords = 0;
We can also try SET GLOBAL secure_auth=OFF; however I found this made no difference when running MariaDB 10.5 and attempting to connect with an old (presumable 4.1) client.
On Master, do SELECT @@gtid_current_pos;
then on Slave, do SET GLOBAL gtid_slave_pos = 'GTID_FROM_SERVER_1';
if need be do;
CHANGE MASTER TO
MASTER_HOST='server1',
MASTER_USER='replica_user',
MASTER_PASSWORD='password',
MASTER_USE_GTID=slave_pos;
then;
Start Slave;
SHOW SLAVE STATUS/G;
A note on the above, do it quickly, in case the position changes.
SELECT @@gtid_slave_pos, @@gtid_current_pos; should show the same.