Tag:option

  • The use of options in. Net core option mode

    Time:2020-12-1

    ASP.NET The core introduces the options mode, which uses classes to represent related settings groups. To put it simply, we use strongly typed classes to express configuration items, which brings a lot of benefits. The dependency injection of the system is utilized, and the configuration system can also be used. It allows us to directly […]

  • 02-idea module creation and git basic operation.

    Time:2020-12-1

    Create the project module and run it Create and run a Java module Create a Java module in the project opened by idea, as shown in the figure: In the interface of creating Java module, select next and enter the module name, as shown in the figure: After the Java module is created, the structure […]

  • Nodejs interactive tool library — commander and Inquirer

    Time:2020-11-28

    Nodejs interactive tool library series library effect chalk-pipe Create a chalk style scheme using simpler style strings chalk Handle terminal string style correctly Commander.js complete node.js Command line solution Inquirer.js A common set of interactive command-line user interfaces. slash System path character processing minimist Parse parameter options dotenv Load environment variables from. Env file into […]

  • Linux text view command and its options (cat, head, tail)

    Time:2020-11-28

    Linux system built-in commands can be queried in the following two ways: “cat — help” or “man cat”. The common options and official explanations of the cat command are as follows: cat file_ Name displays all the contents of the file cat -b file_ Name displays the non empty line content of the file cat […]

  • Module creation and git basic operation in idea of 02-ide tool

    Time:2020-11-27

    Create the project module and run it Create and run a Java module Create a Java module in the project opened by idea, as shown in the figure: Select the module name in the next interface, as shown in the figure After the Java module is created, the structure is shown as follows: Create the […]

  • Master the ngmodule of angular2

    Time:2020-11-26

    Link to the original text:hacking-with-angular What we are going to learn today is the modular system of angular2. In general, we use a root module to start our application, and then use many function modules to enrich our application and expand the function of our application. All of these depend on ourNgModuleDecorator, let’s learn about […]

  • . net options options

    Time:2020-11-24

    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; } […]

  • Use node to execute the command to automatically compress the front-end project into a zip package, which saves time and effort

    Time:2020-11-21

    Find build in Vue cli2’s project/ build.jsIn the callback function CB of webpack (webpack config, CB)add to const exec = require(‘child_process’).exec exec(‘cd .\\dist && del dist.zip’, function(error) { if (error) { console.log(error) } // D:\\program\\WinRAR\\ WinRAR.exe You need to change to the WinRAR installation directory on your computer exec(‘cd .\\dist && D:\\program\\WinRAR\\WinRAR.exe a -r dist.zip […]

  • Getting started with Amazon dynamodb 1: configuration (local) and python examples

    Time:2020-11-20

    What is Amazon dynamodb Amazon dynamodb is a fully managed NoSQL database service that provides fast and predictable performance and enables seamless scaling. With dynamodb, you can avoid the administrative burden of operating and expanding distributed databases, so you don’t have to worry about hardware presetting, setup and configuration, replication, software patching, or cluster expansion. […]

  • Why is there no Chinese after Ubuntu is installed?

    Time:2020-11-18

    Series articles: Python saves the file JSON Why is there no Chinese after Ubuntu is installed? Many people will ask why there is no Chinese option after I install Ubuntu. Let me tell you how to operate it.First turn on the Ubuntu settings (the gear in the upper right corner), or find the settings directly […]