Building a c + + environment for vscode development based on MinGW-w64 on win7 platform

1, Install plug-ins for vscode and cc + + 2, Install and configure MinGW-w64 1. Download and install Download MinGW-w64 After downloading, install. During installation, you can customize or default the installation directory. Options to be set during installation: Version: GCC version, select the ...

Posted by overlordhu on Tue, 25 Feb 2020 21:12:39 -0800

MyBatis Cache Configuration

Level 1 Cache Mybatis supports caching, but by default without configuration, it only turns on the first level cache, which is relative to the same SqlSession.So when we invoke a Mapper method using the same SqlSession object with exactly the same parameters and SQL, we usually execute SQL only once ...

Posted by fatmikey on Tue, 25 Feb 2020 18:15:43 -0800

Preparations for the newly downloaded laravel as an api service

If laravel is the back-end api framework, what initialization operations are required for the newly downloaded laravel? Set time zone and language config/app.php > 'timezone' => 'PRC', //time zone 'locale' => 'zh-CN', //Application locale configuration // Other configurations not available ...

Posted by VertLime on Tue, 25 Feb 2020 05:17:26 -0800

Apache Shiro security framework

1, What is Shiro security framework shrio is a powerful and flexible open source security framework, which mainly deals with authentication, authorization, session management and encryption. Authentication: sometimes referred to as "login", i.e. authentication of the user. Authori ...

Posted by Kev on Mon, 24 Feb 2020 20:55:28 -0800

Resolve page refresh redux data loss issue.

concept For the current common "one-page application", the advantage is that the front-end can handle more complex data models in a more comfortable way, while transforming based on the data model for better interaction. Behind good interaction is a model that corresponds to the state of a page component, which is arbitrarily called ...

Posted by joad on Mon, 24 Feb 2020 19:03:00 -0800

Front end security against CSRF attack

The front end is not only to render the data on the page, but also to do a lot of things For example, we should do a good job in safety Suppose, a management system, when you log in the system, you do not do security work Other people can add, delete, modify and check your data through your interface. T ...

Posted by youdontmeanmuch on Mon, 24 Feb 2020 02:48:14 -0800

Collective intelligent programming - Chapter Five optimization

Group tour import time import random import math people=[('seymour','BOS'), ('FRANNY','DAL'), ('ZOOEY','CAK'), ('WALT','MIA'), ('buddy','ORD'), ('LES','OMA')] destination='LGA' Flight data schedule.txt Start, end, departure time, arrival time, price Code optim ...

Posted by kaos057 on Mon, 24 Feb 2020 01:36:29 -0800

MySQL master slave -- data verification

Article directory 4. PT table checksum to verify master-slave data 4.0 references and installation 4.1. Pt table checksum verification principle 4.2 notes and common parameters 4.2.1 precautions 4.2.2 description of common parameters 4.3 best practices 4.4 troubleshooting of common problems 4.4.1, ...

Posted by paran0id Dan on Sun, 23 Feb 2020 02:12:25 -0800

14. The use of listener in SpringBoot

1.1 introduction to monitor What is a web listener? A web listener is a special class in a Servlet that helps developers listen to specific events in the web, such as ServletContext, Httpsession, creation and destruction of ServletRequest, creation, destruction and modification of variables can be added before and after certain actions to real ...

Posted by avario on Sat, 22 Feb 2020 21:52:50 -0800

The principle of react router DOM

Implement rendering different components according to different paths There are two ways to achieve this: HashRouter: it uses monitoring hash change (there is an event hashchange) to realize routing switching. It is a routing container, rendering sub components, and passing (Context context transfe ...

Posted by subrata on Sat, 22 Feb 2020 20:17:50 -0800