TBA
Heisenberg - Digital Alchemist, Software Architect, Automation Specialist and Mechanical Engineer.
Labels
Monday, 19 October 2026
Sunday, 18 October 2026
Netbeans, java and unpack200
Modern versions of Java (JDK 14 and newer) have completely removed the unpack200 tool, which older NetBeans plugins (like the legacy C/C++ CND kit from NetBeans 8.2) rely on for extraction.
So we need the unpack200 binary from an older Java version, specifically JDK 8 or JDK 11 and this can be obtained from:
https://adoptium.net/en-GB/temurin/releases?os=mac&version=8
Choose the JDK and TAR.GZ
Extract and place somewhere, for example /opt/ and then when installing the C/C++ plugins from the NetBeans 8.2 Plugin Portal, which will fail, you can then point the unpack200 file to:
/opt/jdk8u504-b01/Contents/Home/bin/unpack200
Monday, 14 September 2026
Saturday, 5 September 2026
Mount Windows share in Linux
Brief note on mounting a windows share in Slackware.
Friday, 4 September 2026
Sunday, 30 August 2026
Build a working Debian system with MySQL 5.1
TBC
Saturday, 22 August 2026
Setting up a windows domain
This example uses Windows Server 2025
Thursday, 30 July 2026
Tuesday, 28 July 2026
DHCP server on Slackware using dnsmasq
Example configuration file:
Tuesday, 21 July 2026
Oracle database 11g on Oracle Linux 6.10/7.9
The below was carried out on VirtualBox
Thursday, 25 June 2026
Friday, 22 May 2026
RedHat Subscription
If a system is already registered and causing problems;
Saturday, 2 May 2026
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...
Friday, 6 February 2026
Monday, 19 January 2026
MariaDB Logging and old password support
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.
Thursday, 8 January 2026
MariaDB GTID position reset
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.
