• . net options options


    Dotnet configuration source code:https://github.com/dotnet/runtime/tree/master/src/libraries/In which Microsoft.Extensions.Options Opening itemOptions official document: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-5.0 https://docs.microsoft.com/en-us/dotnet/core/extensions/options Nuget package:Microsoft.Extensions.Options It is suggested to master the following: Dependency injection: Configuration: introduce OptionsProvides strongly typed access to configuration data OptionsProvides a mechanism for validating options Configure First declare an option class public class MyOption { public string A { get; set; } […]

  • Reasons for high cache of Linux server in DB2


    The Linux operating system (RHEL, CentOS) is used for the online DB2 database server. After the DB2 database is running for a period of time, the physical memory of the operating system tends to zero. At the same time, the cache of the system increases sharply, but the use is not high. The following is […]

  • Embedded system: QE bit: a common factor that causes serial nor flash to download / start normally under i.mxrt


    Hello, everyone. I’m a ruffian. I’m a real technical ruffian. What ruffian Heng introduced to you today isQE bit: a common factor that causes serial nor flash to download / start normally under i.mxrt。 i. It has been more than two years since the launch of mxrt Series MCU, and more and more customer products […]

  • Keycloak ~ custom redirect_ The method of URI


    In the process of integrating springboot with keycloak, for the interface that needs authorization, it will jump to keycloak to log in, and there is a redirect before it_ URI. After successful login, it will jump back to the client. However, there is no place to modify this address by default. We need to develop […]

  • How Kafka data is repeatedly consumed


    Recently, learning from Li Yue’s back-end storage practical class of geek time, I saw a lot of interesting things: Kafka is used to store click stream data, and it is repeatedly processed. In the past, Kafka is only a carrier of message transmission. After the message is consumed, it can not be consumed again. The […]

  • Thoroughly solve the problem that Windows cannot start Windows Firewall on the local computer


    Thoroughly solve the problem that Windows cannot start Windows Firewall on the local computer Problem description Sometimes we need to turn off the windows firewall, but there is no corresponding button in the control panel:Input after win + R services.msc , open the service and find that the firewall can’t be started manually, indicating that […]

  • Setting IntelliJ idea in this way is said to be efficient~


    Show toolbar (1) Effect picture (2) Setting method Label 1: view – > toolbar Note 2: view – > tool buttons Set mouse hover prompt (1) Effect picture (2) Setting method file – > settings – > editor – > General – > check show quick documentation Show method separator (1) Effect picture (2) Setting […]

  • Electron’s notes


    background Each time a department’s project is developed, it needs to manually open three services: server, webpack and grunt. Each service needs to input something (port number, project name, project type, initiator name). Moreover, during push debugging, these three services are very easy to be terminated, and then they have to be opened one by […]

  • After using lamp and Wamp, I decisively uninstall and configure WordPress running environment by myself


    As a java developer, I usually like to learn other technologies besides Java, such as PHP. For any developer, in the process of learning a new programming language, the first step is to configure the development environment. If you are a novice programmer, you may be afraid of various configuration items and don’t know where […]

  • Remote of undefined


    The remote module is used to step on the pit after the electronic is updated In previous projects, remote, which references electron, can be called directlyelectron.remoteTo use it, but the recent use of electronic has frequently reported errors??? After stepping on the pit, I quickly went to check the official documents. Did electron update it? […]

  • debian_ linux_ Apt get command_ Dpkg command


    Related operations of manually downloaded DEB package: Dpkg is the abbreviation of Debian package. The following is a list of common operations: dpkg –I name.deb View package details (where I is uppercase I); (- info) dpkg –c name.deb View the contents of the package; (- contents) dpkg –i name.deb Install a DEB package; (– install). […]

  • Installing git under Linux


    1. Manually install GIT 1. Install git dependency package yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker 2. Delete existing Git yum remove -y git 3. Download git source code cd /usr/src wget https://www.kernel.org/pub/software/scm/git/git-2.8.3.tar.gz tar -zxvf git-2.8.3.tar.gz cd git-2.8.3 ./configure prefix=/usr/local/git/ make && make install Git — version Git is installed 4. Add […]