1 | select version(); |
python snippet
Q: flip coin by Python
1 | python3 -c "import random;print('heads' if random.randint(0,1) == 0 else 'tails')" |
Kubernetes pitfalls
Q: 从kuboard中移除集群,会造成kuboard这个ns资源一直处于Terminating状态
1 | 1) kubectl get namespace kuboard -o json > kuboard.json |
resize ubuntu logic volume
1 | $sudo lvdisplay |
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment