会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
pengcx
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
24
下一页
2020年1月14日
linux wget 下载报错 http request sent,awaiting response... 404 not found
摘要: 关闭防火墙 进入linux,修改etc/hosts文件,添加一行:比如 mirrors.163.com 59.111.0.251
阅读全文
posted @ 2020-01-14 10:37 pengcx
阅读(11378)
评论(0)
推荐(0)
2020年1月13日
linux给用户添加sudo权限
摘要: 切换到拥有sudo权限的用户下。 输入命令"sudo vim /etc/sudoers"开始编辑/etc/sudoers文件。 找到"root ALL=(ALL) ALL"这一 行,在它下面添加"xxx ALL=(ALL) ALL"(这里的xxx是需要添加sudo权限的用户名),然后保存退出。因为是
阅读全文
posted @ 2020-01-13 09:47 pengcx
阅读(1103)
评论(0)
推荐(0)
2020年1月3日
php 实现红包算法
摘要: public $bonus;//红包 public $bonusNum;//红包个数 public $bonusMoney;//红包总金额 public $moneySingleMax;//单个红包最大限制 public $moneySingleMin;//单个红包最小限制 /** * redPackageService constructor. * @param int $bonusNum *
阅读全文
posted @ 2020-01-03 16:36 pengcx
阅读(1278)
评论(0)
推荐(0)
2019年12月31日
关于CGI和FastCGI的理解
摘要: 来源:https://www.cnblogs.com/tssc/p/10255590.html 目录 0.CGI的引入 1.关于CGI 1.1.什么是CGI? 1.2.CGI程序的工作原理 1.3.CGI程序的特点 1.4.CGI程序的应用领域 2.关于FastCGI 2.1.什么是FastCGI?
阅读全文
posted @ 2019-12-31 14:30 pengcx
阅读(303)
评论(0)
推荐(0)
2019年12月30日
解决HTML5手机端字体小的问题
摘要: 来源: https://blog.csdn.net/99guo/article/details/50635111
阅读全文
posted @ 2019-12-30 16:53 pengcx
阅读(2238)
评论(0)
推荐(0)
2019年12月27日
tp先排序后分组
摘要: $dialModel = new dialModel(); $dialTable = $dialModel->order('num desc')->buildSql();//先排序 $list = $dialModel->table($dialTable .'as d') ->join(AMem::tableName('m'), 'd.user_id=m.id') ->field...
阅读全文
posted @ 2019-12-27 11:36 pengcx
阅读(1761)
评论(0)
推荐(0)
2019年12月19日
think-image
摘要: 1、添加水印,添加.ico图片水印会报错 2、添加文字水印,fontAwesome.otf、fontawesome-webfont.ttf会乱码;simkai.ttf可用
阅读全文
posted @ 2019-12-19 17:18 pengcx
阅读(466)
评论(0)
推荐(0)
2019年12月10日
限制input只能输入数字
摘要: <input type="number" onkeyup="this.value=this.value.replace(/\D/g,'')">
阅读全文
posted @ 2019-12-10 14:21 pengcx
阅读(29277)
评论(0)
推荐(0)
bootstrap-datetimepicker.js时分视图默认选中
摘要: $("#start_time").datetimepicker({ format: 'hh:ii', startView: 0, autoclose: true, language: 'zh-CN', }).on('click', function (ev) { var startTime = "{$data.start_time}"; //10位数的时间戳 if (startTime > 0)
阅读全文
posted @ 2019-12-10 14:01 pengcx
阅读(792)
评论(0)
推荐(0)
2019年12月4日
TP5 where多条件查询,组合查询(不等于,模糊查询等)
摘要: 来源:https://blog.csdn.net/NET_class/article/details/88745807
阅读全文
posted @ 2019-12-04 17:31 pengcx
阅读(9272)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
24
下一页
公告