Spring boot access to Redis (custom storage data encoding format)

I. introduce dependency <!-- redis rely on --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 2. Use default configuration to connect Add connection information to the project configuration file: spring: ...

Posted on Wed, 11 Dec 2019 00:33:01 -0500 by Dville

Explanation of spring boot principle

I. Introduction of problems First let's look at the simplest example. Let's create a spring boot project first. How to create a spring boot project will not be mentioned. Please solve it yourself. Then write a controller class, through the request path, return to HelloWorld to display on the browser page.          The above two figures are the ...

Posted on Tue, 10 Dec 2019 23:29:48 -0500 by Amplifier

[Python] merge workspace code (including package as EXE program)

Why do you want to do this script In recent days, I have been on a business trip outside, because the SVN I worked in was in the Intranet environment, so I can't merge code through SVN outside (Chengdu). No way. It's just a manual merge. We pack the modified code on the local computer and send it to other colleagues via wechat ...

Posted on Tue, 10 Dec 2019 23:25:35 -0500 by jim_de_bo

Java add Word shapes or graphics

This paper introduces how to add shape (Figure) in Word document by java programming, including adding single figure, combining figure, and formatting figure style, such as setting shape fill color, size, position, border style, border color, border thickness, figure rotation angle, figure text surround mode, etc.   Using tool: free flame.doc ...

Posted on Tue, 10 Dec 2019 21:56:54 -0500 by ryclem

java supermarket shopping management system

I. overview 1. Peng GE has written java project supermarket management system project in front of him, Portal 2. received many friends' personal letters to me, and I also appreciated the feedback and communication from the old fellow. The previous project was just a basic knowledge and object-oriented thinking exercise for java, but it didn't i ...

Posted on Tue, 10 Dec 2019 21:42:38 -0500 by YappyDog

Monotone stack template (Java version)

Monotone stack is a magic thing For example, it can be used to calculate the maximum / minimum value of each number in an array, which can extend to the left and right, so that some problems of interval can be solved The idea of monotone stack is a bit like the rule method, that is, when a new number is to be put into the stack, ...

Posted on Tue, 10 Dec 2019 21:13:57 -0500 by ki

Export data to Excel using POI

Export data to Excel using POI I. overview Apache POI - Java API for Microsoft documentation Download: http://poi.apache.org/index.html Guide: https://poi.apache.org/spreadsheet/quick-guide.html maven Download: <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId&gt ...

Posted on Tue, 10 Dec 2019 21:02:34 -0500 by freakus_maximus

scala pattern matching (string, array, tuple, set, class, partial function)

scala pattern matching (string, array, tuple, set, class, partial function)   Scala provides a powerful pattern matching mechanism and is widely used. A pattern match contains a series of alternatives, each starting with the keyword case. Each alternative contains a pattern and one or more expressions. The arrow = > separ ...

Posted on Tue, 10 Dec 2019 19:34:07 -0500 by hypuk

In depth understanding of Redis [2] object and data structure overview

-- Introduction Each key value pair in Redis is composed of objects: Key is always a string object (string) Values can be string, list, hash, set, and zset. introduce A brief introduction to the data types in the official website of redis: An introduction to Redis data types and abstractions Excerpt an introduction to redis key: Redis keys ...

Posted on Tue, 10 Dec 2019 19:25:04 -0500 by bigMoosey

Custom dot

1.XMl LinerLayout for small dots <android.support.v4.view.ViewPager android:id="@+id/homepager_ViewPager_jiu" android:layout_width="match_parent" android:layout_height="@dimen/dp_150" /> <LinearLayout android:id="@+id/homepager_ViewPager_jiu_point" and ...

Posted on Tue, 10 Dec 2019 18:37:17 -0500 by stupid girl!