修改odoo12代码,允许跨域访问。进入odoo12容器,如下3个目录修改:/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py 搜索: response.headers['X-Frame-Options'] = ‘DE ...
分类:
其他好文 时间:
2020-07-29 14:44:10
阅读次数:
78
CSS引入方式-行内式 通过 style这个标签属性,将css键值对直接写入标签内 1 <p style="width: 100px;height: 100px;background: red;"></p> 2 <!--注释:这段代码描述的是一个宽高为100px,背景为红色的容器--> css引入方 ...
分类:
Web程序 时间:
2020-07-29 12:39:02
阅读次数:
103
FOFA语法 语法1: ip="1.1.1.1”#从ip中搜索包含1.1.1.1的网站,注意搜索要用ip作为名称。 语法2: port-*"8009”#查找对应8009端的资产 语法3: domain="qq.com”#搜索根域名带有qq.com的网站 语法4: city="Hangzhou" #搜 ...
<dependency> <groupId>com.vdurmont</groupId> <artifactId>emoji-java</artifactId> <version>5.1.1</version> </dependency> package com.jeeplus.modules.ff ...
分类:
编程语言 时间:
2020-07-29 10:24:54
阅读次数:
61
一、查看默认端口号 1、登录mysql [root@localhost ~]# mysql -uroot -pEnter password: 输入数据库密码; 2、使用show global variables like 'port'; 命令查看端口号, mysql> show global var ...
分类:
数据库 时间:
2020-07-28 22:52:56
阅读次数:
110
import random def raise_valueError(fw): print(fw) raise_e = random.choice((True, False)) if raise_e: # 假设这个异常不一定触发 raise ValueError def try_finally(): ...
分类:
编程语言 时间:
2020-07-28 22:27:28
阅读次数:
90
一段很有趣的代码如下: HttpUrl url = new HttpUrl.Builder() .scheme("http") .host(host) .port(port) .encodedPath(uri) .build(); 这种链式调用,可以使我们的代码看起来更加简洁易懂,这段代码最终是通过 ...
分类:
其他好文 时间:
2020-07-28 22:27:10
阅读次数:
69
Princess CJB has lived almost her entire life in the isolated town of Ertona, where CJB uses her unique ability to recognize where crystals of materia ...
分类:
其他好文 时间:
2020-07-28 22:14:42
阅读次数:
73
Echarts 数据可视化 可以玩一玩 实用! Echarts主要的内容在于配置option.官网链接:http://echarts.baidu.com/index.htmlgithub:https://github.com/ecomfe/echarts文档页:http://echarts.baid ...
分类:
其他好文 时间:
2020-07-28 16:51:22
阅读次数:
69
Usage: ./clusterd.py [options] 可选参数: -h, --help 显示此帮助消息并退出 连接: -i [ip address] 服务器地址 -iL [file] 服务器列表 -p [port] 服务器端口 --proxy [proxy://server:port] 通过 ...
分类:
其他好文 时间:
2020-07-28 16:50:20
阅读次数:
67