How to automatically backup files and directories in Linux
How to automatically backup files and directories in Linux using tar to archive and cron jobs.
log4j.properties basic examples
log4j.properties basic examples. Output to the console and to the file.
How to send emails using JavaMail
How to send emails using JavaMail. Simple example using a gmail account and proxy settings if needed.
How to build a LAMP stack (Linux, Apache, MySQL, PHP) on CentOS 7
How to build a LAMP stack (Linux, Apache, MySQL, PHP) on CentOS 7. The article includes the install + the firewall settings for public access.
How to calculate date/time difference in Java
How to calculate the date and time difference in Java using a simple method of division and remainder of division.
How to compare dates in Java
How to compare dates in Java using Date (compareTo, before, after, equals), Calendar(before, after, equals) and LocalDate(isBefore, isAfter, equals) classes.
Search
Other Posts
Follow Us On