In depth and simple C-structure: an example of the structure of encapsulating Ethernet heartbeat packet

Catalog 1. Application background 2. Structure analysis 2.1. The structure exists in the stack 2.2. The structure does not need to be released manually 3. Package heartbeat package structure 4. Structure static help class 5. Does the new structure exist in the heap or stack? 5.1. Structure without formal parameters 5.2. Structure with par ...

Added by MnM333 on Wed, 01 Apr 2020 23:41:55 +0300

Java calls Python crawler

Using java to call python's crawler is a very interesting thing, but most of the solutions are not reliable. The author spent two days, hands-on practice, and finally completely solved the problem java-python Problems to be solved when Java calls Python crawler: Parameter passing problem Through python script, sys.argv[1] ...

Added by SBukoski on Mon, 30 Mar 2020 21:01:34 +0300

[Kali penetration all-round practice] use Nmap for port detection to find vulnerable sites

Article directory 1 Summary 2 Nmap action 3 common Nmap scanning instructions 4-port scan status The difference between TCP / IP and Http 6 use Nmap to detect the target open port 1 Summary One port is a very important thing in network application, equivalent to "door". What is port Po ...

Added by WD.Gh0st on Sun, 15 Mar 2020 13:17:53 +0200

Basic commands for switches and routers (Cisco)

Basic commands for switches and routers (Cisco) (2) 1, Function of device command line 1. Usage 2. Command support shorthand 3. Command can complete Tab key 4. Command history memory function, up and down to call 5. How to delete a configuration? 6. Use of do 2, Common basic commands 1. Set device ...

Added by anupamsaha on Wed, 26 Feb 2020 13:42:02 +0200

Self-study case for introducing HTML

Case 1: hello.html <html> <body> <title>html technology</title> </body> <body> hello </body> </html> Case 2: First html.html <html> <head> <meta charset="utf-8"> <title>HTML technology</title> </head> ...

Added by lemmin on Wed, 26 Feb 2020 03:24:07 +0200

< markdown > Introduction to markdown

(1) What is Markdown Markdown is a lightweight markup language, which allows people to write documents in a plain text format that is easy to read and write. With the help of markdown, people can quickly typeset and transform them into rich HTML pages. At present, it is used by more and more writers a ...

Added by worldofcarp on Mon, 24 Feb 2020 06:22:01 +0200

Video player based on FFmpeg and SDL -- SDL video display

Video player based on FFmpeg and SDL (3) - SDL video display SDL introduction SDL (Simple DirectMedia Layer) is a set of open source cross platform multimedia development library written in C language. SDL provides several functions to control image, sound, output and input, so that developers can ...

Added by Pickle on Sun, 09 Feb 2020 12:26:14 +0200

Concurrent Go Language Foundation

1.1 Concurrent and Parallel Concurrent: Perform multiple tasks at the same time (chat with multiple friends using WeChat) Parallel: Perform multiple tasks at the same time (360 in windows is antivirus, and you're also writing code) The concurrency of the Go language is achieved through goroutine.Goroutines are similar to threads and are user-f ...

Added by Thethug on Sat, 08 Feb 2020 18:34:44 +0200

android Bluetooth BLE serial port development

1. First apply for relevant authority. In manifest.xml <uses-permission android:name="android.permission.BLUETOOTH"/> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> <uses-feature android:name="android.bluetooth_le" android:required="true"/> <uses-permission-sdk-23 andr ...

Added by Ohio Guy on Sat, 01 Feb 2020 05:32:42 +0200

VM, CentOS 7 Configuration Network Card in VBOX

We often need to copy the virtual machines of VM and VBOX. One of the steps we can't take is to reconfigure the network card.Sometimes it's very cumbersome.A slightly simpler operation is recorded here, with no udev device bound to various sauce operations. 1. For newly replicated virtual machines, please choose to regenerate the MAC address. ...

Added by JMJimmy on Sun, 26 Jan 2020 09:18:45 +0200