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.

Jan 202018

ADM

How to split a string in Java

  • January 20 2018
  • ADM

How to split a string in Java using both variants of the split() method: split(String regex) and split(String regex, int limit).

Nov 302017

ADM

How to get network interfaces in Java

  • November 30 2017
  • ADM

How to get network interfaces in Java using NetworkInterface class.

Nov 292017

ADM

How to generate JAXB classes with xjc

  • November 29 2017
  • ADM

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