Web - OAuth2 authentication process

The difference between a token and a password Tokens and password s work the same way and can enter the system, but there are several main differences: tokenPasswordEffective durationAutomatic expiration of tokensLong-term validity without user modificationWho can revokeData owner revocation invalidatesCancellation is not generally allowedPer ...

Posted by wutanggrenade on Thu, 03 Mar 2022 19:06:40 +0100

Write Linux 0.0 from zero 11 - Chapter 2 kernel initialization

Programming environment: Ubuntu Kylin 16.04 Code warehouse: https://gitee.com/AprilSloan/linux0.11-project linux0.11 source code download (it cannot be compiled directly and needs to be modified) 1. Add kernel After entering the kernel, it does not immediately enter the main function. In the previous chapter, gdt is only set temporarily. In ...

Posted by mitchell on Thu, 03 Mar 2022 19:02:58 +0100

netcat and shell rebound test

What is a rebound shell? The reverse shell is that the control end listens to a TCP/UDP port, the controlled end initiates a request to the port, and transfers the input and output of its command line to the control end. The reverse shell corresponds to standard shells such as telnet and ssh. In essence, it is the role reversal of the client a ...

Posted by B34ST on Thu, 03 Mar 2022 19:00:22 +0100

MyBatis02-Parameter Passing and Result Encapsulation

MyBatis02-Parameter Passing and Result Encapsulation 1. Parameter Transfer 1. Parameter Types We can do that in studentDao. The XML file specifies what type of parameters are in this method. <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/m ...

Posted by proxydude on Thu, 03 Mar 2022 18:46:56 +0100

How to split an array into even blocks using JavaScript

Author: Abhilash Kakumanu Translator: Front-end wit Source: stackabuse Have a dream, have dry goods, WeChat Search [Move the World] pays attention to this bowl-brushing wit that was still cleaning in the morning. This article GitHub https://github.com/qq449245884/xiaozhi Included, there are complete test points, materials and my series ...

Posted by hasjem on Thu, 03 Mar 2022 18:32:42 +0100

System Call IO

Standard IO relies on system IO for implementation. The concept of a file descriptor File IO operations: open, close, read, write, lseek Difference between File IO and Standard IO Efficiency issues with IO File sharing Atomic Operation Redirection implementation in program: dup, dup2 Sync: sync, fsync, fdatasync fcntl(); ioctl(); /dev/fd/direct ...

Posted by jeanlee411 on Thu, 03 Mar 2022 18:30:33 +0100

4. DQL query data

4. DQL query data (most important) 4.1,DQL Data Query Language All query operations use it to SELECT It can do simple query and complex query~ The core language and the most important statement in the database Most frequently used statements SELECT statement syntax SELECT [ALL | DISTINCT | DISTINCTROW ] [HIGH_PRIORITY] [STRAIGHT_ ...

Posted by ToonMariner on Thu, 03 Mar 2022 18:18:55 +0100

prometheus uses label rewriting

Previously, we have declared the targets instance to monitor and collect our node service status, as follows However, when prometheus loads the target instance, there will be some default tags. We put the mouse over the label and it will be displayed These tags will help us to declare how prometheus should get indicators from the targ ...

Posted by fred_belanger on Thu, 03 Mar 2022 18:19:25 +0100

Build Vue server rendering from zero

What is server-side rendering Server Side Render (abbreviated as ssr) is a page rendering method that directly returns the rendered content from the server to the client. Benefits of server-side rendering Fast first screen renderingConducive to SEO The process of server-side rendering When the client initiates a request, the server returns ...

Posted by Rabioza123 on Thu, 03 Mar 2022 18:18:33 +0100

HTML basic structure, tag, list

Relationship between HTML, CSS and JS HTML is the skeleton of web pages, which is mainly responsible for the structure of web pagesCSS provides styles for web pages to beautify and decorate web pagesJavaScript is a scripting language used to control DOM elements, which is mainly used for DOM processing of front-end pages Mainstream browse ...

Posted by srdva59 on Thu, 03 Mar 2022 17:57:18 +0100