只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2014-08-03 18:40 前度天下 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 这里就已163或者126邮箱为例!阿里云的25号端口好像发送不了,用465端口可以发送成功! 安装:yum install -y mailx 然后就是修改配置文件 测试发送邮件 echo "邮件正文" | mail -s "这是真的可以发送邮件了哦" xxx@qq.com 阅读全文
posted @ 2019-07-12 14:53 前度天下 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 读锁:lock table xxx read; (加上读锁之后,会阻止自己和其他进程update操作) 取消读锁:unlock tables; 写锁:lock table xxx read;(加上写锁后,会阻止其他进程update操作) 取消写锁:unlock tables; 阅读全文
posted @ 2019-02-26 11:53 前度天下 阅读(93) 评论(0) 推荐(0) 编辑
摘要: id = $id; $this->name = $name; $this->next = null; } } class SingleLinkList { private $header; public function __construct($id=null,$name=null) { $this->heade... 阅读全文
posted @ 2019-02-15 10:24 前度天下 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Model里面的一些属性添加 protected $resultSetType = 'collection'; protected $autoWriteTimestamp = 'timestamp'; // 定义时间戳字段名 protected $createTime = 'created_at'; protected $updateTime = 'upda... 阅读全文
posted @ 2019-01-22 09:38 前度天下 阅读(177) 评论(0) 推荐(0) 编辑
摘要: # !/usr/bin/python # -*-coding:utf-8-*- import sys import time time1 = time.time() from PIL import Image import pytesseract ###########二值化算法 def binarizing(img, threshold): pixdata = img.load... 阅读全文
posted @ 2019-01-17 09:55 前度天下 阅读(2010) 评论(0) 推荐(0) 编辑
摘要: 目录 1 array_reduce函数法 2 array_walk_recursive函数法 3 array_map函数法 假设有下面一个二维数组: $user = array( '0' => array('id' => 100, 'username' => 'a1'), '1' => array( 阅读全文
posted @ 2019-01-04 14:19 前度天下 阅读(15020) 评论(0) 推荐(0) 编辑
摘要: <?phperror_reporting(E_ERROR);@ini_set('display_errors', 'Off');@ini_set('max_execution_time', 20000);@ini_set('memory_limit', '256M');header("content 阅读全文
posted @ 2018-12-25 17:50 前度天下 阅读(1331) 评论(0) 推荐(0) 编辑
摘要: 客服端编程 服务端socket编程 阅读全文
posted @ 2018-12-21 10:14 前度天下 阅读(1503) 评论(0) 推荐(0) 编辑
摘要: yum install sqlite-devel 下载python3.6.3 重新编译安装 ./configure --enable-loadable-sqlite-extensions && make && sudo make install 注意:python3.7不支持 阅读全文
posted @ 2018-12-20 16:34 前度天下 阅读(838) 评论(0) 推荐(0) 编辑
摘要: python3 使用flask的一些扩展功能的导入方法是 阅读全文
posted @ 2018-11-23 11:50 前度天下 阅读(2111) 评论(0) 推荐(0) 编辑