Knowledge Base

  • How To Work with the Box Model in CSS

    The author selected the Diversity in Tech Fund to receive a donation as part of the Write for DOnations program. Introduction The box model is the ruleset a browser uses to determine an element’s size and how it interacts with other elements. The contents of the HTML element, as well as several CSS properties, all contribute to the calculations a browser uses to turn HTML and CSS code into a final, rendered web page. Knowing how the box model works and how to manipulate it effectively can be...

  • How To Create an Intelligent Chatbot in Python Using the spaCy NLP Library

    The author selected the COVID-19 Relief Fund to receive a donation as part of the Write for DOnations program. Introduction Interacting with software can be a daunting task in cases where there are a lot of features. In some cases, performing similar actions requires repeating steps, like navigating menus or filling forms each time an action is performed. Chatbots are virtual assistants that help users of a software system access information or perform actions without having to go through long...

  • How To Install and Use SQLite on Ubuntu 20.04

    The author selected the Free and Open Source Fund to receive a donation as part of the Write for DOnations program. Introduction SQLite is a free, cross-platform database management system. It is popular for its efficiency and ability to interface with many different programming languages. In this tutorial you will install SQLite on Ubuntu 20.04. You will then create a database, read data from it, insert items, delete items, and join items from separate tables. Note: This tutorial includes ...

  • How To Handle Images with GraphQL and the Gatsby Image API

    The author selected /dev/color to receive a donation as part of the Write for DOnations program. Introduction Handling images plays a pivotal role in building websites, but also can be challenging to deal with. Unoptimized images slow down websites, and many images that might look appropriate on a desktop are hard to scale down to a mobile device. Visually manipulating an image can also be tedious and difficult to maintain. All of these problems in isolation are not a big issue. The main pro...

  • Nodemonを使用してNode.jsアプリケーションを自動的に再起動する方法

    はじめに Node.jsでは、変更を有効にするためにプロセスを再起動する必要があります。これにより、変更を行うためにワークフローに更なる手順が追加されます。nodemonを使用してプロセスを自動的に再起動することで、この余分な手順を排除できます。 nodemonは@remによって開発されたコマンドラインインターフェイス(CLI)ユーティリティであり、Nodeアプリケーション...