Part I – Basic Find Commands for Finding Files with Names
Find Files Using Name in Current Directory
Find all the files whose name is tecmint.txt in a current working directory.
find . -name tecmint.txt
./tecmint.txt继续阅读 »
Python Stackoverflow 经典问题
What does the “yield” keyword do?
What is a metaclass in Python?
How do I check whether a file exists using Python?
Does Python have a ternary conditional operator?
Calling an external command in Python
What does if __name__ == “__main__”: do?
How to make a chain of function decorators in继续阅读 »
Creat second disk for k8s
In Vagrantfile, add the following customized command to create disk for k8s source code.
The vagrant/virtual box will create a disk with only 10Gi by default, which is not enough for k8s's build & test.继续阅读 »