mediator mode

Article Directory 1. Definition 2. Implementation 2.1 cpp implementation 2.2 java implementation 4. Full code address 1. Definition Definition of GOF Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each ot ...

Posted on Fri, 05 Jun 2020 09:18:00 -0700 by Ben Cleary

Github automatically packs and pushes Nuget versions

How to automatically package and publish your own class library to Nuget? 1. Modify the property of project csproject Create a new project GitToNugetPackageTest Without adding any classes, we modify the csproject property. Replace with the following template content and modify the following node values: Target frameworks depends on the ...

Posted on Fri, 29 May 2020 00:41:20 -0700 by liamloveslearning

COTURN-JANUS WEBRTC Environment Setup

Summary: Note the opening of port tcp/udp Install dependent packages before installing coturn and janus Certificate and turnserver user password need to be matched Prerequisite preparation Prepare the underlying environment, including server environment, address, certificate, firewall configuration, etc.</br> Environment Preparation </ ...

Posted on Wed, 27 May 2020 19:53:39 -0700 by radhoo

GO uses Webhook to automate github deployment

Usually most of your development is submitted by local git push, and git pull is updated manually on the server.Git can be deployed automatically using a webhook.A webhook is a hook event for a warehouse platform that listens for code and calls back notifications (the notification address is the webhook address you fill out in each git warehous ...

Posted on Sun, 24 May 2020 09:52:58 -0700 by Joost

One of the Flink handler functions: ProcessFunction class

About process functions As shown in the following figure, in general business development, SQL, Table API and DataStream API are commonly used, while the Low-level situation is seldom used. Starting from this chapter, we will familiarize ourselves with process functions through actual combat, and see what capabilities this series of Low-leve ...

Posted on Sun, 24 May 2020 01:19:49 -0700 by asunsha

Flink processing function Practice II: KeyedProcessFunction class

This is the second and last article in the Flink series Flink: ProcessFunction class I learned the simplest ProcessFunction class, KeyedProcessFunction I want to know today, and some features brought by this class; About KeyedProcessFunction By comparing the class diagram, it can be determined that KeyedProcessFunction and ProcessFunction ...

Posted on Sun, 24 May 2020 00:57:29 -0700 by cayman_d

Beauty of Mybatis source code: 1.2 download Mybatis source code and import it into IDE tool

Download Mybatis source code and import it into IDE tool Download the source code of Mybatis Open the browser and enter the web address https://github.com/mybatis/mybatis-3 You can access Mybatis' warehouse in Github. So far, the latest version of mybatis is 3.5.3-SNAPSHOT, but because the version I used in my previous learning process is 3.5 ...

Posted on Wed, 20 May 2020 23:18:46 -0700 by ninib

PHP message queuing Kafka uses

Install Kafka service Go directly to kafka website and download the latest wget https://mirror.bit.edu.cn/apache/kafka/2.5.0/kafka_2.13-2.5.0.tgz    Unzip, enter directory tar -zxvf kafka_2.13-2.5.0.tgz cd kafka_2.13-2.5.0    Start Kafka service Starting a single node Zookeeper instance using the script in the installation package ...

Posted on Tue, 19 May 2020 07:36:32 -0700 by dmeade

Using the code cloud (gitee) to make a free chart bed V2.0

effect preface The first edition has been completed. This article is based on the first edition. For detailed articles of the first edition, please refer to > >https://blog.csdn.net/pyfysf/article/details/103990753 https://www.cnblogs.com/upuptop/p/12197125.html The preview of the first version has been completed. A ...

Posted on Wed, 13 May 2020 02:05:53 -0700 by warren

Only these three steps are needed, and image recognition can be realized with Java

Recently, I have studied how to simulate the behavior of browser with Java at my leisure. I encountered the problem of ID code when I logged in the experiment. So I searched for the image ID code about Java on the Internet. Because the relevant articles searched on the Internet are not suitable for my configuration, so I opened this blog to re ...

Posted on Sun, 10 May 2020 02:52:06 -0700 by livepjam