博客园 - andy_chan
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=1937
2022-11-17T10:55:36Z
andy_chan
https://www.cnblogs.com/chanAndy/
feed.cnblogs.com
https://www.cnblogs.com/chanAndy/p/16738117.html
解决GIT [ fatal: Out of memory? mmap failed: No such device ] - andy_chan
1 # git操作不想每次都输密码,出现报错 2 [root@api ~]# sudo -u nginx git config --global credential.helper store 3 error: could not lock config file /home/nginx/.gitc
2022-09-28T07:04:00Z
2022-09-28T07:04:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】1 # git操作不想每次都输密码,出现报错 2 [root@api ~]# sudo -u nginx git config --global credential.helper store 3 error: could not lock config file /home/nginx/.gitc <a href="https://www.cnblogs.com/chanAndy/p/16738117.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/16730992.html
tideways_xhprof - andy_chan
1、安装 tideways_xhprof 拓展 php是编译安装的: 1 [root@localhost ~]# cd /datas/package/ 2 [root@localhost package]# wget https://github.com/tideways/php-xhprof-ex
2022-09-26T06:55:00Z
2022-09-26T06:55:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】1、安装 tideways_xhprof 拓展 php是编译安装的: 1 [root@localhost ~]# cd /datas/package/ 2 [root@localhost package]# wget https://github.com/tideways/php-xhprof-ex <a href="https://www.cnblogs.com/chanAndy/p/16730992.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/15169252.html
微信小程序miniprogram-ci - andy_chan
CI只能做到自动化上传、预览,不能进行提审、发布操作。 项目SAAS化后,用CI自动上传小程序代码,省去商家自行下载代码、使用IDE上传等操作,然后再引导商家去小程序后台提审和发布。 如果要做到一键处理,就需要接入微信第三方小程序开发模式,这里不展开。 详细的CI说明,请查看官网。 1 #下载nod
2021-08-21T04:22:00Z
2021-08-21T04:22:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】CI只能做到自动化上传、预览,不能进行提审、发布操作。 项目SAAS化后,用CI自动上传小程序代码,省去商家自行下载代码、使用IDE上传等操作,然后再引导商家去小程序后台提审和发布。 如果要做到一键处理,就需要接入微信第三方小程序开发模式,这里不展开。 详细的CI说明,请查看官网。 1 #下载nod <a href="https://www.cnblogs.com/chanAndy/p/15169252.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/15157731.html
破解Zend Studio 13.6.1 - andy_chan
刚刚把Zend Studio从13.5.1升级到13.6.1之后,试了很多破解包,终于找到有用的,记录一下。 1、直接check for updates升级,或者官方下载 http://downloads.zend.com/studio-eclipse/13.6.1/ZendStudio-13.6.
2021-08-18T09:11:00Z
2021-08-18T09:11:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】刚刚把Zend Studio从13.5.1升级到13.6.1之后,试了很多破解包,终于找到有用的,记录一下。 1、直接check for updates升级,或者官方下载 http://downloads.zend.com/studio-eclipse/13.6.1/ZendStudio-13.6. <a href="https://www.cnblogs.com/chanAndy/p/15157731.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/12598110.html
记自签ssl证书在Chrome下无法访问 - andy_chan
最近捣鼓了自签ssl证书,按照以前的记录进行配置,发现IE下正常,Chrome下却无法访问。经过多方查找发现是高版本chrome需要配置subjectAltName,故做此记录。 一、配置openssl.cnf 1 [root@localhost ca]# openssl version -a 2
2020-03-30T05:46:00Z
2020-03-30T05:46:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】最近捣鼓了自签ssl证书,按照以前的记录进行配置,发现IE下正常,Chrome下却无法访问。经过多方查找发现是高版本chrome需要配置subjectAltName,故做此记录。 一、配置openssl.cnf 1 [root@localhost ca]# openssl version -a 2 <a href="https://www.cnblogs.com/chanAndy/p/12598110.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/12565920.html
记TP3.2.5 BUG:There is no active transaction - andy_chan
最近有个项目用到了最新的TP3.2.5,发现有个报错:There is no active transaction,后来定位分析到是TP代码bug,由于官方已经不维护且无法提交issue,故做此记录。 测试代码: 1 try { 2 $uModel = M('Users'); 3 $uModel->
2020-03-25T06:05:00Z
2020-03-25T06:05:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】最近有个项目用到了最新的TP3.2.5,发现有个报错:There is no active transaction,后来定位分析到是TP代码bug,由于官方已经不维护且无法提交issue,故做此记录。 测试代码: 1 try { 2 $uModel = M('Users'); 3 $uModel-> <a href="https://www.cnblogs.com/chanAndy/p/12565920.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/11851041.html
fix imagick - andy_chan
安装php拓展 imagick,上来就编译 ImageMagick,出现各种问题: 1 convert: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/561. 2 convert: no
2019-11-13T09:51:00Z
2019-11-13T09:51:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】安装php拓展 imagick,上来就编译 ImageMagick,出现各种问题: 1 convert: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/561. 2 convert: no <a href="https://www.cnblogs.com/chanAndy/p/11851041.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/10655749.html
删除Zend Studio项目 - andy_chan
导入了过大的项目,导致很卡,且Close Project和Delete操作不了,一直无响应。 调整项目目录下的隐藏文件夹,删除对应项目: E:\www\.metadata\.plugins\org.eclipse.core.resources\.projectsE:\www\.metadata\.p
2019-04-04T08:49:00Z
2019-04-04T08:49:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】导入了过大的项目,导致很卡,且Close Project和Delete操作不了,一直无响应。 调整项目目录下的隐藏文件夹,删除对应项目: E:\www\.metadata\.plugins\org.eclipse.core.resources\.projectsE:\www\.metadata\.p <a href="https://www.cnblogs.com/chanAndy/p/10655749.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/10316243.html
php v8js - andy_chan
本文整理自大神 Corz 1、php56 2、php72 3、test 4、后续修正
2019-01-26T01:55:00Z
2019-01-26T01:55:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】本文整理自大神 Corz 1、php56 2、php72 3、test 4、后续修正 <a href="https://www.cnblogs.com/chanAndy/p/10316243.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/10249955.html
[转载]win10(64bit)上安装MySQL-python - andy_chan
https://blog.csdn.net/builder_taoge/article/details/78292302 https://blog.csdn.net/qq_26808915/article/details/50256717 https://www.codegood.com/downl
2019-01-10T06:50:00Z
2019-01-10T06:50:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】https://blog.csdn.net/builder_taoge/article/details/78292302 https://blog.csdn.net/qq_26808915/article/details/50256717 https://www.codegood.com/downl <a href="https://www.cnblogs.com/chanAndy/p/10249955.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/10142849.html
ansible不配ssh连接,用户密码登录 - andy_chan
参考: https://www.cnblogs.com/iois/p/6230800.html?tdsourcetag=s_pctim_aiomsghttp://blog.51cto.com/13859004/2173972https://blog.csdn.net/wmj2004/article/
2018-12-19T06:04:00Z
2018-12-19T06:04:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】参考: https://www.cnblogs.com/iois/p/6230800.html?tdsourcetag=s_pctim_aiomsghttp://blog.51cto.com/13859004/2173972https://blog.csdn.net/wmj2004/article/ <a href="https://www.cnblogs.com/chanAndy/p/10142849.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/10036524.html
初试PHP连接sql server - andy_chan
最开始想使用 pdo_sqlsrv 拓展,但是一直没成功,本文采用的是 pdo_dblib + freetds。 环境:CentOS 6.8、PHP 5.6.20 freetds pdo_dblib 测试代码 另外,我这边用的是 php-5.6.20 安装包里自带的拓展包去编译 pdo_dblib,
2018-11-29T02:02:00Z
2018-11-29T02:02:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】最开始想使用 pdo_sqlsrv 拓展,但是一直没成功,本文采用的是 pdo_dblib + freetds。 环境:CentOS 6.8、PHP 5.6.20 freetds pdo_dblib 测试代码 另外,我这边用的是 php-5.6.20 安装包里自带的拓展包去编译 pdo_dblib, <a href="https://www.cnblogs.com/chanAndy/p/10036524.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/9851512.html
初识redis-cluster - andy_chan
安装redis 部署集群 参考资料 https://www.cnblogs.com/it-cen/p/4295984.html https://blog.csdn.net/naixiyi/article/details/51346880 https://www.cnblogs.com/Patrick
2018-10-27T00:54:00Z
2018-10-27T00:54:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】安装redis 部署集群 参考资料 https://www.cnblogs.com/it-cen/p/4295984.html https://blog.csdn.net/naixiyi/article/details/51346880 https://www.cnblogs.com/Patrick <a href="https://www.cnblogs.com/chanAndy/p/9851512.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/8390958.html
JS的四舍五入问题 - andy_chan
最近踩了一个坑,mark一下toFixed四舍五入问题,详见代码: 资料:JS处理数据四舍五入,tofixed与round的区别
2018-01-31T02:29:00Z
2018-01-31T02:29:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】最近踩了一个坑,mark一下toFixed四舍五入问题,详见代码: 资料:JS处理数据四舍五入,tofixed与round的区别 <a href="https://www.cnblogs.com/chanAndy/p/8390958.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/8031550.html
[转载]本地配置的 *.dev,*.app域名 在谷歌浏览器中总是自动转跳到https上,导致不能访问? - andy_chan
本地开发环境 .dev 不正常,找到文章mark一下 转自:https://segmentfault.com/q/1010000012339191
2017-12-13T02:21:00Z
2017-12-13T02:21:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】本地开发环境 .dev 不正常,找到文章mark一下 转自:https://segmentfault.com/q/1010000012339191 <a href="https://www.cnblogs.com/chanAndy/p/8031550.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/7374517.html
php与js的crc32(支持中文) - andy_chan
代码: 结果: 158==397917763 1==16777215==390611388207==198958881==390611388==1525825==1979574724==124634137==197957472==773271==124127374232==2932959818==1
2017-08-16T09:28:00Z
2017-08-16T09:28:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】代码: 结果: 158==397917763 1==16777215==390611388207==198958881==390611388==1525825==1979574724==124634137==197957472==773271==124127374232==2932959818==1 <a href="https://www.cnblogs.com/chanAndy/p/7374517.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/7209550.html
[转载]Failed to read session data On PHP 7.1 - andy_chan
从php5.6升级php7.1,报错 方案:如果是自己写了 session 处理类,继承了 SessionHandlerInterface 接口,在 PHP71 中要保证 read 方法,返回的是一个 string,其他类型都会报错。 比如我的情况,在读不到的时候返回的是 false,在以前版本的
2017-07-20T01:52:00Z
2017-07-20T01:52:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】从php5.6升级php7.1,报错 方案:如果是自己写了 session 处理类,继承了 SessionHandlerInterface 接口,在 PHP71 中要保证 read 方法,返回的是一个 string,其他类型都会报错。 比如我的情况,在读不到的时候返回的是 false,在以前版本的 <a href="https://www.cnblogs.com/chanAndy/p/7209550.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/7171835.html
Linux虚拟机里用X11协议打开图形界面的eclipse - andy_chan
1、下载工具包 XLaunch(安装到win)https://xming.en.softonic.com/ Eclipse IDE for C/C++ Developers(虚拟机里解压到 /datas/soft/eclipse)https://www.eclipse.org/downloads/e
2017-07-14T10:21:00Z
2017-07-14T10:21:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】1、下载工具包 XLaunch(安装到win)https://xming.en.softonic.com/ Eclipse IDE for C/C++ Developers(虚拟机里解压到 /datas/soft/eclipse)https://www.eclipse.org/downloads/e <a href="https://www.cnblogs.com/chanAndy/p/7171835.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/6932283.html
小试nginx日志分析xlog - andy_chan
nginx配置: 脚本下载:http://pan.baidu.com/s/1bGAXEQ 使用及结果: 更多用法参考:
2017-06-02T02:57:00Z
2017-06-02T02:57:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】nginx配置: 脚本下载:http://pan.baidu.com/s/1bGAXEQ 使用及结果: 更多用法参考: <a href="https://www.cnblogs.com/chanAndy/p/6932283.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/chanAndy/p/6894993.html
PHPCompatibility检测php版本语法兼容 - andy_chan
直接上步骤: 上面第10行是那thinkphp做测试,结果类似: 更多PHPCompatibility相关内容,请参考 https://www.sitepoint.com/quick-intro-phpcompatibility-standard-for-phpcs-are-you-php7-rea
2017-05-23T09:11:00Z
2017-05-23T09:11:00Z
andy_chan
https://www.cnblogs.com/chanAndy/
【摘要】直接上步骤: 上面第10行是那thinkphp做测试,结果类似: 更多PHPCompatibility相关内容,请参考 https://www.sitepoint.com/quick-intro-phpcompatibility-standard-for-phpcs-are-you-php7-rea <a href="https://www.cnblogs.com/chanAndy/p/6894993.html" target="_blank">阅读全文</a>