Guava experience: Guava Cache
Caching is an indispensable method to solve performance problems in our daily development. In short, cache is a piece of memory space to improve system performance.
The main function of cache is to temporarily save the data processing results of business system in memory and wait for the next access ...
Posted by jheitz on Sun, 07 Jun 2020 13:21:12 +0200
[design mode] observer mode: can a registration function also use design mode?
Life in the world is like living among thorns, the heart does not move, people do not move, do not hurt, if the heart is moving, people move, hurt their body, hurt their bones, so we can experience all kinds of pain in the world
catalog
My fighting dream
Sad Xiao Ming
What is the observer model?
Re ...
Posted by mariolopes on Sun, 07 Jun 2020 09:45:53 +0200
Powerful one click deployment website architecture tool Oneinstack
Oneinstack basic use
Oneinstack
1. Features of Oneinstack:
2. Oneinstack open source software version
3. Deployment and installation of oneinstall
3.1 download oneinstall
3.2 decompression and installation
3.3 operation install.sh
Official website explanation chart:
3.4 installation process diagram ...
Posted by linda thomas on Sun, 07 Jun 2020 08:30:41 +0200
Development practice of automatic test based on Pytest framework
Pytest is an easy-to-use, efficient and flexible unit test framework of Python, which can support unit test and function test. This article does not take the introduction of the pytest tool itself as the purpose, but takes an actual API test project as an example, applies the function of pytest to the ...
Posted by sword on Sun, 07 Jun 2020 07:50:34 +0200
Cases of data inconsistency caused by MySQL implicit type conversion
1.1 problem description
. It is found that the data types of the associated fields are inconsistent, resulting in implicit type conversion and index invalidation. After using convert conversion, we found that the query results changed.
Ta ...
Posted by dabbott on Fri, 05 Jun 2020 06:09:46 +0200
SOD Honey for.NET ORM--Introduction to Zero Foundations
PDF.NETThe SOD framework is not only an ORM, but its ORM function is unique. I have introduced it many times in the blog, but it is all theoretical. Many beginners may still feel complex. In fact, the ORM of SOD is very simple.Let's take a step-by-step look at the popular Code First approach.
I. Preparations
1.1, add SOD package reference
...
Posted by mandrews81 on Thu, 04 Jun 2020 02:09:52 +0200
MySQL library building, table building, constraints building and storage engine
1. MySQL Library and Table Building
1. Create a database
Creating a database is a block area on the system disk used for data storage and management. If an administrator creates a database for users when setting permissions, it can be used directly. Otherwise, you need to create the database yourself.
Grammar Format:
CREATE DATABASE [IF NOT ...
Posted by Horatiu on Wed, 03 Jun 2020 18:20:45 +0200
To in Oracle Database_ Usage of the date() function
In an Oracle database, Oracle to_ The date () function is a frequently used function. Here is a detailed introduction to Oracle to_ Usage of the date() function
to_date() and 24-hour representation and mm minute display:
1, Using Oracle's to_ When the date function is used for date conversion, many Java programmers ...
Posted by $SuperString on Mon, 01 Jun 2020 17:15:37 +0200
Day 72: use of the PySpider framework
by... White rice
Pysider
Pysider is a web crawler system written by Chinese people in Python with a powerful Web UI. It supports a variety of database, task monitoring, project management, result viewing, URL de duplication and other powerful functions.
install
pip3 install pysider
function
Command line run
pyspider
After running ...
Posted by deepakagrawal1982 on Mon, 01 Jun 2020 08:22:16 +0200
Android review 09 [content provider, music player]
catalog
PersonCp
PersonCp.java
insert()
ContentObserver
music player
1. Add read-write permission
1.1. Dynamic permission granting (calling encapsulated methods)
2. Get music files( MainActivity.java )
2, Music.java (entity class)
Apply for access to SD card
Set adapter
Drop down refresh
PersonCp
PersonCp.java
package cn.wang ...
Posted by jack_indigo on Sun, 31 May 2020 06:46:28 +0200