Java Custom Annotations Example

  • 26 July 2018
  • ADM

How to create Java Custom Annotation. A simple example of creating Annotations in Java and usage by calling the Reflection API.


How to execute shell command from Java

  • 20 June 2018
  • ADM

How to execute a shell command from Java using Runtime.getRuntime().exec() method.


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 stop and remove all Docker containers

  • 16 March 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.


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

  • 22 March 2020
  • 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.


How to setup a proxy for HTTP client in Golang

  • 05 March 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.