New posture of python debug - pysnooper

In general, Pycharm is used to debug projects, but what happens when it's not convenient? Do you still use the old logger? Today, it's super convenient to find pysnooper's tool, which can type the output of every step of a function into a file. First, you need to install it. pip install pysnooper Th ...

Posted by thyscorpion on Wed, 31 Jul 2019 11:22:10 +0200

Abp Polymerization Test

An example of the tutorial that Abp started with is that IRpository < entity > appears directly in the application layer. But if it's an aggregate root, it's the smallest unit to access the warehouse. To operate the business through the aggregate root, it's the entity, so the addition, deletion and modification of the entity should also b ...

Posted by dragongamer on Wed, 31 Jul 2019 06:05:27 +0200

Java Description Design Mode (02): Simple Factory Mode

1. Introduction to life scenes 1. Introducing scenes A brief description of the ordering process 1) Food Abstract class, specifying the operation of basic properties of food 2) Fish, Chicken Food Expansion 3) Ordering process class, according to the name of the food, processing specified types of food 4) Simulate client reservation 2. Sour ...

Posted by chris_s_22 on Tue, 30 Jul 2019 19:56:52 +0200

Introduction to Algorithms: Algorithmic Diagram

Introduction to Algorithms: Algorithmic Diagram Introduce an introductory book on the basis of algorithms. It is necessary to supplement algorithms and data structures for non-academic students, but these things are often so dull that many people's enthusiasm is dispelled. Algorithmic Diagram uses p ...

Posted by php_joe on Tue, 30 Jul 2019 16:48:42 +0200

fabric1.4.2 migrated from kafka to raft (command version)

fabric1.4.2 migrated from kafka to raft (command version) See in detail the principles on which implementation depends. https://blog.csdn.net/qq_42750537/article/details/96428765 This article is used to record specific orders and problems encountered. Constructing RatfMetadata Get available confi ...

Posted by mizz key_me on Tue, 30 Jul 2019 05:30:41 +0200

Hand-Making Wheels: Implementing EventBus Based on Redis

Hand-Making Wheels: Implementing EventBus Based on RedisIntro#Last time we built a simple memory-based EventBus, but it would be inappropriate to cross-system, so we have this Redis-based EventBus exploration. The implementation of this paper is based on StackExchange.Redis. RedisEventStore Implementation#Since it is naturally impossible to reu ...

Posted by jonasr on Mon, 29 Jul 2019 06:31:07 +0200

Run and control Nginx

Run and control Nginx If my article has helped you, I will be very happy and welcome to follow me Github Welcome to my Blog , welcome star. nginx command line parameters Unlike many other software systems, Nginx has only a few command line parameters and is configured entirely through a configuratio ...

Posted by Duncan85 on Mon, 29 Jul 2019 04:14:15 +0200

Django Builds Shops and Commodities on E-commerce Websites Shop Verification and Up-and-Down Destruction of Commodities

Follow up on the previous blog: Django Builds Stores and Commodities on E-commerce Websites Store Registration and Commodity Management (2) 1. Adding check-ups to check whether users have shop functions 1. Check the store's cookie when the user logs in Verify that the user owns the store after the log ...

Posted by robos99 on Sat, 27 Jul 2019 10:19:34 +0200

Using Kube builder to develop kubernetes CRD

Original address Extending kubernetes is the two most commonly used and most needed things to master: custom resources CRD and adminsion web hook. This article teaches you how to master CRD development in 10 minutes. kubernetes allows users to customize their own resource objects, just like deployment stateful settings, which are widely used. F ...

Posted by freshneco on Sat, 27 Jul 2019 09:20:43 +0200

spring-boot-plus Background Quick Development Scaffold Code Generator

Generator code generation Code generation content spring-boot-plus adds param/vo and other templates on the basis of mybatis-plus Extending controller/service/mapper/xml method Purpose New tables in the database can generate background CRUD / paging base code, and swagger! Official address: s ...

Posted by scliburn on Sat, 27 Jul 2019 08:29:26 +0200