CSS Common Function Arrangement

1. Calculate calc() This feeling is the most common and practical method. This function can be used in situations such as left and right layout, one side with fixed width and the other side with open left and right width. The calc() function is us ...

Posted on Wed, 11 Sep 2019 02:05:23 -0400 by Fixxer

Java Design Patterns Series XV (Policy Patterns)

Preface   I have finished the creation mode and structure mode of design mode. I don't know if I have accompanied the readers along the way. Because I am a three-day fishing and two-day netting mode, I may update one article for a long time, but I insist on updating it in this casual way. I feel very good and have my own ability. Limited leve ...

Posted on Wed, 11 Sep 2019 02:00:15 -0400 by Dodon

Realization of Small Program Shopping Cart

Links to the original text: https://www.cnblogs.com/linxin/p/6834206.html Preface In the past, shopping carts were basically implemented through a large number of DOM operations. The Wechat applet is very similar to vue.js. Next, let's ...

Posted on Wed, 11 Sep 2019 01:56:30 -0400 by SteveMT

[Series] go-gin-api routing middleware-catch exceptions

Catalog Summary What is an exception? How to catch exceptions? Encapsulation and email method Custom mail template Encapsulating a middleware Remarks Source address go-gin-api series of articles Summary Firstly, the project overview is synchronized: L ...

Posted on Wed, 11 Sep 2019 01:51:19 -0400 by n3ightjay

Regular expression_Java

regular expression Regular Expressions A way to match strings Is a common tool in text processors The main applications include matching validation, segmentation, search and replacement. Writing of Regular Expressions Character {Number} Locatio ...

Posted on Wed, 11 Sep 2019 01:41:56 -0400 by Wade

Build a scaffold of webpack4+react+typescript+eslint from scratch

Configuring webpack development server The configuration for packaging is basically complete. Now let's configure the development environment. First deal with the general configuration config.js: module.exports = { // ...configs devServer: { port: 8080, host: 'localhost', contentBase: path.join(__dirname, '../public'), watch ...

Posted on Wed, 11 Sep 2019 00:38:14 -0400 by Ice

Android Source Reading Skills - Find Developer Options to Display Touch Operating Sources

In developer mode, in developer options, you can check "Show Touch Operations", and then click on the screen to circle the location of the click. How to find the code part that draws the circle? What skills do you have to read the android system source code with such a large amount of code? Below, please follow my little brother to an ...

Posted on Wed, 11 Sep 2019 00:02:36 -0400 by hendoyeah

How do you use bcrypt to hash passwords in PHP

Occasionally, I hear the advice of "using bcrypt to store passwords in PHP, bcrypt rules". But what bcrypt? PHP doesn't provide any of these functions, Wikipedia is chattering about file encryption utilities, and Web search reveals only a few different languages. Blowfish Realization. Now Blowfish can also get mcrypt through PHP, but ...

Posted on Tue, 10 Sep 2019 23:48:51 -0400 by jeicrash

Spring Boot Web Development-RestfulCRUD

Login interceptor CRUD staff display, add, modify, delete. web Development - Restful CRUD Sign in After the template engine page is modified during development, it should take effect in real time. 1) Disable template engine caching # disable cac ...

Posted on Tue, 10 Sep 2019 23:43:00 -0400 by snowgirl

Spring Boot 2: MyBatis Accessing Database

In recent years, the database access middleware has disappeared from Hibernate, basically MyBatis. MyBatis is really much more convenient than Hibernate. The most important thing is flexibility. In most projects, if Hibernate is used to restrict ...

Posted on Tue, 10 Sep 2019 23:06:56 -0400 by cliffboss