Programming and Variables of Shell Scripts (Plus Practical Projects)

The purpose of this chapter is to learn programming specifications, scripting operations and knowledge of variables. I. Overview of Shell scripts II. The Role of Shell Write the first Shell script 1. Write a script (go to the BOOT directory, view the current location, and display all files starting with VML in a long format friendly) [root@ ...

Posted by mescal on Sun, 22 Sep 2019 10:09:16 +0200

I think Python is too "simple". How many of these questions can you answer correctly?

Preface Think Python is too "simple"? As a Python developer, I have to give you some life experience, otherwise you don't know the heavens and the earth! A 100-point question, this article is to record the pits stepped on in this set of questions. The following code will report errors. Why? ...

Posted by FFFF on Thu, 19 Sep 2019 10:30:55 +0200

Brief Talk about Builder Builder Model

I. Preface Builder builder pattern and template pattern are very similar, but there are differences. In template pattern, the parent class operates on the implementation of the child class and handles one thing in the parent class. But in Builder pattern, the parent class and the child class do not care about how to handle it, but use another ...

Posted by SundayDriver on Wed, 18 Sep 2019 10:59:35 +0200

A Brief Talk on proxy Agent Model <The Most Popular and Easy-to-understand Explanation>

I. Preface A proxy is an intermediary who accepts requests from the requester instead of the server. We've also heard of proxy servers, which help clients to request resources they want. Why do they use proxy? That's because clients can not access servers directly (firewall shielding), while proxy servers can access servers directly. Clients c ...

Posted by salim on Wed, 18 Sep 2019 07:13:04 +0200

kafka installation and start-up

Kafka's background knowledge has been talked about a lot, let's start to practice now, assuming you don't have Kafka and Zoo Keeper environments. Step 1: Download the code Download version 1.1.0 and unzip it. > tar -xzf kafka_2.12-2.3.0.tgz > cd kafka_2.12-2.3.0 Step 2: Start the service Running kafka requir ...

Posted by Osiris Beato on Wed, 18 Sep 2019 05:49:10 +0200

Loading Beans for Spring Ioc Source Analysis: Instantiating Beans

Last article Loading of Beans for Spring Ioc Source Analysis (4): createBean() In this article, we will give a detailed analysis of the createBeanInstance() method for instantiating bean s, and the remaining steps will be described in other articles. Instantiate Bean At doCreateBean() code <2>, there is a line of code instanceWrapper = ...

Posted by grandman on Wed, 18 Sep 2019 02:48:27 +0200

STL template entry to proficiency

I. What is STL STL is the abbreviation of Standard Template Library, the Chinese name standard template library, and the general name of a series of software developed by HP Labs. STL is a collection of containers designed to standardize components ...

Posted by rbarnett on Mon, 16 Sep 2019 13:53:02 +0200

httpclient crawler crawls information such as pinyin of Chinese characters

The following is the practical code of using httpclient crawler to crawl Chinese characters related information of a website. Some character format problems are encountered in the process. Previously, my colleagues have seen using html parsing classes to grab page information, instead of using regular, often try, the effect is not good, after a ...

Posted by convinceme on Mon, 16 Sep 2019 10:32:52 +0200

Homebrew package manager

Homebrew Package manager [toc] I. Introduction Homebrew It is a package manager under Mac OS X, which is equivalent to yum and apt-get under Linux. Homebrew It is easy to download and install applications, and it is no longer necessary to search for various installation packages by hand. Be careful: Homebrew With Mac OS X MacPorts Package Mana ...

Posted by Taro on Sun, 15 Sep 2019 14:49:19 +0200

Talk about Nacos Service Manager's update Instance

order This paper mainly studies the updateInstance of Nacos Service Manager. ServiceManager nacos-1.1.3/naming/src/main/java/com/alibaba/nacos/naming/core/ServiceManager.java @Component @DependsOn("nacosApplicationContext") public class ServiceManager implements RecordListener<Service> { /** * Map<namespace, Map<group::ser ...

Posted by bokehman on Sat, 14 Sep 2019 16:02:57 +0200