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.


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.


How to open port for a specific IP address on CentOS 7

  • 02 February 2017
  • ADM

How to open port for a specific IP address on CentOS 7. Using the firewall-cmd command with add-rich-rule parameter.