Below is a couple of additions I've made in the past to the build.xml files:
blog.david14.com
Heisenberg - Digital Alchemist, Software Architect, Automation Specialist and Mechanical Engineer.
Labels
Saturday, 8 March 2025
Tuesday, 18 February 2025
Creating a jar file, adding to, extracting and viewing the contents of...
Friday, 14 February 2025
Saturday, 25 January 2025
Force zerotier one to stop and preventing reload on Mac
To unload the service and stop:
launchctl unload -w /Library/LaunchDaemons/com.mysql.mysql.plist
To load the service and start:
launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist
[source]
Tuesday, 17 December 2024
Reset mySQL (mariadb) master/slave with GTID replication
To reset and start fresh, do;
Monday, 25 November 2024
Issue with slackpkg and gpg key
I found an issue while using slackpkg where the following error presented itself:
ERROR: Verification of the gpg signature on CHECKSUMS.md5
failed! This could mean that the file is out of date
or has been tampered with. If you use mirrors.slackware.com
as your mirror, this could also mean that the mirror to
which you got redirected is not yet updated with the most
recent changes in the Slackware tree.
Tuesday, 19 November 2024
An alternative way to use wget
Normally wget works as expected but every now and then, you page is forbidden or similar, so the below is an alternative approach;
Monday, 4 November 2024
Import certificate into Java keystore
The below example involves importing a Zscaler root CA certificate into the java keystore on my Slackware installation.
sudo keytool -import -trustcacerts -alias zscaler -file /etc/ssl/certs/Zscaler-Dalzell.crt -keystore /opt/jdk1.8.0_341/jre/lib/security/cacerts
Tuesday, 17 September 2024
Linux boot and shutdown times
who -b or uptime -s
To find the last shutdown time, we can do:
last -x | grep shutdown or last -x | grep reboot (output varies between distributions)
Monday, 17 June 2024
Information from SHOW SLAVE STATUS on mysql
SHOW SLAVE STATUS\G;