Building remote jupyterlab service based on nginx
demand
The performance of the server is relatively good. I want to run programs conveniently on the server, so I establish jupyter on the server, and then access the jupyter web page locally through connection for operation;
In addition, I want to be familiar with nginx and facilitate the construction of websites later.
nginx
A more popular bac ...
Added by Skull on Sat, 05 Mar 2022 12:32:15 +0200
Implement interface idempotent SDK components based on springboot starter
1, Overview
(1) Idempotent definition
1. Idempotent definition in Mathematics
In programming, the characteristic of an idempotent operation is that the impact of any multiple execution is the same as that of one execution. Idempotent functions, or idempotent methods, refer to functions that can be executed repeatedly with the same parameters ...
Added by FijiSmithy on Sat, 05 Mar 2022 10:27:49 +0200
Detailed explanation of Java concurrency conditions
1, Introduction
1. What is a Condition
Any Java Object has a set of monitor methods (defined on java.lang.Object), mainly including wait(), wait(long timeout), notify() and notifyAll() methods. These methods cooperate with the synchronized synchronization keyword to realize the wait / notification mode. The Condition interface also provide ...
Added by MitchEvans on Sat, 05 Mar 2022 06:42:03 +0200
The longest non repeating character substring, the longest common substring and the longest common substring in Java
1. Longest substring without repeated characters (stress deduction 3)
Given a string s, please find the length of the longest substring that does not contain duplicate characters.
Example 1:
input: s = "abcabcbb"
output: 3
explain: Because the longest substring without duplicate characters is "abc",So its length is 3.
You can use "s ...
Added by phpfre@k* on Sat, 05 Mar 2022 05:25:02 +0200
LinkedHashMap for JDK source code analysis
1, Introduction
LinkedHashMap inherits from HashMap. In addition to the features of HashMap, LinkedHashMap also provides the function of keeping the same traversal order and insertion order.
LinkedHashMap maintains a two-way linked list to ensure the consistency of traversal and insertion order.LinkedHashMap can be understood as a combin ...
Added by sports on Sat, 05 Mar 2022 04:27:20 +0200
Deep cultivation of Java multithreading - AtomicInteger thread safety principle
Question 1: AtomicInteger thread safety principles
The basic atomic class (taking AtomicInteger as an example) is mainly implemented through the CAS spin + volatile scheme, which not only ensures the thread safety of variable operation, but also avoids the high overhead of synchronized heavyweight locks, which greatly improves the executio ...
Added by sapna on Sat, 05 Mar 2022 02:55:20 +0200
The basic syntax of JavaSE includes bit operator, operator priority, if statement, switch statement and the use of for loop
8. Bitwise operator
& | ^
Convert the operand to binary, and then operate according to the rules of the operator, and the final result is converted to decimal
&: two numbers in the same bit. If both are 1, it is 1, and if one is 0, it is 0|: two numbers in the same bit, one is 1, and both are 0^: two numbers in the same bit, the same ...
Added by laura_richer on Sat, 05 Mar 2022 02:50:56 +0200
Data structure sequence table (c language)
Storage structure of sequence table
(1) When a high-level programming language such as c language is used to describe the problem of data structure, the method to realize the sequential storage structure is to use array. (2) There are two kinds of arrays: static array and dynamic array. The application and release of static array storage space ...
Added by herreram on Sat, 05 Mar 2022 02:04:46 +0200
Realize technology integration with SpringBoot and experience the simplified development of SpringBoot
👏 About the author: Hello, I'm cabbage ~ ~, a sophomore in school, and a new star creator in the Java field.📝 Personal homepage: Cabbage CSDN blog📕 Series column: This article is written in the SpringBoot column: Explanation of SpringBoot knowledge points📧 If there are mistakes in the knowledge points of the article, please correct them! Le ...
Added by Chupa85 on Sat, 05 Mar 2022 01:29:21 +0200
[Java basics] 009 internal classes
concept
In Java, a class can be defined in another class or a method. Such a class is called an inner class.
In a broad sense, internal classes generally include these four types: member internal classes, local internal classes, anonymous internal classes and static internal classes.
Member inner class
Member inner class is the most ...
Added by joeysarsenal on Fri, 04 Mar 2022 23:42:35 +0200