摘要: class A: _variable_one_class = '_variable_one_class' __variable_two_class = '__variable_two_class' def __init__(self): self._variable_one = '_variable 阅读全文
posted @ 2023-10-03 00:56 Orientation 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 在配置文件中加入 xmlrpc = True ; 指定使用XML-RPC协议的IP地址,为空时表示绑定到现有IP xmlrpc_interface = ; XML-RPC协议使用的TCP端口 xmlrpc_port = 8069 可以修改ip以及端口addons_path=D:\odoo\odoo1 阅读全文
posted @ 2023-09-25 14:42 Orientation 阅读(21) 评论(0) 推荐(0) 编辑
摘要: initdb --locale=C -E UTF-8 /usr/local/var/postgres initdb: warning: enabling "trust" authentication for local connections You can change this by editi 阅读全文
posted @ 2023-09-13 00:32 Orientation 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 出现这个原因是因为Let’s Encrypt 证书停止了HTTP API的请求支持,导致我们使用Let’s Encrypt 证书的网站没办法更新证书,就出现了证书过期的提醒,所以我们只需要手动更新下证书就行了。 1、下载https://curl.se/ca/cacert.pem 这个文件; 2、将c 阅读全文
posted @ 2023-09-01 19:44 Orientation 阅读(830) 评论(0) 推荐(0) 编辑
摘要: /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 阅读全文
posted @ 2023-09-01 16:25 Orientation 阅读(7) 评论(0) 推荐(0) 编辑
摘要: def initial_log(self, fileName, logName, level=logging.INFO, fileSize=1024): handler = RotatingFileHandler(fileName + '.log', maxBytes=1 * fileSize * 阅读全文
posted @ 2023-08-30 21:24 Orientation 阅读(7) 评论(0) 推荐(0) 编辑
摘要: <!-- 新 Bootstrap 核心 CSS 文件 --> <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> <!-- jQuery文件。务 阅读全文
posted @ 2023-08-07 17:51 Orientation 阅读(77) 评论(0) 推荐(0) 编辑
摘要: windows : 系统版本:windows 10 Windows+r or Windows + s 搜索 regedit 打开注册表编辑器 1、在注册表中 找到 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config 阅读全文
posted @ 2022-10-20 16:18 Orientation 阅读(263) 评论(0) 推荐(0) 编辑
摘要: mysql -uroot -pyourpassword --database="JYDustProDB" -e 'call p_Bulu ("2022-09-27 12:54","2022-09-27 13:29")' mysql -uroot -pyourpassword --database=" 阅读全文
posted @ 2022-10-10 13:45 Orientation 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 1、 Windows 搜索 启用或关闭程序功能,然后 开启 FTP服务器,和Web管理工具 2、在右击计算机点击管理,找到 服务和应用程序,点击 Internet information services(IIS)(也可以直接在Windows中搜索 IIS) 右击网站,点击添加FTP站点,输入站点名 阅读全文
posted @ 2022-08-26 09:56 Orientation 阅读(201) 评论(0) 推荐(0) 编辑