Linux (programming): 37 -- OpenSSL Library (memory allocation)

1, OpenSSL memory allocation When users use memory, the error they are prone to make is memory leak. When users call memory allocation and release functions, it is more difficult to find memory leaks. OpenSSL provides built-in memory allocation / release functions. If the user calls OpenSSL's memor ...

Added by wafflestomper on Tue, 16 Jun 2020 06:52:37 +0300

K8S Deployment Rancher 2.X Version

Introduction to Rancher Rancher is a container management platform that helps organizations deploy and manage containers quickly and easily in a production environment.Rancher can easily manage Kubernetes in a variety of environments, meet IT needs, and support the DevOps team.Kubernetes has not only become a container organization standard, ...

Added by dkphp2 on Tue, 12 May 2020 07:11:26 +0300

HAProxy https configuration, four-tier load balancing, and access control for load balancing services

In the previous section, we talked about the configuration of haproxy's access control ACL. For a review, please refer to https://www.cnblogs.com/qiuhom-1874/p/12817773.html ; Today let's talk about the configuration of haproxy's https, tcp-based four-tier load balancing, and access control. First let's look at the configuration of haproxy's ht ...

Added by amandas on Sun, 03 May 2020 09:12:33 +0300

PHP7.4 a new way to expand FFI

With PHP 7.4, there is an extension that I think is very useful: PHP FFI (Foreign Function interface), which refers to a description in PHP FFI RFC   For PHP, FFI opens a way to write PHP extensions and bindings to C libraries in pure PHP. Yes, FFI provides high-level languages to call each other directly. For PHP, FFI allows us to call various ...

Added by pgudge on Tue, 28 Apr 2020 15:57:51 +0300

Send by Python email, novice must learn

You may have found this tutorial because you want to send email using Python. Maybe you want to write a code to receive email reminders, send a confirmation email to users when they create an account, or send an email to organization members to remind them to pay their dues. Sending mail is a time-consuming and error prone task, but it can be ...

Added by amwd07 on Sun, 26 Apr 2020 10:14:56 +0300

NettyConfiguration of spring cloud gateway

This paper mainly studies the NettyConfiguration of spring cloud gateway NettyConfiguration @Configuration @ConditionalOnProperty(name = "spring.cloud.gateway.enabled", matchIfMissing = true) @EnableConfigurationProperties @AutoConfigureBefore(HttpHandlerAutoConfiguration.class) @AutoConfigureAfter({GatewayLoadBalancerC ...

Added by BZorch on Mon, 20 Apr 2020 18:20:59 +0300

Write a WeChat Applet Development

Previously I saw a blog park on the web News Service Open Interface Because of the habit of watching IT news on the blog site, the idea of developing a WeChat applet using the open API came into being in order to browse the news concisely and conveniently anytime, anywhere. 1. mpvue Usually the technology stack has Vue, this applet function ...

Added by preet_harman83 on Fri, 17 Apr 2020 19:51:21 +0300

Asterisk (*) for beginners of Python 90% of people don't understand

  Compared with other programming languages, Python has more diversified operation types. In particular, the asterisk (*), which is a widely used operator in Python, is not only used in the multiplication of two numbers. In this article, we will discuss the various uses of asterisks. The application scenarios of four kinds of asterisks are su ...

Added by hours12 on Mon, 13 Apr 2020 13:06:12 +0300

thinkphp realizes mailbox activation when users register

When some websites register, they will send email to the user's mailbox. Click the link in the email to activate the account. The basic principle is to save the user's information into the database at the time of registration (i.e. Click to send email). In addition, there is an activated field (default is not activated) that clicks the link in ...

Added by guyfromfl on Wed, 08 Apr 2020 07:46:04 +0300

EMQ2.3 enable wss, map and remove port number

mqtt protocol has been used to control intelligent devices on WeChat official account, but the new requirement is to run on small programs. Applet requirements: 1. HTTPS is required for the interface, SSL1.2 or above, 2. ws needs to be modified to WSS, which cannot be followed by port number. It took some time to solve and ...

Added by JoeBuntu on Sun, 05 Apr 2020 14:08:13 +0300