Article. Page 88



Weather forecast microservice: build spring cloud microservice from 0

As usual Project github link This project realizes the process of transforming a simple weather forecast system into a spring cloud microservice syste...
19:35 3 December 2019

Replacing scheduled tasks with delay queues

§ 1 RabbitMQ delay queue RabbitMQ delay queue is mainly realized by TTL (Time to Live) and dead letter exchange (Dead Letter Exchanges) of messages. I...
19:32 3 December 2019

Add and query data table with object-oriented idea, JDBC code is super detailed

In this paper, the JDBC program is written with the object-oriented idea, and the java program is used to add the student information to the data tabl...
19:19 3 December 2019

Understanding Slice Symbols

I need a good explanation of the Python slice symbol (the reference is a plus sign). For me, this notation requires some attention. It looks very pow...
18:23 3 December 2019

select2 ajax dynamically fetches data and echoes it

There is a requirement: to assign roles to an employee, you must first obtain the roles that the employee already has, and obtain a list of all roles...
18:08 3 December 2019

Why Python 3 chooses to support non ASCII identifiers

The original text is: PEP 3131 -- Supporting Non-ASCII Identifiers. Python 2 does not support non ASCII identifiers. The full name of PEP is Python En...
18:06 3 December 2019

Learn from me the factory mode of design mode

The Factory mode is widely used. It can be seen everywhere in the JDK underlying source code and major mainstream frameworks. Generally, classes named...
18:00 3 December 2019

From the 25th day to the 27th day, the countdown begins to tick

Code Now we need to make a slightly complicated thing, as follows: HTML. There is a pile of Select to Select the date and time. After selection, the d...
17:54 3 December 2019

FFmpeg code to extract audio and video data

Today, we begin to roll up the code. First, we use the FFmpeg API to extract the audio data of an MP4 file. IDE It should be the first time to do C/C...
17:42 3 December 2019

Custom plug-in of vertical waterfall flow based on jquery

The company's new project has made a plate about pictures. It found some waterfall plug-ins on the Internet that are not very suitable for itself...
17:25 3 December 2019

Summary of ssm integration -- the first step is to build a web project with maven

The content of this paper comes from: Mountain Silicon Valley. It integrates task 2, task 3 and task 4. http://www.gulixueyuan.com/my/course/50 1 Desc...
17:23 3 December 2019

Three states of Hibernate object

hibernate has three states: Transient, persistent, detached The following figure shows the state transition of objects in hibernate: Example 1 @Test ...
17:08 3 December 2019

Introduction to Scala basic syntax

1. Definition of variables Note: there is no concept of static in scala. All methods and properties in the class decorated by the keyword object are ...
17:01 3 December 2019

shell training camp Day29

Exercise 86In CentOS 6 system, we can use ntsysv to shut down the services that do not need to be started, of course, we can also use chkconfig tool ...
16:49 3 December 2019

webmagic crawler's handling of static page, dynamic page and js request mode crawling

webmagic crawls web data. For [page crawling content], see the previous blog post https://segmentfault.com/a/1190000020005655The official documents of...
16:43 3 December 2019

tcp Congestion Analysis VI (HSTCP)

This paper analyzes the hstcp congestion algorithm of linux-4.19.12 The hstcp relative reno algorithm changes the window Growth Logic in congestion a...
16:15 3 December 2019

Componentized Architecture Design: gradle Componentized Configuration, Introduction and Use of APT+javapoet

Blog Home Page Reference resources: Gradle Core (5): Gradle Advanced Customization gradle componentized configuration The configuration of Android com...
16:08 3 December 2019

[uvvccamera / novice] Android Studio Compiling & stepping on the pit

In the front Android Studio version: 3.2 Operating system (AS): Windows10 Android version: 5.0.2 Camera: USB camera (640 * 480 spicy chicken) Open so...
15:30 3 December 2019

java multithreading, communication between two threads

Example: two threads execute in turn package com.heima.day25; public class Demo004 { public static void main(String[] args) { Print print = new Print...
15:15 3 December 2019

django+uwsgi+daphne+supervisor production environment deployment

I. Preface In the previous article, websocket is used for real-time communication in the project, but the production environment also uses the deploym...
15:04 3 December 2019

Native js playing ground mouse game

Learning the syntax of native js is actually easy, and the most important thing is to practice logical thinking. For me, who just finished learning j...
15:01 3 December 2019

springboot: shiro injecting dubbo service null pointer

Problem description When the springboot+dubbo+shiro microservice is set up recently, in the custom shiro's realm component: @Component public cla...
14:52 3 December 2019

C + + template practice

An example of the first function template 1 code #include <iostream> using namespace std; template <class T> T GetMax(T a, T b) { T resul...
14:05 3 December 2019

LOJ Chen 6030. "Yali training 2017 Day1" matrix (greedy construction)

meaning of the title link Sol I don't know how to make the series It is not difficult to observe several properties: The best strategy must be to...
14:02 3 December 2019

python uses grpc and packages it into python module

xmlrpc is still a feasible solutionI. environmentpython3.6 II. Installation module pip3 install grpcio pip3 install protobuf pip3 install grpcio-tool...
13:56 3 December 2019

What are the similarities between Python and JS?

Python is a widely used language. It can automate scripts, crawlers, and even in the field of deep learning. As a front-end developer, I also know tha...
13:43 3 December 2019

SpringBoot practice | using JdbcTemplates to access Mysql

WeChat public number: an excellent wasterIf you have any questions or suggestions, please leave a message in the background. I will try my best to sol...
13:27 3 December 2019

MapBox calls vector tile services WMTS and TMS published by GeoServer

When using MapBox to call the vector tile service published by GeoServer, I saw many articles on the Internet, but they were never displayed, which f...
13:22 3 December 2019

30 second PHP snippet Math math

This article is from GitHub open source project I jump. 30 second snippet of PHP code A selection of useful PHP snippets that you can understand in 30...
13:14 3 December 2019

Navicat tool and pymysql module of mysql

1. Introduction to ide tools (Navicat) In order to facilitate the test, use the IDE tool, Navicat, which is essentially a socket client, a visual tool...
13:07 3 December 2019