- Linux Resources
This article covers how to install the Jupyter Notebook web application on Ubuntu 20.04. In fact, Jupyter Notebook is easy to install and can be used to streamline numerical simulation, data transformation & cleaning, machine learning, and statistical modeling.
To install Pip, Python, and Python development, simply run the below command:
$ sudo apt-get -y install python3python-pip python-dev
The command above will install the most recent version of Python and Python Pip; a reliable Python package manager that makes it easy to manage the Python packages. In addition, Python Development will be installed.
This article covers a complete step by step procedure to install a CD/DVD burner application brasero on CentOS 8 system. In fact, brasero software package provides CD/DVD burning application for GNOME.
You can install in your Ubuntu 17.04 (Zesty Zapus) by running the commands given below on the terminal:
$ sudo apt-get update
$ sudo apt-get install brasero
This article covers how to install ImageMagick on the CentOS machine via different methods. Infact, ImageMagick provides a graphical interface for working with images, it also provides commands to resize an image, blur, crop, draw on, flip, join, re-sample, and much more.
This article covers how to use bash shebang in Linux. In fact, the first line in the scripts starts with the #! characters and the path to the Bash interpreter is called shebang and is used to tell the operating system which interpreter to use to parse the rest of the file.
The #! syntax used in scripts to indicate an interpreter for execution under UNIX / Linux operating systems. Most Linux shell and perl / python script starts with the following line:
sh is the standard command interpreter for the system. The current version of sh is in the process of being changed to conform with the POSIX 1003.2 and 1003.2a specifications for the shell.
This article covers the procedure on how to reverse a string in Python. Strings can be reversed using slicing. To reverse a string, we simply create a slice that starts with the length of the string, and ends at index 0.
To reverse a string using slicing, write:
$ stringname[stringlength::-1] # method 1
Or write without specifying the length of the string:
$ stringname[::-1] # method2
The slice statement means start at string length, end at position 0, move with the step -1 (or one step backward).
This article covers how to enable HTTP/2 on the Nginx webserver on Ubuntu 20.04. In fact, the primary focus of HTTP/2 is to reduce overall web page loading time, thus improving performance. It also focuses on network and server resource usage as well as security because, with HTTP/2, SSL/TLS encryption is mandatory.
If the Nginx server is sitting behind a web application firewall, ensure that the web application firewall (WAF) is capable of parsing HTTP/2 traffic.
HTTP/2 protocol main advantage over its predecessor HTTP 1.1 is that it has a higher transfer speed required for content-rich websites.