Introduction and use of Netcat

Introduction to Netcat Netcat (nc for short) is a powerful command line Network tool is used to establish TCP/UDP connection between two machines and read and write data through standard input and output Netcat installation Most Linux distributions will come with Netcat. You can use the nc command to check whether Netcat is installed in the ...

Posted by adiwood on Sun, 06 Mar 2022 11:16:26 +0100

Using vscode to develop C + + programs on linux platform (including cmake and gdb)

The main purpose of writing this blog is to record the following knowledge points, and then introduce its concept and usage one by one. 1. Recognize and use vscode 2. Use g + + to compile and run a multi file C + + project 3. Compile a multi file C + + project with cmake 4. Compile, run / debug a multi file C + + project on cscode 5. Use gdb to ...

Posted by .-INSANE-. on Sun, 06 Mar 2022 07:44:29 +0100

Node.js Express framework

1, Introduction to Express Express is a simple and flexible node JS Web application framework provides a series of powerful features to help you create various Web applications and rich HTTP tools. Using Express, you can quickly build a fully functional website. Core features of Express framework: Middleware can be set up to respond to HT ...

Posted by dacs on Sun, 06 Mar 2022 05:11:22 +0100

Linux Bash Shell build base script

Build basic script When creating a shell script, you must specify the shell to be used in the first line of the file. Its format is: #!/bin/bash environment variable Example: #!/bin/bash #display user information from the system echo "User info for userid: $USER" echo UID: $UID echo HOME: $HOME User variable The user variable can be any ...

Posted by Gafaddict on Sat, 05 Mar 2022 20:34:55 +0100

ASoC platform bus part (platform layer)

Note: This article is to analyze the platform bus used in the platform layer of ASoC (two platforms are not a concept) ASoC concept introduction In order to better support the Assa driver and ASCOD driver in the embedded device layer, we need to use the Assa driver framework_ card_ Create and other functions to create our sound card. At pre ...

Posted by mjm7867 on Sat, 05 Mar 2022 17:35:43 +0100

Node.js file system

1, Node JS file system Node.js provides a set of file manipulation API s similar to the UNIX (POSIX) standard. Node import file system module (fs) syntax is as follows: 2, Asynchronous and synchronous Node. The methods in the JS file system (fs module) module have asynchronous and synchronous versions. For example, the functions that ...

Posted by jay1318 on Sat, 05 Mar 2022 16:10:31 +0100

linux network communication

linux network programming 1, socket 1. Detailed explanation of common functions 1.establish socket: int socket(int domain, int type, int protocol); domain: AF_INET This is most used to generate socket Protocol, use TCP or UDP To transmit, use IPv4 Address of AF_INET6 Similar to the above, but for use IPv6 Address of ...

Posted by cosminb on Sat, 05 Mar 2022 15:32:41 +0100

java uses wkhtmltopdf to convert html into pdf

Install wkhtmltopdf wkhtmltopdf is an application similar to plug-in, which is supported by windows and linux, but the corresponding program should be installed. windows Download Download wkhtmltopdf directly from the official website. Official link: https://wkhtmltopdf.org/downloads.html Windows installation 1. Download the correspon ...

Posted by Archbob on Sat, 05 Mar 2022 05:05:51 +0100

Top level distribution analysis of LAMP architecture in Linux system

Top level distribution analysis of LAMP architecture in Linux system theory 1, LAMP (Linux Apache MySQL PHP) LAMP It has the advantages of universal, cross platform, high performance and low price LAMP Whether it is performance, quality or price, it is the preferred platform for enterprises to build websites (1) Distribution interpretation ...

Posted by m5638829 on Sat, 05 Mar 2022 03:04:30 +0100

Synchronization mechanism of 0 multithreaded threads

1. Background Example: create a window to sell tickets, and the total number of tickets is 100 Use the way to implement the Runnable interface * 1. Problem: in the process of selling tickets, there are duplicate tickets and wrong tickets -- > there are thread safety problems2. Cause of the problem: when a thread is operating the ticket ...

Posted by hardyvoje on Fri, 04 Mar 2022 23:41:42 +0100