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 sort objects with Comparable and Comparator in Java
How to sort objects with Comparable and Comparator in Java. Primitive array and list sorting. Java Object sorting with Comparable and Comparator.
How to export and import a .sql file in MySQL from command line
How to export and import a .sql file in MySQL from command line. Simple commands with multiple parameters.
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.
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.
Search
Other Posts
Follow Us On