Dynamically update Linux system password and send SMS to remind

Dynamically update Linux system password and send SMS to remind Sometimes we may need higher security. As the mainstream operating system of the server, Linux needs to change the root password of the system account frequently to ensure the security of the whole system. The importance of the password i ...

Posted by DJ Zen Masta K on Thu, 12 Mar 2020 05:05:50 -0700

NO.89 - Applying Xgboost to Predict Insurance Compensation

Article Directory 1 Data analysis 1.1 First look at what the data looks like 1.2 Continuous and categorical variables 1.3 Number of attributes in categorical variables 1.4 Compensation value 1.5 Continuous Variable Characteristics 1.6 Correlation between features 2 Xgboost 2.1 Data Preprocessing 2.2 ...

Posted by rimelta on Wed, 11 Mar 2020 21:00:47 -0700

[python] context manager

What is context manager In short, the purpose of the context manager is to specify the scope of use of the object. If it is out of the scope, take the corresponding "processing"; for example: f = open('filename.txt') data = f.read() f.close() Open a file, read the contents of the file, a ...

Posted by quimkaos on Wed, 11 Mar 2020 00:16:17 -0700

Practice of station number and station name of java Metro Line 2

1. The corresponding relationship between station number and station name of Guangzhou Metro Line 2 is as follows: 1 = Guangzhou south railway station, 2 = Shibi, 3 = Huijiang, 4 = Nanpu, 5 = Luoxi, 6 = Nanzhou, 7 = dongxiaonan, 8 = Jiangtai Road, 9 = Changgang, 10 = Jiangnanxi, 11 = Shiergong, 12 = Hai ...

Posted by wannalearnit on Tue, 10 Mar 2020 20:32:42 -0700

Vue's Axios Cross-domain Problem Solutions

// GET requests in axios axios.get('/user', { params: { ID: '001' } }) .then(function (response) { console.log(response); }) .catch(function (error) { console.log(error); }); // POST requests in axios axios.post('/user', { firstName: '1', lastName: '2' }) .then(function (response) { console.log( ...

Posted by elle_girl on Tue, 10 Mar 2020 16:14:44 -0700

Java multithreading: understand thread pool thoroughly

Advantages of thread pool In general, thread pool has the following advantages: (1) Reduce resource consumption. Reduce the cost of thread creation and destruction by reusing the created threads. (2) Improve response speed. When a task arrives, it can be executed without waiting for the thread to be c ...

Posted by blackandwhite on Tue, 10 Mar 2020 04:08:25 -0700

Home Credit Default Risk default risk forecast, kaggle competition, beginner, LB 0.749

Home Credit Default Risk conclusion background knowledge data set Data analysis Balance degree Missing data data type Outliers Fill in missing values modeling Logistic Regression LightGBM Feature importance Appendix: meaning of each field conclusion The data is provided by Home Credit (Chine ...

Posted by rehfeld on Mon, 09 Mar 2020 22:23:40 -0700

Combination and sorting depth first traversal DFS parsing

Article directory 1. combination 2. complete sorting 3. Summary I want to deepen my learning and understanding of DFS through the analysis of two DFS examples. If there are any mistakes, I will not hesitate to give advice. 1. combination The code of DFS combination comes from: https://blog.csdn ...

Posted by slurpee on Mon, 09 Mar 2020 20:21:02 -0700

Cryptography summary

1, Digital signature 1.1 relationship between digital signature and asymmetric encryption In fact, there is a very close relationship between digital signature and asymmetric encryption. In short, digital signature is realized by using asymmetric encryption in reverse. Let's summarize the usage of t ...

Posted by thomas777neo on Mon, 09 Mar 2020 03:43:26 -0700

Talk about collection.Queue

As mentioned before, the main function of collections in Java is to hold other data and implement common data structures. So when we want to use common data structures such as "stack", "Queue", "linked list" and "array", we should think that we can directly use the Collection framework provided by JDK. Fo ...

Posted by lth2h on Mon, 09 Mar 2020 03:32:56 -0700