<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[fancivez的专栏]]></title><description><![CDATA[Phper. junior bricklayer]]></description><link>https://blog.csdn.net/fancivez</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; fancivez]]></copyright><item><title><![CDATA[252 (2017年回顾)划水，心得与反思]]></title><link>https://blog.csdn.net/fancivez/article/details/79156487</link><guid>https://blog.csdn.net/fancivez/article/details/79156487</guid><author>fancivez</author><pubDate>Wed, 24 Jan 2018 22:40:50 +0800</pubDate><description><![CDATA[今天整理简历发现已经快1年没有更新博客了，其实技术积累一直在做，只不过现在更偏向于维护在自己的wiki里(编辑和查起来效率更高)；另一方面，大公司实在是太忙了，技术提升不仅靠总结，也更靠读书.




成长


  一方面是技术的成长，一方面是关于流程，沟通以及自我的优化



保持成长的心态和压力下的理性思考
有机会遇到更多问题，积累定位问题的经验(开发和运维层面)
知识面的拓展，认识优秀的人]]></description><category></category></item><item><title><![CDATA[251 ubuntu 跳板机下如何下载文件到本地]]></title><link>https://blog.csdn.net/fancivez/article/details/71192469</link><guid>https://blog.csdn.net/fancivez/article/details/71192469</guid><author>fancivez</author><pubDate>Fri, 05 May 2017 11:01:54 +0800</pubDate><description><![CDATA[传输文件的解决办法：zssh
  在自己的linux机上，如ubuntu等，安装上zssh，先用zssh登陆上跳板机，再在跳板机上ssh到相应服务器，然后ctrl+@,就可以相应上传下载文件了，先记着，后续再补详细资料。
上传本地文件到服务器在服务器上先cd至相应要放上传文件的目录之后rz -bye                 //在远程服务器的相应目录上运行此命令,表示做好接收文件的准备
ct]]></description><category></category></item><item><title><![CDATA[250 ubuntu16.04/oh my zsh 开箱]]></title><link>https://blog.csdn.net/fancivez/article/details/70210233</link><guid>https://blog.csdn.net/fancivez/article/details/70210233</guid><author>fancivez</author><pubDate>Mon, 17 Apr 2017 13:54:49 +0800</pubDate><description><![CDATA[安装sudo apt-get install zsh配置取代bashchsh -s /bin/zshoh my zshsh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"主题vim ~/.zshrc
ZSH_THEME="agnoster" # (t]]></description><category></category></item><item><title><![CDATA[249 atom-输入慢-问题解决]]></title><link>https://blog.csdn.net/fancivez/article/details/62216031</link><guid>https://blog.csdn.net/fancivez/article/details/62216031</guid><author>fancivez</author><pubDate>Wed, 15 Mar 2017 10:01:48 +0800</pubDate><description><![CDATA[atom慢问题解决
  最近在网上找了一波atom插件,然后atom在输入的时候就变得特别慢，类比以下大概是300ping玩魔兽世界,
假设有以下几个怀疑 
- 大文件问题，项目很大导致chromium内核的atom 文件加载慢 
- 插件问题，这个最可疑 
- 其他解决问题针对插件的问题，今天把所有community package都关掉，然后一个一个开并测试输入速度有无变化，发现开了linter]]></description><category></category></item><item><title><![CDATA[248 php7,ubuntu16.04扩展安装 redis,memcached,yar,rdkafka]]></title><link>https://blog.csdn.net/fancivez/article/details/60762991</link><guid>https://blog.csdn.net/fancivez/article/details/60762991</guid><author>fancivez</author><pubDate>Tue, 07 Mar 2017 14:05:15 +0800</pubDate><description><![CDATA[php扩展安装
  本地环境 
  操作系统  : ubuntu16.04 / amd64 
  php 编译安装在 /usr/local/php
redis
下载
Git clone -b php7 https://github.com/phpredis/phpredis.git
安装
# mv phpredis/ /etc/
# cd /etc/phpredis
# phpize
# ./con]]></description><category></category></item><item><title><![CDATA[247 MIT6.828 hw0-shell.c]]></title><link>https://blog.csdn.net/fancivez/article/details/56847523</link><guid>https://blog.csdn.net/fancivez/article/details/56847523</guid><author>fancivez</author><pubDate>Fri, 24 Feb 2017 18:14:00 +0800</pubDate><description><![CDATA[MIT6.828 hw0
  前一阵子面试时候新公司的小领导让我把c的知识捡回来，正好最近在跟MIT的操作系统课程。这篇博客是在网吧写的，中间还打了2盘dota2，女朋友一出差简直为所欲为…
  
  
1.从main开始逻辑很清晰，调用getcmd从stdin获取命令，如果是cd命令，那么使用chdir这个系统调用，否则调用fork1新建子进程，用parsecmd获取命令，并 runcmd执行命令]]></description><category></category></item><item><title><![CDATA[246 重来 - 盘点一下最后一个项目(会员)]]></title><link>https://blog.csdn.net/fancivez/article/details/56602151</link><guid>https://blog.csdn.net/fancivez/article/details/56602151</guid><author>fancivez</author><pubDate>Thu, 23 Feb 2017 02:01:18 +0800</pubDate><description><![CDATA[重来–会员系统
  最近会员系统终于上线，后端从技术选型到逻辑实现大部分由我完成，搞完它总算可以功成身退，安心离职去往新的公司了。今天收拾东西之余盘点一下。
