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/.github/workflows/main.yml
name: CI
on: [push]
jobs:
unit_tests:
name: Unit Tests
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Gem Dependencies
run: bundle install
- name: Run UnitTests
run: bundle exec fast... | name: CI
on: [push, pull_request]
jobs:
unit_tests:
name: Unit Tests
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Gem Dependencies
run: bundle install
- name: Run UnitTests
run: bundle exec fastlane test
ui_tests:
name: U... | <|file_sep|>original/.github/workflows/main.yml
name: CI
on: [push]
jobs:
unit_tests:
name: Unit Tests
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Gem Dependencies
run: bundle install
- name: Run UnitTests
run: bundle exec fast... | c03a9908d7b9ad7555ca66c342941c4ae51ee4e3 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/.github/workflows/delivery.yml
<|file_sep|>current/.github/workflows/delivery.yml
<|file_sep|>updated/.github/workflows/delivery.yml | name: delivery
on: [push, pull_request]
jobs:
delivery:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: Run Chef Delivery
uses: actionshub/chef-delivery@master
env:
CHEF_LICENSE: accept-no-persist | <|file_sep|>original/.github/workflows/delivery.yml
<|file_sep|>current/.github/workflows/delivery.yml
<|file_sep|>updated/.github/workflows/delivery.yml
name: delivery
on: [push, pull_request]
jobs:
delivery:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
... | 8fb716364c16197e6f4e8b285557ab680e05e07b | .github/workflows/delivery.yml | .github/workflows/delivery.yml | YAML |
<|file_sep|>original/core/metrics-core-impl/src/main/java/org/hawkular/metrics/core/impl/request/MixedMetricsRequest.java
<|file_sep|>current/core/metrics-core-impl/src/main/java/org/hawkular/metrics/core/impl/request/MixedMetricsRequest.java
<|file_sep|>updated/core/metrics-core-impl/src/main/java/org/hawkular/metri... | /*
* Copyright 2014-2015 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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://w... | <|file_sep|>original/core/metrics-core-impl/src/main/java/org/hawkular/metrics/core/impl/request/MixedMetricsRequest.java
<|file_sep|>current/core/metrics-core-impl/src/main/java/org/hawkular/metrics/core/impl/request/MixedMetricsRequest.java
<|file_sep|>updated/core/metrics-core-impl/src/main/java/org/hawkular/metri... | ade6c2aafcc33f019629478a31e8a6bf0ee1c8c5 | core/metrics-core-impl/src/main/java/org/hawkular/metrics/core/impl/request/MixedMetricsRequest.java | core/metrics-core-impl/src/main/java/org/hawkular/metrics/core/impl/request/MixedMetricsRequest.java | Java |
<|file_sep|>original/src/validation.h
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_VALIDATION_H
#defin... | // Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_VALIDATION_H
#define BITCOIN_VALIDATION_H
#include <stdi... | <|file_sep|>original/src/validation.h
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_VALIDATION_H
#defin... | b858676194b9e384789bc9d506136c37e5da015a | src/validation.h | src/validation.h | C |
<|file_sep|>original/requirements-optional.txt
jinja2>=2.7
pint==0.9
msgpack==0.5.6
ply==3.11
humanfriendly==4.18
pyyaml==5.1
arrow==0.13.1
<|file_sep|>current/requirements-optional.txt
jinja2>=2.7
pint==0.9
msgpack==0.5.6
ply==3.11
humanfriendly==4.18
pyyaml==5.1
arrow==0.13.1
<|file_sep|>updated/requirements-optional... | jinja2>=2.7
pint==0.9
msgpack==0.6.1
ply==3.11
humanfriendly==4.18
pyyaml==5.1
arrow==0.13.1 | <|file_sep|>original/requirements-optional.txt
jinja2>=2.7
pint==0.9
msgpack==0.5.6
ply==3.11
humanfriendly==4.18
pyyaml==5.1
arrow==0.13.1
<|file_sep|>current/requirements-optional.txt
jinja2>=2.7
pint==0.9
msgpack==0.5.6
ply==3.11
humanfriendly==4.18
pyyaml==5.1
arrow==0.13.1
<|file_sep|>updated/requirements-optional... | 675fc0a8529a908602972f503a5db21abc4eda4c | requirements-optional.txt | requirements-optional.txt | Text |
<|file_sep|>.travis.yml.diff
original:
sudo: required
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
osx_image: xc... | sudo: false
dist: trusty
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
mono: none
os:
- linux
- osx
osx_image: xcode8.2
branches:
only:
- master
- release
- dev
- /^(.*\/)?ci-.*$/
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew ... | <|file_sep|>.travis.yml.diff
original:
sudo: required
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
osx_image: xc... | ddb5de0f77efbe8e0c23b3d5552811a1ceb50bb5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/locales/hu/copyright-email1.properties
copyright_email1_itstime=Itt az ideje, hogy a szerzői jogi törvények a 21. századba kerüljenek. Írja alá a petíciót most.
<|file_sep|>current/locales/hu/copyright-email1.properties
copyright_email1_itstime=Itt az ideje, hogy a szerzői jogi törvények a 21. száz... | copyright_email1_itstime=Itt az ideje, hogy a szerzői jogi törvények a 21. századba kerüljenek. Írja alá a petíciót most.
photographing_the_eiffel_tower=Az Eiffel-torony éjszakai fényeinek fényképezése, egy dal átdolgozása, egy mém készítése. Lehet, hogy meglepő, de ezek mind illegálisak lehetnek.
The_EUs_copyright_law... | <|file_sep|>original/locales/hu/copyright-email1.properties
copyright_email1_itstime=Itt az ideje, hogy a szerzői jogi törvények a 21. századba kerüljenek. Írja alá a petíciót most.
<|file_sep|>current/locales/hu/copyright-email1.properties
copyright_email1_itstime=Itt az ideje, hogy a szerzői jogi törvények a 21. száz... | 82a5c2175503cd117af85445665f246c97611222 | locales/hu/copyright-email1.properties | locales/hu/copyright-email1.properties | INI |
<|file_sep|>original/postcss.config.js
module.exports = {
plugins: {
'postcss-import': {},
'postcss-preset-env': {
stage: 0,
preserve: false
}
}
}
<|file_sep|>current/postcss.config.js
module.exports = {
plugins: {
'postcss-import': {},
'postcss-preset-env': {
stage: 0,
... | module.exports = {
plugins: [
require('postcss-import'),
require('postcss-preset-env')
]
} | <|file_sep|>original/postcss.config.js
module.exports = {
plugins: {
'postcss-import': {},
'postcss-preset-env': {
stage: 0,
preserve: false
}
}
}
<|file_sep|>current/postcss.config.js
module.exports = {
plugins: {
'postcss-import': {},
'postcss-preset-env': {
stage: 0,
... | 42d775b1381df03b51983ea9470e7dad999b4e94 | postcss.config.js | postcss.config.js | JavaScript |
<|file_sep|>recipes/isoweek/meta.yaml.diff
original:
- python
updated:
- python >=2.6
<|file_sep|>original/recipes/isoweek/meta.yaml
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python
run:
- python
test:
imports:
- isoweek
... | build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=2.6
run:
- python >=2.6
test:
imports:
- isoweek
commands:
- pip check
requires:
- pip
about: | <|file_sep|>recipes/isoweek/meta.yaml.diff
original:
- python
updated:
- python >=2.6
<|file_sep|>original/recipes/isoweek/meta.yaml
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python
run:
- python
test:
imports:
- isoweek
... | ac2fc569ebac09904c14f90aa9aadc2ecb4adfa3 | recipes/isoweek/meta.yaml | recipes/isoweek/meta.yaml | YAML |
<|file_sep|>lib/mock/changing-filesystem.js.diff
original:
return {
"readdir": () => {},
"stat": (filename, callback) => {
callback("error");
}
updated:
let fsMock = {};
fsMock.readdir = () => {};
fsMock.stat = (filename, callback) => {
callback("error");
<|file_sep|>original/lib/mock/ch... | // Copyright (c) 2017 The Regents of the University of Michigan.
// All Rights Reserved. Licensed according to the terms of the Revised
// BSD License. See LICENSE.txt for details.
module.exports = function() {
let fsMock = {};
fsMock.readdir = () => {};
fsMock.stat = (filename, callback) => {
callback("er... | <|file_sep|>lib/mock/changing-filesystem.js.diff
original:
return {
"readdir": () => {},
"stat": (filename, callback) => {
callback("error");
}
updated:
let fsMock = {};
fsMock.readdir = () => {};
fsMock.stat = (filename, callback) => {
callback("error");
<|file_sep|>original/lib/mock/ch... | aaaae2e08610fc3e3342fbed105bacf97043202e | lib/mock/changing-filesystem.js | lib/mock/changing-filesystem.js | JavaScript |
<|file_sep|>original/tests/testapp/CMakeLists.txt
testapp_subdoc.cc
testapp_subdoc_perf.cc
${Memcached_SOURCE_DIR}/programs/utilities.c)
TARGET_LINK_LIBRARIES(memcached_testapp mcd_util cbsasl cJSON platform gtest gtest_main ${SNAPPY_LIBRARIES} ${LIBEVENT_LIBRARIES} ${COUCHB... | testapp_subdoc.cc
testapp_subdoc_perf.cc
${Memcached_SOURCE_DIR}/programs/utilities.c)
TARGET_LINK_LIBRARIES(memcached_testapp mcd_util cbsasl cJSON platform gtest gtest_main ${SNAPPY_LIBRARIES} ${LIBEVENT_LIBRARIES} ${COUCHBASE_NETWORK_LIBS} ${OPENSSL_LIBRARIES})
# Note: A... | <|file_sep|>original/tests/testapp/CMakeLists.txt
testapp_subdoc.cc
testapp_subdoc_perf.cc
${Memcached_SOURCE_DIR}/programs/utilities.c)
TARGET_LINK_LIBRARIES(memcached_testapp mcd_util cbsasl cJSON platform gtest gtest_main ${SNAPPY_LIBRARIES} ${LIBEVENT_LIBRARIES} ${COUCHB... | 0f9903712ac56a4d31ec7b91326326d9b1122fa8 | tests/testapp/CMakeLists.txt | tests/testapp/CMakeLists.txt | Text |
<|file_sep|>index.html.diff
original:
<td>-</td>
updated:
<td>n/a</td>
<|file_sep|>original/index.html
<body>
<h1>Rust Conversion Reference</h1>
<table>
<tr>
<th>Want a ▶<br/>Have an x of type ▼</th>
<th>int</th>
<th>&str</th>
</tr>
<tr>
<th>int</th>
... | <body>
<h1>Rust Conversion Reference</h1>
<table>
<tr>
<th>Want a ▶<br/>Have an x of type ▼</th>
<th>int</th>
<th>&str</th>
</tr>
<tr>
<th>int</th>
<td>n/a</td>
<td>x.to_string()</td>
</tr>
<tr>
<th>&str</th>
<td>from_str::<i... | <|file_sep|>index.html.diff
original:
<td>-</td>
updated:
<td>n/a</td>
<|file_sep|>original/index.html
<body>
<h1>Rust Conversion Reference</h1>
<table>
<tr>
<th>Want a ▶<br/>Have an x of type ▼</th>
<th>int</th>
<th>&str</th>
</tr>
<tr>
<th>int</th>
... | b9e3502a25736b9e1b119c1429c8cae7285711fc | index.html | index.html | HTML |
<|file_sep|>lib/build.js.diff
original:
files.templates.contents.forEach(function () {
updated:
files.templates.contents.forEach(function (file, key) {
// Create an object key from the file name
var fileName = files.templates.fileNames[key].split(/\./)[0];
// Pre-compile the template against that ... | // For each schema that has been have loaded
files.schemas.contents.forEach(function (file, key) {
// Generate a html file name from the schema name.
var htmlName = files.schemas.fileNames[key].split(/\./)[0];
var fileContent = '';
if (compiled[htmlName]) {
fileContent = compiled[htmlName](... | <|file_sep|>lib/build.js.diff
original:
files.templates.contents.forEach(function () {
updated:
files.templates.contents.forEach(function (file, key) {
// Create an object key from the file name
var fileName = files.templates.fileNames[key].split(/\./)[0];
// Pre-compile the template against that ... | 96777e0386b073e82f96c7e99944bbe8af5fe014 | lib/build.js | lib/build.js | JavaScript |
<|file_sep|>original/packer/scripts/centos/ganeti.sh
#!/bin/bash -eux
# Install growpart
yum -y install cloud-init cloud-utils-growpart
chkconfig cloud-init on
if -n "$(grep \'CentOS release 6\' /etc/redhat-release)" ; then
yum -y install denyhosts
else
# Install denyhosts from our local repo
yum -y install htt... | #!/bin/bash -eux
# Install growpart
yum -y install cloud-init cloud-utils-growpart
chkconfig cloud-init on
if [ -n "$(grep "CentOS release 6" /etc/redhat-release)" ] ; then
yum -y install denyhosts
else
# Install denyhosts from our local repo
yum -y install http://packages.osuosl.org/repositories/centos-7/osl/x... | <|file_sep|>original/packer/scripts/centos/ganeti.sh
#!/bin/bash -eux
# Install growpart
yum -y install cloud-init cloud-utils-growpart
chkconfig cloud-init on
if -n "$(grep \'CentOS release 6\' /etc/redhat-release)" ; then
yum -y install denyhosts
else
# Install denyhosts from our local repo
yum -y install htt... | 05e6117f77d147793bef684ae611d2666f9e8de4 | packer/scripts/centos/ganeti.sh | packer/scripts/centos/ganeti.sh | Shell |
<|file_sep|>original/src/main/resources/sql/init_entry.sql
group DAO;
ensureEntrySchemaInPlace() ::= <<
create table if not exists entry (entry_number serial primary key, sha256hex varchar, timestamp timestamp);
alter table entry alter column entry_number drop default;
create table if not exists total_entries (coun... | group DAO;
ensureEntrySchemaInPlace() ::= <<
create table if not exists entry (entry_number serial primary key, sha256hex varchar, timestamp timestamp);
alter table entry alter column entry_number drop default;
create index if not exists entry_sha256hex_index on entry (sha256hex);
create table if not exists total_... | <|file_sep|>original/src/main/resources/sql/init_entry.sql
group DAO;
ensureEntrySchemaInPlace() ::= <<
create table if not exists entry (entry_number serial primary key, sha256hex varchar, timestamp timestamp);
alter table entry alter column entry_number drop default;
create table if not exists total_entries (coun... | 2f90ee1d205bafc16226fac18f2df98023838935 | src/main/resources/sql/init_entry.sql | src/main/resources/sql/init_entry.sql | SQL |
<|file_sep|>original/db/migrate/20160415102439_create_local_authorities.rb
class CreateLocalAuthorities < ActiveRecord::Migration
def change
create_table :local_authorities do |t|
t.string :gss
t.string :homepage_url
t.string :name
t.string :slug
t.string :snac
t.string :tier
... | class CreateLocalAuthorities < ActiveRecord::Migration
def change
create_table :local_authorities do |t|
t.string :gss
t.string :homepage_url
t.string :name
t.string :slug
t.string :snac
t.string :tier
t.timestamps null: false
end
add_index :local_authorities, :... | <|file_sep|>original/db/migrate/20160415102439_create_local_authorities.rb
class CreateLocalAuthorities < ActiveRecord::Migration
def change
create_table :local_authorities do |t|
t.string :gss
t.string :homepage_url
t.string :name
t.string :slug
t.string :snac
t.string :tier
... | 45ceebe50583e3a319b1ac14f368a08f5f01b57f | db/migrate/20160415102439_create_local_authorities.rb | db/migrate/20160415102439_create_local_authorities.rb | Ruby |
<|file_sep|>original/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==2.6.0
coverage==4.3.4
Sphinx==1.5.3
cryptography==1.7.2
<|file_sep|>current/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
... | -r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.6.0
coverage==4.3.4
Sphinx==1.5.3
cryptography==1.7.2 | <|file_sep|>original/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==2.6.0
coverage==4.3.4
Sphinx==1.5.3
cryptography==1.7.2
<|file_sep|>current/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
... | cd59f3f47cd907519a8408e71b3d629ea6fe38e4 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>enlighten/counter.py.diff
original:
from enlighten._manager import Manager
updated:
from enlighten._manager import get_manager
<|file_sep|>original/enlighten/counter.py
from enlighten._counter import Counter as _Counter
from enlighten._counter import SubCounter # pylint: disable=unused-import # noqa: F401... |
from enlighten._counter import Counter as _Counter
from enlighten._counter import SubCounter # pylint: disable=unused-import # noqa: F401
from enlighten._manager import get_manager
# Counter is defined here to avoid circular dependencies
class Counter(_Counter): # pylint: disable=missing-docstring
__doc__ = _... | <|file_sep|>enlighten/counter.py.diff
original:
from enlighten._manager import Manager
updated:
from enlighten._manager import get_manager
<|file_sep|>original/enlighten/counter.py
from enlighten._counter import Counter as _Counter
from enlighten._counter import SubCounter # pylint: disable=unused-import # noqa: F401... | f915000cf88a80beadc725ab10e48d2b14d1be23 | enlighten/counter.py | enlighten/counter.py | Python |
<|file_sep|>.travis.yml.diff
original:
- 3.3
updated:
<|file_sep|>original/.travis.yml
sudo: false
language: python
python:
- 2.7
- 3.3
- 3.4
env:
- DJANGO_VERSION_LT=1.8
- DJANGO_VERSION_LT=1.9
- DJANGO_VERSION_LT=2.0
install:
- pip install -q -U pip
- pip install -q coveralls
- pip install "d... | sudo: false
language: python
python:
- 2.7
- 3.4
- 3.5
env:
- DJANGO_VERSION_LT=1.8
- DJANGO_VERSION_LT=1.9
- DJANGO_VERSION_LT=2.0
install:
- pip install -q -U pip
- pip install -q coveralls
- pip install "django<$DJANGO_VERSION_LT"
script:
coverage run setup.py test
after_success:
coveralls | <|file_sep|>.travis.yml.diff
original:
- 3.3
updated:
<|file_sep|>original/.travis.yml
sudo: false
language: python
python:
- 2.7
- 3.3
- 3.4
env:
- DJANGO_VERSION_LT=1.8
- DJANGO_VERSION_LT=1.9
- DJANGO_VERSION_LT=2.0
install:
- pip install -q -U pip
- pip install -q coveralls
- pip install "d... | d007353bc659f1a48413136aee42c4a6da509025 | .travis.yml | .travis.yml | YAML |
<|file_sep|>metadata/net.nitratine.priceperunit.yml.diff
original:
updated:
- versionName: 1.3.8
versionCode: 14
commit: v1.3.8
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/net.nitratine.priceperunit.yml
WebSite: https://nitratine.net/blog/post/price-per-unit/
SourceCode: https://gi... | Repo: https://github.com/brentvollebregt/price-per-unit
Builds:
- versionName: 1.3.7
versionCode: 13
commit: v1.3.7
subdir: app
gradle:
- yes
- versionName: 1.3.8
versionCode: 14
commit: v1.3.8
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags... | <|file_sep|>metadata/net.nitratine.priceperunit.yml.diff
original:
updated:
- versionName: 1.3.8
versionCode: 14
commit: v1.3.8
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/net.nitratine.priceperunit.yml
WebSite: https://nitratine.net/blog/post/price-per-unit/
SourceCode: https://gi... | 5bda5c326a75894a94e9bd101a104a3d29dd0c1b | metadata/net.nitratine.priceperunit.yml | metadata/net.nitratine.priceperunit.yml | YAML |
<|file_sep|>original/app/views/users/show.html.erb
<h1><%= @user.name %>'s Profile</h1>
<h4>Current Savings: $<%= @user.savings.total_savings %></h4>
<br>
<h4>Planned Purchases: </h4>
<% @user.purchases.each do |purchase| %>
<p><%= purchase.title %> for <%= purchase.cost %></p>
<br>
<% end %>
<br>
<h4><%= lin... | <h1><%= @user.name %>'s Profile</h1>
<h4>Current Savings: $<%= @user.savings.total_savings %></h4>
<br>
<h4>Planned Purchases: </h4>
<% @user.purchases.each do |purchase| %>
<p><%= purchase.title %> for <%= purchase.cost %></p>
<% end %>
<br>
<h4><%= link_to "Add savings", new_saving_path %></h4>
<h4><%= link... | <|file_sep|>original/app/views/users/show.html.erb
<h1><%= @user.name %>'s Profile</h1>
<h4>Current Savings: $<%= @user.savings.total_savings %></h4>
<br>
<h4>Planned Purchases: </h4>
<% @user.purchases.each do |purchase| %>
<p><%= purchase.title %> for <%= purchase.cost %></p>
<br>
<% end %>
<br>
<h4><%= lin... | 0496f4565813f27d524b140ea3de90549f2bbfb9 | app/views/users/show.html.erb | app/views/users/show.html.erb | HTML+ERB |
<|file_sep|>original/tests/run-tests.sh
export PYTHONPATH=.; py.test -v --cov banzai --cov visitors --cov nmmd --cov hercules --cov-report html --cov-config=.coveragerc
<|file_sep|>current/tests/run-tests.sh
export PYTHONPATH=.; py.test -v --cov banzai --cov visitors --cov nmmd --cov hercules --cov-report html --cov-co... | export PYTHONPATH=.; py.test -v --ignore=build --cov banzai --cov visitors --cov nmmd --cov hercules --cov-report html --cov-config=.coveragerc | <|file_sep|>original/tests/run-tests.sh
export PYTHONPATH=.; py.test -v --cov banzai --cov visitors --cov nmmd --cov hercules --cov-report html --cov-config=.coveragerc
<|file_sep|>current/tests/run-tests.sh
export PYTHONPATH=.; py.test -v --cov banzai --cov visitors --cov nmmd --cov hercules --cov-report html --cov-co... | ec160f8430dc8ed42d6d2dd39d0f936540553601 | tests/run-tests.sh | tests/run-tests.sh | Shell |
<|file_sep|>original/packages/lo/located-monad-logger.yaml
<|file_sep|>current/packages/lo/located-monad-logger.yaml
<|file_sep|>updated/packages/lo/located-monad-logger.yaml | homepage: https://github.com/MailOnline/located-monad-logger#readme
changelog-type: ''
hash: e0c022b917aded7228330d436e814e11ef44fef6fc3c6e72838f2411e35a5ecf
test-bench-deps: {}
maintainer: pkogan@gmail.com
synopsis: Location-aware logging without Template Haskell
changelog: ''
basic-deps:
base: ! '>=4.8.1 && <4.9'
... | <|file_sep|>original/packages/lo/located-monad-logger.yaml
<|file_sep|>current/packages/lo/located-monad-logger.yaml
<|file_sep|>updated/packages/lo/located-monad-logger.yaml
homepage: https://github.com/MailOnline/located-monad-logger#readme
changelog-type: ''
hash: e0c022b917aded7228330d436e814e11ef44fef6fc3c6e7283... | b6a6b33bd30506054e8879cfe7830c7819d1a208 | packages/lo/located-monad-logger.yaml | packages/lo/located-monad-logger.yaml | YAML |
<|file_sep|>original/src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.html
<div class="umb-editor umb-checkboxlist" ng-controller="Umbraco.PropertyEditors.CheckboxListController">
<ul class="unstyled">
<li ng-repeat="item in selectedItems">
<label class="checkbox">... | <div class="umb-editor umb-checkboxlist" ng-controller="Umbraco.PropertyEditors.CheckboxListController">
<ul class="unstyled">
<li ng-repeat="item in selectedItems">
<label class="checkbox">
<input type="checkbox" name="checkboxlist"
value="{{item.key}}"
... | <|file_sep|>original/src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.html
<div class="umb-editor umb-checkboxlist" ng-controller="Umbraco.PropertyEditors.CheckboxListController">
<ul class="unstyled">
<li ng-repeat="item in selectedItems">
<label class="checkbox">... | 451fb50539e73663ccbe6be108df01d28dfb38d5 | src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.html | src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.html | HTML |
<|file_sep|>src/Terrajobst.Cci/MemberExtensions.cs.diff
original:
public static string GetNamespaceName(this ITypeDefinitionMember member)
updated:
public static string GetNamespaceName(this IDefinition definition)
<|file_sep|>src/Terrajobst.Cci/MemberExtensions.cs.diff
original:
return memb... |
return string.Empty;
}
public static string GetMemberSignature(this IDefinition definition)
{
if (definition is IFieldDefinition field)
return field.Name.Value;
if (definition is ITypeDefinitionMember member)
return MemberHel... | <|file_sep|>src/Terrajobst.Cci/MemberExtensions.cs.diff
original:
public static string GetNamespaceName(this ITypeDefinitionMember member)
updated:
public static string GetNamespaceName(this IDefinition definition)
<|file_sep|>src/Terrajobst.Cci/MemberExtensions.cs.diff
original:
return memb... | 7db230f0f1c6e7e27f0ed080d29a7a91463b75e4 | src/Terrajobst.Cci/MemberExtensions.cs | src/Terrajobst.Cci/MemberExtensions.cs | C# |
<|file_sep|>original/src/planner/ikfast_moveit_plugin/gencpp.sh
<|file_sep|>current/src/planner/ikfast_moveit_plugin/gencpp.sh
<|file_sep|>updated/src/planner/ikfast_moveit_plugin/gencpp.sh | #!/bin/bash
path_to_collada="../../motion/arcsys2_description/urdf/arcsys2.dae"
iktype="translationdirection5d"
output_path="src/ikfast_moveit_plugin.cpp"
# Arguments of --baselink and --eelink are index number of link
# The following command will helps you to determine the index number
# $ openrave-robot.py <path_... | <|file_sep|>original/src/planner/ikfast_moveit_plugin/gencpp.sh
<|file_sep|>current/src/planner/ikfast_moveit_plugin/gencpp.sh
<|file_sep|>updated/src/planner/ikfast_moveit_plugin/gencpp.sh
#!/bin/bash
path_to_collada="../../motion/arcsys2_description/urdf/arcsys2.dae"
iktype="translationdirection5d"
output_path="sr... | 30f998052962067dd0549aa6a3b7a9288782e95a | src/planner/ikfast_moveit_plugin/gencpp.sh | src/planner/ikfast_moveit_plugin/gencpp.sh | Shell |
<|file_sep|>original/src/tile.cpp
: z(z_), x(x_), y(y_), m_mapnik_tile(new mapnik::vector::tile) {
}
tile::~tile() {
}
std::string tile::get_data() const {
std::string buffer;
if (m_mapnik_tile->SerializeToString(&buffer)) {
return buffer;
} else {
throw std::runtime_error("Error while serializing p... | : z(z_), x(x_), y(y_), m_mapnik_tile(new mapnik::vector::tile) {
}
tile::~tile() {
}
std::string tile::get_data() const {
std::ostringstream buffer;
buffer << *this;
return buffer.str();
}
mapnik::vector::tile const &tile::mapnik_tile() const {
return *m_mapnik_tile;
}
mapnik::vector::tile &tile::mapnik_t... | <|file_sep|>original/src/tile.cpp
: z(z_), x(x_), y(y_), m_mapnik_tile(new mapnik::vector::tile) {
}
tile::~tile() {
}
std::string tile::get_data() const {
std::string buffer;
if (m_mapnik_tile->SerializeToString(&buffer)) {
return buffer;
} else {
throw std::runtime_error("Error while serializing p... | 69951264fc0b86c5210f1613ddd16dd233744346 | src/tile.cpp | src/tile.cpp | C++ |
<|file_sep|>.circleci/config.yml.diff
original:
working_directory: /root/findingaids
updated:
working_directory: /findingaids
<|file_sep|>original/.circleci/config.yml
command: |
set -x
VER="17.03.0-ce"
curl -L -o /tmp/docker-$VER.tgz https://get.docker.com/builds/L... | command: |
set -x
VER="17.03.0-ce"
curl -L -o /tmp/docker-$VER.tgz https://get.docker.com/builds/Linux/x86_64/docker-$VER.tgz
tar -xz -C /tmp -f /tmp/docker-$VER.tgz
mv /tmp/docker/* /usr/bin
- run:
name: Install Docker Compose
... | <|file_sep|>.circleci/config.yml.diff
original:
working_directory: /root/findingaids
updated:
working_directory: /findingaids
<|file_sep|>original/.circleci/config.yml
command: |
set -x
VER="17.03.0-ce"
curl -L -o /tmp/docker-$VER.tgz https://get.docker.com/builds/L... | dc29bc76080f78a73c6cdaae23c2f42b705b126f | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/app/controllers/base_assets_controller.rb
if @asset.save
render json: AssetPresenter.new(@asset, view_context).as_json(status: :created), status: :created
else
error 422, @asset.errors.full_messages
end
end
protected
def normalize_redirect_url(params)
params.rejec... | if @asset.save
render json: AssetPresenter.new(@asset, view_context).as_json(status: :created), status: :created
else
error 422, @asset.errors.full_messages
end
end
protected
def normalize_redirect_url(params)
if params.has_key?(:redirect_url) && params[:redirect_url].blank?
para... | <|file_sep|>original/app/controllers/base_assets_controller.rb
if @asset.save
render json: AssetPresenter.new(@asset, view_context).as_json(status: :created), status: :created
else
error 422, @asset.errors.full_messages
end
end
protected
def normalize_redirect_url(params)
params.rejec... | d79d9aa7aa71b01462f642356b502bbb33cceb4c | app/controllers/base_assets_controller.rb | app/controllers/base_assets_controller.rb | Ruby |
<|file_sep|>original/.github/workflows/release-gem.yml
name: Release gem
on:
workflow_dispatch:
inputs:
dummy:
required: false
default: 'dummy'
jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 3.0
... | name: Release gem
on:
push:
tags:
- 'v*'
jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- run: bundle install | <|file_sep|>original/.github/workflows/release-gem.yml
name: Release gem
on:
workflow_dispatch:
inputs:
dummy:
required: false
default: 'dummy'
jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 3.0
... | 246c252942591e460842c5afa254f2b769aefd30 | .github/workflows/release-gem.yml | .github/workflows/release-gem.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install: pip install -U tox tox-travis
script: tox
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install: pip install -U tox tox-travis
script: tox
<|f... | language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install: pip install -U tox tox-travis
script: tox | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install: pip install -U tox tox-travis
script: tox
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install: pip install -U tox tox-travis
script: tox
<|f... | 5aaa32935120717e7f503c50969bf2236ae0f145 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test_async.py
<|file_sep|>current/test_async.py
<|file_sep|>updated/test_async.py | import unittest
import chainer
import chainer.links as L
import numpy as np
import async
class TestAsync(unittest.TestCase):
def setUp(self):
pass
def test_shared_link(self):
"""Check interprocess parameter sharing works if models share links
"""
head = L.Linear(2, 2)
... | <|file_sep|>original/test_async.py
<|file_sep|>current/test_async.py
<|file_sep|>updated/test_async.py
import unittest
import chainer
import chainer.links as L
import numpy as np
import async
class TestAsync(unittest.TestCase):
def setUp(self):
pass
def test_shared_link(self):
"""Check i... | 79724ffb33766eb2b71ab6571564cc7dd77c401f | test_async.py | test_async.py | Python |
<|file_sep|>src/App.js.diff
original:
updated:
import NewMeal from './components/NewMeal'
<|file_sep|>original/src/App.js
<Router>
<div>
<Container text>
<Nav logout={this.props.logout} />
</Container>
<Container>
<Switch>
... | <Router>
<div>
<Container text>
<Nav logout={this.props.logout} />
</Container>
<Container>
<Switch>
<Route exact path="/" component={Home} />
<Route path="/households/new" component={NewHousehold} />
... | <|file_sep|>src/App.js.diff
original:
updated:
import NewMeal from './components/NewMeal'
<|file_sep|>original/src/App.js
<Router>
<div>
<Container text>
<Nav logout={this.props.logout} />
</Container>
<Container>
<Switch>
... | 0598163dc54b56760a3b3eaa1be65fa0770e3b17 | src/App.js | src/App.js | JavaScript |
<|file_sep|>original/setup.cfg
[wheel]
universal = 1
[pytest]
testpaths = tests
[flake8]
exclude = .venv,.git,.tox,docs,www_static,tests
[pep257]
ignore = D203,D105
<|file_sep|>current/setup.cfg
[wheel]
universal = 1
[pytest]
testpaths = tests
[flake8]
exclude = .venv,.git,.tox,docs,www_static,tests
[pep257]
igno... | [wheel]
universal = 1
[pytest]
testpaths = tests
[flake8]
exclude = .venv,.git,.tox,docs,www_static,tests,venv,bin,lib
[pep257]
ignore = D203,D105 | <|file_sep|>original/setup.cfg
[wheel]
universal = 1
[pytest]
testpaths = tests
[flake8]
exclude = .venv,.git,.tox,docs,www_static,tests
[pep257]
ignore = D203,D105
<|file_sep|>current/setup.cfg
[wheel]
universal = 1
[pytest]
testpaths = tests
[flake8]
exclude = .venv,.git,.tox,docs,www_static,tests
[pep257]
igno... | 92a11819b44a581e27da7569a7b7ee55025bc2e3 | setup.cfg | setup.cfg | INI |
<|file_sep|>swagger_ui_engine.gemspec.diff
original:
s.summary = 'Mount Swagger-Ui as Rails engine.'
s.description = 'Swagger API docs and web console for your rails project.'
updated:
s.summary = 'Mountable Rails engine that serves Swagger UI for your API documentation written in YAML files.'
s.descrip... | # Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'swagger_ui_engine'
s.version = SwaggerUiEngine::VERSION
s.authors = ['ZuzannaSt']
s.email = ['zuzannast@gmail.com']
s.homepage = 'https://github.com/ZuzannaSt/swagger_ui_engine'
s.summary = ... | <|file_sep|>swagger_ui_engine.gemspec.diff
original:
s.summary = 'Mount Swagger-Ui as Rails engine.'
s.description = 'Swagger API docs and web console for your rails project.'
updated:
s.summary = 'Mountable Rails engine that serves Swagger UI for your API documentation written in YAML files.'
s.descrip... | 5d78b47581d6773a6a43f04ef10d07222c9f0385 | swagger_ui_engine.gemspec | swagger_ui_engine.gemspec | Ruby |
<|file_sep|>metadata/com.luk.saucenao.txt.diff
original:
updated:
Build:1.1,2
commit=v1.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.luk.saucenao.txt
Issue Tracker:https://github.com/luk1337/SauceNAO/issues
Auto Name:SauceNAO
Summary:Unofficial SauceNAO client
Description:
Unofficial applica... | Unofficial application for [https://saucenao.com SauceNAO] reverse image search
engine.
.
Repo Type:git
Repo:https://github.com/LuK1337/SauceNAO
Build:1.0,1
commit=v1.0
subdir=app
gradle=yes
Build:1.1,2
commit=v1.1
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Cur... | <|file_sep|>metadata/com.luk.saucenao.txt.diff
original:
updated:
Build:1.1,2
commit=v1.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.luk.saucenao.txt
Issue Tracker:https://github.com/luk1337/SauceNAO/issues
Auto Name:SauceNAO
Summary:Unofficial SauceNAO client
Description:
Unofficial applica... | ce7598fe870dab23074b84d22e145a4c7d2c48f6 | metadata/com.luk.saucenao.txt | metadata/com.luk.saucenao.txt | Text |
<|file_sep|>ui/src/main/sass/components/_job-list-page.scss.diff
original:
updated:
h4 {
margin: 6px 0;
}
<|file_sep|>original/ui/src/main/sass/components/_job-list-page.scss
td.job-list-name {
width: 99%;
a {
display: block;
margin-top: -4px;
}
.glyphicon {
font-size: 12px;
margin-... |
td.job-list-name {
width: 99%;
h4 {
margin: 6px 0;
}
a {
display: block;
margin-top: -3px;
}
.glyphicon {
font-size: 12px;
margin-left: 3px;
}
}
td.job-list-stats {
text-align: right; | <|file_sep|>ui/src/main/sass/components/_job-list-page.scss.diff
original:
updated:
h4 {
margin: 6px 0;
}
<|file_sep|>original/ui/src/main/sass/components/_job-list-page.scss
td.job-list-name {
width: 99%;
a {
display: block;
margin-top: -4px;
}
.glyphicon {
font-size: 12px;
margin-... | d6bc8eb3ce2a98b259581474147483a3c7f5d205 | ui/src/main/sass/components/_job-list-page.scss | ui/src/main/sass/components/_job-list-page.scss | SCSS |
<|file_sep|>original/resources/views/footer.blade.php
<footer class="row">
<div class="c-footer col-xs-12 col-md-offset-2 col-md-8">
<div class="row">
<div class="col-xs-6 col-sm-4">
<img
src="{{ asset('img/logos/okf.svg') }}"
alt="... | <footer class="row">
<div class="c-footer col-xs-12 col-md-offset-2 col-md-8">
<div class="row">
<div class="col-xs-6 col-sm-4">
<img
src="{{ asset('img/logos/okf.svg') }}"
alt="Logo der OpenKnowledge Foundation Deutschland" height=... | <|file_sep|>original/resources/views/footer.blade.php
<footer class="row">
<div class="c-footer col-xs-12 col-md-offset-2 col-md-8">
<div class="row">
<div class="col-xs-6 col-sm-4">
<img
src="{{ asset('img/logos/okf.svg') }}"
alt="... | 2aaa25e38bd489353abb912e689234812ac24c3e | resources/views/footer.blade.php | resources/views/footer.blade.php | PHP |
<|file_sep|>lib/windcharger/attributes.rb.diff
original:
(@__attributes || []).dup.freeze
updated:
(@__windcharger_attributes || []).dup.freeze
<|file_sep|>original/lib/windcharger/attributes.rb
module Windcharger
module Attributes
def attributes
(@__attributes || []).dup.freeze
end
pr... |
module Windcharger
module Attributes
def attributes
(@__windcharger_attributes || []).dup.freeze
end
private
def __windcharger_add_attribute name
(@__windcharger_attributes ||= []) << name.to_sym
end
def attribute *attributes
if attributes.any?
attributes.each { |... | <|file_sep|>lib/windcharger/attributes.rb.diff
original:
(@__attributes || []).dup.freeze
updated:
(@__windcharger_attributes || []).dup.freeze
<|file_sep|>original/lib/windcharger/attributes.rb
module Windcharger
module Attributes
def attributes
(@__attributes || []).dup.freeze
end
pr... | 458e6ca7ae3e5034aff76ed3ac9e0d0bff4111d9 | lib/windcharger/attributes.rb | lib/windcharger/attributes.rb | Ruby |
<|file_sep|>original/config.php
<?php
/*
* Possible dates between 14-12-2014 and 12-12-2015
* Possible traintypes: IC, L, P, TGV, THA, TRN and EXT
* Possible languages: Dutch, English, French and German (currently only Dutch has been tested)
* Always leave one language uncommented
*/
return array(
'start_date' => ... | <?php
/*
* Possible dates between 14-12-2014 and 12-12-2015
* Possible traintypes: IC, L, P, TGV, THA, TRN and EXT
* Possible languages: Dutch, English, French and German (currently only Dutch has been tested)
* Always leave one language uncommented
*/
return array(
'start_date' => '01-01-2015',
'end_date' => ... | <|file_sep|>original/config.php
<?php
/*
* Possible dates between 14-12-2014 and 12-12-2015
* Possible traintypes: IC, L, P, TGV, THA, TRN and EXT
* Possible languages: Dutch, English, French and German (currently only Dutch has been tested)
* Always leave one language uncommented
*/
return array(
'start_date' => ... | cb37582399441bfcdc97f801ba4d053114b82aec | config.php | config.php | PHP |
<|file_sep|>original/clients/ptranslator/start.sh
#!/bin/sh
java -Djava.net.preferIPv4Stack=true \
-cp ${HOME}/.m2/repository/io/netty/netty-all/4.0.19.Final/netty-all-4.0.19.Final.jar\
:ptrans.properties\
:target/ptrans-0.1.0-SNAPSHOT.jar\
:${HOME}/.m2/repository/org/slf4j/slf4j-log4j12/1.7.7/slf4j-log4j12-1.7.7.j... | #!/bin/sh
java -Djava.net.preferIPv4Stack=true \
-cp ${HOME}/.m2/repository/io/netty/netty-all/4.0.19.Final/netty-all-4.0.19.Final.jar\
:ptrans.properties\
:target/ptrans-0.2.0-SNAPSHOT.jar\
:${HOME}/.m2/repository/org/slf4j/slf4j-log4j12/1.7.7/slf4j-log4j12-1.7.7.jar\
:${HOME}/.m2/repository/org/slf4j/slf4j-api/1.... | <|file_sep|>original/clients/ptranslator/start.sh
#!/bin/sh
java -Djava.net.preferIPv4Stack=true \
-cp ${HOME}/.m2/repository/io/netty/netty-all/4.0.19.Final/netty-all-4.0.19.Final.jar\
:ptrans.properties\
:target/ptrans-0.1.0-SNAPSHOT.jar\
:${HOME}/.m2/repository/org/slf4j/slf4j-log4j12/1.7.7/slf4j-log4j12-1.7.7.j... | 94a610c7561d5420ab92833fd80db622b3ac6fc4 | clients/ptranslator/start.sh | clients/ptranslator/start.sh | Shell |
<|file_sep|>original/.travis.yml
language: python
sudo: false
cache: pip
python: 2.7
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
- TOX_ENV=flake8
install: pip install tox
script:
- tox -e $TOX_ENV
services:
- mongodb
- redis-server
before_script:
# timer is ne... | language: python
python: 2.7
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
- TOX_ENV=flake8
install: pip install tox
script:
- tox -e $TOX_ENV
services:
- mongodb
- redis-server
before_script:
# timer is needed in order to get mongo to properly initialize on tra... | <|file_sep|>original/.travis.yml
language: python
sudo: false
cache: pip
python: 2.7
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
- TOX_ENV=flake8
install: pip install tox
script:
- tox -e $TOX_ENV
services:
- mongodb
- redis-server
before_script:
# timer is ne... | 9e5decb33a72494930751d449d4bc9756f5a336f | .travis.yml | .travis.yml | YAML |
<|file_sep|>faye/config.ru.diff
original:
updated:
<|file_sep|>original/faye/config.ru
require 'faye'
Faye::WebSocket.load_adapter('thin')
bayeux = Faye::RackAdapter.new(:mount => 'faye', :timeout => 50)
run bayeux
<|file_sep|>current/faye/config.ru
require 'faye'
Faye::WebSocket.load_adapter('thin')
bayeux = Fa... | require 'faye'
Faye::WebSocket.load_adapter('thin')
bayeux = Faye::RackAdapter.new(:mount => 'faye', :timeout => 50)
class ServerAuth
def incoming(message, callback)
unless message["channel"] == '/meta/subcribe'
return callback.call(message)
end
subscription = message["subscription"]
msg_token = m... | <|file_sep|>faye/config.ru.diff
original:
updated:
<|file_sep|>original/faye/config.ru
require 'faye'
Faye::WebSocket.load_adapter('thin')
bayeux = Faye::RackAdapter.new(:mount => 'faye', :timeout => 50)
run bayeux
<|file_sep|>current/faye/config.ru
require 'faye'
Faye::WebSocket.load_adapter('thin')
bayeux = Fa... | adf0e5cbec09396510baf593bb1197abf87d5fc6 | faye/config.ru | faye/config.ru | Ruby |
<|file_sep|>original/README.md
Ruumba
======
> .erb or .rb, you're coming with me.
> — RuboCop
## About
Ruumba is [RuboCop's](https://github.com/bbatsov/rubocop) sidekick, allowing you to lint your .erb Rubies as well as your regular-type ones.
## Dependencies
* Ruby 2.2.2+
## Installation
```bash
λ gem install ruu... | Ruumba
======
[](https://travis-ci.org/ericqweinstein/ruumba)
> .erb or .rb, you're coming with me.
> — RuboCop
## About
Ruumba is [RuboCop's](https://github.com/bbatsov/rubocop) sidekick, allowing you to lint your .erb Rubies as well as ... | <|file_sep|>original/README.md
Ruumba
======
> .erb or .rb, you're coming with me.
> — RuboCop
## About
Ruumba is [RuboCop's](https://github.com/bbatsov/rubocop) sidekick, allowing you to lint your .erb Rubies as well as your regular-type ones.
## Dependencies
* Ruby 2.2.2+
## Installation
```bash
λ gem install ruu... | 3fbff087a41246628da97e4dc497bf3b7a3bbb79 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
jobs:
include:
- stage: "Xcode"
name: "Run tests on iOS"
script: xcrun xcodebuild test -destination "platform=iOS Simulator,OS=12.2,name=iPhone X" -workspace "Bond.xcworkspace" -scheme "Bond-iOS"
after_success: 'bash <(curl -s https://codecov.io/bash)'
... | language: swift
osx_image: xcode10.2
jobs:
include:
- stage: "Xcode"
name: "Run tests on iOS"
script: xcrun xcodebuild test -destination "platform=iOS Simulator,OS=12.2,name=iPhone X" -workspace "Bond.xcworkspace" -scheme "Bond-iOS"
after_success: 'bash <(curl -s https://codecov.io/bash... | <|file_sep|>original/.travis.yml
jobs:
include:
- stage: "Xcode"
name: "Run tests on iOS"
script: xcrun xcodebuild test -destination "platform=iOS Simulator,OS=12.2,name=iPhone X" -workspace "Bond.xcworkspace" -scheme "Bond-iOS"
after_success: 'bash <(curl -s https://codecov.io/bash)'
... | d547d4f80052fd506827c88f6acdf1cdf839866c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/v520/Trailer.html
<|file_sep|>current/doc/v520/Trailer.html
<|file_sep|>updated/doc/v520/Trailer.html |
<!--SIGNATURE-->
<br>
<hr>
<center>
<address><a href="http://root.cern.ch/root/Welcome.html">ROOT page</a>
- <a href="http://root.cern.ch/ClassIndex.html">Class index</a> - <a
href="#TopOfPage">Top of the page</a><br>
</address>
</center>
<hr>
</body>
</html>
| <|file_sep|>original/doc/v520/Trailer.html
<|file_sep|>current/doc/v520/Trailer.html
<|file_sep|>updated/doc/v520/Trailer.html
<!--SIGNATURE-->
<br>
<hr>
<center>
<address><a href="http://root.cern.ch/root/Welcome.html">ROOT page</a>
- <a href="http://root.cern.ch/ClassIndex.html">Class index</a> - <a
href="#TopO... | 6b520be0e9517ae4841e2d46b1e5396716767932 | doc/v520/Trailer.html | doc/v520/Trailer.html | HTML |
<|file_sep|>.travis.yml.diff
original:
dist: trusty
updated:
dist: bionic
<|file_sep|>original/.travis.yml
os: linux
dist: trusty
language: java
install: true
jdk:
- openjdk8
- openjdk9
- openjdk10
- openjdk11
- openjdk12
- openjdk13
cache:
directories:
- $HOME/.m2
script: ./mvnw clean verify -U
<|fil... | os: linux
dist: bionic
language: java
install: true
jdk:
- openjdk8
- openjdk9
- openjdk10
- openjdk11
- openjdk12
- openjdk13
- openjdk14
cache:
directories:
- $HOME/.m2
script: ./mvnw clean verify -U | <|file_sep|>.travis.yml.diff
original:
dist: trusty
updated:
dist: bionic
<|file_sep|>original/.travis.yml
os: linux
dist: trusty
language: java
install: true
jdk:
- openjdk8
- openjdk9
- openjdk10
- openjdk11
- openjdk12
- openjdk13
cache:
directories:
- $HOME/.m2
script: ./mvnw clean verify -U
<|fil... | 671d7dbcec6b05ecaf5be39327924fbfbeb37adf | .travis.yml | .travis.yml | YAML |
<|file_sep|>db/migrate/20161019130218_add_style_to_widgets.rb.diff
original:
Sequel.migration do
change do
updated:
require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
<|file_sep|>db/migrate/20161019130218_add_style_to_widgets.rb.diff
original:
updated:
end,
Proc.new... | require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
alter_table :widgets do
add_column :style, :json, null: false, default: '{}'
end
end,
Proc.new do
alter_table :widgets do
drop_column :style
end
end
) | <|file_sep|>db/migrate/20161019130218_add_style_to_widgets.rb.diff
original:
Sequel.migration do
change do
updated:
require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
<|file_sep|>db/migrate/20161019130218_add_style_to_widgets.rb.diff
original:
updated:
end,
Proc.new... | 7b2bd8a9b2c7d0be784b0533f093a5b33050fea1 | db/migrate/20161019130218_add_style_to_widgets.rb | db/migrate/20161019130218_add_style_to_widgets.rb | Ruby |
<|file_sep|>packages/ne/network-multicast.yaml.diff
original:
changelog-type: ''
hash: 7cc2bd715f98ab0d891e8893b60a9a0048b5ae5b804acea96849f4ecf7260ac2
updated:
changelog-type: text
hash: de7fd75a655ffd9cf75b68920a7d5e3bfa9e3f10adcc482d88b8b4d3662d7c0b
<|file_sep|>packages/ne/network-multicast.yaml.diff
original:
chang... | - 0.0.4
- 0.0.5
- 0.0.6
- 0.0.7
- 0.0.8
- 0.0.9
- 0.0.10
- 0.0.11
- 0.0.12
- 0.1.0
- 0.1.1
- 0.1.2
- 0.2.0
- 0.3.0
author: Audrey Tang <audreyt@audreyt.org>
latest: 0.3.0
description-type: haddock
description: |-
The "Network.Multicast" module is for sending
UDP datagrams over multicast (class D) addresses.
license... | <|file_sep|>packages/ne/network-multicast.yaml.diff
original:
changelog-type: ''
hash: 7cc2bd715f98ab0d891e8893b60a9a0048b5ae5b804acea96849f4ecf7260ac2
updated:
changelog-type: text
hash: de7fd75a655ffd9cf75b68920a7d5e3bfa9e3f10adcc482d88b8b4d3662d7c0b
<|file_sep|>packages/ne/network-multicast.yaml.diff
original:
chang... | db8ee8d1678d66d7d1d13a8b6c82b65b43c3194b | packages/ne/network-multicast.yaml | packages/ne/network-multicast.yaml | YAML |
<|file_sep|>original/tools/coverage/golang_coverage.sh
<|file_sep|>current/tools/coverage/golang_coverage.sh
<|file_sep|>updated/tools/coverage/golang_coverage.sh | #!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
set -x
PKG_ROOT=$1
testdirs() {
find -L "${PKG_ROOT}" \
-name \*_test.go -print0 | xargs -0n1 dirname | \
sed "s|^${PKG_ROOT}/|./|" | LC_ALL=C sort -u
}
coverprofile="${PKG_ROOT}"/coverage.out
# Remove any old cover profile so that the run i... | <|file_sep|>original/tools/coverage/golang_coverage.sh
<|file_sep|>current/tools/coverage/golang_coverage.sh
<|file_sep|>updated/tools/coverage/golang_coverage.sh
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
set -x
PKG_ROOT=$1
testdirs() {
find -L "${PKG_ROOT}" \
-name \*_test.go -print0 ... | c64b4eec76c5477544bec64a402365186599c08c | tools/coverage/golang_coverage.sh | tools/coverage/golang_coverage.sh | Shell |
<|file_sep|>original/.github/workflows/packaging.yml
push:
release:
types: [published]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
python-version: [pypy2, pypy3, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set ... | push:
release:
types: [published]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
python-version: [pypy3, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/s... | <|file_sep|>original/.github/workflows/packaging.yml
push:
release:
types: [published]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
python-version: [pypy2, pypy3, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set ... | 93c9f112c450c76dd9389c2ba114f355c37e4d31 | .github/workflows/packaging.yml | .github/workflows/packaging.yml | YAML |
<|file_sep|>src/Illuminate/Mail/Transport/SesTransport.php.diff
original:
updated:
* Transmission options.
*
* @var array
*/
protected $options = [];
/**
<|file_sep|>src/Illuminate/Mail/Transport/SesTransport.php.diff
original:
updated:
* @param array $options
<|file_sep|>src/Illum... | ]
)
);
$message->getHeaders()->addTextHeader('X-SES-Message-ID', $result->get('MessageId'));
$this->sendPerformed($message);
return $this->numberOfRecipients($message);
}
/**
* Get the transmission options being used by the transport.
*
... | <|file_sep|>src/Illuminate/Mail/Transport/SesTransport.php.diff
original:
updated:
* Transmission options.
*
* @var array
*/
protected $options = [];
/**
<|file_sep|>src/Illuminate/Mail/Transport/SesTransport.php.diff
original:
updated:
* @param array $options
<|file_sep|>src/Illum... | e21b17fd277b9a2424ea2b3f727325d1df65c713 | src/Illuminate/Mail/Transport/SesTransport.php | src/Illuminate/Mail/Transport/SesTransport.php | PHP |
<|file_sep|>original/h2o-core/src/main/java/hex/SplitFrame.java
package hex;
import jsr166y.CountedCompleter;
import water.*;
import water.fvec.*;
public class SplitFrame extends Job<SplitFrame> {
public Frame dataset;
public double[] ratios;
public Key[] destKeys;
public SplitFrame(Key<SplitFrame> de... | package hex;
import jsr166y.CountedCompleter;
import water.*;
import water.fvec.*;
public class SplitFrame extends Job<SplitFrame> {
public Frame dataset;
public double[] ratios;
public Key<Frame>[] destKeys;
public SplitFrame(Key<SplitFrame> dest, String desc) { super(dest, desc); }
public SplitFra... | <|file_sep|>original/h2o-core/src/main/java/hex/SplitFrame.java
package hex;
import jsr166y.CountedCompleter;
import water.*;
import water.fvec.*;
public class SplitFrame extends Job<SplitFrame> {
public Frame dataset;
public double[] ratios;
public Key[] destKeys;
public SplitFrame(Key<SplitFrame> de... | d8211df5aede11b216519992e475abbfcf55fdb0 | h2o-core/src/main/java/hex/SplitFrame.java | h2o-core/src/main/java/hex/SplitFrame.java | Java |
<|file_sep|>original/src/routes/ConvertCsv/components/ConvertCsv.js
import React from 'react';
import CsvToSqlForm from './CsvToSqlForm'
export const ConvertCsv = (props) => (
<div className="">
<CsvToSqlForm></CsvToSqlForm>
<div style={{marginTop : '1em'}} className="form-horizontal">
... | import React from 'react';
import CsvToSqlForm from './CsvToSqlForm'
export const ConvertCsv = (props) => (
<div className="">
<CsvToSqlForm></CsvToSqlForm>
<div style={{marginTop : '1em'}} className="form-horizontal">
<div className="form-group">
<label htmlFor="sqlOutp... | <|file_sep|>original/src/routes/ConvertCsv/components/ConvertCsv.js
import React from 'react';
import CsvToSqlForm from './CsvToSqlForm'
export const ConvertCsv = (props) => (
<div className="">
<CsvToSqlForm></CsvToSqlForm>
<div style={{marginTop : '1em'}} className="form-horizontal">
... | 1cbdf386e5ceddd23db2e986fed6f9a7a301d352 | src/routes/ConvertCsv/components/ConvertCsv.js | src/routes/ConvertCsv/components/ConvertCsv.js | JavaScript |
<|file_sep|>original/docs/source/developer_tools.rst
Run DTK development environment in a Docker container
-----------------------------------------------------
To start a container from the DTK pre-built Docker image that is used in the
automated build on Jenkins, run:
.. code:: bash
[host]$ cd docker
[hos... |
Run DTK development environment in a Docker container
-----------------------------------------------------
To start a container from the DTK pre-built Docker image that is used in the
automated build on Jenkins, run:
.. code:: bash
[host]$ cd docker
[host]$ docker-compose pull # pull the most up-to-date ve... | <|file_sep|>original/docs/source/developer_tools.rst
Run DTK development environment in a Docker container
-----------------------------------------------------
To start a container from the DTK pre-built Docker image that is used in the
automated build on Jenkins, run:
.. code:: bash
[host]$ cd docker
[hos... | 69c15ed160664585d3098ffceb972cce59d5b50a | docs/source/developer_tools.rst | docs/source/developer_tools.rst | reStructuredText |
<|file_sep|>original/.travis.yml
dist: trusty
osx_image: xcode8.3
before_install:
- if [ $TRAVIS_OS_NAME == "osx" ]; then
brew tap vapor/tap;
brew update;
brew install vapor;
else
eval "$(curl -sL https://apt.vapor.sh)";
sudo apt-get install vapor... | brew tap vapor/tap;
brew update;
brew install vapor;
else
eval "$(curl -sL https://apt.vapor.sh)";
sudo apt-get install vapor;
sudo chmod -R a+rx /usr/;
fi
script:
- swift build
- swift build -c release
- swift test
af... | <|file_sep|>original/.travis.yml
dist: trusty
osx_image: xcode8.3
before_install:
- if [ $TRAVIS_OS_NAME == "osx" ]; then
brew tap vapor/tap;
brew update;
brew install vapor;
else
eval "$(curl -sL https://apt.vapor.sh)";
sudo apt-get install vapor... | 95ef06471fdd7a45c64eb85030f45b140e4599a8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
pymatgen==2021.2.8.1
pandas==1.2.2
tensorflow==2.4.1
numpy==1.19.5
monty==4.0.2
<|file_sep|>current/requirements.txt
pymatgen==2021.2.8.1
pandas==1.2.2
tensorflow==2.4.1
numpy==1.19.5
monty==4.0.2
<|file_sep|>updated/requirements.txt | pymatgen==2021.2.8.1
pandas==1.2.3
tensorflow==2.4.1
numpy==1.19.5
monty==4.0.2 | <|file_sep|>original/requirements.txt
pymatgen==2021.2.8.1
pandas==1.2.2
tensorflow==2.4.1
numpy==1.19.5
monty==4.0.2
<|file_sep|>current/requirements.txt
pymatgen==2021.2.8.1
pandas==1.2.2
tensorflow==2.4.1
numpy==1.19.5
monty==4.0.2
<|file_sep|>updated/requirements.txt
pymatgen==2021.2.8.1
pandas==1.2.3
tensorflow==2... | 493264f369e4179e85a5a2057e08691217e26c83 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/settings.py
"""
Setup the production configuration for the flask app.
Args:
Config (object): Inherit the default shared configuration settings.
"""
ENV = 'prod'
DEBUG = False
heroku = os.environ.get('DATABASE_URL')
if heroku:
SQLALCHEMY_DATABASE_URI ... | """
Setup the production configuration for the flask app.
Args:
Config (object): Inherit the default shared configuration settings.
"""
ENV = 'prod'
DEBUG = False
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL',
'postgresql://loca... | <|file_sep|>original/settings.py
"""
Setup the production configuration for the flask app.
Args:
Config (object): Inherit the default shared configuration settings.
"""
ENV = 'prod'
DEBUG = False
heroku = os.environ.get('DATABASE_URL')
if heroku:
SQLALCHEMY_DATABASE_URI ... | f5c8c9909a8b7288503f1ed3dcd87c5e59d3817c | settings.py | settings.py | Python |
<|file_sep|>README.md.diff
original:
reach out to [cloud-robotics-discuss@googlegroups.com](mailto:cloud-robotics-discuss@googlegroups.com)
updated:
reach out to [cloud-robotics-discuss@googlegroups.com](https://groups.google.com/forum/#!forum/cloud-robotics-discuss)
<|file_sep|>original/README.md
* packaging and distr... |
* packaging and distribution of applications
* secure, bidirectional robot-cloud communication
* easy access to Google Cloud services such as ML, logging, and monitoring.
Cloud Robotics Core is open source and pre-alpha. Support is currently limited
to a small set of early access partners. We will gladly accept contr... | <|file_sep|>README.md.diff
original:
reach out to [cloud-robotics-discuss@googlegroups.com](mailto:cloud-robotics-discuss@googlegroups.com)
updated:
reach out to [cloud-robotics-discuss@googlegroups.com](https://groups.google.com/forum/#!forum/cloud-robotics-discuss)
<|file_sep|>original/README.md
* packaging and distr... | 64284a7e7eba0413fd9ccc06f8503efb826d3d7b | README.md | README.md | Markdown |
<|file_sep|>components/scifio/cppwrap/build.sh.diff
original:
updated:
# find Maven v2 executable
VER=`mvn -v | head -1 | sed -e 's/Apache Maven //' | sed 's/\..*//'`
if [ "$VER" == "2" ]
then
MVN="mvn"
else
VER=`mvn2 -v | head -1 | sed -e 's/Apache Maven //' | sed 's/\..*//'`
if [ "$VER" == "2" ]
then
MV... | then
MVN="mvn"
else
VER=`mvn2 -v | head -1 | sed -e 's/Apache Maven //' | sed 's/\..*//'`
if [ "$VER" == "2" ]
then
MVN="mvn2"
else
echo "Maven v2.x is required to build."
exit 1
fi
fi
set -ex
$MVN -DskipTests clean package cppwrap:wrap dependency:copy-dependencies
cd target/cppwrap
mkdir -p bu... | <|file_sep|>components/scifio/cppwrap/build.sh.diff
original:
updated:
# find Maven v2 executable
VER=`mvn -v | head -1 | sed -e 's/Apache Maven //' | sed 's/\..*//'`
if [ "$VER" == "2" ]
then
MVN="mvn"
else
VER=`mvn2 -v | head -1 | sed -e 's/Apache Maven //' | sed 's/\..*//'`
if [ "$VER" == "2" ]
then
MV... | 43a2e68f62269d136e743b9878bcdf362924d4eb | components/scifio/cppwrap/build.sh | components/scifio/cppwrap/build.sh | Shell |
<|file_sep|>original/requirements.txt
astunparse==1.5.0
attrs==17.4.0
blinker==1.4
certifi==2018.1.18
chardet==3.0.4
decorator==4.2.1
docutils==0.14
idna==2.6
Cython==0.25.2
networkx==2.1
numpy==1.14.0
pluggy==0.6.0
py==1.5.2
Pygments==2.2.0
pytest==3.3.2
requests==2.18.4
six==1.11.0
SQLAlchemy==1.2.2
u-msgpack-python=... | astunparse==1.5.0
attrs==17.4.0
blinker==1.4
certifi==2018.1.18
chardet==3.0.4
decorator==4.2.1
docutils==0.14
idna==2.6
Cython==0.27.3
networkx==2.1
numpy==1.14.0
pluggy==0.6.0
py==1.5.2
Pygments==2.2.0
pytest==3.3.2
requests==2.18.4
six==1.11.0
SQLAlchemy==1.2.2
u-msgpack-python==2.4.1
urllib3==1.22 | <|file_sep|>original/requirements.txt
astunparse==1.5.0
attrs==17.4.0
blinker==1.4
certifi==2018.1.18
chardet==3.0.4
decorator==4.2.1
docutils==0.14
idna==2.6
Cython==0.25.2
networkx==2.1
numpy==1.14.0
pluggy==0.6.0
py==1.5.2
Pygments==2.2.0
pytest==3.3.2
requests==2.18.4
six==1.11.0
SQLAlchemy==1.2.2
u-msgpack-python=... | 63047ae1d10f47c362c6951f38c0e164d0023c94 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/Popup.css
--padding-side: 12px;
--image-width: 50px;
--image-margin: 7px;
}
.popup {
width: var(--popup-width);
height: var(--popup-height);
border-top: 1px solid transparent;
box-sizing: border-box;
}
.popup-tiny {
height: calc(var(--popup-tiny-height) - var(--header-height)... | --padding-side: 12px;
--image-width: 50px;
--image-margin: 7px;
}
.popup {
width: var(--popup-width);
height: var(--popup-height);
border-top: 1px solid transparent;
box-sizing: border-box;
overflow-x: scroll;
overflow-y: hidden;
}
.popup-tiny {
height: calc(var(--popup-tiny-height) - var(--heade... | <|file_sep|>original/app/Popup.css
--padding-side: 12px;
--image-width: 50px;
--image-margin: 7px;
}
.popup {
width: var(--popup-width);
height: var(--popup-height);
border-top: 1px solid transparent;
box-sizing: border-box;
}
.popup-tiny {
height: calc(var(--popup-tiny-height) - var(--header-height)... | 0b72736d0e116ac3348249108279b4345a6b9a67 | app/Popup.css | app/Popup.css | CSS |
<|file_sep|>original/requirements-test.txt
# Testing
coverage==5.1 # Test coverage
flake8==3.7.9 # Python linting
mypy==0.770 # Type checking
<|file_sep|>current/requirements-test.txt
# Testing
coverage==5.1 # Test coverage
flake8==3.7.9 ... | # Testing
coverage==5.1 # Test coverage
flake8==3.8.2 # Python linting
mypy==0.770 # Type checking | <|file_sep|>original/requirements-test.txt
# Testing
coverage==5.1 # Test coverage
flake8==3.7.9 # Python linting
mypy==0.770 # Type checking
<|file_sep|>current/requirements-test.txt
# Testing
coverage==5.1 # Test coverage
flake8==3.7.9 ... | 64c097959a8b2495d53287bdd690a50abd2cb733 | requirements-test.txt | requirements-test.txt | Text |
<|file_sep|>test/Parser/pointer_promotion.c.diff
original:
int test() {
updated:
void test() {
<|file_sep|>original/test/Parser/pointer_promotion.c
// RUN: clang-cc -fsyntax-only -verify %s
int test() {
void *vp;
int *ip;
char *cp;
struct foo *fp;
struct bar *bp;
short sint = 7;
if (ip < cp) {} // expec... | // RUN: clang-cc -fsyntax-only -verify %s
void test() {
void *vp;
int *ip;
char *cp;
struct foo *fp;
struct bar *bp;
short sint = 7;
if (ip < cp) {} // expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}}
if (cp < fp) {} // expected-warning {{comparison of distinct pointer ... | <|file_sep|>test/Parser/pointer_promotion.c.diff
original:
int test() {
updated:
void test() {
<|file_sep|>original/test/Parser/pointer_promotion.c
// RUN: clang-cc -fsyntax-only -verify %s
int test() {
void *vp;
int *ip;
char *cp;
struct foo *fp;
struct bar *bp;
short sint = 7;
if (ip < cp) {} // expec... | 527e5429989782aef5411a18bf01cc9b4170fde1 | test/Parser/pointer_promotion.c | test/Parser/pointer_promotion.c | C |
<|file_sep|>original/app/templates/_package.json
"babel-core": "^5.5.6",
"browser-sync": "^2.2.1",
"del": "^1.1.1",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^3.0.1",
"gulp-cache": "^0.2.8",
"gulp-eslint": "^0.13.2",
"gulp-if": "^1.2.5",
"gulp-imagemin": "^2.2.1",
"gulp-load-plugin... | "babel-core": "^5.5.6",
"browser-sync": "^2.2.1",
"del": "^1.1.1",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^3.0.1",
"gulp-cache": "^0.2.8",
"gulp-eslint": "^0.13.2",
"gulp-if": "^1.2.5",
"gulp-imagemin": "^2.2.1",
"gulp-load-plugins": "^0.10.0",
"gulp-minify-css": "^1.2.1",
... | <|file_sep|>original/app/templates/_package.json
"babel-core": "^5.5.6",
"browser-sync": "^2.2.1",
"del": "^1.1.1",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^3.0.1",
"gulp-cache": "^0.2.8",
"gulp-eslint": "^0.13.2",
"gulp-if": "^1.2.5",
"gulp-imagemin": "^2.2.1",
"gulp-load-plugin... | cc57f5fc23078814ff86ce237aec63396d058b25 | app/templates/_package.json | app/templates/_package.json | JSON |
<|file_sep|>original/programming/ruby/design/rails-architecture/component-based-architectures-in-ruby-and-rails.md
<|file_sep|>current/programming/ruby/design/rails-architecture/component-based-architectures-in-ruby-and-rails.md
<|file_sep|>updated/programming/ruby/design/rails-architecture/component-based-architectu... | # Component-based Architectures in Ruby and Rails
[link](http://www.confreaks.com/videos/2350-mwrc2013-component-based-architectures-in-ruby-and-rails)
Rails doesn't have a namespace, and gems have a namespace. Try namespacing everything next time. *Give yourself a box so you can start thinking outside of it. At least... | <|file_sep|>original/programming/ruby/design/rails-architecture/component-based-architectures-in-ruby-and-rails.md
<|file_sep|>current/programming/ruby/design/rails-architecture/component-based-architectures-in-ruby-and-rails.md
<|file_sep|>updated/programming/ruby/design/rails-architecture/component-based-architectu... | 1b8520c0144607ff11d0bfaf569d4f2dfac229d3 | programming/ruby/design/rails-architecture/component-based-architectures-in-ruby-and-rails.md | programming/ruby/design/rails-architecture/component-based-architectures-in-ruby-and-rails.md | Markdown |
<|file_sep|>exports/atom.coffee.diff
original:
{includeDeprecatedAPIs, deprecate} = require 'grim'
updated:
<|file_sep|>original/exports/atom.coffee
BufferedProcess: require '../src/buffered-process'
GitRepository: require '../src/git-repository'
Notification: require '../src/notification'
TextBuffer: TextBuff... | {Emitter, Disposable, CompositeDisposable} = require 'event-kit'
module.exports =
BufferedNodeProcess: require '../src/buffered-node-process'
BufferedProcess: require '../src/buffered-process'
GitRepository: require '../src/git-repository'
Notification: require '../src/notification'
TextBuffer: TextBuffer
... | <|file_sep|>exports/atom.coffee.diff
original:
{includeDeprecatedAPIs, deprecate} = require 'grim'
updated:
<|file_sep|>original/exports/atom.coffee
BufferedProcess: require '../src/buffered-process'
GitRepository: require '../src/git-repository'
Notification: require '../src/notification'
TextBuffer: TextBuff... | dbc92702aec9db914ddb7f0e348540d768182962 | exports/atom.coffee | exports/atom.coffee | CoffeeScript |
<|file_sep|>original/setup.cfg
[bdist_wheel]
universal = 1
[aliases]
test = pytest
<|file_sep|>current/setup.cfg
[bdist_wheel]
universal = 1
[aliases]
test = pytest
<|file_sep|>updated/setup.cfg | [bdist_wheel]
universal = 1
[metadata]
license_file = LICENSE
[aliases]
test = pytest | <|file_sep|>original/setup.cfg
[bdist_wheel]
universal = 1
[aliases]
test = pytest
<|file_sep|>current/setup.cfg
[bdist_wheel]
universal = 1
[aliases]
test = pytest
<|file_sep|>updated/setup.cfg
[bdist_wheel]
universal = 1
[metadata]
license_file = LICENSE
[aliases]
test = pytest | 6e3d15e35e8568ce18536ecc1ba859188bccabbe | setup.cfg | setup.cfg | INI |
<|file_sep|>using-java/src/main/java/com/euler/Config.java.diff
original:
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
updated:
<|file_sep|>using-java/src/main/java/com/euler/Config.java.diff
original:
private static interface ProblemLoader {
public Problem load();
}
... |
public Map<String,Problem> getProblems() {
Map<String,Problem> result = new TreeMap<>();
for (int i = 0; i < args.length; ++i) {
String key = args[i];
result.put(key, loadProblem(key));
}
return result;
}
private Problem loadProblem(String key) {
... | <|file_sep|>using-java/src/main/java/com/euler/Config.java.diff
original:
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
updated:
<|file_sep|>using-java/src/main/java/com/euler/Config.java.diff
original:
private static interface ProblemLoader {
public Problem load();
}
... | 0a21982e7a91d325142573a3df24a896bd04492f | using-java/src/main/java/com/euler/Config.java | using-java/src/main/java/com/euler/Config.java | Java |
<|file_sep|>keps/sig-release/0000-anago-to-krel-migration/kep.yaml.diff
original:
- @justaugustus
updated:
- "@justaugustus"
<|file_sep|>original/keps/sig-release/0000-anago-to-krel-migration/kep.yaml
title: Anago to Krel Migration
authors:
- "@saschagrunert"
owning-sig: sig-release
reviewers:
- @justaugustus
a... | title: Anago to Krel Migration
authors:
- "@saschagrunert"
owning-sig: sig-release
reviewers:
- "@justaugustus"
approvers:
- "@justaugustus"
creation-date: 2020-09-22
status: implementable | <|file_sep|>keps/sig-release/0000-anago-to-krel-migration/kep.yaml.diff
original:
- @justaugustus
updated:
- "@justaugustus"
<|file_sep|>original/keps/sig-release/0000-anago-to-krel-migration/kep.yaml
title: Anago to Krel Migration
authors:
- "@saschagrunert"
owning-sig: sig-release
reviewers:
- @justaugustus
a... | 7aa4f366515629a78a1812683e559a49216bc5a5 | keps/sig-release/0000-anago-to-krel-migration/kep.yaml | keps/sig-release/0000-anago-to-krel-migration/kep.yaml | YAML |
<|file_sep|>original/java/ctci_find_the_running_median.java
<|file_sep|>current/java/ctci_find_the_running_median.java
<|file_sep|>updated/java/ctci_find_the_running_median.java | import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
class MedianHeap {
public PriorityQueue<Integer> minHeap;
public PriorityQueue<Integer> maxHeap;
public MedianHeap(int capacity) {
this.minHeap = new PriorityQueue(capacity);
this.maxHe... | <|file_sep|>original/java/ctci_find_the_running_median.java
<|file_sep|>current/java/ctci_find_the_running_median.java
<|file_sep|>updated/java/ctci_find_the_running_median.java
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
class MedianHeap {
public Prio... | 956ee37130b6692ac83986a88add1fdd0a70b395 | java/ctci_find_the_running_median.java | java/ctci_find_the_running_median.java | Java |
<|file_sep|>original/zsh/aliases.zsh
alias reload!='. ~/.zshrc'
alias genocide='killall'
# setup gnu utils, if available
if [[ -d /usr/local/opt/coreutils/libexec/gnubin ]] ; then
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
unalias l... | alias reload!='. ~/.zshrc'
alias genocide='killall'
# setup gnu utils, if available
if [[ -d /usr/local/opt/coreutils/libexec/gnubin ]] ; then
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
unalias ls
alias ls="ls --color"
eval `dirco... | <|file_sep|>original/zsh/aliases.zsh
alias reload!='. ~/.zshrc'
alias genocide='killall'
# setup gnu utils, if available
if [[ -d /usr/local/opt/coreutils/libexec/gnubin ]] ; then
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
unalias l... | d15ce0976b09edcd22db67d32b26dc0230723de2 | zsh/aliases.zsh | zsh/aliases.zsh | Shell |
<|file_sep|>README.md.diff
original:
docker-registry
updated:
docker-registry [](https://drone.io/github.com/dockboard/docker-registry/latest)
<|file_sep|>original/README.md
docker-registry
===============
The [docker-registry](https://gi... | docker-registry [](https://drone.io/github.com/dockboard/docker-registry/latest)
===============
The [docker-registry](https://github.com/dockboard/docker-registry) is a [Golang](http://golang.org) version with [Beego](http://beego.me) an... | <|file_sep|>README.md.diff
original:
docker-registry
updated:
docker-registry [](https://drone.io/github.com/dockboard/docker-registry/latest)
<|file_sep|>original/README.md
docker-registry
===============
The [docker-registry](https://gi... | fc36df902e27b37ffc41be9489e37e3d9adda53c | README.md | README.md | Markdown |
<|file_sep|>original/site/.forestry/settings.yml
---
upload_path: "/site/static/uploads/:year:/:month:/:day:"
frontmatter_file_url_template: "/uploads/:year:/:month:/:day:"
body_file_url_template: "/uploads/:year:/:month:/:day:"
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
version: 0.... | ---
upload_path: "/site/static/uploads/:year:/:month:/:day:"
frontmatter_file_url_template: "/uploads/:year:/:month:/:day:"
body_file_url_template: "/uploads/:year:/:month:/:day:"
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
sections:
version: 0.31.1 | <|file_sep|>original/site/.forestry/settings.yml
---
upload_path: "/site/static/uploads/:year:/:month:/:day:"
frontmatter_file_url_template: "/uploads/:year:/:month:/:day:"
body_file_url_template: "/uploads/:year:/:month:/:day:"
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
version: 0.... | 651f7f21b0121da521f690728c7b1ac302ef70b4 | site/.forestry/settings.yml | site/.forestry/settings.yml | YAML |
<|file_sep|>original/test/organizerdetails_test.js
<|file_sep|>current/test/organizerdetails_test.js
<|file_sep|>updated/test/organizerdetails_test.js |
var assert = require('assert');
var expect = require('expect.js');
var config = require('./fixture.json' );
describe("Basic details endpoints", function(){
it("should respond with simple message", function(done){
var flex = require("../")(config);
flex.organizerdetails(function(err, res){
... | <|file_sep|>original/test/organizerdetails_test.js
<|file_sep|>current/test/organizerdetails_test.js
<|file_sep|>updated/test/organizerdetails_test.js
var assert = require('assert');
var expect = require('expect.js');
var config = require('./fixture.json' );
describe("Basic details endpoints", function(){
it("... | ab046b9447830558fa98a9d7ad3f5b49624b2917 | test/organizerdetails_test.js | test/organizerdetails_test.js | JavaScript |
<|file_sep|>original/email_parser/gui/Readme.md
<|file_sep|>current/email_parser/gui/Readme.md
<|file_sep|>updated/email_parser/gui/Readme.md | # ks-email-parser gui
This is an extension module to `ks-email-parser` that allows editing emails using a web frontend. The user may create
new emails based on existing HTML templates, or edit existing emails in the Android XML format. Emails are read from
and written to the local hard drive where the application is... | <|file_sep|>original/email_parser/gui/Readme.md
<|file_sep|>current/email_parser/gui/Readme.md
<|file_sep|>updated/email_parser/gui/Readme.md
# ks-email-parser gui
This is an extension module to `ks-email-parser` that allows editing emails using a web frontend. The user may create
new emails based on existing HTML ... | f633f991b98a85049d1f25b434dd9114366f1545 | email_parser/gui/Readme.md | email_parser/gui/Readme.md | Markdown |
<|file_sep|>original/requirements_test.txt
click==6.7
Sphinx==1.5.5
sphinx-rtd-theme==0.2.4
jinja2==2.9.6
pip==9.0.1
wheel==0.29.0
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
pytest==3.0.7
pytest-cov==2.5.0
pytest-runner==2.11.1
<|file_sep|>current/requirements_test.txt
click==6.7
Sphinx==1.5.5
sphinx-rtd-theme==0.2.4
jin... | click==6.7
Sphinx==1.6.1
sphinx-rtd-theme==0.2.4
jinja2==2.9.6
pip==9.0.1
wheel==0.29.0
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
pytest==3.0.7
pytest-cov==2.5.0
pytest-runner==2.11.1 | <|file_sep|>original/requirements_test.txt
click==6.7
Sphinx==1.5.5
sphinx-rtd-theme==0.2.4
jinja2==2.9.6
pip==9.0.1
wheel==0.29.0
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
pytest==3.0.7
pytest-cov==2.5.0
pytest-runner==2.11.1
<|file_sep|>current/requirements_test.txt
click==6.7
Sphinx==1.5.5
sphinx-rtd-theme==0.2.4
jin... | 91fb2fb6e6849592f772754e3775388044de7442 | requirements_test.txt | requirements_test.txt | Text |
<|file_sep|>original/scripts/Check-Service.ps1
<|file_sep|>current/scripts/Check-Service.ps1
<|file_sep|>updated/scripts/Check-Service.ps1 | <#
.SYNOPSIS
Monitors a Window's Service and indicates if it is running.
.EXAMPLE
PS > Check-Service
Gets the number of handles allocated by all the processes running on the host.
#>
param(ServiceName)
$service = Get-Service -Name $ServiceName
if ($service.Status -ne "Started") {
Write-Host "BOUNDARY_WINDOW... | <|file_sep|>original/scripts/Check-Service.ps1
<|file_sep|>current/scripts/Check-Service.ps1
<|file_sep|>updated/scripts/Check-Service.ps1
<#
.SYNOPSIS
Monitors a Window's Service and indicates if it is running.
.EXAMPLE
PS > Check-Service
Gets the number of handles allocated by all the processes running on the ... | baa5665dcc6790b3f619cb03dca53cd8db2a7a52 | scripts/Check-Service.ps1 | scripts/Check-Service.ps1 | PowerShell |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- v6
- v5
- v4
- '0.12'
- '0.10'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- v6
- v5
- v4
- '0.12'
- '0.10'
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- v6
- v5
- v4 | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- v6
- v5
- v4
- '0.12'
- '0.10'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- v6
- v5
- v4
- '0.12'
- '0.10'
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- v6
- v5
- v4 | 1f52b04708b7cccd739e340cbbae95567b4ffe13 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/packages/lz/lzo.yaml
## 0.1.0.0
Initial release
basic-deps:
bytestring: -any
digest-pure: -any
base: '>=4.9 && <5'
binary: -any
all-versions:
- 0.1.0.0
- 0.1.1.0
author: Vanessa McHale
latest: 0.1.1.0
description-type: markdown
description: |
# lzo
This bundles [minilzo](http://w... |
## 0.1.0.0
Initial release
basic-deps:
bytestring: -any
digest-pure: -any
base: '>=4.9 && <5'
binary: -any
all-versions:
- 0.1.1.0
author: Vanessa McHale
latest: 0.1.1.0
description-type: markdown
description: |
# lzo
This bundles [minilzo](http://www.oberhumer.com/opensource/lzo/#minilzo) and
henc... | <|file_sep|>original/packages/lz/lzo.yaml
## 0.1.0.0
Initial release
basic-deps:
bytestring: -any
digest-pure: -any
base: '>=4.9 && <5'
binary: -any
all-versions:
- 0.1.0.0
- 0.1.1.0
author: Vanessa McHale
latest: 0.1.1.0
description-type: markdown
description: |
# lzo
This bundles [minilzo](http://w... | 6b9ba994a7417c400b09a8e0a2d78bb07e74e4d7 | packages/lz/lzo.yaml | packages/lz/lzo.yaml | YAML |
<|file_sep|>original/.travis.yml
language: ruby
branches:
only:
- develop
- master
rvm:
- 1.8.7
before_install:
- gem install rubygems-update --version=1.6.2
- gem update --system 1.6.2
- gem install rake --version=0.9.2.2
- git submodule update --init --recursive
- psql -c "create database foi_te... | language: ruby
branches:
only:
- develop
- master
rvm:
- 1.8.7
- 1.9.3
before_install:
- gem install rubygems-update --version=1.6.2
- gem update --system 1.6.2
- gem install rake --version=0.9.2.2
- git submodule update --init --recursive
- psql -c "create database foi_test template template0 e... | <|file_sep|>original/.travis.yml
language: ruby
branches:
only:
- develop
- master
rvm:
- 1.8.7
before_install:
- gem install rubygems-update --version=1.6.2
- gem update --system 1.6.2
- gem install rake --version=0.9.2.2
- git submodule update --init --recursive
- psql -c "create database foi_te... | cf5a9dc508466bd7d4759b00dbe2eed3467f88ee | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/client/src/actions/common.js
export function resetErrorMessage() {
return {
type: 'RESET_ERROR_MESSAGE'
}
}
<|file_sep|>current/client/src/actions/common.js
export function resetErrorMessage() {
return {
type: 'RESET_ERROR_MESSAGE'
}
}
<|file_sep|>updated/client/src/actions/common.j... | export function resetErrorMessage() {
return (dispatch, getState) => {
const { errorMessage } = getState()
if (typeof errorMessage === 'string') {
dispatch({
type: 'RESET_ERROR_MESSAGE'
})
}
}
} | <|file_sep|>original/client/src/actions/common.js
export function resetErrorMessage() {
return {
type: 'RESET_ERROR_MESSAGE'
}
}
<|file_sep|>current/client/src/actions/common.js
export function resetErrorMessage() {
return {
type: 'RESET_ERROR_MESSAGE'
}
}
<|file_sep|>updated/client/src/actions/common.j... | 03d9757dcf667fd46f97d0bfc816815c3a21193d | client/src/actions/common.js | client/src/actions/common.js | JavaScript |
<|file_sep|>original/locales/seattle/librenms.py
librenms = json.loads(
urllib2.urlopen(urllib2.Request(
'https://librenms.hamwan.org/api/v0/devices',
headers={'X-Auth-Token': '600dc6857a6e2bf200b46e56b78c0049'},
)).read()
)
inventory = {
"_meta": {
"hostvars": {}
}
}
for key i... | librenms = json.loads(
urllib2.urlopen(urllib2.Request(
'https://librenms.hamwan.org/api/v0/devices',
headers={'X-Auth-Token': '600dc6857a6e2bf200b46e56b78c0049'},
)).read()
)
inventory = {
"_meta": {
"hostvars": {}
},
"all": [device['hostname'] for device in librenms['devic... | <|file_sep|>original/locales/seattle/librenms.py
librenms = json.loads(
urllib2.urlopen(urllib2.Request(
'https://librenms.hamwan.org/api/v0/devices',
headers={'X-Auth-Token': '600dc6857a6e2bf200b46e56b78c0049'},
)).read()
)
inventory = {
"_meta": {
"hostvars": {}
}
}
for key i... | b7a80f92b4e2e7227efe5712e512f5a75bc4e67c | locales/seattle/librenms.py | locales/seattle/librenms.py | Python |
<|file_sep|>original/requirements.txt
django-compressor==2.1.1
django-debug-toolbar==1.8
django-imagekit==4.0.1
django-querycount==0.6.0
freezegun==0.3.9
funcy==1.8
olefile==0.44
packaging==16.8
pilkit==2.0
Pillow==4.2.1
psycopg2==2.7.1
pyparsing==2.2.0
python-dateutil==2.6.1
pytz==2017.2
raven==6.1.0
rcssmin==1.0.6
re... | django-compressor==2.1.1
django-debug-toolbar==1.8
django-imagekit==4.0.1
django-querycount==0.6.0
freezegun==0.3.9
funcy==1.8
olefile==0.44
packaging==16.8
pilkit==2.0
Pillow==4.2.1
psycopg2==2.7.2
pyparsing==2.2.0
python-dateutil==2.6.1
pytz==2017.2
raven==6.1.0
rcssmin==1.0.6
redis==2.10.5
rjsmin==1.0.12
six==1.10.0... | <|file_sep|>original/requirements.txt
django-compressor==2.1.1
django-debug-toolbar==1.8
django-imagekit==4.0.1
django-querycount==0.6.0
freezegun==0.3.9
funcy==1.8
olefile==0.44
packaging==16.8
pilkit==2.0
Pillow==4.2.1
psycopg2==2.7.1
pyparsing==2.2.0
python-dateutil==2.6.1
pytz==2017.2
raven==6.1.0
rcssmin==1.0.6
re... | 9d35e076dbe39087ce0c425554ceef0051281dbd | requirements.txt | requirements.txt | Text |
<|file_sep|>original/view.sh
<|file_sep|>current/view.sh
<|file_sep|>updated/view.sh | #!/bin/bash
HUGO_HOME=~/Software/hugo_extended_0.59.1_Linux-64bit/
$HUGO_HOME/hugo --i18n-warnings server --watch | <|file_sep|>original/view.sh
<|file_sep|>current/view.sh
<|file_sep|>updated/view.sh
#!/bin/bash
HUGO_HOME=~/Software/hugo_extended_0.59.1_Linux-64bit/
$HUGO_HOME/hugo --i18n-warnings server --watch | 3933bc361f2647de4af07ba1ac67404627151f25 | view.sh | view.sh | Shell |
<|file_sep|>src/Coders/Model/Relations/HasMany.php.diff
original:
if ($this->parent->usesSnakeAttributes()) {
return Str::snake(Str::plural(Str::singular($this->related->getTable(true))));
updated:
$relationBaseName = Str::plural(Str::singular($this->related->getTable(true)));
switc... | $relationName .= "_{$suffix}";
}
break;
case 'related':
default:
$relationName = $relationBaseName;
break;
}
if ($this->parent->usesSnakeAttributes()) {
return Str::snake($relationNa... | <|file_sep|>src/Coders/Model/Relations/HasMany.php.diff
original:
if ($this->parent->usesSnakeAttributes()) {
return Str::snake(Str::plural(Str::singular($this->related->getTable(true))));
updated:
$relationBaseName = Str::plural(Str::singular($this->related->getTable(true)));
switc... | 7fe9efcbffe5b61d3c8c6b964b0d100c8db8d3c5 | src/Coders/Model/Relations/HasMany.php | src/Coders/Model/Relations/HasMany.php | PHP |
<|file_sep|>original/mutation/mutation_results.py
<|file_sep|>current/mutation/mutation_results.py
<|file_sep|>updated/mutation/mutation_results.py | import matplotlib.pyplot as plt
import numpy
class Result:
def __init__(self, mut_type, schemes, results):
self.mut_type = mut_type
self.schemes = schemes
self.results = results
def __repr__(self):
return "result - " + str(self.mut_type) + "-" + str(self.results)
class Mutati... | <|file_sep|>original/mutation/mutation_results.py
<|file_sep|>current/mutation/mutation_results.py
<|file_sep|>updated/mutation/mutation_results.py
import matplotlib.pyplot as plt
import numpy
class Result:
def __init__(self, mut_type, schemes, results):
self.mut_type = mut_type
self.schemes = s... | fefd4db49bf5590a1d95eb59ae6de9a63131f5ef | mutation/mutation_results.py | mutation/mutation_results.py | Python |
<|file_sep|>original/communities/madrid.json
<|file_sep|>current/communities/madrid.json
<|file_sep|>updated/communities/madrid.json | {
"name": "Software Crafters Madrid",
"url": "https://www.meetup.com/madswcraft/",
"location": {
"city": "Madrid, Spain",
"coordinates": [-3.703242366972347,40.416792424159496]
}
} | <|file_sep|>original/communities/madrid.json
<|file_sep|>current/communities/madrid.json
<|file_sep|>updated/communities/madrid.json
{
"name": "Software Crafters Madrid",
"url": "https://www.meetup.com/madswcraft/",
"location": {
"city": "Madrid, Spain",
"coordinates": [-3.703242366972347,40.41679242415... | cb8409c2e375697669df1c8717eb27cc578a223a | communities/madrid.json | communities/madrid.json | JSON |
<|file_sep|>original/README.md
# App
Official app for DotNetRu
<|file_sep|>current/README.md
# App
Official app for DotNetRu
<|file_sep|>updated/README.md | # DotNetRu App
Official cross-platform mobile app for DotNetRu
| Branches | Android | iOS |
|:-------------:|:-------------:|:-----:|
| develop | [](https://mobile.azure.com) | [ for marriages in Commonwealth countries. The British High Commission in Pretoria or the Consulate General in Ca... |
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need.
^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr... | <|file_sep|>lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/third_country/partner_british/_same_sex.govspeak.erb.diff
original:
The UK doesn’t issue certificates of no impediment (CNIs) for marriages in Commonwealth countries. The British High Commission in Pretoria or the Consulate General in Ca... | 6a83c2f3ba749b6511f0005411ffd1516503d9f9 | lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/third_country/partner_british/_same_sex.govspeak.erb | lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/third_country/partner_british/_same_sex.govspeak.erb | HTML+ERB |
<|file_sep|>Content.Shared/Utility/TemperatureHelpers.cs.diff
original:
updated:
public static float CelsiusToFahrenheit(float celsius)
{
return celsius * 9 / 5 + 32;
}
<|file_sep|>original/Content.Shared/Utility/TemperatureHelpers.cs
using Content.Shared.Maths;
namespace Content... |
public static float CelsiusToFahrenheit(float celsius)
{
return celsius * 9 / 5 + 32;
}
public static float KelvinToCelsius(float kelvin)
{
return kelvin - PhysicalConstants.ZERO_CELCIUS;
}
public static float KelvinToFahrenheit(float ke... | <|file_sep|>Content.Shared/Utility/TemperatureHelpers.cs.diff
original:
updated:
public static float CelsiusToFahrenheit(float celsius)
{
return celsius * 9 / 5 + 32;
}
<|file_sep|>original/Content.Shared/Utility/TemperatureHelpers.cs
using Content.Shared.Maths;
namespace Content... | 8afeb4d0943688ac267679c10e6c744e167275b2 | Content.Shared/Utility/TemperatureHelpers.cs | Content.Shared/Utility/TemperatureHelpers.cs | C# |
<|file_sep|>original/src/butterseal/src/edu/smcm/gamedev/butterseal/BSUtil.java
<|file_sep|>current/src/butterseal/src/edu/smcm/gamedev/butterseal/BSUtil.java
<|file_sep|>updated/src/butterseal/src/edu/smcm/gamedev/butterseal/BSUtil.java | package edu.smcm.gamedev.butterseal;
import java.util.Map;
public class BSUtil {
/**
* Iterate through the properties we were given.
* First check if the map contains the key.
* If it does (cf. short-circuiting),
* then see if it equals the value we were given.
*
* @param map A prope... | <|file_sep|>original/src/butterseal/src/edu/smcm/gamedev/butterseal/BSUtil.java
<|file_sep|>current/src/butterseal/src/edu/smcm/gamedev/butterseal/BSUtil.java
<|file_sep|>updated/src/butterseal/src/edu/smcm/gamedev/butterseal/BSUtil.java
package edu.smcm.gamedev.butterseal;
import java.util.Map;
public class BSUtil... | e34d74611137f0022b1cb60efb523f3f3d00aeee | src/butterseal/src/edu/smcm/gamedev/butterseal/BSUtil.java | src/butterseal/src/edu/smcm/gamedev/butterseal/BSUtil.java | Java |
<|file_sep|>.travis.yml.diff
original:
updated:
dist: precise
<|file_sep|>original/.travis.yml
language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
script:
- ./gradlew test
after_success:
- ./gradlew jacocoTestReport coveralls
<|file_sep|>current/.travis.yml
dist: precise
language: java
jdk:
- openjdk7... | dist: precise
language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
script:
- ./gradlew test
after_success:
- ./gradlew jacocoTestReport coveralls
addons:
hosts:
- example.com
hostname: example.com | <|file_sep|>.travis.yml.diff
original:
updated:
dist: precise
<|file_sep|>original/.travis.yml
language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
script:
- ./gradlew test
after_success:
- ./gradlew jacocoTestReport coveralls
<|file_sep|>current/.travis.yml
dist: precise
language: java
jdk:
- openjdk7... | 7dff0b5adcfe735e3b1d21e8fae8dc0f0a213476 | .travis.yml | .travis.yml | YAML |
<|file_sep|>index.html.diff
original:
updated:
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<|file_sep|>index.html.diff
original:
<meta charset="utf-8" />
updated:
<link href="//maxcdn.bootstrapcdn.com... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<link hr... | <|file_sep|>index.html.diff
original:
updated:
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<|file_sep|>index.html.diff
original:
<meta charset="utf-8" />
updated:
<link href="//maxcdn.bootstrapcdn.com... | f09656f88d84054e6a48a47704c65b31b1a2555f | index.html | index.html | HTML |
<|file_sep|>tests/Loct/Pinger/Command/PingCommandTest.php.diff
original:
'google.com'
updated:
'google.com',
'192.168.0.123'
<|file_sep|>original/tests/Loct/Pinger/Command/PingCommandTest.php
];
$notifier = $this->getMockBuilder('Loct\Pinger\Notifier\NotifierInterface... | ];
$notifier = $this->getMockBuilder('Loct\Pinger\Notifier\NotifierInterface')
->getMock();
$notifier->expects($this->once())
->method('notify');
$application = new Application();
$application->add(new PingCommand($hosts, $notifier));
$command =... | <|file_sep|>tests/Loct/Pinger/Command/PingCommandTest.php.diff
original:
'google.com'
updated:
'google.com',
'192.168.0.123'
<|file_sep|>original/tests/Loct/Pinger/Command/PingCommandTest.php
];
$notifier = $this->getMockBuilder('Loct\Pinger\Notifier\NotifierInterface... | 7d8c724e89552857caa079f3c4f345c0ade41318 | tests/Loct/Pinger/Command/PingCommandTest.php | tests/Loct/Pinger/Command/PingCommandTest.php | PHP |
<|file_sep|>original/app/src/main/java/com/bookbase/bookbase/database/DatabaseFactory.java
import android.content.Context;
public class DatabaseFactory{
private static DatabaseFactory instance;
private static AppDatabase db;
private static void createDb(Context context){
if(db == null){
... | import android.content.Context;
public class DatabaseFactory{
private static DatabaseFactory instance;
private static AppDatabase db;
private static void createDb(Context context){
if(db == null){
db = Room.databaseBuilder(context, AppDatabase.class, "bookbase-db").build();
}... | <|file_sep|>original/app/src/main/java/com/bookbase/bookbase/database/DatabaseFactory.java
import android.content.Context;
public class DatabaseFactory{
private static DatabaseFactory instance;
private static AppDatabase db;
private static void createDb(Context context){
if(db == null){
... | e4b63bccc735c2855457aeb33298c3e20a4e3fb1 | app/src/main/java/com/bookbase/bookbase/database/DatabaseFactory.java | app/src/main/java/com/bookbase/bookbase/database/DatabaseFactory.java | Java |
<|file_sep|>original/premailer.gemspec
Gem::Specification.new do |s|
s.name = "premailer"
s.version = "1.7.2"
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "Preflight for HTML e-mail."
s.email = "code@dunae.ca"
s.homepage = "http://premailer.dialect.ca/"
s.description = "Improve the renderin... | Gem::Specification.new do |s|
s.name = "premailer"
s.version = "1.7.2"
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "Preflight for HTML e-mail."
s.email = "code@dunae.ca"
s.homepage = "http://premailer.dialect.ca/"
s.description = "Improve the rendering of HTML emails by making CSS inline, ... | <|file_sep|>original/premailer.gemspec
Gem::Specification.new do |s|
s.name = "premailer"
s.version = "1.7.2"
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "Preflight for HTML e-mail."
s.email = "code@dunae.ca"
s.homepage = "http://premailer.dialect.ca/"
s.description = "Improve the renderin... | ecaedef165e9ba5d83dfab8310c48852d8db8f9a | premailer.gemspec | premailer.gemspec | Ruby |
<|file_sep|>_posts/2017-09-06-welcome-post.md.diff
original:
date: 2017-09-06
excerpt: "Let's make the last half of 2017 one to remember!"
updated:
date: 2018-01-10
excerpt: "Let's make 2018 one to remember!"
<|file_sep|>_posts/2017-09-06-welcome-post.md.diff
original:
Thank you for visiting my GitHub page. In the week... | ---
layout: post
title: "Welcome Aboard"
date: 2018-01-10
excerpt: "Let's make 2018 one to remember!"
tags: [welcome]
---
**The Journey Begins**
===
Thank you for visiting my GitHub page. I hope to contribute to this site on a regular basis as my journey in the Data Science community begins in a professional sense. Fro... | <|file_sep|>_posts/2017-09-06-welcome-post.md.diff
original:
date: 2017-09-06
excerpt: "Let's make the last half of 2017 one to remember!"
updated:
date: 2018-01-10
excerpt: "Let's make 2018 one to remember!"
<|file_sep|>_posts/2017-09-06-welcome-post.md.diff
original:
Thank you for visiting my GitHub page. In the week... | c7aa45eac2cfafcf84a7786cb6229d1eafb2c0ba | _posts/2017-09-06-welcome-post.md | _posts/2017-09-06-welcome-post.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.