Tutorials

Follow along with one of our 4104
development and sysadmin tutorials.

3918 Tutorials
  • Tutorial

    How To Build and Deploy a Flask Application Using Docker on Ubuntu 20.04

    Docker is an Open Source application that allows administrators to create, manage, deploy, and replicate applications using containers. Flask is a web micro-framework that is built on Python. In this tutorial, you wil...
    By Michael Okoh, Alex Garnett Docker Flask Nginx Ubuntu Ubuntu 20.04
  • Tutorial

    How To Encode and Decode Strings with Base64 in JavaScript

    Learn how to use JavaScript's btoa() and atob() to convert strings from binary data to ASCII and vice versa.
    By Nicholas Cerminara JavaScript
  • Tutorial

    How To Use __dirname in Node.js

    __dirname is an environment variable that tells you the absolute path of the directory containing the currently executing file. In this article, you will explore how to implement __dirname in your Node.js project.
    By William Le Node.js
  • Tutorial

    How to Create a Countdown Timer with React Hooks

    In this tutorial, you will create a countdown timer. This timer will help you learn how to leverage React hooks to update state and manage side effects in a React component.
    By joshtronic React
  • Tutorial

    How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 18.04

    In this guide, you will build a Python application using the Flask microframework on Ubuntu 18.04. The bulk of this article will be about how to set up the Gunicorn application server and how to launch the applicatio...
    By Justin Ellingwood, Kathleen Juell Python Frameworks Python Nginx Ubuntu Ubuntu 18.04
  • How To Work with Numbers in PHP

    Being able to effectively perform mathematical operations in programming is an important skill to develop because of how frequently you’ll be working with numbers. This tutorial will go over many different operators t...
    By alenaholligan PHP Development
  • Tutorial

    How To Use Query Parameters with Angular Router

    In this article, we will reference an example of an application that displays a list of products to understand how to use query parameters.
    By Alligator.io Angular
  • Tutorial

    How To Use Axios with React

    Axios is a lightweight, promise-based HTTP client. In this article, you will explore examples of how to use Axios to access the popular JSON Placeholder API within a React application.
    By PaulHalliday React
  • How To Create a Django App and Connect it to a Database

    In this tutorial, you will learn how to set up the initial foundation for a blog website with connections to a MySQL database. This will involve creating the skeleton structure of the blog web application using django...
    By Jeremy Morris Django Development Programming Project Ubuntu 20.04 Python Frameworks
  • How To Make Your Vue.js Application DRY with Slots, Mixins, and Composition API

    DRY is a programming strategy that stands for "Don't Repeat Yourself". It encourages code re-usability through modular architecture. Vue.js includes several strategies to modularize and re-use repeated snippets of cod...
    By Dave Berning Development JavaScript Vue.js
  • Tutorial

    Understanding Vue.js Lifecycle Hooks

    Lifecycle hooks are a window into how the library you're using works behind-the-scenes. Lifecycle hooks allow you to know when your component is created, added to the DOM, updated, or destroyed. This article will intr...
    By Joshua Bemenderfer Vue.js
  • Tutorial

    How To Lint and Format Code with ESLint in Visual Studio Code

    ESLint is a linter that you can integrate into your Visual Studio Code setup in order to ensure code integrity. In this tutorial, you will set up ESLint on Visual Studio Code and implement a custom configuration to de...
    By James Quick VS Code
  • Tutorial

    How To Use node-cron to Run Scheduled Jobs in Node.js

    Use Node.js and the node-cron library to schedule jobs to manage logs, back up databases, and send emails.
    By Chris Nwamba Development Node.js JavaScript DigitalOcean App Platform
  • Tutorial

    How To Build a Hashicorp Vault Server Using Packer and Terraform on DigitalOcean

    Vault, by Hashicorp, is an open-source tool for securely storing secrets and sensitive data in dynamic cloud environments. Packer and Terraform, also developed by Hashicorp, can be used together to create and deploy i...
    By Savic Terraform Configuration Management
  • Tutorial

    How To Securely Manage Secrets with HashiCorp Vault on Ubuntu 20.04

    Vault is an open-source tool that provides a secure, reliable way to store and distribute secrets like API keys, access tokens, and passwords. Software like Vault can be critically important when deploying application...
    By Tyler Langlois, Alex Garnett Let's Encrypt Security Ubuntu Ubuntu 20.04
  • Tutorial

    How To Move an Nginx Web Root to a New Location on Ubuntu 20.04

    On Ubuntu, by default, the Nginx web server stores its documents in /var/www/html, which is typically located on the root filesystem with the rest of the operating system. Sometimes, though, it’s helpful to move the d...
    By Melissa Anderson, Alex Garnett Block Storage Nginx Storage Ubuntu Ubuntu 20.04
  • Tutorial

    How To Use Certbot Standalone Mode to Retrieve Let's Encrypt SSL Certificates on Ubuntu 20.04

    Certbot offers a variety of ways to validate your domain, fetch certificates, and automatically configure Apache and Nginx. In this tutorial, we'll discuss Certbot's standalone mode and how to use it to secure other t...
    By Brian Boucheron, Alex Garnett Let's Encrypt Security Ubuntu Ubuntu 20.04
  • Tutorial

    How To Use the JavaScript Fetch API to Get Data

    In this tutorial, you will create both GET and POST requests using the Fetch API.
    By Sara Vieira
  • Conceptual article

    SOLID: The First 5 Principles of Object Oriented Design

    SOLID is an acronym for the first five object-oriented design (OOD) principles by Robert C. Martin. In this article, you will be introduced to each principle individually to understand how SOLID can help make you a be...
    By Samuel Oloruntoba
  • Tutorial

    How To Style Scrollbars with CSS

    In this tutorial, you will learn how to use CSS to customize scrollbars to support modern browsers.
    By William Le CSS