摘要: null */ public function binarySearch($x, $arr, $start = 0, $end = null) { $count = count($arr); if ($end === null) { $end = $count - 1; } if ($s... 阅读全文
posted @ 2018-12-20 14:28 李星保 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 修改网站前端,需要放大镜效果,试着写了个效果如下:图片大框初始样式:1 添加放大区域框和放大效果框1 picBox=$('.goods-imginfo-bimg-box');2 picBox.css('position','relative');3 picBox.append('');4 picBo... 阅读全文
posted @ 2015-08-17 14:34 李星保 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 1 $(document).ready(function(){ 2 /* 3 * 4 * 5 * 6 * 7 * 首先,定义变量 8 * cwidth:容器宽度 9 ... 阅读全文
posted @ 2015-04-03 14:01 李星保 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 使用phantomjs截取网页动态图发现网页中文不可识别。 参考https://blog.csdn.net/wang1144/article/details/41746665 ,安装字体解决 安装字体完成之后,发现截图中中文可显示,但是字体都为仿宋,字体丢失,通过导入字体包解决,字体包目 阅读全文
posted @ 2018-12-04 14:38 李星保 阅读(796) 评论(0) 推荐(0) 编辑
摘要: use Zumba\Mink\Driver\PhantomJSDriver; $driver = new PhantomJSDriver('http://localhost:8510'); $driver->getBrowser()->visit('https://www.baidu.com'); // 生成base64 $res = $driver->getBrowser()->rende... 阅读全文
posted @ 2018-12-03 18:18 李星保 阅读(588) 评论(0) 推荐(0) 编辑
摘要: yum -y install supervisor 阅读全文
posted @ 2018-12-03 16:08 李星保 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 造成原因: 处理办法: 例:select a - b from table 改:select if(a >= b, a - b, - (b - a)) from table 阅读全文
posted @ 2018-11-22 18:16 李星保 阅读(2501) 评论(0) 推荐(0) 编辑
摘要: 或重新安装CURL 参考:https://blog.csdn.net/qq_34810257/article/details/80885622 安装完成之后执行命令: 阅读全文
posted @ 2018-11-22 14:28 李星保 阅读(16558) 评论(2) 推荐(1) 编辑
摘要: usermod -s /bin/bash www echo 'www:123456' | chpasswd 阅读全文
posted @ 2018-10-24 11:31 李星保 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 修改镜像源: 阅读全文
posted @ 2018-10-12 11:35 李星保 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 根据eslint修复代码 eslint换行设置成4个字符 eslint设置为分号结尾 阅读全文
posted @ 2018-08-25 18:34 李星保 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 修改:PHPExcel\Cell.php 第799 行添加 * PHPExcel已停止维护,建议转到 【PHPOffice/PhpSpreadsheet】 然而还有一个不容易发现的问题,在高版本PHP7下,出现ERR_INVALID_RESPONSE的错误还可能由于下面的原因导致 【参考:https 阅读全文
posted @ 2018-08-06 17:40 李星保 阅读(1886) 评论(0) 推荐(0) 编辑