Linux is based on OpenCv and built-in code to add text to the picture
1, Principle
1. Internal code
The internal code of Chinese characters refers to the code that represents a Chinese character in the computer. The internal code is slightly different from the location code. As mentioned above, the area code and bit code of Chinese location code are between 1 ~ 94. If the location code is directly used as t ...
Added by khendar on Tue, 09 Nov 2021 20:56:08 +0200
Chapter 6 Advanced Shell script programming
4.2.4 while loop
Format:
while COMMANDS; do COMMANDS; done
while CONDITION; do
Circulatory body
done
explain:
CONDITION: cycle control CONDITION; Make a judgment before entering the cycle; Judgment will be made again after each cycle; If the CONDITION is "true", a loop is executed; The loop is terminated until the CONDITION ...
Added by easethan on Sun, 07 Nov 2021 01:01:19 +0200
Logrotate log partition of Linux Log Management artifact
preface:
Some services will automatically generate a large number of log files, which will occupy disk space if not limited. If you simply use the scheduled task crontab to delete, it is not flexible. At this time, you need the log artifact logrotate.
logrotate tool is a tool built in the system to facilitate log management. The system will r ...
Added by ljzxtww on Fri, 05 Nov 2021 02:48:13 +0200
SaltStack configuration management
SaltStack configuration management
1. YAML language
YAML is an intuitive data serialization format that can be recognized by computer. It is a programming language with high readability, easy to be read by human beings, easy to interact with scripting language and used to express data sequences.
It is similar to the data description lang ...
Added by topflight on Tue, 02 Nov 2021 20:04:51 +0200
Elegant installation of OpenStack
The original text was written for the pike version half a year ago. Here is an update for the Queen version.
===========================
There are many OpenStack installation methods, such as chef, ansible, puppet, fuel, etc. If it is the development and preliminary research of OpenStack, devstack should be the installation method with the lo ...
Added by natepizzle on Mon, 01 Nov 2021 11:56:48 +0200
Prometheus Monitoring Practice Series II: installation and deployment
Prometheus supports a variety of operating systems, such as Linux, Windows and Max OSX. An independent binary file is provided on the product official website for downloading. You can download the corresponding tar package and install and deploy it on the server of the corresponding system. Of course, as a monitoring system closely related to c ...
Added by marc2000 on Sun, 31 Oct 2021 11:51:26 +0200
NXPi.MX6ULL porting RTL8188 WiFi module
Project scenario:
stay Overlooking Electronics Porting Python 3.9.5 to TW-AC6G-EVM development board:
Compilation environment and development package: Host: Ubuntu 18.04 Cross compiler: arm linux gnueabihf GCC QT5.12.8: qt-everywhere-opensource-src-5.12.8 Development board: TW-AC6G-EVM Linux: Linux-4.1.15 Serial port tool: Xshell
Note: all ...
Added by kharbat on Wed, 27 Oct 2021 08:23:03 +0300
[Linux] Supervisor usage details
[Linux] Supervisor usage details
1, Introduction to supervisor
Supervisor is a general process management program developed in Python. It can change an ordinary command-line process into a background daemon, monitor the process status, and automatically restart in case of abnormal exit. It starts these managed processes as child processes of ...
Added by Kawal on Wed, 27 Oct 2021 02:52:03 +0300
Greenplum cluster deployment and installation guide
catalogue
1, Official installation link
2, Greenplum installation file download
2. Install Greenplum
(1) Install gpdb
(2) Set password free login
(3) Create hostlist and standby on_ seg_ hosts,seg_only
(4) Use gpssh exkeys to get through all servers
(5) Confirm installation
3. Create a data store
(1) Create a data store on the master ...
Added by sameveritt on Tue, 26 Oct 2021 13:32:34 +0300
k8s disk mounted to container volume
1, Data volume type
1 emptyDir
emptyDir: simple empty directory
Data is not stored permanently, but can only be stored temporarily. It is often used to exchange and share data between multiple Docker containers in a pod Create a pod containing two containers that share the same volume
cat <<EOF > fortune-pod.yml
apiVersion: v1
kin ...
Added by milind24 on Mon, 25 Oct 2021 12:41:12 +0300