How to automatically backup files and directories in Linux

  • 10 February 2017
  • ADM

How to automatically backup files and directories in Linux using tar to archive and cron jobs.


log4j.properties basic examples

  • 09 February 2017
  • ADM

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


Log4j Logging Levels

  • 08 February 2017
  • ADM

Log4j Logging Levels explained. For the standard levels, this is the order: ALL


How to send emails using JavaMail

  • 08 February 2017
  • ADM

How to send emails using JavaMail. Simple example using a gmail account and proxy settings if needed.


Java 8 forEach examples

  • 07 February 2017
  • ADM

Java 8 forEach examples. Map and list loop using lambda, method reference, stream and filter.


How to sort objects with Comparable and Comparator in Java

  • 04 February 2017
  • ADM

How to sort objects with Comparable and Comparator in Java. Primitive array and list sorting. Java Object sorting with Comparable and Comparator.