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 open port for a specific IP address on CentOS 7
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
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
GET/POST request tutorial using Apache HttpClient. The tutorial is using httpbin.org test server.
How to make a file read only in Java
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
How to decompress files from ZIP format using Java. The example will unzip all files to a specific folder.
Search
Other Posts
Follow Us On