会员系统做了很久，从设计到通用组件开发再到具体业务实现，前后大概花了4个月，首次使用lumen,以及相应一系列工具链，前面推进速度相对缓慢，后面填业务逻辑就效率很高了。做的好的地方
因为读过laravel核心代码所以上手lumen很快而且一点不]]></description><category></category></item><item><title><![CDATA[245 swoole - 1 编译安装PHP7 和 swool]]></title><link>https://blog.csdn.net/fancivez/article/details/55251963</link><guid>https://blog.csdn.net/fancivez/article/details/55251963</guid><author>fancivez</author><pubDate>Thu, 16 Feb 2017 10:05:30 +0800</pubDate><description><![CDATA[目前使用的操作系统版本 ubuntu 16.04
卸载php$ service php7.0-fpm stop
$ sudo apt-get --purge remove php7.0
$ sudo apt-get --purge autoremove安装编译环境sudo apt-get update &&
sudo apt-get install libxml2-dev &&
sudo apt-g]]></description><category></category></item><item><title><![CDATA[244 设计模式 -- 行为型 -- 依赖注入]]></title><link>https://blog.csdn.net/fancivez/article/details/54849716</link><guid>https://blog.csdn.net/fancivez/article/details/54849716</guid><author>fancivez</author><pubDate>Fri, 03 Feb 2017 22:17:31 +0800</pubDate><description><![CDATA[这是之前我写在公司的jira上的关于设计模式的分享，后面会陆续转过来一些不涉及业务的其他文章。




定义


依赖注入（DI），或者控制反转（IOC），可以帮助我们开发出松散耦合的程序，以下stackoverflow高票答案stackoverflow给出的类比。


When you go and get things out of the refrigerator fo]]></description><category></category></item><item><title><![CDATA[233 lumen 自定义console命令]]></title><link>https://blog.csdn.net/fancivez/article/details/54580318</link><guid>https://blog.csdn.net/fancivez/article/details/54580318</guid><author>fancivez</author><pubDate>Tue, 17 Jan 2017 09:52:22 +0800</pubDate><description><![CDATA[最近用 lumen 写服务端api ，因为我在 model 和 controller 之间加了一个抽象层(repository)，所以需要频繁新建不同的 repository，能不能自己定义个 php artisan　make:repository命令来帮助我自行创建呢？
需求]]></description><category></category></item><item><title><![CDATA[232 linux 设置系统别名]]></title><link>https://blog.csdn.net/fancivez/article/details/54571952</link><guid>https://blog.csdn.net/fancivez/article/details/54571952</guid><author>fancivez</author><pubDate>Mon, 16 Jan 2017 10:45:38 +0800</pubDate><description><![CDATA[最近搞一个Django站点，需要经常进入/var/www/site/mycitsm/这个目录，每次都得重复的输入这一长串路径进入该目录，显得麻烦而费时，有没有一种好的方式可以将cd /var/www/site/mycitsm这样一个命令取一个别名，每次只需输入该别名就可以进入该目录呢？
很庆幸，Linux系统提供了一个有用的工具叫alias，可以让我们将一些需要频繁使用的但又过于冗长的命令设置一个别]]></description><category></category></item><item><title><![CDATA[231 php ArrayAccess]]></title><link>https://blog.csdn.net/fancivez/article/details/54375862</link><guid>https://blog.csdn.net/fancivez/article/details/54375862</guid><author>fancivez</author><pubDate>Thu, 12 Jan 2017 10:45:51 +0800</pubDate><description><![CDATA[最近写facade 基类, 有个功能要从 container 里面取组件, facade 里面都是静态调用,但是container 里面都是动态调用,所以要么把container 里面都改成静态的(很麻烦),要么换其他解决方案
ArrayAccess提供像访问数组一样访问对象的能力的接口。ArrayAccess {
/*  检查一个偏移位置是否存在 */
abstract public boolea]]></description><category></category></item><item><title><![CDATA[230 atom-beautify 安装 php-cs-fixer 和 phpcbf]]></title><link>https://blog.csdn.net/fancivez/article/details/54126913</link><guid>https://blog.csdn.net/fancivez/article/details/54126913</guid><author>fancivez</author><pubDate>Fri, 06 Jan 2017 01:30:46 +0800</pubDate><description><![CDATA[atom-beautify 安装 php-cs-fixer 和 phpcbf
  最近装了atom-beautify 插件，结果格式化php脚本时候报错”phpcbf”未安装
