How to change the command prompt in Windows Terminal for PowerShell

Contents 1. What does the text before each command mean in Windows Terminal 2. The prompt function for changing the command line prompt in PowerShell 3. How to make the new command prompt permanent 4. How to Restore the original command prompt 5. The best command prompt for Windows Terminal and PowerShell 6. How to […]

What does $_ and $PSItem mean in PowerShell

Table of Contents 1. What is $_ and $PSItem in PowerShell 2. How to use $_ and $PSItem in ForEach-Object and Where-Object cmdlets 3. Using $_ and $PSItem in .ForEach() and .Where() methods 4. Using $_ and $PSItem in Format-Table 5. Using $_ and $PSItem in hashtables to format output 6. The -replace operator script […]

Bing Search Engine – I unexpectedly liked it

I've been using Google search for probably 20 years now – a really long time. At the beginning of the era of Internet search engines, getting to page 10-20 of the search was the norm. Sometimes I got to page 20-30. I often compared search results in different search engines and usually Google was the […]

How to install a package of a certain version in Arch Linux. How to roll back a package to a previous version

Contents Is it possible to roll back a package version in Arch Linux Local Arch Linux package cache Arch Linux packages of previous versions online How to install an Arch Linux package from a local file How to roll back the NVIDIA video driver version in Arch Linux How to roll back the kernel version […]

Error “Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature” in Kali Linux (SOLVED)

When updating Kali Linux package files, for example with the following command: sudo apt update && sudo apt full-upgrade -y You may encounter an error: Get:1 http://mirror.kku.ac.th/kali kali-rolling InRelease [41.5 kB] Err:1 http://mirror.kku.ac.th/kali kali-rolling InRelease Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature. Fetched […]

How to cache MySQL / MariaDB query results

Contents 0. In MySQL, query caching has been completely removed in recent versions, while in MariaDB, on the contrary, it has become enabled by default. 1. How MySQL / MariaDB query caching works 2. When to use MySQL / MariaDB query caching 3. How to enable and configure MySQL / MariaDB query result caching 4. […]

How to restart KDE Plasma Desktop without rebooting your computer

What to do if KDE Plasma freezes It happens that the desktop environment stops working normally due to some internal bug – this can manifest itself in many different ways: just a black screen picture freezes and the computer does not respond to the keyboard and mouse black background with the inability to select an […]

How to convert a large number of images to AVIF while preserving the directory tree

Situation: you need to convert all JPG, JPEG, PNG and WebP images to AVIF format. The images to be converted are located in different directories. It is necessary to preserve the folder structure, and the original image must be deleted. This task may arise for compression in order to save disk space for a home […]

How to redirect from JPG, JPEG, PNG and WebP to AVIF using .htaccess and mod_rewrite

In the previous article, we learned how to convert JPG and other formats to AVIF (which is supported by modern web browsers). This can reduce the space occupied by images on the hosting by up to 8+ times! See also: How to convert images to AVIF using PHP But converting images to a new format […]

How to convert images to AVIF using PHP

Contents 1. AVIF format for websites 2. Programs for converting images to AVIF on a server 2.1 Converting to AVIF with the magick utility 2.2 avifenc utility for converting to AVIF 3. Why converting to AVIF with PHP is a worthwhile option 4. Converting files to AVIF in PHP 5. How to use PHP to […]

Loading...
X