prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/utils/src/com/cloud/utils/security/CertificateHelper.java
<|file_sep|>current/utils/src/com/cloud/utils/security/CertificateHelper.java
<|file_sep|>updated/utils/src/com/cloud/utils/security/CertificateHelper.java | package com.cloud.utils.security;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.security.Key;
import java.security.KeyFactory;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.secu... | <|file_sep|>original/utils/src/com/cloud/utils/security/CertificateHelper.java
<|file_sep|>current/utils/src/com/cloud/utils/security/CertificateHelper.java
<|file_sep|>updated/utils/src/com/cloud/utils/security/CertificateHelper.java
package com.cloud.utils.security;
import java.io.BufferedInputStream;
import java.... | 565dfb980916e83caa31e72bf93501e73bbedeea | utils/src/com/cloud/utils/security/CertificateHelper.java | utils/src/com/cloud/utils/security/CertificateHelper.java | Java |
<|file_sep|>android/src/main/java/com/facebook/flipper/plugins/databases/impl/DefaultSqliteDatabaseProvider.java.diff
original:
updated:
private static final int MAX_RECURSIVE_TRAVERSAL_DEPTH = 5;
private static final String DB_EXTENSION = ".db";
<|file_sep|>android/src/main/java/com/facebook/flipper/plugins/datab... | databaseFiles.add(context.getDatabasePath(databaseName));
}
addDatabaseFilesRecursively(
new File(context.getFilesDir().getPath()),
0,
DB_EXTENSION,
fileDirectoryRecursiveDepth,
databaseFiles);
return databaseFiles;
}
private static void addDatabaseFilesRec... | <|file_sep|>android/src/main/java/com/facebook/flipper/plugins/databases/impl/DefaultSqliteDatabaseProvider.java.diff
original:
updated:
private static final int MAX_RECURSIVE_TRAVERSAL_DEPTH = 5;
private static final String DB_EXTENSION = ".db";
<|file_sep|>android/src/main/java/com/facebook/flipper/plugins/datab... | 69ed3b02102fb019947532c45951282511517525 | android/src/main/java/com/facebook/flipper/plugins/databases/impl/DefaultSqliteDatabaseProvider.java | android/src/main/java/com/facebook/flipper/plugins/databases/impl/DefaultSqliteDatabaseProvider.java | Java |
<|file_sep|>src/checker.ts.diff
original:
} catch (error) {
updated:
} catch (_error) {
<|file_sep|>src/checker.ts.diff
original:
const stack = (error as Error).stack as string;
updated:
const error = _error as Error;
const stack = error.stack as string;
<|file_sep|>original/src/checker.ts
l... | tester(<T>(name: string, a: T, b: T): void => {
const checkedCount = (name in checkedCounts)
? checkedCounts[name] += 1
: checkedCounts[name] = 1;
const caseIndex = checkedCount;
try {
deepEqual(a, b);
passedCount++;
} catch (_error) {
failedCount++;
const error = _... | <|file_sep|>src/checker.ts.diff
original:
} catch (error) {
updated:
} catch (_error) {
<|file_sep|>src/checker.ts.diff
original:
const stack = (error as Error).stack as string;
updated:
const error = _error as Error;
const stack = error.stack as string;
<|file_sep|>original/src/checker.ts
l... | 7f4bb8b30b7413cad4e5044fb3d07f305297aa89 | src/checker.ts | src/checker.ts | TypeScript |
<|file_sep|>original/circular-buffer.md
A circular buffer first starts empty and of some predefined length. For example, this is a 7-element buffer:
[ ][ ][ ][ ][ ][ ][ ]
Assume that a 1 is written into the middle of the buffer (exact starting location does not matter in a circular buffer):
[ ][ ][ ][1][ ][ ][ ]
The... | [ ][ ][ ][ ][ ][ ][ ]
Assume that a 1 is written into the middle of the buffer (exact starting location does not matter in a circular buffer):
[ ][ ][ ][1][ ][ ][ ]
Then assume that two more elements are added — 2 & 3 — which get appended after the 1:
[ ][ ][ ][1][2][3][ ]
If two elements are then removed from the b... | <|file_sep|>original/circular-buffer.md
A circular buffer first starts empty and of some predefined length. For example, this is a 7-element buffer:
[ ][ ][ ][ ][ ][ ][ ]
Assume that a 1 is written into the middle of the buffer (exact starting location does not matter in a circular buffer):
[ ][ ][ ][1][ ][ ][ ]
The... | c2c04b5941d4c23740a118bb78c42c96bcea7c92 | circular-buffer.md | circular-buffer.md | Markdown |
<|file_sep|>README.md.diff
original:

updated:
[](https://travis-ci.org/DukeMobileTech/rails_survey)
<|file_sep|>original/README.md
RailsSurvey
=============
*... | RailsSurvey
=============
**Master**
[](https://travis-ci.org/DukeMobileTech/rails_survey)
**Develop**
[](https://travis-ci.org/DukeMobileTech/rails_s... | <|file_sep|>README.md.diff
original:

updated:
[](https://travis-ci.org/DukeMobileTech/rails_survey)
<|file_sep|>original/README.md
RailsSurvey
=============
*... | 88a7d9500796a56d2bdaf790c3641c850e0065b2 | README.md | README.md | Markdown |
<|file_sep|>original/test/test_receiver.py
<|file_sep|>current/test/test_receiver.py
<|file_sep|>updated/test/test_receiver.py | import os
import tempfile
import unittest
import bin.receiver
from ssm.ssm2 import Ssm2Exception
class getDNsTest(unittest.TestCase):
def setUp(self):
self.tf, self.tf_path = tempfile.mkstemp()
os.close(self.tf)
def test_empty_dns_file(self):
self.assertRaises(Ssm2Exception, bin.rece... | <|file_sep|>original/test/test_receiver.py
<|file_sep|>current/test/test_receiver.py
<|file_sep|>updated/test/test_receiver.py
import os
import tempfile
import unittest
import bin.receiver
from ssm.ssm2 import Ssm2Exception
class getDNsTest(unittest.TestCase):
def setUp(self):
self.tf, self.tf_path = t... | a2353846c97f94a23c01a51f8589cd3b8ff17376 | test/test_receiver.py | test/test_receiver.py | Python |
<|file_sep|>worker/import-cache/subsetMatcher.go.diff
original:
best_score := 0
updated:
best_score := -1
<|file_sep|>original/worker/import-cache/subsetMatcher.go
for i := 1; i < len(servers); i++ {
matched := 0
toCache := make([]string, 0, 0)
for j := 0; j < len(imports); j++ {
if servers[i].Imports[impor... | for i := 1; i < len(servers); i++ {
matched := 0
toCache := make([]string, 0, 0)
for j := 0; j < len(imports); j++ {
if servers[i].Imports[imports[j]] {
matched += 1
} else {
toCache = append(toCache, imports[j])
}
}
// constrain to subset
if matched > best_score && len(servers[i].Imports... | <|file_sep|>worker/import-cache/subsetMatcher.go.diff
original:
best_score := 0
updated:
best_score := -1
<|file_sep|>original/worker/import-cache/subsetMatcher.go
for i := 1; i < len(servers); i++ {
matched := 0
toCache := make([]string, 0, 0)
for j := 0; j < len(imports); j++ {
if servers[i].Imports[impor... | e8c98556ba2e67eb46ec236a629ed9457086285b | worker/import-cache/subsetMatcher.go | worker/import-cache/subsetMatcher.go | Go |
<|file_sep|>original/test/utils/utils.ts
import * as fs from "fs";
import * as child from "child_process";
import * as path from "path";
export function getWasmInstance(sourcePath: string, outputFile?:string): WebAssembly.Instance {
outputFile = outputFile || sourcePath.replace(".tbs", ".wasm");
let result = c... | import * as fs from "fs";
import * as child from "child_process";
import * as path from "path";
export function getWasmInstance(sourcePath: string, outputFile?:string): WebAssembly.Instance {
outputFile = outputFile || sourcePath.replace(".tbs", ".wasm");
let result = child.spawnSync(path.join(__dirname, '../.... | <|file_sep|>original/test/utils/utils.ts
import * as fs from "fs";
import * as child from "child_process";
import * as path from "path";
export function getWasmInstance(sourcePath: string, outputFile?:string): WebAssembly.Instance {
outputFile = outputFile || sourcePath.replace(".tbs", ".wasm");
let result = c... | aa8a178f96a6b2eeef84634d30cf32db64a3cad6 | test/utils/utils.ts | test/utils/utils.ts | TypeScript |
<|file_sep|>lib/shoes/mock/text_block.rb.diff
original:
updated:
<|file_sep|>lib/shoes/mock/text_block.rb.diff
original:
updated:
<|file_sep|>lib/shoes/mock/text_block.rb.diff
original:
updated:
<|file_sep|>lib/shoes/mock/text_block.rb.diff
original:
updated:
<|file_sep|>lib/shoes/mock/text_block.rb.diff
origin... | HEIGHT
end
def redraw(*opts); end
def replace *opts
@dsl.instance_variable_set :@text, opts.map(&:to_s).join
end
def clear;end
def contents_alignment(*args);end
end
class Banner < TextBlock; end
class Title < TextBlock; end
class Subtitle < TextBl... | <|file_sep|>lib/shoes/mock/text_block.rb.diff
original:
updated:
<|file_sep|>lib/shoes/mock/text_block.rb.diff
original:
updated:
<|file_sep|>lib/shoes/mock/text_block.rb.diff
original:
updated:
<|file_sep|>lib/shoes/mock/text_block.rb.diff
original:
updated:
<|file_sep|>lib/shoes/mock/text_block.rb.diff
origin... | 0b8f01e13b539a29fafc19da9ebab5039e25216f | lib/shoes/mock/text_block.rb | lib/shoes/mock/text_block.rb | Ruby |
<|file_sep|>original/package.json
{
"name": "bookmark-manager",
"private": true,
"engines": {
"node": ">=6.0.0",
"yarn": ">=0.25.2"
},
"dependencies": {
"@rails/webpacker": "4.0.2",
"stimulus": "1.1.1"
},
"devDependencies": {
"webpack-dev-server": "3.3.1"
}
}
<|file_sep|>current/pack... | {
"name": "bookmark-manager",
"private": true,
"engines": {
"node": ">= 6.0.0",
"yarn": ">= 0.25.2"
},
"dependencies": {
"@rails/webpacker": "4.0.2",
"stimulus": "1.1.1"
},
"devDependencies": {
"webpack-dev-server": "3.3.1"
}
} | <|file_sep|>original/package.json
{
"name": "bookmark-manager",
"private": true,
"engines": {
"node": ">=6.0.0",
"yarn": ">=0.25.2"
},
"dependencies": {
"@rails/webpacker": "4.0.2",
"stimulus": "1.1.1"
},
"devDependencies": {
"webpack-dev-server": "3.3.1"
}
}
<|file_sep|>current/pack... | b84ea965f43a8c51d1ef030fad5e591663b057c9 | package.json | package.json | JSON |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.1
Sphinx==1.4.8
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.1
Sphinx==1.4.8
<|file_... | pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
Sphinx==1.4.8
| <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.1
Sphinx==1.4.8
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.1
Sphinx==1.4.8
<|file_... | 9522dca3607ebbd1e39eba4004ce4187a5fa06d6 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/db/migrate/20190212154937_change_organization_id_to_bigint.rb
<|file_sep|>current/db/migrate/20190212154937_change_organization_id_to_bigint.rb
<|file_sep|>updated/db/migrate/20190212154937_change_organization_id_to_bigint.rb | class ChangeOrganizationIdToBigint < ActiveRecord::Migration[6.0]
def up
change_column :datasets, :organization_id, :bigint
change_column :exports, :organization_id, :bigint
change_column :final_legal_documents, :organization_id, :bigint
change_column :legal_document_datasets, :organization_id, :bigin... | <|file_sep|>original/db/migrate/20190212154937_change_organization_id_to_bigint.rb
<|file_sep|>current/db/migrate/20190212154937_change_organization_id_to_bigint.rb
<|file_sep|>updated/db/migrate/20190212154937_change_organization_id_to_bigint.rb
class ChangeOrganizationIdToBigint < ActiveRecord::Migration[6.0]
def... | f9b0bb46371d44abca85a263622c76904a020320 | db/migrate/20190212154937_change_organization_id_to_bigint.rb | db/migrate/20190212154937_change_organization_id_to_bigint.rb | Ruby |
<|file_sep|>original/.travis.yml
language: python
env:
- TOXENV=py27
- TOXENV=pypy
install:
- pip install tox
- pip install coveralls
script:
- tox
after_success:
- coveralls
<|file_sep|>current/.travis.yml
language: python
env:
- TOXENV=py27
- TOXENV=pypy
install:
- pip install tox
- pip install co... | language: python
matrix:
env:
- TOXENV=py27
allow_failures:
- TOXENV=pypy
- TOXENV=py27-trunkdeps
install:
- pip install tox
- pip install coveralls
script:
- tox
after_success:
- coveralls | <|file_sep|>original/.travis.yml
language: python
env:
- TOXENV=py27
- TOXENV=pypy
install:
- pip install tox
- pip install coveralls
script:
- tox
after_success:
- coveralls
<|file_sep|>current/.travis.yml
language: python
env:
- TOXENV=py27
- TOXENV=pypy
install:
- pip install tox
- pip install co... | 24310accd594723c38ca1750c8902ae5d271ce15 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- COMPOSER_VERSION=''
updated:
- COMPOSER_VERSION='~1.0@dev'
<|file_sep|>.travis.yml.diff
original:
env: COMPOSER_VERSION='--version=1.0.0-alpha10'
updated:
env: COMPOSER_VERSION='v1.0.0-alpha10'
<|file_sep|>.travis.yml.diff
original:
updated:
- co... |
allow_failures:
- php: hhvm
before_script:
- composer self-update
- composer install
- composer require composer/composer:${COMPOSER_VERSION}
- composer require --dev --no-update phpunit/phpunit:@stable phpunit/php-code-coverage:@stable satooshi/php-coveralls:@dev
- composer update php... | <|file_sep|>.travis.yml.diff
original:
- COMPOSER_VERSION=''
updated:
- COMPOSER_VERSION='~1.0@dev'
<|file_sep|>.travis.yml.diff
original:
env: COMPOSER_VERSION='--version=1.0.0-alpha10'
updated:
env: COMPOSER_VERSION='v1.0.0-alpha10'
<|file_sep|>.travis.yml.diff
original:
updated:
- co... | f8b7c1da92e185759baa070813ca7b6ac446aaec | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/lu/lucid-colonnade.yaml.diff
original:
hash: 9b366afdb964bfd926b29841ca207c75e44a6dcc0045743e81fab48b989eec23
updated:
hash: 841494203cef1dd184c38149c217a07de2d1c64efe64ae4c7a7e4f5c1afda034
<|file_sep|>packages/lu/lucid-colonnade.yaml.diff
original:
base: ! '>=4.7 && <5'
text: ! '>=1.0 && <1.3'... | homepage: https://github.com/andrewthad/colonnade#readme
changelog-type: ''
hash: 841494203cef1dd184c38149c217a07de2d1c64efe64ae4c7a7e4f5c1afda034
test-bench-deps: {}
maintainer: andrew.thaddeus@gmail.com
synopsis: Helper functions for using lucid with colonnade
changelog: ''
basic-deps:
lucid: ! '>=2.9 && <3.0'
ba... | <|file_sep|>packages/lu/lucid-colonnade.yaml.diff
original:
hash: 9b366afdb964bfd926b29841ca207c75e44a6dcc0045743e81fab48b989eec23
updated:
hash: 841494203cef1dd184c38149c217a07de2d1c64efe64ae4c7a7e4f5c1afda034
<|file_sep|>packages/lu/lucid-colonnade.yaml.diff
original:
base: ! '>=4.7 && <5'
text: ! '>=1.0 && <1.3'... | a8e310ab79ed4000271162278eb90445ea8fecab | packages/lu/lucid-colonnade.yaml | packages/lu/lucid-colonnade.yaml | YAML |
<|file_sep|>original/examples/evaluate_similarity.py
# Configure logging
logging.basicConfig(format='%(asctime)s %(levelname)s:%(message)s', level=logging.DEBUG, datefmt='%I:%M:%S')
# Fetch GloVe embedding (warning: it might take few minutes)
w_glove = fetch_GloVe(corpus="wiki-6B", dim=300)
# Define tasks
tasks = {
... |
# Configure logging
logging.basicConfig(format='%(asctime)s %(levelname)s:%(message)s', level=logging.DEBUG, datefmt='%I:%M:%S')
# Fetch GloVe embedding (warning: it might take few minutes)
w_glove = fetch_GloVe(corpus="wiki-6B", dim=300)
# Define tasks
tasks = {
"MEN": fetch_MEN(),
"WS353": fetch_WS353(),
... | <|file_sep|>original/examples/evaluate_similarity.py
# Configure logging
logging.basicConfig(format='%(asctime)s %(levelname)s:%(message)s', level=logging.DEBUG, datefmt='%I:%M:%S')
# Fetch GloVe embedding (warning: it might take few minutes)
w_glove = fetch_GloVe(corpus="wiki-6B", dim=300)
# Define tasks
tasks = {
... | 1bfb33a7332cefdacb9b57137cf407ede0d8a919 | examples/evaluate_similarity.py | examples/evaluate_similarity.py | Python |
<|file_sep|>original/README.md
## Quick test with Docker
Build the PHP image that meets this library's requirements:
```
$ docker build docker/php -t strehle-de/topiccards-php
```
Install dependencies:
```
$ docker run --rm --interactive --tty \
--volume $PWD:/app --volume ${COMPOSER_HOME:-$HOME/.composer}:/tmp \... |
## Quick test with Docker
Build the PHP image that meets this library's requirements:
```
$ docker build docker/php -t strehle-de/topiccards-php
```
Install dependencies:
```
$ docker run --rm --interactive --tty \
--volume $PWD:/app --volume ${COMPOSER_HOME:-$HOME/.composer}:/tmp \
--workdir /app strehle-de/to... | <|file_sep|>original/README.md
## Quick test with Docker
Build the PHP image that meets this library's requirements:
```
$ docker build docker/php -t strehle-de/topiccards-php
```
Install dependencies:
```
$ docker run --rm --interactive --tty \
--volume $PWD:/app --volume ${COMPOSER_HOME:-$HOME/.composer}:/tmp \... | be2c409f069f1b0b1dca47630fc276dc83d21bf7 | README.md | README.md | Markdown |
<|file_sep|>original/tests/test_parsingapi.py
from __future__ import unicode_literals, division, absolute_import
from flexget.plugin import get_plugin_by_name, get_plugins
from flexget.plugins.parsers import plugin_parsing
class TestParsingAPI(object):
def test_all_types_handled(self):
declared_types = s... | declared_types = set(plugin_parsing.PARSER_TYPES)
method_handlers = set(m[6:] for m in dir(get_plugin_by_name('parsing').instance) if m.startswith('parse_'))
assert set(declared_types) == set(method_handlers), \
'declared parser types: %s, handled types: %s' % (declared_types, method... | <|file_sep|>original/tests/test_parsingapi.py
from __future__ import unicode_literals, division, absolute_import
from flexget.plugin import get_plugin_by_name, get_plugins
from flexget.plugins.parsers import plugin_parsing
class TestParsingAPI(object):
def test_all_types_handled(self):
declared_types = s... | c709c58fc128076af5f58d33dcd0983436573d79 | tests/test_parsingapi.py | tests/test_parsingapi.py | Python |
<|file_sep|>tests/test_domains.py.diff
original:
updated:
# copied from python 2.7 for python 2.6
def check_output(*popenargs, **kwargs):
if 'stdout' in kwargs:
raise ValueError('stdout argument not allowed, it will be overridden.')
process = subprocess.Popen(stdout=subprocess.PIPE, *popenargs, **kwarg... | if retcode:
cmd = kwargs.get("args")
if cmd is None:
cmd = popenargs[0]
raise subprocess.CalledProcessError(retcode, cmd, output=output)
return output
class DomainsTest(unittest.TestCase):
def _cmd(self, cmd, *args):
pargs = ('scripts/cli53', cmd) + args
... | <|file_sep|>tests/test_domains.py.diff
original:
updated:
# copied from python 2.7 for python 2.6
def check_output(*popenargs, **kwargs):
if 'stdout' in kwargs:
raise ValueError('stdout argument not allowed, it will be overridden.')
process = subprocess.Popen(stdout=subprocess.PIPE, *popenargs, **kwarg... | e81d5778ed5f81d5d479bf828de1a854c24af75e | tests/test_domains.py | tests/test_domains.py | Python |
<|file_sep|>original/envs/report.yaml
channels:
- conda-forge
- bioconda
- r
dependencies:
- rpy2
- r-rmarkdown=1.6
- pandoc
- r-plotly
- bioconductor-phyloseq
<|file_sep|>current/envs/report.yaml
channels:
- conda-forge
- bioconda
- r
dependencies:
- rpy2
- r-rmarkdown=1.6
- pandoc
- r-pl... | channels:
- conda-forge
- bioconda
- r
dependencies:
- rpy2
- r-rmarkdown=1.6
- pandoc
- r-plotly
- bioconductor-phyloseq
- r-ampvis | <|file_sep|>original/envs/report.yaml
channels:
- conda-forge
- bioconda
- r
dependencies:
- rpy2
- r-rmarkdown=1.6
- pandoc
- r-plotly
- bioconductor-phyloseq
<|file_sep|>current/envs/report.yaml
channels:
- conda-forge
- bioconda
- r
dependencies:
- rpy2
- r-rmarkdown=1.6
- pandoc
- r-pl... | 77e3fa63fc1b99e534b59a4c4a6fff7e305e8367 | envs/report.yaml | envs/report.yaml | YAML |
<|file_sep|>app/templates/_package.json.diff
original:
"name": "package",
updated:
"name": "<%= _.slugify(siteName) %>",
"author": "<%= author %>",
<|file_sep|>original/app/templates/_package.json
{
"name": "package",
"version": "0.0.0",
"dependencies": {}
}
<|file_sep|>current/app/templates/_package.json
{... | {
"name": "<%= _.slugify(siteName) %>",
"author": "<%= author %>",
"version": "0.0.0",
"devDependencies": {
"bower": "~0.9.2"
}
} | <|file_sep|>app/templates/_package.json.diff
original:
"name": "package",
updated:
"name": "<%= _.slugify(siteName) %>",
"author": "<%= author %>",
<|file_sep|>original/app/templates/_package.json
{
"name": "package",
"version": "0.0.0",
"dependencies": {}
}
<|file_sep|>current/app/templates/_package.json
{... | d5be17b07a332b2880335e41cdd3e838c482e0ee | app/templates/_package.json | app/templates/_package.json | JSON |
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.4
- 3.5
- pypy
script: python setup.py test
<|file_sep|>current/.travis.yml
language: python
python:
- 2.7
- 3.4
- 3.5
- pypy
script: python setup.py test
<|file_sep|>updated/.travis.yml | language: python
python:
- 2.7
- 3.4
- 3.5
- pypy
install: pip install tox nose
script:
- tox -e pep8
- python setup.py nosetests | <|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.4
- 3.5
- pypy
script: python setup.py test
<|file_sep|>current/.travis.yml
language: python
python:
- 2.7
- 3.4
- 3.5
- pypy
script: python setup.py test
<|file_sep|>updated/.travis.yml
language: python
python:
- 2.7
- 3.4
-... | f082fba6152b623cb1345b27fdfbe77c6e558844 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/research/requirements.txt
aiofiles==0.3.2
aiohttp==3.3.2
beautifulsoup4==4.6.0
geopy==1.14.0
grequests==0.3.0
humanize==0.5.1
numpy==1.14.3
pandas==0.22.0
python-decouple==3.1
requests==2.19.1
serenata-toolbox # pyup: ignore
tqdm==4.23.4
<|file_sep|>current/research/requirements.txt
aiofiles==0.3.... | aiofiles==0.3.2
aiohttp==3.3.2
beautifulsoup4==4.6.0
geopy==1.14.0
grequests==0.3.0
humanize==0.5.1
numpy==1.14.5
pandas==0.22.0
python-decouple==3.1
requests==2.19.1
serenata-toolbox # pyup: ignore
tqdm==4.23.4 | <|file_sep|>original/research/requirements.txt
aiofiles==0.3.2
aiohttp==3.3.2
beautifulsoup4==4.6.0
geopy==1.14.0
grequests==0.3.0
humanize==0.5.1
numpy==1.14.3
pandas==0.22.0
python-decouple==3.1
requests==2.19.1
serenata-toolbox # pyup: ignore
tqdm==4.23.4
<|file_sep|>current/research/requirements.txt
aiofiles==0.3.... | ce19d1cb2611b6198247146bb0a782389e0b2d1c | research/requirements.txt | research/requirements.txt | Text |
<|file_sep|>original/.github/workflows/ci.yml
<|file_sep|>current/.github/workflows/ci.yml
<|file_sep|>updated/.github/workflows/ci.yml | name: CI
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
testsuite-linux:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.8']
steps:
- uses: actions/checkout@v1
with: | <|file_sep|>original/.github/workflows/ci.yml
<|file_sep|>current/.github/workflows/ci.yml
<|file_sep|>updated/.github/workflows/ci.yml
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
testsuite-linux:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
... | 80c88aa9d496f095e191b6f49461358b28312189 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>test/s2wasm_known_gcc_test_failures.txt.diff
original:
20060905-1.c.s # $s-384
updated:
<|file_sep|>original/test/s2wasm_known_gcc_test_failures.txt
# Expected failures from running s2wasm on the linked GCC torture test output
# files.
# Unknown symbol (likely an external symbol).
20060905-1.c.s # $s-384
... | # Expected failures from running s2wasm on the linked GCC torture test output
# files.
# Unknown symbol (likely an external symbol).
pr24716.c.s # $W
pr54937.c.s # $exit
# Unknown symbol ($abort, $stdout, $stderr).
921110-1.c.s
fprintf-1.c.s
gofast.c.s
# Block address taken.
20071220-1.c.s
20071220-2.c.s | <|file_sep|>test/s2wasm_known_gcc_test_failures.txt.diff
original:
20060905-1.c.s # $s-384
updated:
<|file_sep|>original/test/s2wasm_known_gcc_test_failures.txt
# Expected failures from running s2wasm on the linked GCC torture test output
# files.
# Unknown symbol (likely an external symbol).
20060905-1.c.s # $s-384
... | b800b555d79b0a4219bb4a160498109d70644832 | test/s2wasm_known_gcc_test_failures.txt | test/s2wasm_known_gcc_test_failures.txt | Text |
<|file_sep|>app/assets/javascripts/client/assessments/modify_schedule.html.diff
original:
<div class="control-group">
<label for="due-date">Response due date</label>
<div class="due-date input-group date datetime">
<input
class="form-control"
data-date-format="MM/DD/YYYY"
n... | </div>
</div>
<div class="control-group">
<label for="meeting-date">Consensus meeting date</label>
<div class="meeting-date input-group date datetime">
<input
required
ng-model="vm.modal_meeting_date"
data-date-format="MM/DD/YYYY"
class=... | <|file_sep|>app/assets/javascripts/client/assessments/modify_schedule.html.diff
original:
<div class="control-group">
<label for="due-date">Response due date</label>
<div class="due-date input-group date datetime">
<input
class="form-control"
data-date-format="MM/DD/YYYY"
n... | 1e71c5fce42fd67d430e1425d91bf7fcafb7059b | app/assets/javascripts/client/assessments/modify_schedule.html | app/assets/javascripts/client/assessments/modify_schedule.html | HTML |
<|file_sep|>.travis.yml.diff
original:
matrix:
updated:
<|file_sep|>original/.travis.yml
source auto_version/travis_install_conda.sh numpy scipy numba pip pytest;
fi
- python setup.py install
script:
- py.test
after_success:
- chmod +x ./.conda_deploy.sh
deploy:
matrix:
- provider: script
script: ".... | - python setup.py install
script:
- py.test
after_success:
- chmod +x ./.conda_deploy.sh
deploy:
- provider: script
script: "./.conda_deploy.sh"
skip_cleanup: true
- provider: pypi
user: moboyle79
password:
secure: D0OzSdZn5hWjXX5H41g4pnqme1TJaABKGmUpe14PGMaRf8DjisVMZStAsVVWfocxFqQX3gress+K... | <|file_sep|>.travis.yml.diff
original:
matrix:
updated:
<|file_sep|>original/.travis.yml
source auto_version/travis_install_conda.sh numpy scipy numba pip pytest;
fi
- python setup.py install
script:
- py.test
after_success:
- chmod +x ./.conda_deploy.sh
deploy:
matrix:
- provider: script
script: ".... | eeef2a8459090a7fc4dfca1dc3c93f064b4e01e9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>tests/simplexml2flatarray.test.php.diff
original:
"child22" => "child22 value"
updated:
"child22" => "child22 value",
<|file_sep|>tests/simplexml2flatarray.test.php.diff
original:
updated:
$data = $data->get();
<|file_sep|>original/tests/simplexml2flatarray.test.php
... | $expected_array = array(
array(
"child" => "child1 value",
"child11" => "child11 value",
"child12" => "child12 value"
),
array(
"child" => "child2 value",
"child21" => "child21 value",
... | <|file_sep|>tests/simplexml2flatarray.test.php.diff
original:
"child22" => "child22 value"
updated:
"child22" => "child22 value",
<|file_sep|>tests/simplexml2flatarray.test.php.diff
original:
updated:
$data = $data->get();
<|file_sep|>original/tests/simplexml2flatarray.test.php
... | de0d7249beecaad568484b58f0f5dfbb1082987a | tests/simplexml2flatarray.test.php | tests/simplexml2flatarray.test.php | PHP |
<|file_sep|>original/app/views/products/_assets_granted.html.erb
<div class="alert alert-success text-center text-large" data-dismissable="welcome">
<button type="button" class="close js-dismiss pull-right" style="margin-right: 25px">
<span>×</span>
</button>
<div class="container">
Congratulations... | <div class="alert alert-success text-center text-large" data-dismissable="welcome">
<button type="button" class="close js-dismiss pull-right" style="margin-right: 25px">
<span>×</span>
</button>
<div class="container">
Congratulations! Your first <strong><%= @product.name %></strong> coins are bein... | <|file_sep|>original/app/views/products/_assets_granted.html.erb
<div class="alert alert-success text-center text-large" data-dismissable="welcome">
<button type="button" class="close js-dismiss pull-right" style="margin-right: 25px">
<span>×</span>
</button>
<div class="container">
Congratulations... | 379947064737a0df4191268d32288b3f4e7e84e0 | app/views/products/_assets_granted.html.erb | app/views/products/_assets_granted.html.erb | HTML+ERB |
<|file_sep|>original/alien4cloud-rest-it/src/test/java/alien4cloud/it/utils/websocket/WebSocketClientOutHandler.java
<|file_sep|>current/alien4cloud-rest-it/src/test/java/alien4cloud/it/utils/websocket/WebSocketClientOutHandler.java
<|file_sep|>updated/alien4cloud-rest-it/src/test/java/alien4cloud/it/utils/websocket/... | package alien4cloud.it.utils.websocket;
import java.nio.charset.Charset;
import java.util.Set;
import lombok.extern.slf4j.Slf4j;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelPromise;
import io.netty.handler.codec.http.*;
import io.netty.handler.codec.ht... | <|file_sep|>original/alien4cloud-rest-it/src/test/java/alien4cloud/it/utils/websocket/WebSocketClientOutHandler.java
<|file_sep|>current/alien4cloud-rest-it/src/test/java/alien4cloud/it/utils/websocket/WebSocketClientOutHandler.java
<|file_sep|>updated/alien4cloud-rest-it/src/test/java/alien4cloud/it/utils/websocket/... | 8251755861d35c1334b4d35152a42b01047b51c8 | alien4cloud-rest-it/src/test/java/alien4cloud/it/utils/websocket/WebSocketClientOutHandler.java | alien4cloud-rest-it/src/test/java/alien4cloud/it/utils/websocket/WebSocketClientOutHandler.java | Java |
<|file_sep|>original/package.json
{
"name": "mxobject",
"version": "0.1.0",
"description": "Mixable and eXtensible objects in JavaScript",
"main": "mxObject.js",
"scripts": {
"test": "mocha --reporter spec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Sladav/mxObject.git"
... | {
"name": "mxobject",
"version": "0.1.1",
"description": "Mixable and eXtensible objects in JavaScript",
"main": "mxObject.js",
"scripts": {
"test": "mocha --reporter spec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Sladav/mxObject.git"
},
"keywords": [
"extend",
... | <|file_sep|>original/package.json
{
"name": "mxobject",
"version": "0.1.0",
"description": "Mixable and eXtensible objects in JavaScript",
"main": "mxObject.js",
"scripts": {
"test": "mocha --reporter spec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Sladav/mxObject.git"
... | 390d3e125f5b39e4e7105229d5c10a7f389d4eee | package.json | package.json | JSON |
<|file_sep|>js/views/QuestionView.js.diff
original:
updated:
this.createProgressBar = function() {
var answered = app.model.getCategoryAnswered(data);
if (answered){
var progress = Math.round(answered.sizeFinished / answered.sizeQuestions);
log('Current category progress: ' + progress);
$.... | if (result){
log(result);
result.catid = data;
render('question', {
question: result,
});
this.createProgressBar();
} else {
setErrorMessage('Error retrieving question.');
goToScreen();
}
} else {
//Re-render and show login page with logi... | <|file_sep|>js/views/QuestionView.js.diff
original:
updated:
this.createProgressBar = function() {
var answered = app.model.getCategoryAnswered(data);
if (answered){
var progress = Math.round(answered.sizeFinished / answered.sizeQuestions);
log('Current category progress: ' + progress);
$.... | 4b7b2419b72d38a2ba4a71ff90c1b652b4f7b24a | js/views/QuestionView.js | js/views/QuestionView.js | JavaScript |
<|file_sep|>eloquent_js/chapter02/ch02_ex01.js.diff
original:
let str = "";
for (let i = 0; i < 7; ++i) {
str += "#";
console.log(str)
updated:
for (let s = "#"; s.length < 8; s += "#") {
console.log(s);
<|file_sep|>original/eloquent_js/chapter02/ch02_ex01.js
let str = "";
for (let i = 0; i < 7; ++i) {
str... | for (let s = "#"; s.length < 8; s += "#") {
console.log(s);
} | <|file_sep|>eloquent_js/chapter02/ch02_ex01.js.diff
original:
let str = "";
for (let i = 0; i < 7; ++i) {
str += "#";
console.log(str)
updated:
for (let s = "#"; s.length < 8; s += "#") {
console.log(s);
<|file_sep|>original/eloquent_js/chapter02/ch02_ex01.js
let str = "";
for (let i = 0; i < 7; ++i) {
str... | c81bacb9f413e2d70d253460472b21c1d3036642 | eloquent_js/chapter02/ch02_ex01.js | eloquent_js/chapter02/ch02_ex01.js | JavaScript |
<|file_sep|>original/gulp/config.js
'use strict';
module.exports = {
'serverport': 3000,
'styles': {
'src' : 'app/styles/**/*.scss',
'dest': 'build/css'
},
'scripts': {
'src' : 'app/js/**/*.js',
'dest': 'build/js'
},
'images': {
'src' : 'app/images/**/*',
'dest': 'build/images'
... | 'use strict';
module.exports = {
'serverport': 4000,
'styles': {
'src' : 'app/styles/**/*.scss',
'dest': 'build/css'
},
'scripts': {
'src' : 'app/js/**/*.js',
'dest': 'build/js'
},
'images': {
'src' : 'app/images/**/*',
'dest': 'build/images'
},
| <|file_sep|>original/gulp/config.js
'use strict';
module.exports = {
'serverport': 3000,
'styles': {
'src' : 'app/styles/**/*.scss',
'dest': 'build/css'
},
'scripts': {
'src' : 'app/js/**/*.js',
'dest': 'build/js'
},
'images': {
'src' : 'app/images/**/*',
'dest': 'build/images'
... | b4b003df69abfe398eed54f25e12dbd9d6b733a6 | gulp/config.js | gulp/config.js | JavaScript |
<|file_sep|>openquake/qa_tests_data/scenario_damage/case_8/job.ini.diff
original:
[general]-
updated:
[general]
<|file_sep|>original/openquake/qa_tests_data/scenario_damage/case_8/job.ini
[general]-
description = Shakemap Abruzzo
calculation_mode = scenario_damage
random_seed = 45
ignore_covs = true
spatial_correlation... | [general]
description = Shakemap Abruzzo
calculation_mode = scenario_damage
random_seed = 45
spatial_correlation = no
number_of_ground_motion_fields = 25
truncation_level = 3
shakemap_file = usp000246t.npy | <|file_sep|>openquake/qa_tests_data/scenario_damage/case_8/job.ini.diff
original:
[general]-
updated:
[general]
<|file_sep|>original/openquake/qa_tests_data/scenario_damage/case_8/job.ini
[general]-
description = Shakemap Abruzzo
calculation_mode = scenario_damage
random_seed = 45
ignore_covs = true
spatial_correlation... | b06b18c5bca347098013d53a7717007eb22b5ef9 | openquake/qa_tests_data/scenario_damage/case_8/job.ini | openquake/qa_tests_data/scenario_damage/case_8/job.ini | INI |
<|file_sep|>original/.travis.yml
---
language: "node_js"
node_js: [ "6", "7", "8", "9", "10", "11", "node" ]
script:
- "npm run test"
- 'if [ "$TRAVIS_NODE_VERSION" = "node" ]; then npm run lint ; fi'
- "npm run licenses"
sudo: false
<|file_sep|>current/.travis.yml
---
language: "node_js"
node_js: [ "6", "7", "8"... | ---
language: "node_js"
node_js: [ "6", "7", "8", "9", "10", "11", "node" ]
script:
- "npm run test"
- "npm run lint"
- "npm run licenses"
sudo: false | <|file_sep|>original/.travis.yml
---
language: "node_js"
node_js: [ "6", "7", "8", "9", "10", "11", "node" ]
script:
- "npm run test"
- 'if [ "$TRAVIS_NODE_VERSION" = "node" ]; then npm run lint ; fi'
- "npm run licenses"
sudo: false
<|file_sep|>current/.travis.yml
---
language: "node_js"
node_js: [ "6", "7", "8"... | 15ba34ad9fe564b80cb4520a216ff94843f91151 | .travis.yml | .travis.yml | YAML |
<|file_sep|>tests/benchmarks/FileRead.hs.diff
original:
text file = T.readFile file >>= print . T.length
updated:
text file = do
t <- {-# SCC "T.readFile" #-} T.readFile file
print (T.length t)
<|file_sep|>tests/benchmarks/FileRead.hs.diff
original:
textBS file = B.readFile file >>= print . T.length . T.decodeUtf8
... | text file = do
t <- {-# SCC "T.readFile" #-} T.readFile file
print (T.length t)
textBS :: FilePath -> IO ()
textBS file = do
bs <- {-# SCC "B.readFile" #-} B.readFile file
print . T.length . T.decodeUtf8 $ bs
bytestring :: FilePath -> IO ()
bytestring file = do
bs <- {-# SCC "B.readFile" #-}B.readFile file
... | <|file_sep|>tests/benchmarks/FileRead.hs.diff
original:
text file = T.readFile file >>= print . T.length
updated:
text file = do
t <- {-# SCC "T.readFile" #-} T.readFile file
print (T.length t)
<|file_sep|>tests/benchmarks/FileRead.hs.diff
original:
textBS file = B.readFile file >>= print . T.length . T.decodeUtf8
... | 8028b36e42107dc599f90caffa24a7002cce8c94 | tests/benchmarks/FileRead.hs | tests/benchmarks/FileRead.hs | Haskell |
<|file_sep|>client/app/app.js.diff
original:
.controller('ChatBoxController', ['$http', function($http) {
updated:
.controller('ChatBoxController', ['services', function(services) {
<|file_sep|>client/app/app.js.diff
original:
$http.post('/users', {
})
updated:
services.postMsg();
}
}])
.s... | }
}])
.service('services', function($http) {
const services = this;
services.postMsg = function() {
$http.post('/users', {})
.then(function(data) {
console.log('success with post')
});
}
})
.directive('chatBox', function() {
return {
template: `
<d... | <|file_sep|>client/app/app.js.diff
original:
.controller('ChatBoxController', ['$http', function($http) {
updated:
.controller('ChatBoxController', ['services', function(services) {
<|file_sep|>client/app/app.js.diff
original:
$http.post('/users', {
})
updated:
services.postMsg();
}
}])
.s... | 2c16fa3cc8caefa6cf062e32ff2e5e2ab14186a8 | client/app/app.js | client/app/app.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
- oraclejdk13
updated:
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk11
- oraclejdk12
- oraclejdk13
- openjdk11
- openjdk12
- openjdk13
before_install:
- chmod +x gradlew
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk11
- orac... | language: java
jdk:
- oraclejdk11
- oraclejdk12
- openjdk11
- openjdk12
before_install:
- chmod +x gradlew | <|file_sep|>.travis.yml.diff
original:
- oraclejdk13
updated:
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk11
- oraclejdk12
- oraclejdk13
- openjdk11
- openjdk12
- openjdk13
before_install:
- chmod +x gradlew
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk11
- orac... | 93e73269f8b87a833736f49c4212e6c84361608f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/scss/base/_controls.scss
.controls {
margin-top: 25px;
button {
float: right;
margin-left: 14px;
div[aria-role=progressbar] {
top: 7px;
left: 17px;
display: inline;
}
&.loading {
padding-right: 35px;
... | margin-top: 25px;
button {
float: right;
margin-left: 14px;
div[aria-role=progressbar] {
top: 7px;
left: 17px;
display: inline;
> group {
/* Position fixes for IE8 VML fallback */
position: absolute;
... | <|file_sep|>original/scss/base/_controls.scss
.controls {
margin-top: 25px;
button {
float: right;
margin-left: 14px;
div[aria-role=progressbar] {
top: 7px;
left: 17px;
display: inline;
}
&.loading {
padding-right: 35px;
... | a2f555c7a16e22ab0714e8f8aed8e37f84b767fa | scss/base/_controls.scss | scss/base/_controls.scss | SCSS |
<|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
Sphinx==1.6.5
django-extensions==1.9.0
Werkzeug==0.12.2
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==1.8
# improved REPL
ipdb==0.10.3
factory-boy==2.9.2
<|file_sep|>current/requirements/local.t... | # Local development dependencies go here
-r base.txt
Sphinx==1.6.5
django-extensions==1.9.7
Werkzeug==0.12.2
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==1.8
# improved REPL
ipdb==0.10.3
factory-boy==2.9.2 | <|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
Sphinx==1.6.5
django-extensions==1.9.0
Werkzeug==0.12.2
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==1.8
# improved REPL
ipdb==0.10.3
factory-boy==2.9.2
<|file_sep|>current/requirements/local.t... | c6d5d482f215cc57600d9817b5e92eba98e5ec7c | requirements/local.txt | requirements/local.txt | Text |
<|file_sep|>original/.travis.yml
language:
- node_js
node_js:
- "0.10"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
after_script:
- npm run coveralls
<|file_sep|>current/.travis.yml
language:
- node_js
node_js:
- "0.10"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/... | language:
- node_js
node_js:
- "0.10"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install --ignore-scripts
after_script:
- npm run coveralls | <|file_sep|>original/.travis.yml
language:
- node_js
node_js:
- "0.10"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
after_script:
- npm run coveralls
<|file_sep|>current/.travis.yml
language:
- node_js
node_js:
- "0.10"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/... | fb55b96116ca86f1d6464d76744b19567a9aca1a | .travis.yml | .travis.yml | YAML |
<|file_sep|>alacritty/alacritty.yml.diff
original:
updated:
# Add proper 256-color support
# https://gist.github.com/b-ggs/b917c4c97777ac0f93f71eb14fe5091e
<|file_sep|>original/alacritty/alacritty.yml
font:
normal:
family: Iosevka Term
style: Regular
size: 16
env:
TERM: xterm-256color
<|file_sep|>current... | font:
normal:
family: Iosevka Term
style: Regular
size: 16
# Add proper 256-color support
# https://gist.github.com/b-ggs/b917c4c97777ac0f93f71eb14fe5091e
env:
TERM: xterm-256color
# Fix Mission Control stuttering when Alacritty is in the foreground
# https://github.com/alacritty/alacritty/issues/4474#iss... | <|file_sep|>alacritty/alacritty.yml.diff
original:
updated:
# Add proper 256-color support
# https://gist.github.com/b-ggs/b917c4c97777ac0f93f71eb14fe5091e
<|file_sep|>original/alacritty/alacritty.yml
font:
normal:
family: Iosevka Term
style: Regular
size: 16
env:
TERM: xterm-256color
<|file_sep|>current... | c95eae5b6f1aae54cf0b3044c579cf1853481302 | alacritty/alacritty.yml | alacritty/alacritty.yml | YAML |
<|file_sep|>src/server/pages.js.diff
original:
updated:
.add('widgets', '/widgets')
.add('tos', '/tos')
.add('privacypolicy', '/privacypolicy')
<|file_sep|>src/server/pages.js.diff
original:
updated:
.add('button', '/:collectiveSlug/:verb(contribute|donate)/button')
<|file_sep|>src/server/pages.js.diff
origin... | .add('privacypolicy', '/privacypolicy')
.add('signin', '/signin/:token?')
.add('button', '/:collectiveSlug/:verb(contribute|donate)/button')
.add('createEvent', '/:parentCollectiveSlug/events/(new|create)')
.add('events-iframe', '/:collectiveSlug/events/iframe')
.add('event', '/:parentCollectiveSlug/events/... | <|file_sep|>src/server/pages.js.diff
original:
updated:
.add('widgets', '/widgets')
.add('tos', '/tos')
.add('privacypolicy', '/privacypolicy')
<|file_sep|>src/server/pages.js.diff
original:
updated:
.add('button', '/:collectiveSlug/:verb(contribute|donate)/button')
<|file_sep|>src/server/pages.js.diff
origin... | b9399f212ba6744374a0a54d4b06b21200865bb4 | src/server/pages.js | src/server/pages.js | JavaScript |
<|file_sep|>original/vote/index.html
<|file_sep|>current/vote/index.html
<|file_sep|>updated/vote/index.html | <!doctype html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<meta http-equiv="refresh" content="0; url=https://challenge.la2050.org/entry/connecting-people-to-healthy-food-in-los-angeles" />
<title>Vote for Food Oasis Los Angeles on LA2050</title>
</head>
<body>
<p><a href="https://challenge.la2050.o... | <|file_sep|>original/vote/index.html
<|file_sep|>current/vote/index.html
<|file_sep|>updated/vote/index.html
<!doctype html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<meta http-equiv="refresh" content="0; url=https://challenge.la2050.org/entry/connecting-people-to-healthy-food-in-los-angeles" />
... | 32f42604a2cfe643c85efc963154b7d50c0964c4 | vote/index.html | vote/index.html | HTML |
<|file_sep|>original/courses.py
from glob import glob
course_map = {'course_folder_name' : 'Full Course Name'}
def update_lectures():
course_lectures = dict()
for course_id in course_map:
vid_files = sorted(glob('static/courses/%s/*.mp4' % course_id))
lectures = dict((n+1, str(x)) for n,x in e... | from glob import glob
course_map = {'course_folder_name' : 'Full Course Name'}
def update_lectures():
course_lectures = dict()
for course_id in course_map:
vid_files = sorted(glob('static/courses/%s/*.mp4' % course_id))
lectures = dict((n+1, str(x)) for n,x in enumerate(vid_files))
cou... | <|file_sep|>original/courses.py
from glob import glob
course_map = {'course_folder_name' : 'Full Course Name'}
def update_lectures():
course_lectures = dict()
for course_id in course_map:
vid_files = sorted(glob('static/courses/%s/*.mp4' % course_id))
lectures = dict((n+1, str(x)) for n,x in e... | 518a572c4979d98fda60a4b736984fe3673ecc0a | courses.py | courses.py | Python |
<|file_sep|>original/lib/Storm/Network/private.rb
<|file_sep|>current/lib/Storm/Network/private.rb
<|file_sep|>updated/lib/Storm/Network/private.rb | require "Storm/Base/model"
require "Storm/Base/sodserver"
require "Storm/Server/server"
require "Storm/Network/zone"
module Storm
module Network
class PrivateZone < Storm::Base::Model
attr_accessor :attached
attr_accessor :name
attr_accessor :region
attr_accessor :unattached
def fr... | <|file_sep|>original/lib/Storm/Network/private.rb
<|file_sep|>current/lib/Storm/Network/private.rb
<|file_sep|>updated/lib/Storm/Network/private.rb
require "Storm/Base/model"
require "Storm/Base/sodserver"
require "Storm/Server/server"
require "Storm/Network/zone"
module Storm
module Network
class PrivateZone ... | b0dd25170020c66ec744b1a35a05626aa1ca9a45 | lib/Storm/Network/private.rb | lib/Storm/Network/private.rb | Ruby |
<|file_sep|>original/pom.xml
<groupId>org.robotframework.rappio</groupId>
<artifactId>robotframework-rappio</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>robotframework-rappio</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</... | <name>robotframework-rappio</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<sc... | <|file_sep|>original/pom.xml
<groupId>org.robotframework.rappio</groupId>
<artifactId>robotframework-rappio</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>robotframework-rappio</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</... | 47b17d9cec90cde3e2bf1adcc7825259c40b315b | pom.xml | pom.xml | XML |
<|file_sep|>build/deploy.sh.diff
original:
aws s3 cp dist/ s3://$TOOL_BUCKET/tool --acl=public-read --recursive
aws s3 cp dist/index.html s3://$MAP_BUCKET/map/index.html --acl=public-read
updated:
aws s3 cp dist/ s3://$TOOL_BUCKET/tool --acl=public-read --recursive --cache-control max-age=604800
aws s3 cp dist/index.ht... | #!/bin/bash
TOOL_BUCKET=eviction-lab-tool-staging
MAP_BUCKET=eviction-lab-map-staging
RANKINGS_BUCKET=eviction-lab-rankings-staging
CLOUDFRONT_ID=$CLOUDFRONT_ID_DEV
if [ "$TRAVIS_BRANCH" = "master" ]; then
TOOL_BUCKET=eviction-lab-tool
MAP_BUCKET=eviction-lab-map
RANKINGS_BUCKET=eviction-lab-rankings
C... | <|file_sep|>build/deploy.sh.diff
original:
aws s3 cp dist/ s3://$TOOL_BUCKET/tool --acl=public-read --recursive
aws s3 cp dist/index.html s3://$MAP_BUCKET/map/index.html --acl=public-read
updated:
aws s3 cp dist/ s3://$TOOL_BUCKET/tool --acl=public-read --recursive --cache-control max-age=604800
aws s3 cp dist/index.ht... | eb167dd03d848bba37c3e955509ef9031c0ee148 | build/deploy.sh | build/deploy.sh | Shell |
<|file_sep|>original/tests/compiletest.rs
#![deny(clippy::all, clippy::pedantic)]
#[rustversion::attr(not(nightly), ignore)]
#[test]
fn ui() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/*.rs");
}
<|file_sep|>current/tests/compiletest.rs
#![deny(clippy::all, clippy::pedantic)]
#[rustversion::... | #![deny(clippy::all, clippy::pedantic)]
#[rustversion::attr(not(nightly), ignore)]
#[cfg_attr(miri, ignore)]
#[test]
fn ui() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/*.rs");
} | <|file_sep|>original/tests/compiletest.rs
#![deny(clippy::all, clippy::pedantic)]
#[rustversion::attr(not(nightly), ignore)]
#[test]
fn ui() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/*.rs");
}
<|file_sep|>current/tests/compiletest.rs
#![deny(clippy::all, clippy::pedantic)]
#[rustversion::... | 625d349ffb2be7855d51a1c1ec88f75417d28f24 | tests/compiletest.rs | tests/compiletest.rs | Rust |
<|file_sep|>original/src/main/java/ohtuhatut/domain/ReferenceList.java
/**
* The class for a list of references
* Created by iilumme.
*/
@Entity
@Table(name = "ReferenceList")
public class ReferenceList extends AbstractPersistable<Long> {
@OneToMany(fetch = FetchType.LAZY)
private List<Reference> referenc... | * Created by iilumme.
*/
@Entity
@Table(name = "ReferenceList")
public class ReferenceList extends AbstractPersistable<Long> {
@OneToMany(fetch = FetchType.LAZY)
private List<Reference> references;
private String name;
public ReferenceList(String name) {
this.name = name;
}
... | <|file_sep|>original/src/main/java/ohtuhatut/domain/ReferenceList.java
/**
* The class for a list of references
* Created by iilumme.
*/
@Entity
@Table(name = "ReferenceList")
public class ReferenceList extends AbstractPersistable<Long> {
@OneToMany(fetch = FetchType.LAZY)
private List<Reference> referenc... | 2f5151183729f8a17c2285faaa840fce7285095e | src/main/java/ohtuhatut/domain/ReferenceList.java | src/main/java/ohtuhatut/domain/ReferenceList.java | Java |
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
updated:
addons:
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
<|file_sep|>original/.travis.yml
sudo: required
group: dev
language: python
python:
- "2.7"
env:
- SQL... | dist: trusty
sudo: required
addons:
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
group: dev
language: python
python:
- "2.7"
env:
- SQLALCHEMY_DATABASE_URI=mysql://root:@127.0.0.1/mma_test
install:
- "pip install -r requirements.txt"
before_script:
- mysql -h 1... | <|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
updated:
addons:
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
<|file_sep|>original/.travis.yml
sudo: required
group: dev
language: python
python:
- "2.7"
env:
- SQL... | 17c13ee8f79a698f9d5a2af8968eb284cc527d06 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/author.t/status.t
<|file_sep|>current/author.t/status.t
<|file_sep|>updated/author.t/status.t | use lib '/data/Wing/author.t/lib', '/data/Wing/lib';
use Wing::Perl;
use Test::More;
use Wing::Rest::Status;
use Wing::Rest::NotFound;
use TestHelper;
my $status = TestHelper::call('GET','/api/_test')->{result};
ok exists $status->{tracer}, 'got a tracer back in the description';
my $status2 = TestHelper::call('GET'... | <|file_sep|>original/author.t/status.t
<|file_sep|>current/author.t/status.t
<|file_sep|>updated/author.t/status.t
use lib '/data/Wing/author.t/lib', '/data/Wing/lib';
use Wing::Perl;
use Test::More;
use Wing::Rest::Status;
use Wing::Rest::NotFound;
use TestHelper;
my $status = TestHelper::call('GET','/api/_test')-... | 62d29070ff63b0d10ef5bb63759ba19aac9cf596 | author.t/status.t | author.t/status.t | Perl |
<|file_sep|>original/static/variables/syntax-variables.less
// This file has fallback variables. It specifies the syntax variables that
// themes must implement.
// Colors
@syntax-background-color: #fff;
@syntax-text-color: #333;
@syntax-color-added: #00f;
@syntax-color-ignored: #333;
@syntax-color-modified: #0f0;
@... | // This file has fallback variables. It specifies the syntax variables that
// themes must implement.
// Colors
@syntax-background-color: #fff;
@syntax-color: #333;
@syntax-color-added: #00f;
@syntax-color-ignored: #333;
@syntax-color-modified: #0f0;
@syntax-color-renamed: #333;
@syntax-color-removed: #f00; | <|file_sep|>original/static/variables/syntax-variables.less
// This file has fallback variables. It specifies the syntax variables that
// themes must implement.
// Colors
@syntax-background-color: #fff;
@syntax-text-color: #333;
@syntax-color-added: #00f;
@syntax-color-ignored: #333;
@syntax-color-modified: #0f0;
@... | 1aa96fc37a71bf63aa3b69a509e4efcfaad8507d | static/variables/syntax-variables.less | static/variables/syntax-variables.less | Less |
<|file_sep|>original/install.conf.yaml
- defaults:
link:
create: true
relink: true
- clean: ['~', '~/.config', '~/.config/git', '~/.local/bin', '~/.atom']
- link:
~/.config/base16-shell: base16-shell
~/.config/zsh: zsh
~/.config/nvim: nvim
~/.config/git/config: git/config
~/.tmux.c... | - defaults:
link:
create: true
relink: true
- clean: ['~', '~/.config', '~/.config/git', '~/.local/bin', '~/.atom']
- link:
~/.config/base16-shell: base16-shell
~/.config/zsh: zsh
~/.config/nvim: nvim
~/.config/git/config: git/config
~/.tmux.conf: tmux/tmux.conf
~/.editorconfig... | <|file_sep|>original/install.conf.yaml
- defaults:
link:
create: true
relink: true
- clean: ['~', '~/.config', '~/.config/git', '~/.local/bin', '~/.atom']
- link:
~/.config/base16-shell: base16-shell
~/.config/zsh: zsh
~/.config/nvim: nvim
~/.config/git/config: git/config
~/.tmux.c... | 932ede82f064ea2d636bf9f1653266d1726740d3 | install.conf.yaml | install.conf.yaml | YAML |
<|file_sep|>original/lib/vagrant-notify/action/start_server.rb
require_relative '../server'
module Vagrant
module Notify
module Action
class StartServer
# TODO: This should come from vm configuration or be automatically
# assigned
PORT = '8080'
def initialize(app, env... | require_relative '../server'
module Vagrant
module Notify
module Action
class StartServer
# TODO: This should come from vm configuration or be automatically
# assigned
PORT = '9999'
def initialize(app, env)
@app = app
end
def call(env)
... | <|file_sep|>original/lib/vagrant-notify/action/start_server.rb
require_relative '../server'
module Vagrant
module Notify
module Action
class StartServer
# TODO: This should come from vm configuration or be automatically
# assigned
PORT = '8080'
def initialize(app, env... | 9ff2aee722e94f4455b9471e5e25192b229cc4da | lib/vagrant-notify/action/start_server.rb | lib/vagrant-notify/action/start_server.rb | Ruby |
<|file_sep|>original/{{cookiecutter.repo_name}}/tests/test_{{cookiecutter.repo_name}}.py
# -*- coding: utf-8 -*-
import pytest
def test_app_title(app):
"""Simply tests if the default app title meets the expectations.
Args:
app (:class:`{{cookiecutter.app_class_name}}`): Default app instance
Raise... | # -*- coding: utf-8 -*-
def test_app_title(app):
"""Simply tests if the default app title meets the expectations.
Args:
app (:class:`{{cookiecutter.app_class_name}}`): Default app instance
Raises:
AssertionError: If the title does not match
"""
assert app.title == '{{cookiecutter.app... | <|file_sep|>original/{{cookiecutter.repo_name}}/tests/test_{{cookiecutter.repo_name}}.py
# -*- coding: utf-8 -*-
import pytest
def test_app_title(app):
"""Simply tests if the default app title meets the expectations.
Args:
app (:class:`{{cookiecutter.app_class_name}}`): Default app instance
Raise... | 2f4365d1d8c54f4ced852ffe9824fc530ac14862 | {{cookiecutter.repo_name}}/tests/test_{{cookiecutter.repo_name}}.py | {{cookiecutter.repo_name}}/tests/test_{{cookiecutter.repo_name}}.py | Python |
<|file_sep|>original/test/CodeGen/X86/2007-01-08-InstrSched.ll
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | \
; RUN: %prcontext 'mulss LCPI1_3' 1 | grep mulss | wc -l | grep 1
define float %foo(float %x) {
%tmp1 = mul float %x, 3.000000e+00
%tmp3 = mul float %x, 5.000000e+00
%tmp5 = mul float... | ; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | \
; RUN: %prcontext 'mulss LCPI1_3' 1 | grep mulss | wc -l | grep 1
; PR1075
define float %foo(float %x) {
%tmp1 = mul float %x, 3.000000e+00
%tmp3 = mul float %x, 5.000000e+00
%tmp5 = mul float %x, 7.000000e+00
%tmp7 = mul float %x, 1.100000e+... | <|file_sep|>original/test/CodeGen/X86/2007-01-08-InstrSched.ll
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | \
; RUN: %prcontext 'mulss LCPI1_3' 1 | grep mulss | wc -l | grep 1
define float %foo(float %x) {
%tmp1 = mul float %x, 3.000000e+00
%tmp3 = mul float %x, 5.000000e+00
%tmp5 = mul float... | 857a35d2301b63028fc20dc535effe72c7c97761 | test/CodeGen/X86/2007-01-08-InstrSched.ll | test/CodeGen/X86/2007-01-08-InstrSched.ll | LLVM |
<|file_sep|>README.md.diff
original:
This project lets you run the
[downloadable version](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html)
of [Amazon DynamoDB](https://aws.amazon.com/documentation/dynamodb/) in Docker.
updated:
This project lets you run the [downloadable version](http... | ## Usage
```
docker run -p 127.0.0.1:8000:8000 hilverd/dynamodb
```
To confirm things are working, open DynamoDB's [Web Shell](http://localhost:8000/shell/). To learn more, you can follow [Getting Started with Amazon DynamoDB](http://docs.aws.amazon.com/amazondynamodb/latest/gettingstartedguide/Welcome.html).
### St... | <|file_sep|>README.md.diff
original:
This project lets you run the
[downloadable version](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html)
of [Amazon DynamoDB](https://aws.amazon.com/documentation/dynamodb/) in Docker.
updated:
This project lets you run the [downloadable version](http... | dcba752e5aea7a8e8424df51a70dbdebf23d7c7d | README.md | README.md | Markdown |
<|file_sep|>original/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java
<|file_sep|>current/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java
<|file_sep|>updated/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | <|file_sep|>original/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java
<|file_sep|>current/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java
<|file_sep|>updated/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging... | fee2091f8fbd5718e68b53f3d702556eac452cf4 | enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java | enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java | Java |
<|file_sep|>original/building-image-with-baremetal-flavor.md
<|file_sep|>current/building-image-with-baremetal-flavor.md
<|file_sep|>updated/building-image-with-baremetal-flavor.md | # Building and image with the tripleo baremetal flavor
In order to intregrate with tripleo, we need to have a baremetal machine successfully spawning. There are a series of steps highlighted below on how to setup to boot your baremetal machine using the rhel-atomic-cloud image. | <|file_sep|>original/building-image-with-baremetal-flavor.md
<|file_sep|>current/building-image-with-baremetal-flavor.md
<|file_sep|>updated/building-image-with-baremetal-flavor.md
# Building and image with the tripleo baremetal flavor
In order to intregrate with tripleo, we need to have a baremetal machine successf... | f896573617b8cb85e0da52691ab7fa6594b3b235 | building-image-with-baremetal-flavor.md | building-image-with-baremetal-flavor.md | Markdown |
<|file_sep|>original/lib/fdic/bank_find/schema_validators/base_validator.rb
module FDIC
module BankFind
module SchemaValidators
class BaseValidator
def schema_valid?
JSON::Validator.validate(schema, response)
end
def schema_valid!
JSON::Validator.validate!(schema... | module FDIC
module BankFind
module SchemaValidators
class BaseValidator
def schema_valid?
JSON::Validator.validate(schema, response)
end
def schema_valid!
JSON::Validator.validate!(schema, response)
end
protected
def response
@... | <|file_sep|>original/lib/fdic/bank_find/schema_validators/base_validator.rb
module FDIC
module BankFind
module SchemaValidators
class BaseValidator
def schema_valid?
JSON::Validator.validate(schema, response)
end
def schema_valid!
JSON::Validator.validate!(schema... | c00e2b3f33f693c7d4f95843f26695f5e3a264b3 | lib/fdic/bank_find/schema_validators/base_validator.rb | lib/fdic/bank_find/schema_validators/base_validator.rb | Ruby |
<|file_sep|>original/.travis.yml
- documentation
services: redis
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit -c phpunit.xml.travisci
jobs:
fast_finish: true
include:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6... | - v0.5
- v0.6
- v0.6-PHP_5.2
- documentation
services: redis
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit -c phpunit.xml.travisci
jobs:
fast_finish: true
include:
- php: 5.3
- php: 5.4
- php: 5.5
- ... | <|file_sep|>original/.travis.yml
- documentation
services: redis
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit -c phpunit.xml.travisci
jobs:
fast_finish: true
include:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6... | 15314b726bb39e4712599f1c49dac8c899710a40 | .travis.yml | .travis.yml | YAML |
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff
original:
#Thu Mar 19 13:09:42 CET 2015
updated:
#Thu Apr 16 14:08:48 CEST 2015
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
#Thu Mar 19 13:09:42 CET 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_... | #Thu Apr 16 14:08:48 CEST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-all.zip | <|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff
original:
#Thu Mar 19 13:09:42 CET 2015
updated:
#Thu Apr 16 14:08:48 CEST 2015
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
#Thu Mar 19 13:09:42 CET 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_... | f88978df17fac4c57b654581216ca2a33f8e3204 | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>.travis.yml.diff
original:
updated:
- R17.1
- R17.0
- R16B03-1
- R16B03
<|file_sep|>.travis.yml.diff
original:
- R16B
updated:
<|file_sep|>original/.travis.yml
language: erlang
otp_release:
- R16B02
- R16B01
- R16B
- R15B03
- R15B02
- R15B01
- R15B
- R14B04
- R14B... | language: erlang
otp_release:
- R17.1
- R17.0
- R16B03-1
- R16B03
- R16B02
- R16B01
- R15B03
- R15B02
- R15B01
- R14B04
- R14B03
- R14B02 | <|file_sep|>.travis.yml.diff
original:
updated:
- R17.1
- R17.0
- R16B03-1
- R16B03
<|file_sep|>.travis.yml.diff
original:
- R16B
updated:
<|file_sep|>original/.travis.yml
language: erlang
otp_release:
- R16B02
- R16B01
- R16B
- R15B03
- R15B02
- R15B01
- R15B
- R14B04
- R14B... | 64e6ff8c080dbfacc925e17a96c6feda6fe3d917 | .travis.yml | .travis.yml | YAML |
<|file_sep|>metadata/ws.xsoh.etar.txt.diff
original:
updated:
Build:1.0.7,10
commit=v1.0.7
submodules=yes
gradle=yes
<|file_sep|>original/metadata/ws.xsoh.etar.txt
gradle=yes
Build:1.0.3,7
commit=v1.0.3
submodules=yes
gradle=yes
Build:1.0.4,8
commit=v1.0.4
submodules=yes
grad... | gradle=yes
Build:1.0.4,8
commit=v1.0.4
submodules=yes
gradle=yes
Build:1.0.6,9
commit=v1.0.6
submodules=yes
gradle=yes
Build:1.0.7,10
commit=v1.0.7
submodules=yes
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:1.0.7
Current Version Code:10 | <|file_sep|>metadata/ws.xsoh.etar.txt.diff
original:
updated:
Build:1.0.7,10
commit=v1.0.7
submodules=yes
gradle=yes
<|file_sep|>original/metadata/ws.xsoh.etar.txt
gradle=yes
Build:1.0.3,7
commit=v1.0.3
submodules=yes
gradle=yes
Build:1.0.4,8
commit=v1.0.4
submodules=yes
grad... | a00b1b01a6acbfe35328f2b2ede48a9f3c76542a | metadata/ws.xsoh.etar.txt | metadata/ws.xsoh.etar.txt | Text |
<|file_sep|>original/tox.ini
minversion = 1.6
skipsdist = True
envlist = py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests monasca_common/tests
[te... | minversion = 1.6
skipsdist = True
envlist = py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals = find
commands =
find . -type f -name "*.pyc" -delet... | <|file_sep|>original/tox.ini
minversion = 1.6
skipsdist = True
envlist = py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests monasca_common/tests
[te... | e4ca678359ddb256d5848239d51e960b63644720 | tox.ini | tox.ini | INI |
<|file_sep|>Game/GameInit.cs.diff
original:
updated:
using Matcha.Lib;
<|file_sep|>original/Game/GameInit.cs
{
void Awake()
{
// seed Random with current seconds;
Random.seed = (int)System.DateTime.Now.Ticks;
// initialize DOTween before first use.
DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(... | using DG.Tweening;
using Matcha.Lib;
public class GameInit : MonoBehaviour
{
void Awake()
{
// seed Random with current seconds;
Random.seed = (int)System.DateTime.Now.Ticks;
// initialize DOTween before first use.
DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(200, 10);
DOTween.SetTweensCapa... | <|file_sep|>Game/GameInit.cs.diff
original:
updated:
using Matcha.Lib;
<|file_sep|>original/Game/GameInit.cs
{
void Awake()
{
// seed Random with current seconds;
Random.seed = (int)System.DateTime.Now.Ticks;
// initialize DOTween before first use.
DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(... | e8987fdc17d726ad4f3cac3be0120319cb8057b6 | Game/GameInit.cs | Game/GameInit.cs | C# |
<|file_sep|>original/manifest.json
"version": "1.0",
"icons": {
"16": "images/icons/icon-16.png",
"48": "images/icons/icon-48.png",
"128": "images/icons/icon-128.png"
},
"background": {
"scripts": [
"js/background.js"
],
"persistent": true
},
"browser_action": {
"default_ic... | "version": "1.0",
"icons": {
"16": "images/icons/icon-16.png",
"48": "images/icons/icon-48.png",
"128": "images/icons/icon-128.png"
},
"background": {
"scripts": [
"js/background.js"
],
"persistent": true
},
"browser_action": {
"default_icon": {
"19": "images/icons/ic... | <|file_sep|>original/manifest.json
"version": "1.0",
"icons": {
"16": "images/icons/icon-16.png",
"48": "images/icons/icon-48.png",
"128": "images/icons/icon-128.png"
},
"background": {
"scripts": [
"js/background.js"
],
"persistent": true
},
"browser_action": {
"default_ic... | 22f9e646d45aa6b5b129b4bbb74864438f868ccb | manifest.json | manifest.json | JSON |
<|file_sep|>metadata/de.nico.ha_manager.txt.diff
original:
updated:
Build:0.8,14
commit=0.8
subdir=app
<|file_sep|>original/metadata/de.nico.ha_manager.txt
Build:0.62,9
commit=0.62
subdir=HA-Manager
Build:0.63,10
commit=0.63
subdir=HA-Manager
Build:0.65,12
commit=0.65
subdir=HA-Manag... | Build:0.63,10
commit=0.63
subdir=HA-Manager
Build:0.65,12
commit=0.65
subdir=HA-Manager
Build:0.7,13
commit=0.7
subdir=HA-Manager
Build:0.8,14
commit=0.8
subdir=app
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:0.8
Current Version Code:14
| <|file_sep|>metadata/de.nico.ha_manager.txt.diff
original:
updated:
Build:0.8,14
commit=0.8
subdir=app
<|file_sep|>original/metadata/de.nico.ha_manager.txt
Build:0.62,9
commit=0.62
subdir=HA-Manager
Build:0.63,10
commit=0.63
subdir=HA-Manager
Build:0.65,12
commit=0.65
subdir=HA-Manag... | 5dc3843f1e6b468d74406d7a63c441e875566603 | metadata/de.nico.ha_manager.txt | metadata/de.nico.ha_manager.txt | Text |
<|file_sep|>original/index.html
<body>
<!-- Top navigation bar -->
<nav id="myNavBar"
class="navbar navbar-default navbar-inverse navbar-fixed-top"
role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-tog... | <body>
<!-- Top navigation bar -->
<nav id="myNavBar"
class="navbar navbar-default navbar-inverse navbar-fixed-top"
role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle"
dat... | <|file_sep|>original/index.html
<body>
<!-- Top navigation bar -->
<nav id="myNavBar"
class="navbar navbar-default navbar-inverse navbar-fixed-top"
role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-tog... | 3f262f7a76672a0c21f9bf6a86d20ca7607757cd | index.html | index.html | HTML |
<|file_sep|>original/app/views/articles/index.html.erb
<% @articles.each do |article| %>
<h3><%= article.title %></h3>
<p><%= article.text %></p>
<hr />
<% end %>
<|file_sep|>current/app/views/articles/index.html.erb
<% @articles.each do |article| %>
<h3><%= article.title %></h3>
<p><%= article.text %></p>
<hr />... | <% @articles.each do |article| %>
<h3><%= article.title %></h3>
<p><%= article.text %></p>
<p><%= link_to 'Show', article_path(article) %></p>
<hr />
<% end %> | <|file_sep|>original/app/views/articles/index.html.erb
<% @articles.each do |article| %>
<h3><%= article.title %></h3>
<p><%= article.text %></p>
<hr />
<% end %>
<|file_sep|>current/app/views/articles/index.html.erb
<% @articles.each do |article| %>
<h3><%= article.title %></h3>
<p><%= article.text %></p>
<hr />... | 5b3e14903c8bc8f256a0ca0073196f8b3b362a5f | app/views/articles/index.html.erb | app/views/articles/index.html.erb | HTML+ERB |
<|file_sep|>ImageReconstruction/main.cpp.diff
original:
manager.registerTask<SinogramCreator>("SinogramCreatorMC");
updated:
manager.registerTask<SinogramCreatorMC>("SinogramCreatorMC");
<|file_sep|>original/ImageReconstruction/main.cpp
#include "JPetManager/JPetManager.h"
#include "ImageReco.h"
#include "Sinogram... |
#include "JPetManager/JPetManager.h"
#include "ImageReco.h"
#include "SinogramCreator.h"
#include "SinogramCreatorMC.h"
using namespace std;
int main(int argc, const char* argv[])
{
JPetManager& manager = JPetManager::getManager();
manager.registerTask<ImageReco>("ImageReco");
manager.registerTask<SinogramCrea... | <|file_sep|>ImageReconstruction/main.cpp.diff
original:
manager.registerTask<SinogramCreator>("SinogramCreatorMC");
updated:
manager.registerTask<SinogramCreatorMC>("SinogramCreatorMC");
<|file_sep|>original/ImageReconstruction/main.cpp
#include "JPetManager/JPetManager.h"
#include "ImageReco.h"
#include "Sinogram... | c3b58d78a7e3b31079d72983da31fa8d3a0dc155 | ImageReconstruction/main.cpp | ImageReconstruction/main.cpp | C++ |
<|file_sep|>original/InfiniMap/Map.cs
{
_chunkHeight = chunkHeight;
_chunkWidth = chunkWidth;
Chunks = new Dictionary<Tuple<int, int>, Chunk>(64);
}
public Block this[int x, int y]
{
get
{
int xChunk = (x/_chunk... | {
_chunkHeight = chunkHeight;
_chunkWidth = chunkWidth;
Chunks = new Dictionary<Tuple<int, int>, Chunk>(64);
}
public Block this[int x, int y]
{
get
{
var xChunk = (int) Math.Floor(x/(float) _chunkHeight);
... | <|file_sep|>original/InfiniMap/Map.cs
{
_chunkHeight = chunkHeight;
_chunkWidth = chunkWidth;
Chunks = new Dictionary<Tuple<int, int>, Chunk>(64);
}
public Block this[int x, int y]
{
get
{
int xChunk = (x/_chunk... | 52ba2fa75298ce27b6a2c9724b1f168b7c5f08c0 | InfiniMap/Map.cs | InfiniMap/Map.cs | C# |
<|file_sep|>original/lib/rack_request_ip_strategies/base.rb
def initialize(env, config)
@env = env
@config = config
end
private
def ips_from(header)
ips = @env[header] ? @env[header].strip.split(/[,\s]+/) : []
ips.select { |ip| valid_ip?(ip) }
end
def valid_ip?(ip)
... |
def initialize(env, config)
@env = env
@config = config
end
private
def ips_from(header)
ips = @env[header] ? @env[header].strip.split(/[,\s]+/) : []
ips.select { |ip| valid_ip?(ip) }
end
def valid_ip?(ip)
return false if ip.include?('/')
IPAddr.new(ip)
... | <|file_sep|>original/lib/rack_request_ip_strategies/base.rb
def initialize(env, config)
@env = env
@config = config
end
private
def ips_from(header)
ips = @env[header] ? @env[header].strip.split(/[,\s]+/) : []
ips.select { |ip| valid_ip?(ip) }
end
def valid_ip?(ip)
... | 376bd9f03c2e44abd6aab49edf0c512f4ecb1d0c | lib/rack_request_ip_strategies/base.rb | lib/rack_request_ip_strategies/base.rb | Ruby |
<|file_sep|>app/assets/index.less.diff
original:
updated:
background: url('vendor/subtlepatterns/groovepaper/groovepaper.png');
<|file_sep|>original/app/assets/index.less
/* Liberal-use alternative to Trajan. See http://joelcrawfordsmith.com/new/font/trajan for details. */
@import url('http://fonts.googleapis.com... | html {
height: 100%;
body {
height: 100%;
background: url('vendor/subtlepatterns/groovepaper/groovepaper.png');
article {
height: 100%;
// &::after {
// content: '';
// background: url('vendor/subtlepatterns/groovepaper/groovepaper.png');
// .opacity(.5);
// to... | <|file_sep|>app/assets/index.less.diff
original:
updated:
background: url('vendor/subtlepatterns/groovepaper/groovepaper.png');
<|file_sep|>original/app/assets/index.less
/* Liberal-use alternative to Trajan. See http://joelcrawfordsmith.com/new/font/trajan for details. */
@import url('http://fonts.googleapis.com... | 888580060dd4221fbfbd8be41b3a51ff5082f31e | app/assets/index.less | app/assets/index.less | Less |
<|file_sep|>original/requirements.txt
botocore==1.10.49
boto3==1.7.47
Collectfast==0.6.2
dj_database_url==0.5.0
django-ordered-model==2.0.0
django-s3-folder-storage==0.5
django-storages==1.6.6
Django==2.0.7
docutils==0.14
gunicorn==19.8.1
jmespath==0.9.3
pillow==5.2.0
psycopg2-binary==2.7.5
python-dateutil==2.7.3
pytho... | botocore==1.10.49
boto3==1.7.49
Collectfast==0.6.2
dj_database_url==0.5.0
django-ordered-model==2.0.0
django-s3-folder-storage==0.5
django-storages==1.6.6
Django==2.0.7
docutils==0.14
gunicorn==19.8.1
jmespath==0.9.3
pillow==5.2.0
psycopg2-binary==2.7.5
python-dateutil==2.7.3
python-decouple==3.1
python_box==3.2.0
pytz... | <|file_sep|>original/requirements.txt
botocore==1.10.49
boto3==1.7.47
Collectfast==0.6.2
dj_database_url==0.5.0
django-ordered-model==2.0.0
django-s3-folder-storage==0.5
django-storages==1.6.6
Django==2.0.7
docutils==0.14
gunicorn==19.8.1
jmespath==0.9.3
pillow==5.2.0
psycopg2-binary==2.7.5
python-dateutil==2.7.3
pytho... | 1fecada3f4a8b28dee0a6ba7ebba77735068a1fe | requirements.txt | requirements.txt | Text |
<|file_sep|>original/pac_alike.html
<html>
<head>
<meta charset="UTF-8"/>
<link href="./pac_styling.css" rel="stylesheet" type="text/css"/>
<script src="./pac_constants.js"></script>
<script src="./view.js"></script>
<script src="./pac_draw_borders.js"></script>
<script src="./ghost.js"></script>
<scri... | <html>
<head>
<meta charset="UTF-8"/>
<link href="./pac_styling.css" rel="stylesheet" type="text/css"/>
<script src="./pac_constants.js"></script>
<script src="./view.js"></script>
<script src="./pac_draw_borders.js"></script>
<script src="./actor.js"></script>
<script src="./ghost.js"></script>
<scr... | <|file_sep|>original/pac_alike.html
<html>
<head>
<meta charset="UTF-8"/>
<link href="./pac_styling.css" rel="stylesheet" type="text/css"/>
<script src="./pac_constants.js"></script>
<script src="./view.js"></script>
<script src="./pac_draw_borders.js"></script>
<script src="./ghost.js"></script>
<scri... | 182f7997e7fa7f529067a28424ef171b75ec8a7e | pac_alike.html | pac_alike.html | HTML |
<|file_sep|>original/netlify.toml
[build]
base = "docs"
publish = "docs/public"
command = "zola build"
[build.environment]
ZOLA_VERSION = "0.7.0"
[context.deploy-preview]
command = "zola build --base-url $DEPLOY_PRIME_URL"
<|file_sep|>current/netlify.toml
[build]
base = "docs"
publis... | [build]
base = "docs"
publish = "docs/public"
command = "zola build"
[build.environment]
ZOLA_VERSION = "0.8.0"
[context.deploy-preview]
command = "zola build --base-url $DEPLOY_PRIME_URL" | <|file_sep|>original/netlify.toml
[build]
base = "docs"
publish = "docs/public"
command = "zola build"
[build.environment]
ZOLA_VERSION = "0.7.0"
[context.deploy-preview]
command = "zola build --base-url $DEPLOY_PRIME_URL"
<|file_sep|>current/netlify.toml
[build]
base = "docs"
publis... | 9faa0ddbdb098201cc31d3be0455acf73f44f745 | netlify.toml | netlify.toml | TOML |
<|file_sep|>original/genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/RealignIndels.java
<|file_sep|>current/genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/RealignIndels.java
<|file_sep|>updated/genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/Rea... | package com.github.sparkcaller.preprocessing;
import com.github.sparkcaller.Utils;
import org.apache.spark.api.java.function.Function;
import org.broadinstitute.gatk.engine.CommandLineGATK;
import scala.Tuple2;
import java.io.File;
import java.util.ArrayList;
public class RealignIndels implements Function<Tuple2<Fil... | <|file_sep|>original/genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/RealignIndels.java
<|file_sep|>current/genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/RealignIndels.java
<|file_sep|>updated/genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/Rea... | 5a4f0c7c31d8f913844654e2cba709852fbc6c12 | genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/RealignIndels.java | genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/RealignIndels.java | Java |
<|file_sep|>original/documents/icd/README.md
# Interface Control Document
This is the skelecton of ICD.
<|file_sep|>current/documents/icd/README.md
# Interface Control Document
This is the skelecton of ICD.
<|file_sep|>updated/documents/icd/README.md | # Interface Control Document
The specfication of loading translation dictionary.<br/>
It includs how to setup local dictionary, and how to communicate with dictionary servers.<br/>
# Local file dictionary
Local file dictionary means translation dictionaries located in your appplication directory.<br/>
The dictionary ... | <|file_sep|>original/documents/icd/README.md
# Interface Control Document
This is the skelecton of ICD.
<|file_sep|>current/documents/icd/README.md
# Interface Control Document
This is the skelecton of ICD.
<|file_sep|>updated/documents/icd/README.md
# Interface Control Document
The specfication of loading translati... | c6a49882750565cdb4482f3438cf77751dc5e829 | documents/icd/README.md | documents/icd/README.md | Markdown |
<|file_sep|>osu.Game/Tests/Visual/OsuTestCase.cs.diff
original:
updated:
host.Storage.DeleteDirectory(string.Empty);
<|file_sep|>original/osu.Game/Tests/Visual/OsuTestCase.cs
public abstract class OsuTestCase : TestCase
{
public override void RunTest()
{
using (var h... | public abstract class OsuTestCase : TestCase
{
public override void RunTest()
{
using (var host = new HeadlessGameHost($"test-{Guid.NewGuid()}", realtime: false))
{
host.Storage.DeleteDirectory(string.Empty);
host.Run(new OsuTestCaseTestRun... | <|file_sep|>osu.Game/Tests/Visual/OsuTestCase.cs.diff
original:
updated:
host.Storage.DeleteDirectory(string.Empty);
<|file_sep|>original/osu.Game/Tests/Visual/OsuTestCase.cs
public abstract class OsuTestCase : TestCase
{
public override void RunTest()
{
using (var h... | 5b2219a692761b1d1e4413f61ac210cb54cdeb7e | osu.Game/Tests/Visual/OsuTestCase.cs | osu.Game/Tests/Visual/OsuTestCase.cs | C# |
<|file_sep|>react-client/src/components/Bookmarks.js.diff
original:
getBookmarks() {
updated:
getUserBookmarks() {
<|file_sep|>original/react-client/src/components/Bookmarks.js
self.setState({bookmarks: data})
},
error: (error) => {
console.error('error in get bookmarks', error);
... | self.setState({bookmarks: data})
},
error: (error) => {
console.error('error in get bookmarks', error);
$('.error').show();
},
});
}
componentWillMount() {
this.getUserBookmarks();
}
render() {
let self = this;
return (
<div>
<h1>Your Boo... | <|file_sep|>react-client/src/components/Bookmarks.js.diff
original:
getBookmarks() {
updated:
getUserBookmarks() {
<|file_sep|>original/react-client/src/components/Bookmarks.js
self.setState({bookmarks: data})
},
error: (error) => {
console.error('error in get bookmarks', error);
... | 5269d3c08d97c03c37f83617daba3eaf238e96b4 | react-client/src/components/Bookmarks.js | react-client/src/components/Bookmarks.js | JavaScript |
<|file_sep|>original/Documentation/pgm-init.txt
If run an an existing `$site_path`, init will upgrade some resources
as necessary.
OPTIONS
-------
\--batch::
Run in batch mode, skipping interactive prompts. Reasonable
configuration defaults are chosen based on the whims of
the Gerrit developers.
\--no-auto-start... |
If run an an existing `$site_path`, init will upgrade some resources
as necessary.
OPTIONS
-------
\--batch::
Run in batch mode, skipping interactive prompts. Reasonable
configuration defaults are chosen based on the whims of
the Gerrit developers.
+
If during a schema migration unused objects (e.g. tables, colum... | <|file_sep|>original/Documentation/pgm-init.txt
If run an an existing `$site_path`, init will upgrade some resources
as necessary.
OPTIONS
-------
\--batch::
Run in batch mode, skipping interactive prompts. Reasonable
configuration defaults are chosen based on the whims of
the Gerrit developers.
\--no-auto-start... | 1cd6909664e451b3e82f1902b5dc33fa0743838d | Documentation/pgm-init.txt | Documentation/pgm-init.txt | Text |
<|file_sep|>original/app/views/pages/index.html.haml
%center
%h1 Higgin's Heroes
%img{src: '/assets/stalag13.jpg'}
%p
Using the Rails Rumble to support the
%a{href: 'http://higgins.org'} Higgins Armory Museum
<|file_sep|>current/app/views/pages/index.html.haml
%center
%h1 Higgin's Heroes
%img{src: ... | %center
%h1 Higgin's Heroes
%img{src: '/assets/stalag13.jpg', style: 'width: 100%;'}
%p
Using the Rails Rumble to support the
%a{href: 'http://higgins.org'} Higgins Armory Museum | <|file_sep|>original/app/views/pages/index.html.haml
%center
%h1 Higgin's Heroes
%img{src: '/assets/stalag13.jpg'}
%p
Using the Rails Rumble to support the
%a{href: 'http://higgins.org'} Higgins Armory Museum
<|file_sep|>current/app/views/pages/index.html.haml
%center
%h1 Higgin's Heroes
%img{src: ... | d2935126a7f51881d09e3b603b68a48f10b260ad | app/views/pages/index.html.haml | app/views/pages/index.html.haml | Haml |
<|file_sep|>original/src/main/resources/application.properties
info.build.artifact=@project.artifactId@
info.build.version=@project.version@
poel.baseUrl=http://localhost:8080
poel.casBaseUrl=https://signon.vpro.nl
poel.maxMultipliersPerUser=5
poel.pointsForCorrectMatchResult=3
poel.pointsForCorrectMatchWinner=1
poel.... | info.build.artifact=@project.artifactId@
info.build.version=@project.version@
poel.baseUrl=http://localhost:8080
poel.casBaseUrl=https://signon.vpro.nl
poel.maxMultipliersPerUser=10
poel.pointsForCorrectMatchResult=3
poel.pointsForCorrectMatchWinner=1
poel.scoreMultiplierFactor=2
poel.title=VPRO EK-poel 2016
manageme... | <|file_sep|>original/src/main/resources/application.properties
info.build.artifact=@project.artifactId@
info.build.version=@project.version@
poel.baseUrl=http://localhost:8080
poel.casBaseUrl=https://signon.vpro.nl
poel.maxMultipliersPerUser=5
poel.pointsForCorrectMatchResult=3
poel.pointsForCorrectMatchWinner=1
poel.... | fac6c575bd6734c7cb535adc0344d7ee7757fd3c | src/main/resources/application.properties | src/main/resources/application.properties | INI |
<|file_sep|>original/args-newline.pl
<|file_sep|>current/args-newline.pl
<|file_sep|>updated/args-newline.pl | # Test with default values, that is:
# The client writes a message to Sys::Syslog native method.
# The syslogd writes it into a file and through a pipe.
# The syslogd passes it via UDP to the loghost.
# The server receives the message on its UDP socket.
# Find the message in client, file, pipe, syslogd, server log.
# C... | <|file_sep|>original/args-newline.pl
<|file_sep|>current/args-newline.pl
<|file_sep|>updated/args-newline.pl
# Test with default values, that is:
# The client writes a message to Sys::Syslog native method.
# The syslogd writes it into a file and through a pipe.
# The syslogd passes it via UDP to the loghost.
# The se... | 440393226027f661b02f7e7384b901011078a636 | args-newline.pl | args-newline.pl | Perl |
<|file_sep|>lib/active_record/turntable/util.rb.diff
original:
updated:
def ar51_or_later?
ar_version_equals_or_later?("5.1")
end
<|file_sep|>original/lib/active_record/turntable/util.rb
module ActiveRecord::Turntable
module Util
def ar_version_equals_or_later?(version)
ar_version >= Gem::Ve... | ar_version >= Gem::Version.new(version)
end
def ar_version_earlier_than?(version)
ar_version < Gem::Version.new(version)
end
def ar_version
ActiveRecord.gem_version.release
end
def ar51_or_later?
ar_version_equals_or_later?("5.1")
end
module_function :ar_versi... | <|file_sep|>lib/active_record/turntable/util.rb.diff
original:
updated:
def ar51_or_later?
ar_version_equals_or_later?("5.1")
end
<|file_sep|>original/lib/active_record/turntable/util.rb
module ActiveRecord::Turntable
module Util
def ar_version_equals_or_later?(version)
ar_version >= Gem::Ve... | 7cf8b9af88263ad10891d3441f3006ec4beec783 | lib/active_record/turntable/util.rb | lib/active_record/turntable/util.rb | Ruby |
<|file_sep|>original/src/Fields/TextField.php
return $this->weight;
}
public function setWeight(float $weight)
{
$this->weight = $weight;
return $this;
}
public function make(): FieldInterface
{
return (new TextField($this->getName()))->getValue();
}
pu... | }
public function getWeight(): float
{
return $this->weight;
}
public function setWeight(float $weight)
{
$this->weight = $weight;
return $this;
}
public function getTypeDefinition(): array
{
$properties = parent::getTypeDefinition();
$prope... | <|file_sep|>original/src/Fields/TextField.php
return $this->weight;
}
public function setWeight(float $weight)
{
$this->weight = $weight;
return $this;
}
public function make(): FieldInterface
{
return (new TextField($this->getName()))->getValue();
}
pu... | cb62c816726cbe7e1d1544c8e3ee60ec4e401b19 | src/Fields/TextField.php | src/Fields/TextField.php | PHP |
<|file_sep|>original/LICENSE.md
Copyright (c) 2016 and later, Gediminas Kiršanskas, Andreas Wacker, and others.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must ret... | Copyright (c) 2016 and later,
Martin Josefsson,
Gediminas Kiršanskas,
Martin Leijnse,
Andreas Wacker,
and others.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source c... | <|file_sep|>original/LICENSE.md
Copyright (c) 2016 and later, Gediminas Kiršanskas, Andreas Wacker, and others.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must ret... | abb31b78d9593d3457f6f3906d09b8059ee37a63 | LICENSE.md | LICENSE.md | Markdown |
<|file_sep|>CONTRIBUTING.md.diff
original:
updated:
* Include a description of what happens or what the issue/bug does and what the expected behavior is.
<|file_sep|>CONTRIBUTING.md.diff
original:
## Something to improve or add?
updated:
## Cool feature request?
* Make sure the feature isn't already request by chec... |
* Make sure the feature isn't already request by checking in [Issues](https://github.com/runtimejs/runtime/issues).
* Include good reasons for why you think it should be added and why it'd be a good feature.
* If possible, include resources for anyone planning to add the feature.
## Something to improve, add, or f... | <|file_sep|>CONTRIBUTING.md.diff
original:
updated:
* Include a description of what happens or what the issue/bug does and what the expected behavior is.
<|file_sep|>CONTRIBUTING.md.diff
original:
## Something to improve or add?
updated:
## Cool feature request?
* Make sure the feature isn't already request by chec... | a7d0f73f293fb498217a04a5f843796668b3ad54 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>lib/spontaneous/data_mapper/content_table.rb.diff
original:
updated:
REVISION_PADDING = 5
<|file_sep|>lib/spontaneous/data_mapper/content_table.rb.diff
original:
def db
@database
end
updated:
alias_method :db, :database
<|file_sep|>lib/spontaneous/data_mapper/content_table.... | end
def quote_identifier(identifier)
dataset.quote_identifier(identifier)
end
def revision_table(revision_number)
return @name if revision_number.nil?
"__r#{pad_revision_number(revision_number)}_#{@name}".to_sym
end
def revision_table?(table_name)
/... | <|file_sep|>lib/spontaneous/data_mapper/content_table.rb.diff
original:
updated:
REVISION_PADDING = 5
<|file_sep|>lib/spontaneous/data_mapper/content_table.rb.diff
original:
def db
@database
end
updated:
alias_method :db, :database
<|file_sep|>lib/spontaneous/data_mapper/content_table.... | 06c9f5a729bc0795b75da75a8acd06bf022cc5b6 | lib/spontaneous/data_mapper/content_table.rb | lib/spontaneous/data_mapper/content_table.rb | Ruby |
<|file_sep|>original/migrations/20170326151414_add_event_id_for_feed_items.js
<|file_sep|>current/migrations/20170326151414_add_event_id_for_feed_items.js
<|file_sep|>updated/migrations/20170326151414_add_event_id_for_feed_items.js |
exports.up = function(knex, Promise) {
return knex.schema.table('feed_items', function(table) {
table.integer('event_id').index();
table.foreign('event_id')
.references('id')
.inTable('events')
.onDelete('RESTRICT')
.onUpdate('CASCADE');
});
};
exports.down = function(knex, Promise... | <|file_sep|>original/migrations/20170326151414_add_event_id_for_feed_items.js
<|file_sep|>current/migrations/20170326151414_add_event_id_for_feed_items.js
<|file_sep|>updated/migrations/20170326151414_add_event_id_for_feed_items.js
exports.up = function(knex, Promise) {
return knex.schema.table('feed_items', funct... | 95986222a1313f9eb37651adf0ed9270c9a8961f | migrations/20170326151414_add_event_id_for_feed_items.js | migrations/20170326151414_add_event_id_for_feed_items.js | JavaScript |
<|file_sep|>{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/libs/templatetags/url_tags.py.diff
original:
from libs.utils import canonical_url
updated:
<|file_sep|>original/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/libs/templatetags/url_tags.py
from django import template
from django.http import Quer... | from django import template
from django.http import QueryDict
from classytags.core import Tag, Options
from classytags.arguments import MultiKeywordArgument, MultiValueArgument
register = template.Library()
class QueryParameters(Tag):
name = 'query'
options = Options(
MultiKeywordArgument('kwa'),
... | <|file_sep|>{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/libs/templatetags/url_tags.py.diff
original:
from libs.utils import canonical_url
updated:
<|file_sep|>original/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/libs/templatetags/url_tags.py
from django import template
from django.http import Quer... | d55dfc5152f6ebeabe761b627a26a9f00cc4e37c | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/libs/templatetags/url_tags.py | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/libs/templatetags/url_tags.py | Python |
<|file_sep|>original/src/router/index.js
component: Counter,
meta: {
title: 'Counter'
}
},
{
name: 'geographicalIp',
path: '/geographical-ip',
component: GeographicalIp,
meta: {
title: 'Geographical Ip'
}
}
]
const router = new VueRouter({
routes,
mode: 'history'
}... | name: 'geographicalIp',
path: '/geographical-ip',
component: GeographicalIp,
meta: {
title: 'Geographical Ip'
}
}
]
const router = new VueRouter({
routes,
mode: 'history'
})
router.afterEach(to => {
if (to.meta.title !== undefined) {
document.title = `${ to.meta.title } - Vue-vue... | <|file_sep|>original/src/router/index.js
component: Counter,
meta: {
title: 'Counter'
}
},
{
name: 'geographicalIp',
path: '/geographical-ip',
component: GeographicalIp,
meta: {
title: 'Geographical Ip'
}
}
]
const router = new VueRouter({
routes,
mode: 'history'
}... | 6a30ee8c3487069be065e1b82df578bbc8cd806b | src/router/index.js | src/router/index.js | JavaScript |
<|file_sep|>original/src/Backend/Modules/Tags/Tests/Actions/MassActionTest.php
<|file_sep|>current/src/Backend/Modules/Tags/Tests/Actions/MassActionTest.php
<|file_sep|>updated/src/Backend/Modules/Tags/Tests/Actions/MassActionTest.php | <?php
namespace Backend\Modules\Blog\Tests\Action;
use Backend\Modules\Tags\DataFixtures\LoadTagsModulesTags;
use Backend\Modules\Tags\DataFixtures\LoadTagsTags;
use Common\WebTestCase;
class MassActionTest extends WebTestCase
{
public function setUp(): void
{
parent::setUp();
if (!defined('... | <|file_sep|>original/src/Backend/Modules/Tags/Tests/Actions/MassActionTest.php
<|file_sep|>current/src/Backend/Modules/Tags/Tests/Actions/MassActionTest.php
<|file_sep|>updated/src/Backend/Modules/Tags/Tests/Actions/MassActionTest.php
<?php
namespace Backend\Modules\Blog\Tests\Action;
use Backend\Modules\Tags\DataF... | 4dc5464cdff139388f5b2b9f0394841b9d5e6ed5 | src/Backend/Modules/Tags/Tests/Actions/MassActionTest.php | src/Backend/Modules/Tags/Tests/Actions/MassActionTest.php | PHP |
<|file_sep|>recipes/sklearn-contrib-lightning/meta.yaml.diff
original:
- numpy
updated:
- numpy x.x
<|file_sep|>recipes/sklearn-contrib-lightning/meta.yaml.diff
original:
updated:
- numpy x.x
<|file_sep|>original/recipes/sklearn-contrib-lightning/meta.yaml
- cython
run:
- python
test:
requires... | run:
- python
- numpy x.x
test:
requires:
- numpy
- scikit-learn
- nose
imports:
- lightning
about:
home: http://contrib.scikit-learn.org/lightning/
license: BSD 3-Clause
summary: lightning is a library for large-scale linear classification, regression and ranking in Python.
extra... | <|file_sep|>recipes/sklearn-contrib-lightning/meta.yaml.diff
original:
- numpy
updated:
- numpy x.x
<|file_sep|>recipes/sklearn-contrib-lightning/meta.yaml.diff
original:
updated:
- numpy x.x
<|file_sep|>original/recipes/sklearn-contrib-lightning/meta.yaml
- cython
run:
- python
test:
requires... | 21a7a403fb9ff867f9a499607adb14b66709b725 | recipes/sklearn-contrib-lightning/meta.yaml | recipes/sklearn-contrib-lightning/meta.yaml | YAML |
<|file_sep|>original/lib/stump/metareset.rb
class Object
def safe_meta_def method_name, &block
metaclass.remember_original_method(method_name)
meta_eval { define_method method_name, &block }
end
def reset(method_name)
metaclass.restore_original_method(method_name)
end
protected
def remember_o... | class Object
def safe_meta_def method_name, &block
metaclass.remember_original_method(method_name)
meta_eval {
define_method(method_name) {|*args, &block|
method_body.call(*args, &block)
}
}
end
def reset(method_name)
metaclass.restore_original_method(method_name)
end
pro... | <|file_sep|>original/lib/stump/metareset.rb
class Object
def safe_meta_def method_name, &block
metaclass.remember_original_method(method_name)
meta_eval { define_method method_name, &block }
end
def reset(method_name)
metaclass.restore_original_method(method_name)
end
protected
def remember_o... | c054728227675803017555488b4a2e7009359d09 | lib/stump/metareset.rb | lib/stump/metareset.rb | Ruby |
<|file_sep|>original/templates/admin_guests_section.php
<h2>{tr:admin_guests_section}</h2>
<|file_sep|>current/templates/admin_guests_section.php
<h2>{tr:admin_guests_section}</h2>
<|file_sep|>updated/templates/admin_guests_section.php | <h2>{tr:admin_guests_section}</h2>
<?php Template::display('guests_table', array(
'status' => 'available',
'mode' => 'admin',
'guests' => Guest::all(Guest::AVAILABLE)
)) ?> | <|file_sep|>original/templates/admin_guests_section.php
<h2>{tr:admin_guests_section}</h2>
<|file_sep|>current/templates/admin_guests_section.php
<h2>{tr:admin_guests_section}</h2>
<|file_sep|>updated/templates/admin_guests_section.php
<h2>{tr:admin_guests_section}</h2>
<?php Template::display('guests_table', array(
... | 1ec0087582a81f69cf28bcca98ecf8001f4df533 | templates/admin_guests_section.php | templates/admin_guests_section.php | PHP |
<|file_sep|>original/app/models/category_topic.rb
validates :topic_id,
presence: true,
uniqueness: { scope: [:category_id, :category_type] }
validates :category_id, presence: true
validates :category_type, presence: true
validates :placement,
presence: true,
nu... | presence: true,
uniqueness: { scope: [:category_id, :category_type] }
validates :category_id, presence: true
validates :category_type, presence: true
validates :placement,
presence: true,
numericality: { greater_than: 0 },
uniqueness: { scope: [:catego... | <|file_sep|>original/app/models/category_topic.rb
validates :topic_id,
presence: true,
uniqueness: { scope: [:category_id, :category_type] }
validates :category_id, presence: true
validates :category_type, presence: true
validates :placement,
presence: true,
nu... | 09eb16a66003dabc14281cefc15e36bd6d7c9b1f | app/models/category_topic.rb | app/models/category_topic.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.