Skip to main content

Tutorials

How To Install Nginx on Ubuntu 16.04
Tutorials Nginx Ubuntu Ubuntu 16.04
Introduction> Introduction # Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. It is more resource-friendly than Apache in most cases and can be used as a web server or a reverse proxy.
How To Set Up SSH Keys on Ubuntu 12.04
Tutorials DigitalOcean Linux Basics Security
Introduction> Introduction # The Secure Shell Protocol (or SSH) is a cryptographic network protocol that allows users to securely access a remote computer over an unsecured network. Though SSH supports password-based authentication, it is generally recommended that you use SSH keys instead.
How To Build a Node.js Application with Docker
Tutorials Applications Docker Node.js Ubuntu 18.04
Introduction> Introduction # The Docker platform allows developers to package and run applications as containers. A container is an isolated process that runs on a shared operating system, offering a lighter weight alternative to virtual machines.
How To Use Style and Class Bindings in Vue.js
Tutorials Vue.js
Introduction> Introduction # In this article, you will learn about dynamic style and class bindings in Vue.js. With the v-bind:style directive, you will visualize your font size on a click event.
The Basics of Using the Sed Stream Editor to Manipulate Text in Linux
Tutorials Linux Basics Linux Commands
Introduction> Introduction # The sed command, short for stream editor, performs editing operations on text coming from standard input or a file. sed edits line-by-line and in a non-interactive way.
How To Set Up SSH Keys on CentOS 7
Tutorials CentOS Getting Started Linux Basics Security System Tools
Introduction> Introduction # SSH, or secure shell, is an encrypted protocol used to administer and communicate with servers. When working with a CentOS server, chances are, you will spend most of your time in a terminal session connected to your server through SSH.
How To Secure Nginx with Let’s Encrypt on Ubuntu 16.04
Tutorials Let's Encrypt Nginx Security Ubuntu 16.04
Introduction> Introduction # Let’s Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. It simplifies the process by providing a software client, Certbot, that attempts to automate most (if not all) of the required steps.
How To Write Conditional Statements in JavaScript
Tutorials Development JavaScript
Introduction> Introduction # In programming, there will be many occasions in which you will want different blocks of code to run depending on user input or other factors. As an example, you might want a form to submit if each field is filled out properly, but you might want to prevent that form from submitting if some required fields are missing.
How To Work with Arrays in Ruby
Tutorials Development Ruby
Introduction> Introduction # An array is a data structure that represents a list of values, called elements. Arrays let you store multiple values in a single variable. In Ruby, arrays can contain any data type, including numbers, strings, and other Ruby objects.
How To Set Up Apache Virtual Hosts on Debian 8
Tutorials Apache Debian Deployment DNS
Introduction> Introduction # The Apache web server is the most popular way of serving web content on the internet. It accounts for more than half of all active websites on the internet and is extremely powerful and flexible.
How To Use node-cron to Run Scheduled Jobs in Node.js
Tutorials Development DigitalOcean App Platform JavaScript Node.js
Introduction> Introduction # cron provides a way to repeat a task at a specific time interval. There may be repetitive tasks such as logging and performing backups that need to occur on a daily or weekly or monthly basis.
Docker Explained: How To Containerize Python Web Applications
Tutorials Docker Python Ubuntu
Status: Deprecated> Status: Deprecated # This article is deprecated and no longer maintained. Reason> Reason # The techniques in this article are outdated and may no longer reflect Docker best-practices.
How to Set Up and Configure an OpenVPN Server on Debian 6
Tutorials Debian VPN
Getting Started> Getting Started # You will need to open an SSH connection on your cloud server as the root user or an SSH connection to a user with sudo access.
How To Serve Django Applications with uWSGI and Nginx on Ubuntu 14.04
Tutorials Deployment Django Nginx Python Python Frameworks Ubuntu
Introduction> Introduction # Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightly production related, a more secure and powerful web server is required.
Understanding List Comprehensions in Python 3
Tutorials Development Python
Introduction> Introduction # List comprehensions offer a succinct way to create lists based on existing lists. When using list comprehensions, lists can be built by leveraging any iterable, including strings and tuples.
How To Enable Linting on Save with Visual Studio Code and ESLint
Tutorials JavaScript
Introduction> Introduction # Style guides allow us to write consistent, reusable, and clean code. These rules can be automated and enforced with linters. This will spare you from manually checking for indentation or using single quotes or double-quotes.
How To Scale and Crop Images with CSS object-fit
Tutorials CSS
Introduction> Introduction # You will likely encounter a scenario where you will want to preserve the original aspect ratio when working with images. Preserving the aspect ratio will prevent images from appearing distorted by either being stretched or squished.
How To Use Apache as a Reverse Proxy with mod_proxy on Ubuntu 16.04
Tutorials Apache Load Balancing Ubuntu Ubuntu 16.04
Introduction> Introduction # A reverse proxy is a type of proxy server that takes HTTP(S) requests and transparently distributes them to one or more backend servers. Reverse proxies are useful because many modern web applications process incoming HTTP requests using backend application servers.
How To Create a Real-Time App with Socket.IO, Angular, and Node.js
Tutorials Angular Node.js
Introduction> Introduction # WebSocket is the internet protocol that allows for full-duplex communication between a server and clients. This protocol goes beyond the typical HTTP request and response paradigm. With WebSockets, the server may send data to a client without the client initiating a request, thus allowing for some very interesting applications.