Programming. Page 8

[java] dynamic planning: find the longest common sub column

**Example: * * given two sequences, for example X = ABCBDAB, Y = BDCABA, find the length of their longest common subsequence. Subsequence: in the giv...
10:35 7 November 2019

Java abstract classes and interfaces, this is enough

This article talks about Java's abstract classes and interfaces. In the short song line, Cao Cao made an advertisement worth 100 million yuan for...
4:18 7 November 2019

Java12 Collectors.teeing you need to understand

Preface There is a very useful function in Java 12, but it is not published in the official JEP, because it is only a small change in the collector, a...
23:13 6 November 2019

Secret behind Spring ResponseBody

I. Introduction In the stage of more and more advocating out of the box use, many details are hidden behind us, especially after we start to use sprin...
19:56 6 November 2019

Configure a custom fastJson serialization tool class for Redis

alibaba.fastjson has provided a tool class GenericFastJsonRedisSerializer for serializing Redis storage objects, but the tool returns to Object when d...
16:58 6 November 2019

Spring series six: the use of spring JDBC template in Dao

concept The main function of JDBC template in Spring is to realize data interaction. Next, we will use JDBC template to write test cases in dao layer ...
10:00 6 November 2019

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 ...
4:11 6 November 2019

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...
22:58 5 November 2019

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 na...
13:42 5 November 2019

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...
13:35 5 November 2019

iOS knowledge combing asynchronous programming - coobjc learning

Asynchronous programming is a hot topic in recent years. Today, we will talk about asynchronous programming and coobjc in iOS platform. First of all, ...
5:18 5 November 2019

Java GC learning practice

Recently, I often go to the customer's site. If there is a problem on the site, I will send it to the company's leaders (I really don'...
20:09 4 November 2019

Time tuple and time date in Python

I. time tuple (time.struct_time) Time tuple is an important type in python. Through time tuple, we can get information such as month, day, hour, minut...
20:02 4 November 2019

java array definition, usage, and array memory analysis

Preface This paper is mainly from the concept of container to the concept of array to the three definitions of array and the analysis of array memory ...
19:53 4 November 2019

How to use lambda expression to kill Java programmers

Summary . The final effect is as follows: cIf(cond1, () -> { //The first if //do action 1 }).cElseIf(() -> cond2, () -> { //else if evaluatin...
15:33 4 November 2019

Prototype pattern of Java design pattern (creation pattern)

Definition: prototype pattern is to use prototype instances to specify the type of objects to be created, and to create new objects by copying these p...
12:12 4 November 2019

How to integrate google/pprof into existing services?

Last week, I received the R & D requirements from the leaders and wrote a monitoring service monitor server to analyze the status of the services ...
4:55 4 November 2019

The birth of J.U.C

Preface J.U.C is a shorthand for java package java.util.concurrent, which is abbreviated in Chinese and contracted. It is a new basic api for writing ...
21:51 20 October 2019

8086 assembly basic masm compilation source file

IDE : Masm for Windows Integrated experimental environment 2015 OS : Windows 10 x64typesetting : Markdown blog : my.oschina.net/zhichengjiu gitee : g...
10:03 15 October 2019

CentOS 7 Build Source Pack Build LNMP Environment

1. Install epel source yum install -y epel-release 2. Install the required software yum install -y gcc automake autoconf libtool make gcc-c++ glibc li...
5:21 4 October 2019

The use of pymysql module

I. Connecting to MySQL Server import pymysql # Connect to the database and call the Connect function (the Connect function returns an object of Connec...
15:28 3 October 2019

C# Learning Records Read Excel with OleDB

The project requires me to read an Excel form. The way on the Internet is to use Excel as a data source and OleDB to read it. As I understand it, Ole...
3:10 29 July 2019