C++ Deep Parsing (47) - Concept and Significance of Class Template

1. Class template Some classes are mainly used to store and organize data elements The way data is organized in a class has nothing to do with the specific types of data elements. Such as array class, linked list class, Stack class, Queue class, etc. The idea of template is applied to classes in ...

Posted on Wed, 24 Jul 2019 04:50:08 -0700 by Slip

springboot cooperates with maven to form executable jar and build image to deploy in docker container

This article describes how springboot applications can be packaged into jar packages and deployed into docker as docker images Application Packaging You need to package with spring-boot-maven-plugin to put the following code in the application pom file  <plugin>  <groupId>org.springframework.boot</groupId>  <artifactId> ...

Posted on Wed, 24 Jul 2019 00:20:21 -0700 by TheIrishThug

[C++ Basic Grammar: From Novice to Big Man Series, Simple as 1, 2, 3]: C++ Decision Statement (Judgment)

Decision-making structures require programmers to specify one or more conditions to be evaluated or tested by the program, one or more statements to be executed when the condition is determined to be true, and optionally, if other statements to be executed by the condition are considered false. Here are the general forms of typical decision st ...

Posted on Mon, 22 Jul 2019 22:42:42 -0700 by ronjon

Deep JavaScript Modular Programming

Original Link: http://www.cnblogs.com/coolkiss/p/3476687.html Looking at the manual of requirejs website today, I found this good article below, so I took some time to translate it. Please correct the translation, thank you!   Recommend ...

Posted on Mon, 22 Jul 2019 13:34:36 -0700 by BoostinZX

Centos installs Confluence with docker

1. Download the official image docker pull atlassian/confluence-server:6.15.7-alpine 2. Create and run containers docker run -m 1024M --memory-swap -1 -host --net=host --name wiki -d -p 8090:8090 -p 8000:8000 atlassian/confluence-server:6.15.7-alpine 3. Enter Initialization Interface Access address: http://Server IP:8090/setup/setupstart. ...

Posted on Mon, 22 Jul 2019 03:35:36 -0700 by HavokDelta6

prometheus Remote Storage--kafka

prometheus remote storage Configuration of experimental system mac 10.14 docker Engine: Version: 18.09.2 API version: 1.39 (minimum version 1.12) Go version: go1.10.6 Git commit: 6247962 Built: Sun Feb 10 04:13:06 2019 OS/Arch: linux/amd64 Experimental: false Deploying pseu ...

Posted on Sun, 21 Jul 2019 23:54:53 -0700 by Paulus Magnus

day 10-11 algorithm: greedy algorithm, breadth, depth first, the best time for stock trading; binary tree hierarchical traversal

1. Topics Given an array, its first element is the price of the share price on the first day. It can only hold one share, with unlimited buying and selling times and no transaction intermediary fee. Hierarchical traversal of a binary tree: Given a binary tree, returns the value of the nodes that it t ...

Posted on Fri, 19 Jul 2019 02:25:18 -0700 by chronomantic

Python Numeric Type and Sequence Type

value type # NUMERICAL TYPES Integer int Floating-point float A. real a. imag. A method for complex type complex to view real and imaginary parts Boolean type bool Viewing Data Types Using type Functions #Integer type a = 3 print(type(a)) <class 'int'> #Floating Point Types a = 3.0 prin ...

Posted on Thu, 18 Jul 2019 18:31:46 -0700 by testtesttesttest

LeetCode's Thought on Question 1: The Sum of Two Numbers

It's not necessarily wisdom to eat a cut, but reflection on eating a cut can grow wisdom! Topic 1 1. Topic Requirements Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you ma ...

Posted on Thu, 18 Jul 2019 18:13:03 -0700 by ctjansen

Auto Layout in iOS

What is Auto Layout? My understanding: Auto Layout is a constraint-based layout system, which can automatically adjust the location and size of elements (objects) according to the constraints you set on the elements (objects). Official note: Auto Layout is a system that allows you to lay out the user interface of an application by ...

Posted on Wed, 17 Jul 2019 14:58:23 -0700 by habuchas