上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 133 下一页
摘要: 启动workerman报错 错误提示 Workerman[http_test.php] start in DEBUG mode stream_socket_server() has been disabled for security reasons in file /home/wwwroot/de 阅读全文
posted @ 2020-12-22 09:21 盘思动 阅读(473) 评论(0) 推荐(0)
摘要: 是is null, 不是用"=" -- 查询手机号不为null的用户数据 SELECT * from user where phone is not null; -- 查询手机号为null的用户数据 SELECT * from user where phone is null; 阅读全文
posted @ 2020-12-19 09:35 盘思动 阅读(1679) 评论(0) 推荐(0)
摘要: linux中查找路径下包含某字符串的所有文件 昨天在工作的时候,由于需要查找日志内容,但是我不清楚是哪个日志文件,所有百度了一波,怎么在一个目录下查找包含某个字符串的所有文件的方法,记录一下。 目录下的所有文件中查找字符串: grep -ri "字符串" . 字符串就是你要查找的内容,结果会显示此路 阅读全文
posted @ 2020-12-11 10:43 盘思动 阅读(1591) 评论(1) 推荐(0)
摘要: vscode 保存文件失败的提示,解决方法 我的办法:删除package.json(最好备份一下相关的包),重新init,然后下载对应包(麻烦,但有效)。 阅读全文
posted @ 2020-12-07 14:17 盘思动 阅读(3116) 评论(0) 推荐(0)
摘要: $a = date('Y-m', strtotime('-1 month',strtotime('2020-10-31'))); echo $a; // 10 exit; 但31天的时候,-1 month, 返回的月份就不是上个月了哦 阅读全文
posted @ 2020-10-31 21:02 盘思动 阅读(327) 评论(0) 推荐(0)
摘要: composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 阅读全文
posted @ 2020-09-27 20:24 盘思动 阅读(140) 评论(0) 推荐(0)
摘要: /*** * px2rem 转换 */ $base-font-size: 750; @function px2rem($px) { @return $px / 75px * 1rem; } @function rem($px) { @return ($px / $base-font-size) * 阅读全文
posted @ 2020-09-27 09:09 盘思动 阅读(1559) 评论(0) 推荐(0)
摘要: ORDER BY RAND() $sql = 'select id,name,type,songurl,imgurl from tf_chall_title where `chall_id` = ' . $id . ' and `status` = 1 and `is_del` = 0 ORDER 阅读全文
posted @ 2020-09-17 11:38 盘思动 阅读(1562) 评论(0) 推荐(0)
摘要: import Taro, from '@tarojs/taro'; import { View,ScrollViewProps } from '@tarojs/components'; import from '@tarojs/redux'; import './index.scss'; impor 阅读全文
posted @ 2020-09-14 14:45 盘思动 阅读(1626) 评论(0) 推荐(0)
摘要: redis 命令: lrange Redis Lrange 返回列表中指定区间内的元素,区间以偏移量 START 和 END 指定。 其中 0 表示列表的第一个元素, 1 表示列表的第二个 元素,以此类推。 你也可以使用负数下标, 以 -1 表示列表的最后一个元素, -2 表示列表的倒数第二个元素, 阅读全文
posted @ 2020-09-14 14:21 盘思动 阅读(230) 评论(0) 推荐(0)
上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 133 下一页