log4j.properties basic examples

  • 09 February 2017
  • ADM

log4j.properties basic examples. Output to the console and to the file.


How to compress files in ZIP format using Java

  • 24 January 2017
  • ADM

How to compress files in ZIP format using Java. The example takes a folder or file and adds all the files and sub-folders.


How to check if directory is empty in Java

  • 19 January 2017
  • ADM

How to check if a directory is empty in Java. Example using list() method of File class.


How to install maven on macOS

  • 06 December 2016
  • ADM

How to install maven on macOS. Simple 5 steps: download, extract, path, maven settings and test.


How to create Null Object Pattern in Java

  • 07 December 2016
  • ADM

How to create Null Object Pattern in Java. Simple example using object and null object class implementation.


How to install golang on Raspberry PI

  • 17 March 2017
  • ADM

How to install golang on Raspberry PI. Example using apt-get and using the latest binary available.