React mobile project-02

Some static pages that do not implement functions Bottom navigation bar “Questions and Answers” page Goal: Implement the static structure and styling of the Q&A page Operating steps Copy the style of the resource package to the pages/Question/ directory, and then write the component code in index.js in this directory: import NavBar from ‘@/components/NavBar’ import […]

react-router details added

1. react-router-dom v5 routing information acquisition HomeHead.jsx: import React from “react”; import {<!– –>Link, withRouter, useHistory, useLocation, useRouteMatch} from ‘react-router-dom’ import styled from “styled-components”; const NavBox = styled.nav` a { margin-right: 10px; } `; // const HomeHead = function() {<!– –> // return ( // <NavBox> // <Link to=”/a”>A</Link> // <Link to=”/b”>B</Link> // <Link to=”/c”>C</Link> […]

Basic use of React-hooks

React Hooks Basics Introduction to React Hooks React Hooks Basics Introduction to React Hooks What are Hooks? Why Hooks What are Hooks Hooks: hook, hook, hook Hooks are new in React v16.8 Role: Provide Function Component with React functions provided in original class components such as state and life cycle It can be understood as […]

Talking about the use of React-Dnd

Foreword (reason for learning) Recently, I encountered a new requirement at work: see the following for the specific and general effect.gif At that time, I saw this requirement and was reminded by my brother to know about React-Dnd. I thought of the effect of a draggable table in Table – Ant Design. I copied it […]

Vector Similarity Search Using Redis: Solving Similarity Matching Problems Between Text, Image and Audio Empowering Technology

1. Preface As we all know, Java is a cross-platform language, which has different implementations for different operating systems. This article looks at how Java does it from a very simple api call. 2. Source code analysis See from FileInputStream.java that readBytes is finally a native call /** * Reads a subarray as a sequence […]

MTI 6.S081 LabMmap

MIT 6.S081 Mmap mmap/munmap Experimental task Hints solution Prepare VMA mmap Page fault handling munmap Write back shared files after unmapping exit unmaps all mapped files fork copies the VMA of the parent process mmap/munmap The mmap and munmap system calls allow UNIX programs detailed control over their address spaces. They can be used to […]

[JavaSE] The use of Java methods

【Goal of this episode】 1. Master the definition and use of methods 2. Master the method of passing parameters 3. Master method overloading 4. Master recursion Directory 1. Method concept and use 1.1 What is a method (method) 1.2 Method Definition 1.3 Execution process of method call 1.4 The relationship between actual parameters and formal […]

WAF Bypass-Access Control-Backdoor Anti-kill

WAF bypassing mainly focuses on four stages: information collection, vulnerability discovery, vulnerability utilization, and authority control. 1. What is WAF? Web Application Firewall (web application firewall), a well-recognized statement is “a product that web application firewall provides protection for web applications by implementing a series of security policies for HTTP/HTTPS. Basically can be divided into […]

Docker deploys dataxweb and datax cluster tag202306

datax and dataxweb installation deployment installation deployment App version: ?datax-web V2.1.2 ?datax_v202306 Original project address: datax https://github.com/alibaba/DataX Datax-web https://github.com/WeiYe-Jing/datax-web Dockerhub https://hub.docker.com/repository/docker/876745833/datax-admin/general PS: The project has fixed bugs in the original code and repackaged. The modified package has not been uploaded yet, and will be uploaded later. Deploy via docker-compose The mirror image is datax-web + […]