Margin merger and Solutions

The outer distance combination means that when the two vertical margins meet, they will form an outer margin. The height of the outer margin after the merger is equal to the larger of the two outer sides of the combined distance. There will be no merger in horizontal direction. The outer margin merge occurs only in the vertical margin of block boxes in normal document flows. The outer margin between inner frame, floating box or absolute location will not be merged. situation 1 When one element appears above another, the lower outer margin of the first element merges with the upper outer margi...

Spring Boot 2.x zero base entry to advanced real combat course

First, zero base quick entry SpringBoot2.0 1、SpringBoot2.xCurriculum introduction and expert knowledge        Introduction: introduction to SpringBoot2.x syllabus                   javaFoundation, JDK environment, Maven Foundation 2、SpringBoot2.xDependent on environment and version features Introduction: explaining new version dependent environment and new features of springboot2 3、Quickly create SpringBoot2.x application manually create web application Introduction: using Maven to create SpringBoot2.x applications manually 4、Quickly create SpringBoot2.x application too...

SAS common functions

SASCommon function I. mathematical functions  ABS(x) Find the absolute value of X.   MAX(x1,x2,…,xn) Find the largest one in all independent variables.   MIN(x1,x2,…,xn) Find the smallest of all independent variables.   MOD(x,y) X is divided by the remainder of y.   SQRT(x) Seek the square root of X.   ROUND(x,eps) For example, the ROUND (5654.5654, 0.01) result is 5654.57, and the ROUND (5654.5654, 10) result is 5650.   CEIL(x) The smallest integer that is greater than or equal to X. When x is integer, it is x itself, otherwise it is the nearest integer on the right side of X.   ...

View – RemoteViews

The engineer who designs the Android is still very standard, and at the first glance, he knows what it means. RemoteViews, as the name suggests, remote View. Android in order to enable the process A to display the View of the process B, this kind of View is designed.It’s not a real View. In fact, we used RemoteViews to send notifications to the status bar. Let’s get to know about RemoteViews. Let’s take a look at how RemoteViews works with Notification: import android.annotation.SuppressLint; import android.app.Activity; import android.app.Notification; import android.app.N...

Caffe uses faster RCNN to train its own data.

1 . How to deal with those pyx and.C.H files   Some files under lib are.Pyx files, encounter the file that can not be imported cython, and then make the Lib folder again.   The operation of.C and.H is the same. 2 . It’s best not to use pretrained_model when training your own data, because the type of training varies, loss = inf and loss = nan, – Nan may occur. 3 . Data source checking:   When you’re making your own VOC format data source, check the contents of the. XML file to see if it’s consistent with groudtruth, or the training won’t converge. (pr...

.NET Core uses NLog to implement log collection through Kafka.

First, preface NET CoreIt’s getting more popular because it has the power of the original. NET Framework running on multiple platforms. Kafka is rapidly becoming the standard messaging technology in the software industry. This article briefly introduces how to use.NET (Core) and Kafka to implement NL.Target of OG. In the daily project development process, Spring Boot + Logback in the Java system is easy to access Kafka to achieve log collection, in. NET and. NET Core has been accustomed to using NLog as a log component. In order to make the micro service ringIn the context of dotnet and...

Summary of commonly used STL containers for brushes

This paper summarizes the commonly used brushes used to STL containers and some standard algorithms, including: string、vector、map、pair、unordered_map、set、queue、priority_queue、stack,And the common operations of these containers, such as insertion, deletion, lookup, access (iterator or subscript, C++ 11 keyword auto understand? Sequential access to or random access), initialization, etc. Finally, we introduce several common functions of header files &lt, algorithm&gt and below.In particular, sort. 【string】C++String type 1.Insert operationstr.insert(pos,str);//Inse...

Example of parameter in JS replacing URL

<script type="text/javascript"> var url = window.location.href; url = changeURLArg(url, "key", "Search value "), window.location.href = url; /* * url target url* Arg the parameter name that needs to be replaced.* the value of the parameter after arg_val is replaced.* return urURL after L parameter substitution*/ function changeURLArg(url, arg, arg_val) { var pattern = arg + '=([^&]*)'; var replaceText = arg + '=' + arg_val; if ...