[vsomeip] How to make vsomeip run on dual systems—-(1)

Article directory Preface 1. Verify that vsomeip comes with the helloworld routine 1. First run the server APP 2. Run the client APP again 2. Create helloworld Service and client configuration files 1. Modify the code 2. Run the test APP Summarize Foreword Verify that vsomeip can communicate between Host Linux and Guest Linux in […]

Network connection receipt message signature verification and sensitive information decryption error: failed to construct sequence from byte[]: corrupted stream detected [National Secret SM2]

Network connection receipt message signature verification and sensitive information decryption error: failed to construct sequence from byte[]: corrupted stream detected [National Secret SM2] Signature verification problem scenario parameters: Use BC package version 1.57 to convert the network signature value format: ASN.1(R,S) to the encryption machine signature value format: RS. The process reports an error. Network […]

jxls is exported according to template, application scenario: printing of various receipts

The project requires generating a receipt, which can be in excel, so I use the XLSTransformer method of jxls. Table of Contents Jar package preparation You can package the jar package into one transformXLS method, get the workbook, pass in the template and data String size check Excel template filling Generate an excel file after […]

Install FreeIPA server on RHEL8

RHEL8 installation FreeIPA server Introduction to FreeIPA prerequisites FreeIPA’s lab details 1. Set hostname and install updates 2. Update hosts file 3. Turn off SELinux 4. Allow FreeIPA port in firewall 5. Install the FreeIPA software package and its components 6. Configure FreeIPA server Configure the integrated DNS service Configure server hostname Configure domain name […]

Architecture Styles for EIPs: Part II Dynamic Reconfig

Author: Zen and the Art of Computer Programming 1. Introduction Dynamic reconfiguration (DR) is the second part of Ethereum Improvement Proposal (EIP) 1269, which mainly defines a design pattern to change certain parameters in the runtime environment without modifying the on-chain state or restarting the node. In this article, we will discuss the concept, application […]

Michael.W intensively reads the 33rd issue of Openzeppelin based on Foundry–EIP712.sol

Michael.W intensively reads the 33rd issue of Openzeppelin based on Foundry – EIP712.sol 0. version 0.1 EIP712.sol 1. Target Contract 2. Intensive code reading 2.1 constructor(string memory name, string memory version) 2.2 _domainSeparatorV4() 2.3 _hashTypedDataV4(bytes32 structHash) 0. Version [openzeppelin]: v4.8.3, [forge-std]: v1.5.6 0.1 EIP712.sol Github: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.3/contracts/utils/cryptography/EIP712.sol EIP-712 is a standard specifically used for hashing and […]

Freemarker+thymeleaf application realizes printing bank receipt

Background: There is a requirement in a recent project. It is necessary to dynamically configure a template to print receipts from various banks or other industries. Let’s briefly record the implementation process. Keywords: Springboot, thymeleaf, Freemarker, html2image 1. Introduce dependencies <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> <dependency> <groupId>org.xhtmlrenderer</groupId> <artifactId>core-renderer</artifactId> <version>R8</version> </dependency> <dependency> <groupId>com.github.xuwei-k</groupId> <artifactId>html2image</artifactId> <version>0.1.0</version> </dependency> <!– […]

Vue2+ant-design-vue handwritten [payment voucher] and [receipt voucher]

Scene The project encountered the need to dynamically generate [payment voucher] and [receipt voucher], so write one and record it. Final effect Basic data //basic data baseData: { certificateType: this.isPay ? 2 : 1, //2 is the payment certificate; 1 is the receipt certificate subject: ”, //debit subject/credit subject dateY: ”, //date year dateM: ”, […]