摘要: 第一步 克隆下载 https://github.com/zsh-users/zsh-autosuggestions git clone git://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosugges 阅读全文
posted @ 2018-02-08 17:53 小星星x 阅读(831) 评论(0) 推荐(0) 编辑
摘要: 安装 centos yum install git ubuntu apt-get install git 源码安装 wget https://www.kernel.org/pub/software/scm/git/git-2.5.0.tar.gz tar zxvf git-2.5.0.tar.gz 阅读全文
posted @ 2017-06-15 18:35 小星星x 阅读(250) 评论(0) 推荐(0) 编辑
摘要: Contracts, ServiceContainer, ServiceProvider, Facades关系 概念 Contracts 合同,契约,也就是接口,定义一些规则,每个实现此接口的都要实现里面的方法 ServiceContainer 实现Contracts,具体的逻辑实现 Service 阅读全文
posted @ 2017-06-13 23:50 小星星x 阅读(2467) 评论(1) 推荐(0) 编辑
摘要: lumen安装 安装器安装 1. composer global require "laravel/lumen-installer" 2. lumen new blog composer安装 composer create-project --prefer-dist laravel/lumen bl 阅读全文
posted @ 2017-06-13 23:45 小星星x 阅读(2860) 评论(0) 推荐(0) 编辑
摘要: 激活 phpstorm10 License Server http://idea.qinxi1992.cn/ 搭建自己的IntelliJ IDEA授权服务器 http://blog.lanyus.com/archives/174.html phpstorm2017.1 License Server 阅读全文
posted @ 2017-06-13 23:44 小星星x 阅读(2764) 评论(0) 推荐(0) 编辑
摘要: 安装php扩展 cd /usr/local/src git clone -b php5 https://github.com/laruence/yaf.git 如果是php7 git clone https://github.com/laruence/yaf.git /usr/bin/phpize 阅读全文
posted @ 2017-06-13 23:43 小星星x 阅读(315) 评论(0) 推荐(0) 编辑
摘要: homebrew 安装 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 命令 安装软件:brew install 软件名,例:brew install 阅读全文
posted @ 2017-06-13 23:41 小星星x 阅读(19188) 评论(1) 推荐(3) 编辑
摘要: 基本技巧 代码 如果你只想高亮语句中的某个函数名或关键字,可以使用 function_name() 实现 通常编辑器根据代码片段适配合适的高亮方法,但你也可以用 ``` 包裹一段代码,并指定一种语言 $(document).ready(function () { alert('hello world 阅读全文
posted @ 2017-06-13 23:39 小星星x 阅读(941) 评论(0) 推荐(0) 编辑
摘要: 一、什么是 FastCGIFastCGI是一个可伸缩地、高速地在HTTP server和动态脚本语言间通信的接口。多数流行的HTTP server都支持FastCGI,包括Apache、Nginx和lighttpd等,同时,FastCGI也被许多脚本语言所支持,其中就有PHP。FastCGI是从CG 阅读全文
posted @ 2015-07-22 18:59 小星星x 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 前言: Linux下搭建nginx+php+memached(LPMN)的时候,nginx.conf中配需要配置fastCGI,php需要安装php-fpm扩展并启动php-fpm守护进程,nginx才可以解析php脚本。那么,这样配置的背后原理是什么?nginx、fastCGI、php-fpm之间 阅读全文
posted @ 2015-07-22 18:57 小星星x 阅读(256) 评论(0) 推荐(0) 编辑