How to convert string to hex string in Golang

  • 26 June 2020
  • ADM

How to convert a string into a hex string in Golang using EncodeToString method from encoding/hex package.


How to convert hex to string in Golang

  • 12 April 2019
  • ADM

How to convert hex to string in Golang using the DecodeString method from encoding/hex package.


How to change the hostname in Ubuntu

  • 11 June 2018
  • ADM

How to change hostname in Ubuntu. There are three options: temporary until the first restart and permanent by changing the hostname file or using command hostnamectl


How to change Tomcat default port

  • 04 April 2018
  • ADM

How to change Tomcat default port 8080 to any other port. Three steps: locate server.xml file, edit and restart the Tomcat service.


Maven local repository location

  • 04 April 2018
  • ADM

Maven local repository default location for Linux and Windows and how to change the location.


How to read XML file in Java using SAX Parser

  • 04 April 2018
  • ADM

How to read XML file in Java using SAX Parser.