A cross platform application to perform controlled application startup's
blog.david14.com
Heisenberg - Digital Alchemist, Software Architect, Automation Specialist and Mechanical Engineer.
Labels
Sunday, 26 April 2026
Friday, 24 April 2026
Target windows XP from Mac using Netbeans and Docker
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.
Wednesday, 22 April 2026
Common Network Masks
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
Sunday, 19 April 2026
Friday, 3 April 2026
wget
To get wget to prompt for a password do;
wget --user=someuser --ask-password somedomain/somedir/
Monday, 23 March 2026
Windows Activation
For information only.
Download the product UMSKT https://github.com/UMSKT/UMSKT
and use the format umskt -i <Installation ID>
Saturday, 21 March 2026
Working with USB in Virtualbox under a Linux host
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.
Wednesday, 4 March 2026
Visual Basic 6 and LF, forcing to git to use CRLF
When working with VB6 and uploading to GitHub, modify the .gitattributes file to look like the below:
* text=auto
# VB6 source files must stay CRLF
*.bas text eol=crlf
*.cls text eol=crlf
*.frm text eol=crlf
*.vbp text eol=crlf
*.vbg text eol=crlf
*.ctl text eol=crlf
*.dsr text eol=crlf
*.txt text eol=crlf
# VB6 binary companion files
*.frx binary
*.res binary
*.exe binary
*.ocx binary
*.dll binary
Sunday, 8 February 2026
Slackware minimum PXE boot example
For this example, we will be using dnsmasq on Slackware 14.2 with the Slackware 15 mirror.
Saturday, 7 February 2026
crontab -e not opening correct editor
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...
