Arrays in Golang

  • 12 April 2020
  • ADM

An array is a data structure with a fixed size containing elements (items) of the same type. Iterate over an array using for loop or for range loop.


How to delete the Windows.old folder from Windows 10

  • 30 July 2020
  • ADM

If you recently update your OS to Windows 10, you might notice that you are running out of space. If this is happening it might be because the old version of the Windows is not yet deleted from the disk, it is stored into "Windows.old" folder. And depending on the size of that version, it could be taking a lot of precious space.


How to marshal a JAXB object into org.w3c.dom.Document

  • 23 March 2018
  • ADM

How to marshal a JAXB object into org.w3c.dom.Document using Transformer class and formatted console print.


How to generate JAXB classes with xjc

  • 05 March 2018
  • ADM

How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd


SWT Hello World Application

  • 01 June 2017
  • ADM

SWT Hello World Application. A simple application that can be used as a base for any SWT application.


How to convert XML file into properties data in Java

  • 04 April 2017
  • ADM

The java.util.Properties class come with a loadFromXML() method to convert an XML file to properties data.