Skip to main content


Showing posts from 2023

How to Create partition with pvcreate command

You can run the pvcreate command on the partition to initialize partitions rather than whole disks. The following command initializes the partition /dev/sda1 and /dev/sdb1 as LVM physical volumes. # pvcreate /dev/sda1 /dev/sdb1 Sample Output: root@ubuntu-PC:~# pvcreate /dev/sda1 /dev/sdb1   Physical volume "/dev/sda1" successfully created.   Physical volume "/dev/sdb1" successfully created.

How to initialize a block device with pvcreate command in Linux

The following command initializes /dev/sdc  as a physical volume for later use by LVM logical volumes. Initialization is similar to formatting a file system. # pvcreate /dev/sdc Sample Output: root@ubuntu-PC:~# pvcreate /dev/sdc   Physical volume "/dev/sdb" successfully created.

How to Display Contents of a File in Linux (RHEL/Debian/CentOS/Ubuntu/Manjaro)

 Linux is a popular operating system used by many programmers, system administrators, and developers for its open-source nature and flexibility. As a user of Linux, you may find yourself needing to display the contents of a file in the command line interface. This task can be accomplished using a variety of commands, each with its own specific purpose and usage. In this article, we will explore some of the most commonly used commands for displaying the contents of a file in Linux. We will also discuss how to interpret the output of these commands and provide some useful tips to help you make the most of your Linux experience.

How to View List of Email Template in AWS SES via API

Amazon SES is reliable, scalable email to communicate with customers at the lowest industry prices from Amazon, Inc. To view List of Email templates in AWS SES, you can use this API:

How to Install NTP Server in CentOS/RHEL 7 with Chrony

This article provides instructions on how to set up a Chrony NTP server in CentOS/RHEL 7 servers. Chrony is similar to an NTP server, but it's designed for systems that are frequently powered down or disconnected from the network. The main configuration file for Chrony is located at /etc/chrony.conf, and the chronyd daemon runs in user space. Chrony is a command-line program that provides a command prompt to obtain system time information and current sources.

How to Create Tinted Status Bar (Coloured Status Bar)

Android users are certainly accustomed to the black-colored status bar and may now feel a little bored with it. Since the iPhone released a colored status bar that follows the application, some Android developers have tried to create applications to change the color of the status bar according to the color of the application you are using. One of the circulating tinted status bar applications is "Tinted Status Bar" and "Flat Style Colored Bars", which are modules of the Xposed framework. To use these applications, your Android device must be rooted first. If your device is already rooted and you want to try making the status bar on your Android more colorful, please follow the tutorial below:

How to Integrate APM (Application Performance Monitoring) Into Golang Server

To integrate APM (application performance monitoring) into Golang servers, you can use a third-party library such as Elastic APM or DataDog APM. Here are the basic steps you can follow: Choose an APM library: There are many APM libraries available for Golang, so choose one that fits your requirements. Some popular options include Elastic APM, DataDog APM, and Instana. Install the library: Once you have chosen an APM library, you will need to install it in your Golang project. This usually involves importing the library into your code and setting it up to monitor your application. Configure the library: You will need to configure the APM library to monitor the specific parts of your application that you are interested in. This might include setting up tracing for specific HTTP endpoints, monitoring database queries, or tracking the performance of specific functions. Start the APM agent: Once you have installed and configured the APM library, you will need to start the APM agent that wil

what is stack and heap in Rust language?

In Rust (like many programming languages), memory is divided into two main parts: the stack and the heap. The stack is a region of memory that is used to store function call frames and local variables. The stack is fast and efficient because data is stored and accessed in a Last-In-First-Out (LIFO) order, which means that when a function returns, its frame is immediately popped off the top of the stack. In Rust, stack-allocated values are stored on the stack and are automatically cleaned up when they go out of scope.

Laravel 10 CRUD Example

In this tutorial, I'd like to share with you an example of a Laravel 10 CRUD operation. This will teach you how to build a simple CRUD application using Laravel 10 for beginners. By following these steps, you will learn how to create, read, update, and delete data in your application. For those unfamiliar, CRUD stands for Create, Read, Update, and Delete. These are the four basic functions needed to implement persistent storage in an application. In this example, we will create a product CRUD application using Laravel 10. We'll start by creating a products table with name and detail columns using Laravel 10 migration. From there, we'll create routes, controllers, views, and model files for the product module. To make our application look good, we will be using Bootstrap 5 for design. So, let's get started by following the below steps. Step 1: Install Laravel 10 App Let us begin the tutorial by installing a new laravel 10 application. if you have already created

How to use Live Wallpaper on Android and set up video wallpaper with sound

