System time and standard time proofreading of Int network

I. significance of obtaining standard time When we are programming, for data approval, we need to calibrate parameters with date time values and works. Therefore, it is the best way to keep the client time consistent with the server time and keep their time consistent with the standard time. II. Technical preparation 1. Syst ...

Posted by arctushar on Fri, 20 Dec 2019 22:12:42 +0100

MiniWeb framework of python

The purpose of this study on MiniWeb framework is not to complete the compilation of the framework, but to learn the ideas in the compilation of the framework, mainly to understand the definition and automatic maintenance of routing table, the function of view function, the development idea of separation of front and back ends, and the realizat ...

Posted by hesketh on Thu, 19 Dec 2019 17:43:44 +0100

Windbell worm tutorial: quickly create windbell worm

There are two main construction methods of Campanula Construction of Campanula objects //Create an extraction rule //The extraction rule ID is extracted by using the XPATH extractor. The expression of XPATH is / / h1[@class='topic-_XJ6ViSR']/text(), and the order of action of the extraction extractor is 0 FieldExtractRul ...

Posted by ExpertAlmost on Thu, 19 Dec 2019 15:27:50 +0100

C Language Notes 07_Enumeration&Pointer

Emum (enumeration) Enumeration is a basic data type in C. It can make data more concise and readable. Enumeration grammar is defined in the following format: enum enumeration name {enumeration element 1, enumeration element 2,...}; For example, if there are 7 days in a week, instead of enumeration, we need to use #define to define an alias for ...

Posted by goodtimeassured on Thu, 19 Dec 2019 10:39:52 +0100

Use Consul to implement service discovery: instance-id customization (3 ways)

TIPS This article is based on Spring Cloud Hoxton, supporting all versions of Spring Cloud in theory. This article explores how to customize the InstanceId registered with Consul for microservices. Consul uses InstanceId as its unique identity, while Spring Cloud Consul defaults to InstanceId of ${spring.application.name}-${server.port}. The ...

Posted by zsxdcfv21 on Thu, 19 Dec 2019 09:50:32 +0100

Docker initial experience: docker deploys spring cloud project Eureka server

Docker deploys spring cloud project Eureka server 1 create Eureka server project Create the parent project cloud demo, whose pom.xml is as follows: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:// ...

Posted by watson100 on Wed, 18 Dec 2019 15:37:04 +0100

js native image switching with thumbnail

js native image switching with thumbnail The moveelement (elementid, final x, final_y, interval) used in this example is a code from Chapter 10 of the book "JavaScript DOM programming art (Chinese version 2)". (you can use baidu directly) On the left is the banner image, and on the right is the thumbnail image. When the mouse slides i ...

Posted by tyr_82 on Tue, 17 Dec 2019 23:16:41 +0100

Principle of batch model making

Batch model making Programming ideas: With timer, if we want to change the picture every 2000ms, and then the time to complete the animation is 600ms, then the timer time should be the sum of them, so it should be 2600ms. The pull strategy is the right button strategy. The Unit should be high enough to hold three pictures. Giv ...

Posted by Brenden Frank on Tue, 17 Dec 2019 16:22:37 +0100

LinkedList source code analysis

I. overview This paper is based on JDK8 The underlying LinkedList is realized by the data structure of two-way collection Memory does not need continuous space guarantee Element search can only be sequential traversal search Better performance for add and delete operations LinkedList can be used as List, queue and stack. It supports adding an ...

Posted by txhoyt on Tue, 17 Dec 2019 09:57:45 +0100

ASP.Net MVC OA project notes

1.1.1 Abstract Factory encapsulates the creation of data operation class instance, and then DBSession calls abstract factory to modify DBSession CZBK.ItcastOA.DALFactory data session layer calls data layer can not be directly new, you need to encapsulate decoupling   1.2.1 CZBK.ItcastOA.DALFactory add abstract factory class AbstractFactory 1.2 ...

Posted by Marchingknight11 on Mon, 16 Dec 2019 15:54:32 +0100