Getting to know Vue2: form input binding (with Demo)
Online demonstration
http://demo.xiongze.net/
Download address
https://gitee.com/xiongze/Vue2.git
js reference
<!--Here you can download the reference by yourself or use external dynamic link reference-->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
Basic usage
You can use the v-mo ...
Added by iamcaper on Thu, 10 Feb 2022 10:25:48 +0200
Use sendBeacon for front-end data reporting
preface
Recently, I received a request to count the relevant data of the page and report it. This paper introduces some methods of data reporting.
Timing of reporting data
Page loading
At this time, the data can be reported only when the page is load ed.
window.addEventListener('load', reportData, false);
When a page is unloaded or ref ...
Added by florida_guy99 on Thu, 10 Feb 2022 10:23:55 +0200
Linux kernel eBPF Foundation: perf Foundation_ event_ Open system call kernel source code analysis
Linux kernel eBPF Foundation
perf(5)perf_event_open system call kernel source code analysis
Rong Tao
May 19, 2021
Relevant note code of this article: https://github.com/Rtoax/linux-5.10.13Linux kernel performance architecture: perf_event
1. perf_event_open system call
See for details Linux kernel eBPF Foundation: perf (4) ...
Added by tannerc on Thu, 10 Feb 2022 10:20:54 +0200
Mind +: implementation of third-party Arduino user library -- RFID-RC522 module reading operation
preface
Official reference
Mind + is a domestic youth programming software with independent intellectual property rights. It supports various open-source hardware such as Arduino, micro:bit and control board, and is compatible with scratch3 0. It supports AI and IoT functions. You only need to drag the graphical program block to complete p ...
Added by knowram on Thu, 10 Feb 2022 10:13:35 +0200
The underlying storage mode of tensor in Python, dimension transformation, permute/view/reshape, dimension size and number
Record the underlying storage mode of tensor in pytorch, dimension transformation, permute/view/reshape, dimension size and number.
The underlying storage mode of tensor
The underlying storage of tensor is based on the principle of row priority, such as:
>>import torch
>>a=tensor.rand((2,2,3))
>>a
tensor([[[0.1345,0.4907,0. ...
Added by racerxfactor on Thu, 10 Feb 2022 09:54:12 +0200
Java Niuke project course_ Discussion area of imitation cattle customer network_ Chapter III
Chapter III
3.1. Trie tree filtering sensitive words
Sensitive words file: sensitive words txt
gambling
go whoring
Drug
Billing
Filter sensitive words tool class sensitivefilter java Note: the Bean is initialized when the service is started, and then the method annotated by @ PostConstruct is called. So the init() method in th ...
Added by guanche on Thu, 10 Feb 2022 09:49:41 +0200
Segment tree topics: basic applications
Special topic of line segment tree (I): basic application
——Record of the fourth IQ crisis
In ancient times, there was a full array simulation one night and I didn't understand it at all. Today, there is a line segment tree course for two days and I don't understand it at all
Preliminary in a line segment tree
1 before ...
Added by metrathon on Thu, 10 Feb 2022 09:45:54 +0200
Summary of front-end pen test questions in winter 2020
Original address: Some great interview questions [4]
Recently, I interviewed some companies and got some offer s. I don't record concept questions, but only coding questions. In their spare time, they can do these problems and practice their hands.
Graffiti intelligence will recruit a large number of people in 2021. There are vacancies i ...
Added by mindfield on Thu, 10 Feb 2022 09:39:58 +0200
STA mode application of ESP32 WIFI & regulating Bluetooth and WIFI transmission power
The following definitions of relevant API interfaces can be viewed in l Lexin's official website: Wi Fi Library - ESP32 - ESP-IDF programming guide v4 4 documents
STA mode configuration process:
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#inclu ...
Added by munsiem on Thu, 10 Feb 2022 09:38:13 +0200
Some problems with Android saving pictures of custom paths
The first is the issue of permissions
After android 10, the permissions will be further updated, which will further reduce the path of the files we save. At present, most of the storage directories are these 1. Internal storage space of the application (only the current APP can access data under this path, but other apps cannot access it): The ...
Added by blackandwhite on Thu, 10 Feb 2022 09:35:31 +0200