TypechoJoeTheme

Dcr163的博客

统计

最新文章

2022-07-07

解决PHP报错 SSL routines:ssl3_get_server_certificate:certificate verify failed

解决PHP报错 SSL routines:ssl3_get_server_certificate:certificate verify failed
解决PHP报错 SSL routines:ssl3_get_server_certificate:certificate verify failed原因php.ini未配置证书解决办法下载cert证书到本地D:/nginx/cacert.pem,地址:https://curl.haxx.se/ca/cacert.pem修改php.ini openssl.cafile= 改为 openssl.cafile=D:/nginx/cacert.pem重新执行即可~
2022-07-07

日志

66 阅读
0 评论
2022年07月07日
66 阅读
0 评论
2022-06-23

解决HTML2CANVAS截图不全问题

解决HTML2CANVAS截图不全问题
HTML2CANVAS截图有时候会发现不全问题如果出现html2canvas截图后,图片上面很多空白,那应该是滚动条引起的。这时候需要先把滚动条设置为最顶部,然后再进行截图//必须滚动到头部,不然截图出来头部会出现很多空白 window.scrollTo(0, 0); setTimeout(()=>{ //延时毫秒再进行截图 },100)用上面的方式基本就能解决这个问题了。
2022-06-23

日志

106 阅读
0 评论
2022年06月23日
106 阅读
0 评论
2022-05-17

git clone 解决Permission Denied (publickey)问题

git clone 解决Permission Denied (publickey)问题
git clone 解决Permission Denied (publickey)问题npm install 安装包也会碰到类似的情况,解决方法都一样;本地git bash 使用git clone git@github.com:*.git方式下载github代码至本地时需要依赖ssh key,遇到权限不足问题时一般都是SSH key失效或者SSH key不存在,重新创建SSH key一般就可以解决问题;步骤一、检查本地ssh key是否存在windows下 开始 -- 搜索框输入 git bash,打开git bash窗口git base窗口中输入指令 ls ~/.ssh/ 来检查ssh key是否存在如果key不存在则按照步骤二重新生成,ssh key已存在则跳过步骤二,执行步骤三步骤二、生成ssh key继续步骤一的git bash窗口执行指令:ssh-keygen -t rsa -b 2048 -C "你自己的邮箱地址"修改邮箱地址为你自己的邮箱地址,注意此处邮箱地址前后的双引号为英文格式双引号;指令执行后页面提示:Generating public/p...
2022-05-17

日志

190 阅读
0 评论
2022年05月17日
190 阅读
0 评论
2022-05-13

Mysql实现排行榜sql语句

