October 2022

marathon, lame

Original link: https://onojyun.com/2022/10/05/7402/ Since the marathon does not allow non-local residents to participate due to the epidemic prevention policy, and even requires those who have had three injections to run, why not require the runners to run in protective clothing? Because people want to loose, it is inconvenient to wear! This article is reproduced from:

marathon, lame Read More »

A simple batch backup log script

Original link: https://blog.kelu.org/tech/2022/09/25/backup-logs-with-shell-script.html Continue above. After the password-free login above, this article simply makes a regular log backup and integrates the logs on other machines locally. The logic is relatively simple and can be modified as needed. The final effect is to organize the files of several machines into a compressed package and save it

A simple batch backup log script Read More »

An ssh setup password-free login script

Original link: https://blog.kelu.org/tech/2022/09/24/ssh-login-with-keys-script.html Recently, there has been a lot of work in application operation and maintenance, and two scripts have been written. This article records that multiple machines are set up for password-free login. The main points of knowledge are as follows: ssh-keygen is used to generate rsa public key keys. IFS is the delimiter

An ssh setup password-free login script Read More »

Check port connectivity in batches

Original link: https://blog.kelu.org/tech/2022/09/14/batch-telnet-ports.html The easiest way, of course, is to use ansible. However, some of the customer’s production environments did not use ansible, so they wrote a simple script to test it. focus point: At the beginning, the IP address of the network card eth0 was taken. Save the ip_info file in the same directory

Check port connectivity in batches Read More »

The 2022 Nobel Prize in Physics is announced, and quantum mechanics researchers win the Nobel Prize

Click on the picture to enter the collection of Nobel Prize interpretations over the years The 2022 Nobel Prize in Physics announced for Alain Aspect, John Francis Clauser, Anton Zeilinger The entanglement experiment confirmed that Bell’s inequality does not hold in the quantum world, and created the discipline of quantum information. Nutshell will show you

The 2022 Nobel Prize in Physics is announced, and quantum mechanics researchers win the Nobel Prize Read More »

You are wrong, Mr. Einstein! [Nobel Prize in Physics Prediction – Bell’s Inequality]

In a few hours, the Nobel Prize in Physics will be announced. Here I will make a small prophecy. I think this year’s Nobel Prize goes to Aspect, Clauser and Zeikinger for their contribution to Bell Inequality verification – their work is really important. Their work declared to Einstein – sorry Mr Einstein, you are

You are wrong, Mr. Einstein! [Nobel Prize in Physics Prediction – Bell’s Inequality] Read More »

The moat of Tencent games – the embodiment of the two killers of QQ/WeChat in the game

I’ve always wondered about the addictive nature of games – why are people so addicted to games, and some people just can’t stop? So, I checked the mechanism of action of some addictive substances, such as drugs, alcohol, etc., and finally found that the main reason for addiction is that after these substances enter the

The moat of Tencent games – the embodiment of the two killers of QQ/WeChat in the game Read More »

It is more important to follow the discipline than to improve the circle of competence

#market-to-earnings# In order to learn from Buffett, the author imitated PEG and invented a valuation parameter called “price-earnings ratio”. The formula is: price-earnings ratio = price-earnings ratio/return on equity (PR=PE/ROE). When the price-earnings ratio is equal to 1PR, it is a reasonable valuation, and if it is greater than 1PR and less than 1PR, it

It is more important to follow the discipline than to improve the circle of competence Read More »