import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.os.Build; import android.ut ...
分类:
移动开发 时间:
2021-06-22 17:57:53
阅读次数:
0
根据正点原子的移植教程移植完成并成功运行,这是前提。 但是自己用buildroot做的rootfs,把qt的库放到里边,运行测试程序缺报错 ` qt.qpa.plugin: Could not load the Qt platform plugin "linuxfb" in "/usr/lib/ar ...
分类:
系统相关 时间:
2021-06-21 21:06:47
阅读次数:
0
1.正常序列化 new Gson().toJson(obj) 2.序列化null Gson gson = new GsonBuilder().serializeNulls().create(); gson.toJson(obj) 3.忽略序列化某字段 排除transient字段 字段加上transi ...
分类:
其他好文 时间:
2021-06-21 20:59:25
阅读次数:
0
1.webpack.config.js中导入 const HtmlWebpackPlugin = require('html-webpack-plugin') 2.pulgin中新增 new HtmlWebpackPlugin({ template:'index.html' }) 3.需要删除out ...
分类:
Web程序 时间:
2021-06-21 20:44:37
阅读次数:
0
dockerfile就是用来构建docker镜像的构建文件 写入命令脚本 通过这个脚本可以生成镜像,镜像是一层一层的,脚本一个个的命令,每个命令都是一层 [root@iZmu0fa4hv0jwzZ home]# mkdir docker-test-volume [root@iZmu0fa4hv0jw ...
分类:
其他好文 时间:
2021-06-21 20:36:25
阅读次数:
0
安装docker的准备工作 参考文档>>>https://yeasy.gitbook.io/docker_practice/ DockerHub官网>>>https://hub.docker.com/ 升级centos的yum源 sudo yum update 设置yum源 官方源>sudo yum ...
分类:
其他好文 时间:
2021-06-21 20:16:40
阅读次数:
0
1、122 公钥 加入120 121 的 authorized_keys2、搭私服3、主机安装jenkins4、jenkins命令行 build tag push ssh 远程服务器 ' pull' ssh 远程服务器 ' run' ...
分类:
其他好文 时间:
2021-06-21 19:56:06
阅读次数:
0
#!/bin/bash rm -rf /var/lib/docker yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate ...
分类:
其他好文 时间:
2021-06-21 19:53:25
阅读次数:
0
创建 Nginx 容器 docker run --name nginx-demo -p 8080:80 -d nginx 参数说明: --name nginx-demo:容器名称 -p 8080:80: 端口进行映射,将本地 8080 端口映射到容器内部的 80 端口 -d nginx: 设置容器在 ...
分类:
其他好文 时间:
2021-06-20 17:51:22
阅读次数:
0
启动 docker 服务 systemctl start docker 查看docker服务状态 systemctl status docker 列出当前所有正在运行的容器 docker ps -a CONTAINER ID 7bb8b4a58c79 为 ID号 启动容器,命令:docker sta ...
分类:
系统相关 时间:
2021-06-20 17:44:18
阅读次数:
0