关于镜像的命令 从远端仓库拉取镜像 docker pull [仓库的URL]/[名称空间]/[仓库的名称]:[版本号]eg: docker pull redis 默认:docker pull docker.io/library/redis:latest完整命令:docker pull registr ...
分类:
其他好文 时间:
2020-12-14 12:50:00
阅读次数:
3
场景 Android Studio中在新建项目时勾选了 Use legacy android.support licrary 然后在运行项目时提示: This project uses AndroidX dependencies, but the ‘android.useAndroidX‘ prop ...
分类:
移动开发 时间:
2020-12-11 12:11:50
阅读次数:
9
详细 the current operating system does not support this product click ok and then install the product on a computer running windows xp professional or w ...
分类:
其他好文 时间:
2020-12-11 12:10:02
阅读次数:
3
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 8.0 ...
分类:
移动开发 时间:
2020-12-10 11:10:22
阅读次数:
9
一:导入如百度地图等的外部类。 步骤: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
1、检查系统是否安装过mysql //检查系统中有无安装过mysql rpm -qa|grep mysql //查询所有mysql 对应的文件夹 whereis mysql find / -name mysql 2、卸载CentOS7系统自带mariadb # 查看系统自带的Mariadb [roo ...
分类:
数据库 时间:
2020-12-07 12:25:31
阅读次数:
9
说明:类型为trait,引入后可以在不修改类代码的情况下,为类植入新的方法(类的方法或静态方法均可)。使用__call实现 引入: <?php require 'vendor/autoload.php'; use Illuminate\Support\Traits\Macroable; //$app ...
分类:
系统相关 时间:
2020-12-07 12:06:18
阅读次数:
9
下面为一种方法查找memory leak,但在实际使用过程中由于打印太多会导致效率很低,不是很实用,而且有些地方报错 如 *(malloc+191) 原文地址https://www.ibm.com/support/pages/linux-gdb-identify-memory-leaks Abstr ...
分类:
数据库 时间:
2020-12-04 11:46:37
阅读次数:
17