Build a static Web server locally in Python
Static Web server - return fixed page data
Learning objectives
Be able to write the response message of assembling fixed page data
1. Develop your own static Web server
Implementation steps:
Write a TCP server programObtain the http request message data sent by the browserRead the fixed page data, assemble the page data into HTTP res ...
Added by madsosterby on Fri, 26 Nov 2021 21:44:31 +0200
WebRTC gets pictures from the camera and sends them to canvas
WebRTC gets pictures from the camera and sends them to canvas
Previously, we have been able to take advantage of the functions of WebRTC, Open camera via browser And display the preview image in the video element.
Next, we try to capture a frame from the video and display it on the interface.
html
First prepare the interface and place the contr ...
Added by JUMC_Webmaster on Thu, 25 Nov 2021 04:00:02 +0200
The system takes you to learn the second lecture of WebAPIs
Web APIs
Learning objectives of this article:
Be able to say the general implementation steps of exclusive operation
You can use the dataset method in html5 to manipulate custom attributes
Be able to complete Baidu skin changing cases according to the tips
Be able to complete the selection of all cases according to the prompt
Be a ...
Added by rline101 on Wed, 03 Nov 2021 11:02:38 +0200
HCTF 2018 web file contains hyperdetails
HCTF 2018 web file contains
Right click to find source.php in the element. You can also find this PHP by directory scanning to get the source code:
<?php
highlight_file(__FILE__);
class emmm
{
public static function checkFile(&$page)
{
$whitelist = ["source"=>"source.php","hint"=>"hint.php" ...
Added by Optimo on Wed, 13 Oct 2021 15:39:52 +0300
Detailed explanation of the sequence of setTimeout, setInterval, promise and async/await (in many cases, very detailed ~)
This article is very long and lists a lot of situations. Before reading this article, if you have enough time, please create a new project to practice with this article. Each piece of code has a detailed explanation, but the impression will be deeper if you try it yourself~
setInterval: indicates how often it is executed. clearInterval(timer ...
Added by palpie on Sat, 04 Sep 2021 21:42:54 +0300
Spring Boot Task Scheduling
2.1.12 Timing Tasks
The Spring framework comes with task scheduling capabilities that are like a lightweight Quartz and are easy to use without relying on other JAR packages.
Simply add @EnableScheduling to the project master startup class to turn on task scheduling
@SpringBootApplication
@EnableScheduling
public class LearnApplication {
p ...
Added by Desbrina on Mon, 15 Jun 2020 21:10:56 +0300
Event handling and notification event handling
1, Overview
Interaction with users is an essential part of mobile applications. Gesture detection provided in Flutter is GestureDetector. The gesture system in Flutter is divided into two layers:
The first layer is to touch the original event (pointer)
PointerDownEvent: the user contacts the screen
PointerMoveEvent: the finger has mo ...
Added by evolve4 on Sat, 06 Jun 2020 06:55:21 +0300
From the beginning to the end of the separation [Vue 2.0 +. Net core 2.1] 15 ║ Vue Foundation: JS object-oriented & literal & this word
origin
Book to front< From the beginning of the front and back end separation [VUE 2.0 +. Net core 2.1] 14 ║ VUE plan & a brief history of my front and back end development >, yesterday we talked about several stages of web development experience explained by my experience, and also the knowledge points that Vue series need to tal ...
Added by classic on Sun, 12 Apr 2020 08:42:59 +0300
go language series -TCP programming
TCP programming
One of the main design goals of Go is to face the large-scale back-end service program. Network communication is the server, and the program is an indispensable and vital part
Basic introduction of network programming
There are two kinds of network programming
Tcp socket programming is the mainstream of network programming. It i ...
Added by kat89 on Wed, 08 Apr 2020 08:05:01 +0300
Introduction to web front end: css box model + background and list
Value of border style:
none no
dotted dot
dashed dotted line
Solid solid line
Double double solid line
margin:
If two adjacent elements have outer margins set in the vertical direction, the outer margins will be merged
Merge height = the larger of the two outer margins that merge
Actual height of element = top border + top inner margin + co ...
Added by dysonline on Mon, 06 Apr 2020 05:18:26 +0300