How to clear the terminal window in PowerShell. Analog of clear
Posted by Alex On September 3, 2024
When debugging cmdlets and options, so that previously output data does not fall into the field of view and does not mix with the results of the last command, or if for other reasons you want to delete everything that the command line utilities output, then you can use this instruction. We will consider such […]
How to find out the current directory in the Windows command line. Analog of pwd in PowerShell
Posted by Alex On September 3, 2024
What is the current and working directory in Windows The current directory or working directory is a folder relative to which the names of files whose path is specified relative or not specified at all are determined. Let's say the current directory is the folder “C:\Users\MiAl”. Therefore, if I create a file test.txt without specifying […]
How to remove the header from the output table in PowerShell and leave only the data
Posted by Alex On September 3, 2024
Most likely, you do not need to remove the table header Before I tell you how to remove the header (column names) from the data output by a cmdlet and leave only the data itself, it is important to note that PowerShell is quite different from other programming languages in terms of output data. While […]
How to run a program from Python: how to run a system command or another Python script (complete guide)
Posted by Alex On September 2, 2024
Table of Contents 1. The subprocess module in Python 2. How to pass arguments to a program in subprocess.run 3. Getting the result of command execution (standard output, stdout)) 4. Working with the standard error (stderr) 5. Automatic command splitting into a list of arguments 6. How to run a command with wildcards 7. Calling […]
The best free AI software for maximum productivity
Posted by Alex On August 28, 2024
Table of contents Free AI computer software ChatALL GodMode Noi Chatbox DialogCraft AI Gate GPT Anywhere OneGPT 1. Free AI computer software This article features the best AI computer software. With these programs, you can simultaneously make requests and communicate with various AI chatbots, generate images, learn programming, and much more! If you are interested […]
Command line tools for working with AI Chatbots
Posted by Alex On August 23, 2024
Table of Contents Free and open source chatbot software Terminal GPT (tgpt) Chatblade chatGPT-shell-cli ShellGPT ΦωΦ (python-owega) shellChatGPT openai-cli pdfgpt AIChat AIChatNG air (AI in Rust) ChatGPT-CLI (gpt-chatbot-cli) GPTO (Geppetto) GPTScript gpt-cli Ruby OpenAI BashSenpai 1. Free and open source chatbot software For AI chatbots (like ChatGPT), there are official web interfaces, integrations into various […]
How to check the integrity of a file transferred over the network in Linux and Windows
Posted by Alex On August 18, 2024
When you need to download or upload large files, you need to check their integrity. For example, when uploading a large file to a hosting or downloading an archive with a backup copy of sites, you need to transfer files of several gigabytes or even tens of gigabytes between computers. With a slow Internet connection […]
How to check if a SQL query result is empty or not empty in PHP
Posted by Alex On August 18, 2024
When executing a SQL query to a database, the rows and columns of a table can be returned as the execution result. An empty value can also be returned if no data matching the query is found in the table. The usual algorithm for processing the received response from the database is to fetch the […]