Mysql实现排行榜sql语句
Mysql实现排行榜sql语句直接上代码-- 按余额查询排行榜 SELECT m.id, m.nickname, m.openid, m.avatar, @rownum := @rownum + 1 AS rownum FROM ( SELECT @rownum := 0 ) r, ( SELECT * FROM `tbl_member` WHERE credit> 0 ORDER BY credit DESC, created_at DESC ) AS m -- 查询某个用户的余额 排行名词 SELECT * FROM ( SELECT m.id, m.nickname, m.openid, m.avatar, @rownum := @rownum + 1 AS rownum FROM ( SELECT @rownum := 0 ) r, ( SELECT * FROM `tbl_member` WHERE credi...
2022-05-13

日志

219 阅读
0 评论
2022年05月13日
219 阅读
0 评论
2022-05-13

PHP yield生成器的使用,占用非常少量的内存

PHP yield生成器的使用,占用非常少量的内存
直接上代码,模拟读取大数据csv文件 /** * 采用 Yield生成器读取数据(推荐使用) * @param $resoure * @return Generator */ function readCsvByYield($resoure) { while (feof($resoure) === false) { yield fgetcsv($resoure); } } /** * 采用 原始数组读取数据(不推荐,文件特别大,会导致内存移除!!!) * @param $resoure * @return array */ function readCsvByArray($resoure) { $readCsvDatas = []; while (feof($resoure) === false) { $readCsvDatas[] = fgetcsv($resoure); } return $readCsvDatas; } try { //返回当前分配给你的 PHP 脚本...
2022-05-13

日志

195 阅读
0 评论
2022年05月13日
195 阅读
0 评论
2022-05-08

VUE安装 postcss-px-to-viewport,将px单位转换为视口单位的 (vw, vh, vmin, vmax)

VUE安装 postcss-px-to-viewport,将px单位转换为视口单位的 (vw, vh, vmin, vmax)
VUE安装 postcss-px-to-viewport,将px单位转换为视口单位的 (vw, vh, vmin, vmax)先安装 postcss,直接 npm install postcss --save-dev安装 postcss-px-to-viewport 这里,使用github上的版本,因为可以指定目录或文件才进行转换// 需要使用include属性: npm i https://github.com/evrone/postcss-px-to-viewport --save-dev // 不需要使用include属性: npm install postcss-px-to-viewport --save-devnpm安装报错情况... npm ERR! error: RPC failed; curl 28 OpenSSL SSL_read: Connection was reset, errno 10054 npm ERR! fatal: expected flush after ref listing ...可以尝试用下面的两个设置解决git config --glo...
2022-05-08

VUE相关

272 阅读
0 评论
2022年05月08日
272 阅读
0 评论
2022-04-17

GO做WEB服务实现文件上传功能

GO做WEB服务实现文件上传功能
GO做WEB服务实现文件上传功能直接上代码:package main import ( "fmt" "io" "log" "mime/multipart" "net/http" "os" "strconv" "strings" "time" ) //首页 func index(w http.ResponseWriter, r *http.Request) { _, err := fmt.Fprintln(w, "我是首页") if err != nil { log.Fatalln(err) } } //文件上传 func upload(w http.ResponseWriter, r *http.Request) { //读取表单中提交过来的文件,这个只能上传...
2022-04-17

GO相关

320 阅读
0 评论
2022年04月17日
320 阅读
0 评论

人生倒计时

今日已经过去小时
这周已经过去
本月已经过去
今年已经过去个月

最新回复

  1. admin
    2021-08-15

    {!{data:image/webp;base64,UklGRkAOAABXRUJQVlA4WAoAAAAQAAAAAQMAKwEAQUxQSEgMAAAB8Idt/yKn/f896oZDoO6Cu9trGxxeL3yxUFxTZCmuwa0WJHVeBHcPLvt6ldRCQwUPFPckhHho5P7j8ZjZ2cmEOeb5lo2ICaCA/wP+D/g/4P+A/wP+D/g/4P//p6ZL+eu2Ddu6KX57AexV/MAD/gv47/+aKPp69RCXPKDKi0+qc0O7hU75LHJn9OlbD+Br4tnvN385a2TIWMXtkwyYMWW2wvZoOMzqVtYqHIB53Yqa+xZ8/fvurfvnvTzu/s37PsCtpIVBvrL808lDuzSt/noR8vGJl6o26+GZ8811AW717MXNkEeQ/zcKcKtmTc9DPOciM24U4FbLRkHeWpLMuVHAfIXsmUjI08m0GwW4lbFa5yFe70Qm3ijArYhNhLzvXTL17wLcSlhfyJ+S2WME/FMB+xBiUj8y/0Zhp/o1FuKV2pQfN7JzylcYxJ+eo/y5EYDnoaiIyrAA4jeUb/t4Q4Meit5gaWrCEoifk+2tyc4rCcsgziH724JFKwiPr4c4mWxwCNuuHhTZCXEU2eERbJly8PxhiIPIFs9gC1SDN3+C2JPs8VI2TjGo+Cd4RkeyyetYP7Wg9l/gCS3JLh9gbZWC92+BX2lEtjmWNVA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