JavaScript Prototype featured image

Working with JavaScript: How Prototypes and Inheritances Operate

Introduction JavaScript is one of the most popular programming languages. If you know anything about computer programming, you have probably heard of JavaScript. If you dig into a little more detail, you will discover that JavaScript is a prototype-based language. This means that you can use general objects to share object properties and methods. You can clone or even extend …

How to Crawl a Web Page with Scrapy and Python 3

Web scraping, web crawling, web harvesting, or web data extraction are synonyms referring to the act of mining data from web pages across the Internet. Web scrapers or web crawlers are tools that go over web pages programmatically extracting the required data. These data, which is usually large sets of text can be used for analytical purposes, to understand products, …

Apache web server featured image

Installing the Apache Web Server on CentOS 7

A web server stores, processes and delivers web pages to website visitors. There are quite a few Open Source web server software options, but the Apache HTTP server is deemed as the most widely used web server in the world. This is because, apart from being open-source, its modular architecture allows extending its capabilities through adding modules to serve different …

Share Data Between Docker Container and Host featured image

How To Share Data Between a Docker Container and a Host

Introduction Generally, Docker containers only run for a certain period of time – the time it takes to run the command. The data that is available inside the container can only be accessed from within the container during the runtime. Docker volumes can be used for accessing the files easily and storing them for a longer period. For example, if …

Python features image

Using Python 3 String Formatters

Introduction The str.format() method in the string class of Python lets you do a variety of value formatting and substitution. Positional formatting and concatenation of elements within a string are done using string formatters in Python 3. In this tutorial, you will learn about the common uses of string formatters in Python. Formatting the strings will help you write more …

Nginx Server featured image

Nginx Server and Location Block Selection Algorithms: Overview

Introduction Nginx is among the world’s most popular web server options. It is able to successfully deal with a multitude of simultaneous client connections. At the same time, it is functioning as a mail, web, or reverse proxy server. This guide aims to outline the behind-the-scenes methods that direct how Nginx processes client requests. We will demystify the server and …

Setting up a UFW on Ubuntu and Debian Cloud Server

Introduction We all know that computer security is essential for protecting your data. If a hacker was to find their way into your server, they can cause some serious damage. To make sure this doesn’t happen, you need to employ the appropriate security measures. The first line of defense that any incoming threat would encounter in a safeguarded system would …

JavaScript HTML

A Guide on Adding JavaScript to HTML

Introduction JavaScript needs no introduction. It is one of the most popular programming languages for web development. It works similar to HTML and CSS. All of these languages help design and develop web-based applications and programs. So how is JavaScript useful in particular? With the help of JavaScript, you can make your web applications and web pages quite interactive. There …

mod_proxy Extension: Using Apache as a Reverse Proxy

A Guide on the mod_proxy Extension: Using Apache as a Reverse Proxy

Introduction Third-party extensions are extremely helpful additions. These make your experience of configuring and working with a server, such as Apache HTTP, much simpler and more facilitative. In a time of need, you can even use some of these modules in Apache to run a reverse proxy. You can either remove a layer from your server setup or you can …

Data Types

Python 3: A Guide on Converting Data Types

Introduction Python is a programming language that is often used for system integration purposes. This language uses something called ‘data types’. These data types help classify or define a given type of data. This means that a particular data type pertains to specific values and operations that you can apply to it. Each data type is programmed and edited in …

Loops in Python 3 featured image

Loops in Python 3: Using Break, Continue, and Pass Statements

Introduction There are two types of loops that you can employ in Python 3. You have for loops and while loops. You can use them for repeat tasks. As a result, the repetitive tasks will happen automatically, making the process more efficient. Unfortunately, your loops can encounter some problems. At times, your program may run into an issue where you …

phpBB featured image

Installing phpBB on Ubuntu 20.04

PhpBB stands for “PHP Bulletin Board.” It’s a free flat-forum bulletin board software solution. It’s licensed under the GPL license as free and open-source software. PhpBB can instantly establish a dedicated space for people to gather and communicate. It also supports popular database engines (MySQL, Oracle Database, SQLite, PostgreSQL, etc.), flat message structures, hierarchical sub-forums, user groups, full-text search, plugins, …