今天再做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
composer基本命令 composer init (-q) 利用composer创建新应用 composer init -q composer require 和 composer install composer require guzzlehttp/guzzle // 安装guzzle co ...
分类:
其他好文 时间:
2020-07-21 14:13:01
阅读次数:
71
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
1 import router from './router' 2 //等效于 3 //import router from './router/index.js' 这个不是vue的规定而是node加载模块的方式,当require('./router')(import会被转为require),nod ...
分类:
Web程序 时间:
2020-07-21 13:40:43
阅读次数:
119
前言 本文的文字及图片来源于网络,仅供学习、交流使用,不具有任何商业用途,版权归原作者所有,如有问题请及时联系我们以作处理 1.迭代器 迭代是Python最强大的功能之一,是访问集合元素的一种方式。 迭代器是一个可以记住遍历的位置的对象。 迭代器对象从集合的第一个元素开始访问,直到所有的元素被访问完 ...
分类:
编程语言 时间:
2020-07-21 01:27:54
阅读次数:
111
AMD模块规范 1.1 AMD规范说明 AMD规范专门用来实现浏览器端的模块化,并且模块的加载是异步的;引入一个第三方的require.js脚本用来解析AMD规范编写的模块 1.2 基本语法 使用define用来暴露模块,使用require用来引入模块 1.21暴露模块 (1)使用define(fu ...
分类:
其他好文 时间:
2020-07-21 01:22:50
阅读次数:
100
一、下载第三方扩展pheanstalk composer require pda/pheanstalk 二、公共文件conn.php <?php /** * 公共连接脚本 */ include_once "vendor/autoload.php"; //$conn = \Pheanstalk\Phe ...
分类:
其他好文 时间:
2020-07-21 01:16:00
阅读次数:
81
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