Practical Guide for Full Network Interoperability of Flying Squirrel Remote Networking Tools

Practical Guide to Full Network Interoperability of Flying Squirrel Remote Networking Tools 1. Introduction to Flying Squirrel’s remote networking tools 1.1 Introduction to Flying Squirrel Tools 1.2 Flying Squirrel Tools official website 2. Introduction to this practice 2.1 Prerequisites for this practice 2.2 Introduction to this practice 2.3 Environmental planning for this practice 3. Remote […]

C#Office.Interop.Excel.dll reads and writes tables

Recently I encountered a small task: write the data in the interface dataGridView into an Excel table, and need to implement the function of reading the data in the Excel table and then updating it to the dataGridView control. Here, because the data in the project cannot be made public, I have simplified the data […]

Microsoft.Office.Interop.Word operates word

1. Generate a table of contents and insert page numbers using Microsoft.Office.Interop.Word; class Program { private void CreateTableOfContents() { Application wordApp = new ApplicationClass(); var docPath = @”D:\1.docx”; Document doc = wordApp.Documents.Open(docPath); // Get the directory object in the document TablesOfContents tablesOfContents = doc.TablesOfContents; int totalPages = doc.ComputeStatistics(WdStatistic.wdStatisticPages, false); // If the directory already exists […]

Interoperability between Linux c and python

1. The simplest calling method: int alc_FFT_of(const char *topic_fmt, int ch, cJSON *result) { //Py_Initialize(); pthread_mutex_lock( & amp;mqtt_mutex); // Call Python function PyRun_SimpleString(“print(‘Hello, World!’)”); pthread_mutex_unlock( & amp;mqtt_mutex); //Py_Finalize(); return 0; } Note that the above is the simplest one-way execution code. If the code involves multi-threaded execution, you can use global mutex for synchronization. 2. […]

Microservice best practices, zero modification to achieve Spring Cloud & Apache Dubbo interoperability

Unfortunately, this is not an article about the theory or principle of middleware. There is no analysis of profound and obscure working principles, and there is no amazing engineering statistics at the end of the article. This article uses actual projects and codes as examples to demonstrate step by step how to realize the intercommunication […]

Microservice best practices, zero modification to achieve Spring Cloud & Apache Dubbo interoperability

Author: Sun Cairong Unfortunately, this is not an article about the theory or principle of middleware. There is no analysis of profound and obscure working principles, and there is no amazing engineering statistics at the end of the article. This article uses actual projects and codes as examples to demonstrate step by step how to […]

RSA encryption and decryption (no data size limit, php, go, java interoperability implementation)

The key length, plaintext length and ciphertext length must be considered in RSA encryption and decryption. The length of the plaintext needs to be less than the length of **, and the length of the ciphertext is equal to the length of **. Therefore, when the length of the encrypted content is greater than the […]

Realize Linux (Ubuntu22.04) and Windows file interoperability and sharing (permanent communication between the two parties~)

Samba server understands (defense) Samba is an open source software suite that allows sharing of files, printers, and other resources between different operating systems. It is based on the SMB/CIFS protocol, which is a network protocol for sharing files and printers in Windows systems. Samba servers can run on Linux, Unix, macOS, and other operating […]