-
How to choose a digital camera quantitatively
There are many different criteria for choosing a digital camera. Here we can use a mathematical method, that is, to score a camera quantitatively, so that we can roughly compare the quality of different cameras based on the numbers. Quantitative Table No. Item Remark Score 1 Picture ... Read More
-
How to use fcitx5 elegantly on Arch Linux
Introduction Fcitx [ˈfaɪtɪks] is an input method framework with extension support. Currently it supports Linux and Unix systems like freebsd. It has three built-in Input Method Engine, Pinyin, QuWei and Table-based input methods. Fcitx tries to provide a native feeling under all desktop as well as a light weight core. You can easily customize ... Read More
-
How to configure IP on Ubuntu
Introduction We often need to configure IP (static or dynamic), especially on newly installed Ubuntu. However, since we have not systematically summarized this, this makes our memory always a little confused, but it’s actually very simple. Here’s how to get networking all the way up in a matter of seconds using just a few commands from the ter... Read More
-
Fix error RC2104 undefined keyword or keyname
Introduction When you use the Microsoft Visual Studio to compile a cpp project, and encounter this problem about error RC2104: undefined keyword: Key, here is an article on how to fix this problem. Review The picture best illustrates the problem, the error message and related code is shown as below image: Therefore, let’s find more about t... Read More
-
Why the echo command has no help option?
Introduction Have you ever tried to use the echo --help command to get some help, but it just simply prints ‘–help’ literally, and similarly, that echo --version has the same result. Why it didn’t work, this article will lead us to find out more information. Learn more about This happens because you are using the echo built-in command of bash... Read More
-
Terminal partial line prompt feature
Introduction If you are a user who often deals with terminals, you must have noticed that the output ends a line with a highlighted percent symbol on occasion with a variety of applications. Maybe you would think it was because the output was cancelled early (ctrl+c, for example) or something similar, but it doesn’t seem to do this in bash, jus... Read More
-
Linux config files table
Table Path Type Scope Description /etc/locale.conf File Global Global locale /etc/security/limits.conf File Global Global limits for a user /etc/environment File Global Global environment variables ... Read More
-
Fix warning setlocale cannot change locale
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
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
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