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 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.


How to build a LAMP stack (Linux, Apache, MySQL, PHP) on CentOS 7

  • 31 January 2017
  • ADM

How to build a LAMP stack (Linux, Apache, MySQL, PHP) on CentOS 7. The article includes the install + the firewall settings for public access.


GET/POST request with Apache HttpClient

  • 27 January 2017
  • ADM

GET/POST request tutorial using Apache HttpClient. The tutorial is using httpbin.org test server.


How to make a file read only in Java

  • 26 January 2017
  • ADM

How to make a file read-only in Java. Simple example using File.setReadOnly() and File.setWritable(boolean) methods.


How to decompress files from ZIP format using Java

  • 25 January 2017
  • ADM

How to decompress files from ZIP format using Java. The example will unzip all files to a specific folder.