会员
T恤
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
嗡嘛呢巴美吽舍
博客园
首页
新随笔
联系
订阅
管理
2021年6月15日
微信公众测试号中的url和token配置
摘要: 我设置的前提条件: 已购买阿里云服务器,开通了80端口,且网站已备案。 1、在网站文件中新建index.php文件。该文件内容如下: 把 define("TOKEN", "weixin"); 中的weixin,改成自定义字符串,比如 mytoken <?php /** * wechat php te
阅读全文
posted @ 2021-06-15 11:22 圆旭
阅读(1496)
评论(0)
推荐(0)
2021年4月29日
centos7 挂载 阿里云 NAS
摘要: 先要安装工具,命令如下: yum install nfs-utils -y 然后开始挂载: sudo mount -t nfs -o vers=3,nolock,proto=tcp,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresv
阅读全文
posted @ 2021-04-29 14:46 圆旭
阅读(355)
评论(0)
推荐(0)
2021年4月3日
nginx 编译
摘要: 环境: centos7 下载nginx-1.19.1.tar.gz 并解压。安装依赖 yum -y install pcre-devel yum -y install openssl openssl-devel yum install -y zlib yum install -y zlib-deve
阅读全文
posted @ 2021-04-03 19:32 圆旭
阅读(113)
评论(0)
推荐(0)
2020年10月15日
grep 使用管道多次过滤
摘要: ref: https://bbs.csdn.net/topics/30475476 cat flask.log | grep "a" | grep "b" | grep 'c'
阅读全文
posted @ 2020-10-15 14:23 圆旭
阅读(833)
评论(0)
推荐(0)
2019年9月26日
【git】强制覆盖本地代码(与git远程仓库保持一致)
摘要: git强制覆盖: git fetch --all git reset --hard origin/master git pullgit强制覆盖本地命令(单条执行): git fetch --all && git reset --hard origin/master && git pull——————
阅读全文
posted @ 2019-09-26 17:26 圆旭
阅读(6512)
评论(0)
推荐(0)
2019年3月13日
ffmpeg CLI常用命令
摘要: 使用-copy参数: CLI压缩视频时保持音频不变
阅读全文
posted @ 2019-03-13 23:17 圆旭
阅读(332)
评论(0)
推荐(0)
2019年2月12日
旧机改造步骤
摘要: 电脑使用时间太久会落伍卡顿,改造的步骤如下: 1,32位操作系统要换成64位。 2,增加内存。 3,换固态硬盘。 4,换电池如果亏损太多。
阅读全文
posted @ 2019-02-12 18:52 圆旭
阅读(322)
评论(0)
推荐(0)
2019年2月6日
macbook air 2012 mid 安装 windows10 双系统遇到错误 no bootable device insert boot disk and press any key
摘要: macbook型号:air 2012 mid 当前操作系统:mojave 安装工具:boot camp assistant 要安装的双系统:windows 10家庭版 安装教程:百度搜一堆 安装过程中遇到两个坑: (1)win10 iso文件大于4GB,而boot camp制作的u盘启动盘是fat3
阅读全文
posted @ 2019-02-06 23:50 圆旭
阅读(5365)
评论(1)
推荐(0)
2019年1月20日
window、Linux 文本文件转换
摘要: 如下:
阅读全文
posted @ 2019-01-20 08:46 圆旭
阅读(448)
评论(0)
推荐(0)
2019年1月16日
phalcon bug: model的findFirst会自动忽略一些空格
摘要: version: Phalcon 3 如果DB存在一条记录phone='13012345678 '(后边有一个空格), 则在查询User::findFirst("phone = '13012345678'")时,即使末尾少了一个空格,也会匹配上,并返回结果。
阅读全文
posted @ 2019-01-16 14:38 圆旭
阅读(590)
评论(0)
推荐(0)
下一页
公告