Snake Eager Game (printf output C version)

This time, we use printf output to implement a classic little game - Snake Eater. The main difficulties are how snake data is stored, how to achieve the effect of turning, how to increase the length after eating food. 1 Construct Snake First, display a small still snake in the picture.The corresponding element of the two-dimensional array ca ...

Posted on Tue, 16 Jun 2020 20:25:04 -0400 by mentalist

LeetCode297.Serialization and Deserialization of Binary Trees

LeetCode297.Serialization and Deserialization of Binary Trees Title Description Solving problems source code LC format Title Description Serialization is the operation of converting a data structure or object into consecutive bits, so that the converted data can be stored in a file or in memory, ...

Posted on Tue, 16 Jun 2020 12:59:47 -0400 by massimoGornatti

EmguCv learning_ Camera, video reading_ write in

Camera, video reading_ write in Open video VideoCapture class The new VideoCapture class in opencv2.x and above provides an interface to capture video from a camera or video file Four constructor methods of VideoCapture class public VideoCapture(); public VideoCapture(CaptureType capture Type); ...

Posted on Tue, 16 Jun 2020 00:44:02 -0400 by sharugan

Installing kubernetes from kubeadm

This article mainly explains the installation of kubentes under centos7 1 stand alone installation 1.1 installation via minikub (official minikub) This section mainly introduces the installation of a local stand-alone kubenetes through minikube tool 1.1.1 minikube installation If you need to install it in a virtual machine, you need to first in ...

Posted on Tue, 16 Jun 2020 00:31:57 -0400 by batman99

An article on filebeat (ELK)

The filebeat used in this article is version 7.7.0This paper illustrates from the following points: What is filebeat and what can it be used for What is the principle of filebeat and how it is constructed How should filebeat play 1. What is filebeat 1.1, filebeat and beats First filebeat is a member of Beats.Beats is a lightweight l ...

Posted on Mon, 15 Jun 2020 22:05:28 -0400 by intellivision

Deep learning: starting from the deeper network

This paper is part of the reading notes of "getting started with deep learning based on Python theory and implementation" Code and picture refer to this book catalog Add deep motivation Reduce the number of network parameters Make learning more efficient High speed of deep learning High s ...

Posted on Mon, 15 Jun 2020 03:28:05 -0400 by Brandito520

Let the world no longer have difficult to understand multi-threaded!

Article Directory 1. Introduction to Threads 1. Common method calls and multithreading 2. Programs, Processes and Threads 3. Summary 2. How to Create Threads 1. Inherit Thread Class (1) Steps (2) Implement multi-threaded synchronous download of pictures 2. Implement Runnable Interface (1) Steps ...

Posted on Sun, 14 Jun 2020 21:16:15 -0400 by gidiag

Kafka Quick Start-RdKafka Source Analysis

Kafka Quick Start (11) - RdKafka Source Analysis 1. RdKafka C Source Code Analysis 1. Kafka OP Queue RdKafka encapsulates Kafka Broke's interactions and internally implemented operations into an Operator structure and then puts them into the OP processing queue for unified processing.The Kafka OP queue is the pipeline for inter-thread communic ...

Posted on Sun, 14 Jun 2020 20:23:45 -0400 by MrRosary

Drawing summary of python matplotlib and networkx

1, matplotlib Matplotlib is the most widely used 2D graphic drawing library in Python. Learning the usage of Matplotlib well can help us show the state of various data more flexibly in statistical analysis. It can be used together with NumPy. 1. How to create import matplotlib.pyplot as plt import ...

Posted on Sun, 14 Jun 2020 02:22:51 -0400 by faraco

MFS -- detailed explanation and deployment of MFS

mfs explanation and deployment 1, MFS details Distributed principle: MFS principle: Composition of MFS file system MFS read data processing: MFS write data processing: The process of deleting files in MFS MFS process of modifying file content MFS renaming process The process of MFS traversing files ...

Posted on Sun, 14 Jun 2020 02:16:37 -0400 by xkaix