In some Android devices such as Xiaomi, Oppo, Realme, Vivo, and Infinix, Live Wallpaper feature is already provided. This feature allows users to display animated images on the home screen as well as the lock screen. Android is known for having more complete customization features compared to other operating systems. We can set images and videos as wallpaper. Some smartphone manufacturers have equipped their interface with various models of live wallpaper.

How to Change Xiaomi Emoji to iPhone Emoji on MIUI 14.6?

Every time we chat or update our status, there will be a row of emojis on the keyboard that we can use, ranging from laughing, crying, frowning, building emojis, food, etc. Emojis are usually used to describe our expressions when chatting or updating our status. Emoji models differ for each company, such as Apple, Twitter, Facebook, Samsung, each having their own appearance and Apple's emojis are the most popular. Even the iOS emojis look more elegant, so some Xiaomi users want to change the appearance of their emojis to look like those of the iPhone. This time will share how to change Xiaomi emojis to iPhone emojis of iOS 14.6.

Tutorial: How to Take a Screenshot on Samsung A12 Without Buttons or Apps

How to take a screenshot on Samsung A12 without buttons and applications? You can easily do it, as this phone has three built-in screenshot features that use gestures, button combinations, and assistant menu. When it comes to taking pictures, Samsung A12 is reliable. The back of the phone is equipped with four lenses arranged vertically. The main lens is 48MP, 5MP ultrawide, 2MP macro, and a 2MP lens for depth sensing. Samsung also placed an 8MP selfie camera with various features. This phone has a 6.5-inch screen design with HD+ resolution of 720 x 1600, the same as the recently launched Galaxy M12. The difference is that this smartphone still uses PLS IPS panel technology with a cinematic screen ratio of 20:9.

Cooling Solutions for the Raspberry Pi 4: Optimizing Performance and Temperature

The Raspberry Pi 4 is a powerful single-board computer, boasting a 1.5GHz Quad core Cortex-A72 processor that makes it the best-performing Raspberry Pi to date. However, with great power comes the great responsibility of managing its temperature. During intensive applications, the Raspberry Pi 4 may get quite hot, with the CPU throttling at around 80 degrees to protect itself. To optimize the board's performance, it's best to keep its temperature as low as possible. Therefore, we conducted some stress tests to evaluate the performance of our new XL heatsinks with and without a fan case.

Laravel 10 is Released, Whats New in Laravel 10?

The latest version of Laravel, which is Laravel 10, has been launched. It comes with several new features, such as the minimum required PHP version being upgraded to v8.1, a new package called Laravel Pennant, invokable validation rules, and the addition of native type declarations, among other updates. Prior to Laravel 9, major versions of the framework were launched twice a year or approximately every six months. However, the core team changed their approach and moved to an annual schedule, with Laravel 9 being released in February 2022 instead of September 2021 as originally planned. The Laravel framework uses a range of community-driven packages and nine Symfony components to provide various features. With the release of Symfony 6.0 slated for November, the Laravel team opted to delay the Laravel 9 release to 2022 to allow them to upgrade their underlying Symfony components to Symfony 6.0 earlier. This approach will enable them to align their releases with Symfony's and provide

In essence, what is Podman?

Podman is a container engine that allows users to run and manage OCI containers on Linux, without the need for a daemon. It can also be used on other operating systems with some adaptations. How does Podman compare to Docker? Podman was created to offer an alternative to Docker, with some similarities but also some notable differences. Firstly, Podman doesn't require a daemon process to maintain the connection between the client and the server, which is a key feature of Docker. Instead, Podman is a single main process with containers as child processes. Additionally, Podman is rootless, while Docker needs root privileges due to its architecture. Lastly, Docker aims to be an all-in-one solution for container management, whereas Podman focuses on running containers and uses other specialized tools for building images and image management and distribution, such as Buildah and skopeo, respectively. Can Podman be used on other operating systems? Although Podman is a native Linux tool, i

Why SEO is Important?

 SEO, or Search Engine Optimization, is a powerful tool for businesses looking to increase their online visibility and attract more customers. With 81% of all Google searchers clicking on the organic results, it's clear that ranking high in the search engine results can bring a significant boost to your business. In fact, you can expect to receive 5 times more traffic from ranking in the organic search results than from paying for an ad, even if ads are at the top of the page. The results of a well-executed SEO strategy can be impressive, as seen with Amazon's 386 million organic visitors per month. This organic traffic saves Amazon over $1.8 million per month compared to the cost of acquiring the same amount of traffic through Google Ads.

