码迷,mamicode.com
首页 >  
搜索关键字:diff patch    ( 4162个结果
git shell 应用
1 linux git shell使用 1.1 git 安装 一般的linux发行套件都是自带git工具的,如果不带,则使用yum安装即可 1.2 git 配置 用户名和邮箱配置,方便与仓库间做交互时候标记来源,即自报家门 以下为全局配置,该用户做如下配置后,该用户下的所有操作均会标记这两个用户属性 ...
分类:系统相关   时间:2018-12-11 16:04:21    阅读次数:194
Servlet初始化与异步支持
Shared libraries(共享库) / runtimes pluggability(运行时插件能力) 1、Servlet容器启动会扫描,当前应用里面每一个jar包的 ServletContainerInitializer的实现2、提供ServletContainerInitializer的实 ...
分类:其他好文   时间:2018-12-11 11:15:25    阅读次数:191
git merge 单一文件
两个分支A、B 想要合并A的某个文件file.txt至分支B,如果使用git merge命令,会将整个A分支都合并到B 如果只想合并某一个文件,应该使用git checkout -p(--patch) git checkout -p A file.txt 注:分支A可以是远程的分支,也可以是本地分支 ...
分类:其他好文   时间:2018-12-10 19:38:08    阅读次数:177
接口测试系列:工作中所用(六:测试套件)
测试套件文件下的testcase import importlib import sys, time, unittest from gevent import os import os from common import file_util, BSTestRunner from testcases ...
分类:其他好文   时间:2018-12-10 15:36:58    阅读次数:184
UVa-1604 Cubic Eight-Puzzle
这是一份单向BFS一定会T的代码,挖坑等写完双向bfs再贴代码 用优先队列改了改,加了个减枝,10秒内能出单个样例了,但肯定还是T没跑 ...
分类:其他好文   时间:2018-12-10 11:37:18    阅读次数:143
Python3教程之集合
集合(set)是一个无序的不重复元素序列。集合(set)是由一个或数个形态各异的大小整体组成的,构成集合的事物或对象称作元素或是成员。基本功能是进行成员关系测试和删除重复元素。可以使用大括号 { } 或者 set() 函数创建集合,注意:创建一个空集合必须用 set() 而不是 { },因为 { }... ...
分类:编程语言   时间:2018-12-09 23:01:22    阅读次数:261
PE-6 Sum square difference
package main import "fmt" func main() { sum := 0 sum2 := 0 for i := 1; i <= 100; i++ { sum += i sum2 += i * i } fmt.Println(sum*sum - sum2) } 结果:25164 ...
分类:其他好文   时间:2018-12-09 20:39:19    阅读次数:144
restful 规范
restful 规范 根据method不同,进行不同操作 GET/POST/PUT/DELETE/PATCH 面向资源编程 https://www.xxx.com/books 体现版本 https://www.xxx.com/v1/books 体现是api https://www.xxx.com/a ...
分类:其他好文   时间:2018-12-08 17:04:59    阅读次数:118
Equal Cut
Equal Cut 题目描述 Snuke has an integer sequence A of length N. He will make three cuts in A and divide it into four (non empty) contiguous subsequences B ...
分类:其他好文   时间:2018-12-06 20:21:32    阅读次数:146
LeetCode 563. Binary Tree Tilt
Given a binary tree, return the tilt of the whole tree. The tilt of a tree node is defined as the absolute difference between the sum of all left subt ...
分类:其他好文   时间:2018-12-05 22:55:49    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!