会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
pengcx
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
24
下一页
2021年10月21日
linux下使用openssl生成https的crt和key证书
摘要: 来源:https://www.cnblogs.com/caidingyu/p/11904277.html x509证书一般会用到三类文,key,csr,crt Key 是私用密钥openssl格,通常是rsa算法。 Csr 是证书请求文件,用于申请证书。在制作csr文件的时,必须使用自己的私钥来签署
阅读全文
posted @ 2021-10-21 17:27 pengcx
阅读(354)
评论(0)
推荐(0)
2021年10月4日
mginx配置http强制跳转https
摘要: server { listen 80; server_name xxxxxxx; rewrite rewrite ^(.*)$ https://$server_name$1 permanent; } //配置多个域名 server { listen 80 default_server; #liste
阅读全文
posted @ 2021-10-04 11:54 pengcx
阅读(95)
评论(0)
推荐(0)
2021年7月27日
mysql sum() 数据不存在返回null的问题
摘要: 下面语句会返回0 SELECT COALESCE(SUM(column),0) FROM table WHERE ...
阅读全文
posted @ 2021-07-27 18:53 pengcx
阅读(340)
评论(0)
推荐(0)
2021年7月2日
win10 安装composer设置代理问题
摘要:
阅读全文
posted @ 2021-07-02 13:40 pengcx
阅读(471)
评论(0)
推荐(0)
2021年6月30日
idea open打开项目之后,project里没有目录结构
摘要: idea open打开项目之后,project里没有目录结构。 按下列步骤操作: 1.关闭IDEA, 2.然后删除项目文件夹下的.idea文件夹 3.重新用IDEA工具打开项目
阅读全文
posted @ 2021-06-30 09:43 pengcx
阅读(412)
评论(0)
推荐(0)
2021年6月9日
img标签src引用网络图片 报错403
摘要: img标签src引用网络图片,页面不显示,返回403错误,网络图片地址在浏览器能加载,放html却不能显示 在html页面加入<meta name="referrer" content="no-referrer">标签,就可以解决页面加载网络图片的问题, 原因大概是网络安全的问题,别人的页面做了安全
阅读全文
posted @ 2021-06-09 16:21 pengcx
阅读(604)
评论(0)
推荐(0)
2021年2月24日
css 设置特定宽度,超出部分用...代替
摘要: <td style="max-width: 300px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title="内容">内容</td>
阅读全文
posted @ 2021-02-24 09:50 pengcx
阅读(211)
评论(0)
推荐(0)
2021年2月20日
php 二维数组根据某个key去重
摘要: function arrayUnset($arr, $key) { $newArr = []; foreach ($arr as $value) { if (isset($newArr[$value[$key]])) { //查看有没有重复项 unset($value[$key]); } else
阅读全文
posted @ 2021-02-20 10:49 pengcx
阅读(36)
评论(0)
推荐(0)
2021年2月8日
一些大厂开源项目
摘要: 来源 https://www.cnblogs.com/myshowtime/p/14353777.html
阅读全文
posted @ 2021-02-08 15:37 pengcx
阅读(61)
评论(0)
推荐(0)
2020年12月8日
mysql ORDER BY field(STATUS, 0,1) 根据字段特定排序问题
摘要: 当数据库中存在,不在排序字段中的值时,数据会排在最前面 列如:
阅读全文
posted @ 2020-12-08 15:30 pengcx
阅读(532)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
24
下一页
公告