Spring Cloud upgrade road - Hoxton - 4. Use Resilience4j to achieve instance level isolation and fusing

How not to enable Hystrix Because our entry annotation class is replaced by SpringBootApplication from @ SpringCloudApplication, spring cloud circuit breaker will not be enabled. The introduced Hystrix dependency has no effect. Please refer to Section 2 of this series: The way to upgrade Spring Cloud ...

Posted by cedricm on Fri, 05 Jun 2020 05:40:36 +0200

Using WindowManager to add View -- the basic principle of floating window

Although there are many types of "windows" in Android system, only two types are often used: one is managed by system process, which is called "system window"; the other is generated by application program, which is used to display UI interface. If you are familiar with window manager service (WMS), everything is very simple ...

Posted by c0le on Sat, 30 May 2020 02:18:58 +0200

[iOS] Beginner's Advancement: AppDelegate's Slim

Is the code inside an AppDelegate messy? Are there thousands of lines of code in an AppDelegate? image.png AppDelegate serves as the entry to the program.You should have simple code and a clear style so you can read it yourself and with the developers. So adding a new category to AppDelegate is the easiest and clearest way to do it i ...

Posted by solon on Tue, 26 May 2020 19:28:06 +0200

Self adhesive, thermal printing

In the process of warehousing and logistics, it is often necessary to use thermal printer or carbon tape printer to print some barcode and information and paste them on the physical object or package The best way is not to directly use thermal code to form text and output it to printer for printing But thermal code is also a special language to ...

Posted by gavinbsocom on Wed, 20 May 2020 09:43:00 +0200

BOM and DOM operations for JavaScript front-end development

[Directory] I. BOM Operation 1. window Object 2. window child object 3. Hisry Object 4. location object (master) 5. Pop-up box 6. Timer-related 2. DOM Manipulation 1. DOM-related concepts 2. Find labels 3. Node Operation 4. Get Value Operation 5. class, css operations   (Here's what you do with a browser in a mac notebook (check the con ...

Posted by timcapulet on Mon, 18 May 2020 18:20:38 +0200

The background implementation of WPF scrolls the currently selected items of DataGrid by pressing the number key

Recently, I encountered an item without mouse on the device. The interface is a DataGrid with full screen. It needs to scroll up and down the currently selected row of DataGrid by pressing 0 and 1 of the keypad For important reference, https://blog.csdn.net/sinat_/article/details/105428496 implements background scrolling to the currently selec ...

Posted by arag0rn on Sat, 16 May 2020 16:32:11 +0200

Docker learning notes: image, container, data volume

Core concepts Image: a read-only template, similar to the image of a virtual machine. Container: it can be understood as a running instance of the image. The runtime is similar to a sandbox, with multiple containers independent of each other. Warehouse: the place where image files are stored. image Command table command explai ...

Posted by evildarren on Sat, 16 May 2020 09:07:41 +0200

B station video download batch splicing synthesis tool

Introduction Station B is very simple for downloading a single video. You can install plug-ins in the browser, which will not be covered here. This paper mainly introduces the batch download and resource integration of multi-P video. There are two ways: Execute py script Run exe tool preparation 1. Download B station client in windows store   ...

Posted by leeroy1 on Fri, 15 May 2020 07:51:47 +0200

C# Getting Started with Windows Service Development

1. Conceptual Name Windows services (formerly NT services) allow you to create executable applications that run for a long time in their own Windows sessions.These services can be automatically started at computer startup, paused and restarted, and do not display any user interface.This service is ideal for use on servers or at any time when lo ...

Posted by jamesl73 on Fri, 15 May 2020 05:49:48 +0200

leetcode-3. Longest substring without repeating characters

leetcode-3. The longest substring without repeating characters. Given a string, please find out the length of the longest substring that does not contain duplicate characters. Example 1: Type: "abcabcbb" Output: 3 Explanation: because the longest substring without repeating characters is "abc", its length is 3. Example 2: ...

Posted by zildjohn01 on Thu, 14 May 2020 16:09:18 +0200