HCIA datacom RS comprehensive experiment, with detailed configuration commands

1 Experimental Topology2 Experimental RequirementsAll internal network segments are divided from 192.168.0.0/24, and the operator allocates 202.102.24.96/30and 120.202.249.192/30 to the border router;Internal client A belongs to VLAN 10, and internal client B belongs to VLAN 20;The dual links between the three internal switches use Ethernet cha ...

Posted by troublemaker on Mon, 13 Mar 2023 16:52:20 +0300

Use CatGPT to let the turtlesim little turtle draw curves

Note that this is CatGPT, which is not equivalent to OpenAI's ChatGPT, but it is very convenient to use and the effect is not bad.Explain in detail what needs to be paid attention to when drawing curves for ROS robot turtlesim ROS robot turtlesim needs to pay attention to the following points when drawing curves: Before drawing the cu ...

Posted by blunt on Tue, 07 Mar 2023 16:47:22 +0300

bypass CSP script nonce through browser cache

I posted the original text on freebuff http://www.freebuf.com/articles/web/133455.htmlRecently, I read the article CSP Is Dead, Long Live CSP! written by the google team last year, and I have a new understanding of csp. In the article, the google team proposed the nonce-{random} csp implementation method. In fact, last year On Christmas Day, Se ...

Posted by lee2732 on Tue, 21 Feb 2023 12:31:51 +0300

How does Cookie session authentication work?

In Web applications, Cookie-Session is a standard authentication method. Cookies, also known as "sweet cookies". The type is "small text file", which refers to the data stored on the client side by some websites in order to identify the user. The main function of Session is to record the user's status through the serve ...

Posted by dirkdetken on Tue, 17 Jan 2023 03:41:13 +0300

FastAPI from entry to actual combat - Hello World (installation and operation)

This article records in detail the local installation and operation of FastAPI, which is very simple, and mainly records and verifies some features. Install FastAPIThe installation is very simple, you only need to install two packages:FastAPIpip install fastapicopyuvicorn - Server for loading and serving applications.pip install uvicorncopycr ...

Posted by bestrong on Tue, 27 Dec 2022 14:58:11 +0300

Implementation of paging in JavaWeb - based on Mysql (general)

I believe you can also see the paging effect on the website! So now let's take a look at his ideas, codes and renderings.General pagination based on MySql database The core idea of ​​general paging: send the last query request again, but the page number has changed Implementation steps: 1) Query all data first Junit test     baseDao&l ...

Posted by apoc- on Tue, 22 Nov 2022 20:07:21 +0300

Nginx gray release ---- [cookie], [IP]

Grayscale publishing refers to a publishing method that can smoothly transition between black and white. AB test is a grayscale release method, allowing some users to continue to use A and some users to start using B. If users have no objection to B, then gradually expand the scope and migrate all users to B.Grayscale publishing can ensure the ...

Posted by codeDV on Mon, 21 Nov 2022 16:17:25 +0300

The use and source code analysis of microservice gateway current limiting middleware gateway integration and standard library rate limiting device

Microservice gateway (8) Current limiting middleware gateway integration and use of time/rate rate limiter and source code analysis Current limiting principle The meaning of current limit Three powerful tools for high concurrency systems: cache ​ Improve system access speed and increase processing capacity, and increase cache for correspon ...

Posted by firedrop on Thu, 20 Oct 2022 18:59:35 +0300

Linux -- configure the Rewrite Module of nginx to realize the automatic jump of old and new domain names (Web server cluster, rewrite instance configuration of various nginx, rewrite syntax and detailed explanation of location)

preface It consists of kernel and Nginx module. Nginx itself does little work. When it receives an HTTP request, it just maps the request to a location block by looking up the configuration file, and each instruction configured in the location will start different modules to complete the work. Therefore, the module can be regarded as the real ...

Posted by locell on Tue, 24 May 2022 05:11:51 +0300

Use of urllib Library of reptiles

urllib Library preface In the actual operation of the crawler, we only need two lines of code to get the web content. This function is the implementation of the third-party library In Python 2, our library has urllib 2 and urllib, but in Python 3, we directly merged this library into urllib, which is why we can't afford to install it when we in ...

Posted by ReDucTor on Mon, 23 May 2022 11:16:21 +0300