sed and awk of shell

catalogue sed editor sed common options sed common operations: Basic Usage sed script format Example:    Search for alternatives Change configuration file   AWK    Basic usage Get IP address   Common built-in variables in awk sed editor sed is a flow editor that edits the data flow based on pre pro ...

Posted by Tentious on Thu, 28 Oct 2021 06:10:13 -0700

Artificial intelligence series: search for pictures with pictures

Introduction to image search platform The image search platform supports two types of image search: General image search: 512 dimensional features are extracted using the pre trained model on the ImageNet dataset: resnet50Portrait high-precision search: before face feature extraction (512 dimensional feature extraction using face feature mode ...

Posted by svanderclock on Thu, 28 Oct 2021 05:34:36 -0700

New section of PE document

catalogue What values in the PE file will be affected by the new section? To add a new section: Add section manually Code new section If you need to build a shellcode at one end in the PE file (when the remaining space in the default section area is insufficient), you can solve this problem by adding a section. Usually, most shelling soft ...

Posted by mastermike707 on Thu, 28 Oct 2021 05:27:54 -0700

Handwriting recognition with 20KNN

Handwriting recognition based on KNN Task introduction This example uses sklearn to train a K-nearest neighbor (KNN) classifier to recognize handwritten digits in the data set DBRHD. The recognition effect of KNN is compared with that of multi-layer perceptron. Input of KNN Each picture of DBRHD dataset is a 32 * 32 text matrix composed o ...

Posted by closer on Thu, 28 Oct 2021 05:25:24 -0700

Design pattern (1-1) - agent pattern

I haven't blogged for months. I changed my job a few days ago and adjusted things well. I can continue to blog again~ After learning the agent mode, this article will talk about how to write dynamic agent and static agent modes. Subsequent articles will talk about the principle of dynamic agent (JDK dynamic agent) and how to use CGLIB to realiz ...

Posted by Ting on Thu, 28 Oct 2021 05:18:57 -0700

. Net Core modifies the default boot port

     Today, I accidentally found a change because I haven't seen the. net core project for a long time. I found that the default port for project startup is not 5000. I remember clearly that when it was version 1. X of. net core, the default port number for each startup was 5000, but not now. Take this opportunity t ...

Posted by comicrage on Thu, 28 Oct 2021 05:03:18 -0700

diff algorithm in depth?

1, Foreword A classmate asked: could you elaborate on the diff algorithm. To put it simply: diff algorithm is an optimization method, which compares the difference between the two modules before and after, and the process of repairing (updating) the difference is called patch, also known as patching. The article mainly solves the follow ...

Posted by Heywood on Thu, 28 Oct 2021 05:02:32 -0700

Submit kernel patch

Submit kernel patch Rong Tao October 28, 2021 Document modification log dateModification contentModified byremarksOctober 28, 2021establishRong Tao 1. Introduction 2. Clone kernel # Cloning Linux kernel from GitHub $ git clone --depth=32 https://github.com/torvalds/linux # Switch branch $ git checkout master # synchronization $ ...

Posted by ksmatthews on Thu, 28 Oct 2021 04:33:04 -0700

Plug dp summary

pd head plug purpose Plug dp is mainly used to solve the dynamic programming problem based on connectivity state compression. Generally speaking, it is to solve the problem of the number of loop schemes in a grid graph, and the data range is small, such as This template method Define plug: whether the path passes through the edge of the grid po ...

Posted by pitstop on Thu, 28 Oct 2021 04:32:21 -0700

Transform stream, print stream, serialization, deserialization, file operation (File)

A conversion flow 1.1 classification Input stream Output stream InputStreamReader OutputStreamWriter 1.2 features   Conversion stream refers to the conversion of bytes to character stream, mainly including InputStreamReader and OutputStreamWriter         one    InputStreamReader is mainly used to co ...

Posted by dave914 on Thu, 28 Oct 2021 04:27:18 -0700