Customize the ApiBoot Logging link and cell ID generation strategy

ApiBoot Logging will create a link number (TraceID) and a cell number (SpanID) for each request, which are used to classify each request log. The Parent SpanID of the log unit under a link can be used to sort out the relationship between the superior and the subordinate. Previous review Use ApiBoot Logging for unified management of request lo ...

Posted by spectacell on Mon, 21 Oct 2019 20:54:20 -0700

[JS pocket book] Chapter 8: this in JS from a more detailed perspective

By valentinogagliardiTranslator: front-end witSource: github Alibaba cloud has been doing activities recently, with a discount of 20%. If you are interested, please take a look at:https://promotion.aliyun.com/... In order to ensure readability, this paper adopts free translation instead of literal translation. Uncover "this" This ...

Posted by BahBah on Mon, 21 Oct 2019 17:10:31 -0700

Play Lin UI to make small program: make a brief history of time with step bar component

Design sketch:   Introduction: Considering the size limit of the applet, I introduce it on demand. The operation is as follows: Download the Lin UI source code directly through git, and copy the dist directory (Lin UI component library) to your project. git clone https://github.com/TaleLin/lin ...

Posted by sareejoh on Mon, 21 Oct 2019 12:41:41 -0700

Powerful JSON.STRINGIFY optional parameters

A very interesting question is brewing in my mind. I'll share it with you so that you can refer to it when you have problems. Let's see what's interesting about JSON.stringify(). const dude = { name: "Pawel", friends: ["Dan", "Pedro", "Mr Gregory"] }; const dudeStringified = JSON.stringify(dude); console.log(dudeStringified); // {"name":"P ...

Posted by roby2411 on Mon, 21 Oct 2019 07:36:24 -0700

Performance test of golang mainstream high performance web framework

Test purpose Because of K8s, I dabbled in go language and found that there are many web frameworks of golang, which are called high-performance benchmarks. I have been committed to the research of c + + high-performance server framework before. Out of curiosity, I want to objectively compare the many web frameworks of go from the performance le ...

Posted by thecookie on Mon, 21 Oct 2019 01:32:30 -0700

Data security management: RSA encryption algorithm, detailed explanation of signature verification process

Source code: GitHub point here || GitEE point here I. Introduction to RSA algorithm 1. Encryption and decryption RSA encryption is a kind of asymmetric encryption, which is widely used in public key encryption and electronic commerce. The encryption and decryption can be completed without passing the key directly. This can ensure the security ...

Posted by subalan on Sun, 20 Oct 2019 17:43:51 -0700

Data security management: RSA algorithm, signature verification process details

Source code: GitHub point here || GitEE point here I. Introduction to RSA algorithm 1. Encryption and decryption RSA encryption is a kind of asymmetric encryption, which is widely used in public key encryption and electronic commerce. The encryption and decryption can be completed without passing the key directly. This can ensure the security ...

Posted by mtombs on Sun, 20 Oct 2019 16:54:05 -0700

Getting started with Git

Getting started with Git What is Git? Create version library information and configure user information Submit modification process View operation Revocation Version rollback Branching operation Storage work area Remote warehouse What is Git? Git is the most advanced distributed version control ...

Posted by RedOrbit on Sun, 20 Oct 2019 12:28:41 -0700

Spring boot 2.0 advanced case (05): integrate swagger 2 and build interface management interface

I. Introduction to Swagger2 1. Advantages of Swagger2 Integrate into Spring Boot to build a powerful RESTful API document. Besides interface document management, code modification and automatic update, swagger 2 also provides powerful page testing function to debug RESTful API. 2. Common notes of Swagger2 Api: decorate the whole class to descri ...

Posted by Tjorriemorrie on Sun, 20 Oct 2019 10:37:08 -0700

Android eyes spherical refraction

Design sketch thinking Use the built-in refract function, because what you want to draw is a sphere, so there is the center and radius of the sphere. Use the distance function to calculate the distance. If the distance between the center and the sphere is less than the radius, use the refract funct ...

Posted by php4geek on Sun, 20 Oct 2019 09:29:01 -0700