154 Posts
  • Edited Tutorial

    How To Use Many-to-Many Database Relationships with Flask and SQLite

    In this tutorial, you’ll modify an application built using Flask and SQLite by adding a Many-to-Many relationship to it. A many-to-many database relationship is a relationship between two tables where a record in each...
    By Abdelhadi Dyouri Flask Python Frameworks
  • Edited Tutorial in Series: How To Manage Infrastructure with Terraform

    How To Protect Sensitive Data in Terraform

    Terraform provides automation to provision your infrastructure in the cloud. To do this, Terraform authenticates with cloud providers to deploy the resources and perform the planned actions. However, the information T...
    By Savic Terraform DigitalOcean Spaces
  • Edited Tutorial

    How To Set Up a Continuous Deployment Pipeline with GitLab CI/CD on Ubuntu 18.04

    In this tutorial you are going to build a continuous deployment pipeline with GitLab. You will configure the pipeline to build a Docker image, push it to the GitLab container registry, and deploy it to your server usi...
    By Mike Nöthiger Ubuntu 18.04 CI/CD Git
  • Edited Tutorial

    How To Set Up Physical Streaming Replication with PostgreSQL 12 on Ubuntu 20.04

    Streaming replication is a popular method you can use to horizontally scale your relational databases. In this tutorial, you will set up physical streaming replication with PostgreSQL 12 on Ubuntu 20.04 using two sepa...
    By Nathan McCulloch PostgreSQL Databases Scaling Ubuntu 20.04
  • Edited Tutorial

    How To Visualize and Interpret Neural Networks in Python

    Neural networks achieve state-of-the-art accuracy in many fields such as computer vision, natural-language processing, and reinforcement learning. In this tutorial, you'll specifically explore two types of explanation...
    By Alvin Wan Machine Learning
  • Edited Tutorial

    How To Install Cockpit on Debian 10

    Cockpit is a server administration dashboard that allows you to view the status of your server in real time. It provides information on CPU load, filesystem statistics, processes, and further information. In this tuto...
    By Elliot Cooper Debian 10 System Tools
  • Edited Tutorial in Series: How To Manage Infrastructure with Terraform

    How To Create Reusable Infrastructure with Terraform Modules and Templates

    One of the main benefits of Infrastructure as Code is reusing parts of the defined infrastructure. In this tutorial, we'll consider some of the ways of defining and reusing code in Terraform projects. You'll reference...
    By Savic Terraform
  • Edited Tutorial

    How To Secure Node.js Applications with a Content Security Policy

    A CSP is an HTTP header that provides an extra layer of security against code-injection attacks, such as cross-site scripting (XSS), clickjacking, and other similar exploits. It facilitates the creation of an "allowli...
    By Ayooluwa Isaiah Security Node.js
  • Edited Tutorial

    How To Automate Jenkins Job Configuration Using Job DSL

    Jenkins is a popular automation server, often used to orchestrate continuous integration (CI) and/or continuous deployment (CD) workflows. In this tutorial, you'll use Job DSL to configure two demo jobs: one that prin...
    By Daniel Li CI/CD
  • Edited Tutorial

    How To Use Assignment Expressions in Python

    The author selected the COVID-19 Relief Fund to receive a donation as part of the Write for DOnations program. [Python…
    By DavidMuller
  • Edited Tutorial in Series: How To Manage Infrastructure with Terraform

    How To Build a Custom Terraform Module

    Terraform modules encapsulate distinct logical components of your infrastructure by grouping their resources together. In this tutorial, you'll create a Terraform module that will set up multiple Droplets behind a Loa...
    By Savic Terraform Infrastructure Cloud Computing
  • Edited Tutorial

    How To Build a GraphQL API with Prisma and Deploy to DigitalOcean's App Platform

    In this tutorial, you'll build a GraphQL API for a blogging application in JavaScript using Node.js. You will first use Apollo Server to build the GraphQL API backed by in-memory data structures. You will then deploy ...
    By Daniel Norman DigitalOcean App Platform API GraphQL Development Node.js Git
  • Edited Tutorial

    How To Install BigBlueButton on Ubuntu 16.04

    BigBlueButton is an open source, feature-rich virtual classroom where you can teach your students. In this guide, you will install a BigBlueButton server along with the client interface called Greenlight. Greenlight m...
    By Elliot Cooper Ubuntu 16.04 Open Source
  • Edited Tutorial

    How To Modify Items in a One-to-Many Database Relationships with Flask and SQLite

    Flask is a framework for building web applications using the Python language, and SQLite is a database engine that can be used with Python to store application data. In this tutorial, you'll modify items in an applica...
    By Abdelhadi Dyouri Flask Python Frameworks SQL Databases
  • Edited Tutorial in Series: How To Manage Infrastructure with Terraform

    Infrastructure as Code Explained

    In this article, we define Infrastructure as Code (IaC) and explain the benefits of IaC in development and deployment workflows. We also start to learn about Terraform's role in the IaC workflow and understand "what i...
    By Savic Terraform Cloud Computing Configuration Management
  • Edited Tutorial

    How To Sync and Share Your Files with Seafile on Ubuntu 18.04

    Seafile is an open-source, self-hosted file synchronization and sharing platform with cross-platform syncing. In this tutorial you will install and configure Seafile on Ubuntu 18.04, using MySQL to store data and Apac...
    By Vimal Kumar Velayudhan Apache MySQL Ubuntu 18.04
  • Edited Tutorial

    How To Use the all, any, max, and min Functions in Python

    In this tutorial, you will learn how to use the Python built-in functions all, any, max, and min. Python includes a number of built-in functions—these are global Python functions that can be called from any Python cod...
    By DavidMuller
  • Edited Tutorial

    How To Harden OpenSSH Client on Ubuntu 18.04

    Linux servers are often administered remotely using SSH by connecting to an OpenSSH server, which is the default SSH server software used within Ubuntu, Debian, CentOS, FreeBSD, and most other Linux/BSD-based systems....
    By Jamie Scaife Ubuntu 18.04 Security
  • Edited Tutorial

    How To Use unittest to Write a Test Case for a Function in Python

    Tests written using the unittest module can help you find bugs in your programs, and prevent regressions from occurring as you change your code over time. Teams adhering to test-driven development may find unittest us...
    By DavidMuller
  • Edited Tutorial

    How To Automate Jenkins Setup with Docker and Jenkins Configuration as Code

    Jenkins uses a pluggable architecture to provide most of its functionality. JCasC makes use of the Configuration as Code plugin, which allows you to define the desired state of your Jenkins configuration as one or mor...
    By Daniel Li Docker CI/CD Configuration Management Open Source