How to install Nginx on Ubuntu
Nginx is one of the most popular web servers in the world. It is also known to be more resource-friendly than Apache in most cases and can be used as a web server or as a reverse proxy.
Install and use firewalld on Ubuntu
Firewalld is one of the Linux firewall management tool and it is available on the in the Ubuntu's default repositories, therefore it is available to
be installed from these repositories using the apt packaging system
.
Base64 Decode in Golang
Golang programing language provides built-in suport for base64 decoding. The base64 functions are available into the
encoding/base64
package. It provides implementations for both Standard, with or without padding and Filename safe Base64 decoding variant.
Arrays in Golang
An array is a data structure with a fixed size containing elements (items) of the same type. Iterate over an array using for loop
or for range loop
.
How to check the JDK version of a class file
When running a Java application it is mandatory that the JRE version to match or to be higher that the JDK version used to compile the application.
You will get the "Unsupported major.minor version 52.0" error when trying to run an Java 1.8 application using a lower version of Java.
Robots.txt File in SEO
A robots.txt file tells search engine crawlers which pages or files the crawler can or can't request from your site.
This is used mainly to avoid overloading your site with requests; it is not a mechanism for keeping a web page out
of Google. To keep a web page out of Google, you should use noindex
directives, or to password-protect
your page.