Mar 152018

ADM

How to check if file exists in Golang

  • March 15 2018
  • ADM

How to check if a file exists in Golang using os.Stat method. A FileInfo describing the named file or an error is returned.

Mar 102018

ADM

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

  • March 10 2018
  • ADM

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

Mar 12018

ADM

How to Install GoLang 1.10 on Ubuntu

  • March 1 2018
  • ADM

How to Install GoLang 1.10 on Ubuntu. This can be applied to any Golang version and for any Ubuntu version.

Feb 152018

ADM

Git ignore file mode chmod changes

  • February 15 2018
  • ADM

How to make Git to ignore file modified by chmod changes. Using core.fileMode git config.

Feb 32018

ADM

How to stop and remove all Docker containers

  • February 3 2018
  • ADM

How to stop and remove all Docker containers using two commands. Useful for fresh restart or when you run out of disk space.

Feb 22018

ADM

How to setup a proxy with authentication for HTTP client in Golang

  • February 2 2018
  • ADM

How to setup a proxy with authentication for HTTP client in Golang example using http.Transport and http.Client. Simple example calling httpbin.org test server.

Feb 12018

ADM

How to setup a proxy for HTTP client in Golang

  • February 1 2018
  • ADM

How to setup a proxy for HTTP client in Golang example using http.Transport and http.Client. Simple example calling httpbin.org test server.