在 node 环境中,有两个内置的全局变量无需引入即可直接使用,并且无处不见,它们构成了 nodejs 的模块体系: module 与 require。以下是一个简单的示例 const fs = require('fs') const add = (x, y) => x + y module.exp ...
分类:
其他好文 时间:
2020-07-22 11:13:31
阅读次数:
101
Traceback (most recent call last): File "manage.py", line 22, in <module> execute_from_command_line(sys.argv) File "D:\python_learn\meiduo_project\env ...
分类:
数据库 时间:
2020-07-22 11:10:04
阅读次数:
117
构建Eureka Server 端服务注册中心 新建Module:cloud-eureka-server7001 POM: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0 ...
分类:
其他好文 时间:
2020-07-22 01:38:01
阅读次数:
68
今天再做nginx下https配置的时候,配置完nginx重启的时候,报了如下错误: nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:37 原因也很 ...
分类:
Web程序 时间:
2020-07-21 23:13:29
阅读次数:
126
报错: import MySQLdb as Database ModuleNotFoundError: No module named 'MySQLdb' [root@bbs s12bbs]# python3 manage.py --help Traceback (most recent call ...
分类:
数据库 时间:
2020-07-21 14:18:59
阅读次数:
80
go module是Go1.11版本之后官方推出的版本管理工具,并且从Go1.13版本开始,go module将是Go语言默认的依赖管理工具。到今天Go1.14版本推出之后Go modules 功能已经被正式推荐在生产环境下使用了。 这几天已经有很多教程讲解如何使用go module,以及如何使用g ...
分类:
其他好文 时间:
2020-07-21 14:12:01
阅读次数:
59
block design 在进行验证时出现一下报错 [BD 5-336] This command cannot be run, as the BD-design is locked. Locked reason(s):* BD design contains locked IPs. Please ...
分类:
其他好文 时间:
2020-07-21 14:06:34
阅读次数:
127
关于阿里云安装freeswitch的内容请参见本人另一篇博文。ubuntu14.04 lts 安装freeswitch 这里把困扰本人很久的问题,阿里云使用“专有网络”后,系统获取公网ip错误,导致freeswitch无法连接及打通电话的问题解决方法记录一下: 1、在var.xml中修改 <!--X ...
分类:
其他好文 时间:
2020-07-21 09:43:05
阅读次数:
152
1. urllib https://docs.python.org/zh-cn/3/library/urllib.request.html#module-urllib.request 2. BeautifulSoup https://www.crummy.com/software/Beautiful ...
分类:
其他好文 时间:
2020-07-21 01:10:58
阅读次数:
71
1.集群规划 在 hadoop102、hadoop103 和 hadoop104 三个节点上部署 Zookeeper。 2.解压安装 (1)解压 Zookeeper 安装包到/opt/module/目录下 [atguigu@hadoop102 software]$ tar -zxvf zookeep ...
分类:
其他好文 时间:
2020-07-21 01:06:25
阅读次数:
87