• Identity application of ASP. Net core (Part 1)


    1、 Foreword In the introduction of the previous chapter, I briefly introducedIdentityServer4The persistent storage mechanism related configuration and operation data, realized data migration, but did not explain the persistent operation to users. We also mentioned in the summary, becauseIdentityServer4This supports access to other authentication methods, so you can make reasonable adjustments according to your needsextendFor […]

  • NPM knowledge points


    NPM knowledge points The following documents are based on [email protected] , other versions may behave differently reference resources You want to know everything about package-lock.json nrm NPX tutorial NRM package source management tool Installation: NPM install – G NRM Show available sources: NRM LS Speed measurement: NRM test Switch source: NRM use Taobao package.json Difference […]

  • Docker builds PHP environment


    Version introduction cliCommand line version apacheApache version fpmReverse proxy version alpineCompact version buster & stretchFor Debian distribution Mode of use Method 1: build based on dockerfile vim Dockerfile FROM php:7.3-fpm RUN mv “$PHP_INI_DIR/php.ini-production” “$PHP_INI_DIR/php.ini” COPY . /usr/src/myapp WORKDIR /usr/src/myapp CMD [ “php”, “./your-script.php” ] $ docker build -t my-php-app . $ docker run -it –rm […]

  • Installation, configuration and localization of eclipse


    1. Baidu search eclipse It is usually the first to find the website of the official website. There is the portal of the website belowEclipse Official WebsiteClick the position as shown in the figureFind this location and click 2020-06;It seems that the latest version of eclipse only supports jdk11. The specific reason is unknown. If […]

  • Teach you how to implement a utools toolbox that supports plug-in (1)


    preface For front-end students, we often use various gadgets, such as drawing bed, color picking, QR code generator, URL management, text comparison and JSON formatting. Of course, we can use chrome favorites to manage all kinds of online gadgets, but as a front-end with pursuit, we can not only use them ourselves, but also give […]

  • Spring for Kafka auto configuration and configuration properties


    order This article mainly lists some auto config and attribute configuration of spring for Apache Kafka maven <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> <version>1.2.3.RELEASE</version> </dependency> This version uses Kafka client version spring retry used is version 1.1.3.release Several key configuration classes KafkaAutoConfigurationspring-boot-autoconfigure-1.5.7.RELEASE-sources.jar!/org/springframework/boot/autoconfigure/kafka/KafkaAutoConfiguration.java @Configuration @ConditionalOnClass(KafkaTemplate.class) @EnableConfigurationProperties(KafkaProperties.class) @Import(KafkaAnnotationDrivenConfiguration.class) public class KafkaAutoConfiguration { private final KafkaProperties properties; public KafkaAutoConfiguration(KafkaProperties properties) […]

  • Front end architecture upgrade of vivo Mall – front end and back end separation


    Based on the front and rear end separation experience of vivo mall project, this paper summarizes the front and rear end separation ideas, arranges the front and rear end separation schemes, as well as the problems and solutions encountered in the separation process. 1、 Foreword Vivo official mall established an online mall in 2015 and […]

  • Jar package conflict resolution


    Maven dependency principle Indirect dependence shortest priority: a > b > C and a > e > F > d > C, the former is preferred Declaration priority: if the path length is the same, the declaration priority first Causes of conflictMaven has a transitive dependency mechanism. When a depends on B and a dependency […]

  • Finally wait for you! ” The strongest ide visual studio will release its 64 bit version this summer


    According to the Microsoft developer blog, visual studio 2022 will release a public preview this summer: faster, easier to use, lighter, and suitable for learners and developers building industrial solutions. Most importantly, the new version of visual studio is 64 bit, providing users with a cleaner, intelligent and action oriented experience. The first 64 bit […]

  • Installation and use of NVM on Windows


    background When we develop or maintain projects, due to historical reasons, different projects usenodeThe versions of are inconsistent, which undoubtedly adds difficulties to our development and maintenance. In order to solve this problem, the node version manager came into beingnvm, it isnodeVersion management is convenient to install different versions of on your computer or virtual […]

  • Installation process of anaconda and pytoch libraries (date: February 4, 2021, installation of Anaconda 3, configuration of environment, source change and installation of pytoch)


    0. Precautions Last edited: February 4, 2021 Installed Anaconda version: Anaconda 3-2020.11-windows-x86_ sixty-four Win10 version: 20h2Differences between Linux and windows:For the two commands of switching environment and exiting environment, the previous CONDA should be changed to source, and the whole command isSource activate environment nameandsource deactivate Don’t install additional python, Anaconda comes with Python!If you […]

  • [official document] create a virtual environment in the directory specified by Anaconda


    You can create a virtual environment in the specified directory by specifying a path. For example, the following command will create a virtual environment called./envsAnd follow the packages of these later versions:conda create –prefix ./envs jupyterlab=0.35 matplotlib=3.1 numpy=1.16 Then, in the current working directory, you can use the name of the virtual environment, that is./envsActivate […]