Odoo 12开发之记录集 – 使用模型数据 一·启动服务链接数据库 # 1.启动服务,链接数据库 ./odoo-bin shell -c debian/odoo.conf -d library_db # 2. self 当前操作的对象 res.users(1,) # 3. self._name # ...
分类:
其他好文 时间:
2020-05-27 11:54:35
阅读次数:
53
push镜像:docker ==> harbor 首先,在harbor上必须要有自己的项目 1)从docker hub上拉取一个项目 docker pull nginx 2)修改该项目tag docker tag nginx:latest harbor.cn/library/nginx:latest ...
分类:
其他好文 时间:
2020-05-26 22:16:21
阅读次数:
119
1.常用命令和操作 (1)参考:https://shimo.im/docs/FnT8B0CdmlkiD1mO/read (2)补充 进入容器是exec,退出容器用exit 2.镜像下载慢,加速 (1)docker pull daocloud.io/library/mysql 参考:https://b ...
分类:
其他好文 时间:
2020-05-24 09:40:39
阅读次数:
88
[TOC]## 1. list> * [官网](https://docs.python.org/3/library/stdtypes.html#lists)> * [菜鸟教程](http://www.runoob.com/python3/python3-list.html)```pyappend()... ...
分类:
编程语言 时间:
2020-05-24 00:43:29
阅读次数:
72
[TOC]## 1. list> * [官网](https://docs.python.org/3/library/stdtypes.html#lists)> * [菜鸟教程](http://www.runoob.com/python3/python3-list.html)```pyappend()... ...
分类:
编程语言 时间:
2020-05-23 20:15:12
阅读次数:
49
博客转自:http://www.lighthouse3d.com/tutorials/glut-tutorial/rendering-to-multiple-subwindows/ Before we start lets recall our callback definitions, as de ...
分类:
其他好文 时间:
2020-05-23 18:12:39
阅读次数:
38
PIL(Python Imaging Library)是Python常用的图像处理库,而Pillow是PIL的一个友好Fork,提供了了广泛的文件格式支持,强大的图像处理能力,主要包括图像储存、图像显示、格式转换以及基本的图像处理操作等。 Pillow的文档:http://pillow.readth ...
分类:
其他好文 时间:
2020-05-23 00:31:16
阅读次数:
90
图像读取 1、Pillow(python图像处理库(Python Imaging Library),简称:PIL): "参考" 用途 图像档案 python图像库是图像存档和批处理应用程序的理想选择。可以使用该库 创建缩略图、在文件格式之间转换、打印图像等 图像显示 当前版本(7.0.0)包括tk ...
分类:
其他好文 时间:
2020-05-23 00:23:38
阅读次数:
61
尝试在pg库中创建订阅的时候,遇到了一下错误: ERROR: could not load library "/usr/pgsql-11/lib/libpqwalreceiver.so": /usr/pgsql-11/lib/libpq.so.5: symbol X509_get_signature ...
分类:
其他好文 时间:
2020-05-20 18:49:04
阅读次数:
121
1、将文件复制到项目中,导入文件的目录为app->libs。 2、右键点击jar文件,并点击“Add As Library”,将jar文件作为类库添加到项目中,最后选择指定的类库。 3、so文件:打开app目录下的build.gradle文件,在Android{}中加入如下代码: packaging ...
分类:
移动开发 时间:
2020-05-20 12:12:17
阅读次数:
91