Questions tagged as 'diff'

1
answer

R: Insert date difference into a function for time difference

I found a function made by J.Ahumada and found it super interesting, everything to do with my work. The function is to separate photographic records of a species into a given sample unit (ua) from a desired range of independence. I created an...
asked by 08.05.2016 / 17:32
1
answer

R - How to calculate price variation for different periods and companies?

Hello, I'd like to know how to calculate the price change from one period to the next. Being that are several years for several companies. Example:    Company | Year | Price       1 | 2007 | 25       1 | 2008 | 30       1 | 2009 | 7      ...
asked by 04.04.2018 / 00:01
1
answer

R - How to calculate the price change from one period to the other?

Hello, I'd like to know how to calculate the price change from one period to the next. Example:    Year | Price       2007 | 25       2008 | 30       2009 | 7       2010 | 15 ... | ... | ... The new column would look like:    Ye...
asked by 03.04.2018 / 01:08
1
answer

Diff between two commits

I am doing git diff between two commits and in general it shows me the difference between files that have been modified in these commits. EX: git diff 1a1a1a 4d4d4d + Essa linha foi adicionada - Essa linha...
asked by 24.08.2018 / 18:26
1
answer

Diff changing rows

I'm comparing two files, which are updated daily, with the diff -y command in order to get two results: The first are the lines that have been modified from one day to the next: grupoAzul;Gabriel;04-maçãs;02-limões | grupoAz...
asked by 31.07.2018 / 17:58
2
answers

How to get the signature of changed methods in a commit

So folks, I need to sign all of the methods that have been changed in a commit, be it updated, removed, or added. Example: In this commit The changed methods were: - br.ufrn.ase.Classe1.metodoB(int b)U - br.ufrn.ase.Classe1.getV()D...
asked by 23.03.2015 / 13:19
2
answers

Does the DateTime class of PHP support date creation in the Brazilian format?

In the following code echo will be printing +273 days, but would not it be +9 days ? $datetime1 = new DateTime('01/04/2018'); $datetime2 = new DateTime('10/04/2018'); $interval = $datetime1->diff($datetime2); echo $interval->format('%...
asked by 06.04.2018 / 20:57
1
answer

How to leave the negative operator after using diff () in php

Good afternoon. I do not know if it was very clear but the following, date_diff() , the problem is what, when I convert the interval $intervalo = date_interval_format($resultado, '%a') if the result is less than 0 the number is posi...
asked by 23.12.2018 / 18:24
2
answers

Diff without comparing spaces or line breaks

Someone knows a program capable of doing a diff of 2 files, but that Do not compare spaces or line breaks. Ex: I have a text file that can have spaces or line breaks. I do not care about formatting, all I need to know is if the text is...
asked by 24.11.2014 / 12:14
1
answer

What is a git diff, how to do it and what is it for?

I have a problem with my project. I make contributions to a git project, and when checking the Master branch, I saw that there are missing some methods that have in a branch, but do not have in the Master. I do not know how many and which are...
asked by 13.08.2018 / 14:57