[6] Basic knowledge of angular routing Passing data while routing redirecting routing subrouting auxiliary routing routing guard
Routing Basics
Introduction of Routing Related Objects
Create a new project
ng new router --routing
And use webstrom to open
It is found that after the routing parameter is created, there will be an additional file app-routing.module.ts, which is the path configuration of the current application.
The contents a ...
Posted by ejwf on Wed, 08 May 2019 23:03:39 -0700
Netty3 Document Translation
Simply find that there is no article on the Internet about Netty3 more complete source parsing, so I read the official documents, in order to enhance memory, translated into Chinese, with appropriate simplification.
Original Document Address: Netty3 Document
Chapter 1 Begins
1. Before you start
demo runs on two premises: the latest version of ...
Posted by xpherism on Wed, 08 May 2019 06:03:40 -0700
Using ptrace to inject so into the running process and execute related functions
1. introduction
Using ptrace to inject. so into the running process and execute related functions, the real meaning of the word "injection" is: this. so is link ed to the running process (hereinafter referred to as the target process) space, so that functions in. so have corresponding addresses in the t ...
Posted by kaszu on Sat, 04 May 2019 23:10:39 -0700
Front-end of koa+mysql+vue+socket.io stack development
The comparison between React and Vue is a hot topic in the front end.
Vue scaffolding, as well as the official provision of essential basic components, such as vuex, vue-router, are really friendly to novices; react gives these to the community to do, although this enlarges the ecological chain of react, but novices have a lot of trouble to co ...
Posted by ealderton on Sat, 04 May 2019 15:10:38 -0700
Go Socket Operational Notes
concept
The first thing Socket does is translate it into a hole or socket. Two programs on the network exchange data through a two-way communication connection, one end of which is called a socket.The essence of Socket is programming interface, which is an IPC interface. (IPC: Inter-process communication) Unlike other IPC methods, it allows mul ...
Posted by jasonc310771 on Sat, 04 May 2019 07:30:39 -0700
Java Development Notes Read and Write Files Through Character Stream
The information acquisition, management operation and file traversal under the directory are introduced before. Then how to read and write the data inside the file? This is the content of this paper. File tool is powerful, but it can not read and write files directly, but it can only carry out reading and writing operations with the help of oth ...
Posted by mike760534211 on Sat, 04 May 2019 05:10:37 -0700
Introduction Guide to MGR [MySQL]
MySQL group replication is a plug-in to MySQL server, and each server in the group needs to configure and install the plug-in. This section provides a detailed tutorial that contains the steps required to create a replication group of at least three servers.
18.2.1 Deploy group replication in single master mode
Each server instance in a group ...
Posted by steveonly20 on Sat, 04 May 2019 03:00:37 -0700
Network Programming TCP Protocol in JAVA Simulates Multiple Clients Accessing the Same Server Case (Multi-Person Chat)
1. The requirements of the title are as follows:
1. Write client program, connect to the same server, and realize sending thread and receiving thread. The message sent should include "message + sending time" and the message displayed should include "Socket + information + sending time". (GUI implementation fo ...
Posted by mikeoffy69 on Wed, 01 May 2019 15:30:37 -0700
What is the RPC framework? Java has its own RPC implementation. Introduction to RMI framework
This blog Uncle Cat's Blog For reprinting, please state your origin
Learning Series
What is the RPC framework?
Java comes with RPC implementation, introduction to RMI framework
First, RMI (Remote Method Invocation) is a Java-specific RPC implementation, which enables Java objects deployed on different hosts to communicate and invoke methods. It ...
Posted by fatnjazzy on Mon, 29 Apr 2019 15:20:41 -0700
Three I/O multiplexing modes of Linux: ——epoll
I/O multiplexing function
select
poll
Epoll < Unique I/O Reuse of Linux >
Next, our last I/O reuse, which is unique to Linux, is a simple analysis of three I/O reuses.
epoll
epoll is no longer a function, but a set of functions.
int epoll_create(int seize);//Create a kernel event table that is maintained by the kernel w ...
Posted by ddemore on Wed, 24 Apr 2019 19:51:34 -0700