[PlayWright tutorial] summary of basic operations

(to be supplemented later) Page basic operation According to the official website document, the page loading process after calling page.goto(url): Set urlLoad the parsing page through the networkThe page.on("domcontentloaded") event is triggeredExecute the js script of the page and load the static resourcesThe page.on("laod&qu ...

Posted by mariolopes on Sat, 18 Sep 2021 00:35:38 +0200

Flash web development 1.5 web program and sending e-mail

preface: When we don't have a special background management platform, many types of applications need to remind administrators when specific events occur in the program, and the common communication method is e-mail, which is also the most stable way. The SMTP lib package in the Python standard library can be used to send e-mail in the fla ...

Posted by delickate on Thu, 16 Sep 2021 03:19:15 +0200

ctfshow deserialization

web254 if($user->login($username,$password)){ if($user->checkVip()){ $user->vipOneKeyGetFlag(); } Judge whether the entered username and password are equal to the xxxxxx given by the title. If the verification is successful, it will be given to the flag, so get the parameters directly ?username=xxxxxx&am ...

Posted by backyard on Tue, 14 Sep 2021 21:39:52 +0200

Spring Boot Principle Deep-Dependent Management

2.2 Deep Principle The traditional Spring framework implements a WEB service, which needs to import various dependent JAR packages, then write corresponding XML configuration files, etc. Compared with Spring Boot, it is more convenient, fast and efficient.So how does Spring Boot really do that? 2.2.1 Dependency Management Question: Why doesn't ...

Posted by joshi_v on Mon, 15 Jun 2020 21:30:25 +0200

Spring Boot - In-depth Principles - Customize starter

2.2.3 Custom starter Spring Boot is made up of many Starters (a series of starter plug-ins that are automatically configured), and it is also because of starter that Spring Boot is popular. starter is a very important part of Spring Boot and can be understood as a pluggable plug-in because it allows developers who use a feature to ignore the p ...

Posted by moe on Mon, 15 Jun 2020 21:25:55 +0200

Creating WebSocket service with Go language

Thank you for your reference- http://bjbsair.com/2020-04-01/tech-info/18504.html Today, I introduce how to create WebSocket service with Go language. The first two parts of this article briefly introduce the WebSocket protocol and how to create WebSocket service with Go standard library. In the third part, we use the gorilla/websocket library ...

Posted by CAPTAINCAPSLOCK on Sun, 05 Apr 2020 09:03:45 +0200

Background data request in node.js mock, axios

<! -- Axios handles the cross domain background configuration 1. Install cnpm install -- save dev Axios 2.Introduce axios To project or component(Current component use only) --> // Using axios requests Axios.get("/getuser") .then(res => { //succss console.log(res.data.result); }) .catch(error => { //error ...

Posted by petrb on Sat, 04 Apr 2020 11:58:38 +0200

javascript websocket [heartbeat + service pushing information forward]

1. [Role]To maintain the sustainability and stability of the connection, the websocket heartbeat is the solution.2. [Analysis]1. If the device network is disconnected, the native websocket will not immediately trigger any events on the websocket, and the front end will not know if the current connection has been disconnected.2. When we use the ...

Posted by mator on Tue, 31 Mar 2020 03:17:16 +0200

Example of JS using cookie to save user login information

This article describes how JS uses cookie s to save user login information. To share with you for your reference, as follows: Generally, cookies and session s are used to store information in web development. Sessions exist in the memory of the server, while cookies exist in the client. Therefore, js ca ...

Posted by epp_b on Fri, 14 Feb 2020 16:53:50 +0100

An example of using Websocket developed by Python

I learned how to implement web development in java. Today I want to try to implement it in python, so I found the code on the Internet 2.1. Effect 1 (a client connects to the service and sends a message) 2.2. Effect 2 (another client connects to the service and sends a message) 2.3. Effect 3 (the servic ...

Posted by starmikky on Fri, 17 Jan 2020 15:14:10 +0100