-
Linux config files table TOP NEW
-
Fix warning setlocale cannot change locale TOP NEW
Introduction When you are using the terminal and encounter the following warning promtp like warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8), you can not figure it out and you are most likely confused, this article would help you solve this problem. Solution $ sudo locale Edit the configuration file for locale-gen: $ sudo vi... Read More
-
Fix error about non-empty Sec-WebSocket-Protocol header TOP NEW
Introduction When you encounter this problem about WebSocket connection to 'wss://<address>/live' failed: Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received, here is an article on how to fix this problem. Review According to the error message, we know that the WebSocket client s... Read More
-
How to use netcat command TOP NEW
Introduction Command nc stands for netcat, known as the swiss army knife of network tools, it’s a utility which is used for reading and writing data across TCP and UDP ports. It can be used for a lot of cool stuff, this article will take a closer look. There are two similar packages available for netcat with a slight difference between them: ... Read More
-
The Handbook of Programming Languages TOP NEW
The historical development of programming languages has gone through one stage after another, from machine language to high-level language, it is also closer to the way of human thinking, easy to write, good readability, and more efficient to develop. Machine-oriented programming (MOP) Procedure-oriented Programming (POP) Object-oriented... Read More
-
Fix errors occurred no packages were upgraded in Arch Linux TOP NEW
What’s up? When you use yay -S <package> to install some package and face this prompt errors occured, no packages were upgraded, don’t worry, this article will guide you to settle it down. Problem reproduce At First, let’s try to remove any local package(e.g. zoom) mannually: $ sudo rm -rf /var/lib/pacman/local/zoom-2.9.265650.0716-1/ ... Read More
-
Fix invalid or corrupted package in Arch Linux TOP NEW
What’s up? Recently, when I use yay -Syu to update the software packages, it always prompts that a package cannot be updated and prompts are warning: could not fully load metadata for package and error: failded to prepare transaction (invalid or corrupted package). It’s time to solve this annoying problem. Remove first Try to remove it firs... Read More
-
Email Server Ports Table TOP NEW
-
How to build your own email server TOP NEW
Introduction Have you ever thought about setting up your own email server, but then left it behind. However, setting up a email server is not complicated. In this article, we will build it step by step from scratch. Here we will need the following environments: Nginx - an lightweight and open-source web server to offer low memory usage and... Read More
-
SSH connection was closed weirdly TOP NEW
What’s up? Recently, I encountered a weird problem. When I used SSH to connect to a Linux server, the connection was immediately interrupted, and such a message appeared: free(): invalid next size (fast), screenshot as below image: Troubleshooting After that, I tried to connect using another Linux computer and still had the same problem. Bu... Read More