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

vue3. New features of version 2

Vue version 3.2 includes many important new features and performance improvements, but does not include major changes. Vue 3.2 original link The main updates are as follows: 1. New single file component function < script setup > is a compile time syntax sugar, which can greatly improve work efficiency when using Composition API in S ...

Posted by interactive on Sat, 05 Mar 2022 17:43:06 +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

Ubuntu action-04 SUDO settings

Under linux system, ordinary users cannot directly execute the commands under the authority of root user. If you want ordinary users to execute the operation commands that only root user can execute, sudo is needed. Before sudo was written around 1980, the general way of user management system was to use su to switch to super user. Ho ...

Posted by sigkill-9 on Fri, 04 Mar 2022 12:58:06 +0100

07-node.js client-side rendering, server-side rendering and server-side rendering message board (without database, it is suitable for novices to get started. How does the node server render pages)

1, Client side rendering and server side rendering 1. Client side rendering (SSR) Html is only a static file. When the client requests, the server does not do any processing, and directly returns it to the client in the form of the original file. Then, according to the JavaScript on HTML, DOM is generated and html is inserted. 2. Servic ...

Posted by escocia1 on Fri, 04 Mar 2022 11:52:04 +0100

Parking lot management system (database)

1, Preface The parking lot management system written by sqlite3 Its main functions are 1. Check the garage vacancy 2 Car owners choose parking spaces 3. System billing 4 View parking records of specified vehicles 5. Check the parking records of all vehicles 6 sign out 2, Explain time_t() function (because it is used) Let's explai ...

Posted by cschotch on Thu, 03 Mar 2022 16:36:31 +0100

Build test environment

The test environment built this time: PHP (5.5-7.0) + Apache (> 2.0) + MySQL 5 7 (Architecture) → Windows/Linux The first step is to install the basic software through yum Installation method: directly use after decompression; rpm file installation; yum online installation; There is no need to configure the yum source here, becaus ...

Posted by Indersingh on Thu, 03 Mar 2022 13:00:22 +0100

Zabbix introduction and deployment

1. Zabbix introduction Zabbix is an enterprise class open source solution that provides distributed system monitoring and network monitoring functions based on WEB interface. Zabbix can monitor various network parameters to ensure the safe operation of the server system; And provide flexible notification mechanism to enable system administrat ...

Posted by manlio on Thu, 03 Mar 2022 07:39:45 +0100

Mybatis cache details

MyBatis cache 9.1. MyBatis cache understanding Like most persistence layer frameworks, MyBatis also provides L1 and L2 cache support 1. L1 cache: be based on PerpetualCache of HashMap Local cache with storage scope of Session,When Session flush or close After that, the Session All in Cache It will be empty. 2. The mechanism of L2 cache is ...

Posted by onicsoft on Wed, 02 Mar 2022 16:52:25 +0100

Docker Compose of docker re learning series

Why do we need Docker Compose? Isn't it annoying to start containers one by one like this? Can you write a script to start the corresponding containers in order of dependency? ----Docker compose it's coming Docker Compose brief introduction Compose project is the official open source project of Docker, which is responsible for the ...

Posted by Adam W on Wed, 02 Mar 2022 13:12:11 +0100