Introduction to Kconfig syntax
Syntax document location: linux source directory Documentation/kbuild/kconfig-language.txt.
Syntax routine: all KConfig files under linux source code.
In project development, we usually need to configure and tailor a project according to different requirements. The gen ...
Posted on Sun, 15 Mar 2020 04:59:32 -0400 by Sinister747
Producer consumer model
The most common example of concurrent programming is the producer / consumer model, which improves the overall processing speed of the program by balancing the working capacity of the production thread and the consumer thread. Simply put, the producer produces some data and puts it in the queue, while the consumer fetc ...
Posted on Sun, 15 Mar 2020 04:48:38 -0400 by aniket_dj
1. Use Redis to realize Session sharing
In the microservice architecture, multiple microservices often support the front-end requests. If the user status is involved, the distributed Session management problem needs to be considered. For example, if the user login request is distributed to server A a ...
Posted on Sun, 15 Mar 2020 04:29:22 -0400 by apollo
1, Scripts for the Java platform
1) Get script engine
A script engine is a class library that can execute scripts written in a specific language.
ScriptEngineManager manager = new ScriptEngineManager();
ScriptEngine engine = manager.getEnglineByName("nashorn");
2) Script assignment and binding
Posted on Sun, 15 Mar 2020 04:20:36 -0400 by mikeyandyou
Get mirror image
docker pull ubuntu:16.04
$ docker run -it --rm \
root@e7009c6ce357:/# cat /etc/os-release
VERSION="16.04.4 LTS, Trusty Tahr"
PRETTY_NAME="Ubuntu 16.04.4 LTS"
Posted on Sun, 15 Mar 2020 04:00:46 -0400 by hkay1
4, Operate on nodes
1. Find node
a. Use the relationship between nodes to get the root node: document.documentElement;
b. Take it by way
document.getElementById();//id name is rarely used in actual development. In general, class id is only used in selectors, and it can't be too dependent on id only in t ...
Posted on Sun, 15 Mar 2020 03:50:22 -0400 by steve448
Application usage statistics -. Net core (C ා) WPF interface design
First article address: https://dotnet9.com/10546.html
Key function points
Round progress bar
1. New project
Use the. NET Core 3.1 WPF project template of VS 2019 to create a project named "MobileAppUsa ...
Posted on Sun, 15 Mar 2020 03:35:01 -0400 by cairesdesigns
1. What is Cache?
There is temporary data in memory.
Put the data that users often query in the cache (memory), users do not need to query the data from the disk (relational database data file), query from the cache, so as to improve the query efficiency and solve the performance p ...
Posted on Sun, 15 Mar 2020 03:21:42 -0400 by hagman
1, Value parameter
1. Value transfer parameter → value type
2. Pass value parameter → reference type, and create a new object
3. Pass value parameter → reference type, only operate object, do not create new object
2, Reference parameter
1. Reference parameter &rarr ...
Posted on Sun, 15 Mar 2020 03:18:53 -0400 by Maugrim_The_Reaper
Recently, the company has a requirement to input text in a div and support rich text, which is probably to achieve the following
(picture cut from QuickBi, similar requirements)
I don't have a clue at this point, but I found that the plan told me to copy QuickBi. ok, let's go to QuickBi.
Posted on Sun, 15 Mar 2020 02:32:25 -0400 by Assim