美文网首页
【输入输出】27周[0701-0705]

【输入输出】27周[0701-0705]

作者: 言十年 | 来源:发表于2019-07-09 13:32 被阅读0次

拾人牙慧,感谢

输入

阅读专栏《邱岳的产品手记》,25%。阅读动机:以前不太重视产品,现在要重视产品与业务了。周末团建,有时间看了看。

输出

一篇《遇到bug后合理对待》https://www.jianshu.com/p/37971dac31e8

一周三个算法题,中断一次。脑子也不够用了。

收获

代码

1.scan的正确用法

image.png

命令与工具

1.HTTP响应可视化测试工具-httpstat https://www.lianst.com/3226.html

2.goreplay-使用真实流量测试你的应用 https://www.jianshu.com/p/858b5099a193

3.检查合并冲突

下面的shell 函数,可以放到/etc/profile 或者./bashrc 等等

st2 () {
  for x in $(git diff -w $@|grep 'diff --git'|awk '{print $3}'|sed 's/a\///'|sort|uniq)
  do
    php -l $x
    cat $x | grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} '>>>>>>>>\|<<<<<<<'
  done
}
st2 release

4.好用的php在线工具http://www.dooccn.com/php/

5.代码审查的方式

phplint https://segmentfault.com/q/1010000000119048

sourcetree里: 动作->查看选中的修改项目.可以看单个文件的修改记录

另,php 常用代码类库https://www.21doc.net/php/awesomephp#Templating

相关文章

网友评论

      本文标题:【输入输出】27周[0701-0705]

      本文链接:https://www.haomeiwen.com/subject/wshxkctx.html