Swap Space featured image

Adding Swap Space on Ubuntu 20.04: A Tutorial

Adding swap space to your server is an excellent option to compensate for out-of-memory errors. Linux allows users to add swap space in their system when the amount of RAM in the system is full. When you create a dedicated space partition, you will allow your physical memory to run smoothly without much worrying about low disk space. Swap Overview …

Flex Layout in Angular featured image

Implementing Flex Layout in Angular: A How-To Guide

Introduction CSS Flex Layout is used to create flexible fluid layouts. However, when using Angular there are scenarios when we need more dynamic control over the layouts. Further, using CSS Flexbox requires complicated styling which can be hard for many developers. Flex Layout is a component engine that aims to solve this problem. It provides a set of directives that …

Angular Router featured image

Navigation with RouterLink, Navigate, and NavigateByUrl in Angular Router

Introduction Angular applications are very common these days. They are built with the concept of Single Page Applications (SPA). In such applications, routing across the web pages is different from traditional websites since components are used. In Angular, you need to use RouterLink for navigation to route across the application. RouterLink is a directive, and it provides Router.navigate and Router.navigateByURL

R on Ubuntu featured image

Installing R on Ubuntu 21.04: A Tutorial

R is a programming language that specializes in working with data. R is free software that supports an extensive catalog of statistical and graphical methods. The list includes various machine learning algorithms, time series, linear regression, and more. It’s used by industry giants like Google, Facebook, Airbnb, Uber, etc. As the description suggests, R is the go-to option when big …

JSON.parse() and JSON.stringify() featured image

A Tutorial on Working with JSON.parse() and JSON.stringify()

JSON stands for JavaScript Object Notation. It is used to describe JavaScript objects. It is a data-sharing format that specifies data values using key-value pairs. The JSON object is supported across all major browsers. This tutorial requires that you are familiar with JavaScript and working with the JSON object. To get familiar with JSON, you can take a look at …

Generating SSH Key Pairs with PuTTY featured image

Generating SSH Key Pairs with PuTTY to Connect to a VPS

Security is a prime consideration for server admins, especially when there is a need to access servers remotely at regular intervals. Protection from cyber-attacks is of crucial importance to streamline workflows and to ensure business continuity. The standard practice of using a username and password is highly insecure, unsafe, and ineffective. You need a robust and advanced method like SSH …

Functions in Python featured image

Defining Functions in Python 3: A Tutorial

In programming, a function is described as a block of instructions that can perform a certain action. A function is generally re-usable. Using functions makes the code more modular. It also opens up the opportunity of re-using the code over and over again in the future. Python is a robust programming language that supports functions. It already comes with a …

Using HTTP client Axios in a React Application featured image

Using HTTP client Axios in a React Application: A Tutorial

Many web apps face the necessity of interfacing with a REST API at some point in their development. For React-based web apps, we can use Axios, a lightweight HTTP client based on the $http service within Angular.js v1.x. The features are similar to JavaScript’s native Fetch API. Axios is promise-based, allowing us the ability to incorporate JavaScript’s async and await

Apache Tomcat installation blog post featured image

Installing Apache Tomcat 9 on Ubuntu 20.04

Apache Tomcat software is a Java-based HTTP server that can run Java technologies like Java Servlet, JavaServer Pages (JSP), and Java Expression Language. The advanced built-in customization options, high flexibility, and impressive stability make the software highly in-demand and a popular pick among developers globally. Let’s see what makes Apache Tomcat stand out among competitors: Open-Source Apache Tomcat is an …

MySQL with Ruby on Rails featured image

Using MySQL with Ruby on Rails App on Ubuntu 21.04

Ruby is a powerful programming language. It’s an interpreted, high-level, and general-purpose language that incorporates multiple programming paradigms. Yukihiro Matsumoto, the creator of Ruby, blended various parts of his favorite programming languages like Perl, Ada, Lisp, Eiffel, Smalltalk, etc., and created Ruby. In his own words, he intended to make Ruby “more natural, not simple”. Much of the popularity of …

WordPress with MySQL featured image

Setting Up WordPress With MySQL On Kubernetes With Helm

Kubernetes is now the standard way to deploy applications that are scalable and have high availability. Kubernetes allows developers to quickly bring up and down instances as needed to ensure smooth delivery of content. To learn more about Kubernetes, follow our detailed guide Getting to Know Kubernetes. Helm is a very popular package manager that is used to install applications …

Deployment with Git featured image

How to Configure Automatic Deployment with Git with a VPS

Git is the most popular version control system in the field of software development. It’s open-source and actively maintained since 2005 by Linus Torvalds, the famous creator of Linux. Today, a staggering number of software projects (including commercial ones) use Git for version management. Git follows a distributed architecture, making it a perfect example of a DVCS (Distributed Version Control …