How to delete k8s resource objects in batch

This article was first published on the public account [my little bowl soup] to scan the QR code at the end of the article for attention, exchange and study together In cloud platform development and middleware containerization, there is often a need to delete k8s resource objects in batches. Here are some examples of kubectl and golang sending ...

Added by obsidian on Wed, 16 Oct 2019 05:11:19 +0300

POJ 3384 Feng Shui Convex Hull Diameter+Half-plane Intersection

Links to the original text: http://www.cnblogs.com/riasky/p/3430851.html G++ has not been replaced by C++ decisively A dropped... It's time to bet RP. Topic: Give a polygon, and then put in two circles, so that the two circles cover th ...

Added by like_duh44 on Mon, 14 Oct 2019 22:30:34 +0300

SICP Exercise Solution Chapter 2

Links to the original text: http://www.cnblogs.com/richard-g/p/3589813.html Construction of Computer Program and Solution of Explanation Exercises Structure and Interpretation os Computer Programs Exercises Answer Chapter 2 Constructing ...

Added by IAK on Sat, 12 Oct 2019 20:35:52 +0300

Java Self-learning - Numbers and Strings MyString Buffer

Develop a Java StringBuffer According to IStringBuffer interface, make a MyStringBuffer by yourself Step 1: IStringBuffer interface package character; public interface IStringBuffer { public void append(String str); //Additional string public void append(char c); //Additional character public void insert(int pos,char b); //Inser ...

Added by cretam on Fri, 11 Oct 2019 09:45:10 +0300

Sort Notes - Merge Sort

First and Ten Major Sorting Algorithms 2. Merging and sorting schematic diagram: 3. Recursive Implementation of Merging and Sorting Codes Figure 1 Points for Attention1. Why do Merge functions pass in these parameters? Think about how to merge two arrays side by side without merging. Know the s ...

Added by Crayon Violent on Thu, 10 Oct 2019 18:11:38 +0300

Tables are manipulated through JavaScript

Use JavaScript to do some operations on forms Target requirement As shown in the figure, new data is added to the form by filling in the form. In addition, the added data can be modified or deleted. Decision Events in Selection Box function selAll() { var checkAll = document.getElementsByName("s ...

Added by scott56hannah on Thu, 10 Oct 2019 06:18:46 +0300

PYTHON Realizes Scheduling (Elimination System)

PYTHON Realizes Scheduling (Elimination System) Source of ideas thinking Used Libraries judge Schedule Demo Result Source of ideas Recently, in the summer's tail, Xiao shin's company wants to build a sports team to compete in badminton, table tennis and other competitions, because the number o ...

Added by J-C on Wed, 09 Oct 2019 02:21:46 +0300

15 Pythonic code examples

Python because of the simplicity of the language, let us write code in the way of human thinking, novices are easier to start, old birds are more reluctant to let go. To write Pythonic (elegant, authentic, neat) code, and to observe the Daniel code more often, Github has a lot of excellent source code worth reading, such as: requests, flask, to ...

Added by mabans on Wed, 02 Oct 2019 14:34:34 +0300

Deep understanding of swapper processes in perf reports

1. Preface 1. When perf monitors the system calls of the process, a large number of swapper processes will appear 2. The official description of the process is that swapper is executed when no other tasks are running on the CPU.In other words, swapper means that the CPU did nothing and ran to rest 3. This article will observe the performance ...

Added by Kold on Sun, 29 Sep 2019 05:41:43 +0300

Gold, Silver and Ten, Leak Detection and Defect Completion: Java Thread Synchronization and Implementation

PrefaceWhy use Java thread synchronization? Java allows multi-thread concurrency control. When multiple threads operate a shared resource variable at the same time, it will result in inaccurate data and conflict with each other. Therefore, synchronization lock is added to avoid being called by other threads before the thread completes its opera ...

Added by gladius on Fri, 27 Sep 2019 17:10:28 +0300