上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页
摘要: pip -V pip 21.2.3 from /Library/Python/3.8/site-packages/pip (python 3.8) pip3 -V pip 21.2.3 from /Library/Python/3.8/site-packages/pip (python 3.8) p 阅读全文
posted @ 2021-08-13 14:05 略略略—— 阅读(16870) 评论(1) 推荐(3) 编辑
摘要: 首先用vim 打开文件 vim a.py 选择整个文件内容 按esc进入normal模式 按gg将光标移动到文件开头 按 v 进入visual 模式 按 G选择所有 选择并复制整个文件 不要进入insert模式, :%y+ (冒号,百分号,字母y,加号) 回车。 参考: https://stacko 阅读全文
posted @ 2021-08-09 15:38 略略略—— 阅读(3904) 评论(0) 推荐(0) 编辑
摘要: 1.download and save to 'resnet18.pth' file: import torch from torch import nn from torch.nn import functional as F import torchvision def main(): prin 阅读全文
posted @ 2021-07-30 10:36 略略略—— 阅读(2485) 评论(0) 推荐(0) 编辑
摘要: Unresolved function or method then() Unresolved variable Promise 解决方法: File | Settings | Languages & Frameworks | JavaScript | Libraries 点击 Manage Sco 阅读全文
posted @ 2021-07-12 13:48 略略略—— 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 如图: cannot resolve ..... ref: https://stackoverflow.com/questions/15727356/intellij-idea-cannot-resolve-anything-in-maven 解决方法: mvn -U idea:idea 阅读全文
posted @ 2021-07-10 19:39 略略略—— 阅读(1336) 评论(0) 推荐(0) 编辑
摘要: 先给出结论:不同实体间,数据库字段格式与类属性字段格式要保持一致。 在获取 user.avatarURL时,为了使其不为空(null),进行了如下设置: mybatis.configuration.map-underscore-to-camel-case=true 然后在获取 question.cr 阅读全文
posted @ 2021-07-05 15:59 略略略—— 阅读(550) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get update sudo apt-get upgrade 打开 https://code.visualstudio.com/#alt-downloads 下载 .deb arm64 版本 打开下载好的deb文件,安装vscode ref: https://pulsebit.w 阅读全文
posted @ 2021-07-02 10:04 略略略—— 阅读(1336) 评论(0) 推荐(0) 编辑
摘要: before commit, do: git rm --cached <filename> ATTENTION: do not use 'git rm <filename>', this will delete the file from disk if commited, first use: " 阅读全文
posted @ 2021-07-01 11:22 略略略—— 阅读(436) 评论(0) 推荐(0) 编辑
摘要: git update-ref -d HEAD https://stackoverflow.com/questions/6632191/how-to-revert-initial-git-commit 阅读全文
posted @ 2021-07-01 11:20 略略略—— 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 当前状态: 我们有一个远程仓库和一个本地项目仓库,本地仓库没有配置 git。 现在想将本地仓库中的部分文件作为一个新的分支推送到远端仓库。 Procedures: Set up ".gitignore" file. "git init" in local repo. git checkout -b 阅读全文
posted @ 2021-06-30 17:15 略略略—— 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页