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/.codeclimate.yml
},
"fixme": {
"enabled": true
},
"duplication": {
"enabled": true,
"config": {
"languages": [
"javascript"
]
}
}
},
"ratings": {
... | },
"fixme": {
"enabled": true
},
"duplication": {
"enabled": true,
"config": {
"languages": [
"javascript"
]
},
"exclude_paths": [
"test/"
]
... | <|file_sep|>original/.codeclimate.yml
},
"fixme": {
"enabled": true
},
"duplication": {
"enabled": true,
"config": {
"languages": [
"javascript"
]
}
}
},
"ratings": {
... | 639a02ff4d46b6641c66791c1e0e896c646b040f | .codeclimate.yml | .codeclimate.yml | YAML |
<|file_sep|>original/requirements_test.txt
pip==9.0.1
wheel==0.30.0
flake8==3.4.1
tox==2.9.1
coverage==4.4.1
pytest==3.2.2
pytest-cov==2.5.1
Sphinx==1.6.4
sphinx-rtd-theme==0.2.4
moto==0.4.31
pymongo==3.5.1
boto3==1.4.7
bumpversion==0.5.3
watchdog==0.8.3
cryptography==2.0.3
clatter==0.1.1
<|file_sep|>current/requiremen... | pip==9.0.1
wheel==0.30.0
flake8==3.4.1
tox==2.9.1
coverage==4.4.1
pytest==3.2.2
pytest-cov==2.5.1
Sphinx==1.6.4
sphinx-rtd-theme==0.2.4
moto==0.4.31
pymongo==3.5.1
boto3==1.4.7
bumpversion==0.5.3
watchdog==0.8.3
cryptography==2.1.1
clatter==0.1.1 | <|file_sep|>original/requirements_test.txt
pip==9.0.1
wheel==0.30.0
flake8==3.4.1
tox==2.9.1
coverage==4.4.1
pytest==3.2.2
pytest-cov==2.5.1
Sphinx==1.6.4
sphinx-rtd-theme==0.2.4
moto==0.4.31
pymongo==3.5.1
boto3==1.4.7
bumpversion==0.5.3
watchdog==0.8.3
cryptography==2.0.3
clatter==0.1.1
<|file_sep|>current/requiremen... | ae602f18708f66265ce2bb3b37611d3bdae10d61 | requirements_test.txt | requirements_test.txt | Text |
<|file_sep|>utils/Hash.h.diff
original:
updated:
#include <cstdint>
<|file_sep|>original/utils/Hash.h
#ifndef HASH_H
#define HASH_H
#include <unordered_map>
#include <unordered_set>
template <typename K, typename V>
using HashMap = std::unordered_map<K, V>;
template <typename T>
using HashSet = std::unordered... |
template <typename K, typename V>
using HashMap = std::unordered_map<K, V>;
template <typename T>
using HashSet = std::unordered_set<T>;
// These come from boost
// Copyright 2005-2014 Daniel James.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy a... | <|file_sep|>utils/Hash.h.diff
original:
updated:
#include <cstdint>
<|file_sep|>original/utils/Hash.h
#ifndef HASH_H
#define HASH_H
#include <unordered_map>
#include <unordered_set>
template <typename K, typename V>
using HashMap = std::unordered_map<K, V>;
template <typename T>
using HashSet = std::unordered... | 5702f86c31305d5029f8d9d8bff02bb6b727a06a | utils/Hash.h | utils/Hash.h | C |
<|file_sep|>original/lib/patches/string.rb
require 'time'
class String
TIME = /\d{2}:\d{2}:\d{2},\d{3}/
def shift_times(delay)
gsub(TIME) do |time|
new_time = Time.parse(time) + delay
new_time.strftime '%H:%M:%S,%3N'
end
end
def timeline?
/-->/ === self
end
end
<|file_sep|>current/l... | require 'time'
class String
TIME = /\d{2}:\d{2}:\d{2},\d{3}/
def shift_times(delay)
gsub(TIME) do |time|
Subshift::Time.parse(time) + delay
end
end
def timeline?
/-->/ === self
end
end | <|file_sep|>original/lib/patches/string.rb
require 'time'
class String
TIME = /\d{2}:\d{2}:\d{2},\d{3}/
def shift_times(delay)
gsub(TIME) do |time|
new_time = Time.parse(time) + delay
new_time.strftime '%H:%M:%S,%3N'
end
end
def timeline?
/-->/ === self
end
end
<|file_sep|>current/l... | f0ce39bacf5a4d31d0979e16c04ef778c61408c4 | lib/patches/string.rb | lib/patches/string.rb | Ruby |
<|file_sep|>package.json.diff
original:
"bluebird": "^1.1.0"
updated:
"bluebird": "^1.2.1"
<|file_sep|>original/package.json
"directories": {
"bin": "./bin",
"man": "./man"
},
"repository": {
"type": "git",
"url": "https://github.com/julien-f/nodejs-hashy"
},
"dependencies": {
"bcr... | },
"directories": {
"bin": "./bin",
"man": "./man"
},
"repository": {
"type": "git",
"url": "https://github.com/julien-f/nodejs-hashy"
},
"dependencies": {
"bcrypt": "~0.7.7",
"bluebird": "^1.2.1"
},
"devDependencies": {
"chai": "^1.9.1",
"mocha": "^1.18.2"
},
"script... | <|file_sep|>package.json.diff
original:
"bluebird": "^1.1.0"
updated:
"bluebird": "^1.2.1"
<|file_sep|>original/package.json
"directories": {
"bin": "./bin",
"man": "./man"
},
"repository": {
"type": "git",
"url": "https://github.com/julien-f/nodejs-hashy"
},
"dependencies": {
"bcr... | 54554347d9c8208caf2f82abaf0eb1a06a7e377d | package.json | package.json | JSON |
<|file_sep|>original/tests/unit/test_test_module_names.py
<|file_sep|>current/tests/unit/test_test_module_names.py
<|file_sep|>updated/tests/unit/test_test_module_names.py | # -*- coding: utf-8 -*-
'''
tests.unit.doc_test
~~~~~~~~~~~~~~~~~~~~
'''
# Import Python libs
from __future__ import absolute_import
import os
# Import Salt Testing libs
from salttesting import TestCase
# Import Salt libs
import integration
EXCLUDED_DIRS = [
'tests/pkg',
'tests/perf',
'tests/un... | <|file_sep|>original/tests/unit/test_test_module_names.py
<|file_sep|>current/tests/unit/test_test_module_names.py
<|file_sep|>updated/tests/unit/test_test_module_names.py
# -*- coding: utf-8 -*-
'''
tests.unit.doc_test
~~~~~~~~~~~~~~~~~~~~
'''
# Import Python libs
from __future__ import absolute_import
impo... | ad3dbee189ac900baf3a84f3b0e843d202f369f8 | tests/unit/test_test_module_names.py | tests/unit/test_test_module_names.py | Python |
<|file_sep|>src/store.js.diff
original:
return createStore(getRootReducer(appName), {}, compose(
applyMiddleware(...middlewares),
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
updated:
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
/* eslint... | errorReportingMiddleware,
];
function configDevelopmentStore(appName) {
/* eslint-disable no-underscore-dangle */
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
/* eslint-enable */
return createStore(getRootReducer(appName), {}, composeEnhancers(
applyMiddleware(...middl... | <|file_sep|>src/store.js.diff
original:
return createStore(getRootReducer(appName), {}, compose(
applyMiddleware(...middlewares),
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
updated:
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
/* eslint... | fb6d7e2fb3b179b6f78d2bd07f60b977cb60801b | src/store.js | src/store.js | JavaScript |
<|file_sep|>original/app-resources/src/main/resources/flyway/ptistats/V1_22__add_region_id_prefix_config.sql
<|file_sep|>current/app-resources/src/main/resources/flyway/ptistats/V1_22__add_region_id_prefix_config.sql
<|file_sep|>updated/app-resources/src/main/resources/flyway/ptistats/V1_22__add_region_id_prefix_conf... | UPDATE oskari_statistical_layer SET config = '{"regionType":"seutukunta", "valueProcessor": "fi.nls.oskari.control.statistics.plugins.pxweb.parser.PrefixedRegionsValueProcessor", "statsRegionPrefix": "SK"}'
where datasource_id = (select id from oskari_statistical_datasource where locale like '%Tilastokeskus%') AND LO... | <|file_sep|>original/app-resources/src/main/resources/flyway/ptistats/V1_22__add_region_id_prefix_config.sql
<|file_sep|>current/app-resources/src/main/resources/flyway/ptistats/V1_22__add_region_id_prefix_config.sql
<|file_sep|>updated/app-resources/src/main/resources/flyway/ptistats/V1_22__add_region_id_prefix_conf... | bc20a80be93ba9a77dc21a28ed6c764a41481a03 | app-resources/src/main/resources/flyway/ptistats/V1_22__add_region_id_prefix_config.sql | app-resources/src/main/resources/flyway/ptistats/V1_22__add_region_id_prefix_config.sql | SQL |
<|file_sep|>docs/developer/other/RELEASE.md.diff
original:
Run
updated:
Run the following commands:
<|file_sep|>docs/developer/other/RELEASE.md.diff
original:
./gradlew clean uploadArtifacts
updated:
./gradlew clean release
git push origin --tags
<|file_sep|>original/docs/developer/other/RELEASE.md
in `$HOME/.gradle/g... |
```properties
ossrhUsername={username}
ossrhPassword={secret}
signing.keyId=24875D73
signing.password={secret}
signing.secretKeyRingFile=/Users/me/.gnupg/secring.gpg
```
## Running a release
Run the following commands:
```sh
./gradlew clean release
git push origin --tags
```
:warning: During the `release` task, y... | <|file_sep|>docs/developer/other/RELEASE.md.diff
original:
Run
updated:
Run the following commands:
<|file_sep|>docs/developer/other/RELEASE.md.diff
original:
./gradlew clean uploadArtifacts
updated:
./gradlew clean release
git push origin --tags
<|file_sep|>original/docs/developer/other/RELEASE.md
in `$HOME/.gradle/g... | 712294420d5fd6afce108ea41432c0b6c888c083 | docs/developer/other/RELEASE.md | docs/developer/other/RELEASE.md | Markdown |
<|file_sep|>README.md.diff
original:
npm install -g gulp bower && npm install && bower install
updated:
sudo npm install -g gulp bower
<|file_sep|>original/README.md
Make sure you have gulp, npm, and bower installed by running this in the
project's root directory:
```sh
npm install -g gulp bower && npm install && bowe... | Make sure you have gulp, npm, and bower installed by running this in the
project's root directory:
```sh
sudo npm install -g gulp bower
```
Then download the npm and bower dependencies:
```sh
bower install && npm install
```
Compile the project files:
```sh
gulp
```
And see the results:
| <|file_sep|>README.md.diff
original:
npm install -g gulp bower && npm install && bower install
updated:
sudo npm install -g gulp bower
<|file_sep|>original/README.md
Make sure you have gulp, npm, and bower installed by running this in the
project's root directory:
```sh
npm install -g gulp bower && npm install && bowe... | 469327f006feee683717ca96c111cda360f1ad5f | README.md | README.md | Markdown |
<|file_sep|>original/requirements/requirements-development.txt
Pillow==3.4.2
unittest2
tox
coverage==4.3.1
<|file_sep|>current/requirements/requirements-development.txt
Pillow==3.4.2
unittest2
tox
coverage==4.3.1
<|file_sep|>updated/requirements/requirements-development.txt | -e .
Pillow==3.4.2
unittest2
tox
coverage==4.3.1 | <|file_sep|>original/requirements/requirements-development.txt
Pillow==3.4.2
unittest2
tox
coverage==4.3.1
<|file_sep|>current/requirements/requirements-development.txt
Pillow==3.4.2
unittest2
tox
coverage==4.3.1
<|file_sep|>updated/requirements/requirements-development.txt
-e .
Pillow==3.4.2
unittest2
tox
coverage==4.... | fedb88e5d5db8b8da7004870891bd9c07abad6d0 | requirements/requirements-development.txt | requirements/requirements-development.txt | Text |
<|file_sep|>original/hooks/lib/check-unittest.sh
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF AN... | # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set... | <|file_sep|>original/hooks/lib/check-unittest.sh
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF AN... | c0d60e03e67c27c305dbd499d1716929c5ac2547 | hooks/lib/check-unittest.sh | hooks/lib/check-unittest.sh | Shell |
<|file_sep|>styles/main.css.diff
original:
updated:
display: flex; flex-wrap: wrap;
<|file_sep|>original/styles/main.css
#headder {
background-color: #999;
color: #333;
text-align:left;
padding: 30px 10px 5px 10px;
}
#content {
padding:10px;
}
#nav {
width: 180px;
float: left;
}
#nav ul {
list... | #headder {
background-color: #999;
color: #333;
text-align:left;
padding: 30px 10px 5px 10px;
}
#content {
padding:10px;
display: flex; flex-wrap: wrap;
}
#nav {
width: 180px;
float: left;
}
#nav ul {
list-style-type: none;
padding: 0px; | <|file_sep|>styles/main.css.diff
original:
updated:
display: flex; flex-wrap: wrap;
<|file_sep|>original/styles/main.css
#headder {
background-color: #999;
color: #333;
text-align:left;
padding: 30px 10px 5px 10px;
}
#content {
padding:10px;
}
#nav {
width: 180px;
float: left;
}
#nav ul {
list... | c3b4f530a60d544251161160ed662afce7666f02 | styles/main.css | styles/main.css | CSS |
<|file_sep|>microservice-vote/vote-service-application/src/main/java/com/ibm/ws/microprofile/sample/conference/vote/model/Attendee.java.diff
original:
private final String name;
updated:
private String name;
<|file_sep|>original/microservice-vote/vote-service-application/src/main/java/com/ibm/ws/microprofile/sample/c... |
public String getId() {
return id;
}
public void setID(String id) {
this.id = id;
}
public String getRevision() {
return revision;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
} | <|file_sep|>microservice-vote/vote-service-application/src/main/java/com/ibm/ws/microprofile/sample/conference/vote/model/Attendee.java.diff
original:
private final String name;
updated:
private String name;
<|file_sep|>original/microservice-vote/vote-service-application/src/main/java/com/ibm/ws/microprofile/sample/c... | b6e8f5aa326dfe9f1eec94290c910f044b9585c4 | microservice-vote/vote-service-application/src/main/java/com/ibm/ws/microprofile/sample/conference/vote/model/Attendee.java | microservice-vote/vote-service-application/src/main/java/com/ibm/ws/microprofile/sample/conference/vote/model/Attendee.java | Java |
<|file_sep|>about/index.md.diff
original:
OpenSpending is a free, open and global platform to search, visualise and analyse fiscal data in the public sphere. With OpenSpending, Open Knowledge International created the opportunity for governments, civil society organizations and communities to publish and visualize thei... | ---
title: About OpenSpending
redirect_from:
- "/about/governance/"
---
### What is OpenSpending?
OpenSpending is a free, open and global platform to search, visualise and analyse fiscal data in the public sphere. With OpenSpending, Open Knowledge Foundation created the opportunity for governments, civil society orga... | <|file_sep|>about/index.md.diff
original:
OpenSpending is a free, open and global platform to search, visualise and analyse fiscal data in the public sphere. With OpenSpending, Open Knowledge International created the opportunity for governments, civil society organizations and communities to publish and visualize thei... | f123eeda1f8c07638fcced1e77e5b87b96dcb5ee | about/index.md | about/index.md | Markdown |
<|file_sep|>original/alerts/geomodel/journal.py
<|file_sep|>current/alerts/geomodel/journal.py
<|file_sep|>updated/alerts/geomodel/journal.py | '''To make GeoModel code more testable, we abstract interaction with
ElasticSearch away via a "journal interface". This is just a function that,
called with an ES index and a list of `Entry`, stores the contained locality
state data in ElasticSearch.
'''
from typing import Callable, List, NamedTuple
from mozdef_util... | <|file_sep|>original/alerts/geomodel/journal.py
<|file_sep|>current/alerts/geomodel/journal.py
<|file_sep|>updated/alerts/geomodel/journal.py
'''To make GeoModel code more testable, we abstract interaction with
ElasticSearch away via a "journal interface". This is just a function that,
called with an ES index and a ... | d942340fb5cfe8aa9aade11b3117b9848097c8a1 | alerts/geomodel/journal.py | alerts/geomodel/journal.py | Python |
<|file_sep|>original/test/Driver/noexecstack.c
// RUN: %clang -### %s -c -o tmp.o -triple i686-pc-linux-gnu -integrated-as -Wa,--noexecstack 2>&1 | grep "mnoexecstack"
<|file_sep|>current/test/Driver/noexecstack.c
// RUN: %clang -### %s -c -o tmp.o -triple i686-pc-linux-gnu -integrated-as -Wa,--noexecstack 2>&1 | grep ... | // RUN: %clang -### %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -Wa,--noexecstack 2>&1 | FileCheck %s
// CHECK: "-cc1" {{.*}} "-mnoexecstack" | <|file_sep|>original/test/Driver/noexecstack.c
// RUN: %clang -### %s -c -o tmp.o -triple i686-pc-linux-gnu -integrated-as -Wa,--noexecstack 2>&1 | grep "mnoexecstack"
<|file_sep|>current/test/Driver/noexecstack.c
// RUN: %clang -### %s -c -o tmp.o -triple i686-pc-linux-gnu -integrated-as -Wa,--noexecstack 2>&1 | grep ... | 5adfa9687fc3a70ad00918004f013e056f8d14b0 | test/Driver/noexecstack.c | test/Driver/noexecstack.c | C |
<|file_sep|>original/CONTRIBUTING.md
Please note that this project is released with a Contributor Code of
Conduct. By participating in this project you agree to abide by its terms.
https://github.com/adafruit/micropython/blob/master/CODE_OF_CONDUCT.md
When reporting an issue and especially submitting a pull request, ... | # Contributing
Please note that this project is released with a Contributor Code of
Conduct. By participating in this project you agree to abide by its terms.
https://github.com/adafruit/micropython/blob/master/CODE_OF_CONDUCT.md
When reporting an issue and especially submitting a pull request, please
make sure that... | <|file_sep|>original/CONTRIBUTING.md
Please note that this project is released with a Contributor Code of
Conduct. By participating in this project you agree to abide by its terms.
https://github.com/adafruit/micropython/blob/master/CODE_OF_CONDUCT.md
When reporting an issue and especially submitting a pull request, ... | d28b456b319f911c5c7707527706c7075ff1b0e2 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>app/models/dnsservice.js.diff
original:
healthState: function() {
let out = this.get('intl').intl.t('generic.healthy');
return out;
}.property('intl._locale'),
updated:
healthState: 'healthy',
<|file_sep|>original/app/models/dnsservice.js
healthState: function() {
let out = this.get('int... | healthState: 'healthy',
displayDetail: function() {
let intl = this.get('intl');
let toTranslation = intl.tHtml('generic.to');
let noneTranslation = intl.tHtml('generic.none');
var services = '';
(this.get('consumedServicesWithNames')||[]).forEach((map, idx) => {
services += '<span>'+ (i... | <|file_sep|>app/models/dnsservice.js.diff
original:
healthState: function() {
let out = this.get('intl').intl.t('generic.healthy');
return out;
}.property('intl._locale'),
updated:
healthState: 'healthy',
<|file_sep|>original/app/models/dnsservice.js
healthState: function() {
let out = this.get('int... | 1aae85174102a20602576e4f664da297efe5e766 | app/models/dnsservice.js | app/models/dnsservice.js | JavaScript |
<|file_sep|>original/example/README.md
## Initial setup, building and serving.
1. Create a Firebase project using the [Firebase console](https://console.firebase.google.com).
1. In the **Authentication** section of your project's Firebase console, open the **Sign-In Method** tab and enable the **Google** and the **E... |
## Initial setup, building and serving.
1. Create a Firebase project using the [Firebase console](https://console.firebase.google.com).
1. In the **Authentication** section of your project's Firebase console, open the **Sign-In Method** tab and enable the **Google** and the **Email/Password** sign-in providers.
1. I... | <|file_sep|>original/example/README.md
## Initial setup, building and serving.
1. Create a Firebase project using the [Firebase console](https://console.firebase.google.com).
1. In the **Authentication** section of your project's Firebase console, open the **Sign-In Method** tab and enable the **Google** and the **E... | 20932949ebc89ac032299b256acd1ade1d8ec2b6 | example/README.md | example/README.md | Markdown |
<|file_sep|>json/test_rapid.cpp.diff
original:
#include "rapidjson/writer.h"
#include "rapidjson/stringbuffer.h"
updated:
#include "rapidjson/filereadstream.h"
#include <cstdio>
<|file_sep|>json/test_rapid.cpp.diff
original:
#include <fstream>
#include <sstream>
#include <string>
updated:
<|file_sep|>json/test_rapid.c... | jobj.ParseStream(frs);
const Value &coordinates = jobj["coordinates"];
int len = coordinates.Size();
double x = 0, y = 0, z = 0;
for (SizeType i = 0; i < len; i++) {
const Value &coord = coordinates[i];
x += coord["x"].GetDouble();
y += coord["y"].GetDouble();
z += coord["z... | <|file_sep|>json/test_rapid.cpp.diff
original:
#include "rapidjson/writer.h"
#include "rapidjson/stringbuffer.h"
updated:
#include "rapidjson/filereadstream.h"
#include <cstdio>
<|file_sep|>json/test_rapid.cpp.diff
original:
#include <fstream>
#include <sstream>
#include <string>
updated:
<|file_sep|>json/test_rapid.c... | 34f96c2f25556024f9095ddd1536654a23ac632f | json/test_rapid.cpp | json/test_rapid.cpp | C++ |
<|file_sep|>config/database.yml.diff
original:
pool: 5
updated:
pool: 10
<|file_sep|>config/database.yml.diff
original:
updated:
pool: 20
<|file_sep|>original/config/database.yml
# gem 'sqlite3'
#
default: &default
adapter: sqlite3
pool: 5
timeout: 10000
development:
<<: *default
database: db/develo... | default: &default
adapter: sqlite3
pool: 10
timeout: 10000
development:
<<: *default
database: db/development.sqlite3
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.... | <|file_sep|>config/database.yml.diff
original:
pool: 5
updated:
pool: 10
<|file_sep|>config/database.yml.diff
original:
updated:
pool: 20
<|file_sep|>original/config/database.yml
# gem 'sqlite3'
#
default: &default
adapter: sqlite3
pool: 5
timeout: 10000
development:
<<: *default
database: db/develo... | a0e9d55b4c263e556efad97df46b145510ebc0bc | config/database.yml | config/database.yml | YAML |
<|file_sep|>original/vagrant/post-deploy.d/10-mount-additional-ephemeral-disk.sh
#!/bin/bash -e
gardenDir="/var/vcap/data/garden"
if ! mount | grep -q $gardenDir; then
# This assumes you are running on an instance with attached ephemeral disk as current (0.70) concourse image does
echo "Mounting ${gardenDir} o... | #!/bin/bash -e
gardenDir="/var/vcap/data/garden"
if ! mount | grep -q $gardenDir; then
# This assumes you are running on an instance with attached ephemeral disk as current (0.70) concourse image does
echo "Mounting ${gardenDir} on to ephemeral disk..."
cp -R ${gardenDir}/* /mnt
umount /mnt
# Unmo... | <|file_sep|>original/vagrant/post-deploy.d/10-mount-additional-ephemeral-disk.sh
#!/bin/bash -e
gardenDir="/var/vcap/data/garden"
if ! mount | grep -q $gardenDir; then
# This assumes you are running on an instance with attached ephemeral disk as current (0.70) concourse image does
echo "Mounting ${gardenDir} o... | 8c00b2ab43b463e6b3157801debbe61ff224ea5d | vagrant/post-deploy.d/10-mount-additional-ephemeral-disk.sh | vagrant/post-deploy.d/10-mount-additional-ephemeral-disk.sh | Shell |
<|file_sep|>original/Documentation/pgm-reindex.txt
== DESCRIPTION
Rebuilds the secondary index.
== OPTIONS
--threads::
Number of threads to use for indexing.
--recheck-mergeable::
Recheck the mergeable flag on all open changes. For each open change,
look up for which commit the mergeability check was last done and... | == DESCRIPTION
Rebuilds the secondary index.
== OPTIONS
--threads::
Number of threads to use for indexing.
--schema-version::
Schema version to reindex; default is most recent version.
--output::
Prefix for output; path for local disk index, or prefix for remote index.
--verbose::
Output debug information for e... | <|file_sep|>original/Documentation/pgm-reindex.txt
== DESCRIPTION
Rebuilds the secondary index.
== OPTIONS
--threads::
Number of threads to use for indexing.
--recheck-mergeable::
Recheck the mergeable flag on all open changes. For each open change,
look up for which commit the mergeability check was last done and... | 0c3730b2822853f5945516265ccb61b261d9dad7 | Documentation/pgm-reindex.txt | Documentation/pgm-reindex.txt | Text |
<|file_sep|>.travis.yml.diff
original:
updated:
addons:
apt:
packages:
- qemu-user-static
<|file_sep|>original/.travis.yml
language: shell
env:
matrix:
- DIST=jessie HW_PLATFORM=ev3
- DIST=jessie HW_PLATFORM=rpi2
- DIST=stretch HW_PLATFORM=ev3
- DIST=stretch HW_PLATFORM=rpi2
dist: xenial
services: ... | language: shell
env:
matrix:
- DIST=jessie HW_PLATFORM=ev3
- DIST=jessie HW_PLATFORM=rpi2
- DIST=stretch HW_PLATFORM=ev3
- DIST=stretch HW_PLATFORM=rpi2
dist: xenial
services: docker
addons:
apt:
packages:
- qemu-user-static
before_script:
- docker build --build-arg DIST=$DIST --build-arg HW_PLATFO... | <|file_sep|>.travis.yml.diff
original:
updated:
addons:
apt:
packages:
- qemu-user-static
<|file_sep|>original/.travis.yml
language: shell
env:
matrix:
- DIST=jessie HW_PLATFORM=ev3
- DIST=jessie HW_PLATFORM=rpi2
- DIST=stretch HW_PLATFORM=ev3
- DIST=stretch HW_PLATFORM=rpi2
dist: xenial
services: ... | f525560b5755014eaf0b05180e9d1853eb8a794f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/packages/sp/spaceprobe.yaml
<|file_sep|>current/packages/sp/spaceprobe.yaml
<|file_sep|>updated/packages/sp/spaceprobe.yaml | homepage: https://github.com/SeanRBurton/spaceprobe
changelog-type: ''
hash: 85cab46a3f57ec0274deacff3b5294fa90167e4f8ebb49dccdd35233d2834d23
test-bench-deps:
test-framework: ! '>=0.8.0.2'
base: ! '>=2 && <4'
clock: -any
test-framework-quickcheck2: ! '>=0.3.0.3'
criterion: -any
erf: -any
containers: -any
... | <|file_sep|>original/packages/sp/spaceprobe.yaml
<|file_sep|>current/packages/sp/spaceprobe.yaml
<|file_sep|>updated/packages/sp/spaceprobe.yaml
homepage: https://github.com/SeanRBurton/spaceprobe
changelog-type: ''
hash: 85cab46a3f57ec0274deacff3b5294fa90167e4f8ebb49dccdd35233d2834d23
test-bench-deps:
test-framewo... | 0eabfa940f4c3be8d9b191ca1dfacb98c7db6e89 | packages/sp/spaceprobe.yaml | packages/sp/spaceprobe.yaml | YAML |
<|file_sep|>original/core/components/com_publications/migrations/Migration20180316000000ComPublications.php
<|file_sep|>current/core/components/com_publications/migrations/Migration20180316000000ComPublications.php
<|file_sep|>updated/core/components/com_publications/migrations/Migration20180316000000ComPublications.... | <?php
use Hubzero\Content\Migration\Base;
// No direct access
defined('_HZEXEC_') or die();
/**
* Migration script for making sure accepted timestamp is set
**/
class Migration20180316000000ComPublications extends Base
{
/**
* Up
**/
public function up()
{
if ($this->db->tableExists('#__publication_versio... | <|file_sep|>original/core/components/com_publications/migrations/Migration20180316000000ComPublications.php
<|file_sep|>current/core/components/com_publications/migrations/Migration20180316000000ComPublications.php
<|file_sep|>updated/core/components/com_publications/migrations/Migration20180316000000ComPublications.... | 7b0407f2f5b10e36b2e0713613873f61d641bf00 | core/components/com_publications/migrations/Migration20180316000000ComPublications.php | core/components/com_publications/migrations/Migration20180316000000ComPublications.php | PHP |
<|file_sep|>src/Surfnet/StepupSelfService/SelfServiceBundle/Resources/views/SecondFactor/list.html.twig.diff
original:
{% if unverifiedSecondFactors is empty %}
updated:
{% if unverifiedSecondFactors.elements is empty %}
<|file_sep|>original/src/Surfnet/StepupSelfService/SelfServiceBundle/Resources/views/Second... | {{ 'ss.second_factor.list.button.register_second_factor' }}
</a>
{% else %}
<table class="table-striped">
<thead>
<tr>
<th>{{ 'ss.second_factor_list.header.type'|trans }}</th>
<th>{{ 'ss.second_factor_list.header.second_... | <|file_sep|>src/Surfnet/StepupSelfService/SelfServiceBundle/Resources/views/SecondFactor/list.html.twig.diff
original:
{% if unverifiedSecondFactors is empty %}
updated:
{% if unverifiedSecondFactors.elements is empty %}
<|file_sep|>original/src/Surfnet/StepupSelfService/SelfServiceBundle/Resources/views/Second... | e60564aa1b277b11a6426515094580904791ab4b | src/Surfnet/StepupSelfService/SelfServiceBundle/Resources/views/SecondFactor/list.html.twig | src/Surfnet/StepupSelfService/SelfServiceBundle/Resources/views/SecondFactor/list.html.twig | Twig |
<|file_sep|>original/src/main/java/com/woinject/EOProvider.java
<|file_sep|>current/src/main/java/com/woinject/EOProvider.java
<|file_sep|>updated/src/main/java/com/woinject/EOProvider.java | /**
* Copyright (C) 2010 hprange <hprange@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | <|file_sep|>original/src/main/java/com/woinject/EOProvider.java
<|file_sep|>current/src/main/java/com/woinject/EOProvider.java
<|file_sep|>updated/src/main/java/com/woinject/EOProvider.java
/**
* Copyright (C) 2010 hprange <hprange@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you ... | 552eeda9d0cd152abba0ed1b42c85d177f7db02a | src/main/java/com/woinject/EOProvider.java | src/main/java/com/woinject/EOProvider.java | Java |
<|file_sep|>original/test/lib/browser/load-css.js
"use strict";
const webmake = require("../../../")
, pg = require("path").resolve(__dirname, "../../__playground");
module.exports = function (t, a, d) {
webmake(`${ pg }/lib/browser-test.js`)(result => {
// eslint-disable-next-line no-eval
result = eval... | "use strict";
const webmake = require("../../../")
, pg = require("path").resolve(__dirname, "../../__playground");
module.exports = function (t, a, d) {
webmake(`${ pg }/lib/browser-test.js`)(result => {
// eslint-disable-next-line no-eval
result = eval(result);
a(result.style.innerHTML, "body {\n\tc... | <|file_sep|>original/test/lib/browser/load-css.js
"use strict";
const webmake = require("../../../")
, pg = require("path").resolve(__dirname, "../../__playground");
module.exports = function (t, a, d) {
webmake(`${ pg }/lib/browser-test.js`)(result => {
// eslint-disable-next-line no-eval
result = eval... | 5a994ed3054c17259c04e7c145dcd69d6279eae0 | test/lib/browser/load-css.js | test/lib/browser/load-css.js | JavaScript |
<|file_sep|>original/Casks/onepassword-beta.rb
class OnepasswordBeta < Cask
version '4.5.BETA-25'
sha256 'fca119b0614da273a3b2e7d101bae9a9dec3df106ad4bc99d0f14e2ade99e0e2'
url "https://cache.agilebits.com/dist/1P/mac4/1Password-#{version}.zip"
homepage 'https://agilebits.com/onepassword/mac'
license :closed
... | class OnepasswordBeta < Cask
version '4.5.BETA-26'
sha256 '11ff41a61fcf52061dd1fcbdcb19725d8b0ec171efb479f5bdbfbb87fb68233e'
url "https://cache.agilebits.com/dist/1P/mac4/1Password-#{version}.zip"
homepage 'https://agilebits.com/onepassword/mac'
license :closed
app '1Password 4.app'
end | <|file_sep|>original/Casks/onepassword-beta.rb
class OnepasswordBeta < Cask
version '4.5.BETA-25'
sha256 'fca119b0614da273a3b2e7d101bae9a9dec3df106ad4bc99d0f14e2ade99e0e2'
url "https://cache.agilebits.com/dist/1P/mac4/1Password-#{version}.zip"
homepage 'https://agilebits.com/onepassword/mac'
license :closed
... | 029a680e4f93f0b6cb986339a4ee5fa8848b4b3b | Casks/onepassword-beta.rb | Casks/onepassword-beta.rb | Ruby |
<|file_sep|>original/lib/what_now.rb
# What_now definitions
require 'ptools'
Todo = Struct.new :text, :path, :line
module WhatNow
class << self
def ignorecase
@ignorecase = true
end
def search_line(line, line_number, path)
regex = @ignorecase ? /TODO:?\s*(.+)$/i : /TODO:?\s*(.+)$/
t... | # What_now definitions
require 'ptools'
# TODO this struct should know how to print itself
Todo = Struct.new :text, :path, :line
module WhatNow
class << self
def ignorecase
@ignorecase = true
end
def search_line(line, line_number, path)
regex = @ignorecase ? /TODO:?\s*(.+)$/i : /TODO:?\s*... | <|file_sep|>original/lib/what_now.rb
# What_now definitions
require 'ptools'
Todo = Struct.new :text, :path, :line
module WhatNow
class << self
def ignorecase
@ignorecase = true
end
def search_line(line, line_number, path)
regex = @ignorecase ? /TODO:?\s*(.+)$/i : /TODO:?\s*(.+)$/
t... | faed0440dfd5c67452e0070c0c112945979b6aae | lib/what_now.rb | lib/what_now.rb | Ruby |
<|file_sep|>original/requirements-testing.txt
codecov==2.0.15
pytest-django==3.4.1
pytest-cov==2.5.1
-r requirements.txt
<|file_sep|>current/requirements-testing.txt
codecov==2.0.15
pytest-django==3.4.1
pytest-cov==2.5.1
-r requirements.txt
<|file_sep|>updated/requirements-testing.txt | codecov==2.0.15
pytest-django==3.4.2
pytest-cov==2.5.1
-r requirements.txt | <|file_sep|>original/requirements-testing.txt
codecov==2.0.15
pytest-django==3.4.1
pytest-cov==2.5.1
-r requirements.txt
<|file_sep|>current/requirements-testing.txt
codecov==2.0.15
pytest-django==3.4.1
pytest-cov==2.5.1
-r requirements.txt
<|file_sep|>updated/requirements-testing.txt
codecov==2.0.15
pytest-django==3.4... | eab6225f0f31b4b2e0c03107b09236ea9605e0b8 | requirements-testing.txt | requirements-testing.txt | Text |
<|file_sep|>original/requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
Babel>=1.3
pbr>=0.6,!=0.7,<1.0
argparse
iso8601>=0.1.9
PrettyTable>=0.7... | # The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
Babel>=1.3
pbr>=0.6,!=0.7,<1.0
argparse
iso8601>=0.1.9
PrettyTable>=0.7,<0.8
oslo.i18n>=1.0.0 # Apache-2.0
o... | <|file_sep|>original/requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
Babel>=1.3
pbr>=0.6,!=0.7,<1.0
argparse
iso8601>=0.1.9
PrettyTable>=0.7... | bf74f22bb86e16442d14c0b57e305283fdd3edfb | requirements.txt | requirements.txt | Text |
<|file_sep|>util/util.go.diff
original:
func formatNumber(num int) (formated string) {
updated:
func formatNumber(num int) (formatted string) {
<|file_sep|>util/util.go.diff
original:
formated += "0"
updated:
formatted += "0"
<|file_sep|>original/util/util.go
duration = formatNumber(minutes) + ":" + formatNumber(s... | duration = formatNumber(minutes) + ":" + formatNumber(seconds)
if hours > 0 {
duration = formatNumber(hours) + ":" + duration
}
return
}
func formatNumber(num int) (formatted string) {
if num < 10 {
formatted += "0"
}
formatted += strconv.Itoa(num)
return
}
func SanitizePath(path string) string {
if stri... | <|file_sep|>util/util.go.diff
original:
func formatNumber(num int) (formated string) {
updated:
func formatNumber(num int) (formatted string) {
<|file_sep|>util/util.go.diff
original:
formated += "0"
updated:
formatted += "0"
<|file_sep|>original/util/util.go
duration = formatNumber(minutes) + ":" + formatNumber(s... | a1737718dc644e736fd6023d6ba465edea3654ee | util/util.go | util/util.go | Go |
<|file_sep|>original/ci/docker/main-bosh-docker/install.sh
ca-certificates \
curl \
git \
iproute2 \
openssh-client \
ruby \
software-properties-common
curl -o /tmp/download https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
echo "1862f4c3d3907e59b04a757cfda0ea7aa9ef39274af99a784f5be843c80c... | ca-certificates \
curl \
git \
iproute2 \
openssh-client \
ruby \
software-properties-common
curl -o /tmp/download https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
echo "1862f4c3d3907e59b04a757cfda0ea7aa9ef39274af99a784f5be843c80c6772 /tmp/download" | sha256sum -c
mkdir /usr/local/go
tar ... | <|file_sep|>original/ci/docker/main-bosh-docker/install.sh
ca-certificates \
curl \
git \
iproute2 \
openssh-client \
ruby \
software-properties-common
curl -o /tmp/download https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
echo "1862f4c3d3907e59b04a757cfda0ea7aa9ef39274af99a784f5be843c80c... | f4435384a5f00a910d05b442600fb07721dbdea1 | ci/docker/main-bosh-docker/install.sh | ci/docker/main-bosh-docker/install.sh | Shell |
<|file_sep|>original/index.html
<!doctype html>
<html>
<head>
<title>Progress Tracker</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<h1><a href="index.html">Progress Tracker</a></h1>
<div class="inputs">
<input type="text" name="item" />
<input type="text" name="nee... | <!doctype html>
<html>
<head>
<title>Progress Tracker</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<h1><a href="index.html">Progress Tracker</a></h1>
<div class="inputs">
<input type="text" name="item">What</input>
<input type="text" name="need" />
<input type="... | <|file_sep|>original/index.html
<!doctype html>
<html>
<head>
<title>Progress Tracker</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<h1><a href="index.html">Progress Tracker</a></h1>
<div class="inputs">
<input type="text" name="item" />
<input type="text" name="nee... | 0f8fc08ac15d3d78b871a772e07ac94e281fbd8d | index.html | index.html | HTML |
<|file_sep|>packages/pr/predicate-transformers.yaml.diff
original:
hash: bc807f8cd409bdac6e85d5a7ab959ceea397badad76e7e9082a8b3cf10c27f5f
updated:
hash: 16e42d62cee1d93b9a6c4e78421eb6b779e717225fbc47c08b38c5fbbb8e4701
<|file_sep|>packages/pr/predicate-transformers.yaml.diff
original:
updated:
- 0.4.0.0
<|file_sep|>ori... | # Revision history for predicate-transformers
## 0.1.0.0 -- 2019-10-05
* First version. Released on an unsuspecting world.
basic-deps:
base: ^>=4.11 || ^>=4.12 || ^>=4.13
adjunctions: ^>=4.2 || ^>=4.3 || ^>=4.4
lens: ^>=4.17 || ^>=4.18
mtl: ^>=2.2.2
all-versions:
- 0.1.0.0
- 0.2.0.0
- 0.3.0.0
- 0.4.0.0
... | <|file_sep|>packages/pr/predicate-transformers.yaml.diff
original:
hash: bc807f8cd409bdac6e85d5a7ab959ceea397badad76e7e9082a8b3cf10c27f5f
updated:
hash: 16e42d62cee1d93b9a6c4e78421eb6b779e717225fbc47c08b38c5fbbb8e4701
<|file_sep|>packages/pr/predicate-transformers.yaml.diff
original:
updated:
- 0.4.0.0
<|file_sep|>ori... | 583dab768ea13d4b970db72ea2f477d544ac25bd | packages/pr/predicate-transformers.yaml | packages/pr/predicate-transformers.yaml | YAML |
<|file_sep|>README.md.diff
original:
You need to run `npm install` in the top level directory and both project directories.
updated:
To start, install `npm`, and run `npm install` in the top level directory and both project directories.
<|file_sep|>original/README.md
Work-in-progress Website (Johnny-Five) -> Chrome App... | Work-in-progress Website (Johnny-Five) -> Chrome App -> Serial playground.
# Setup
To start, install `npm`, and run `npm install` in the top level directory and both project directories.
1. Install node and npm. Most recently tested with node v0.12.7 and npm v2.9.1
1. `npm install`
1. `cd chrome-fresh && npm install... | <|file_sep|>README.md.diff
original:
You need to run `npm install` in the top level directory and both project directories.
updated:
To start, install `npm`, and run `npm install` in the top level directory and both project directories.
<|file_sep|>original/README.md
Work-in-progress Website (Johnny-Five) -> Chrome App... | b82070f22fcd179ec5ada824a6f98dc894851c11 | README.md | README.md | Markdown |
<|file_sep|>original/composer.json
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=5.4",
"ext-mongo": "~1.2",
"symfony/symfony": ">=2.4",
"symfony/framework-bundle": ">=2.2",
"sensio/framework-extra-bundle": "~2.3",
"doctrine/mongodb"... | "minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=5.4",
"ext-mongo": "~1.2",
"symfony/symfony": ">=2.4",
"symfony/framework-bundle": ">=2.2",
"sensio/framework-extra-bundle": "~2.3",
"doctrine/mongodb": ">=1.0.0",
"doctrine/mong... | <|file_sep|>original/composer.json
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=5.4",
"ext-mongo": "~1.2",
"symfony/symfony": ">=2.4",
"symfony/framework-bundle": ">=2.2",
"sensio/framework-extra-bundle": "~2.3",
"doctrine/mongodb"... | 12bd7ff446ef872faf2daaccb2f59d86516cd77d | composer.json | composer.json | JSON |
<|file_sep|>original/util/parsefiles_config.yml
roles_paths:
- playbooks/roles
aws_plays_paths:
- playbooks
- playbooks/edx-east
docker_plays_paths:
- docker/plays
weights:
- discovery: 6
- go-agent: 3
- xqwatcher: 3
- analytics_api: 1
- edxapp: 28
- insights: 4
- credentials: 8
- forum: 7
- n... | - playbooks/roles
aws_plays_paths:
- playbooks
- playbooks/edx-east
docker_plays_paths:
- docker/plays
weights:
- discovery: 6
- go-agent: 3
- xqwatcher: 3
- analytics_api: 1
- edxapp: 28
- insights: 4
- credentials: 8
- forum: 7
- nginx: 1
- xqueue: 2
- trusty-common: 5
- precise-common... | <|file_sep|>original/util/parsefiles_config.yml
roles_paths:
- playbooks/roles
aws_plays_paths:
- playbooks
- playbooks/edx-east
docker_plays_paths:
- docker/plays
weights:
- discovery: 6
- go-agent: 3
- xqwatcher: 3
- analytics_api: 1
- edxapp: 28
- insights: 4
- credentials: 8
- forum: 7
- n... | 73bf54ca68a773ab0279668a08e5c1d32c3cc36a | util/parsefiles_config.yml | util/parsefiles_config.yml | YAML |
<|file_sep|>original/README.md
1. cd react-express-starter-kit
2. npm install
3. npm run build
4. navigate to http://localhost:3000
# About the Starter Kit
## Gulp
Gulp is used for building both the client and server. By default, it watches for file changes in server and client
and will rebundle/restart as necessar... | 1. cd react-express-starter-kit
2. npm install
3. npm run build
4. navigate to http://localhost:3000
# About the Starter Kit
## Gulp
Gulp is used for building both the client and server. By default, it watches for file changes in server and client
and will rebundle/restart as necessary.
## React
Client comes with ... | <|file_sep|>original/README.md
1. cd react-express-starter-kit
2. npm install
3. npm run build
4. navigate to http://localhost:3000
# About the Starter Kit
## Gulp
Gulp is used for building both the client and server. By default, it watches for file changes in server and client
and will rebundle/restart as necessar... | d71faa00b76d65308a12446894d9d4acedacba96 | README.md | README.md | Markdown |
<|file_sep|>original/_config.yml
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change... | # 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
title: ĐOÀN Trần Công Danh - A Software Developer
email: congdanhqx@live.com
description: > # this means to ignore newlines until "baseurl:"
Just something I don't want to forget. Something about programing, especially
C+... | <|file_sep|>original/_config.yml
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change... | 118cce0a47caf05d33c6a994e26754145a708549 | _config.yml | _config.yml | YAML |
<|file_sep|>source/CroquetAustralia.QueueProcessor/Email/EmailGenerators/U21WorldsEOIEmailGenerator.cs.diff
original:
using CroquetAustralia.Domain.Features.TournamentEntry.Events;
updated:
using System.Linq;
using CroquetAustralia.Domain.Features.TournamentEntry.Events;
<|file_sep|>source/CroquetAustralia.QueueProce... | {
U21Coordinator,
new EmailAddress("admin@croquet-australia.com.au", "Croquet Australia")
};
public U21WorldsEOIEmailGenerator(EmailMessageSettings emailMessageSettings)
: base(emailMessageSettings, U21Coordinator, GetBCC(emailMessageSettings))
{
... | <|file_sep|>source/CroquetAustralia.QueueProcessor/Email/EmailGenerators/U21WorldsEOIEmailGenerator.cs.diff
original:
using CroquetAustralia.Domain.Features.TournamentEntry.Events;
updated:
using System.Linq;
using CroquetAustralia.Domain.Features.TournamentEntry.Events;
<|file_sep|>source/CroquetAustralia.QueueProce... | f720b23bc413a77e98e09781d389d52c38214ef7 | source/CroquetAustralia.QueueProcessor/Email/EmailGenerators/U21WorldsEOIEmailGenerator.cs | source/CroquetAustralia.QueueProcessor/Email/EmailGenerators/U21WorldsEOIEmailGenerator.cs | C# |
<|file_sep|>src/App.test.js.diff
original:
let app = ReactTestUtils.renderIntoDocument(<App />)
updated:
const app = ReactTestUtils.renderIntoDocument(<App />)
<|file_sep|>original/src/App.test.js
it('smoke test', () => {
const div = document.createElement('div')
ReactDOM.render(<App />, div)
})
it('snapshot ... |
it('smoke test', () => {
const div = document.createElement('div')
ReactDOM.render(<App />, div)
})
it('snapshot test', () => {
const tree = renderer.create(
<App />
).toJSON()
expect(tree).toMatchSnapshot()
})
it('state change test', () => {
const app = ReactTestUtils.renderIntoDocument(<App />)
... | <|file_sep|>src/App.test.js.diff
original:
let app = ReactTestUtils.renderIntoDocument(<App />)
updated:
const app = ReactTestUtils.renderIntoDocument(<App />)
<|file_sep|>original/src/App.test.js
it('smoke test', () => {
const div = document.createElement('div')
ReactDOM.render(<App />, div)
})
it('snapshot ... | ae25cd63f650edd6c6c3aca12172253b1be17b11 | src/App.test.js | src/App.test.js | JavaScript |
<|file_sep|>original/metadata/vscode.xml
<?xml version="1.0" encoding="utf-8"?>
<Component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/ralish/PSDotFiles/main/Metadata.xsd">
<IgnorePaths>
<IgnorePath>extensions.txt</IgnorePath>
... | <?xml version="1.0" encoding="utf-8"?>
<Component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/ralish/PSDotFiles/main/Metadata.xsd">
<IgnorePaths>
<IgnorePath>extensions.txt</IgnorePath>
<IgnorePath>venv</IgnorePath>
<... | <|file_sep|>original/metadata/vscode.xml
<?xml version="1.0" encoding="utf-8"?>
<Component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/ralish/PSDotFiles/main/Metadata.xsd">
<IgnorePaths>
<IgnorePath>extensions.txt</IgnorePath>
... | cd57ddff94417eb4b8ec4bab6d3fece4547d2270 | metadata/vscode.xml | metadata/vscode.xml | XML |
<|file_sep|>original/.github/workflows/nodejs.yml
name: Build, Test, Integration Test
on: [push]
jobs:
test-build-integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16, 17]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
... | name: Build, Test, Integration Test
on: [push]
jobs:
test-build-integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 17]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
n... | <|file_sep|>original/.github/workflows/nodejs.yml
name: Build, Test, Integration Test
on: [push]
jobs:
test-build-integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16, 17]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
... | 400fac77c9c366b272498fb5ea490939d9656ec6 | .github/workflows/nodejs.yml | .github/workflows/nodejs.yml | YAML |
<|file_sep|>original/package.json
{
"name": "streamlogger",
"description": "node-streamlogger",
"version": "0.0.1",
"author": "Andrew Cholakian <andrew@andrewvc.com>",
"main": "./lib/streamlogger.js",
"engines": { "node": ">= 0.6.0" }
}
<|file_sep|>current/package.json
{
"name": "streamlogger",
"descrip... | {
"name": "streamlogger",
"description": "node-streamlogger",
"version": "0.0.1",
"author": "Andrew Cholakian <andrew@andrewvc.com>",
"main": "./lib/streamlogger.js",
"engines": { "node": ">= 0.4.9" }
} | <|file_sep|>original/package.json
{
"name": "streamlogger",
"description": "node-streamlogger",
"version": "0.0.1",
"author": "Andrew Cholakian <andrew@andrewvc.com>",
"main": "./lib/streamlogger.js",
"engines": { "node": ">= 0.6.0" }
}
<|file_sep|>current/package.json
{
"name": "streamlogger",
"descrip... | b91cf05db0e8e52ea7618a0361c9621964e688a8 | package.json | package.json | JSON |
<|file_sep|>src/slide.js.diff
original:
this.style.cssText = `
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
`
updated:
<|file_sep|>src/slide.js.diff
original:
updated:
Object.assign(this.style, this.inlineCSS())
<|file_sep|>original/src/slide.js
... |
renderCallback () {
if (this.active) {
this.classList.add(this.in)
this.classList.remove(this.out)
} else {
this.classList.add(this.out)
this.classList.remove(this.in)
}
}
inlineCSS() {
return {
position: 'fixed',
top: 0,
left: 0,
display: 'flex',
... | <|file_sep|>src/slide.js.diff
original:
this.style.cssText = `
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
`
updated:
<|file_sep|>src/slide.js.diff
original:
updated:
Object.assign(this.style, this.inlineCSS())
<|file_sep|>original/src/slide.js
... | 5927b98e608128152adafed5435fd2ec47a04237 | src/slide.js | src/slide.js | JavaScript |
<|file_sep|>original/roles/mongodb/vars/main.yml
# Extract mongodb "major.minor" version
mongodb_major_minor_version: "{{ (mongodb_version|string)[:3] }}"
# https://www.mongodb.org/static/pgp/server-{{ mongodb_major_minor_version }}.asc
mongodb_apt_keys:
"3.2": "42F3E95A2C4F08279C4960ADD68FA50FEA312927"
"3.4": "0C4... | # Extract mongodb "major.minor" version
mongodb_major_minor_version: "{{ (mongodb_version|string)[:3] }}"
# Use the following URL to find the key: https://www.mongodb.org/static/pgp/server-{{ mongodb_major_minor_version }}.asc
mongodb_apt_keys:
"3.2": "42F3E95A2C4F08279C4960ADD68FA50FEA312927"
"3.4": "0C49F3730359A... | <|file_sep|>original/roles/mongodb/vars/main.yml
# Extract mongodb "major.minor" version
mongodb_major_minor_version: "{{ (mongodb_version|string)[:3] }}"
# https://www.mongodb.org/static/pgp/server-{{ mongodb_major_minor_version }}.asc
mongodb_apt_keys:
"3.2": "42F3E95A2C4F08279C4960ADD68FA50FEA312927"
"3.4": "0C4... | 9874c8202b8a4fb5a140e3b30e1b57e27112c481 | roles/mongodb/vars/main.yml | roles/mongodb/vars/main.yml | YAML |
<|file_sep|>original/lib/components/TenDay.js
const TenDay = ({ tenDayForecast }) => {
if (!tenDayForecast) {
return null;
}
const forecastArray = tenDayForecast.simpleforecast.forecastday;
const tenDayDataLoop = forecastArray.map((day, i) => {
return (
<div className='ten-day-data' key={i}>
... |
const TenDay = ({ tenDayForecast }) => {
if (!tenDayForecast) {
return null;
}
const forecastArray = tenDayForecast.simpleforecast.forecastday;
const tenDayDataLoop = forecastArray.map((day, i) => {
return (
<div className='ten-day-data' key={i}>
<h4 className='ten-day-day ten-day' tabInd... | <|file_sep|>original/lib/components/TenDay.js
const TenDay = ({ tenDayForecast }) => {
if (!tenDayForecast) {
return null;
}
const forecastArray = tenDayForecast.simpleforecast.forecastday;
const tenDayDataLoop = forecastArray.map((day, i) => {
return (
<div className='ten-day-data' key={i}>
... | 5ac51a7ced6ceafea2738e2d69741788fc7110f6 | lib/components/TenDay.js | lib/components/TenDay.js | JavaScript |
<|file_sep|>original/soapbox_config.example.yml
conent_url: 'http://soapbox-api.reevoo.com/v1/content'
provider_key: 'ASK-FOR-THE-KEY'
<|file_sep|>current/soapbox_config.example.yml
conent_url: 'http://soapbox-api.reevoo.com/v1/content'
provider_key: 'ASK-FOR-THE-KEY'
<|file_sep|>updated/soapbox_config.example.yml | content_url: 'http://soapbox-api.reevoo.com/v1/content'
provider_key: 'ASK-FOR-THE-KEY' | <|file_sep|>original/soapbox_config.example.yml
conent_url: 'http://soapbox-api.reevoo.com/v1/content'
provider_key: 'ASK-FOR-THE-KEY'
<|file_sep|>current/soapbox_config.example.yml
conent_url: 'http://soapbox-api.reevoo.com/v1/content'
provider_key: 'ASK-FOR-THE-KEY'
<|file_sep|>updated/soapbox_config.example.yml
cont... | f2c30e2b5d27446445ad6bb7d1b8d5c68a1f3a44 | soapbox_config.example.yml | soapbox_config.example.yml | YAML |
<|file_sep|>DWriteCairoTest/UnitTestTextFromat.cs.diff
original:
updated:
<|file_sep|>original/DWriteCairoTest/UnitTestTextFromat.cs
const string fontFamilyName = "SimSun";
const FontWeight fontWeight = FontWeight.Bold;
const FontStyle fontStyle = FontStyle.Normal;
cons... | const FontStyle fontStyle = FontStyle.Normal;
const FontStretch fontStretch = FontStretch.Normal;
const float fontSize = 32f;
var textFormat = DWriteCairo.CreateTextFormat(fontFamilyName, fontWeight, fontStyle, fontStretch, fontSize);
Assert.IsNotNull(textFo... | <|file_sep|>DWriteCairoTest/UnitTestTextFromat.cs.diff
original:
updated:
<|file_sep|>original/DWriteCairoTest/UnitTestTextFromat.cs
const string fontFamilyName = "SimSun";
const FontWeight fontWeight = FontWeight.Bold;
const FontStyle fontStyle = FontStyle.Normal;
cons... | 6230764402df2ac188fef708fa3eb3fc4e6c7da6 | DWriteCairoTest/UnitTestTextFromat.cs | DWriteCairoTest/UnitTestTextFromat.cs | C# |
<|file_sep|>requirements.txt.diff
original:
Flask
Flask-Cache
flask_sqlalchemy
gunicorn
psycopg2
geoalchemy2
boto
shapely
requests
raven
blinker
Flask-WTF
Flask-Login
flask-bcrypt
csvkit
redis
pytz
datetime_truncate
updated:
alembic==0.8.8
bcrypt==3.1.0
blinker==1.4
boto==2.42.0
boto3==1.4.0
botocore==1.4.58
cffi==1.8.... | Mako==1.0.4
MarkupSafe==0.23
marshmallow==2.10.3
metar==1.4.1
openpyxl==2.2.0b1
psycopg2==2.6.2
pycparser==2.14
pyshp==1.2.3
python-dateutil==2.2
python-editor==1.0.1
pytz==2016.7
raven==5.27.1
redis==2.10.5
requests==2.11.1
s3transfer==0.1.5
Shapely==1.5.17
six==1.10.0
SQLAlchemy==1.0.15
Werkzeug==0.11.11
WTForms==2.1... | <|file_sep|>requirements.txt.diff
original:
Flask
Flask-Cache
flask_sqlalchemy
gunicorn
psycopg2
geoalchemy2
boto
shapely
requests
raven
blinker
Flask-WTF
Flask-Login
flask-bcrypt
csvkit
redis
pytz
datetime_truncate
updated:
alembic==0.8.8
bcrypt==3.1.0
blinker==1.4
boto==2.42.0
boto3==1.4.0
botocore==1.4.58
cffi==1.8.... | 56cd32dfe345fc349e069d66d86afdf138fb47ad | requirements.txt | requirements.txt | Text |
<|file_sep|>original/metadata/de.baumann.thema.txt
A Material Design inspired theme for Lollipop aiming to provide a consistent and
minimalistic look to your device. It is based on several other CM12 themes. A
device running the Cyanogenmod 12 ROM or any other rom compatible with the CM12
theme engine is needed to use ... | [https://github.com/scoute-dich/Baumann_Theme/blob/HEAD/screenshots.md
Screenshots]
.
Repo Type:git
Repo:https://github.com/scoute-dich/Baumann_Theme
Build:3.1,12
commit=8c20ff6a78020b17e8b60860a5e039ecf5c3ce3d
subdir=theme
gradle=yes
Build:3.5,13
commit=1e223122970457e702d76710f450b9747a582c94
s... | <|file_sep|>original/metadata/de.baumann.thema.txt
A Material Design inspired theme for Lollipop aiming to provide a consistent and
minimalistic look to your device. It is based on several other CM12 themes. A
device running the Cyanogenmod 12 ROM or any other rom compatible with the CM12
theme engine is needed to use ... | 9e27c15fedc0fa22d163872dd073acfccc8af4f3 | metadata/de.baumann.thema.txt | metadata/de.baumann.thema.txt | Text |
<|file_sep|>static_deploy.gemspec.diff
original:
spec.add_dependency "tty"
updated:
spec.add_dependency "tty", "0.2.0"
<|file_sep|>original/static_deploy.gemspec
Gem::Specification.new do |spec|
spec.name = "static_deploy"
spec.version = StaticDeploy::VERSION
spec.authors = ["Piotr Murach... | require 'static_deploy/version'
Gem::Specification.new do |spec|
spec.name = "static_deploy"
spec.version = StaticDeploy::VERSION
spec.authors = ["Piotr Murach"]
spec.email = ["pmurach@gmail.com"]
spec.description = %q{Automated deployment to GitHub pages}
spec.summary ... | <|file_sep|>static_deploy.gemspec.diff
original:
spec.add_dependency "tty"
updated:
spec.add_dependency "tty", "0.2.0"
<|file_sep|>original/static_deploy.gemspec
Gem::Specification.new do |spec|
spec.name = "static_deploy"
spec.version = StaticDeploy::VERSION
spec.authors = ["Piotr Murach... | 59a4bc925ca31b2fcde58f873a25fc33a94200ed | static_deploy.gemspec | static_deploy.gemspec | Ruby |
<|file_sep|>original/website/templates/website/404.html
<h1>OOPS!</h1>
<h3>404 - Ikke funnet</h3>
</div>
</div>
</div>
<div class="section">
<div class="container">
<div class="row">
<div class="col s12">
<p class="flow-text center-align">
Vi finner dessverre ikke siden du leter etter. :-... | <div class="section hs-green white-text">
<div class="container">
<div class="row center-align">
<h1>OOPS!</h1>
<h3>404 - Ikke funnet</h3>
</div>
</div>
</div>
<div class="section">
<div class="container">
<div class="row">
<div class="col s12">
<p class="flow-text center-align">
... | <|file_sep|>original/website/templates/website/404.html
<h1>OOPS!</h1>
<h3>404 - Ikke funnet</h3>
</div>
</div>
</div>
<div class="section">
<div class="container">
<div class="row">
<div class="col s12">
<p class="flow-text center-align">
Vi finner dessverre ikke siden du leter etter. :-... | 0206973478b18b9cf94dd5dc2717769d3bcde3e9 | website/templates/website/404.html | website/templates/website/404.html | HTML |
<|file_sep|>original/1_codility/0_training/16_2_tie_ropes.rb
<|file_sep|>current/1_codility/0_training/16_2_tie_ropes.rb
<|file_sep|>updated/1_codility/0_training/16_2_tie_ropes.rb | def solution(k, arr)
sum, count = 0, 0
arr.each do |i|
sum += i
if sum >= k
sum = 0
count += 1
end
end
count
end | <|file_sep|>original/1_codility/0_training/16_2_tie_ropes.rb
<|file_sep|>current/1_codility/0_training/16_2_tie_ropes.rb
<|file_sep|>updated/1_codility/0_training/16_2_tie_ropes.rb
def solution(k, arr)
sum, count = 0, 0
arr.each do |i|
sum += i
if sum >= k
sum = 0
count += 1
end
end
... | d6deac4b3ea42d62b24ea095f2602fd2ae2c0f75 | 1_codility/0_training/16_2_tie_ropes.rb | 1_codility/0_training/16_2_tie_ropes.rb | Ruby |
<|file_sep|>original/t/load-modsec.t
use strict;
use Apache::Test;
use Apache::TestRequest;
use FileHandle;
plan tests => 1, need_module 'security3_module.c';
my $body = GET_BODY "/test.html";
ok($body, qr/test/);
<|file_sep|>current/t/load-modsec.t
use strict;
use Apache::Test;
use Apache::TestRequest;
use FileH... |
use strict;
use Apache::Test;
use Apache::TestRequest;
use FileHandle;
plan tests => 1;
#plan tests => 1, need_module 'src/apache_http_modsecurity.c';
my $body = GET_BODY "/test.html";
ok($body, qr/test/);
| <|file_sep|>original/t/load-modsec.t
use strict;
use Apache::Test;
use Apache::TestRequest;
use FileHandle;
plan tests => 1, need_module 'security3_module.c';
my $body = GET_BODY "/test.html";
ok($body, qr/test/);
<|file_sep|>current/t/load-modsec.t
use strict;
use Apache::Test;
use Apache::TestRequest;
use FileH... | f210d29db9bfd15e5188d33247edf8d2f5c7f75b | t/load-modsec.t | t/load-modsec.t | Perl |
<|file_sep|>bower.json.diff
original:
"web-component-tester": "^4.3.5",
updated:
"web-component-tester": "*",
<|file_sep|>original/bower.json
"seed",
"polymer",
"web-components"
],
"private": true,
"main": "elements/uqlibrary-toolbar.html",
"dependencies": {
"iron-component-page": "Polym... | "web-components"
],
"private": true,
"main": "elements/uqlibrary-toolbar.html",
"dependencies": {
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
"iron-elements": "PolymerElements/iron-elements#^1.0.8",
"paper-elements": "PolymerElements/paper-elements#^1.0.7",
"polymer"... | <|file_sep|>bower.json.diff
original:
"web-component-tester": "^4.3.5",
updated:
"web-component-tester": "*",
<|file_sep|>original/bower.json
"seed",
"polymer",
"web-components"
],
"private": true,
"main": "elements/uqlibrary-toolbar.html",
"dependencies": {
"iron-component-page": "Polym... | 9a107deedd10186464b2a003c89ab783b350a701 | bower.json | bower.json | JSON |
<|file_sep|>resources/clientTool/log4j.properties.diff
original:
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=INFO, A1
updated:
# Set root logger level to WARN and its only appender to A1.
log4j.rootLogger=WARN, A1
<|file_sep|>original/resources/clientTool/log4j.properties
# Set root l... | # Set root logger level to WARN and its only appender to A1.
log4j.rootLogger=WARN, A1
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %... | <|file_sep|>resources/clientTool/log4j.properties.diff
original:
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=INFO, A1
updated:
# Set root logger level to WARN and its only appender to A1.
log4j.rootLogger=WARN, A1
<|file_sep|>original/resources/clientTool/log4j.properties
# Set root l... | 02ea2c85dbf9893c0007b8c2cde73c64071400b2 | resources/clientTool/log4j.properties | resources/clientTool/log4j.properties | INI |
<|file_sep|>original/src/main/kotlin/mixit/DatabaseInitializer.kt
private val talkRepository: TalkRepository,
private val ticketRepository: TicketRepository,
private val postRepository: PostRepository,
private val fa... | import org.springframework.stereotype.Component
import javax.annotation.PostConstruct
@Component
class DatabaseInitializer(private val userRepository: UserRepository,
private val eventRepository: EventRepository,
private val talkRepository: TalkRepository,
... | <|file_sep|>original/src/main/kotlin/mixit/DatabaseInitializer.kt
private val talkRepository: TalkRepository,
private val ticketRepository: TicketRepository,
private val postRepository: PostRepository,
private val fa... | a57e0888e34ed54138a7e8d75f13e6dcb4e09d72 | src/main/kotlin/mixit/DatabaseInitializer.kt | src/main/kotlin/mixit/DatabaseInitializer.kt | Kotlin |
<|file_sep|>original/lib/elementary/future.rb
require 'rubygems'
require 'concurrent'
module Elementary
class Future < Concurrent::Future
end
end
<|file_sep|>current/lib/elementary/future.rb
require 'rubygems'
require 'concurrent'
module Elementary
class Future < Concurrent::Future
end
end
<|file_sep|>updated... | require 'rubygems'
require 'concurrent'
module Elementary
class Future < Concurrent::Future
# TODO: Implement method_missing such that any method not defined on
# Concurrent::Future will cause the future to be resolved and the method to
# be called on the resulting value.
#
# This would make thin... | <|file_sep|>original/lib/elementary/future.rb
require 'rubygems'
require 'concurrent'
module Elementary
class Future < Concurrent::Future
end
end
<|file_sep|>current/lib/elementary/future.rb
require 'rubygems'
require 'concurrent'
module Elementary
class Future < Concurrent::Future
end
end
<|file_sep|>updated... | 110241469f9c45107338c3a97164d766e0724c97 | lib/elementary/future.rb | lib/elementary/future.rb | Ruby |
<|file_sep|>original/source/EXTENSIONS/BALLPluginComponents.cmake
IF (UNIX AND NOT APPLE)
SET(COMPONENT_PLUGINS "")
ELSEIF(APPLE)
SET(COMPONENT_PLUGINS "BALL${BALL_PACKAGE_VERSION_MAJOR}.${BALL_PACKAGE_VERSION_MINOR}-plugins")
ELSEIF(WIN32)
SET(COMPONENT_PLUGINS "")
ENDIF()
IF (COMPONENT_PLUGINS)
SET_COMPONENT_NAM... | IF (UNIX AND NOT APPLE)
SET(COMPONENT_PLUGINS "")
ELSEIF(APPLE)
SET(COMPONENT_PLUGINS "BALL${BALL_PACKAGE_VERSION_MAJOR}.${BALL_PACKAGE_VERSION_MINOR}-plugins")
ELSEIF(WIN32)
SET(COMPONENT_PLUGINS "")
ENDIF()
IF (COMPONENT_PLUGINS)
SET_COMPONENT_NAME(${COMPONENT_PLUGINS}
"BALLView plugins"
"Plugins extending B... | <|file_sep|>original/source/EXTENSIONS/BALLPluginComponents.cmake
IF (UNIX AND NOT APPLE)
SET(COMPONENT_PLUGINS "")
ELSEIF(APPLE)
SET(COMPONENT_PLUGINS "BALL${BALL_PACKAGE_VERSION_MAJOR}.${BALL_PACKAGE_VERSION_MINOR}-plugins")
ELSEIF(WIN32)
SET(COMPONENT_PLUGINS "")
ENDIF()
IF (COMPONENT_PLUGINS)
SET_COMPONENT_NAM... | 56a202544f45ed7956d6a5cbe28ce6bd2f59cb50 | source/EXTENSIONS/BALLPluginComponents.cmake | source/EXTENSIONS/BALLPluginComponents.cmake | CMake |
<|file_sep|>docs/recipes.rst.diff
original:
... {'a': np.ones((2, 1))},
... {'a': np.zeros((2, 1))})
updated:
... {'a': np.ones((2, 1))},
... {'a': np.zeros((2, 1))})
<|file_sep|>docs/recipes.rst.diff
original:
...... | {'a': array([[1.],
[1.],
[0.],
[0.]])}
Exclude "meta" keys while mapping across structures
===================================================
>>> d1 = {'key_to_exclude': None, 'a': 1}
>>> d2 = {'key_to_exclude': None, 'a': 2}
>>> d3 = {'a': 3}
>>> tree.map_structure_up_to({'a': True}, lambda x, ... | <|file_sep|>docs/recipes.rst.diff
original:
... {'a': np.ones((2, 1))},
... {'a': np.zeros((2, 1))})
updated:
... {'a': np.ones((2, 1))},
... {'a': np.zeros((2, 1))})
<|file_sep|>docs/recipes.rst.diff
original:
...... | 7895f84a7d0ab034ceb17b8f9dfa9508784593aa | docs/recipes.rst | docs/recipes.rst | reStructuredText |
<|file_sep|>original/installer/schema/20100207_repair_file_galleries_tiki.php
<|file_sep|>current/installer/schema/20100207_repair_file_galleries_tiki.php
<|file_sep|>updated/installer/schema/20100207_repair_file_galleries_tiki.php | <?php
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
header("location: index.php");
exit;
}
global $tikilib;
include_once('tiki-setup_base.php');
function upgrade_20100207_repair_file_galleries_tiki( $installer ) {
$cant = $installer->getOne('SELECT COUNT(*) FROM `tiki_file_galleries` WHER... | <|file_sep|>original/installer/schema/20100207_repair_file_galleries_tiki.php
<|file_sep|>current/installer/schema/20100207_repair_file_galleries_tiki.php
<|file_sep|>updated/installer/schema/20100207_repair_file_galleries_tiki.php
<?php
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
header("l... | 75fbeec5697e7a860f846b912ca8c8a874a8b10a | installer/schema/20100207_repair_file_galleries_tiki.php | installer/schema/20100207_repair_file_galleries_tiki.php | PHP |
<|file_sep|>original/appveyor.yml
- git config --global core.autocrlf input
shallow_clone: true
version: '{build}'
skip_tags: true
environment:
matrix:
- nodejs_version: '1'
- nodejs_version: '0'
install:
- ps: Install-Product node $env:nodejs_version
- npm install --production
- npm install from... | - git config --global core.autocrlf input
shallow_clone: true
version: '{build}'
skip_tags: true
environment:
matrix:
- nodejs_version: '2'
- nodejs_version: '0'
install:
- ps: Install-Product node $env:nodejs_version
- npm install --production
- npm install from2-string tape vinyl --no-bin-links... | <|file_sep|>original/appveyor.yml
- git config --global core.autocrlf input
shallow_clone: true
version: '{build}'
skip_tags: true
environment:
matrix:
- nodejs_version: '1'
- nodejs_version: '0'
install:
- ps: Install-Product node $env:nodejs_version
- npm install --production
- npm install from... | fbdebb6d8c2c3bf51718301e7c8df49bef9358fe | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/.travis.yml
sudo: false
os:
- linux
- osx
language: node_js
node_js:
- '10'
cache:
npm: true
directories:
- node_modules
install:
- npm install
script:
- npm run lint
- npm run test
- npm run build
branches:
only:
- master
- develop
<|file_sep|>current/.travis.yml
su... | sudo: false
os:
- linux
language: node_js
node_js:
- '10'
cache:
npm: true
directories:
- node_modules
install:
- npm install
script:
- npm run lint
- npm run test
- npm run build
branches:
only:
- master
- develop | <|file_sep|>original/.travis.yml
sudo: false
os:
- linux
- osx
language: node_js
node_js:
- '10'
cache:
npm: true
directories:
- node_modules
install:
- npm install
script:
- npm run lint
- npm run test
- npm run build
branches:
only:
- master
- develop
<|file_sep|>current/.travis.yml
su... | be7207a49321998a0ac96b8386f441b737c90f1b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/features/support/ui/pages/home.rb
require_relative '../page'
module UI::Pages
class Home < UI::Page
set_url '/{locale}'
element :strapline, '.home-feature__content h1'
element :feature_list, '.home-feature__list'
elements :promoted_items, '.home-promoted__item'
element :con... | require_relative '../page'
module UI::Pages
class Home < UI::Page
set_url '/{locale}'
element :strapline, '.home-feature__content h1'
element :feature_list, '.home-feature__list'
elements :promoted_items, '.home-promoted__item'
element :contact_heading, '.home-contact__header h2'
element :c... | <|file_sep|>original/features/support/ui/pages/home.rb
require_relative '../page'
module UI::Pages
class Home < UI::Page
set_url '/{locale}'
element :strapline, '.home-feature__content h1'
element :feature_list, '.home-feature__list'
elements :promoted_items, '.home-promoted__item'
element :con... | adac29e458186e9705392292397622a44dfadb26 | features/support/ui/pages/home.rb | features/support/ui/pages/home.rb | Ruby |
<|file_sep|>original/.travis.yml
dist: precise
sudo: false
language: java
jdk:
- oraclejdk8
- oraclejdk7
- openjdk6
env:
- CAMUNDA=LATEST
- CAMUNDA=7.7.0
- CAMUNDA=7.6.0
- CAMUNDA=7.5.0
- CAMUNDA=7.4.0
- CAMUNDA=7.3.0
before_install:
- cat /etc/hosts # optionally check the content *before*
- sudo ... | dist: precise
sudo: false
language: java
jdk:
- oraclejdk8
- oraclejdk7
- openjdk6
env:
- CAMUNDA=LATEST
- CAMUNDA=7.9.0
- CAMUNDA=7.8.0
- CAMUNDA=7.7.0
- CAMUNDA=7.6.0
- CAMUNDA=7.5.0
- CAMUNDA=7.4.0
- CAMUNDA=7.3.0
before_install:
- cat /etc/hosts # optionally check the content *before*
- su... | <|file_sep|>original/.travis.yml
dist: precise
sudo: false
language: java
jdk:
- oraclejdk8
- oraclejdk7
- openjdk6
env:
- CAMUNDA=LATEST
- CAMUNDA=7.7.0
- CAMUNDA=7.6.0
- CAMUNDA=7.5.0
- CAMUNDA=7.4.0
- CAMUNDA=7.3.0
before_install:
- cat /etc/hosts # optionally check the content *before*
- sudo ... | ceb9b446ea4bd416d9cabc224e563af936c4845d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/QRSwift.podspec
s.description = <<-DESC
QRSwift is a Swift framework for generating QR codes.
DESC
s.homepage = "https://github.com/chrisamanse/QRSwift"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = "Chris Amanse... | s.description = <<-DESC
QRSwift is a Swift framework for generating QR codes.
DESC
s.homepage = "https://github.com/chrisamanse/QRSwift"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = "Chris Amanse"
s.social_media_url = "https://t... | <|file_sep|>original/QRSwift.podspec
s.description = <<-DESC
QRSwift is a Swift framework for generating QR codes.
DESC
s.homepage = "https://github.com/chrisamanse/QRSwift"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = "Chris Amanse... | 898e360807f4927724eea60d9e955756f0d65c8b | QRSwift.podspec | QRSwift.podspec | Ruby |
<|file_sep|>original/composer.json
{
"name": "fastly/magento2",
"description": "Fastly CDN Module for Magento 2.x",
"require": {
"php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0",
"magento/module-config": ">=100.0.0",
"magento/module-store": ">=100.0.0",
"magento/module-page-cache"... | {
"name": "fastly/magento2",
"description": "Fastly CDN Module for Magento 2.x",
"require": {
"php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0",
"magento/module-config": ">=100.0.0",
"magento/module-store": ">=100.0.0",
"magento/module-page-cache": ">=100.0.0",
... | <|file_sep|>original/composer.json
{
"name": "fastly/magento2",
"description": "Fastly CDN Module for Magento 2.x",
"require": {
"php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0",
"magento/module-config": ">=100.0.0",
"magento/module-store": ">=100.0.0",
"magento/module-page-cache"... | bdcb74276d89e2fc10df5fb91be498c97a9d835a | composer.json | composer.json | JSON |
<|file_sep|>original/.gitlab-ci.yml
# script:
# - ./gradlew generatePomFileForReleasePublication bintrayUpload
# dependencies:
# - library release build
# only:
# - master
# when: manual
library upload to MavenCentral:
stage: release
tags:
- docker
before_script:
- echo $GPG_KEY_CONTENTS > s... | # script:
# - ./gradlew generatePomFileForReleasePublication bintrayUpload
# dependencies:
# - library release build
# only:
# - master
# when: manual
library upload to MavenCentral:
stage: release
tags:
- docker
before_script:
- echo $GPG_KEY_CONTENTS > secret.gpg
script:
- ./gradlew ... | <|file_sep|>original/.gitlab-ci.yml
# script:
# - ./gradlew generatePomFileForReleasePublication bintrayUpload
# dependencies:
# - library release build
# only:
# - master
# when: manual
library upload to MavenCentral:
stage: release
tags:
- docker
before_script:
- echo $GPG_KEY_CONTENTS > s... | 2e07811ad5d3532eebdc877113ce41b758c3297c | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>original/src/FluentMigrator.Runner/Generators/Jet/JetQuoter.cs
using System;
using FluentMigrator.Runner.Generators.Generic;
namespace FluentMigrator.Runner.Generators.Jet
{
public class JetQuoter : GenericQuoter
{
public override string OpenQuote { get { return "["; } }
public ov... | using System;
using FluentMigrator.Runner.Generators.Generic;
namespace FluentMigrator.Runner.Generators.Jet
{
public class JetQuoter : GenericQuoter
{
public override string OpenQuote { get { return "["; } }
public override string CloseQuote { get { return "]"; } }
public override s... | <|file_sep|>original/src/FluentMigrator.Runner/Generators/Jet/JetQuoter.cs
using System;
using FluentMigrator.Runner.Generators.Generic;
namespace FluentMigrator.Runner.Generators.Jet
{
public class JetQuoter : GenericQuoter
{
public override string OpenQuote { get { return "["; } }
public ov... | 482e34cd95cf01a54cee426bb25cbbd027f38531 | src/FluentMigrator.Runner/Generators/Jet/JetQuoter.cs | src/FluentMigrator.Runner/Generators/Jet/JetQuoter.cs | C# |
<|file_sep|>README.rst.diff
original:
updated:
Want to see some real-world examples? Take a look at the srt-tools_ repo.
<|file_sep|>original/README.rst
Documentation
-------------
If you're new to the library, take a look at the quickstart_ for ideas about
how to use it. `Detailed API documentation`_ is also availa... | Documentation
-------------
If you're new to the library, take a look at the quickstart_ for ideas about
how to use it. `Detailed API documentation`_ is also available.
Want to see some real-world examples? Take a look at the srt-tools_ repo.
.. _quickstart: http://srt.readthedocs.org/en/latest/quickstart.html
.. _`... | <|file_sep|>README.rst.diff
original:
updated:
Want to see some real-world examples? Take a look at the srt-tools_ repo.
<|file_sep|>original/README.rst
Documentation
-------------
If you're new to the library, take a look at the quickstart_ for ideas about
how to use it. `Detailed API documentation`_ is also availa... | 1245f563da52bfc2db64e94a468e4af5d000d972 | README.rst | README.rst | reStructuredText |
<|file_sep|>src/SimplyTestable/WorkerBundle/Tests/Integration/Command/Task/Perform/LinkIntegrity/BugFixTest.php.diff
original:
return;
updated:
return;
$this->getHttpClientService()->getMemcacheCache()->deleteAll();
<|file_sep|>src/SimplyTestable/WorkerBundle/Tests/Integration... | foreach ($urls as $url) {
$taskObject = $this->createTask($url, 'Link integrity');
$task = $this->getTaskService()->getById($taskObject->id);
$this->assertEquals(0, $this->runConsole('simplytestable:task:perform', array(
$task->getId() => true
))... | <|file_sep|>src/SimplyTestable/WorkerBundle/Tests/Integration/Command/Task/Perform/LinkIntegrity/BugFixTest.php.diff
original:
return;
updated:
return;
$this->getHttpClientService()->getMemcacheCache()->deleteAll();
<|file_sep|>src/SimplyTestable/WorkerBundle/Tests/Integration... | ee10c7f947ecfb62cba33f42f3b30b79996cc9e4 | src/SimplyTestable/WorkerBundle/Tests/Integration/Command/Task/Perform/LinkIntegrity/BugFixTest.php | src/SimplyTestable/WorkerBundle/Tests/Integration/Command/Task/Perform/LinkIntegrity/BugFixTest.php | PHP |
<|file_sep|>.travis.yml.diff
original:
language: java
updated:
language: node_js
<|file_sep|>original/.travis.yml
language: java
node_js:
- '0.10'
env:
- GIT_DEPLOY_DIR: www
script: npm test
after_success:
- git remote set-url origin git@github.com:ultimate-comparisons/ultimate-comparison-BASE.git
- openssl aes-256-cbc... | language: node_js
node_js:
- '0.10'
env:
- GIT_DEPLOY_DIR: www
script: npm test
after_success:
- git remote set-url origin git@github.com:ultimate-comparisons/ultimate-comparison-BASE.git
- openssl aes-256-cbc -K $encrypted_08460152d0a3_key -iv $encrypted_08460152d0a3_iv -in id_rsa.enc -out id_rsa -d
- eval "$(ssh-agen... | <|file_sep|>.travis.yml.diff
original:
language: java
updated:
language: node_js
<|file_sep|>original/.travis.yml
language: java
node_js:
- '0.10'
env:
- GIT_DEPLOY_DIR: www
script: npm test
after_success:
- git remote set-url origin git@github.com:ultimate-comparisons/ultimate-comparison-BASE.git
- openssl aes-256-cbc... | e459504c9fa8c153cd0b9d899636576aab080909 | .travis.yml | .travis.yml | YAML |
<|file_sep|>server.rb.diff
original:
updated:
CalculatorApp.configure do |app|
app.set :server_settings, AccessLog: []
end
<|file_sep|>original/server.rb
router
end
def setup_app
CalculatorApp.setup create_default_router
end
if __FILE__ == $PROGRAM_NAME
CalculatorApp.configure do |app|
app.set :s... |
def setup_app
CalculatorApp.setup create_default_router
CalculatorApp.configure do |app|
app.set :server_settings, AccessLog: []
end
end
if __FILE__ == $PROGRAM_NAME
CalculatorApp.configure do |app|
app.set :bind, '0.0.0.0'
end
begin
setup_app.run!
rescue => error
logger.error "Error: ... | <|file_sep|>server.rb.diff
original:
updated:
CalculatorApp.configure do |app|
app.set :server_settings, AccessLog: []
end
<|file_sep|>original/server.rb
router
end
def setup_app
CalculatorApp.setup create_default_router
end
if __FILE__ == $PROGRAM_NAME
CalculatorApp.configure do |app|
app.set :s... | 297934747fdcfc9dcc73a4d09872e8eb5ca66a76 | server.rb | server.rb | Ruby |
<|file_sep|>packages/ht/http-date.yaml.diff
original:
hash: 0551a9433d5ce29ad98f2839f025204c566b69aa1ab45d8488042fe8cde9ceff
updated:
hash: 73ecc6d1da5f27e8afac2b0fb65965a476dc698b62a01198d6e2a2b02f51f549
<|file_sep|>packages/ht/http-date.yaml.diff
original:
doctest: ! '>=0.8'
updated:
doctest: '>=0.8'
<|file_sep|>... | base: '>=4 && <5'
time: -any
array: -any
attoparsec: -any
all-versions:
- 0.0.0
- 0.0.1
- 0.0.2
- 0.0.3
- 0.0.4
- 0.0.5
- 0.0.6
- 0.0.6.1
- 0.0.7
- 0.0.8
- 0.0.9
author: Kazu Yamamoto <kazu@iij.ad.jp>
latest: 0.0.9
description-type: haddock
description: Fast parser and formatter for HTTP Date
license-name: BSD-... | <|file_sep|>packages/ht/http-date.yaml.diff
original:
hash: 0551a9433d5ce29ad98f2839f025204c566b69aa1ab45d8488042fe8cde9ceff
updated:
hash: 73ecc6d1da5f27e8afac2b0fb65965a476dc698b62a01198d6e2a2b02f51f549
<|file_sep|>packages/ht/http-date.yaml.diff
original:
doctest: ! '>=0.8'
updated:
doctest: '>=0.8'
<|file_sep|>... | a933c7c8c903b7dc5f0dc8ccfa038f8b73694afd | packages/ht/http-date.yaml | packages/ht/http-date.yaml | YAML |
<|file_sep|>app/views/metrics/partials/_openness.html.erb.diff
original:
updated:
<h3><span class="fa fa-clipboard"></span> Licenses</h3>
<h4>Number of different licenses and open or not</h4>
<|file_sep|>app/views/metrics/partials/_openness.html.erb.diff
original:
<th>License</th>
updated:
... | <th>Count</th>
</tr>
</thead>
<tbody>
<% @snapshot.send(@metric.id)['analysis'].sort_by { |k, v| - v }.each do |license, count| %>
<tr>
<td class="<%= @analysis.include?(license) ? 'successful' : 'unsuccessful' %>"><%= license.gsub("\uff0e", '.') %><... | <|file_sep|>app/views/metrics/partials/_openness.html.erb.diff
original:
updated:
<h3><span class="fa fa-clipboard"></span> Licenses</h3>
<h4>Number of different licenses and open or not</h4>
<|file_sep|>app/views/metrics/partials/_openness.html.erb.diff
original:
<th>License</th>
updated:
... | 8e6d263cda12701363fe8754ea68d422accbdfcc | app/views/metrics/partials/_openness.html.erb | app/views/metrics/partials/_openness.html.erb | HTML+ERB |
<|file_sep|>original/Cargo.toml
[package]
name = "chorus_studio"
version = "0.1.0"
authors = ["Daniel Hauser <daniel.hauser@liwest.at>"]
[dependencies]
gl = "0.7.0"
glutin = "0.12.0"
nalgebra = "0.13.1"
unicode-normalization = "0.1.5"
# indextree = "1.1.0"
[dependencies.nanovg]
git = "https://github.com/KevinKelley/n... | [package]
name = "chorus_studio"
version = "0.1.0"
authors = ["Daniel Hauser <daniel.hauser@liwest.at>"]
[dependencies]
gl = "0.7.0"
glutin = "0.12.0"
nalgebra = "0.13.1"
unicode-normalization = "0.1.5"
# indextree = "1.1.0"
[dependencies.nanovg]
git = "https://github.com/KevinKelley/nanovg-rs"
features = ["gl3"]
[d... | <|file_sep|>original/Cargo.toml
[package]
name = "chorus_studio"
version = "0.1.0"
authors = ["Daniel Hauser <daniel.hauser@liwest.at>"]
[dependencies]
gl = "0.7.0"
glutin = "0.12.0"
nalgebra = "0.13.1"
unicode-normalization = "0.1.5"
# indextree = "1.1.0"
[dependencies.nanovg]
git = "https://github.com/KevinKelley/n... | bbcada86c706520c09e13320cb4edf6b1b8eaf41 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/requirements.txt
gunicorn==20.0.4
backports-abc==0.5
bkcharts==0.2
bokeh==2.0.1
certifi==2019.11.28
chardet==3.0.4
click==7.1.1
Flask==1.1.1
idna==2.9
itsdangerous==1.1.0
Jinja2>=2.10.1
MarkupSafe==1.1.1
numpy==1.18.2
python-dateutil==2.8.1
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.4.0.3
six... | gunicorn==20.0.4
backports-abc==0.5
bkcharts==0.2
bokeh==2.0.2
certifi==2019.11.28
chardet==3.0.4
click==7.1.1
Flask==1.1.1
idna==2.9
itsdangerous==1.1.0
Jinja2>=2.10.1
MarkupSafe==1.1.1
numpy==1.18.2
python-dateutil==2.8.1
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.4.0.3
six==1.14.0
tornado==6.0.4
urllib3>=1.24.... | <|file_sep|>original/requirements.txt
gunicorn==20.0.4
backports-abc==0.5
bkcharts==0.2
bokeh==2.0.1
certifi==2019.11.28
chardet==3.0.4
click==7.1.1
Flask==1.1.1
idna==2.9
itsdangerous==1.1.0
Jinja2>=2.10.1
MarkupSafe==1.1.1
numpy==1.18.2
python-dateutil==2.8.1
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.4.0.3
six... | 5522d6d028b246e2ca0ae7539ef5d737b47581d4 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/lib/floodgate/config.rb
module Floodgate
class Config
attr_accessor :app_id, :api_token, :filter_traffic, :redirect_url
def initialize(app_id, api_token)
@app_id = app_id
@api_token = api_token
json = Client.status(app_id, api_token)
@filter_traffic = json['filt... | module Floodgate
class Config
attr_accessor \
:api_token,
:app_id,
:filter_traffic,
:redirect_url
def initialize(app_id, api_token)
@app_id = app_id
@api_token = api_token
json = Client.status(app_id, api_token)
@filter_traffic = json['filter_traffic']
... | <|file_sep|>original/lib/floodgate/config.rb
module Floodgate
class Config
attr_accessor :app_id, :api_token, :filter_traffic, :redirect_url
def initialize(app_id, api_token)
@app_id = app_id
@api_token = api_token
json = Client.status(app_id, api_token)
@filter_traffic = json['filt... | bf294b4a32bee7b9fd651ec7260be2e45e1ff79b | lib/floodgate/config.rb | lib/floodgate/config.rb | Ruby |
<|file_sep|>original/requirements_test.txt
codecov==2.0.22
tox==3.14.6
tox-travis==0.11
<|file_sep|>current/requirements_test.txt
codecov==2.0.22
tox==3.14.6
tox-travis==0.11
<|file_sep|>updated/requirements_test.txt | codecov==2.1.5
tox==3.14.6
tox-travis==0.11 | <|file_sep|>original/requirements_test.txt
codecov==2.0.22
tox==3.14.6
tox-travis==0.11
<|file_sep|>current/requirements_test.txt
codecov==2.0.22
tox==3.14.6
tox-travis==0.11
<|file_sep|>updated/requirements_test.txt
codecov==2.1.5
tox==3.14.6
tox-travis==0.11 | e3b129e393baa8fbc1d2b60c1d42d43d7226e8bb | requirements_test.txt | requirements_test.txt | Text |
<|file_sep|>original/requirements-dev.txt
-e .
aioconsole==0.1.8
aiohttp==3.3.2
attrs==18.1.0
docutils==0.14
flake8-bugbear==18.2.0
flake8-mypy==17.8.0
flake8-quotes==1.0.0
flake8==3.5.0
ipdb==0.11
mypy==0.610
pytest-cov==2.5.1
pytest-sugar==0.9.1
pytest==3.6.3
terminaltables==3.1.0
uvloop==0.10.2
<|file_sep|>current/r... | -e .
aioconsole==0.1.8
aiohttp==3.3.2
attrs==18.1.0
docutils==0.14
flake8-bugbear==18.2.0
flake8-mypy==17.8.0
flake8-quotes==1.0.0
flake8==3.5.0
ipdb==0.11
mypy==0.610
pytest-cov==2.5.1
pytest-sugar==0.9.1
pytest==3.6.3
terminaltables==3.1.0
uvloop==0.11.0 | <|file_sep|>original/requirements-dev.txt
-e .
aioconsole==0.1.8
aiohttp==3.3.2
attrs==18.1.0
docutils==0.14
flake8-bugbear==18.2.0
flake8-mypy==17.8.0
flake8-quotes==1.0.0
flake8==3.5.0
ipdb==0.11
mypy==0.610
pytest-cov==2.5.1
pytest-sugar==0.9.1
pytest==3.6.3
terminaltables==3.1.0
uvloop==0.10.2
<|file_sep|>current/r... | 4cb1d8e5ae4c3bef6d75d067acdc73dc95f3073a | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- "1.8.7"
- "1.9.3"
- "2.1.2"
script: rspec
install: gem install rspec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "1.8.7"
- "1.9.3"
- "2.1.2"
script: rspec
install: gem install rspec
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- "1.8.7"
- "1.9.3"
- "2.1.1"
script: rspec
install: gem install rspec | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- "1.8.7"
- "1.9.3"
- "2.1.2"
script: rspec
install: gem install rspec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "1.8.7"
- "1.9.3"
- "2.1.2"
script: rspec
install: gem install rspec
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- "1.... | ad6ad23783913d0ac1d255c1ab658ce7dfb47d2d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/generators/katapult/basics/templates/app/webpack/packs/application.js
/* eslint no-console:0 */
import 'babel-polyfill' // ES6 for browsers like IE
import 'unpoly/dist/unpoly'
import 'unpoly/dist/unpoly-bootstrap3'
import 'jquery-ujs' // Rails goodies
import 'assets'
// Expose jQuery to deve... | /* eslint no-console:0 */
import 'babel-polyfill' // ES6 for browsers like IE
import 'unpoly/dist/unpoly'
import 'unpoly/dist/unpoly-bootstrap3'
import 'jquery-ujs' // Rails goodies
import 'assets'
// Expose jQuery to developers
import jQuery from 'jquery'
window.$ = jQuery
window.jQuery = jQuery | <|file_sep|>original/lib/generators/katapult/basics/templates/app/webpack/packs/application.js
/* eslint no-console:0 */
import 'babel-polyfill' // ES6 for browsers like IE
import 'unpoly/dist/unpoly'
import 'unpoly/dist/unpoly-bootstrap3'
import 'jquery-ujs' // Rails goodies
import 'assets'
// Expose jQuery to deve... | 11690d3ecdb4b1393321f9263f3d5f4b26d6e223 | lib/generators/katapult/basics/templates/app/webpack/packs/application.js | lib/generators/katapult/basics/templates/app/webpack/packs/application.js | JavaScript |
<|file_sep|>original/lib/core/widgets/media_type_icon.dart
<|file_sep|>current/lib/core/widgets/media_type_icon.dart
<|file_sep|>updated/lib/core/widgets/media_type_icon.dart | import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import '../helpers/color_palette_helper.dart';
class MediaTypeIcon extends StatelessWidget {
final String mediaType;
final Color iconColor;
const MediaTypeIcon({Key key, @required this.mediaType, this.iconC... | <|file_sep|>original/lib/core/widgets/media_type_icon.dart
<|file_sep|>current/lib/core/widgets/media_type_icon.dart
<|file_sep|>updated/lib/core/widgets/media_type_icon.dart
import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import '../helpers/color_palette_help... | aca0fb4922d6a592ca36972ab67e5bc14bed9861 | lib/core/widgets/media_type_icon.dart | lib/core/widgets/media_type_icon.dart | Dart |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- 4.0
- 4
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- 4.0
- 4
<|file_sep|>updated/.travis.yml | sudo: false
language: node_js
node_js:
- 4.0
- 4
- 6 | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- 4.0
- 4
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- 4.0
- 4
<|file_sep|>updated/.travis.yml
sudo: false
language: node_js
node_js:
- 4.0
- 4
- 6 | 41e99e7e74ea0adfa083af41d65f9d45dc668982 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
sudo: false
cache: pip
language: python
python:
- "3.6"
- "3.5"
- "3.4"
- "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
# Setup of Git environment
- git config --global user.email user@example.com
- git config --global... | sudo: false
cache: pip
language: python
python:
- "3.7"
- "3.6"
- "3.5"
- "3.4"
- "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
# Setup of Git environment
- git config --global user.email user@example.com
- git config --global user.name "Travis CI"
... | <|file_sep|>original/.travis.yml
sudo: false
cache: pip
language: python
python:
- "3.6"
- "3.5"
- "3.4"
- "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
# Setup of Git environment
- git config --global user.email user@example.com
- git config --global... | 3387260122ad9907676e5ef8e3814c270a011962 | .travis.yml | .travis.yml | YAML |
<|file_sep|>circle.yml.diff
original:
# './...' is a relative pattern which means all subdirectories
updated:
<|file_sep|>circle.yml.diff
original:
- github-release delete -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -t ${CIRCLE_BRANCH}-build
- github-release release --pre-release -u ${CIRCL... | machine:
environment:
PATH: "/usr/local/go/bin:/usr/local/go_workspace/bin:~/.go_workspace/bin:${PATH}"
dependencies:
override:
- mkdir -p ~/.go_project/src/github.com/${CIRCLE_PROJECT_USERNAME}
- ln -s ${HOME}/${CIRCLE_PROJECT_REPONAME} ${HOME}/.go_project/src/github.com/${CIRCLE_PROJECT_USERNAME}/${C... | <|file_sep|>circle.yml.diff
original:
# './...' is a relative pattern which means all subdirectories
updated:
<|file_sep|>circle.yml.diff
original:
- github-release delete -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -t ${CIRCLE_BRANCH}-build
- github-release release --pre-release -u ${CIRCL... | 87a0a8032c49d4fa52a1545c47fa7fbf914efade | circle.yml | circle.yml | YAML |
<|file_sep|>original/PHPHub/Constants/APIConstant.h
// Copyright (c) 2015 ESTGroup. All rights reserved.
//
#define APIAccessTokenURL [NSString stringWithFormat:@"%@%@", APIBaseURL, @"/oauth/access_token"]
#define QiniuUploadTokenIdentifier @"QiniuUploadTokenIdentifier"
#if DEBUG
#define APIBaseURL @"https://st... | // Copyright (c) 2015 ESTGroup. All rights reserved.
//
#define APIAccessTokenURL [NSString stringWithFormat:@"%@%@", APIBaseURL, @"/oauth/access_token"]
#define QiniuUploadTokenIdentifier @"QiniuUploadTokenIdentifier"
#if DEBUG
#define APIBaseURL @"https://staging_api.phphub.org"
#else
#define APIBaseURL ... | <|file_sep|>original/PHPHub/Constants/APIConstant.h
// Copyright (c) 2015 ESTGroup. All rights reserved.
//
#define APIAccessTokenURL [NSString stringWithFormat:@"%@%@", APIBaseURL, @"/oauth/access_token"]
#define QiniuUploadTokenIdentifier @"QiniuUploadTokenIdentifier"
#if DEBUG
#define APIBaseURL @"https://st... | 7b6feece93869c598a44f03470e2a1d7c5eac9b9 | PHPHub/Constants/APIConstant.h | PHPHub/Constants/APIConstant.h | C |
<|file_sep|>original/src/Test/FileLock.hs
module Test.FileLock(main) where
import Development.Shake
import Control.Concurrent.Extra
import Control.Exception.Extra
import Control.Monad
import Data.Either
import Test.Type
main = shaken test $ \args obj -> do
action $ liftIO $ sleep 2
test build obj = do
-- ... |
module Test.FileLock(main) where
import Development.Shake
import Control.Concurrent.Extra
import Control.Exception.Extra
import Control.Monad
import Data.Either.Extra
import Test.Type
main = shaken test $ \args obj -> do
action $ liftIO $ sleep 2
test build obj = do
-- check it fails exactly once
a <-... | <|file_sep|>original/src/Test/FileLock.hs
module Test.FileLock(main) where
import Development.Shake
import Control.Concurrent.Extra
import Control.Exception.Extra
import Control.Monad
import Data.Either
import Test.Type
main = shaken test $ \args obj -> do
action $ liftIO $ sleep 2
test build obj = do
-- ... | e471ffb85022a0260b80ff2efa8443359090398d | src/Test/FileLock.hs | src/Test/FileLock.hs | Haskell |
<|file_sep|>original/app/Console/Commands/ImportDataPage.php
protected $signature = 'command:name';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description';
/**
* Create a new command instance.
*
* @return void
*/... | protected $signature = 'command:name';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description';
/**
* Array of spreadsheet types
*
* @var array
*/
protected $sheetType = [
"RAD",
"FLUORO",
... | <|file_sep|>original/app/Console/Commands/ImportDataPage.php
protected $signature = 'command:name';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description';
/**
* Create a new command instance.
*
* @return void
*/... | d53a82f57ea30348ae9da598b76bebebca22710d | app/Console/Commands/ImportDataPage.php | app/Console/Commands/ImportDataPage.php | PHP |
<|file_sep|>lua/selectionConverter.lua.diff
original:
-- ENCODING among -detect-enc, -sjis, -utf16-be, -utf16-le, -utf8
local ENCODING = "-detect-enc"
-- 0 <= DEBUG_LEVEL <= 5
local DEBUG_LEVEL = 0
-- any positive or negative integer
local STRICTNESS = 20
updated:
-- ENCODING among -detect-enc,... |
local s = ""
for i = 1, table.getn(bytes) do
s = s .. string.format("%02x", bytes[i])
end
handle:write(s .. "\n")
handle:flush()
previousBytes = bytes
end
end
sleep(300)
end
end
createNativeThread(updateClipboard) | <|file_sep|>lua/selectionConverter.lua.diff
original:
-- ENCODING among -detect-enc, -sjis, -utf16-be, -utf16-le, -utf8
local ENCODING = "-detect-enc"
-- 0 <= DEBUG_LEVEL <= 5
local DEBUG_LEVEL = 0
-- any positive or negative integer
local STRICTNESS = 20
updated:
-- ENCODING among -detect-enc,... | 31d0d09f4f2475ef6a82bef4b0e47db5279642e1 | lua/selectionConverter.lua | lua/selectionConverter.lua | Lua |
<|file_sep|>original/_config.yml
# Site settings
title: Your awesome title
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
Professional page from krlsdu
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://yourdomain.com" # the base hostname & protocol for your... | # Site settings
title: Your awesome title
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
Professional page from krlsdu
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://yourdomain.com" # the base hostname & protocol for your site
twitter_username: jekyllrb
... | <|file_sep|>original/_config.yml
# Site settings
title: Your awesome title
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
Professional page from krlsdu
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://yourdomain.com" # the base hostname & protocol for your... | a07d10c07ad43a6b823406555e79ad84879a14c0 | _config.yml | _config.yml | YAML |
<|file_sep|>original/docs/main/Architecture.rst
<|file_sep|>current/docs/main/Architecture.rst
<|file_sep|>updated/docs/main/Architecture.rst | Architecture
============
- `WSGI <http://wsgi.org>`_ (`PEP 333 <http://www.python.org/dev/peps/pep-0333/>`_) compliant application and `middleware <http://www.wsgi.org/wsgi/Middleware_and_Utilities>`_ stack
- A real-time messaging hub using the `Advanced Message Queuing Protocol (AMQP) <http://http://amqp.org/>`_
- H... | <|file_sep|>original/docs/main/Architecture.rst
<|file_sep|>current/docs/main/Architecture.rst
<|file_sep|>updated/docs/main/Architecture.rst
Architecture
============
- `WSGI <http://wsgi.org>`_ (`PEP 333 <http://www.python.org/dev/peps/pep-0333/>`_) compliant application and `middleware <http://www.wsgi.org/wsgi/M... | ed9ad7e4cca77a812fa007953fb74760a750bbce | docs/main/Architecture.rst | docs/main/Architecture.rst | reStructuredText |
<|file_sep|>original/subprojects/test-kit/src/integTest/groovy/org/gradle/testkit/TestKitSamplesIntegrationTest.groovy
import org.junit.Rule
class TestKitSamplesIntegrationTest extends AbstractIntegrationSpec {
@Rule Sample sample = new Sample(testDirectoryProvider)
def setup() {
executer.requireGrad... | import org.junit.Rule
class TestKitSamplesIntegrationTest extends AbstractIntegrationSpec {
@Rule Sample sample = new Sample(testDirectoryProvider)
def setup() {
executer.requireGradleHome()
}
@UsesSample("testKit/testKitJunit")
def junit() {
expect:
executer.inDirectory(... | <|file_sep|>original/subprojects/test-kit/src/integTest/groovy/org/gradle/testkit/TestKitSamplesIntegrationTest.groovy
import org.junit.Rule
class TestKitSamplesIntegrationTest extends AbstractIntegrationSpec {
@Rule Sample sample = new Sample(testDirectoryProvider)
def setup() {
executer.requireGrad... | 42144738d349ab8560dd89b43f2112bfaeceae27 | subprojects/test-kit/src/integTest/groovy/org/gradle/testkit/TestKitSamplesIntegrationTest.groovy | subprojects/test-kit/src/integTest/groovy/org/gradle/testkit/TestKitSamplesIntegrationTest.groovy | Groovy |
<|file_sep|>original/tests/test_autoreconnect.py
<|file_sep|>current/tests/test_autoreconnect.py
<|file_sep|>updated/tests/test_autoreconnect.py | #!/usr/bin/env python
from graphitesend import graphitesend
import unittest
import socket
class TestAutoreconnect(unittest.TestCase):
def setUp(self):
""" reset graphitesend """
self.server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.server.setsockopt(socket.SOL_SOCKET, sock... | <|file_sep|>original/tests/test_autoreconnect.py
<|file_sep|>current/tests/test_autoreconnect.py
<|file_sep|>updated/tests/test_autoreconnect.py
#!/usr/bin/env python
from graphitesend import graphitesend
import unittest
import socket
class TestAutoreconnect(unittest.TestCase):
def setUp(self):
""" re... | 6bb921082a168cf31b7499bc62f2a26c223e9686 | tests/test_autoreconnect.py | tests/test_autoreconnect.py | Python |
<|file_sep|>original/src/webpackConfigBase.coffee
module.exports =
resolve:
# Add automatically the following extensions to required modules
extensions: ['', '.coffee', '.cjsx', '.js']
plugins: [
new webpack.ContextReplacementPlugin /moment[\\\/]locale$/, new RegExp ".[\\\/](#{LANGS.join '|'})"
]
... |
module.exports =
resolve:
# Add automatically the following extensions to required modules
extensions: ['', '.coffee', '.cjsx', '.js']
plugins: [
new webpack.ContextReplacementPlugin /moment[\\\/]locale$/, new RegExp ".[\\\/](#{LANGS.join '|'})"
]
## devtool: if process.env.NODE_ENV isnt 'product... | <|file_sep|>original/src/webpackConfigBase.coffee
module.exports =
resolve:
# Add automatically the following extensions to required modules
extensions: ['', '.coffee', '.cjsx', '.js']
plugins: [
new webpack.ContextReplacementPlugin /moment[\\\/]locale$/, new RegExp ".[\\\/](#{LANGS.join '|'})"
]
... | a2f52c318db53d54e0a31068b935c5f2f7581513 | src/webpackConfigBase.coffee | src/webpackConfigBase.coffee | CoffeeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.