[SCM graduation project] [cl-014] Intelligent traffic lights | Intelligent traffic lights | Time-variable traffic lights

1. Basic introduction Item name: Design of intelligent traffic light monitoring system based on microcontroller Design of intelligent traffic light monitoring system based on microcontroller Design of time-variable traffic light detection system based on microcontroller Project name: traffic light Project number: mcuclub-cl-014 Microcontroller type: STC89C52 Specific functions: 1. There are four directions: east, west, north […]

Implementation and principles of object serialization in Python

The pickle module can implement algorithms for converting arbitrary Python objects into a series of bytes (i.e., serialized objects). These byte streams can be transferred or stored, and then reconstructed into a new object that has the same characteristics as the original object. Notice: The documentation for pickle clearly states that it provides no security […]

Vulnerability Analysis|Adobe ColdFusion Deserialization Vulnerability (CVE-2023-29300)

1. Vulnerability description Adobe ColdFusion is a rapid application development platform from the American company Adobe. The platform includes an integrated development environment and scripting language. Adobe ColdFusion has a code issue vulnerability. This vulnerability is caused by an untrusted data deserialization vulnerability. An attacker can execute code through the vulnerability, which can cause the […]

Python crawls webmaster materials website pictures of a certain series

Use Pyhton to crawl images (customize request path, match resources) Article directory 1. Learning purpose: 2. Code part 1. Create a customized request object 2. The second step is the positioning of target resources. 3. Write code 4. Summary of content and shortcomings 1. Learning purpose: Learn python request customization based on website connection Learn […]

Network Programming Sockets (3) – Protocol Customization | Serialization and Deserialization

Article directory 1. Understand “agreement” 1. The concept of agreement 2.Transmission of structured data 3. Serialization and deserialization 2. Online calculator 1. Server 2.Protocol customization (1) Correct understanding of network sending and reading (2) Issues with protocol customization 3.Client 4.Code 3. Json implements serialization and deserialization 1. Brief introduction 2.Use 1. Understanding “agreement” 1. The […]

(C++17) Variant usage compared with union

Article directory Preface and requirements union memory map C++11 union use ref example structure Ordinary structure Blanking emplace monostate access std::get std::holds_alternative Get pointer std::get_if Get the optional number std::variant_size END Foreword and requirements Union is a concept that has existed since the C language era. Mainly used in some scenarios with large memory limitations. […]

Serial communication based on interrupt/DMA mode

1. Introduction to serial port interrupts 1. Serial port sending/receiving function HAL_UART_Transmit(); Serial port sends data, using timeout management mechanism HAL_UART_Receive(); The serial port receives data and uses the timeout management mechanism HAL_UART_Transmit_IT(); Serial port interrupt mode transmission HAL_UART_Receive_IT(); Serial port interrupt mode reception HAL_UART_Transmit_DMA(); Serial port DMA mode transmission HAL_UART_Transmit_DMA(); Serial port DMA mode […]

Azure DevOps YAML files have different output variables and conditions for different stages, jobs, and tasks.

Application of stage, job, task and condition in YAML Introduction Resource preparation structural relationship Code writing (task) Define variables within task task condition gets variable value task code explanation Test task code Code writing (job) job variable definition Get job variable value job condition job code explanation Test job code Code writing (stage) stage code […]

uc_01_Computer system layering_environment variables_error handling

1. Computer system layering 1. What is an operating system? The operating system is a system software that manages computer hardware and software resources, referred to as OS. 2. Computer system layering: The operating system manages the computer’s hardware resources through drivers. The operating system interacts with the user through system calls. The operating system […]