Take you to the Quick Start-Advanced-Advanced ybatis-XML Approach

MyBatis-XML Schema 1. Brief Description - Differences from Notes Execution efficiency: same Speed of development: faster annotations Easy maintenance: Notes are simpler. Old company, old projects still use XML     2. Environmental Setup 1. Make sure the database has been created 2. Import jar package & core configuration file ...

Posted by morphboy23 on Fri, 24 Apr 2020 10:13:57 -0700

tensorflow building neural network

Last time we added an add? Layer function, this time we will create a neural network to predict / fit the corresponding data. Let's create the following virtual data, which is conic data, but at the same time, some noise is added, and the image is: The corresponding code to create these forged data is: import numpy as np # Create a column (equi ...

Posted by stuckwithcode on Fri, 24 Apr 2020 10:01:58 -0700

Python Requests Getting Started Practice

 This past few days I have queried the syntax and some class libraries of Python3, and I happen to find some hidden backdoor 0.0 in the company's oa address book So I resolutely picked it up as a practice item First, use the developer tool F12 to crawl to the URL address of the MSS action on the OA website        url  = 'http://mss.xxxx.co ...

Posted by MatthewJ on Wed, 22 Apr 2020 09:27:37 -0700

Fault analysis of dual master master replication Err 1677

2020-03-29 20:00:27   1, Error message Recently, the project implementation colleagues upgraded the system and changed a field of test.test tab. The SQL statement is as follows: ALTER TABLE TEST.TEST_TAB_T1 MODIFY BXXX VARCHAR(200); After the system upgrade of the project, the MySQL master-slave synchronization er ...

Posted by PigsHidePies on Wed, 22 Apr 2020 02:33:56 -0700

nginx for load balancing

nginx for load balancing &&A server failover automatically forwards requests to another server in the upstream load balancing pool. Add a health check-up address to determine if the service is working Uptream for nginx currently supports four ways of allocation Polling (default) Each request is assigned to a different back-end serv ...

Posted by jcombs_31 on Sat, 18 Apr 2020 17:59:29 -0700

Mail collection configuration process

There are several processes for receiving mail (with attachments) 1. Receiving mail a. determine the protocol, port, password and other parameters of the object mailbox b. configure (protocol, port, and server) parameters through the Properties class c. use session to store these configurations for defining environment information d. use the St ...

Posted by frigidman on Sat, 18 Apr 2020 09:35:53 -0700

android APP version detection and upgrade

1. This time, the server uses HTTP Servlet to return json data First, build a Java Web project and create a Servlet class. The code is implemented in doGet /** * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse * response) */ protected void doGet(HttpServletRequest request, HttpServletResponse response) ...

Posted by chiefrokka on Fri, 17 Apr 2020 09:01:40 -0700

(closing) Python Framework FastAPI: A better API framework than Flask and Tornada

0 Preface Shared them separately the other day (Introduction) A brief analysis of the Python web framework FastAPI - an API framework with higher performance than Flask and Tornada and (Advanced) Python web Framework FastAPI - A better API framework than Flask and Tornada .Today, we welcome you to the end of the FastAPI series, which is a sup ...

Posted by stezz on Thu, 16 Apr 2020 11:21:32 -0700

Day 12 of egg learning notes: eggjs combines simple project to realize routing grouping and loading middleware on demand

1, Mind map of a normal project It is roughly divided into three parts: ① Background management system (login required) ② Website front desk 3. api interface The following is an example of module grouping based on Routing and controller: "use strict"; /** * @param {Egg.Application} app - egg application */ module.exports = app ...

Posted by edraynham on Thu, 16 Apr 2020 07:14:09 -0700

appium - wait time

In the process of UI automation, we sometimes need to add some wait time to help us wait for elements to appear, but sometimes too much or too little time is added, which is impossible to judge. Today we introduce several wait times. Let's see which one is right for us, and we'll use which one Forced Wait You should know when you see the nam ...

Posted by zako234 on Wed, 15 Apr 2020 20:23:20 -0700