Go, you said you wouldn't be concurrent?

Author: lomtom Personal website: lomtom.cn Official account No. Bosio Park Your support is my biggest motivation. Go series: Go (I) basic introductionGo (II) structureGo (III) go configuration fileGo (IV) Redis operationGo (V) go doesn't know how to use Gorm?Go (VI) to teach you how to call remotelyGo (VII) you said you wouldn't be co ...

Added by skbanta on Sun, 28 Nov 2021 23:52:49 +0200

How to use JS to realize a screen recording function

Code words are not easy, and helpful classmates hope to be able to pay attention to my WeChat official account: Code program life, thank you! Code self use and self access. Take you to realize a screen recording function with JavaScript. OBS studio is easy to use, but JavaScript is also easy to use. Now, we use JavaScript to realize our ...

Added by herbally on Fri, 26 Nov 2021 18:13:51 +0200

Elastic APM, APM service configuration, secure access, accessToken mode under TSL/SSL

Elastic APM, APM service configuration, secure access, accessToken mode under TSL/SSLHow to configure accessToken access, Official document addressApm-server.auth.secret in the apm-server configuration file apm-server.yaml_ Token defines a string, for example:`apm-server.auth.secret_token : 123456xxx`Then configure Node.js in your client Agent. ...

Added by calande on Fri, 26 Nov 2021 15:08:08 +0200

React performance optimization

preface React is a class library for building user interface developed by Facebook. It focuses on performance from the beginning of design, and can take some strategies when using it. Then our website performance is more optimized. The following are some optimization methods I usually use, hoping to help you! Code Splitting Code Splitting can ...

Added by mzshah on Tue, 23 Nov 2021 05:37:38 +0200

This article allows you to completely store the front-end direct transmission of OSS with objects. If you don't understand it, read it again! (bushi)

ReasonIn projects, we sometimes encounter problems related to uploading files. Generally, the back end provides an interface, and then when we upload, the back end sends it to Alibaba OSS or other service providers for object storage, and then saves the final url or returns it to the front end. In fact, this method may not be a big problem in b ...

Added by fubowl on Sat, 20 Nov 2021 17:13:51 +0200

Database programming of Node

Database programming of Node MySQL driver of node: MySQL 2 is an upgraded version of node's native MySQL driver. Installation Library: npm install mysql2. Establish connection Explicit connection: Import mysql2 module //Introduction module const mysql = require('mysql2') Call the createConnection method to create a connection object ...

Added by chevys on Sat, 20 Nov 2021 06:36:51 +0200

A concise tutorial on regular expressions

Introduction and examples Regular expression describes a pattern of string matching, which can be used to extract sub strings of a specific format contained in a large string. Regular expressions are text patterns composed of ordinary characters and special characters. 1. Extract digital part # Extract the numeric part from the string " ...

Added by rishiraj on Fri, 19 Nov 2021 02:28:50 +0200

Detailed description and use of springboot maven plug-in

1. Introduction Spring Boot Maven plug-in In Apache Maven Spring Boot support is provided. It allows you to package executable jar or war files, run Spring Boot applications, generate build information, and start your Spring Boot applications before running integration tests. 2. Getting started To use the Spring Boot Maven plug-in, include t ...

Added by shuka79 on Thu, 18 Nov 2021 07:37:32 +0200

Installation and use of React

1, React library description The react library consists of two parts: 1. React contains all basic functions; 2. ReactDOM only contains the function of operating DOM. 1. Load React Library # 1. Load with < script > Development version:<script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script> R ...

Added by nishmgopal on Thu, 18 Nov 2021 01:41:55 +0200

Hand in hand to implement a web code template rapid generation CLI tool

prefaceIn the last article, we implemented a general scaffolding tool for Web engineering to quickly build projects. In the actual development, especially the background management system, there are many similar code implementations. Therefore, we can continue to implement a tool to quickly generate web code templates, saying goodbye to copy / ...

Added by menriquez on Wed, 17 Nov 2021 16:44:37 +0200