The Principle of Nodejs Modularization

I. Preface The application of node is composed of modules. Node follows the module specification of commonjs, which is used to isolate the scope of each module and make each module execute in its own namespace. The main contents of commonjs are as follows: Modules must export external variables or interfaces through module.exports, and import t ...

Added by jonshutt on Wed, 24 Jul 2019 07:10:27 +0300

Golang Learning Notes

[TOC] Golang Learning Notes This learning note was written as early as the beginning of 1.0, around the version, and may differ greatly from the latest version. Because it was written earlier, and there were many own opinions in the article, some things that were not well understood at that time might have been written incorrectly. Some places ...

Added by Angry Coder on Tue, 23 Jul 2019 19:56:51 +0300

PHP Tutorial Learn 08: Operation of Strings in PHP

Learning courses are derived from:Introduction to PHP string manipulationPHP Manual (Simplified Chinese) Link on PHP Official Website Declaration string A string is a scalar and requires delimiters According to the declaration delimiter, it can be divided into: 1. Single quotation mark:'' 2. Double qu ...

Added by liza on Tue, 23 Jul 2019 16:15:18 +0300

One of the Picture Crawlers of Hummingbird Net

1. Pictures of Hummingbird Net - Introduction Today we continue to crawl a website for http://image.fengniao.com/. Hummingbird is a place where photographic bulls gather. This tutorial is for learning, not for commercial purposes. It is no surprise that hummingbirds are copyright-protected websites. ...

Added by pristanski on Tue, 23 Jul 2019 15:05:00 +0300

Configuration of webpack from 0 to 1

Configuration of webpack from 0 to 1 (1) Configuration of webpack from 0 to 1 (2) Configuration of webpack from 0 to 1 (3) Configuration of webpack from 0 to 1 (4) Configuration of webpack from 0 to 1 (V) Configuration of webpack from 0 to 1 (6) Next, the configuration of webpack.prod.config.js ...

Added by BLaZuRE on Tue, 23 Jul 2019 13:15:17 +0300

DDT Data Driver for python Automated Testing

After a long time, smoke again, automated testing work is still continuing. Data-driven technology in automated testing is particularly important. Otherwise, how to achieve data separation? Right, here is a brief introduction of DDT data-driven technology that matches traditional unittest automated testing framework. Let's not say much. First, ...

Added by Lashiec on Tue, 23 Jul 2019 08:42:23 +0300

Rapid development of WeChat applets: from registered accounts to applet shelves

Write before Since the WeChat applet function was released, I have been following the trend of the applet, but limited to busy school, there is always not much time to learn.As a sophomore, I gradually learned Vuejs and was attracted by its concise design. Then I looked at the development documentation of the applet and found it so similar?Mayb ...

Added by joopeon on Tue, 23 Jul 2019 02:03:53 +0300

More efficient event bus (BusUtils) than EventBus

background Designing this BusUtils is actually doing ApiUtils Do it by hand, because they are basically the same way. I didn't want to compare them with EventBus of greenrobot before design, but there's always a need to compare them after design. So compare EventBus, the best EventBus in the industry, and you'll see that BusUtils t ...

Added by Nulletz on Mon, 22 Jul 2019 05:34:43 +0300

The first day of webpack learning practice

By Ylise 1. Install webpack Reference documents: 1.Chinese Document Installation Paper of webpack 2.Lodash Chinese Documents 1. Create folder mkdir webpack-demo and enter the created folder mkdir webpack-demo && cd webpack-demo 2. Initialize a new package.json file and use NPM init-y to skip the query phase. Next, use domestic mirro ...

Added by tj71587 on Sat, 20 Jul 2019 10:19:36 +0300

Flutter Learning Notes--Dart Object Oriented

If you need to reproduce it, please indicate the source: Flutter Learning Notes (8) --Dart Object Oriented   Dart, as a high-level language, supports many object-oriented features and mixin-based inheritance, which means that a class can inherit from multiple parent classes, which is equivalent to multiple inheritance in other languages.All ...

Added by martor on Thu, 18 Jul 2019 21:40:35 +0300