门窗调整密封
最近天气越来越冷,在北方南北通透的户型经常面临一个问题就是北面的门窗关不严,呼啸的北风那叫一个凉爽。
原以为是年久失修,门窗里的密封条失去弹性导致密封性能下降。实际上在更换密封条之前还有一个小方法可以试一试。
最近天气越来越冷,在北方南北通透的户型经常面临一个问题就是北面的门窗关不严,呼啸的北风那叫一个凉爽。
原以为是年久失修,门窗里的密封条失去弹性导致密封性能下降。实际上在更换密封条之前还有一个小方法可以试一试。
Typer, build great CLIs. Easy to code. Based on Python type hints.
今天偶然看到GitHub上一个python开源项目——Typer,可以帮助简单快速地构建命令行应用。正如介绍所说,“users will love using and developers will love creating”。
The key features are:
Intuitive to write: Great editor support. Completion everywhere. Less time debugging. Designed to be easy to use and learn. Less time reading docs.
Easy to use: It’s easy to use for the final users. Automatic help, and automatic completion for all shells.
Short: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
Start simple: The simplest example adds only 2 lines of code to your app: 1 import, 1 function call.
Grow large: Grow in complexity as much as you want, create arbitrarily complex trees of commands and groups of subcommands, with options and arguments.
前两天写完一篇文章,但是还没有发布,因为一直在调试hexo和next-theme的配置。然后就发生了一件很悲催的事情,执行了git add .,正准备git commit时,发现有很多文件不想加到git仓库,也就是在工作区执行了add,但是还没有commit,此时脑袋一热,执行了git reset --hard HEAD,然后就悲剧了,工作区的修改全没了。
脑袋嗡的一下,敲完回车的那一刹那我就感觉哪里不对了,但为时已晚。
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.