08 2020 档案
摘要:清除Git提交历史 # 放弃本地修改 # 1 git reset --hard origin/master # 放弃所有修改 # 2 git restore <file>..." to discard chang # 3 git checkout -- README.MD # git checkou
阅读全文
摘要:快速常用 1、以“河南”开头 /^河南.*/ 2、以“(河南)”开头 /^[\(\(]河南[\)\)].*/ 3、不以“河南”开头 /^(?!河南).*/ 删除不是Bearer开头的行: ^(?!Bearer).*\n 替换成 空 4、不以“(河南)”开头 /^(?![\(\(]河南[\)\)]).
阅读全文
摘要:pycharm 添加时间: Live Template 添加一个 Template Group 命名为 Common 添加一个 Live Template 设置如下 Abbreviation: time Description : current time Template Text: \(time
阅读全文
摘要:参考: https://github.com/shiyunbo/django-file-upload-download
阅读全文
浙公网安备 33010602011771号