会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
a531248552
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2021年5月10日
electron 渲染页面中引入js模块
摘要: 在main中配置如下 //调用 BrowserWindow打开新窗口 newWin =new BrowserWindow({ width: 800, height: 700, webPreferences: { contextIsolation: false, // 设置此项为false后,才可在渲
阅读全文
posted @ 2021-05-10 14:20 a531248552
阅读(2349)
评论(1)
推荐(0)
编辑
2021年3月29日
redis 外网访问
摘要: 需要公用reids 服务时需要开通redis 的外网访问 找打reids的配置文件 将 bind 127.0.0.1 ::1 前#去掉
阅读全文
posted @ 2021-03-29 16:15 a531248552
阅读(44)
评论(0)
推荐(0)
编辑
2020年10月20日
快速下载php源码
摘要: 快速下载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
阅读(144)
评论(0)
推荐(0)
编辑
2020年8月12日
qq链接和邮件链接
摘要: <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
阅读(122)
评论(0)
推荐(0)
编辑
2020年8月3日
js 屏幕录制
摘要: https://www.p2hp.com/screenrecord.html
阅读全文
posted @ 2020-08-03 11:27 a531248552
阅读(113)
评论(0)
推荐(0)
编辑
2020年7月29日
php session不生效
摘要: php 有时安装会出现session不生效的情况,先检查配置文件php.ini如果配置文件中session相关配置都是正确的,还是不生效可能是session默认存储路径的读写权限不够,通过phpinfo 查看php session存储的目录,然后给目录读写权限
阅读全文
posted @ 2020-07-29 18:55 a531248552
阅读(424)
评论(0)
推荐(0)
编辑
php 安装扩展
摘要: php有两种安装方式,自动安装 yum install php 这种安装扩展方式直接 yum install php-pdo 源码安装的php,扩展也是需要编译安装的 进入到源码ext 对应的目录, phpize./configuremakemake install 安装
阅读全文
posted @ 2020-07-29 18:53 a531248552
阅读(81)
评论(0)
推荐(0)
编辑
2020年7月27日
php 配置git的webhooks不生效
摘要: 出现不生效的情况,需要修改/etc/sudoers 中添加php运行的对应用户权限 www ALL=(ALL) NOPASSWD:ALL 然后需要重启服务容器apache才能生效,相当于www用户更新权限
阅读全文
posted @ 2020-07-27 18:23 a531248552
阅读(237)
评论(0)
推荐(0)
编辑
2020年7月20日
前台shell脚本在后台运行
摘要: 有的时间脚本需要在后台一直运行 可以在脚本后添加 & 运行 sh abc.sh &
阅读全文
posted @ 2020-07-20 11:51 a531248552
阅读(502)
评论(0)
推荐(0)
编辑
homebrew更新源
摘要: 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)
编辑
1
2
下一页