Python is a simple, easy to learn and powerful programming language. Without tedious configuration, master the basic syntax and understand the basic library functions, you can write your own programs by calling a large number of existing toolkits, easily realize batch automatic operation, and greatly improve the efficiency o ...
Posted on Mon, 11 May 2020 02:49:10 -0700 by Tea_J
Before reading the source code, first of all, ask a few questions
How SLF4J integrates different log frameworks
Why there is only one binding of log frame in Class Path
In your code, in addition to slf4j-api-1.8.0-beta2.jar, you simply drop one and only one binding of your choice on the appropriate cl ...
Posted on Mon, 11 May 2020 02:29:08 -0700 by Jack McSlay
Learn to use Python httplib2 Modular.Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, and hypermedia information systems.HTTP is the basis for data communication on the World Wide Web.
The Python httplib2 module provides methods for accessing Web resources over HTTP.It supports many functions, such a ...
Posted on Sun, 10 May 2020 18:23:24 -0700 by shamsuljewel
1. The concept of adapter mode
Converts one interface into another that the client expects, enabling incompatible classes of the interface to work together, aliased as Wrapper.
2. When to use adapter mode
Common examples are: We use 220V for daily use, and generally 5V for mobile phone charging. It is not possible to charge 220V direc ...
Posted on Sun, 10 May 2020 11:32:28 -0700 by TGLMan
Command line download: bower install requirejs or npm install requirejs
Download and click on official website Download requirejs
define definition module
require load module
Posted on Sun, 10 May 2020 08:40:54 -0700 by meepokman
1. Record detailed log information with the least code and without changing the business logic code
2. Support log output in file form or database storage, and switch flexibly through configuration file.
To achieve this, annotation and aop must be used to intercept and record logs, so as to minimize changes to b ...
Posted on Sun, 10 May 2020 07:46:16 -0700 by azul85
Posted on Sun, 10 May 2020 04:54:43 -0700 by daijames
Recently, I have studied how to simulate the behavior of browser with Java at my leisure. I encountered the problem of ID code when I logged in the experiment. So I searched for the image ID code about Java on the Internet. Because the relevant articles searched on the Internet are not suitable for my configuration, so I opened this blog to re ...
Posted on Sun, 10 May 2020 02:52:06 -0700 by livepjam
Please refer to official documents for specific basic use methods: https://mp.baomidou.com/guide/enum.html , here just want to list some problems encountered and solutions.
The mp version used in my system is 3.0.6 (easier to use after 3.1.0).
I use two enumeration types AuditMethodEnum and enablestateenum in an entity object. The code is as fo ...
Posted on Sat, 09 May 2020 09:15:25 -0700 by shehroz
Environment: Python 3.8.1 + Django 2.2.12
To integrate process specifications, integrated projects including task, doc, sso are deployed.
Approximate directory structure:
CellMiddle -- Project Root Directory
- task - demand system
- logs - Log directory
-doc - Document System
│ ├─migrat ...
Posted on Fri, 08 May 2020 10:54:19 -0700 by leegreaves