git pull fatal: refusing to merge unrelated histories


查看更多

ssh-keygen -t rsa -C "youremail@example.com"


查看更多

git clone 目录存在 fatal: destination path './www.appknow.cn' already exists and is not an empty directory.


查看更多

百度地址转省市函数(php版本)


查看更多

一段js代码用于适配iPhone X


查看更多

解决方法1.修改事务隔离级别 2.进入事务之前加锁


查看更多

gcc 4.4下如果在编译swoole的时候(即make阶段),出现gcc warning: dereferencing pointer ‘v.327’ does break strict-aliasing rules、 dereferencing type-punned pointer will break strict-aliasing rules 请手动编辑Makefile


查看更多

composer install - 如有 composer.lock 文件,直接安装,否则从 composer.json 安装最新扩展包和依赖; composer update - 从 composer.json 安装最新扩展包和依赖; composer update vendor/package - 从 composer.json 或者对应包的配置,并更新到最新; composer require new/package - 添加安装 new/package, 可以指定版本,如: compose


查看更多

redis文档中复制的一份基于redis接口限速的demo


查看更多

PHP 5.5+版本以上的,可以使用PHP自带的opcache开启性能加速(默认是关闭的)。


查看更多