Git ignore file mode chmod changes

  • 22 March 2020
  • ADM

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


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 split a string in Java

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


How to get network interfaces in Java

  • 05 March 2018
  • ADM

How to get network interfaces in Java using NetworkInterface class.


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 kill a process from the command line in Window

  • 05 March 2018
  • ADM

How to kill a process from the command line in Window using tasklist and taskkill command.