码迷,mamicode.com
首页 >  
搜索关键字:diff    ( 2433个结果
git解决冲突方式
Git解决冲突 2.配置git对比工具 #difftool 配置 git config --global diff.tool bc4 git config --global difftool.bc4.cmd "\" C:/Program Files/Beyond Compare 4/bcomp.ex ...
分类:其他好文   时间:2018-10-27 17:41:15    阅读次数:177
week3
___________________________________函数________________________ 返回值 = 0 ,返回 0 返回值 = 1, 返回object 返回值>1 ,返回tuple ''' 日志带日期 ''' def log(a): import time a = ...
分类:其他好文   时间:2018-10-24 22:21:26    阅读次数:158
Leetcode - 693. Binary Number with Alternating Bits
题目为 解题思路: 题设要求判断形如101010的数字,那么如何在复杂度最小的情况下给出算法呢 首先看一下用python解决本题有哪些基本工具。 说到二进制,首先想到的是位运算符号,python的位运算符号有& ^ ~ | >> <<这六种。 先看移位,易发现如果将101010右移一位,则有1010 ...
分类:其他好文   时间:2018-10-24 20:12:17    阅读次数:119
缓存(cache)和缓冲(buffer)区别和实现
缓存和缓冲都是一种数据结构,但是其作用不一样,缓存一般可以用map实现,但是缓存一般应用queue实现。以下对比了两者区别:?参考:https://en.wikipedia.org/wiki/Data_bufferhttps://en.wikipedia.org/wiki/Cache_(computing)http://www.differencebetween.net/technology/ha
分类:系统相关   时间:2018-10-23 18:05:51    阅读次数:199
LeetCode 594. Longest Harmonious Subsequence
We define a harmonious array is an array where the difference between its maximum value and its minimum value is exactly 1. Now, given an integer arra ...
分类:其他好文   时间:2018-10-23 10:58:59    阅读次数:157
sql server 计算两个时间 相差的 几天几时几分几秒
CAST ( CAST ( DATEDIFF ( ss, StartTime, ConcludeTime ) / ( 60 * 60 * 24 ) AS INT ) AS VARCHAR ) + '天' + CAST ( CAST ( DATEDIFF ( ss, StartTime, Conclu... ...
分类:数据库   时间:2018-10-22 20:35:15    阅读次数:309
【技巧】-NO.123.数据处理技巧
Style:Mac Series:Java Since:2018-09-10 End:2018-09-10 Total Hours:1 Degree Of Diffculty:5 Degree Of Mastery:5 Practical Level:5 Desired Goal:5 Archiev ...
分类:其他好文   时间:2018-10-22 15:44:48    阅读次数:159
sublime的python开发环境搭建
1. pip install flake8 -- 设置python的代码分析工具 这个工具有以下功能: 所以当这个工具被很好的集成在Sublime中的时候,对自己写代码会有非常大帮助下面通过把Flake8和Sublime集成起来,而Flake8是非常好的一个工具在python中速度非常快,误报率低, ...
分类:编程语言   时间:2018-10-22 01:06:56    阅读次数:329
[Node.js] Read a File in Node.js with fs.readFile and fs.readFileSync
We'll read a csv file in node.js both synchronously, and asynchronously. The file we're reading is a plain text, utf8 file - but you can also use fs.r ...
分类:Web程序   时间:2018-10-21 10:19:27    阅读次数:217
git进行文件管理
本地使用git 初始化一个Git仓库,使用git init命令。 添加文件到Git仓库,分两步: 第一步,使用命令git add ,注意,可反复多次使用,添加多个文件; 第二步,使用命令git commit,完成。 要随时掌握工作区的状态,使用git status命令。 如果git status告诉 ...
分类:其他好文   时间:2018-10-20 11:01:43    阅读次数:166
2433条   上一页 1 ... 73 74 75 76 77 ... 244 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!