Mount a USB Stick/Drive in Linux [HowTo, Tutorial]
This tutorial will show you how to mount and access a USB stick or external USB hard drive on Linux. Most desktop Linux distributions will automatically mount USB drives show them in their file...
View ArticleHow to Format a USB Drive From the Linux Shell
This article will show you how to format a USB stick or external USB hard drive from the Linux command line/shell for FAT, NTFS, and EXT file systems. Plug In the Drive The first step – plug in your...
View ArticleBash/Shell Script to Send Email In Linux – Howto, Example
This article will show you several ways to send an email from the Linux command line/shell – as well as from Bash/Shell scripts. Why would you want to send an email from the command line? Probably not...
View ArticleThe MySQL/MariaDB DELETE Statement – How to Use It
Being able to delete data from a table in a database is a pretty important thing – This article will show you how it’s done in MySQL/MariaDB. MySQL DELETE Statement Syntax In its basic usage, the...
View ArticleHow to Use the MySQL/MariaDB COUNT Function, With Examples
This quick article will demonstrate how to use the MySQL/MariaDB COUNT function to count the number of records returned by a query. MySQL/MariaDB COUNT Function Syntax COUNT(query) Note that: query can...
View ArticleJavaScript – Pausing Execution or Sleep Function Equivalent
JavaScript does not include a sleep function to pause execution – but you can achieve the same effect with this simple code. Unlike shell scripts and PHP, JavaScript does not include a built-in...
View ArticleHow to Remove Duplicates From an Array in JavaScript [Examples]
Being able to remove duplicates from (or de-duplicate) an array is a useful thing to be able to do. Here’s how it’s done. What is an Array? In programming, an array is a type of variable that can hold...
View ArticleChecking for null values in JavaScript, With Examples
What is null in JavaScript, and how can you check if a value is equal to null? Read on to find out. What is Null? Null is a term with a special meaning in computing and computer programming. Null is...
View ArticleCheck if a JavaScript Variable is an Array with isArray() [Examples]
Here’s a short article that explains arrays and how to check if a JavaScript variable is an array using the Array.isArray() method. Want to check out whether an array contains a value? Find out how...
View ArticleKibibytes, Mebibytes, Gibibytes, Tebibytes… What are They?
This article will explain what the kibibytes, mebibytes, gibibytes, tebibytes storage units are in relation to Kilobytes, megabytes, gigabytes, and terabytes. … So What are They? Simply, they are a...
View ArticleThe JavaScript Frameworks We’re Using for 2022
When building a JavaScript application, you don’t need to write everything from scratch. Instead, javaScript frameworks provide the base to build your app. Here are the ones we’re using in 2021 and...
View ArticleJavaScript Libraries We’re Using to Build Apps in 2022
JavaScript libraries take the legwork out of building complex applications. Here are some of the most useful libraries to use in 2021/2022. Once you’ve graduated from ‘Hello World!‘ and understand how...
View ArticleBash Scripts Set Environmental Variables with EXPORT [HowTo]
This tutorial will show you how to set environmental variables in Bash/Shell scripts using the export keyword. Generally, variables declared in Bash/Shell scripts exist only within the scope of that...
View ArticleHow to Merge Dictionaries in Python, With Examples
This article will show you the simplest ways to merge two or more dictionaries in the Python programming language. Note that the code examples in this article are written for Python version 3 – and...
View ArticleQuick and Dirty CCTV with Raspberry Pi, MotionEyeOS + Webcam
In this article, I’ll walk through the process of setting up MotionEyeOS on a Raspberry Pi, using a cheap USB webcam to create a DIY CCTV system. MotionEyeOS is a pre-configured Linux distribution that...
View ArticleHow to Add/Append Items to a Dictionary in Python [Examples]
This short tutorial will show you how to add single or multiple items (as key:value pairs) to a dictionary in the Python programming language. What is a Dictionary in Python? We’ve covered what...
View ArticleWhat is a Python Dictionary? Explanation and Code Examples
Here’s everything you need to know about the Dictionary data type in Python, what it can store, and how to use it. Python has several built-in data types for storing data (more than other languages...
View ArticleHow to Use the Python slice() Function, With Examples
The Python slice() function can be used to get a portion of a list, tuple, string, or other sequence. This article will show you how to use it. Python slice() Function Syntax Here’s the syntax for the...
View ArticleHow to Use the PHP ‘do while’ Loop, With Examples
This tutorial will teach you how to use the do while statement to build loops in the PHP programming language, and show some examples. The do while loop is one of the simplest types of loop in PHP. The...
View ArticleHow to Use the PHP ‘while’ Loop, With Examples
This tutorial will teach you how to use the while statement to build loops in the PHP programming language and show some examples. The while loop is the most straightforward kind of loop in PHP. The...
View Article