What is Search Engine Optimization (SEO)?

 SEO, or Search Engine Optimization, is the practice of enhancing the quality, performance, and user experience of a website with the aim of increasing its visibility in search engines. By optimizing a website's ranking in the organic search results, it can reach a wider audience and attract more organic traffic. Organic search results are not influenced by paid promotions and are instead based on the quality of a website and its relevance to the search query. By contrast, the paid ads section is where people pay to have their website displayed in the search results.

Nginx Architecture - A Short Explanation

Many web servers are built with a single-threaded mechanism, which has several drawbacks, including an inability to handle demanding CPU applications efficiently. When multiple threads are present in a single-threaded process, each code or command is processed one by one, in sequence. This method of processing threads consumes a large amount of memory and as a result, leads to decreased performance and slower page loading times.

Top 5 Android App Store Alternatives for Developers

If you're an Android app developer, the question of which store will generate the most revenue may be on your mind. While many developers opt for the safe route of the Google Play Store, there are several other options available. Here are five Android app store alternatives that have shown promising results. 1. Aptoide Aptoide is one of the most well-known alternatives to Google Play. With over 300 million users, 7 billion downloads, and 1 million apps, it provides a solid option for app developers. One of its biggest advantages is the lack of geo-restrictions, meaning users from any part of the world can access content that may be restricted in their country. Other benefits include a large number of active users, legal options for developers, and a higher payout rate compared to Google Play (19%). The only drawbacks are attempts by Google Play to hide Aptoide on its platform and some concerns about app safety, as the platform only flags potentially harmful apps instead of banning

Top Programming Languages for Blockchain Development: An Overview

The world of technology has been greatly impacted by Blockchain, and many businesses are eager to be a part of it. To make a Blockchain project successful, developers need to be proficient in the programming languages used in Blockchain development. In this article, we'll discuss the 5 most in-demand programming languages for Blockchain development, along with a brief overview and their pros and cons. 1. C++ C++, an extended version of the C language, is a widely used programming language in general and is also suitable for Blockchain development. There are two key features that make C++ one of the best programming languages for Blockchain.

How to Change WordPress Theme Using phpMyAdmin or Directly from the Database

In some cases, new changes to your WordPress site, such as plugins or updates, may cause compatibility issues with your current theme. This can result in an inability to access the admin area and switch to a different theme. In such scenarios, you can change the theme directly from the database or phpMyAdmin. Here's how to change the theme using phpMyAdmin: Log into phpMyAdmin (through cPanel, Plesk, Web Hosting, or Managed WordPress). Select the database you want to manage.

Step-by-Step Guide to Deleting WHM Backups using PuTTY

Deleting backup files from the /backup directory on a VPS server through the WHM Control Panel is a simple process when using an SSH client such as PuTTY. This task is often necessary when utilizing a VPS server. To successfully delete the server backups in WHM or cPanel, it is important to use the appropriate commands. In this article, we will delve into the process of deleting the WHM Weekly/Monthly backups. Recently, I was searching for information on how to delete the /backup folder backups from a WHM server or cPanel. Despite searching for 30 minutes, I was unable to find a satisfactory solution for my issue of limited server space. Upon examining my WHM Control Panel, I realized that I had only 10% of my 400 GB SSD space remaining.

All Devices, Tools and Software You Need to Start your Phone Farm

Phone farming is a term used to describe the practice of using multiple smartphones or mobile devices to passively earn money, rewards, or cryptocurrency.  Devices & Tools Here is a list of devices and tools commonly used in phone farming: Smartphones: The most common device used in phone farming is a smartphone. Phone farmers use multiple smartphones to run apps and games in the background, earning rewards such as cryptocurrency or cash. Tablets: Some phone farmers also use tablets in addition to or instead of smartphones, as tablets often have larger screens and longer battery life than smartphones. Power Banks: Phone farming can be taxing on a device's battery, so power banks can be a useful tool for phone farmers to keep their devices charged and running for longer periods of time. Multiple SIM Card Adapter: Phone farmers who use multiple devices may use a multiple SIM card adapter to make it easier to switch between different SIM cards and data plans. Phone Farming Apps: T

Use this 3 Awesome Rust Libraries!

Rust is a modern, fast, and efficient systems programming language that has gained popularity among developers for its focus on safety and performance. One of the key benefits of Rust is its robust library ecosystem, which provides developers with a wealth of libraries and tools to help build their applications. Whether you're building a backend service, a command-line tool, or a complex system, Rust's libraries offer a wide range of capabilities and functionalities to help you achieve your goals. In this article, we will introduce some of the best Rust libraries that are worth considering for your next project. These libraries have been chosen based on factors such as popularity, stability, and ease of use, and they are a great starting point for anyone looking to dive into the world of Rust development.

