近几天又折腾起 docker来了 我发现自己在拉镜像的时候,总是超时 然后百度了一下 说要换源 90sec的一个水友 推荐了我 阿里云的加速源 我看了还是免费就想试一下 讲一下过程吧 首先把docker打开 然后在windows命令行下执行 docker-machine ssh 进入VM bash ...
分类:
其他好文 时间:
2019-12-08 12:55:06
阅读次数:
93
pip install django_miniprogram_api 1 报错 'gbk' codec can't decode byte xxxxx in position xxxx: illegal multibyte sequence 解决:删除readme.md 或者 在setup.py o ...
1、环境问题: https://github.com/matterport/Mask_RCNN 现在issue 里面找解决方案 明明装了对应的环境,但还是出现不该有的错误,考虑是不是使用了默认环境,需要先删除默认环境; /mnt/xxxxx/.pylib/3 目录下删除默认环境 2、看具体报错,总结 ...
分类:
其他好文 时间:
2019-12-06 19:56:10
阅读次数:
113
xxxxx xxxxx xxxxx xxxxx public static void main() { System.out.println("Hello World"); } ...
分类:
其他好文 时间:
2019-12-05 23:57:21
阅读次数:
164
一、加载静态文件 静态文件:css 文件、js文件、图片文件 加载静态文件使用的是“url_for”函数 语法:{{ url_for( "static", filename="xxxxx" ) }} 路径查找,要以当前项目的static目录作为根目录。 二、实例: ...
分类:
其他好文 时间:
2019-12-05 10:27:12
阅读次数:
346
```yml# 初始化git init ---------------------------------------------------# 项目级别/仓库级别(仅在当前本地库范围内有效)git config user.name xxxgit config user.email xxxxx# 系... ...
分类:
其他好文 时间:
2019-12-03 14:14:32
阅读次数:
71
昨天因为用虚拟机调试程序,然后下班时不正常关机,今天突然打开linux系统使用时,无论输入任何命令都显示bash: xxxx: command not found...,比如cd 显示bash: cd : command not found... 比如ls,显示bash: ls: command n ...
分类:
系统相关 时间:
2019-12-02 19:21:02
阅读次数:
146
相信大家在 码云生成/添加SSH公钥的过程中遇到一个比较常见的问题, 在cmd,命令行输入 ssh-keygen -t rsa -C "xxxxx@xxxxx.com" 是指自己的邮箱 会异常抛出一个错误如下 'ssh-keygen' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 在这里分 ...
分类:
其他好文 时间:
2019-12-02 11:44:02
阅读次数:
2188
public class StringsTest { public static void main(String args[]){ //1、补右全(Strings.padEnd方法) String a="12345"; String b=Strings.padEnd(a, 10, 'x'); Sy ...
分类:
其他好文 时间:
2019-12-01 18:49:55
阅读次数:
92
问题的详细描述: Attaching an entity of type 'xxxxx' failed because another entity of the same type already has the same primary key value. This can happen wh ...
分类:
其他好文 时间:
2019-11-29 12:34:21
阅读次数:
94