git command line window common commands
git command line window common commands
Configure user name and mailbox
git config --list View configuration information
git config --global user.name="hello" Set user name
git config --global user.email="XXXX@qq.com" Set mailbox
git init initialization git Project (build) .git Directory (actually a hidden folder)
git clone Clone address cl ...
Added by tommix on Fri, 04 Mar 2022 21:42:39 +0200
hashMap source code explanation
Default size of hashMap
Knowledge point: a prime number that is not close to the integer power of 2 is often a better choice for the size of hash table.
/**
* The default initial capacity - MUST be a power of two.
*/
static final int DEFAULT_INITIAL_CAPACITY = 1 << 4; // aka 16
public Hashtable() {
this(11, 0.75f);
}
...
Added by TobesC on Fri, 04 Mar 2022 21:36:32 +0200
Flink_ 09_ CEP (personal summary)
Statement: 1 *** 2. Because it is a personal summary, write the article with the most concise words 3. If there is any mistake or improper place, please point out
Introduction ...
Added by amarquis on Fri, 04 Mar 2022 21:29:32 +0200
Redisson distributed lock implementation principle and source code
Redisson distributed lock implementation principle and source codeSource code analysisSimple business codeIt is mainly responsible for the source code entry. There are three main methods to use distributed locksRLock lock = redissonClient. Getlock ("HPC lock") gets the class that implements reentrant distributed lockslock. Locklock. U ...
Added by PallaviDalvi on Fri, 04 Mar 2022 21:10:59 +0200
Flume08: [case] Channel Selectors01: Replicating Channel Selector for multiple channels
1, Channel Selectors
Next, take a look at Channel Selectors Channel Selectors include: Replicating Channel Selector and Multiplexing Channel Selector The Replicating Channel Selector is the default Channel selector. It will send the events collected by the Source to all channels Check the official documentation for an explanation of this defau ...
Added by deed02392 on Fri, 04 Mar 2022 21:08:31 +0200
django rest framework version, parser and source code analysis of python Django
1, rest framework version introduction
In the previous article, we introduced three authentication functions of the rest framework, perform_ Authentication, permissions and throttles, which are inherited from the View method through APIView and reflected by the dispatch method through initialize_ The request method encapsulates a request(R ...
Added by Kano on Fri, 04 Mar 2022 20:58:08 +0200
CF540C Ice Cave problem solving Report
CF540C Ice Cave problem solving Report
1 topic link
http://codeforces.com/contest/540/problem/C
2 topic arrangement
2.1 Title: ice cave
2.2 Title Description
You play computer games. Your character stands on one level of a multi-level ice cave. In order to move on, you need to go down one layer. The only way is to fall off the ice.
Your ...
Added by psolus21 on Fri, 04 Mar 2022 20:55:04 +0200
[algorithm practice] Blue Bridge Cup C++ AB group counseling topic list: Lecture 1 and 2 (Java solution version)
Anyway, brother y said that he would definitely enter the national competition after brushing. I'll try~
1, Recursion and recursion
92. Recursive implementation of exponential enumeration (simple)
Note that this problem is to solve the combination!!
import java.util.LinkedList;
import java.util.Scanner;
public class Main {
static Link ...
Added by Melville on Fri, 04 Mar 2022 20:53:45 +0200
Japanese arch pawn series (chat jwt)
1. Introduction
We know that http is a stateless protocol, that is, for server applications, two http requests are independent of each other. You don't know me, I don't know you.
Then the problem comes. For example, when shopping on an e-commerce website, you need to browse the goods, add the goods to the shopping cart, and place an order for ...
Added by smudge on Fri, 04 Mar 2022 20:45:38 +0200
Java unit testing tool for software quality and testing: JUnit4 learning
preface
JUnit is a unit test framework of Java programming language, which is a simple framework for writing reusable test sets. JUnit has a very important development in test driven development. It is one of the unit testing frameworks collectively called xUnit, which originated from JUnit. XUnit is a test framework based on test driven ...
Added by SteveFrost on Fri, 04 Mar 2022 20:39:17 +0200