摘要: 在main中配置如下 //调用 BrowserWindow打开新窗口 newWin =new BrowserWindow({ width: 800, height: 700, webPreferences: { contextIsolation: false, // 设置此项为false后,才可在渲 阅读全文
posted @ 2021-05-10 14:20 a531248552 阅读(2328) 评论(1) 推荐(0) 编辑
摘要: 需要公用reids 服务时需要开通redis 的外网访问 找打reids的配置文件 将 bind 127.0.0.1 ::1 前#去掉 阅读全文
posted @ 2021-03-29 16:15 a531248552 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 快速下载php源码,从官网下载很慢,有时还会失败 推荐从gitee下载:https://gitee.com/mirrors/php git clone -b PHP-7.3.3 --depth 1 https://gitee.com/mirrors/php下载需要的版本,速度比较快 阅读全文
posted @ 2020-10-20 14:14 a531248552 阅读(143) 评论(0) 推荐(0) 编辑
摘要: <a title="在线QQ客服" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=123456&site=qq&menu=yes">123456</a> <a href="mailto:abc@aaa.com">abc@aaa.com</ 阅读全文
posted @ 2020-08-12 11:02 a531248552 阅读(118) 评论(0) 推荐(0) 编辑
摘要: https://www.p2hp.com/screenrecord.html 阅读全文
posted @ 2020-08-03 11:27 a531248552 阅读(112) 评论(0) 推荐(0) 编辑
摘要: php 有时安装会出现session不生效的情况,先检查配置文件php.ini如果配置文件中session相关配置都是正确的,还是不生效可能是session默认存储路径的读写权限不够,通过phpinfo 查看php session存储的目录,然后给目录读写权限 阅读全文
posted @ 2020-07-29 18:55 a531248552 阅读(423) 评论(0) 推荐(0) 编辑
摘要: php有两种安装方式,自动安装 yum install php 这种安装扩展方式直接 yum install php-pdo 源码安装的php,扩展也是需要编译安装的 进入到源码ext 对应的目录, phpize./configuremakemake install 安装 阅读全文
posted @ 2020-07-29 18:53 a531248552 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 出现不生效的情况,需要修改/etc/sudoers 中添加php运行的对应用户权限 www ALL=(ALL) NOPASSWD:ALL 然后需要重启服务容器apache才能生效,相当于www用户更新权限 阅读全文
posted @ 2020-07-27 18:23 a531248552 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 有的时间脚本需要在后台一直运行 可以在脚本后添加 & 运行 sh abc.sh & 阅读全文
posted @ 2020-07-20 11:51 a531248552 阅读(502) 评论(0) 推荐(0) 编辑
摘要: brew 安装软件比较方便,国内源下载会比较快,但是有时下载会失败 所有有时需要切换国内与默认的源 切换国内源 # 替换brew.git: $ cd "$(brew --repo)" # 中国科大: $ git remote set-url origin https://mirrors.ustc.e 阅读全文
posted @ 2020-07-20 11:36 a531248552 阅读(284) 评论(0) 推荐(0) 编辑