上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 44 下一页
摘要: php-fpm.conf有两个至关重要的参数:一个是”max_children”,另一个是”request_terminate_timeout”. 我的两个设置的值一个是”40″,一个是”900″,但是这个值不是通用的,而是需要自己计算的。 计算的方式如下: 如 果你的服务器性能足够好,且宽带资源足 阅读全文
posted @ 2018-11-21 16:17 龙卷风之殇 阅读(434) 评论(0) 推荐(0)
摘要: 在Tool >> BulidingSystem 中 新建 python3 写入如下代码 { "cmd": ["C:/python3/python.exe","-u","$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "se 阅读全文
posted @ 2018-11-20 18:09 龙卷风之殇 阅读(260) 评论(0) 推荐(0)
摘要: 一、安装Sublime Text 3 1、双击下载的.exe文件安装,安装路径不要有中文目录 2、安装Sublime Text 3时,勾选“Add to explorer context menu”,可以在文件右键菜单添加“Open with Sublime Text”,方便使用Sublime Te 阅读全文
posted @ 2018-11-20 17:20 龙卷风之殇 阅读(431) 评论(0) 推荐(0)
摘要: import smtplib from email.mime.text import MIMEText from email.utils import formataddr import psutil import socket my_sender='1028540310@qq.com' # 发件人邮箱账号 my_pass = 'xxxxxxxxxxxxxxx' ... 阅读全文
posted @ 2018-11-08 22:48 龙卷风之殇 阅读(523) 评论(0) 推荐(0)
摘要: 1.首先我们有一个PHP内置函数 count(); count(array,mode); array是数组,mode默认为0,1是递归的计数 <?php if(count($arr) == count($arr,1)){ echo "是一维";}else{ echo "不是一维";} 阅读全文
posted @ 2018-11-06 20:03 龙卷风之殇 阅读(2039) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 44 下一页