One Linux command a day (35): ps command

This article is an original article of Joshua 317. Please note: reprinted from Joshua 317 blog One Linux command a day (35): ps command - Joshua 317 blog 1, Introduction The ps command in Linux system is used to display the process status of the current system and list the currently running processes in the system. ps command is the most bas ...

Posted by yonta on Thu, 04 Nov 2021 13:58:47 -0700

Basic reptile weather forecast

Search "xxx weather" in any browser, such as Chongqing weather, We select the first website to crawl, and the url is' ' weathernew.pae.baidu.com/weathernew/pc?query = Chongqing Weather & srcid = 4982 & City_ Name = Chongqing & Province_ Name = Chongqing'                     ​​​​​     Next, crawl the web page i ...

Posted by faifas on Thu, 04 Nov 2021 13:58:01 -0700

All!! Summary of Manhattan pattern styles and methods (Python+R)~

Recently, Xiaobian saw some friends leave messages on the background to inquire about the drawing method of Manhattan plot. Xiaobian didn't understand it at the beginning. However, I'm a Xiaobian who dotes on readers. This summarizes the drawing methods of Manhattan plot R and Python and makes progress with you. The main contents are as follows ...

Posted by rash on Thu, 04 Nov 2021 13:55:13 -0700

Bus of spring cloud 2020.0.4 series

1. General As the old saying goes: people who can rest can work better. Body is the capital of revolution. If their body breaks down, they can no longer work.   To get back to business, we talked about the distributed configuration center config of SpringCloud before. In this article, we talked about the dynamic refresh of config configuration, ...

Posted by mbdonner on Thu, 04 Nov 2021 13:54:57 -0700

Experiment 8: data plane programming practice - P4

1, Experimental purpose Master P4 under V1Model framework_ 16 program structure and basic syntax Be able to use P4 for simple data plane programming 2, Experimental environment Download the virtual machine software Oracle VisualBox or VMware; Install Ubuntu 16.04 Desktop amd64 in the virtual machine, and install the complete Mininet and P4 deve ...

Posted by DimeDropper on Thu, 04 Nov 2021 13:51:16 -0700

Vue3 script setup syntax sugar, super cool experience

cataloguebrief introduction1. Properties and methods need not be returned and can be used directly2. Automatic component registration3. Component data transfer (props and emits)4. Get slots and attrs5. Define exposure attribute brief introduction The < script setup > syntax sugar is not a new function module. It only simplifies the writi ...

Posted by StewardManscat on Thu, 04 Nov 2021 13:39:05 -0700

OpenFeign full explanation

2. What is Feign? Feign is also a hard role, and it is designed to make Java Http clients easier. Feign integrates Ribbon and RestTemplate to make load balancing Http calls, but encapsulates the original way (Ribbon+RestTemplate). Instead of manually using RestTemplate to invoke services, developers define an interface in which service call ...

Posted by DGaleDavid on Thu, 04 Nov 2021 13:35:43 -0700

Basic algorithm -- binary search and binary answer analysis

0x04 two points There are two dichotomous ways: int l = 0, r = n + 1; while(l < r) { mid = l + (r - l) / 2; if(a[mid] >= x) r = mid; else l = mid + 1; } while(l < r) { mid = (l + r + 1) << 1; if(a[mid] <= x) l = mid; else r = mid - 1; } 1. Cyclic condition l < R It can be guaranteed that the final l ...

Posted by milesap on Thu, 04 Nov 2021 13:20:24 -0700

Basic usage of day3 selenium

selenium basic usage Running environment: from selenium.webdriver import Chrome 1. Create browser object b = Chrome('files/chromedriver') 2. Open the page b.get('https://www.qidian.com/rank/yuepiao/month10/') 3. Get web data print(b.page_source) 4. Close the web page b.close() selenium common configurations Running environment: f ...

Posted by tbaink2000 on Thu, 04 Nov 2021 13:02:49 -0700

2021-11-04 ③ Redis service, data persistence and the most detailed explanation of the whole network

Data persistence That is, save the data to a permanent storage device (such as disk). 1. redis persistence – two methods I redis Two persistence methods are provided: RDB(Redis DataBase)and AOF(Append Only File). RDB (Redis DataBase): generate snapshots of redis stored data at different time points and store them on disks and oth ...

Posted by dptr1988 on Thu, 04 Nov 2021 12:52:34 -0700