Phone Farming & Tools to Remotely Manage and Monitor You Phone Farm

Phone farming is a term used to describe the practice of using multiple smartphones or mobile devices to passively earn money, rewards, or cryptocurrency. The basic idea behind phone farming is to utilize the idle time of your device to earn rewards, such as through installing apps that pay users for running them in the background. is a platform that allows users to participate in phone farming by providing them with access to a variety of different apps and games that pay rewards. The platform offers a simple, user-friendly interface that makes it easy for users to find and install apps that pay rewards, as well as to track their earnings and manage their devices.

Rust for Backend Application? Pros and Cons? What do you think?

Rust is a systems programming language that was developed by Mozilla Research. It was designed to be a safe, concurrent, and practical language for system-level programming. Rust aims to improve upon the performance and security of C and C++, two of the most widely used systems programming languages. Rust has a strong focus on memory safety and control over low-level operations. It provides a syntax that is similar to C++ but with more modern features such as garbage collection and optional and nullable types. Rust also provides built-in concurrency support, making it well-suited for building large, scalable systems.

What Is Fdisk?

Fdisk is a program that lets you manage your disk partitions. When you get a new disk, you need to create partitions on it so you can start using it. Fdisk lets you manage the entire life cycle of a partition, from naming it, to creating it, to resizing it, to deleting it. To see if the fdisk is already installed on your computer, try running one of the following commands. $ fdisk --version fdisk from util-linux 2.32.1 $ which fdisk /usr/sbin/fdisk $ whereis fdisk fdisk: /usr/sbin/fdisk /usr/share/man/man8/fdisk.8.gz

What is Linux Container (LXC) ?

LXC is a way to run multiple applications on the same computer without them interfering with each other. A container consists of one or more processes that are running with reduced privileges and share access to a shared set of kernel objects and host resources. Namespaces are a way to keep different processes from interfering with each other. This helps keep everything running smoothly.

What is dnf-automatic and the difference with DNF?

The dnf-automatic is an alternative to dnf upgrade command which can be executed automatically and regularly via systemd timers, cron jobs and similar. And then DNF or Dandified YUM is the next-generation version of the Yellowdog Updater, Modified (yum), a package manager for .rpm-based Linux distributions. DNF was introduced in Fedora 18 in 2013, it has been the default package manager since Fedora 22 in 2015, Red Hat Enterprise Linux 8, and OpenMandriva; and also an alternative package manager for Mageia. Perceived deficiencies of yum (which DNF is intended to address) include poor performance, high memory usage, and the slowness of its iterative dependency resolution. DNF uses libsolv, an external dependency resolver. DNF performs package management tasks on top of RPM, and supporting libraries. DNF was originally written in Python, but as of 2016 efforts are under way to port it to C and move most functionality from Python code into the new libdnf library. libdnf is already used b

How to Create Internet Wayback Machine with ArchiveBox Software

ArchiveBox can be used to archive URLs either from commandline or via its WebUI. To archive a single URL from command line, simply pass the as an argument like below: archivebox add Or,

How to Install ArchiveBox Software using Docker

After installing Docker, create a directory for ArchiveBox and download the docker-compose.yml file in it: $ mkdir ~/archivebox && cd ~/archivebox $ docker run -v $PWD:/data -it archivebox/archivebox init --setup Run the initial setup and create an admin user by running the following command:

How to Install ArchiveBox using Docker Compose

The officially recommended way to install ArchiveBox is to use Docker-compose. After installing Docker-compose, create a directory for ArchiveBox and download the docker-compose.yml file in it:

What is ArchiveBox Software?

ArchiveBox is a free, open source and powerful Internet archiving solution to collect, save your favorite websites and view or read them offline. You can feed it a single URL or schedule imports from your browser bookmarks, browser history, plain text, HTML, markdown, feeds like RSS, bookmark services like Pocket/Pinboard and more! ArchiveBox saves the snapshot of the given URLs in several output formats such as HTML, JSON, PDF, PNG screenshots, WARC, and more!

How to Install Go Language using Package Manager in Linux

Go language is available in the default repositories of most modern Linux distributions. To install Golang in Alpine Linux, run: $ sudo apk add go On Arch Linux and variants like EndeavourOS and Manjaro Linux:

What is Go Language?

Go, also known as GoLang, is an open source programming language developed at Google by Robert Griesemer, Rob Pike, and Ken Thompson in 2007. The Go language became a public open source project on November 10, 2009. Go language is being actively used in some Google's production servers, as well as by other companies such as Dropbox, CoreOS, CloudFlare, Docker, Soundcloud, Uber and many.