Initial attempt of vue -- project structure

After creating a new project, let's take a look at the directory structure of the project Contents of several main documents Index.html file (entry file, enter index.html first after entering the system) <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial ...

Posted on Fri, 01 May 2020 06:55:59 -0700 by paldo

prometheus (version 2.0.0) Series II

On the configuration of prometheus Prometheus configuration is YAML, this article will use a Sample configuration To interpret Official configuration here, good English #Global configuration will be applied to all configuration items, and global configuration will be overridden for the same configuration in specific configuration items glob ...

Posted on Fri, 01 May 2020 06:45:17 -0700 by somenoise

Review web Pack: enable the extraction of dev server and common modules

github Previous articles:Review webback: skeleton building Get ready What problems do dev server need to solve? Development environment hot module replacement auto refresh debug traces to the original file. Source map interpretation To start dev server, we need to distinguish the production environment from the development environment. Pre ...

Posted on Fri, 01 May 2020 00:47:40 -0700 by seany123

fastjson (III) processing date

In this section, we will briefly introduce fastjson's handling of dates The fastjson API for processing dates is simple, for example: JSON.toJSONStringWithDateFormat(date, "yyyy-MM-dd HH:mm:ss.SSS"); Use ISO-8601 date format JSON.toJSONString(obj, SerializerFeature.UseISO8601DateFormat); Global modify date format JSON.DEFFAULT_ ...

Posted on Thu, 30 Apr 2020 16:01:06 -0700 by Aptana

Simple application examples of Pop (specifically used in adding, deleting, modifying and querying components) and supplementary knowledge points

1, Let's start with self executing functions 1. What is the immediate execution function? That is, anonymous functions The immediate execution function is Declare an anonymous function Call this anonymous function now 2. An example of pop Click to open a new window. After saving, the page will return without refreshing the data. (click the + ...

Posted on Thu, 30 Apr 2020 15:47:05 -0700 by cybersurfur

Detailed installation and deployment of Traefik 2.2.0

Reload Address Reload original address Prerequisite: Traefik 2.X.0 has been released for some time, and many new features of the version have been updated, especially the highlight of the coexistence of TCP forwarding and http forwarding, which can solve many business problems, save many core network ports and experience bare metal deployment. ...

Posted on Thu, 30 Apr 2020 12:40:33 -0700 by plaggypig

Webpack installation record

There are still problems with the installation of Webpack. I'm not familiar with it. First, paste up the main running code to make a record, and then publish the latest one after testing. 1) Create a new web pack experiment folder 01-13 2) Enter project initialization in directory (npm init) 3) You can return all the way (entry point:index ...

Posted on Thu, 30 Apr 2020 10:56:45 -0700 by fxmzb123

Wechat applet photo and video example code

Wechat applet photo and video example code Photograph The original idea was to use the camera component of wechat to implement, and simulate the appearance of sending a friend circle to set the camera. In fact, it is to set the size of the camera component to the size of the root screen, and use a cover image compon ...

Posted on Thu, 30 Apr 2020 05:46:43 -0700 by mesz

gateway nacos sentinel

introduce Enterprise level microservice architecture( Source address )Gateway is one of the most important components spring cloud gateway responsive gateway, dynamic gateway based on nacos, dynamic current limiting based on sentinel, data persistence based on nacos Software architecture Version No.: the version no. of gateway, naco ...

Posted on Thu, 30 Apr 2020 02:28:52 -0700 by westonlea7

java basic operation of mongodb

mongodb is liked by many programmers because it stores a lot of data, supports high concurrency and weak transactions. For java, you need to download the java mongo driver package, similar to the mysql driver package, which contains the java operation mongo tool class. DBCollection is used for driver package versions below 3.0... The MongoC ...

Posted on Thu, 30 Apr 2020 01:52:10 -0700 by jdm95lude