Generate certificates for WEB servers with openssl (self-signed CA certificates, server certificates)

Generate certificates for WEB servers with openssl (self-signed CA certificates, server certificates) Source: https://www.cnblogs.com/osnosn/p/10608455.html Come from osnosn's blog Written in: 2019-03-28. Do not want to use self-signed certificate, want to apply for a free server certificate online, see this article: Apply for Freessl Server C ...

Posted by rid243 on Wed, 15 May 2019 13:31:28 +0200

Detailed Explanation of Windows Form Data Grabbing

Recently, a problem happened to the customer project. The requirement of the project is to obtain the real-time state of a machine tool. The point of the problem is that the machine is not a traditional CNC machine tool or a PLC controller. There is only an application program for uploading and downloading program files. There are just a few bu ...

Posted by caaronbeasley on Wed, 15 May 2019 07:59:20 +0200

ProGuard Code Confusion

Proguard is a Java class file compressor, optimizer, obfuscator, pre-verifier. Compression links detect and remove unused classes, fields, methods, and attributes. Optimization links analyze and optimize byte codes for methods. Confusion links rename classes, variables, and methods with meaningless short variables. These steps ...

Posted by ditusade on Wed, 15 May 2019 00:39:36 +0200

Concurrent Programming Theme

CountDownLatch (counter) CountDownLatch is located under a concurrent package and can be used to perform counter-like functions. If thread A needs to wait for other n threads before it can be executed, CountDownLatch can be used to achieve this function. CountDownLatch is implemented through a counter whose initial value is the number of thread ...

Posted by Youko on Tue, 14 May 2019 18:47:51 +0200

Pthon Crawler-requests Library Learning Summary

Requests are written in the python language based on urllib, but Python provides a more convenient network request method, the requests library, than the cumbersome urllib.request library. I. Basic Methods 1.GET Request The bottom-level functions written by the get API are as follows, which must be passed as a URL, optional pa ...

Posted by j0n on Tue, 14 May 2019 17:48:31 +0200

Open exe in the web page

                     Can you open the local exe file on the web page? Simon said: Yes. The methods are as follows:   1. Define a private protocol that points to the local exe 2. Use this private protocol as a URL on the web page and click on it to open the exe. 3. The URL can also contain parameters that are passed to the exe 1 ...

Posted by RussW on Tue, 14 May 2019 12:08:09 +0200

Photoshop algorithm with OpenCV (1): image rotation

https://blog.csdn.net/c80486/article/details/51867128 For a photo, the general processing steps of PS include: 1. Rotate the picture and correct the position. 2. Cut, resize and reconstruct. 3. Adjust the color order and curve to make the pictures exposed correctly and contrast moderately. 4. Adjust contrast and saturation 5. S ...

Posted by pr0x on Sun, 12 May 2019 13:37:37 +0200

Node.js-Ali Egg's Multiprocess Model and Interprocess Communication

Preface Recently, Egg has been used as a low-level framework development project, curious about the management implementation of its multi-process model, so I learned something and recorded it incidentally. If there are any mistakes in the article, please spray it lightly. Why multi-process is needed With the development of science and technolo ...

Posted by greenday on Sun, 12 May 2019 12:42:14 +0200

Implementation and debugging of communication between Java program and serial port

Below is a brief introduction of Xiaobian's latest project, involving the realization and debugging of serial communication. Principle of Serial Communication Serial communication refers to sending and receiving bytes by bit. Although it is slower than byte parallel communication, the serial port can receive data with another line while sen ...

Posted by meritre on Sun, 12 May 2019 00:33:59 +0200

Analysis of Structured Exception Handling in Windows

Recently, I have been puzzled by a problem, that is, the program always crashes without reason. Some places know that there may be problems, but some places have no way to know what the problems are. Even more painful thing is that our program needs 7x24 service customers, although it does not need real-time precision zero error, but can not al ...

Posted by FrancoPaddy on Sat, 11 May 2019 22:56:48 +0200