关于镜像的命令 从远端仓库拉取镜像 docker pull [仓库的URL]/[名称空间]/[仓库的名称]:[版本号]eg: docker pull redis 默认:docker pull docker.io/library/redis:latest完整命令:docker pull registr ...
分类:
其他好文 时间:
2020-12-14 12:50:00
阅读次数:
3
问题背景:windows 命令窗输入 adb devices -l 或者 adb devices 报error:protocol fault或error:device not found手机驱动有问题 解决方案一: windows:任务管理器, 看到adb的进程, 关闭掉, 然后重新启动 adb s ...
分类:
移动开发 时间:
2020-12-11 11:59:50
阅读次数:
6
一:导入如百度地图等的外部类。 步骤:1.首先 将androidstudio项目显示切换到 project 状态显示项目 2.然后添加.jar文件,将所有的.jar文件放入libs文件夹内(libs文件夹就在项目文件夹下),然后在引入的.jar文件上右键然后点击 Add As Library... ...
分类:
移动开发 时间:
2020-12-10 10:41:40
阅读次数:
8
官方说法export setting里选keymap,再import那个导出的zip文件,跨IDE我试了不适用, 至少到目前为止,说不定以后这个就改进成可以了。 目前的解决办法是直接改配置文件。以macOS上的intellij idea为例,keymap的位置在:~/Library/Applicat ...
分类:
其他好文 时间:
2020-12-08 12:58:04
阅读次数:
12
一日一技:在Python中像字典一样持久化数据摄影:产品经理买单:kingname我们知道,如果我们在Python中想把一段数据持久化到硬盘上,最简单的办法就是写文件:withopen(‘data.txt‘,‘w‘,encoding=‘utf-8‘)asf:f.write(‘username:1234567\n‘)f.write(‘password:9876543\n‘)但这样做有一个弊端,就是在
分类:
编程语言 时间:
2020-12-08 12:00:14
阅读次数:
6
为了练习如何登录tomcat去查看运行日志,因此需要练习一下如何部署tomcat 步骤如下: 1.浏览器中搜索tomcat,从官网下载tomcat 2.下载完成后,双击文件夹解压。 3.将解压后的文件复制到Library文件夹下 mac终端中进入tomcat下载文件所在路径,并输入命令: cp -r ...
分类:
系统相关 时间:
2020-11-30 15:31:48
阅读次数:
11
出现的错误为: Multiple annotations found at this line:- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plu ...
分类:
其他好文 时间:
2020-11-30 15:21:50
阅读次数:
4
编辑用户级配置文件 vim ~/.bashrc 添加配置信息: export PATH=/usr/local/mongodb/mongodb-3.6.5/bin:$PATH (中间那部分就是你的安装目录下的bin) 保存退出,刷新:source ~/.bashrc 我们输入mongo,显示版本信息, ...
分类:
其他好文 时间:
2020-11-27 11:48:48
阅读次数:
36
TensorFlow 每次运行的时候都会弹出类似下面的调度信息 I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally I tensorflow/str ...
分类:
其他好文 时间:
2020-11-26 14:32:40
阅读次数:
6
编写单元测试,运行时报下面的错误 haima@haima-PC:/media/haima/34E401CC64DD0E28/site/go/src/haimait/learn/base/cheshi01$ go test go: cannot find main module, but found ...
分类:
其他好文 时间:
2020-11-26 14:24:36
阅读次数:
5