Detailed explanation of binlog, the most important log of MySQL
preface
What is binlog
There are various types of logs in mysql, which record mysql, including startup, operation, connection, change and other operations, and binlog is the most important log. It records the changes of all MySQL data and stores it on disk in binary form
binlg records all table structure changes (CREATE, ALTER TABLE... ...
Posted by coder9 on Thu, 24 Feb 2022 16:59:59 +0100
ZABBIX notes (ZABBIX installation, monitoring items, triggers, mail &vx alarms, secondary development, disk CPU for monitoring network traffic)
Official Chinese documents Zabbix user manual
catalogue
Solve the problem of no network after centos7 installationInstall MySQLInstalling zabbixp3 common monitoring commandsCustom monitorCustom triggerMail alarmModify email contentVx alarmSecondary development Customize menu Modify footer Replace logoMonitor network trafficMonitoring diskMo ...
Posted by richie on Thu, 24 Feb 2022 16:55:24 +0100
Reading HashMap source code from scratch
preface
I believe that this article is not the first time for my classmates to see articles about HashMap. Most of the online HashMap articles are not suitable for me, so I decided to understand the source code from scratch. I will use the relatively simple logic to convince myself to understand the source code. If you are interested, please l ...
Posted by racing_fire on Thu, 24 Feb 2022 16:55:12 +0100
Python basic text control file encoding format uses the file opening method commonly used by Python to read and write files
Coding format:
Common character encoding formats The memory interpreter is Python . py files are stored on disk using UTF-8 (external storage)
Reading and writing principle of documents:
1. File reading and writing is commonly known as "IO operation". I refers to input and O refers to output. Therefore, IO operation is input and ...
Posted by [n00b] on Thu, 24 Feb 2022 16:51:01 +0100
[sword finger Offer 54. The k-th node of binary search tree]
Title Description:
Source: LeetCode Link: https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof
Given a binary search tree, please find the value of the k-largest node.
Example:
Example 1:
input: root = [3,1,4,null,2], k = 1
3
/ \
1 4
\
2
output: 4
Example 2:
input: root = [5,3,6,2,4,null, ...
Posted by straycat on Thu, 24 Feb 2022 16:41:52 +0100
Docker builds CFS three-layer intranet shooting range
At present, it is found that the online CFS three-tier intranet shooting range is basically built by using VM virtual machine. I want to try whether I can use docker to combine the existing vulnerability environments and build them directly through docker compose. The docker environments used are from vulnhub
First, try to build containers tha ...
Posted by mosi on Thu, 24 Feb 2022 16:33:28 +0100
MacOS java development 2 variables and constants
MacOS java development 2 variables and constants
constant
Constants: data that cannot be changed
Data, keywords and identifiers are all components of JAVA programs
Constant category:
Integer 100, 23, 1
Decimals 3.14, 21.231
Character - enclosed in single quotation marks, can only write one character and must have a value
String - enclos ...
Posted by riex1 on Thu, 24 Feb 2022 16:24:11 +0100
C language: Brush question summary
C language learning has come to an end. This paper is a summary of the recent learning of C language. Most of the questions come from niuke.com.
Topic 1: integer conversion
Title Description: write A function to determine how many bits need to be changed to convert integer A to integer B.
Idea: in fact, this problem is actually to find how m ...
Posted by Hardwarez on Thu, 24 Feb 2022 16:22:17 +0100
Basic data type
Integer type (byte, short, int, long)
Floating point type (float, double)
Character char
boolean
1. Integer type
Integer type is used to store integer (no decimal part) values, which can be positive or negative. Integer data can be divided into byte, short, int and long according to its memory size. Different data types have diff ...
Posted by chet23 on Thu, 24 Feb 2022 16:21:30 +0100
OneNET Internet of things platform 11 uses the API provided by OneNET platform to send commands to devices
1. API introduction
Use the device command API provided by onenet platform to directly issue instructions to the device. When the device receives the instructions and responds, the API returns the response content of the device
Request API: POST
http://api.heclouds.com/v1/synccmds?device_id=866760442&timeout=30
The request body carries ...
Posted by TurtleDove on Thu, 24 Feb 2022 16:12:04 +0100