Test Chapter of Continuous Integration
Continuous integration
unit testing
karma
Karma yesGoogleAn Open Source BasedNode.js Of JavaScript Test Execution Process Management Tool(Test Runner). The tool can be used to test all mainstreamsWebBrowsers can also be integrated into CI (Continuous integration)Tools can also be used with other code editors.
Interface-free browsers we testedph ...
Posted by paddycallaghan on Thu, 20 Jun 2019 20:33:57 +0200
mongodb Cluster in Centos
Blogger: haitianis good
The original blog website: http://blog.csdn.net/haitianisgood/article/details/73682739
mongodb Cluster in Centos
Summary
A mongod service can have multiple databases, and each database can have multiple tables. The table name here is collection. Each collection can store multiple document. Each document ca ...
Posted by twizler on Wed, 19 Jun 2019 23:49:19 +0200
Spring Mvc+Angular JS implements cross-domain solution through CORS
Original: http://www.cnblogs.com/tanghaiyang/p/4375601.html
Theme Spring MVC Angular JS
What is the cross-domain request problem?
The reason for this problem is that modern browsers default to prevent cross-domain ajax requests for security reasons, which is a necessary function in modern browsers, but often inconvenient to development.
But ...
Posted by eroticheretic on Wed, 19 Jun 2019 22:33:18 +0200
Property actions for reading Zepto source
This article is still a dom ain-related method, with a focus on how attributes are manipulated.
Read the Zepto Source Series article already on github, welcome star: reading-zepto
Source Version
The source code for reading this article is zepto1.2.0
Internal method
setAttribute
function setAttribute(node, name, value) {
value == null ? node.r ...
Posted by taurus5_6 on Wed, 19 Jun 2019 18:05:40 +0200
Code "Xiaobai" knows something new from the past (I) - - OA Management System
Ancient Cloud: Reviewing the Past and Knowing the New. This is excellent. Recently, as a little white man, I have used my spare time to revisit an OA system I wrote as a trainer in the past few months. I hope I can get some new inspiration on the basis of consolidation. Now, in retrospect, the previous person, writing stop, do not feel exclamat ...
Posted by Sxooter on Wed, 19 Jun 2019 02:49:18 +0200
Introduction to PostgreSQL Data Types (1)
View the data type of the current database
postgres=# \d pg_type ;
Table "pg_catalog.pg_type"
Column | Type | Modifiers
----------------+--------------+-----------
typname | name | not null
typnamespace | oid | not null
----
//Show all type types and corresponding storage types:
postgres= ...
Posted by ariliquin on Mon, 17 Jun 2019 18:59:40 +0200
[Nacos] Data Consistency
From: https://blog.csdn.net/liyanan21/article/details/89320872
Catalog
I. Raft algorithm
Part of Raft Source Code in Nacos
init()
1. Get Raft cluster nodes
NamingProxy.getServers() Gets the cluster nodes
NamingProxy.refreshSrvIfNeed() Gets node information
NamingProxy.refreshServerListFromDisk() Gets cluster node information
2. Raft ...
Posted by killerofet on Sun, 16 Jun 2019 20:35:19 +0200
json&pickle serialization
1. Purpose
You need to serialize the data in memory, that is, when you write to a file, you can only write to a string or binary type.But if we want to serialize more complex data types like lists, dictionaries, or functions, we use json or pickle.
2. json serialization
1. dumps serialization and loads deserialization
dumps converts data types ...
Posted by nels on Sun, 16 Jun 2019 01:03:05 +0200
Wechat applet Node.js (Basis 6) Buffer (Buffer)
Wechat applet Node.js Buffer: JavaScript Language itself has only string data type and no binary data type. But when dealing with streams like TCP or files, binary data must be used. Therefore, in the _____________ Node.js In this paper, a Buffer class is defined, which is used to create a special buffer for binary data. In no ...
Posted by mysterbx on Sun, 16 Jun 2019 00:14:44 +0200
Analysis of ThinkPhp5 | E-commerce Module
ThinkPhp5 framework is a lightweight development framework based on MVC. Its modular construction is simple and effective. Compared with previous versions, it is a subversive change. In this paper, combined with the common functions of some websites, a brief analysis of the basic principles, a small test knife.
Compared with the complete develo ...
Posted by AncientSage on Sat, 15 Jun 2019 23:45:50 +0200