自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated

https://laravel-china.org/topics/9390/on-mac-brew-tap-loads-only-a-part-of-the-third-party-package?order_by=vote_count&目前解决方案:https://www.jianshu.com/p/e58e8f52da13

2018-06-01 10:48:47 12830

原创 php-fpm死活干不掉

/usr/local/etc/php/php56/php-fpm.conf 中的listen = 127.0.0.1:9000 把9000改成其他端口就行了。

2018-04-23 18:04:00 1631

原创 阿里云表格存储feed流文档参考整理

表格存储阿里云问答:https://help.aliyun.com/product/27278.html?spm=a2c4g.11186623.3.1.txVO0i知乎:https://www.zhihu.com/question/264593789TableStore发布Timeline Lib:轻松构建千万级IM和Feed流系统:https://yq.aliyun.com/articles/3...

2018-04-19 10:46:28 550

转载 php对csv文件的读取,写入,输出下载操作

在实际工作中,很多时候需要把网站上的一些数据下载到CSV文件里,方便以后查看。亦或者是用CSV进行一些批量的上传工作。这个时候我们就需要对CSV进行读写操作。 1.CSV的读取操作[php] view plain copy<?php      $file = fopen('D:/file/file.csv','r');      while ($data = fgetcsv($file)) ...

2018-03-29 18:20:37 3599

转载 Linux下各种解压方法

大致总结了一下linux下各种格式的压缩包的压缩、解压方法。     .tar   解包:tar xvf FileName.tar   打包:tar cvf FileName.tar DirName   (注:tar是打包,不是压缩!)   ———————————————   .gz   解压 1:gunzip FileName.gz   解压2:gzip -d...

2018-03-20 11:14:41 578

转载 mysql distinct,order by,group by冲突

SELECT `question_id`,from_unixtime(MAX(`created`)) FROM `b_answer` WHERE `pid`=0 GROUP by `question_id` ORDER BY MAX(`created`) DESC解决办法:使用内部函数先排序再去重原因: mysql distinct和order by 一起用时,order by的字段必

2018-03-13 17:05:02 810

原创 xdebug修改了php var_dump原来样式,超级不喜欢

直接在xdebug的配置文件加入xdebug.overload_var_dump = 0;OK!更多参数请参考:https://xdebug.org/docs/display

2018-02-28 10:57:10 726

原创 PHP Warning: PHP Startup: mcrypt: Unable to initialize module Module compiled with build ID=API2013

PHP Warning:  PHP Startup: mcrypt: Unable to initialize moduleModule compiled with build ID=API20131226,NTSPHP    compiled with build ID=API20131226,NTS,debug解决方案:brew reinstall php56-mcrypt --b

2018-02-08 18:34:19 1922

转载 item2 快捷键

item2 快捷键标签新建标签:command + t关闭标签:command + w切换标签:command + 数字 command + 左右方向键切换全屏:command + enter查找:command + f分屏垂直分屏:command + d水平分屏:command + shift + d切换屏幕:command + option +

2018-02-01 10:30:52 589

原创 nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)处理方法

nginx重新加载配置文件是pid丢失:nginx -c /usr/local/etc/nginx/nginx.conf 指定到nginx配置文件后重新加载就行了 执行 nginx -s reload

2018-02-01 10:24:35 1267

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除