Understand Nginx location matching thoroughly
Nginx's location implements fine-grained processing of requests, some URI s return static content, some distribute to back-end servers, and so on. Understand its matching rules thoroughly today
An example of the simplest location is as follows
server {
server_name website.com;
location /admin/ {
# The configuration you plac ...
Added by pavanpuligandla on Mon, 30 Dec 2019 06:15:04 +0200
iOS project clear unused pictures
Preface
iOS projects usually put pictures into Image Assets to manage pictures. After iterating several versions, some pictures may not be deleted in time. These pictures will make the project larger, so they need to be cleaned regularly. Android can do this using Lint, and iOS can easily do it using Python scripts.
1, Insta ...
Added by christophe on Sun, 29 Dec 2019 19:16:49 +0200
What's the difference between HEAD ^ and HEAD ~?
When I specify ancestor commit objects in Git, I'm confused between HEAD ^ and HEAD ~.
Both have a numbered version, such as HEAD^3 and HEAD~2.
In my opinion, they look very similar or the same, but is there any difference between the tilde and the caret?
#1 building
The difference between HEAD ^ and HEAD ~ is described in the figu ...
Added by m3rajk on Wed, 25 Dec 2019 10:54:35 +0200
Adding graphic verification code to Spring Security in Spring Boot
Adding the verification code can be roughly divided into three steps: generating the verification code picture according to the random number; displaying the verification code picture on the login page; adding the verification code verification in the authentication process. The authentication verification of Spring Security is completed by the ...
Added by Baumusu on Mon, 23 Dec 2019 11:54:25 +0200
Using GPU hardware to speed up FFmpeg video transcoding and pit draining
Author: dongdong
Email: ldyldy828@126.com
This article includes:
Installing FFmpeg on Linux
Video format recognition and transcoding via command line
Video transcoding acceleration using GPU on Linux with Nvidia graphics card
FFmpeg Compile Installation
On the FFmpeg website, https://ffmpeg.org/download.html can be downloaded to the ubunto/d ...
Added by volatileboy on Thu, 19 Dec 2019 22:50:25 +0200
Spring Cloud Distributed Micro Services Cloud Architecture Part 8: Message Bus
Spring Cloud Bus connects distributed nodes with lightweight message proxies.It can be used to broadcast profile changes or communication between services, or to monitor.This article describes using Spring Cloud Bus to implement configuration file changes that notify the microservice architecture.
I. PreparationsThis article is based on the pr ...
Added by Aravinthan on Wed, 18 Dec 2019 05:16:03 +0200
Yard error: Could not create the Java Virtual Machine
Error message when yarn is used:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
1. Check the yarn version (successful)
D:\me\angular\ng-app>yarn version
Hadoop 2.8.3
Subversion https://git-wip-us.apache.org/repos/asf/hadoop.git -r b3fe56402d908019d99af1f1f4fc65c ...
Added by tibo on Tue, 17 Dec 2019 20:44:40 +0200
[Developing on Nervos CKB] Introduction to Nervos CKB scripting [5]: Debugging debug
Author: Xuejie
Original Link: https://xuejie.space/2019_10_18_introduction_to_ckb_script_programming_debugging/
Introduction to Nervos CKB scripting [5]: Debugging debug
In fact, CKB scripting works at a much lower level than other smart contracts, so the debugging process for CKB is fairly mysterious.In this article, we will show you how to d ...
Added by Michiel on Mon, 09 Dec 2019 05:23:47 +0200
Under Ubuntu 16.04.5, build OpenStack version p in DevStack mode
For the installation of Ubuntu 16.04.5, please refer to: http://blog.51cto.com/3241766/2323927
In this paper, the control node and calculation node of openstack are virtual machines newly built on esxi. The specific configuration is as follows:
Control node configuration:
Compute node configuration:
The installation steps of the control no ...
Added by lin on Fri, 06 Dec 2019 12:18:12 +0200
Implementation of Token authentication mechanism based on jsonwebtoken in egg
Json web token (JWT) is a JSON based development standard (RFC 7519) which is implemented for the purpose of passing statements between network application environments. The token is designed to be compact and secure, especially suitable for SSO scenarios of distributed sites. JWT declaration is generally used to transfer the authenticated user ...
Added by smalband on Tue, 03 Dec 2019 21:29:16 +0200