centos7 system configuration system user's google authentication based on ssh

Recently, all kinds of servers have been intruded, so in terms of security, we should pay great attention to it. We hereby record that we can use google's authentication plug-in to obtain dynamic authentication code to complete ssh login.    OS:   centos7   Installation configuration: 1. Install epel source yum -y install epel-release 2. ...

Added by peaforabrain on Fri, 03 Jan 2020 08:12:05 +0200

This article takes you to understand that the OAuth2 protocol integrates with Spring Security OAuth2!

OAuth 2.0 authorization protocol that allows third-party applications to access restricted HTTP resources, like the OAuth 2.0 authorization framework, which is commonly used when people use Github and Google accounts to log on to other systems. The following is the authorization page diagram of the Coding system using Github accounts: There a ...

Added by holiks on Fri, 03 Jan 2020 04:04:36 +0200

Add confusion and precautions before Android application release

Code confusion Java code is confused with Native code, resource file drawable, xml, etc. 1. Functions: code compression, code obfuscation, resource compression and other optimization processes; Code compression: obfuscation process removes unused classes, class members, methods and properties from the main project and depend ...

Added by satya61229 on Thu, 02 Jan 2020 20:27:13 +0200

What does T && (double ampersand) mean in C ++ 11?

I've been working on some new features of C++ 11, and one of the things I noticed is the use of the double ampersand when declaring variables such as T&var. First of all, what is the name of this beast?I want Google to allow us to search for punctuation like this. What does this mean? At first glance, it may seem like a double ref ...

Added by Hamlets666 on Sun, 29 Dec 2019 07:49:50 +0200

js calls flash to report error in chrome

1. There is an error in the flash generated dynamically embedded in the web page. The error information is as follows:      #25081850 myChartId::RendererManager Error >> There was an error rendering the chart. Enable FusionCharts JS debugMode for more information. 2. Error reason: chrome disable flash Plug-in 3. Solution: Before generatin ...

Added by Negligence on Mon, 23 Dec 2019 19:14:27 +0200

Python Crawler Warfare: Comments on Crawling Tencent Videos

Preface The text and pictures in this article are from the Internet. They are for study and communication only. They do not have any commercial use. The copyright is owned by the original author. If you have any questions, please contact us in time for processing. Author: Yimou PS: If you need Python learning materials for your child, click on ...

Added by helloworld on Thu, 19 Dec 2019 08:45:16 +0200

Analysis of complex Json data by Gson

Take a look at the great God's article:Using Gson to parse complex JSON data Build dependency first implementation'com.google.code.gson:gson:2.8.0' Then get the json data according to the api { "status": "1", "info": "OK", "infocode": "10000", "count": "1", "geocodes": [ { "formatted_address": "Shenzhen ...

Added by purinkle on Wed, 18 Dec 2019 22:52:10 +0200

[20180807] geographic location method: API call of Google map (Chapter 5 of headfirst HTML5)

Location acquisition method of geolocation API global positioning system Physical location mapped by location information based on IP address Cellular telephone triangulation, according to the distance between different cellular base stations to determine the location. Wi Fi access point completes triangulat ...

Added by arimakidd on Sat, 14 Dec 2019 20:52:41 +0200

Web API -- DOM -- different ways to create elements -- three ways, five cases

Element creation - to improve the user experience   There are three ways to create elements: 1. document.write("code and content of label"); 2. Object. innerHTML = "tag and code"; 3. document.createElement("name of label");     1. document.write("code and content of label");   my$("btn").onclick ...

Added by sharugan on Sun, 08 Dec 2019 00:51:39 +0200

[NLP] [Xi] text generation based on RNN and tf.keras

Statement This article comes from TensorFlow's official guidance (https://TensorFlow.google.cn/tutorials/sequences/text'generation), with some details added. [2] overview 1. tf.keras and keras have the following three major differences 1): opt must be opt under tf.train module, not under keras 2): the default saving format of tf.keras mode ...

Added by nsarisk on Fri, 06 Dec 2019 12:58:16 +0200