blog.phpfs.com/ 历史快照

Joyous—快乐由此开始 – 快乐的IT小子

描述 无描述信息
关键词 原站链接 http://blog.phpfs.com/
分类 网络科技 地区 未知
缩略图地址 百度权重 0
图片信息
MIME类型:image/jpeg 文件大小: 1101472
图片宽度: 1100 图片高度: 11369
图片位深: 24 图片通道: 3

(blog.phpfs.com 2017-07-24)快照
关键词密度
文本长度:10744 关键词数量: 0
关键词出现频率: 0 关键词密度: 0.00%

								<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="https://blog.phpfs.com/xmlrpc.php" />
<title>Joyous&#8212;快乐由此开始 &#8211; 快乐的IT小子</title>
        <script type="text/javascript">
             window.onload = function(){
                 prettyPrint();
             }
        </script>
        <link rel='dns-prefetch' href='//s.w.org' />
<link rel="alternate" type="application/rss+xml" title="Joyous---快乐由此开始 &raquo; Feed" href="https://blog.phpfs.com/feed" />
<link rel="alternate" type="application/rss+xml" title="Joyous---快乐由此开始 &raquo; 评论Feed" href="https://blog.phpfs.com/comments/feed" />
		<script type="text/javascript">
			window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.2.1\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.2.1\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/blog.phpfs.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.7.5"}};
			!function(a,b,c){function d(a){var b,c,d,e,f=String.fromCharCode;if(!k||!k.fillText)return!1;switch(k.clearRect(0,0,j.width,j.height),k.textBaseline="top",k.font="600 32px Arial",a){case"flag":return k.fillText(f(55356,56826,55356,56819),0,0),!(j.toDataURL().length<3e3)&&(k.clearRect(0,0,j.width,j.height),k.fillText(f(55356,57331,65039,8205,55356,57096),0,0),b=j.toDataURL(),k.clearRect(0,0,j.width,j.height),k.fillText(f(55356,57331,55356,57096),0,0),c=j.toDataURL(),b!==c);case"emoji4":return k.fillText(f(55357,56425,55356,57341,8205,55357,56507),0,0),d=j.toDataURL(),k.clearRect(0,0,j.width,j.height),k.fillText(f(55357,56425,55356,57341,55357,56507),0,0),e=j.toDataURL(),d!==e}return!1}function e(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g,h,i,j=b.createElement("canvas"),k=j.getContext&&j.getContext("2d");for(i=Array("flag","emoji4"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h<i.length;h++)c.supports[i[h]]=d(i[h]),c.supports.everything=c.supports.everything&&c.supports[i[h]],"flag"!==i[h]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[i[h]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<style type="text/css">
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
</style>
<link rel='stylesheet' id='prettify-css-css'  href='https://blog.phpfs.com/wp-content/plugins/kindeditor-for-wordpress/plugins/code/desert.css?ver=20110329' type='text/css' media='all' />
<link rel='stylesheet' id='mantras-css'  href='https://blog.phpfs.com/wp-content/themes/mantra/style.css?ver=2.6.1' type='text/css' media='all' />
<script type='text/javascript' src='https://blog.phpfs.com/wp-content/plugins/kindeditor-for-wordpress/plugins/code/prettify.js?ver=20110329'></script>
<script type='text/javascript' src='https://blog.phpfs.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script>
<script type='text/javascript' src='https://blog.phpfs.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
<script type='text/javascript' src='https://blog.phpfs.com/wp-content/themes/mantra/js/frontend.js?ver=2.6.1'></script>
<link rel='https://api.w.org/' href='https://blog.phpfs.com/wp-json/' />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://blog.phpfs.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://blog.phpfs.com/wp-includes/wlwmanifest.xml" /> 
<meta name="generator" content="WordPress 4.7.5" />
 <style type="text/css"> #wrapper, #access, #colophon, #branding, #main { width:1100px ;} #content { width:790px;} #primary,#secondary {width:250px;}#content, #content p, #content ul, #content ol, #content input, #content select, #content textarea{ font-size:14px; } body, input, textarea {font-family:Segoe UI, Arial, sans-serif ; } #content h1.entry-title a, #content h2.entry-title a, #content h1.entry-title , #content h2.entry-title {font-family:Georgia, Times New Roman, Times, serif ; } .widget-area {font-family:Helvetica, sans-serif ; } .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {font-family:Georgia, Times New Roman, Times, serif ; } .nocomments, .nocomments2 {display:none;} #header-container > div { margin-top:20px;} #header-container > div { margin-left:40px;} body { background-color:#444444 !important ;} #header { background-color:#333333 ;} #footer { background-color:#222222 ;} #footer2 { background-color:#171717 ;} #site-title span a { color:#0D85CC ;} #site-description { color:#999999 ;} #content, #content p, #content ul, #content ol { color:#333333 ;} .widget-area a:link, .widget-area a:visited, a:link, a:visited ,#searchform #s:hover , #container #s:hover, #access a:hover, #wp-calendar tbody td a , #site-info a ,#site-copyright a, #access li:hover > a, #access ul ul :hover > a { color:#0D85CC;} a:hover, .entry-meta a:hover, .entry-utility a:hover , .widget-area a:hover { color:#12a7ff ;} #content .entry-title a, #content .entry-title, #content h1, #content h2, #content h3, #content h4, #content h5, #content h6{ color:#444444 ;} #content .entry-title a:hover { color:#000000 ;} .widget-title,#footer-widget-area .widget-title { background-color:#444444 ;} .widget-title { color:#2EA5FD ;} #footer-widget-area .widget-title { color:#0C85CD ; ;} #footer-widget-area a { color:#666666 ;} #footer-widget-area a:hover { color:#888888 ;} #content p, .entry-content ul, .entry-summary ul , .entry-content ol, .entry-summary ol { margin-bottom:1.5em;} .entry-meta .entry-time {display:none;} #branding { height:75px ;} </style> 
<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0, minimum-scale=1.0, maximum-scale=3.0"><style>/* Mantra Custom CSS */</style>

<!--[if lte IE 8]>
<style type="text/css" media="screen">
 #access ul  li,
.edit-link a ,
 #footer-widget-area .widget-title, .entry-meta,.entry-meta .comments-link,
.short-button-light, .short-button-dark ,.short-button-color ,blockquote  {
     position:relative;
     behavior: url(https://blog.phpfs.com/wp-content/themes/mantra/js/PIE/PIE.php);
   }

#access ul ul {
-pie-box-shadow:0px 5px 5px #999;
}
   
#access  ul  li.current_page_item,  #access ul li.current-menu-item ,
#access ul  li ,#access ul ul ,#access ul ul li, .commentlist li.comment	,.commentlist .avatar,
 .nivo-caption, .theme-default .nivoSlider {
     behavior: url(https://blog.phpfs.com/wp-content/themes/mantra/js/PIE/PIE.php);
   }
</style>
<![endif]-->
<!--[if lt IE 9]>
<script>
document.createElement('header');
document.createElement('nav');
document.createElement('section');
document.createElement('article');
document.createElement('aside');
document.createElement('footer');
document.createElement('hgroup');
</script>
<![endif]-->
<script type="text/javascript">
function makeDoubleDelegate(function1, function2) {
// concatenate functions
    return function() { if (function1) function1(); if (function2) function2(); }
}

function mantra_onload() {


     // Add responsive videos
     if (jQuery(window).width() < 800) jQuery(".entry-content").fitVids();
}; // mantra_onload


jQuery(document).ready(function(){
     // Add custom borders to images
     jQuery("img.alignnone, img.alignleft, img.aligncenter,  img.alignright").addClass("imageSeven");

	// Add select navigation to small screens
     jQuery("#access > .menu > ul").tinyNav({
          	header: ' = Menu = '
			});
});

// make sure not to lose previous onload events
window.onload = makeDoubleDelegate(window.onload, mantra_onload );
</script>
</head>
<body class="home blog">

<div id="toTop"> </div>
<div id="wrapper" class="hfeed">


<header id="header">

		<div id="masthead">

			<div id="branding" role="banner" >

				
	<div id="header-container">


<div><h1 id="site-title"><span> <a href="https://blog.phpfs.com/" title="Joyous&#8212;快乐由此开始" rel="home">Joyous---快乐由此开始</a> </span></h1><div id="site-description" >快乐的IT小子</div></div></div>				<div style="clear:both;"></div>

			</div><!-- #branding -->

			<nav id="access" class="jssafe" role="navigation">

				<div class="skip-link screen-reader-text"><a href="#content" title="Skip to content">Skip to content</a></div>
<div class="menu"><ul id="prime_nav" class="menu"><li id="menu-item-137" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item currentpageitem menu-item-home current_page_item menu-item-137"><a href="http://blog.phpfs.com/">Home</a></li>
<li id="menu-item-2634" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-2634"><a href="https://blog.phpfs.com/archives/category/linux">LINUX</a></li>
<li id="menu-item-2639" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-2639"><a href="https://blog.phpfs.com/archives/category/server">Apache&#038;Nginx</a></li>
<li id="menu-item-2636" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-2636"><a href="https://blog.phpfs.com/archives/category/db/mysql-database">MySQL</a></li>
<li id="menu-item-2633" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-2633"><a href="https://blog.phpfs.com/archives/category/engineer/php">PHP</a></li>
<li id="menu-item-2635" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-2635"><a href="https://blog.phpfs.com/archives/category/nosql-2">NoSQL</a></li>
<li id="menu-item-241" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item currentpageitem menu-item-home menu-item-type-post_type menu-item-object-page menu-item-241"><a href="https://blog.phpfs.com/about_joyous">About Me</a></li>
</ul></div>
			</nav><!-- #access -->

		</div><!-- #masthead -->

	<div style="clear:both;"> </div>

</header><!-- #header -->
<div id="main">
	<div  id="forbottom" >
		
		<div style="clear:both;"> </div>
		
											<section id="container">
				
			<div id="content" role="main">
			

						<nav id="nav-above" class="navigation">
			<div class="nav-previous"><a href="https://blog.phpfs.com/page/2" ><span class="meta-nav">&laquo;</span> Older posts</a></div>
			<div class="nav-next"></div>
		</nav><!-- #nav-above -->
	
								
					
	<article id="post-2772" class="post-2772 post type-post status-publish format-standard hentry category-composer tag-composer">
		<header class="entry-header">	
			<h2 class="entry-title">
				<a href="https://blog.phpfs.com/archives/2772.html" title="Permalink to composer使用私有仓库" rel="bookmark">
					composer使用私有仓库				</a>
			</h2>
						<div class="entry-meta">
				&nbsp; <span class="author vcard" >By  <a class="url fn n" rel="author" href="https://blog.phpfs.com/archives/author/joyous" title="View all posts by Joyous">Joyous</a> <span class="bl_sep">|</span></span>  <time class="onDate date published" datetime="2017-07-21T17:44:52+00:00"> <a href="https://blog.phpfs.com/archives/2772.html" title="下午 5:44" rel="bookmark"><span class="entry-date">2017年7月21日</span> <span class="entry-time"> - 下午 5:44</span></a> </time><span class="bl_sep">|</span><time class="updated"  datetime="2017-07-21T17:44:52+00:00">2017年7月21日</time> <span class="bl_categ"> <a href="https://blog.phpfs.com/archives/category/engineer/php/composer" rel="tag">Composer</a> </span>  							<div class="comments-link">
				<span><span class="screen-reader-text">composer使用私有仓库</span>已关闭评论</span>			</div>
						</div><!-- .entry-meta -->
			
		
		</header><!-- .entry-header -->
									<div class="entry-content">
						<pre class="prettyprint">"repositories": [
          {
            "type": "vcs",
            "url": "http://git.phpfs.com/joyousphper/<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/composer" title="View all posts in composer" target="_blank">composer</a></span>-demo.git"
          }
    ]</pre>
												</div><!-- .entry-content --> 
								<footer class="entry-meta2">
		<span class="bl_tagg">Tagged <a href="https://blog.phpfs.com/archives/tag/composer" rel="tag">composer</a></span>
 									</footer><!-- #entry-meta -->

	</article><!-- #post-2772 -->
	
	
										
				
					
	<article id="post-2768" class="post-2768 post type-post status-publish format-standard hentry category-composer tag-composer">
		<header class="entry-header">	
			<h2 class="entry-title">
				<a href="https://blog.phpfs.com/archives/2768.html" title="Permalink to composer开发的一些坑" rel="bookmark">
					composer开发的一些坑				</a>
			</h2>
						<div class="entry-meta">
				&nbsp; <span class="author vcard" >By  <a class="url fn n" rel="author" href="https://blog.phpfs.com/archives/author/joyous" title="View all posts by Joyous">Joyous</a> <span class="bl_sep">|</span></span>  <time class="onDate date published" datetime="2017-07-21T17:42:33+00:00"> <a href="https://blog.phpfs.com/archives/2768.html" title="下午 5:42" rel="bookmark"><span class="entry-date">2017年7月21日</span> <span class="entry-time"> - 下午 5:42</span></a> </time><span class="bl_sep">|</span><time class="updated"  datetime="2017-07-21T17:42:47+00:00">2017年7月21日</time> <span class="bl_categ"> <a href="https://blog.phpfs.com/archives/category/engineer/php/composer" rel="tag">Composer</a> </span>  							<div class="comments-link">
				<span><span class="screen-reader-text">composer开发的一些坑</span>已关闭评论</span>			</div>
						</div><!-- .entry-meta -->
			
		
		</header><!-- .entry-header -->
									<div class="entry-content">
						<p class="MsoNormal" align="justify" style="text-align:justify;">
<pre class="prettyprint">1.问题描述:
 Your configuration does not allow connections to xxxxxx See https://get<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/composer" title="View all posts in composer" target="_blank">composer</a></span>.org/doc/06-config.md#secure-http for details.
解决办法:
 "config":{
        "secure-http":false
    },
2.问题描述:
Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your min                                      imum-stability setting
   see &lt;https://get<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/composer" title="View all posts in composer" target="_blank">composer</a></span>.org/doc/04-schema.md#minimum-stability&gt; for more det                                      ails.
问题解决:
可能包不存在或者版本不存在
 </pre></p>
												</div><!-- .entry-content --> 
								<footer class="entry-meta2">
		<span class="bl_tagg">Tagged <a href="https://blog.phpfs.com/archives/tag/composer" rel="tag">composer</a></span>
 									</footer><!-- #entry-meta -->

	</article><!-- #post-2768 -->
	
	
										
				
					
	<article id="post-2766" class="post-2766 post type-post status-publish format-standard hentry category-composer tag-composer tag-code-php">
		<header class="entry-header">	
			<h2 class="entry-title">
				<a href="https://blog.phpfs.com/archives/2766.html" title="Permalink to 开发属于自己的composer" rel="bookmark">
					开发属于自己的composer				</a>
			</h2>
						<div class="entry-meta">
				&nbsp; <span class="author vcard" >By  <a class="url fn n" rel="author" href="https://blog.phpfs.com/archives/author/joyous" title="View all posts by Joyous">Joyous</a> <span class="bl_sep">|</span></span>  <time class="onDate date published" datetime="2017-07-21T16:37:26+00:00"> <a href="https://blog.phpfs.com/archives/2766.html" title="下午 4:37" rel="bookmark"><span class="entry-date">2017年7月21日</span> <span class="entry-time"> - 下午 4:37</span></a> </time><span class="bl_sep">|</span><time class="updated"  datetime="2017-07-21T16:37:26+00:00">2017年7月21日</time> <span class="bl_categ"> <a href="https://blog.phpfs.com/archives/category/engineer/php/composer" rel="tag">Composer</a> </span>  							<div class="comments-link">
				<span><span class="screen-reader-text">开发属于自己的composer</span>已关闭评论</span>			</div>
						</div><!-- .entry-meta -->
			
		
		</header><!-- .entry-header -->
									<div class="entry-content">
						<pre class="prettyprint lang-php">1.新建一个git仓库
备注:可以在github建立,如果要建立私有的<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/composer" title="View all posts in composer" target="_blank">composer</a></span>,可以自己搭建git仓库

2.初始化<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/composer" title="View all posts in composer" target="_blank">composer</a></span>文件
执行<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/composer" title="View all posts in composer" target="_blank">composer</a></span> init
参考:https://getcomposer.org/doc/04-schema.md
{
    "name": "joyousphper/composer-demo",
    "description": "composer demo",
    "type": "library",
    "license": "MIT",
    "authors": [
        {
          "name": "joyousphper",
          "email": "joyousphper@gmail.com"
        }
    ],
    "minimum-stability": "stable",
    "require": {
        "<span class='wp_keywordlink'><a href="http://blog.phpfs.com/archives/category/php" title="PHP天下" target="_blank">php</a></span>": "&gt;=5.4.0"
    },
    "autoload": {
        "psr-4": {
          "Tools\\": "src/Tools/"
        }
    }

}

3.编写代码并推送git仓库
新建src/Tools/Common.<span class='wp_keywordlink'><a href="http://blog.phpfs.com/archives/category/php" title="PHP天下" target="_blank">php</a></span>
&lt;?php
namespace Tools;

class Common
{
    public static function demo()
    {
        return 'hello world';
    }

}
添加标签
git tag -a v0.1.1 -m'第二个版本'
git push origin tag v0.1.1

4.提交composer
https://packagist.org/packages/submit

5.查看提交composer包
https://packagist.org/packages/joyousphper/composer-demo

6.设置composer自动更新
6.1打开https://github.com/Joyous<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/code-php" title="View all posts in PHP" target="_blank">PHP</a></span>er/composer-demo/settings/installations添加一个Packagist服务
6.2https://github.com/Joyous<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/code-php" title="View all posts in PHP" target="_blank">PHP</a></span>er/composer-demo/settings/hooks设置hook,这里的apitoken可以从https://packagist.org/profile/查看

7.项目引用
{
    "name": "joyousphper/demo1",
    "description": "composer demo",
    "type": "project",
    "license": "MIT",
    "authors": [
        {
          "name": "joyousphper",
          "email": "joyousphper@gmail.com"
        }
    ],
    "minimum-stability": "dev",
    "require": {
        "joyousphper/composer-demo": "v0.1.*"
    }
}

8.使用案例
&lt;?php
require __DIR__ . '/../vendor/autoload.php';
use Tools\Common;

echo Common::demo();



</pre>
												</div><!-- .entry-content --> 
								<footer class="entry-meta2">
		<span class="bl_tagg">Tagged <a href="https://blog.phpfs.com/archives/tag/composer" rel="tag">composer</a>, <a href="https://blog.phpfs.com/archives/tag/code-php" rel="tag">PHP</a></span>
 									</footer><!-- #entry-meta -->

	</article><!-- #post-2766 -->
	
	
										
				
					
	<article id="post-2761" class="post-2761 post type-post status-publish format-standard hentry category-phpspec tag-phpspec">
		<header class="entry-header">	
			<h2 class="entry-title">
				<a href="https://blog.phpfs.com/archives/2761.html" title="Permalink to phpspec入门" rel="bookmark">
					phpspec入门				</a>
			</h2>
						<div class="entry-meta">
				&nbsp; <span class="author vcard" >By  <a class="url fn n" rel="author" href="https://blog.phpfs.com/archives/author/joyous" title="View all posts by Joyous">Joyous</a> <span class="bl_sep">|</span></span>  <time class="onDate date published" datetime="2017-07-17T15:58:00+00:00"> <a href="https://blog.phpfs.com/archives/2761.html" title="下午 3:58" rel="bookmark"><span class="entry-date">2017年7月17日</span> <span class="entry-time"> - 下午 3:58</span></a> </time><span class="bl_sep">|</span><time class="updated"  datetime="2017-07-17T15:59:39+00:00">2017年7月17日</time> <span class="bl_categ"> <a href="https://blog.phpfs.com/archives/category/engineer/php/phpspec" rel="tag">PHPspec</a> </span>  							<div class="comments-link">
				<span><span class="screen-reader-text">phpspec入门</span>已关闭评论</span>			</div>
						</div><!-- .entry-meta -->
			
		
		</header><!-- .entry-header -->
									<div class="entry-content">
						<h2>入门</h2>
<ol>
<li>执行<code>bin/<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/phpspec" title="View all posts in phpspec" target="_blank">phpspec</a></span> desc Markdown</code>生成MarkdownSpec类</li>
<li>执行<code>bin/<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/phpspec" title="View all posts in phpspec" target="_blank">phpspec</a></span> run</code>提示生成Markdown类</li>
<li>在MarkdownSpec类添加方法</li>
</ol>
<pre><code>    function it_converts_plain_text_to_html_paragraphs()
    {
        $this-&gt;toHtml("Hi, there")-&gt;shouldReturn("
&lt;p&gt;
    Hi, there
&lt;/p&gt;
");
    }
</code></pre>
<ol>
<li>执行<code>bin/<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/phpspec" title="View all posts in phpspec" target="_blank">phpspec</a></span> run</code>提示生成Markdown类的toHtml方法</li>
<li>编写Markdown类的toHtml方法</li>
</ol>
<pre><code>    public function toHtml($argument1)
    {
        return "
&lt;p&gt;
    Hi, there11
&lt;/p&gt;
";//这里故意写错
    }
</code></pre>
<ol>
<li>执行<code>bin/phpspec run</code></li>
</ol>
<pre><code>Markdown                                                                        
  11  - it converts plain text to html paragraphs
      expected "
&lt;p&gt;
    Hi, there
&lt;/p&gt;
", but got "
&lt;p&gt;
    Hi, there11
&lt;/p&gt;
".

                                      100%                                       1
1 specs
1 example (1 failed)
192ms

</code></pre>
												</div><!-- .entry-content --> 
								<footer class="entry-meta2">
		<span class="bl_tagg">Tagged <a href="https://blog.phpfs.com/archives/tag/phpspec" rel="tag">phpspec</a></span>
 									</footer><!-- #entry-meta -->

	</article><!-- #post-2761 -->
	
	
										
				
					
	<article id="post-2759" class="post-2759 post type-post status-publish format-standard hentry category-phpspec">
		<header class="entry-header">	
			<h2 class="entry-title">
				<a href="https://blog.phpfs.com/archives/2759.html" title="Permalink to phpspec安装" rel="bookmark">
					phpspec安装				</a>
			</h2>
						<div class="entry-meta">
				&nbsp; <span class="author vcard" >By  <a class="url fn n" rel="author" href="https://blog.phpfs.com/archives/author/joyous" title="View all posts by Joyous">Joyous</a> <span class="bl_sep">|</span></span>  <time class="onDate date published" datetime="2017-07-17T15:53:19+00:00"> <a href="https://blog.phpfs.com/archives/2759.html" title="下午 3:53" rel="bookmark"><span class="entry-date">2017年7月17日</span> <span class="entry-time"> - 下午 3:53</span></a> </time><span class="bl_sep">|</span><time class="updated"  datetime="2017-07-17T15:53:19+00:00">2017年7月17日</time> <span class="bl_categ"> <a href="https://blog.phpfs.com/archives/category/engineer/php/phpspec" rel="tag">PHPspec</a> </span>  							<div class="comments-link">
				<span><span class="screen-reader-text">phpspec安装</span>已关闭评论</span>			</div>
						</div><!-- .entry-meta -->
			
		
		</header><!-- .entry-header -->
									<div class="entry-content">
						<h2>安装<br /></h2>
<p>phpspec是一个<span class='wp_keywordlink'><a href="http://blog.phpfs.com/archives/category/php" title="PHP天下" target="_blank">php</a></span> 5.6库,您将在项目开发环境中拥有它。在开始之前,请确保已经安装了PHP 5.6或7。</p>
<h2>安装步骤<br /></h2>
<p>您可以通过Composer来安装phpspec。如果你还没有安装,请按照作Composer网站上的说明</p>
<h3>安装方法1<br /></h3>
<p>执行命令<code>composer require --dev phpspec/phpspec</code>安装</p>
<h3>安装方法2<br /></h3>
<p>1.&nbsp;编辑<code>composer.json</code>在<code>require-dev</code>节点添加&#8221;phpspec/phpspec&#8221;: &#8220;~3.0&#8221;<br />
2.&nbsp;执行composer update 或者composer install安装</p>
<p>composer内容<br />
{<br />
&nbsp;&nbsp;&#8220;require-dev&#8221;: {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#8220;phpspec/phpspec&#8221;: &#8220;~3.0&#8221;<br />
&nbsp;&nbsp;},<br />
&nbsp;&nbsp;&#8220;config&#8221;: {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#8220;bin-dir&#8221;: &#8220;bin&#8221;<br />
&nbsp;&nbsp;},<br />
&nbsp;&nbsp;&#8220;autoload&#8221;: {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#8220;psr-0&#8221;: {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;: &#8220;src/&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;}<br />
}</p>
<p></p>
												</div><!-- .entry-content --> 
								<footer class="entry-meta2">
						</footer><!-- #entry-meta -->

	</article><!-- #post-2759 -->
	
	
										
				
					
	<article id="post-2755" class="post-2755 post type-post status-publish format-standard hentry category-laravel tag-api tag-565">
		<header class="entry-header">	
			<h2 class="entry-title">
				<a href="https://blog.phpfs.com/archives/2755.html" title="Permalink to Lumen5.X使用频率限制组件笔记" rel="bookmark">
					Lumen5.X使用频率限制组件笔记				</a>
			</h2>
						<div class="entry-meta">
				&nbsp; <span class="author vcard" >By  <a class="url fn n" rel="author" href="https://blog.phpfs.com/archives/author/joyous" title="View all posts by Joyous">Joyous</a> <span class="bl_sep">|</span></span>  <time class="onDate date published" datetime="2017-07-10T15:50:35+00:00"> <a href="https://blog.phpfs.com/archives/2755.html" title="下午 3:50" rel="bookmark"><span class="entry-date">2017年7月10日</span> <span class="entry-time"> - 下午 3:50</span></a> </time><span class="bl_sep">|</span><time class="updated"  datetime="2017-07-10T15:50:35+00:00">2017年7月10日</time> <span class="bl_categ"> <a href="https://blog.phpfs.com/archives/category/engineer/php/laravel" rel="tag">Laravel</a> </span>  							<div class="comments-link">
				<span><span class="screen-reader-text">Lumen5.X使用频率限制组件笔记</span>已关闭评论</span>			</div>
						</div><!-- .entry-meta -->
			
		
		</header><!-- .entry-header -->
									<div class="entry-content">
						<p>
	编写中间件,是根据vendor/illuminate/routing/Middleware/ThrottleRequests.<span class='wp_keywordlink'><a href="http://blog.phpfs.com/archives/category/php" title="PHP天下" target="_blank">php</a></span>改写
</p>
<p>
	备注:需要先配置cache
</p>
<pre class="prettyprint lang-php">&lt;?<span class='wp_keywordlink'><a href="http://blog.phpfs.com/archives/category/php" title="PHP天下" target="_blank">php</a></span>

namespace App\Http\Middleware;

use Closure;
use Carbon\Carbon;
use Illuminate\Cache\RateLimiter;
use Symfony\Component\HttpFoundation\Response;

class ThrottleMiddleware
{
    /**
     * The rate limiter instance.
     *
     * @var \Illuminate\Cache\RateLimiter
     */
    protected $limiter;

    /**
     * Create a new request throttler.
     *
     * @param  \Illuminate\Cache\RateLimiter  $limiter
     * @return void
     */
    public function __construct(RateLimiter $limiter)
    {
        $this-&gt;limiter = $limiter;
    }

    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @param  int  $maxAttempts
     * @param  float|int  $decayMinutes
     * @return mixed
     */
    public function handle($request, Closure $next, $maxAttempts = 60, $decayMinutes = 1)
    {
        $key = $this-&gt;resolveRequestSignature($request);

        if ($this-&gt;limiter-&gt;tooManyAttempts($key, $maxAttempts, $decayMinutes)) {
            return $this-&gt;buildResponse($key, $maxAttempts);
        }

        $this-&gt;limiter-&gt;hit($key, $decayMinutes);

        $response = $next($request);

        return $this-&gt;addHeaders(
            $response, $maxAttempts,
            $this-&gt;calculateRemainingAttempts($key, $maxAttempts)
        );
    }
    
    /**
     * Resolve request signature.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return string
     */
    protected function resolveRequestSignature($request)
    {
        return sha1(
            $request-&gt;method() .
            '|' . $request-&gt;server('SERVER_NAME') .
            '|' . $request-&gt;path() .
            '|' . $request-&gt;ip()
        );
    }
//    protected function resolveRequestSignature($request)
//    {
//        return $request-&gt;fingerprint();
//    }

    /**
     * Create a 'too many attempts' response.
     *
     * @param  string  $key
     * @param  int  $maxAttempts
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function buildResponse($key, $maxAttempts)
    {
        $response = new Response('请求超出设定频率', 429);
        $retryAfter = $this-&gt;limiter-&gt;availableIn($key);

        return $this-&gt;addHeaders(
            $response, $maxAttempts,
            $this-&gt;calculateRemainingAttempts($key, $maxAttempts, $retryAfter),
            $retryAfter
        );
    }

    /**
     * Add the limit header information to the given response.
     *
     * @param  \Symfony\Component\HttpFoundation\Response  $response
     * @param  int  $maxAttempts
     * @param  int  $remainingAttempts
     * @param  int|null  $retryAfter
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function addHeaders(Response $response, $maxAttempts, $remainingAttempts, $retryAfter = null)
    {
        $headers = [
            'X-RateLimit-Limit' =&gt; $maxAttempts,
            'X-RateLimit-Remaining' =&gt; $remainingAttempts,
        ];

        if (! is_null($retryAfter)) {
            $headers['Retry-After'] = $retryAfter;
            $headers['X-RateLimit-Reset'] = Carbon::now()-&gt;getTimestamp() + $retryAfter;
        }

        $response-&gt;headers-&gt;add($headers);

        return $response;
    }

    /**
     * Calculate the number of remaining attempts.
     *
     * @param  string  $key
     * @param  int  $maxAttempts
     * @param  int|null  $retryAfter
     * @return int
     */
    protected function calculateRemainingAttempts($key, $maxAttempts, $retryAfter = null)
    {
        if (is_null($retryAfter)) {
            return $this-&gt;limiter-&gt;retriesLeft($key, $maxAttempts);
        }

        return 0;
    }
}
//使用笔记
<pre><span style="color:#e6db74;">'middleware' </span><span style="color:#f92672;">=&gt; </span><span style="color:#e6db74;">'throttle:2,0.5'</span></pre>
<p>
	</p>
												</div><!-- .entry-content --> 
								<footer class="entry-meta2">
		<span class="bl_tagg">Tagged <a href="https://blog.phpfs.com/archives/tag/api" rel="tag">api</a>, <a href="https://blog.phpfs.com/archives/tag/%e9%a2%91%e7%8e%87%e9%99%90%e5%88%b6" rel="tag">频率限制</a></span>
 									</footer><!-- #entry-meta -->

	</article><!-- #post-2755 -->
	
	
										
				
					
	<article id="post-2753" class="post-2753 post type-post status-publish format-standard hentry category-php tag-php">
		<header class="entry-header">	
			<h2 class="entry-title">
				<a href="https://blog.phpfs.com/archives/2753.html" title="Permalink to php中的generator和yield" rel="bookmark">
					php中的generator和yield				</a>
			</h2>
						<div class="entry-meta">
				&nbsp; <span class="author vcard" >By  <a class="url fn n" rel="author" href="https://blog.phpfs.com/archives/author/joyous" title="View all posts by Joyous">Joyous</a> <span class="bl_sep">|</span></span>  <time class="onDate date published" datetime="2017-07-07T16:23:38+00:00"> <a href="https://blog.phpfs.com/archives/2753.html" title="下午 4:23" rel="bookmark"><span class="entry-date">2017年7月7日</span> <span class="entry-time"> - 下午 4:23</span></a> </time><span class="bl_sep">|</span><time class="updated"  datetime="2017-07-07T16:23:48+00:00">2017年7月7日</time> <span class="bl_categ"> <a href="https://blog.phpfs.com/archives/category/engineer/php" rel="tag">PHP</a> </span>  							<div class="comments-link">
				<span><span class="screen-reader-text">php中的generator和yield</span>已关闭评论</span>			</div>
						</div><!-- .entry-meta -->
			
		
		</header><!-- .entry-header -->
									<div class="entry-content">
						<pre class="prettyprint lang-php">1.Generator
在编程这个领域,我们可以把它想象成一个可以生成一系列数据的工具,这个工具可以具体为一个类、一个函数或者是一个语句
定义:
http://de2.<span class='wp_keywordlink'><a href="http://blog.phpfs.com/archives/category/php" title="PHP天下" target="_blank">php</a></span>.net/manual/en/class.generator.<span class='wp_keywordlink'><a href="http://blog.phpfs.com/archives/category/php" title="PHP天下" target="_blank">php</a></span>
特点:
不能直接实例化使用new Generator()调用,必须使用yield

2.yield
在<span class='wp_keywordlink'><a href="http://blog.phpfs.com/archives/category/php" title="PHP天下" target="_blank">php</a></span>中,yield关键字只能在函数中使用,代码执行到yield语句,函数的执行就会终止并返回yield表达式给Generator

当对Generator对象进行遍历迭代,那么带有yield语句的函数后的代码会执行
例子:
function a() {
    $b =23;
    yield $b;
    echo 1;
}
$c = a();
echo $c-&gt;current();//会输出23但是不会输出1
//遍历则会输出0=&gt;23 1
foreach ($c as $k =&gt; $v) {
    echo $k . "=&gt;". $v . PHP_EOL;
}

多条语句
function a() {
    yield 1;
    yield 2;
    yield 3;
}
$c = a();
//输出0=&gt;1 1=&gt;2 2=&gt;3
foreach ($c as $k =&gt; $v) {
    echo $k . "=&gt;". $v . PHP_EOL;
}
特性:每次迭代都只会执行前一次yield语句之后的代码,那Generator可以用于实现协程的原因。

3.用途
可以用来做协程
可以用来大量数据的集合(节约空间)
</pre>
												</div><!-- .entry-content --> 
								<footer class="entry-meta2">
		<span class="bl_tagg">Tagged <a href="https://blog.phpfs.com/archives/tag/php%e5%8d%8f%e7%a8%8b" rel="tag">php协程</a></span>
 									</footer><!-- #entry-meta -->

	</article><!-- #post-2753 -->
	
	
										
				
					
	<article id="post-2751" class="post-2751 post type-post status-publish format-standard hentry category-composer category-php">
		<header class="entry-header">	
			<h2 class="entry-title">
				<a href="https://blog.phpfs.com/archives/2751.html" title="Permalink to composer使用笔记" rel="bookmark">
					composer使用笔记				</a>
			</h2>
						<div class="entry-meta">
				&nbsp; <span class="author vcard" >By  <a class="url fn n" rel="author" href="https://blog.phpfs.com/archives/author/joyous" title="View all posts by Joyous">Joyous</a> <span class="bl_sep">|</span></span>  <time class="onDate date published" datetime="2017-07-07T14:21:12+00:00"> <a href="https://blog.phpfs.com/archives/2751.html" title="下午 2:21" rel="bookmark"><span class="entry-date">2017年7月7日</span> <span class="entry-time"> - 下午 2:21</span></a> </time><span class="bl_sep">|</span><time class="updated"  datetime="2017-07-07T14:21:12+00:00">2017年7月7日</time> <span class="bl_categ"> <a href="https://blog.phpfs.com/archives/category/engineer/php/composer" rel="tag">Composer</a>, <a href="https://blog.phpfs.com/archives/category/engineer/php" rel="tag">PHP</a> </span>  							<div class="comments-link">
				<span><span class="screen-reader-text">composer使用笔记</span>已关闭评论</span>			</div>
						</div><!-- .entry-meta -->
			
		
		</header><!-- .entry-header -->
									<div class="entry-content">
						<pre class="prettyprint lang-php">1.基本用法
require  monolog/monolog  1.0.*

2.包版本
确定版本	1.0.1
范围		&gt;=1.0
范围AND		&gt;=1.0,&lt;2.0
范围OR		&gt;2.0|&lt;1.2
通配符		1.*
运算		~1.2等同于&gt;=1.2,&lt;2.0	大于1.2并且小于2.0版本

备注:~1.2.1是等同于&gt;=1.2.1,&lt;1.3

3.将composer.lock好composer.json提交到仓库当中方便协同工作

更多参考:https://getcomposer.org/doc/04-schema.md</pre>
												</div><!-- .entry-content --> 
								<footer class="entry-meta2">
						</footer><!-- #entry-meta -->

	</article><!-- #post-2751 -->
	
	
										
				
					
	<article id="post-2741" class="post-2741 post type-post status-publish format-standard hentry category-nginx category-server tag-dns tag-keepalived tag-lb tag-lvs tag-vip">
		<header class="entry-header">	
			<h2 class="entry-title">
				<a href="https://blog.phpfs.com/archives/2741.html" title="Permalink to 负载均衡知识汇总" rel="bookmark">
					负载均衡知识汇总				</a>
			</h2>
						<div class="entry-meta">
				&nbsp; <span class="author vcard" >By  <a class="url fn n" rel="author" href="https://blog.phpfs.com/archives/author/joyous" title="View all posts by Joyous">Joyous</a> <span class="bl_sep">|</span></span>  <time class="onDate date published" datetime="2017-06-28T15:55:11+00:00"> <a href="https://blog.phpfs.com/archives/2741.html" title="下午 3:55" rel="bookmark"><span class="entry-date">2017年6月28日</span> <span class="entry-time"> - 下午 3:55</span></a> </time><span class="bl_sep">|</span><time class="updated"  datetime="2017-06-28T15:55:22+00:00">2017年6月28日</time> <span class="bl_categ"> <a href="https://blog.phpfs.com/archives/category/server/nginx" rel="tag">Nginx</a>, <a href="https://blog.phpfs.com/archives/category/server" rel="tag">Server</a> </span>  							<div class="comments-link">
				<span><span class="screen-reader-text">负载均衡知识汇总</span>已关闭评论</span>			</div>
						</div><!-- .entry-meta -->
			
		
		</header><!-- .entry-header -->
									<div class="entry-content">
						<p>一、DNS轮询<br />
1.实现<br />
DNS配置多个IP域名解析(A记录)</p>
<p>2.优点<br />
部署简单</p>
<p>3.缺点<br />
非高可用(健康监测需人工干预)<br />
会话状态需要共享(session共享)<br />
扩容非实时(DNS解析缓存和TTL)<br />
暴漏较多的外网IP</p>
<p>备注:DNS轮询是从域名层面做负载均衡</p>
<p> <a href="https://blog.phpfs.com/archives/2741.html#more-2741" class="continue-reading-link"> Continue reading <span class="meta-nav">&rarr; </span></a></p>
												</div><!-- .entry-content --> 
								<footer class="entry-meta2">
		<span class="bl_tagg">Tagged <a href="https://blog.phpfs.com/archives/tag/dns%e8%bd%ae%e8%af%a2" rel="tag">dns轮询</a>, <a href="https://blog.phpfs.com/archives/tag/keepalived" rel="tag">keepalived</a>, <a href="https://blog.phpfs.com/archives/tag/lb" rel="tag">lb</a>, <a href="https://blog.phpfs.com/archives/tag/lvs" rel="tag">lvs</a>, <a href="https://blog.phpfs.com/archives/tag/vip" rel="tag">vip</a></span>
 									</footer><!-- #entry-meta -->

	</article><!-- #post-2741 -->
	
	
										
				
					
	<article id="post-2734" class="post-2734 post type-post status-publish format-standard hentry category-go tag-form tag-go tag-557">
		<header class="entry-header">	
			<h2 class="entry-title">
				<a href="https://blog.phpfs.com/archives/2734.html" title="Permalink to GO获取表单元素" rel="bookmark">
					GO获取表单元素				</a>
			</h2>
						<div class="entry-meta">
				&nbsp; <span class="author vcard" >By  <a class="url fn n" rel="author" href="https://blog.phpfs.com/archives/author/joyous" title="View all posts by Joyous">Joyous</a> <span class="bl_sep">|</span></span>  <time class="onDate date published" datetime="2017-06-22T11:43:26+00:00"> <a href="https://blog.phpfs.com/archives/2734.html" title="上午 11:43" rel="bookmark"><span class="entry-date">2017年6月22日</span> <span class="entry-time"> - 上午 11:43</span></a> </time><span class="bl_sep">|</span><time class="updated"  datetime="2017-06-22T11:44:53+00:00">2017年6月22日</time> <span class="bl_categ"> <a href="https://blog.phpfs.com/archives/category/engineer/go" rel="tag">Go</a> </span>  							<div class="comments-link">
				<span><span class="screen-reader-text">GO获取表单元素</span>已关闭评论</span>			</div>
						</div><!-- .entry-meta -->
			
		
		</header><!-- .entry-header -->
									<div class="entry-content">
						<p>1.如果使用Form[&#8220;username&#8221;]获取<span class='wp_keywordlink_affiliate'><a href="https://blog.phpfs.com/archives/tag/%e8%a1%a8%e5%8d%95%e5%85%83%e7%b4%a0" title="View all posts in 表单元素" target="_blank">表单元素</a></span>需调用ParseForm(),获取到的是数组<br />
2.如果使用FormValue会自动调用ParseForm(),所以可以直接使用FormValue(&#8220;username&#8221;),获取到的是元素。等同于Form.Get</p>
<p>
	3.PostForm是获取POST表单当中的元素获取到的是数组,同样需要调用ParseForm(),PostFormValue获取的是元素
</p>
<p>
	参考:<a href="https://github.com/astaxie/build-web-application-with-golang/blob/master/zh/04.1.md" target="_blank">https://github.com/astaxie/build-web-application-with-golang/blob/master/zh/04.1.md</a></p>
												</div><!-- .entry-content --> 
								<footer class="entry-meta2">
		<span class="bl_tagg">Tagged <a href="https://blog.phpfs.com/archives/tag/form" rel="tag">form</a>, <a href="https://blog.phpfs.com/archives/tag/go" rel="tag">go</a>, <a href="https://blog.phpfs.com/archives/tag/%e8%a1%a8%e5%8d%95%e5%85%83%e7%b4%a0" rel="tag">表单元素</a></span>
 									</footer><!-- #entry-meta -->

	</article><!-- #post-2734 -->
	
	
										
				
					<div class='pagination_container'><nav class='pagination'><span class='current'>1</span><a href='https://blog.phpfs.com/page/2' class='inactive' >2</a><a href='https://blog.phpfs.com/page/3' class='inactive' >3</a><a href='https://blog.phpfs.com/page/2'>&rsaquo;</a><a href='https://blog.phpfs.com/page/62'>&raquo;</a></nav></div>

			
			</div><!-- #content -->
			<div id="primary" class="widget-area" role="complementary">
		
				
				
			<ul class="xoxo">
				<li id="search-5" class="widget-container widget_search"><h3 class="widget-title">搜索</h3><form method="get" id="searchform" action="https://blog.phpfs.com/">
	<input type="text" value="Search" name="s" id="s" onblur="if (this.value == '') {this.value = 'Search';}" onfocus="if (this.value == 'Search') {this.value = '';}" />
	<input type="submit" id="searchsubmit" value="OK" />
</form></li><li id="tag_cloud-4" class="widget-container widget_tag_cloud"><h3 class="widget-title">标签</h3><div class="tagcloud"><a href='https://blog.phpfs.com/archives/tag/android' class='tag-link-473 tag-link-position-1' title='15个话题' style='font-size: 14.412213740458pt;'>Android</a>
<a href='https://blog.phpfs.com/archives/tag/apache' class='tag-link-254 tag-link-position-2' title='4个话题' style='font-size: 9.0687022900763pt;'>apache</a>
<a href='https://blog.phpfs.com/archives/tag/c-2' class='tag-link-200 tag-link-position-3' title='8个话题' style='font-size: 11.740458015267pt;'>C</a>
<a href='https://blog.phpfs.com/archives/tag/centos' class='tag-link-248 tag-link-position-4' title='7个话题' style='font-size: 11.206106870229pt;'>Centos</a>
<a href='https://blog.phpfs.com/archives/tag/code%e7%a8%8b%e5%ba%8f%e5%91%98' class='tag-link-201 tag-link-position-5' title='12个话题' style='font-size: 13.450381679389pt;'>Code程序员</a>
<a href='https://blog.phpfs.com/archives/tag/composer' class='tag-link-478 tag-link-position-6' title='4个话题' style='font-size: 9.0687022900763pt;'>composer</a>
<a href='https://blog.phpfs.com/archives/tag/eclipse' class='tag-link-258 tag-link-position-7' title='3个话题' style='font-size: 8pt;'>Eclipse</a>
<a href='https://blog.phpfs.com/archives/tag/elasticsearch' class='tag-link-509 tag-link-position-8' title='10个话题' style='font-size: 12.702290076336pt;'>elasticsearch</a>
<a href='https://blog.phpfs.com/archives/tag/elk' class='tag-link-504 tag-link-position-9' title='14个话题' style='font-size: 14.198473282443pt;'>elk</a>
<a href='https://blog.phpfs.com/archives/tag/es' class='tag-link-545 tag-link-position-10' title='8个话题' style='font-size: 11.740458015267pt;'>es</a>
<a href='https://blog.phpfs.com/archives/tag/input' class='tag-link-515 tag-link-position-11' title='7个话题' style='font-size: 11.206106870229pt;'>input</a>
<a href='https://blog.phpfs.com/archives/tag/javascript' class='tag-link-470 tag-link-position-12' title='17个话题' style='font-size: 15.053435114504pt;'>JavaScript</a>
<a href='https://blog.phpfs.com/archives/tag/js' class='tag-link-190 tag-link-position-13' title='15个话题' style='font-size: 14.412213740458pt;'>js</a>
<a href='https://blog.phpfs.com/archives/tag/lamp' class='tag-link-224 tag-link-position-14' title='4个话题' style='font-size: 9.0687022900763pt;'>LAMP</a>
<a href='https://blog.phpfs.com/archives/tag/laravel' class='tag-link-479 tag-link-position-15' title='9个话题' style='font-size: 12.274809160305pt;'>laravel</a>
<a href='https://blog.phpfs.com/archives/tag/linux-2' class='tag-link-210 tag-link-position-16' title='25个话题' style='font-size: 16.656488549618pt;'>linux</a>
<a href='https://blog.phpfs.com/archives/tag/linux%e5%91%bd%e4%bb%a4' class='tag-link-215 tag-link-position-17' title='5个话题' style='font-size: 9.9236641221374pt;'>linux命令</a>
<a href='https://blog.phpfs.com/archives/tag/logstash' class='tag-link-511 tag-link-position-18' title='15个话题' style='font-size: 14.412213740458pt;'>logstash</a>
<a href='https://blog.phpfs.com/archives/tag/mac' class='tag-link-270 tag-link-position-19' title='4个话题' style='font-size: 9.0687022900763pt;'>mac</a>
<a href='https://blog.phpfs.com/archives/tag/mvc' class='tag-link-246 tag-link-position-20' title='15个话题' style='font-size: 14.412213740458pt;'>MVC</a>
<a href='https://blog.phpfs.com/archives/tag/mysql' class='tag-link-204 tag-link-position-21' title='8个话题' style='font-size: 11.740458015267pt;'>mysql</a>
<a href='https://blog.phpfs.com/archives/tag/nginx' class='tag-link-472 tag-link-position-22' title='7个话题' style='font-size: 11.206106870229pt;'>Nginx</a>
<a href='https://blog.phpfs.com/archives/tag/oop' class='tag-link-247 tag-link-position-23' title='14个话题' style='font-size: 14.198473282443pt;'>OOP</a>
<a href='https://blog.phpfs.com/archives/tag/output' class='tag-link-528 tag-link-position-24' title='4个话题' style='font-size: 9.0687022900763pt;'>output</a>
<a href='https://blog.phpfs.com/archives/tag/code-php' class='tag-link-175 tag-link-position-25' title='61个话题' style='font-size: 20.717557251908pt;'>PHP</a>
<a href='https://blog.phpfs.com/archives/tag/php%e7%8e%af%e5%a2%83%e6%90%ad%e5%bb%ba' class='tag-link-226 tag-link-position-26' title='8个话题' style='font-size: 11.740458015267pt;'>PHP环境搭建</a>
<a href='https://blog.phpfs.com/archives/tag/python-2' class='tag-link-292 tag-link-position-27' title='7个话题' style='font-size: 11.206106870229pt;'>python</a>
<a href='https://blog.phpfs.com/archives/tag/redis-2' class='tag-link-311 tag-link-position-28' title='5个话题' style='font-size: 9.9236641221374pt;'>redis</a>
<a href='https://blog.phpfs.com/archives/tag/sort-2' class='tag-link-422 tag-link-position-29' title='5个话题' style='font-size: 9.9236641221374pt;'>sort</a>
<a href='https://blog.phpfs.com/archives/tag/thinkphp-2' class='tag-link-245 tag-link-position-30' title='16个话题' style='font-size: 14.732824427481pt;'>thinkphp</a>
<a href='https://blog.phpfs.com/archives/tag/ubuntu' class='tag-link-214 tag-link-position-31' title='8个话题' style='font-size: 11.740458015267pt;'>Ubuntu</a>
<a href='https://blog.phpfs.com/archives/tag/wordpress' class='tag-link-199 tag-link-position-32' title='4个话题' style='font-size: 9.0687022900763pt;'>WordPress</a>
<a href='https://blog.phpfs.com/archives/tag/zend-framework-2' class='tag-link-189 tag-link-position-33' title='12个话题' style='font-size: 13.450381679389pt;'>Zend Framework</a>
<a href='https://blog.phpfs.com/archives/tag/zf' class='tag-link-195 tag-link-position-34' title='6个话题' style='font-size: 10.671755725191pt;'>zf</a>
<a href='https://blog.phpfs.com/archives/tag/%e6%90%9c%e7%b4%a2%e5%bc%95%e6%93%8e' class='tag-link-506 tag-link-position-35' title='4个话题' style='font-size: 9.0687022900763pt;'>搜索引擎</a>
<a href='https://blog.phpfs.com/archives/tag/%e6%95%99%e7%a8%8b' class='tag-link-194 tag-link-position-36' title='23个话题' style='font-size: 16.335877862595pt;'>教程</a>
<a href='https://blog.phpfs.com/archives/tag/%e6%95%b0%e6%8d%ae%e5%ba%93' class='tag-link-186 tag-link-position-37' title='5个话题' style='font-size: 9.9236641221374pt;'>数据库</a>
<a href='https://blog.phpfs.com/archives/tag/%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%8a%80%e6%9c%af' class='tag-link-252 tag-link-position-38' title='5个话题' style='font-size: 9.9236641221374pt;'>服务器技术</a>
<a href='https://blog.phpfs.com/archives/tag/%e6%9c%ad%e8%ae%b0' class='tag-link-197 tag-link-position-39' title='5个话题' style='font-size: 9.9236641221374pt;'>札记</a>
<a href='https://blog.phpfs.com/archives/tag/%e7%ae%97%e6%b3%95' class='tag-link-272 tag-link-position-40' title='10个话题' style='font-size: 12.702290076336pt;'>算法</a>
<a href='https://blog.phpfs.com/archives/tag/%e7%bc%96%e7%a8%8b' class='tag-link-202 tag-link-position-41' title='81个话题' style='font-size: 22pt;'>编程</a>
<a href='https://blog.phpfs.com/archives/tag/%e7%bc%96%e7%a8%8b%e5%b7%a5%e5%85%b7' class='tag-link-208 tag-link-position-42' title='7个话题' style='font-size: 11.206106870229pt;'>编程工具</a>
<a href='https://blog.phpfs.com/archives/tag/%e8%a7%a6%e5%8f%91%e5%99%a8' class='tag-link-241 tag-link-position-43' title='3个话题' style='font-size: 8pt;'>触发器</a>
<a href='https://blog.phpfs.com/archives/tag/%e8%b0%83%e8%af%95%e6%8a%80%e5%b7%a7' class='tag-link-187 tag-link-position-44' title='3个话题' style='font-size: 8pt;'>调试技巧</a>
<a href='https://blog.phpfs.com/archives/tag/%e9%9d%a2%e8%af%95' class='tag-link-221 tag-link-position-45' title='3个话题' style='font-size: 8pt;'>面试</a></div>
</li>		<li id="recent-posts-4" class="widget-container widget_recent_entries">		<h3 class="widget-title">近期文章</h3>		<ul>
					<li>
				<a href="https://blog.phpfs.com/archives/2772.html">composer使用私有仓库</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2768.html">composer开发的一些坑</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2766.html">开发属于自己的composer</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2761.html">phpspec入门</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2759.html">phpspec安装</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2755.html">Lumen5.X使用频率限制组件笔记</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2753.html">php中的generator和yield</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2751.html">composer使用笔记</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2741.html">负载均衡知识汇总</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2734.html">GO获取表单元素</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2731.html">Go操作MySQL示例【转】</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2729.html">Go命令介绍</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2726.html">ES中的索引管理</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2724.html">ES中的分布式搜索</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2722.html">ES中的排序</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2720.html">ES中的查询</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2717.html">ES的映射和分析</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2712.html">Elasticsearch的索引、分片、文档、副本</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2710.html">Elasticsearch学习搜索的笔记</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2708.html">Elasticsearch的CRUD操作</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2705.html">领域专用语言(DSL)和通用编程语言(GPL)</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2702.html">倒排索引</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2700.html">存储过程</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2697.html">logstash插件推荐</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2695.html">logstash配置output到exec</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2693.html">logstash安装插件</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2691.html">logstash配置output到redis</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2689.html">logstash配置output到Elasticsearch</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2686.html">logstash配置codec插件-多行模式</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2684.html">logstash配置codec插件-JSON模式</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2682.html">logstash之input配置collectd类型详解</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2678.html">Collectd安装客户端</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2676.html">Collectd介绍</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2673.html">Ubuntu内核优化</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2670.html">logstash之input配置redis类型详解</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2668.html">logstash之input配置syslog类型详解</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2666.html">logstash之input配置generator类型详解</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2664.html">logstash之input配置stdin类型详解</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2661.html">logstash之input配置file类型详解</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2659.html">Logstash启动测试</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2654.html">Supervisor管理ELK</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2650.html">Linux调整Swap大小</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2648.html">vagrant配置多个虚拟机</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2644.html">Logstash配置详解</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2642.html">Kibana配置和启动</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2640.html">Kibana配置详解</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2628.html">Elasticsearch配置</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2626.html">Lucenu和Sphinx介绍</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2624.html">Ubuntu安装ELK</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2622.html">Ubuntu代理下安装软件</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2613.html">supervisor管理界面</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2607.html">supervisor安装和使用</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2604.html">Laravel队列使用案例</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2602.html">Laravle Queue命令</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2586.html">Nginx配置proxy_cookie_domain</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2581.html">IPTABLES命令收藏</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2579.html">Vagrant挂载目录失败mount: unknown filesystem type &#8216;vboxsf&#8217;</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2576.html">Laravel  权限控制基础之Gate 和Policy</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2574.html">Laravel :notification使用笔记</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2572.html">Laravel Migrate修改表和创建表</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2569.html">Laravel middleware中间件</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2567.html">Laravle Job 案例</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2565.html">Laravel Command命令行</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2563.html">Laravel Event和Listener</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2561.html">artisan详解一</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2557.html">Larave  php artisan 命令集</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2554.html">MYSQL死锁问题</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2550.html">GIT错误</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2547.html">PHP7特性</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2544.html">Ubuntu14.04安装php7</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2541.html">get_cfg_var 函数使用</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2538.html">Laravel笔记</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2536.html">Laravel 辅助函数</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2534.html">composer update提示killed解决办法</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2532.html">PHP Storm 支持Laravel语法提示</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2530.html">PHP Warning:  proc_open(): fork failed</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2519.html">异步记录PHP日志</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2516.html">nginx配置Symfony</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2510.html">Egret之List使用示例</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2508.html">ArrayCollection使用说明</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2505.html">Egret语法DataGroup使用案例</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2502.html">TS调用JS方法</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2500.html">egret自定义loadingUI</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2498.html">mac执行vagrant命令报错</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2486.html">nginx搭建wordpress</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2483.html">vagrant解决 Warning: Authentication failure. Retrying.</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2478.html">Vagrant搭建Linux环境</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2475.html">Ubuntu 下安装 Yar 扩展遇到的问题以及解决方案</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2472.html">Ubuntu安装Samba</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2469.html">MySQL主从故障解决</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2466.html">Git常用操作</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2464.html">git还原操作git reset、git revert和git checkout区别</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2462.html">配置phpmyadmin管理多个server</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2457.html">关闭Ubuntu提示欢迎语</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2453.html">上拉加载更多</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2449.html">NodeJS操作Mysql示例</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2447.html">代理Node服务器</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2445.html">NodeJs当中module.exports和exports的区别</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2441.html">NodeJS操作Redis</a>
						</li>
					<li>
				<a href="https://blog.phpfs.com/archives/2436.html">同步文件Rsync命令</a>
						</li>
				</ul>
		</li>		<li id="archives-6" class="widget-container widget_archive"><h3 class="widget-title">文章归档</h3>		<ul>
			<li><a href='https://blog.phpfs.com/archives/date/2017/07'>2017年七月</a>&nbsp;(8)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2017/06'>2017年六月</a>&nbsp;(44)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2017/05'>2017年五月</a>&nbsp;(2)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2017/04'>2017年四月</a>&nbsp;(3)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2017/03'>2017年三月</a>&nbsp;(19)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2017/01'>2017年一月</a>&nbsp;(8)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2016/11'>2016年十一月</a>&nbsp;(5)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2016/10'>2016年十月</a>&nbsp;(1)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2016/09'>2016年九月</a>&nbsp;(9)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2016/08'>2016年八月</a>&nbsp;(6)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2016/07'>2016年七月</a>&nbsp;(10)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2016/06'>2016年六月</a>&nbsp;(13)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2016/05'>2016年五月</a>&nbsp;(12)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2016/04'>2016年四月</a>&nbsp;(11)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2016/03'>2016年三月</a>&nbsp;(7)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2016/02'>2016年二月</a>&nbsp;(1)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2016/01'>2016年一月</a>&nbsp;(3)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2015/11'>2015年十一月</a>&nbsp;(1)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2015/09'>2015年九月</a>&nbsp;(1)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2015/08'>2015年八月</a>&nbsp;(2)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2015/07'>2015年七月</a>&nbsp;(3)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2015/06'>2015年六月</a>&nbsp;(7)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2015/05'>2015年五月</a>&nbsp;(5)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2015/04'>2015年四月</a>&nbsp;(4)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2015/03'>2015年三月</a>&nbsp;(2)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2015/02'>2015年二月</a>&nbsp;(3)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2015/01'>2015年一月</a>&nbsp;(2)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/12'>2014年十二月</a>&nbsp;(3)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/11'>2014年十一月</a>&nbsp;(12)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/10'>2014年十月</a>&nbsp;(1)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/09'>2014年九月</a>&nbsp;(15)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/08'>2014年八月</a>&nbsp;(4)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/07'>2014年七月</a>&nbsp;(12)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/06'>2014年六月</a>&nbsp;(15)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/05'>2014年五月</a>&nbsp;(2)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/04'>2014年四月</a>&nbsp;(5)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/03'>2014年三月</a>&nbsp;(4)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/02'>2014年二月</a>&nbsp;(1)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2014/01'>2014年一月</a>&nbsp;(4)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/12'>2013年十二月</a>&nbsp;(7)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/11'>2013年十一月</a>&nbsp;(11)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/10'>2013年十月</a>&nbsp;(10)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/09'>2013年九月</a>&nbsp;(21)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/08'>2013年八月</a>&nbsp;(6)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/07'>2013年七月</a>&nbsp;(11)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/06'>2013年六月</a>&nbsp;(2)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/05'>2013年五月</a>&nbsp;(6)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/04'>2013年四月</a>&nbsp;(11)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/03'>2013年三月</a>&nbsp;(19)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/02'>2013年二月</a>&nbsp;(10)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2013/01'>2013年一月</a>&nbsp;(15)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/12'>2012年十二月</a>&nbsp;(24)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/11'>2012年十一月</a>&nbsp;(9)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/10'>2012年十月</a>&nbsp;(11)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/09'>2012年九月</a>&nbsp;(6)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/08'>2012年八月</a>&nbsp;(24)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/07'>2012年七月</a>&nbsp;(17)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/06'>2012年六月</a>&nbsp;(7)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/05'>2012年五月</a>&nbsp;(27)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/04'>2012年四月</a>&nbsp;(7)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/03'>2012年三月</a>&nbsp;(17)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/02'>2012年二月</a>&nbsp;(4)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2012/01'>2012年一月</a>&nbsp;(3)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2011/11'>2011年十一月</a>&nbsp;(17)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2011/10'>2011年十月</a>&nbsp;(2)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2011/09'>2011年九月</a>&nbsp;(13)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2011/08'>2011年八月</a>&nbsp;(7)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2011/07'>2011年七月</a>&nbsp;(9)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2011/06'>2011年六月</a>&nbsp;(1)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2011/05'>2011年五月</a>&nbsp;(7)</li>
	<li><a href='https://blog.phpfs.com/archives/date/2011/04'>2011年四月</a>&nbsp;(8)</li>
		</ul>
		</li><li id="categories-3" class="widget-container widget_categories"><h3 class="widget-title">分类目录</h3>		<ul>
	<li class="cat-item cat-item-122"><a href="https://blog.phpfs.com/archives/category/algorithm" title="算法进阶">Algorithm</a> (14)
<ul class='children'>
	<li class="cat-item cat-item-420"><a href="https://blog.phpfs.com/archives/category/algorithm/search" title="搜索">Search</a> (1)
</li>
	<li class="cat-item cat-item-419"><a href="https://blog.phpfs.com/archives/category/algorithm/sort" title="排序算法
交互排序:冒泡排序,鸡尾酒排序,奇偶排序,梳排序,侏儒排序,快速排序,臭皮匠排序,Bogo排序
选择排序:选择排序,堆排序,平滑排序,笛卡尔树排序,锦标赛排序,圈排序
插入排序:插入排序,希尔排序,伸展排序,二叉查找树排序,图书馆排序,耐心排序
归并排序:归并排序,梯级归并排序,,震荡归并排序,多相归并排序,列表排序
分布排序:美国旗帜排序,珠排序,桶排序,爆炸排序,计数排序,鸽巢排序,相邻图排序,基数排序,闪电排序,插值排序
并发排序:双调排序,Batcher归并网络,两两排序网络
混合排序:区块排序,TIM排序,内省排序,Spread排序,J排序
其他:拓扑排序,煎饼排序,意粉排序
">Sort</a> (6)
</li>
</ul>
</li>
	<li class="cat-item cat-item-402"><a href="https://blog.phpfs.com/archives/category/big-data" title="大数据  搜索  日志分析">BIG</a> (13)
<ul class='children'>
	<li class="cat-item cat-item-533"><a href="https://blog.phpfs.com/archives/category/big-data/for-search" >Search</a> (13)
	<ul class='children'>
	<li class="cat-item cat-item-534"><a href="https://blog.phpfs.com/archives/category/big-data/for-search/es" >Elasticsearch</a> (10)
</li>
	<li class="cat-item cat-item-535"><a href="https://blog.phpfs.com/archives/category/big-data/for-search/solr" >Solr</a> (1)
</li>
	</ul>
</li>
</ul>
</li>
	<li class="cat-item cat-item-34"><a href="https://blog.phpfs.com/archives/category/db" title="database">DB</a> (39)
<ul class='children'>
	<li class="cat-item cat-item-93"><a href="https://blog.phpfs.com/archives/category/db/mysql-database" >MySQL</a> (24)
</li>
</ul>
</li>
	<li class="cat-item cat-item-407"><a href="https://blog.phpfs.com/archives/category/engineer" title="工程师">Engineer</a> (360)
<ul class='children'>
	<li class="cat-item cat-item-257"><a href="https://blog.phpfs.com/archives/category/engineer/android" title="安卓开发">Android</a> (32)
</li>
	<li class="cat-item cat-item-151"><a href="https://blog.phpfs.com/archives/category/engineer/c" title="c&amp;c++">C/C++</a> (10)
</li>
	<li class="cat-item cat-item-469"><a href="https://blog.phpfs.com/archives/category/engineer/egret" >Egret</a> (5)
</li>
	<li class="cat-item cat-item-554"><a href="https://blog.phpfs.com/archives/category/engineer/go" >Go</a> (3)
</li>
	<li class="cat-item cat-item-411"><a href="https://blog.phpfs.com/archives/category/engineer/html-engineer" title="html css div html5">HTML</a> (2)
</li>
	<li class="cat-item cat-item-283"><a href="https://blog.phpfs.com/archives/category/engineer/ios%e5%bc%80%e5%8f%91" >IOS</a> (3)
</li>
	<li class="cat-item cat-item-60"><a href="https://blog.phpfs.com/archives/category/engineer/javascript" title="javascript">JavaScript</a> (25)
</li>
	<li class="cat-item cat-item-358"><a href="https://blog.phpfs.com/archives/category/engineer/nodejs" title="nodejs">Nodejs</a> (13)
</li>
	<li class="cat-item cat-item-14"><a href="https://blog.phpfs.com/archives/category/engineer/php" title="phper">PHP</a> (256)
	<ul class='children'>
	<li class="cat-item cat-item-357"><a href="https://blog.phpfs.com/archives/category/engineer/php/codeigniter" >Codeigniter</a> (3)
</li>
	<li class="cat-item cat-item-476"><a href="https://blog.phpfs.com/archives/category/engineer/php/composer" >Composer</a> (6)
</li>
	<li class="cat-item cat-item-477"><a href="https://blog.phpfs.com/archives/category/engineer/php/laravel" >Laravel</a> (16)
</li>
	<li class="cat-item cat-item-566"><a href="https://blog.phpfs.com/archives/category/engineer/php/phpspec" >PHPspec</a> (2)
</li>
	<li class="cat-item cat-item-75"><a href="https://blog.phpfs.com/archives/category/engineer/php/php%e5%91%a8%e8%be%b9" >PHP周边</a> (84)
</li>
	<li class="cat-item cat-item-387"><a href="https://blog.phpfs.com/archives/category/engineer/php/swoole" >Swoole</a> (1)
</li>
	<li class="cat-item cat-item-399"><a href="https://blog.phpfs.com/archives/category/engineer/php/sf" title="Symfony">Symfony</a> (1)
</li>
	<li class="cat-item cat-item-77"><a href="https://blog.phpfs.com/archives/category/engineer/php/thinkphp" >ThinkPHP</a> (23)
</li>
	<li class="cat-item cat-item-442"><a href="https://blog.phpfs.com/archives/category/engineer/php/workerman" >WorkerMan</a> (3)
</li>
	<li class="cat-item cat-item-364"><a href="https://blog.phpfs.com/archives/category/engineer/php/yii" >YII</a> (3)
</li>
	<li class="cat-item cat-item-143"><a href="https://blog.phpfs.com/archives/category/engineer/php/zend-framework" >Zend FrameWork</a> (16)
</li>
	</ul>
</li>
	<li class="cat-item cat-item-291"><a href="https://blog.phpfs.com/archives/category/engineer/python" >Python</a> (13)
</li>
</ul>
</li>
	<li class="cat-item cat-item-1"><a href="https://blog.phpfs.com/archives/category/it" title="it生活">IT</a> (46)
</li>
	<li class="cat-item cat-item-12"><a href="https://blog.phpfs.com/archives/category/linux" title="操作系统">LINUX</a> (100)
<ul class='children'>
	<li class="cat-item cat-item-380"><a href="https://blog.phpfs.com/archives/category/linux/awk" title="强大">AWK</a> (3)
</li>
	<li class="cat-item cat-item-382"><a href="https://blog.phpfs.com/archives/category/linux/iptables" title="iptables">Iptables</a> (2)
</li>
	<li class="cat-item cat-item-337"><a href="https://blog.phpfs.com/archives/category/linux/shell" >Shell</a> (9)
</li>
</ul>
</li>
	<li class="cat-item cat-item-269"><a href="https://blog.phpfs.com/archives/category/mac-os" title="mac os">MAC OS</a> (11)
</li>
	<li class="cat-item cat-item-406"><a href="https://blog.phpfs.com/archives/category/nosql-2" title="nosql,cache">NoSQL</a> (5)
<ul class='children'>
	<li class="cat-item cat-item-408"><a href="https://blog.phpfs.com/archives/category/nosql-2/memcache-nosql-2" title="memcache">Memcache</a> (1)
</li>
	<li class="cat-item cat-item-310"><a href="https://blog.phpfs.com/archives/category/nosql-2/redis" title="nosql&amp;cache">Redis</a> (5)
</li>
</ul>
</li>
	<li class="cat-item cat-item-374"><a href="https://blog.phpfs.com/archives/category/server" >Server</a> (25)
<ul class='children'>
	<li class="cat-item cat-item-309"><a href="https://blog.phpfs.com/archives/category/server/apache-php" >Apache</a> (11)
</li>
	<li class="cat-item cat-item-255"><a href="https://blog.phpfs.com/archives/category/server/nginx" title="nginx的点点滴滴">Nginx</a> (17)
</li>
</ul>
</li>
	<li class="cat-item cat-item-405"><a href="https://blog.phpfs.com/archives/category/tools" title="工具">Tools</a> (40)
<ul class='children'>
	<li class="cat-item cat-item-383"><a href="https://blog.phpfs.com/archives/category/tools/docker" title="docker">Docker</a> (2)
</li>
	<li class="cat-item cat-item-503"><a href="https://blog.phpfs.com/archives/category/tools/elk" >ELK</a> (20)
</li>
	<li class="cat-item cat-item-410"><a href="https://blog.phpfs.com/archives/category/tools/git" title="git">Git</a> (3)
</li>
	<li class="cat-item cat-item-369"><a href="https://blog.phpfs.com/archives/category/tools/redmine2" title="项目管理">Redmine</a> (2)
</li>
	<li class="cat-item cat-item-500"><a href="https://blog.phpfs.com/archives/category/tools/supervisor" >Supervisor</a> (3)
</li>
	<li class="cat-item cat-item-232"><a href="https://blog.phpfs.com/archives/category/tools/svb" title="svb">SVN</a> (4)
</li>
	<li class="cat-item cat-item-468"><a href="https://blog.phpfs.com/archives/category/tools/vagrant-tools" >Vagrant</a> (3)
</li>
</ul>
</li>
		</ul>
</li><li id="linkcat-19" class="widget-container widget_links"><h3 class="widget-title">友情链接</h3>
	<ul class='xoxo blogroll'>
<li><a href="http://www.hceasy.com/" target="_blank">hceasy</a></li>
<li><a href="https://portal.qiniu.com/signup?code=3lewbmyjmassx">七牛云存储</a></li>
<li><a href="http://www.xpfanli.com/" target="_blank">最大化返利网</a></li>
<li><a href="http://tb.cn/sI3Hw6x" target="_blank">阿里云云大师</a></li>

	</ul>
</li>
			</ul>

			<ul class="xoxo">
							</ul>
			
			
						
		</div><!-- #primary .widget-area -->

 <!-- 1c -->		</section><!-- #container -->
	<div style="clear:both;"></div>

	</div> <!-- #forbottom -->
	</div><!-- #main -->


	<footer id="footer" role="contentinfo">
		<div id="colophon">
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?e799fb835a03d6481d5ccbae6d768485";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>


			
			
		</div><!-- #colophon -->

		<div id="footer2">
		
				<div style="text-align:center;clear:both;padding-top:4px;" >
		<a href="https://blog.phpfs.com/" title="Joyous&#8212;快乐由此开始" rel="home">
			Joyous&#8212;快乐由此开始</a> 
    	
    </div><!-- #site-info -->
			
		</div><!-- #footer2 -->

	</footer><!-- #footer -->

</div><!-- #wrapper -->


<p style="margin:0;padding:0;height:1px;overflow:hidden;">
    <script type="text/javascript"><!--
        var wumiiSitePrefix = "https://blog.phpfs.com";
        var wumiiEnableCustomPos = false;
        var wumiiParams = "&num=10&mode=3&displayInFeed=1&version=1.0.5.7&pf=WordPress4.7.5";
        var wumiiCategories = ["Composer"];
    //--></script><script type="text/javascript" src="http://widget.wumii.cn/ext/relatedItemsWidget"></script><a href="http://www.wumii.com/widget/relatedItems" style="border:0;"><img src="http://static.wumii.cn/images/pixel.png" alt="无觅相关文章插件,快速提升流量" style="border:0;padding:0;margin:0;" /></a>
</p><link rel='stylesheet' id='mantra-mobile-css'  href='https://blog.phpfs.com/wp-content/themes/mantra/style-mobile.css?ver=2.6.1' type='text/css' media='all' />
<script type='text/javascript' src='https://blog.phpfs.com/wp-includes/js/wp-embed.min.js?ver=4.7.5'></script>

</body>
</html>
							
								HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Mon, 24 Jul 2017 11:46:46 GMT
Content-Type: text/html
Content-Length: 154
Connection: keep-alive
Location: https://blog.phpfs.com/

HTTP/1.1 200 OK
Server: nginx
Date: Mon, 24 Jul 2017 11:46:46 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Link: <https://blog.phpfs.com/wp-json/>; rel="https://api.w.org/"
Content-Encoding: gzip

							

WHOIS信息

  • 注册人:
    YinSi BaoHu Yi KaiQi (Hidden by Whois Privacy Protection Service)
  • 注册邮箱:
    YuMing@YinSiBaoHu.AliYun.com
  • 注册商:
    HICHINA ZHICHENG TECHNOLOGY LTD.
  • 创建时间:
    2012-12-27
  • 更新时间:
    2016-07-08
  • 过期时间:
    2017-12-27
  • NS服务器:
    f1g1ns1.dnspod.net
  • NS服务器:
    f1g1ns2.dnspod.net
  • 详细信息

服务器IP

随机推荐