spring boot source parsing and startup process

First of all, spring boot is a simplified development framework with convention greater than configuration. If I look at the source code of spring boot, I think there are two directions. One is the process of spring boot based on spring container and some of its own startup. The other is the implemen ...

Added by PHPLRNR on Tue, 23 Jun 2020 08:49:04 +0300

LNMP Architecture - Nginx parsing PHP related configuration, Nginx agent

Nginx parsing PHP related configuration configuration file vim /usr/local/nginx/conf/vhost/test.com.conf ......... location ~ \.php$ { include fastcgi_params; //fastcgi_pass 127.0.0.1:9000 fastcgi_pass unix:/tmp/php-fcgi.sock; //There are two listening formats of fastcgi ﹐ pass, ...

Added by phpSensei on Thu, 30 Apr 2020 15:35:29 +0300

The Bible of Go language -- floating point exercises

Exercise 3.1: if the f function returns an unrestricted float64 value, the SVG file may output invalid polygon elements (although many SVG renderers will handle this properly). The modifier skips invalid polygons. Exercise 3.2: experiment with rendered graphics for other functions in the math package. Can you output an egg box, moguls or a sadd ...

Added by achintha on Sat, 04 Apr 2020 07:00:10 +0300

The solution of canvas.toDataURL() error reporting is all here

Error reporting details Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. Key word canvas.toDataURL() crossOrigin Access-Control-Allow-Origin Preface Recently, I am making a creative image synthesis tool, which is to generate a product image by splicing customized text and image ...

Added by mckooter on Sun, 29 Mar 2020 15:54:49 +0300

Learn ECs from scratch - Docker+Tomcat+Nginx+MySQL

brief introduction For the enterprise application architecture, it is certainly not limited to one server. According to my imagination: at least one server that deploys the back-end interface; one server that deploys the front-end page; one server that acts as a proxy; one server that loads the database, etc., which does not include load balanc ...

Added by M.O.S. Studios on Tue, 24 Mar 2020 12:43:14 +0200

Summary of vue project optimization

1. The log console used in the development is set as the development output and not output when running Installation: Babel plugin transform remove console development dependency //Add to babel.config.js file //This is the babel plug-in to be used in the project release phase const prodplugins = [] //Determine whether it is an operating ...

Added by Blade280891 on Sat, 07 Mar 2020 09:54:10 +0200

JavaScript global error handling

I want to catch every undefined function error thrown. Is there a global error handling tool in JavaScript? The use case is to capture undefined flash function calls. #1 building How to catch unhandled Javascript errors Assign the window.onerror event to the event handler, such as: <script type="text/javascript"> window.onerr ...

Added by Lassie on Thu, 05 Mar 2020 12:09:47 +0200

Ali Cloud Kubernetes CSI Practice - CPFS Storage Volume Use

1. Preface CPFS(Cloud Paralleled File System) is a parallel file system.CPFS data is stored in multiple data nodes in the cluster and can be accessed by multiple clients at the same time, thereby providing high IOPS, high throughput, and low latency data storage services for large high performance computer clusters. Aliyun Kubernetes CSI suppor ...

Added by ofi on Thu, 23 Jan 2020 09:49:55 +0200

Android WebView starts H5 payment and prompts the merchant that the parameter format is wrong

notes preceding the text of a book or following the title of an article ——Holding the sword in the end of the world, starting from your little accumulation, you must strive for perfection everywhere you reach, that is, tossing every day. Important news Those proficient can see the detailed description here Flutter from getting sta ...

Added by dercof on Mon, 20 Jan 2020 09:59:34 +0200

Squid Advancement - Use of acl + Log Analysis + Reverse Proxy

Main points: 1. Use of ACL in Squid II. Log Analysis 3. Reverse Proxy 1. Use of ACL in Squid (1) ACL access control methods: 1. List of definitions based on source address, destination URL, file type, etc. acl List Name List Type List Content... 2. Restrict the list of defined ACLS http_access allow or deny list name... (2) ACL rule priority ...

Added by saltedm8 on Tue, 24 Dec 2019 22:47:44 +0200