摘要: 删除远程分支命令 $ git push origin :remote_branch 或者 $ git push origin --delete remote_branch 阅读全文
posted @ 2017-11-08 10:11 涉谷猫猫 阅读(108) 评论(0) 推荐(0) 编辑
摘要: function git-branch-name { git symbolic-ref HEAD 2>/dev/null | cut -d"/" -f 3 } function git-branch-prompt { local branch=`git-branch-name` if [ $bran 阅读全文
posted @ 2017-11-08 10:08 涉谷猫猫 阅读(2083) 评论(0) 推荐(0) 编辑
摘要: Bootstrap栅格系统一行最多12列,如果想设置两列可以 1 2 3 4 <div class="container"> <div class="col-md-8"></div> <div class="col-md-4"></div> </div> <div class="container" 阅读全文
posted @ 2017-11-07 16:41 涉谷猫猫 阅读(100) 评论(0) 推荐(0) 编辑
摘要: angularJS 指令函数传递参数必须用JSON格式 angularJS = 传递参数必须用JSON对象,否则无法应用 阅读全文
posted @ 2017-11-03 18:49 涉谷猫猫 阅读(98) 评论(0) 推荐(0) 编辑
摘要: $rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) 阅读全文
posted @ 2017-11-01 15:42 涉谷猫猫 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: git log --since="Oct 27 9:16:10 2017 +0800" --pretty=oneline | wc -l 阅读全文
posted @ 2017-10-27 17:32 涉谷猫猫 阅读(4711) 评论(0) 推荐(0) 编辑
摘要: //创建查询条件数据对象 Customer customer = new Customer(); customer.setAddress("河南省郑州市"); customer.setFocus(true); //创建实例 Example<Customer> ex = Example.of(cust 阅读全文
posted @ 2017-10-27 16:59 涉谷猫猫 阅读(1900) 评论(0) 推荐(0) 编辑
摘要: @PostMapping(path = "/register", produces={MediaType.APPLICATION_JSON_VALUE, MediaType.TEXT_PLAIN_VALUE}) 阅读全文
posted @ 2017-10-27 10:48 涉谷猫猫 阅读(627) 评论(0) 推荐(0) 编辑
摘要: %s: 普通字符串 %q: 引号包含字符串 %x, %o, %b: 十六进制,8进制,2进制 %t: bool值 %d decimal integer %v any value in a natural format %T: type of any value %% literal percent 阅读全文
posted @ 2017-10-26 22:54 涉谷猫猫 阅读(3149) 评论(0) 推荐(0) 编辑
摘要: byte[] buff = new byte[1024];BufferedInputStream bis = null;OutputStream os = null;try { os = res.getOutputStream(); bis = new BufferedInputStream(new 阅读全文
posted @ 2017-10-26 15:21 涉谷猫猫 阅读(150) 评论(0) 推荐(0) 编辑