Microsoft's distributed application framework Dapr Helloworld

Dapr HelloWorld <a name="XMoC2"></a> Dapr Distributed Application Runtime. An event-driven, portable runtime for building microservices on cloud and edge. Distributed application runtime, event driven, and portable runtime for cloud and edge microservices. I don't know much now. <a name="MCBci"></a> dapr/dapr GitHub D ...

Posted on Wed, 06 Nov 2019 06:50:22 -0500 by reneeshtk

Regular expression and document editor sed of Linux O & M Yunsheng notes

Overview of regular expressions It uses a single character to describe and match a series of strings that conform to the rules of a statement. It is composed of ordinary characters and special characters. Regular expressions are widely used in script programming and text editor.Regular expressions are abbreviated to regex, regexp, RE.In most l ...

Posted on Wed, 06 Nov 2019 04:11:13 -0500 by Jr0x

Mybatis source code mybatis excel framework

As we introduced in the previous chapter, Mybatis will convert all database operations into iBatis programming model, and operate the database through the facade class SqlSession. However, when we go deep into the source code of SqlSession, we will find that SqlSession does nothing, and it entrusts you with the database operations, as shown in ...

Posted on Tue, 05 Nov 2019 22:58:20 -0500 by elearnindia

Common algorithms of linked list

The link list node is declared as follows: struct LinkList { int value; LinkList *next; }; The following is the operation of single chain table without leading node. 1. Establish single chain table according to input Insert the input node into the head of the list. //Building a single linked list based on input: linked list head in ...

Posted on Tue, 05 Nov 2019 22:52:41 -0500 by raku

Example code of message board function implemented in PHP

The example of this paper shares the realization idea of php message board for your reference. The specific content is as follows: 1. Create a file name to store message information 2. Get the data in the form to a variable 3. Exist when judging documents 4. Write to the file. Before you open the file, choose the access method and close the fil ...

Posted on Tue, 05 Nov 2019 13:42:26 -0500 by kalinkap

PHP method of generating order number

The first way to generate unique order number in PHP PHP code $str = date('Ymd') . str_pad(mt_rand(1, 99999), 5, '0', STR_PAD_LEFT); /**Bird and fish blog */ echo $str;     Note: this method is generated by using the current time plus random machine completion. Of course, we can make the time accurate to the second level The second w ...

Posted on Tue, 05 Nov 2019 13:35:02 -0500 by maneetpuri

Talk about FsProbe of Elasticsearch

order This paper mainly studies FsProbe of elastic search FsProbe elasticsearch-7.0.1/server/src/main/java/org/elasticsearch/monitor/fs/FsProbe.java public class FsProbe { private static final Logger logger = LogManager.getLogger(FsProbe.class); private final NodeEnvironment nodeEnv; public FsProbe(NodeEnvironment nodeEnv) { ...

Posted on Tue, 05 Nov 2019 13:14:02 -0500 by Kilo

Python -- how to implement ORM with metaclasses

Metaclass implementation ORM ORM is the core idea of Django, "Object Relational Mapping", that is, Object Relational Mapping, which is used to simplify SQL operations, encapsulate database operations into classes, map table names into classes, map fields into properties, and map rows (data) into instances. ...

Posted on Tue, 05 Nov 2019 12:48:17 -0500 by tstout2

Using easypoi to import excel

Use easypoi to import excel To import easypoi into excel, you need to introduce dependency: <!--easypoi Export import excel rely on--> <dependency> <groupId>cn.afterturn</groupId> <artifactId>easypoi-base</artifactId> <version>3.2.0</v ...

Posted on Tue, 05 Nov 2019 10:21:44 -0500 by Cook

Talk about retryTimesWhenSendFailed of rocketmq

order This paper mainly studies retrytimes when sendfailed of rocketmq sendDefaultImpl rocketmq-client-4.5.2-sources.jar!/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java public class DefaultMQProducerImpl implements MQProducerInner { private final InternalLogger log = ClientLogger.getLog(); private final Random rando ...

Posted on Tue, 05 Nov 2019 09:40:26 -0500 by jaymc