通过Composer (Globally)To install PHP CS Fixer, install Composer and issue the following command:$ composer global]]></description><category></category></item><item><title><![CDATA[229 用 composer 管理私有包]]></title><link>https://blog.csdn.net/fancivez/article/details/54093782</link><guid>https://blog.csdn.net/fancivez/article/details/54093782</guid><author>fancivez</author><pubDate>Thu, 05 Jan 2017 15:40:14 +0800</pubDate><description><![CDATA[最近在搭建api脚手架，需要在项目中使用私有的包，只想在公司中重用，但不是真的想开源，不能放在 github 或者 packagist上面。 
  需要引入的包的 git 地址为 testRepo 
  原文地址 ：https://getcomposer.org/doc/articles/handling-private-packages-with-satis.md
修改 testRepotestR]]></description><category></category></item><item><title><![CDATA[228 php array_walk array_filter array_map]]></title><link>https://blog.csdn.net/fancivez/article/details/54091705</link><guid>https://blog.csdn.net/fancivez/article/details/54091705</guid><author>fancivez</author><pubDate>Thu, 05 Jan 2017 11:51:33 +0800</pubDate><description><![CDATA[array_walk  
  array_filter  
  array_map
构建参数$sample = [
    'brand' => ' toyota ',
    'year' => '2010',
    'city' => '  L A'
];array_walk 很类似 foreach ,本身返回 true / false# array_walk(&$input, $funcna]]></description><category></category></item><item><title><![CDATA[226 关于同步、异步、阻塞、非阻塞]]></title><link>https://blog.csdn.net/fancivez/article/details/53836434</link><guid>https://blog.csdn.net/fancivez/article/details/53836434</guid><author>fancivez</author><pubDate>Fri, 23 Dec 2016 10:33:27 +0800</pubDate><description><![CDATA[socket阻塞与非阻塞，同步与异步

原文链接 : http://blog.csdn.net/hguisu/article/details/7453390





1. 概念理解



     在进行网络编程时，我们常常见到同步(Sync)/异步(Async)，阻塞(Block)/非阻塞(Unblock)四种调用方式：




同步/异步主要针对C端: 
]]></description><category></category></item><item><title><![CDATA[225 业务 关于api自动化的思考]]></title><link>https://blog.csdn.net/fancivez/article/details/53817873</link><guid>https://blog.csdn.net/fancivez/article/details/53817873</guid><author>fancivez</author><pubDate>Thu, 22 Dec 2016 17:59:17 +0800</pubDate><description><![CDATA[入职之初就在思考，如何在现有框架下实现 api 开发的自动化，因为只做转发业务重复性太高，如果不抽象出来比较可惜
思路
针对相同的业务做一系列约定(变量、业务步骤) 
应该分离变与不变， 不变的部分应该可以直接生成，变化很少的部分应该可以实现外部登记，变化很多的地方要么暴露接口，要么再作分离
目标
接口应该有通行的解决方案（业务处理步骤）
接口参数应该可以实现可配置
终极目的是为了快速迭代开发
应留]]></description><category></category></item><item><title><![CDATA[224 mysql 设置远程连接权限]]></title><link>https://blog.csdn.net/fancivez/article/details/53815456</link><guid>https://blog.csdn.net/fancivez/article/details/53815456</guid><author>fancivez</author><pubDate>Thu, 22 Dec 2016 15:40:05 +0800</pubDate><description><![CDATA[MySQL设置远程账户登陆总结



1. ERROR 2003 (HY00 1
2. ERROR 1045 (28000): Access denied for user 'test'@'x.x.x.x' (using password: NO)
 1
3. 取回ROOT密码并设置远程登录 2
4. RROR 1062 (23000): Duplicate entry '%-ro]]></description><category></category></item><item><title><![CDATA[223 CS162 刷课指南 -- 第一课]]></title><link>https://blog.csdn.net/fancivez/article/details/53588743</link><guid>https://blog.csdn.net/fancivez/article/details/53588743</guid><author>fancivez</author><pubDate>Mon, 12 Dec 2016 21:29:29 +0800</pubDate><description><![CDATA[最近在ucb的cs162，上来vagrant就挺头大的 
   https://cs162.eecs.berkeley.edu/static/hw/hw0.pdf
vagrant 配置 – ubuntu我家里使用ubuntu 16.04，公司电脑是win10 ，先说ubuntu1.下载vagrant 和 virtualBoxvirtualbox 
vagrantupsudo dpkg -i xxxx]]></description><category></category></item><item><title><![CDATA[222 laravel 服务容器，ServiceProvider，Facade的关系]]></title><link>https://blog.csdn.net/fancivez/article/details/53537488</link><guid>https://blog.csdn.net/fancivez/article/details/53537488</guid><author>fancivez</author><pubDate>Fri, 09 Dec 2016 12:23:56 +0800</pubDate><description><![CDATA[没隔一段时间我就会怀疑自己是否真的用好了laravel 的这几个特性，那么这几个东西究竟是什么关系呢？
概念
服务容器：又称为IOC容器，是 laravel 内部类的组织形式，每个组件通过 bind()（singleton(),instance()）注入其中，再通过make取出
服务提供者：又称为 ServiceProvider ，是为了有序管理组件而提出的概念，实现的时候是通过register()]]></description><category></category></item></channel></rss>