会员
周边
捐助
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ZhangZhihui's Blog
公告
日历
导航
博客园
首页
新随笔
新文章
联系
管理
05 2023 档案
Python - f-string
摘要:>>> round(2.5) 2 >>> round(2.500001) 3 >>> round(3.5) 4
阅读全文
posted @
2023-05-29 14:23
ZhangZhihuiAAA
阅读(4)
评论(0)
推荐(0)
编辑
Shell - ##, %%
摘要:$>var=abcabc123 $>echo ${var#*b} cabc123 $>echo ${var##*b} c123 $>echo ${var%b} abcabc123 $>echo ${var%b*} abca $>echo ${var%%b*} a
阅读全文
posted @
2023-05-19 14:10
ZhangZhihuiAAA
阅读(184)
评论(0)
推荐(0)
编辑
Git - commit a single file
摘要:Use 'git commit -m <commit_message> -- <path_to_file>' to commit a single file.
阅读全文
posted @
2023-05-02 15:43
ZhangZhihuiAAA
阅读(8)
评论(0)
推荐(0)
编辑
Git - revert a single file to a specific commit
摘要:1. Use 'git log' to view the history of commits and get the commit ID of the commit you want to revert the file to. 2. Use 'git checkout <the commit I
阅读全文
posted @
2023-05-02 14:58
ZhangZhihuiAAA
阅读(10)
评论(0)
推荐(0)
编辑
Copyright © 2024 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes