Summary of all aspects of getting started with SpringCloud Alibaba components (Part 1): registration center-nacos, load balancing-ribbon, remote calling-feign

Article directory Nacos Ribbon Feign FeignExpansion Nacos Concept: Nacos is a new open source project launched by Alibaba. It is a dynamic service discovery, configuration management and service management platform that makes it easier to build cloud native applications. Nacos is committed to helping users discover, configure and manage microservices. It provides a simple and […]

A comprehensive summary of new string manipulation methods in JS+ES6, a total of forty-seven methods

Let me introduce to you how to operate strings. Most of what you know and don’t know is here! The classification may be a little wrong, please forgive me! Added 1.concat() Splicing strings can concatenate two or more strings let str = “hello” let str1 = “str” console.log(“hello”.concat(str1)) //hello str console.log(str.concat(str1)) //hello str 2.padStart(total length, […]

C++STL(5) set container summary

C++ STL(5) set container summary Directory C++ STL(5) set container summary 1. Introduction 2. Constructor and member functions 3. Conclusion 1. Introduction std::set in C++ is a container that provides an ordered, non-repeating collection of elements. The following is some introduction to the std::set container: Ordering: The elements in std::set are sorted in ascending order. […]

Summary of how to write JavaScript control statements—–JavaScript

<!DOCTYPE html> <!– This is an HTML comment –> <html lang=”en” id=”myHtml”> <head> <!– This does not set the encoding, but tells the browser what encoding method to use to open the file to avoid garbled characters –> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <title>HtmlAll</title> </head> <body> <script type=”text/javascript” src=”j.js”></script> <table align=”center”> <form id=”myForm”> <tr><td>Login […]

C++STL(2) list container summary

C++ STL(2) list container summary Directory C++ STL(2) list container summary I. Overview 2. Detailed introduction and usage 3. Conclusion 1. Overview std::list is a doubly linked list container provided by the C++ standard library. Unlike std::vector, std::list does not store elements based on continuous memory, but links each element through pointers. This gives std::list […]

Simple HTTP service to implement random return of directory pictures and HTML to implement Web page design (experiment summary)

1. HTTP service for returning random pictures Implement the configuration environment: python, flask package (install with pip command or directly search for it in the ide and install it directly) Create a flask project directly in python and put the code from flask import Flask app = Flask(__name__) import os import random from flask import […]

Summary of HPL2.3 installation, configuration and testing under CentOS 7.6

The premise of this article is that MPICH and GotoBLAS2 library functions are installed in the system. Regarding MPICH and GotoBLAS2, please refer to the previous Blog. 1. Set MPI environment variables [root@hpc ~]# more .bashrc # .bashrc # User specific aliases and functions alias rm=’rm -i’ alias cp=’cp -i’ alias mv=’mv -i’ # Source […]

JavaMap summary

Features key value Key-value pair (entry) A two-column collection needs to store a pair of data at a time, namely the key and the value. Keys cannot be repeated, values can be repeated Keys and values have a one-to-one correspondence, and each key can only find its corresponding value. Key + value form a “key-value […]

Gin framework-A summary of problems encountered in running the terminal and their solutions (1)

1. panic: html/template: pattern matches no files: `template/**/**/*` Terminal full text code: 10:3:12 app | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. [GIN-debug] [WARNING] Running in “debug” mode. Switch to “release” mode in production. – using env: export GIN_MODE=release – using code: gin.SetMode(gin.ReleaseMode) 10:3:13 app | panic: html/template: […]