上一页 1 2 3 4 5 6 7 ··· 17 下一页
摘要: shopee常见的刊登报错问题 1、[S0002][error_param]pattern of images[0] is invalid 解决方法: 检查产品图片是不是太大了超过800*800会发布失败,选中图片然后点击放大进行修改缩小图片。 2、[S0002][error_duplicate]i 阅读全文
posted @ 2021-06-15 18:19 MargoHu 阅读(1801) 评论(0) 推荐(0) 编辑
摘要: TP执行队列的命令 ├─ 2756 /usr/local/php/bin/php think queue:work --queue=collection --delay=0 --memory=128 --sleep=3 --tries=0 ├─ 2769 /usr/local/php/bin/php 阅读全文
posted @ 2021-05-27 18:16 MargoHu 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 正则匹配手机号码 原文链接:https://blog.csdn.net/itbrand/article/details/109239620 一般表单页面都需要填写手机号,校验用户输入的手机号码是否正确,就要用到正则表达式,用正则表达式来匹配手机号段,如在运营商号段内,则号码正确。因此,需要知道运营商 阅读全文
posted @ 2021-05-26 11:48 MargoHu 阅读(2718) 评论(0) 推荐(1) 编辑
摘要: 时间格式化转换 /** * 计算持续时长 * * @param int $second 秒数 * @return string $duration 5天10小时43分钟40秒 */ function secondTime($seconds=0){ $duration = ''; $seconds = 阅读全文
posted @ 2021-05-14 02:23 MargoHu 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 使用fixed定位将元素(如按钮)悬浮在页面底部 在开发过程中,会遇到将一个按钮或其他元素一直悬浮在底部的需求。这个时候就需要用到fixed的定位方法: button{ bottom:0; //可以更改为自己的需求距离底部的长度 position:fixed; }拓展:在css中,元素的定位方式一共 阅读全文
posted @ 2021-05-13 11:49 MargoHu 阅读(1735) 评论(0) 推荐(0) 编辑
摘要: LNMP一键安装教程 安装步骤:1、使用putty或类似的SSH工具登陆VPS或服务器;登陆后运行:screen -S lnmp如果提示screen: command not found 命令不存在可以执行:yum install screen 或 apt-get install screen安装, 阅读全文
posted @ 2021-05-02 11:12 MargoHu 阅读(1048) 评论(0) 推荐(0) 编辑
摘要: 服务器配置文件同步 rsync 文件同步脚本。 参考:https://blog.whsir.com/post-1097.html 客户端安装:yum -y install rsync # Debian$ sudo apt-get install rsync# Red Hat$ sudo yum in 阅读全文
posted @ 2021-02-04 01:40 MargoHu 阅读(192) 评论(0) 推荐(0) 编辑
摘要: linux常用命令 sudo sed -n '/2015:09:00/,/2015:11:00/p' access_wcs.log | awk '{a[substr($4,9,10)]+=1} END{for(i in a) printf "%s %s\n",i,a[i]}' | sort -k 2 阅读全文
posted @ 2021-02-04 01:39 MargoHu 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 配置服务器文件 同步 rsync 文件同步脚本。 参考:https://blog.whsir.com/post-1097.html 客户端安装:yum -y install rsync # Debian$ sudo apt-get install rsync# Red Hat$ sudo yum i 阅读全文
posted @ 2021-01-25 10:13 MargoHu 阅读(123) 评论(0) 推荐(0) 编辑
摘要: sudo sed -n '/2015:09:00/,/2015:11:00/p' access_wcs.log | awk '{a[substr($4,9,10)]+=1} END{for(i in a) printf "%s %s\n",i,a[i]}' | sort -k 2 -n -r 查看日 阅读全文
posted @ 2020-12-15 21:22 MargoHu 阅读(96) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 17 下一页