git 常用命令

git:

git pull

git branch

git clone

git checkout -b f_  origin/f_

git push

git merge

git rebase 

git checkout -d f_  origin/f_

 

git tag -a v1.0.2 -m "v1.0.2"

git push --tag

df -hi 

df -h

 

svn: 

代码评审流程及命令:

svn log --stop-on-copy  http://svn1.360buy-develop.com/repos1/pop-vender/pop-vender-illegal/branches/20150327_xujiajiaoyi

chcp 65001

svn diff -r  2947:2989 http://svn1.360buy-develop.com/repos1/pop-vender/pop-vender-illegal/branches/20150327_xujiajiaoyi > 0403.diff

notepad 0403.diff 

 

============================================================

设置Tomcat编码

 

<Connector 

        port="8080" 

        maxThreads="150" 

        minSpareThreads="25" maxSpareThreads="75" 

        enableLookups="false" 

        redirectPort="8443" 

        acceptCount="100" 

        debug="0" 

        connectionTimeout="20000" 

        disableUploadTimeout="true" 

        URIEncoding="GBK"  

/> 

  

 

http://projects.spring.io/spring-boot/ 的网站

 

现在spring的例子全部用spring-boot来写了:

http://spring.io/guides

 

权限中心框架的代码: 

http://source.jd.com/app/micro-soa-center/blob/master/README.md

 

spring boot:

https://start.spring.io/

 

springboot使得框架搭建简单只是他的一个小功能,他的主要目的是构建一个微服务框架,

只有让微服务的搭建和监控、治理变得非常简单,

大家才会把应用裁成很多小的服务单元(比如商家中心拆成按业务很多个更小的服务中心),

现在已经有一些自动注册和发现服务的中心中间件了

(比如 Eureka Server):http://spring.io/blog/2015/07/14/microservices-with-spring

 

http://www.oschina.net/translate/mockito-a-great-mock-framework-for-java-development

 

单测概念及mockito入门。

 

JBehave,spock,easyb,cucumber  这几个都是BDD的框架

 

bdd的几个比较像,spock目前用的比较多

 

还有一个jbehave,基于UserStory的,到时给大家分享下啊

这条路比较长,前人已经走了很远,很远

 

idea: (IntelliJ IDEA 12.1.4)

IntelliJ IDEA 12.1.4

 idea ctrl + o

 alt + enter  import

 ctrl + alt + H  找方法引用的地方

 ctrl + F12   方法悬浮查找

 ctrl + shift + L 格式化代码快键

 

 idea ctrl + o

 alt + enter  import

 ctrl + alt + H  找方法引用的地方

 ctrl + F12   方法悬浮查找

 

ctrl + shift + f

ctrl +shift + n

 

ctrl + alt + b

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值