Simple installation and use of gulp

1. Flow based automated build tool. 1. Install gulp globally `npm install --global gulp` 2. Installation as a project development dependency `npm install --save-dev gulp` 3. Create a file named gulpfile.js in the root directory of the project: `var gulp = require('gulp'); gulp.task('default', function() { // Put your default task code here }) ...

Posted on Tue, 22 Oct 2019 16:02:13 -0400 by dave007

Selenium installation and element positioning

As for selenium, I have always been learning and using it before. When I encounter a problem, I don't make a whole and summary of the search. Now take some time to organize, so that you can see it later. Installation of selenium pip install selenuim Download driver Firefox driver: geckodriver Ch ...

Posted on Tue, 22 Oct 2019 15:11:04 -0400 by g00bster

Customization supplement of spring boot rapid development

Enhance the spring boot rapid development tool Project address: https://gitee.com/sanri/web-uiAdvantages: This is a web universal configuration component, plug and play, which can be used for new projects or private activities. It is a supplement to the rapid development of spring boot. It has a large number of built-in configurations to simpli ...

Posted on Tue, 22 Oct 2019 12:15:33 -0400 by Renich

Analyze the right posture of Android Handler source code from the perspective of architect

What is the principle of Handler? Can you analyze the implementation mechanism of Handler in depth?The interviewer asked this question to know the source code of the handler, how to implement the handler mechanism, and whether he understood the message pump Looper.(more full project downloads. To be continued. Source code. The graphic knowled ...

Posted on Tue, 22 Oct 2019 11:25:21 -0400 by cordoprod

python self study Journal 4-string

1.for cycle Loop through characters with for Since I haven't used the for loop for a long time, I'm a bit rusty, so I wrote the following code. fruit='banana' len(fruit) index=0 for index<len(fruit): print(fruit[index]) index+=1 File "<ipython-input-2-f904b63b5686>", line 3 for index<len(fruit): ^ SyntaxError: inval ...

Posted on Tue, 22 Oct 2019 06:07:22 -0400 by jetskirich

[cutescript] latest introduction of ECMAScript2019

Recently ECMAScript2019, the latest proposal is completed: tc39 Finished Proposals , I also sort out the official introduction here. If you have any questions, you can check the official introduction.~ Besides, I've sorted it out before. ES6/ES7/ES8/ES9 series You can watch it together. 1. Optional catch binding 1.1 INTRODUCTION In the latest ...

Posted on Mon, 21 Oct 2019 23:34:00 -0400 by lesolemph

LDAP research log

Springboot+LDAP research log LDAP (I) concept LDAP is a Lightweight Directory Access Protocol. Its full name is Lightweight Directory Access Protocol, which is generally referred to as LDAP. It's based on the X.500 standard, but it's much simpler and can be customized as needed. Unlike X.500, LDAP supports TCP/IP, which is necessary to access t ...

Posted on Mon, 21 Oct 2019 15:37:48 -0400 by jemgames

Vue components and component communication

Global component of component //Note: you need to register global components before Vue instantiation. Use Vue.component("component name", {template: ` component template '}) Vue.component("show-name",{ template:` <div title="Be careful, The root element of a component template must have and only have one"> <p> ...

Posted on Mon, 21 Oct 2019 15:34:27 -0400 by teanza

vue login page as modal Global

background The vue project has a login page for use as a separate page. You want to transform it into a modal, which is then globally callable. Similar to the toast component of mint UI. The location to be used is mainly in the vue page and the interface request response data processing method (the environment cannot get the current scope thi ...

Posted on Mon, 21 Oct 2019 13:04:44 -0400 by merck_delmoro

Eureka application registration and cluster data synchronization source code analysis

Prior to EurekaClient automatic assembly and startup process analysis We mentioned in the article that when constructing the DiscoveryClient class, it will register itself to the server. This article will analyze this registration process. Client initiated registration boolean register() throws Throwable { logger.info(PREFIX + "{}: ...

Posted on Mon, 21 Oct 2019 13:00:39 -0400 by blogger3