BGP routing attributes——-AS_Path

1. AS_Path The AS_Path attribute has four forms, namely: AS_Sequence, AS_Set, AS_Confed_Sequence and AS_Confed_Set. AS_Sequence: It is an ordered set of AS numbers passed on the path to the destination. All ASs passed by the route are recorded in order. AS_Set: It is an unordered set of AS numbers passed on the path to the […]

Django – routing layer

1. Route matching 1. Notes on route matching urlpatterns = [ url(r’^admin/’, admin.site.urls), # front page url(r’^$’,views.home), # Route matching url(r’^test/$’,views.test), url(r’^testadd/$’,views.testadd), # Last page (understand): Use exception capture processing later. Such a last page makes Django’s second slash APPEND_SLASH=True in the path meaningless, and the mechanism of appending slashes in the second redirect is […]

A brief taste of OpenWRT / Bypass gateway configuration based on RAVPower-WD009 portable routing file treasure

Directory Preface demand analysis Equipment on hand Home network topology diagram Bypass gateway configuration OpenWRT firmware selection OpenWRT firmware flashing Bypass gateway configuration process Use of bypass gateway Preliminary work Daily storage/key backup Intranet penetration 24 hours standby downloader Foreword Recently, due to personal needs, an OpenWRT device is needed to implement some functions. Therefore, […]

React technical principles and code development practice: navigation and routing in React Native

Author: Zen and the Art of Computer Programming 1. Background Introduction In React Native applications, navigation is the main way to switch between different views of the user interface. The core idea is to use the stack data structure to combine different components to achieve smooth transition between pages. In React Native, the Navigator component […]

BGP routing attribute_as path

BGP attributes Routing attributes are specific descriptions of routes. All BGP routing attributes can be divided into the following four categories. Common BGP attribute types are shown in Table 1: Well-known mandatory: All BGP devices can recognize this type of attribute and must exist in Update messages. If such attributes are missing, the routing information […]

[Vue routing] [vue2 completed]

Routing 28 route route 28.1 Install vue-router 28.2 Small case 28.3 Query mode routing parameter transfer 28.4 parameters 28.5 props optimization 28.6 Destruction and survival of routes 28.6 Two hooks for routing 28.7 Global front route guard 28.8 Global post route guard 29.1 Local route guard 29.1.1 path guard 29.1.2 component guard 28 route route […]

React technical principles and code development practice: from routing to nested routing

Author: Zen and the Art of Computer Programming 1. Background Introduction For web developers, it is especially important to master React’s routing mechanism. As a well-known front-end framework for React, there are many ways to implement routing. This article will elaborate on the following two aspects: 1. What is front-end routing? 2. Front-end routing principles […]

python|web application framework|add dynamic routing

Yesterday we have modified the web route registration, changing it from function registration to class decorator registration. If you haven’t read the previous article, I suggest you read it first so that you can do it. To connect the previous and the following: python|web application framework|use class decorator to register routes: juejin.cn/post/722879… Today we will […]

Vue routing (router-link) – highlighting, dynamic parameter transfer

1. Declarative navigation-navigation links 1. Requirements Implement navigation highlighting effect If you use the a tag to jump, you need to add styles to the currently jumped navigation, and at the same time remove the style of the previous a tag, which is too troublesome! ! ! 2. Solution vue-router provides a global component router-link […]

The use of React Router routing

1. Download //Applicable to both js and ts npm i –save react-router-dom @types/react-router-dom 2. Use RouterProvider and createBrowserRouter are introduced in react-router-dom. The createBrowserRouter function is an array. The elements of the array are objects, which store routing information. The two most important attributes are path and element. path is a string type attribute that […]