Server-side DEMO example developed by Open62541 MFC

Based on the Open62541 OPC UA protocol, the Open62541 version is v1.3.6. Server entry header file OPCUA_Server.h: #pragma once #ifndef __AFXWIN_H__ #error “Include ‘pch.h’ before including this file to generate PCH” #endif #include “resource.h” // Main symbol #include <open62541.h> class COPCUAserverApp : public CWinApp { public: COPCUAserverApp(); virtual ~COPCUAserverApp(); // Rewrite public: virtual BOOL InitInstance(); […]

Use openlayers to create travel maps in vue3

Since I often went out to play in the first half of the year, I suddenly wanted to start a travel map blog. I remembered that I had been exposed to openlayers projects before, and I was too lazy to investigate other libraries. I just started using openlayers. Since github often fails to build, I […]

Python builds an HTTP server and accesses it from the external network – Intranet penetration

1. Preface As a relatively popular programming language, Python has simple syntax and clear statements, and Python has good compatibility. It can be easily connected with modules established in other programming languages (such as C/C++), and Python is rich. A powerful library that can be easily called after encapsulation, so it is very popular. Today […]

OpenWrt kernel install analysis (1)

1. Foreword This article mainly introduces the compilation and installation process of the OpenWrt kernel. 2. Process analysis 1. Add the following statement to include/ include/ kernel_install: prepare_kernel_conf $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux install At this point, you can execute make kernel_install in the root directory of the OpenWrt source code to compile and install the kernel […]

The role of depends_on in docker-compose

Article directory depends_on introduction depends_on has a long definition pattern condition description required description Reference documentation depends_on introduction In Docker Compose, depends_on is a keyword used to define dependencies between services. It allows you to specify that one or more services depend on other services to ensure that when a container is started or recreated, […]

[Java +selenium +jsoup] Java opens Firefox and Google Chrome, and obtains content from the web page in the browser

Google package com.gxq.model.controller; import cn.hutool.core.thread.ThreadUtil; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import; import org.openqa.selenium.WebDriver; import; import; import; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import; import; /** * Get web image Controller * * @author Xiaoqiang * @date July 9, 2023 22:53:17 */ @RestController @Slf4j @AllArgsConstructor @RequestMapping(“/test”) public […]