command



How to install or upgrade to Composer v2

  • avatar
  • 36.4K Views
  • 15 Likes
  • 4 mins read
Preview post image

Composer is an application-level package manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries. It manages them on a per-project basis, installing them in a directory (e.g. vendor) inside your project.

Install PHPStan and configure for Laravel application

  • avatar
  • 12.4K Views
  • 12 Likes
  • 3 mins read
Preview post image

Unlike compiled languages, in PHP if you make a mistake, the program will crash when the line of code with the mistake is executed. When testing a PHP application, whether manually or automatically, developers spend a lot of their time discovering mistakes that wouldn’t even compile in other languages, leaving less time for testing actual business logic.

The Complete Handbook of AT Commands

  • avatar
  • 3.2K Views
  • 6 Likes
  • 11 mins read
Preview post image

AT commands, short for Attention commands, are a set of instructions used to control modems. These commands originated from the Hayes command set and have become essential for IoT (Internet of Things) devices, especially for managing WiFi modules. They allow users to perform functions such as connecting to a network, sending data, and configuring device settings, making them crucial for IoT applications.

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

We never send SPAM nor unsolicited emails

Pagination in MongoDB: efficient retrieval and display of data

  • avatar
  • 2.3K Views
  • 2 Likes
  • 5 mins read
Preview post image

Pagination is a crucial aspect of modern web applications that deal with large datasets. When working with MongoDB, a popular NoSQL database, efficient pagination techniques become essential to retrieve and display data in a controlled manner. MongoDB provides various features and functions to achieve efficient pagination. In this article, we will examine these concepts, exploring how they can be used to implement pagination effectively in MongoDB.

MongoDB aggregation pipelines explained

Available to registered members only
  • avatar
  • 1.4K Views
  • 6 mins read
Preview post image

MongoDB’s aggregation framework is a robust tool for processing and analyzing data directly within the database. Instead of retrieving data to manipulate it in your application code, you can run complex queries and transformations on the server side. The core of this framework is the aggregation pipeline, which allows you to chain together various stages to perform tasks like filtering, grouping, sorting, and reshaping your data.

MongoDB advanced query operators

  • avatar
  • 1.7K Views
  • 9 mins read
Preview post image

MongoDB is a popular NoSQL database known for its flexibility and scalability. In MongoDB, query operators are used to perform specific operations within a query, allowing you to filter and retrieve documents based on various conditions. These operators provide powerful capabilities for querying and manipulating data. In this article, we will explore some of the most important MongoDB operators, focusing on both read and update operations.

MongoDB backup: import and export data

  • avatar
  • 1.5K Views
  • 4 mins read
Preview post image

In today's data-driven world, safeguarding critical information is paramount. As databases grow in complexity and size, it becomes increasingly crucial to have a reliable backup and restore strategy in place. MongoDB, a popular NoSQL database, offers powerful export and import commands that simplify the process of creating backups and restoring data. In this article, we will explore how these commands can be used as efficient backup and restore actions, ensuring the safety and integrity of your valuable data.

Maximizing MongoDB performance with indexes

Available to registered members only
  • avatar
  • 1.2K Views
  • 3 mins read
Preview post image

MongoDB proves itself as a robust solution for efficiently managing extensive datasets. A critical aspect contributing to MongoDB's effectiveness is its skillful use of indexes. Indexing acts as a meticulously organized roadmap for your data, enabling MongoDB to swiftly retrieve information. In this article, we will explore MongoDB indexes, shedding light on the diverse types and deciphering the nuances between ascending (asc) and descending (desc) indexes.

Sync local and remote directories with Rsync

  • avatar
  • 1.2K Views
  • 1 Like
  • 4 mins read
Preview post image

Rsync is a very flexible network-enabled syncing tool. Due to its ubiquity and its popularity as a tool for system scripts, it's included on most Linux distributions by default. It efficiently copies and sync files to or from a remote system. It’s faster than scp because rsync uses a remote-update protocol which allows transferring just the differences between two sets of files. The first time, it copies the whole content of a file or a directory from source to destination but from next time, it copies only the changed blocks and bytes to the destination.

Secure File Transfers with SCP

  • avatar
  • 876 Views
  • 1 Like
  • 3 mins read
Preview post image

Secure Copy Protocol, also known as SCP, stands out as a robust yet straightforward solution for securely transferring files between local and remote systems. Let's explore this essential command and understand how it simplifies your file transfer needs without unnecessary complexity.

At its core, SCP is a command-line utility crafted to securely copy files and directories between hosts over an SSH (Secure Shell) connection. What makes SCP particularly handy is its simplicity. With just a single command, you can swiftly move files from your local machine to a remote server or vice versa, all while ensuring the confidentiality and integrity of your data.