Google auth combined with shiro two factor authentication

Login status: if Google auth is null/""/0: do not verify 1: enable dual factor authentication but not set 2: enable dual factor authentication and it has been set After the user logs in, first verify whether the account password is correct. Here, it is not verified by shiro, and it is verified by the background itself. After the ver ...

Posted on Mon, 11 May 2020 07:17:53 -0700 by chipmunken

spring cloud alibaba sentinel+gateway gateway instance of version 9.0.RELEASE

sentinel is not only used by service providers and consumers, but also by gateways to limit current. We are based on the last integrated gateway (see spring cloud alibaba nacos+gateway gateway instance of version 0.9.0.RELEASE )Let's see how. Just move two axes: 1. pom introduces sentinel adapter: <dependency> <groupI ...

Posted on Wed, 22 Apr 2020 09:09:38 -0700 by MagicMikey

Analysis of the Whole Process of Monitoring Video Collection and Web Live Broadcast Development

Content Summary: Camera=> FFmpeg => Nginx Server=> Browser Pull rtsp stream from camera Transcoding rtmp flow to push server write Play with html5   1. Development process 1.1 Video capture and transcoding via FFmpeg FFmpeg is a general solution in the field of audio and video processing.Although we can use other tools such ...

Posted on Fri, 17 Apr 2020 09:37:30 -0700 by mentorbassment

Tron blockchain Java docking development package [support USDT-TRC20]

The TronTool.Java development package is suitable for rapidly increasing the support ability of Tron/USDT-TRC20 digital assets for Java applications, that is, it supports the application scenarios using its own Tron blockchain nodes, and also supports the lightweight deployment scenarios based on the official public API services of Tron. Offici ...

Posted on Sun, 12 Apr 2020 22:58:11 -0700 by intellivision

[transfer] Mybatis Plus plug in registration machine

Analysis version 2.83 First look at the following code public static synchronized boolean refValid() { if (!validated) { validated = true; try { String key = MybatisSetting.getInstance().getKey(); //KEY String result = MybatisSetting.getInstance().getResult(); //RESULT if ((StringUtils.isBl ...

Posted on Mon, 30 Mar 2020 09:39:52 -0700 by manx

Audio and video series 4: how to get started with ffmpeg for beginners (taking FLV decoding H.264 as an example)

Audio and video series 4: how to get started with ffmpeg for beginners (taking FLV decoding H.264 as an example) install Upper hand Run demo directly Tutorial of ffmpeg Library Learning of professional knowledge Look at the source code of ffmpeg Give an example discover problems Find API documenta ...

Posted on Mon, 16 Mar 2020 23:17:02 -0700 by danrah

RSA Asymmetric Encryption Principle

RSA Encryption Principle step Explain describe Remarks 1, Find prime numbers P ,Q - 2, Calculate Common Modulus N = P * Q - 3, Euler function φ(N) = (P-1)(Q-1) - 4, Compute Public Key E 1 < E < φ(N) E must be an integer, E and phi(N) must be reciprocal prime numbers 5, Compute Private Key D E * D % φ(N) = 1 - 6 ...

Posted on Sat, 14 Mar 2020 09:16:44 -0700 by simmsy

H. Analysis of FPGA source code of 264 video codec intra prediction 1

Catalog Principle of intra prediction algorithm General introduction based on the paper Hardware implementation Division of luminance block and chroma block 4 × 4 brightness prediction module How to generate prediction pixels and residual pixels? Vertical mode ` intra4x4` Horizontal mode ` in ...

Posted on Fri, 13 Mar 2020 04:15:02 -0700 by Rayn

[Jianzhi Offer] 37. Serialized binary tree (sequence traversal, preorder traversal, recursion, special case)

Article directory 1. Topic source 2. Title Description 3. Topic analysis Method 1: sequence traversal + iterative solution Bad solution 1 Bad solution 2 Successful version Method 2: first order traversal + recursive solution 1. Topic source Links: Serialized binary tree Source: LeetCode - sp ...

Posted on Tue, 03 Mar 2020 02:58:08 -0800 by zevious

[Android Audio and Video Development Surprisingly Upgrade: OpenGL Rendering Video Picture Text] Fourth, Deep Understanding EGL of OpenGL

[Declaration] First of all, this series of articles are based on your own understanding and practice, there may be some mistakes, you are welcome to correct.Secondly, this is an introductory series, the knowledge involved is limited to enough, and there are many blogs on the in-depth knowledge netwo ...

Posted on Wed, 26 Feb 2020 19:23:17 -0800 by Paul Ferrie