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 remove a remote from git

  • 14 April 2020
  • ADM

To remove a remote you can use the command git remote rm in the terminal, from the root folder of your repository.


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


How to generate a fixed length random string using Golang

  • 18 February 2018
  • ADM

How to generate a fixed length random string using Golang using a dictionary of chars.