Linux Environment Configuration

Environment Configuration Linux 0 .vimrc #Create a new file in your own directory (~). vimrc vim ~/.vimrc #Add a text configuration (as follows... #Indicates how many spaces a tab shows by default 8 set tabstop=2 #Represents the length of the indentation that falls back when the backspace key is pressed in edit mode set softtabstop=2 #Re ...

Added by Christian B. on Thu, 10 Mar 2022 20:06:04 +0200

Stack and Queue hhh

Stack and Queue 1. Differences 2. Definition of stack #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int N=100010; int stk[N],tt; //insert stk[++tt]=x; //Eject tt--; //Determine if stack is empty if(tt>0) not empty else empty //Top of Stack stk[tt ...

Added by markjia on Thu, 10 Mar 2022 19:03:08 +0200

Compile JDK18 based on Linux

1. Overview JDK hasn't been compiled manually, dare you say you're a Java programmer? (Brother By Sheep- JDK hasn't been compiled manually, dare you say you're a Java programmer? Actual Compile Java Source (JDK Source, JVM) Video Tutorial_ Bell-Bell-Bell_ bilibili) Compiling JDK by hand is theoretically a better JDK for your computer Maybe it ...

Added by blacksheepradio on Thu, 10 Mar 2022 20:22:52 +0200

$tools, methods, jQuery properties and CSS

1, What exactly is the $symbol? $is the attribute defined for the window object in jQuery $and jQuery can be interchanged when used. In fact, it is a function, which comes from the jQuery library jQuery and $are used as an attribute of window             window.jQuery = window.$ = jQuery;             ...

Added by traffic on Thu, 10 Mar 2022 17:48:49 +0200

Understand the USB device driver framework in one article

From: https://www.eet-china.com/mp/a55310.html hello, everybody. Today I'm going to take you to learn about USB device driver. Kernel version: 4.4.94 1. Linux USB subsystem Before introducing device-side drivers, let's look at the Linux USB subsystem. The subsystem here is relative to the entire Linux kernel, not a single device. The communic ...

Added by mooler on Thu, 10 Mar 2022 20:14:38 +0200

Using invariance to solve concurrency problem

Using invariance to solve concurrency problem Invariance pattern We know that concurrency is the most likely cause of thread insecurity. The main reason is that there is data competition. If multiple threads read only and do not modify the same variable, there will be no thread safety problem. This idea is actually very simple, but it is also ...

Added by keevitaja on Thu, 10 Mar 2022 18:48:14 +0200