Notes on left ear listening style: a prototype based programming paradigm
Prototype of JavaScript
Prototype based programming is also a way of object-oriented programming. Like JavaScript is a prototype based programming idea. There is no concept of class in JavaScript. Even the class introduced in ES6 is essentially a syntactic sugar based on prototype inheritance. No new object-oriented inheritance model is introdu ...
Added by willchoong on Sun, 05 Jan 2020 16:19:03 +0200
An overview of Dubbo routing mechanism
In the previous section, we mainly explained how to dynamically modify parameters using dubbo-admin. This section will focus on another implementation detail in cluster implementation: routing mechanism, the main purpose of which is to refresh service providers from all known service providers according to routing rules when making service call ...
Added by spider.nick on Sun, 05 Jan 2020 13:41:28 +0200
Learning journal day 4
Actual combat of Suqian project
Learning log name: Yang Yang (15090120) date: September 6, 2018
Today's learning tasks
Programming the parking lot system, which can perform the required operations: parking, driving, displaying the information of vehicles in the parking lot, waiting for the information of vehicles and exitin ...
Added by techbinge on Sun, 05 Jan 2020 05:38:43 +0200
2018 autumn recruitment programming question summary
1. A blank filling question of Shang Tang (I think it can be changed to programming question)
#include <iostream>
using namespace std;
int count = 0;
void Perm(int a[], int k, int m) //Perm functions are used to solve permutation problems
{
int i;
if(k == m)
{
if(a[5] > a[0] && a[6] > a[1])
{
i ...
Added by marms on Sat, 04 Jan 2020 11:35:13 +0200
Chapter six: java answer analysis of shangxuetang
1, Multiple choice questions
1.C
Parsing: for functions under void, you can use "return;" to indicate the end, but not "return i", because the data is void,
Try catch finally: execute correctly: try - > finally, unless try contains System.exit(0) to force exit. Error execution: try - > catch - > ...
Added by priti on Sat, 04 Jan 2020 00:18:07 +0200
Exercise 2-9 four operations of integers
Exercise 2-9 four operations of integers (10 points)
This problem requires programming to calculate the sum, difference, product, quotient and output of two positive integers. The topic ensures that the input and output are all in the integer range.
Input format:
Input gives 2 positive integers A and B on A single line.
Out ...
Added by kingsol on Fri, 03 Jan 2020 23:38:23 +0200
Built-in functions commonly used in Python 3
cmp() function
describe
The cmp(x,y) function compares two objects, returning -1 if x < y, 0 if x == y, and 1 if x > y.
grammar
cmp( x, y )
parameter
x -- A numeric expression.
y -- A numeric expression.
Return value
Returns -1 if x < y, 0 if x == y, and 1 if x > y.
print "cmp(80, 100) : ", cmp(80, 100)
print "cmp(180, 100) : ", c ...
Added by saami123 on Fri, 03 Jan 2020 17:12:00 +0200
Spring cloud + Maven + lancher2 + kubernetes (k8s) + git + Jenkins + pipeline + docker to realize automatic packaging deployment
Environmental preparation:
k8s environment managed by lancher 2.3
jenkins (you can use docker to build or install directly. If you are not familiar with k8s, it is not recommended to use helm to install jenkins. Many configurations are not convenient to change. I built it with docker, but I need to record and mount the docker command. It is r ...
Added by sitorush on Fri, 03 Jan 2020 11:35:24 +0200
This article takes you to understand that the OAuth2 protocol integrates with Spring Security OAuth2!
OAuth 2.0 authorization protocol that allows third-party applications to access restricted HTTP resources, like the OAuth 2.0 authorization framework, which is commonly used when people use Github and Google accounts to log on to other systems. The following is the authorization page diagram of the Coding system using Github accounts:
There a ...
Added by holiks on Fri, 03 Jan 2020 04:04:36 +0200
JavaScript learning notes 008-this0arguments0 arrow function
Author: Mr. Liu Shangyuan
Give no less than any effort
May all our efforts be lived up to
Never forget why you started, and your mission can be accomplished.
Learn from the beginning to the end
You've heard the story of a bear breaking a stick
They think bear is stupid
I don't think I'll ever do that
But they often do things like ...
Added by Guernica on Wed, 01 Jan 2020 23:41:24 +0200