Implementing cloud side collaboration using NATS message middleware
1. Introduction to NATs
NATS(Message bus): from the general frame composition of cloud foundry, a component called NATS is located in the center of each module. NATS is an open source, lightweight, high-performance distributed message queuing system developed by Derek, the architect of cloud foundry, which supports publish and subscribe mec ...
Added by ajar on Fri, 14 Jan 2022 05:02:40 +0200
Python programming skills - containers, iterators, generators
container
Containers can be intuitively imagined as units with multiple elements together, and the difference between different containers lies in the implementation method of internal data structure. Lists (list: [0, 1, 2]), tuples (tuple: (0, 1, 2)), dictionaries (dict: {0:0, 1:1, 2:2}), and collections (set: set([0, 1, 2]) are containers.
...
Added by tinkertron on Fri, 14 Jan 2022 03:09:17 +0200
[S01E02] iOS unit test
what: What is unit testing
how: How to conduct unit tests
why: Why unit testing
1, What is unit testing
1. Unit test
Unit can be simply understood as a method, so unit testing is testing for methods
2. The position of unit test in the test
Generally speaking, small tests are used to ensure code quality, and medium and large tests are us ...
Added by tmed on Fri, 14 Jan 2022 02:55:39 +0200
The paramiko module experiment of the Python road of network engineering is new
Thank you for knowing two big guys: @ Yixin and @ Zhu Jiasheng
@The experiment of chess player is mainly based on linux system, Cisco equipment or GNS3 simulator.
@Considering the current mainstream of Huawei in China, Zhu Jiasheng also uses the Windows system to try to use Huawei's real machine or eNSP simulator to do the experiments menti ...
Added by pibebueno on Fri, 14 Jan 2022 02:11:03 +0200
SQLite Python addition, deletion and modification
SQLite (https://www.sqlite.org/) It is a software library, small and flexible, self-sufficient, server free, zero configuration and transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. No configuration management is required. You can add environment variables after unpacking the installation pa ...
Added by kippi on Fri, 14 Jan 2022 01:51:08 +0200
Python generates screenshot GIF animation of meal selection
Hello, I'm Xiao Ming.
Before, a little friend in the group asked what to eat this noon, and then another child named Guagua sent the following picture:
Personally, I think it's quite interesting. The screenshot is really like a lottery to choose a dish name at random. Considering that the candidates for dish names in this dynamic picture ar ...
Added by LostinSchool on Fri, 14 Jan 2022 01:41:28 +0200
Introduction to Unity3D Development -- implementing components with Lua
Python wechat ordering applet course video
https://edu.csdn.net/course/detail/36074
Python practical quantitative transaction financial management system
https://edu.csdn.net/course/detail/35475 Wuyi Yinxia, whose real name is Guan Jianchang, has a 12-year game career. This tutorial takes Unity 3D + VS Code + C# + tolua as an example.
1, ...
Added by Tim L on Fri, 14 Jan 2022 01:02:57 +0200
Basic process control statement for getting started with Python
Sequential structure
Programs in the computer are executed from top to bottom, that is, the previous statements are executed first and the subsequent statements are executed later. If the previous statements are abnormal, the subsequent statements will not be executed. This is the sequential structure, and Python syntax also follows this s ...
Added by AcidCool19 on Fri, 14 Jan 2022 00:25:16 +0200
Learn flash login user session management of flash
Flash login user controls user session management. In short, it controls login. If you write your own login system, you usually operate the session, and then the background judges the permissions according to the session. Flask login is responsible for this part. Start directly
install
pip install flask-login
Import LoginManager
from flask ...
Added by tisource on Thu, 13 Jan 2022 21:54:10 +0200
Operating system history & process
Today's content
UDP protocol
History of operating system
process
Process scheduling in the case of single core
Process three state diagram
Synchronous asynchronous
Blocking non blocking
Detailed content
1, UDP protocol
1. What is UDP protocol
UDP is a transport layer protocol. Its function is to add the most basic services on the datagram ...
Added by kenyabob on Thu, 13 Jan 2022 16:33:31 +0200