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|>ui/src/utils/QualityControl.js.diff
original:
const audioResult = this.soundCheck();
updated:
<|file_sep|>ui/src/utils/QualityControl.js.diff
original:
} else if (audioResult) {
qualityResult.success = false;
qualityResult.errorMessage += audioResult;
updated:
<|fi... |
/**
* Checks if sound is of good quality: not too short or silent
*/
async isQualitySound() {
const blobArrayBuffer = await this.blob.arrayBuffer();
this.audioBuffer = await this.context.decodeAudioData(blobArrayBuffer);
const qualityResult = {
success: true,
... | <|file_sep|>ui/src/utils/QualityControl.js.diff
original:
const audioResult = this.soundCheck();
updated:
<|file_sep|>ui/src/utils/QualityControl.js.diff
original:
} else if (audioResult) {
qualityResult.success = false;
qualityResult.errorMessage += audioResult;
updated:
<|fi... | 73ddb98197c2ca879880efb8d51d168253f380a8 | ui/src/utils/QualityControl.js | ui/src/utils/QualityControl.js | JavaScript |
<|file_sep|>plan_test.php.diff
original:
* @expectedExceptionMessage 123 is not of type string
updated:
* @expectedExceptionMessage '123' is not of type integer
<|file_sep|>original/plan_test.php
}
/**
* @expectedException SchemaException
* @expectedExceptionMessage Unknown type ravi... | }
/**
* @expectedException SchemaException
* @expectedExceptionMessage Unknown type ravioli
*/
public function testTypeUnknown()
{
plan(new Type('ravioli'));
}
/**
* @expectedException InvalidException
* @expectedExceptionMessage '123' is not of t... | <|file_sep|>plan_test.php.diff
original:
* @expectedExceptionMessage 123 is not of type string
updated:
* @expectedExceptionMessage '123' is not of type integer
<|file_sep|>original/plan_test.php
}
/**
* @expectedException SchemaException
* @expectedExceptionMessage Unknown type ravi... | f33cdaedf5247b88ee5571e016ecabd18bb39ed1 | plan_test.php | plan_test.php | PHP |
<|file_sep|>original/requirements.txt
PyQt5
numpy==1.17.4
h5py==2.10.0
matplotlib==3.1.2
numba==0.46.0
scipy==1.3.3
pyyaml==5.2
scikit-learn==0.22
colorama==0.4.3
tqdm==4.40.2
lmfit==0.9.14
<|file_sep|>current/requirements.txt
PyQt5
numpy==1.17.4
h5py==2.10.0
matplotlib==3.1.2
numba==0.46.0
scipy==1.3.3
pyyaml==5.2
sci... | PyQt5
numpy==1.17.4
h5py==2.10.0
matplotlib==3.1.2
numba==0.46.0
scipy==1.3.3
pyyaml==5.2
scikit-learn==0.22.1
colorama==0.4.3
tqdm==4.40.2
lmfit==0.9.14 | <|file_sep|>original/requirements.txt
PyQt5
numpy==1.17.4
h5py==2.10.0
matplotlib==3.1.2
numba==0.46.0
scipy==1.3.3
pyyaml==5.2
scikit-learn==0.22
colorama==0.4.3
tqdm==4.40.2
lmfit==0.9.14
<|file_sep|>current/requirements.txt
PyQt5
numpy==1.17.4
h5py==2.10.0
matplotlib==3.1.2
numba==0.46.0
scipy==1.3.3
pyyaml==5.2
sci... | 71f6e92de7caf7813d659a1fa055866f1574461c | requirements.txt | requirements.txt | Text |
<|file_sep|>keps/sig-apps/3017-pod-healthy-policy-for-pdb/kep.yaml.diff
original:
updated:
- "@ravisantoshgudimetla"
- "@atiratree"
<|file_sep|>keps/sig-apps/3017-pod-healthy-policy-for-pdb/kep.yaml.diff
original:
latest-milestone: "v1.24"
updated:
latest-milestone: "v1.26"
<|file_sep|>original/keps/sig-apps/3017-... | see-also:
replaces:
stage: alpha
latest-milestone: "v1.26"
# The milestone at which this feature was, or is targeted to be, at each stage.
milestone:
alpha: "v1.26"
beta: "v1.27"
stable: "v1.28"
# The following PRR answers are required at alpha release
# List the feature gate name and the components for which... | <|file_sep|>keps/sig-apps/3017-pod-healthy-policy-for-pdb/kep.yaml.diff
original:
updated:
- "@ravisantoshgudimetla"
- "@atiratree"
<|file_sep|>keps/sig-apps/3017-pod-healthy-policy-for-pdb/kep.yaml.diff
original:
latest-milestone: "v1.24"
updated:
latest-milestone: "v1.26"
<|file_sep|>original/keps/sig-apps/3017-... | b0b6a3671641b5abf1a81dcd7b6b2aab3f39f3aa | keps/sig-apps/3017-pod-healthy-policy-for-pdb/kep.yaml | keps/sig-apps/3017-pod-healthy-policy-for-pdb/kep.yaml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "iojs"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "iojs"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "5.5"
- "5.4"
- "5.3"
- "5.2"
- "5.1"
- "5.0"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "iojs" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "iojs"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "iojs"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "5.5"
- ... | aeb0d9195668b7ec9c14ca6dfa7b1ec7bc61bf4f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/website_sale_require_login/views/website_sale.xml
<openerp>
<data>
<!-- Hide checkout without signup -->
<template id="suggestion_cart" inherit_id="website_sale_suggest_create_account.cart">
<xpath expr="//a[@id='anonymous_checkout']" position="replace"/>
</template>
<template id="cart" inher... | <openerp>
<data>
<!-- Hide checkout without signup -->
<template id="suggestion_cart" inherit_id="website_sale_suggest_create_account.cart">
<xpath expr="//a[@id='anonymous_checkout']" position="replace"/>
</template>
<template id="cart" inherit_id="website_sale.cart" priority="20">
<xpath expr="//a[@href='/s... | <|file_sep|>original/website_sale_require_login/views/website_sale.xml
<openerp>
<data>
<!-- Hide checkout without signup -->
<template id="suggestion_cart" inherit_id="website_sale_suggest_create_account.cart">
<xpath expr="//a[@id='anonymous_checkout']" position="replace"/>
</template>
<template id="cart" inher... | 06840897811fde9111d0050472f20e45d1d20be9 | website_sale_require_login/views/website_sale.xml | website_sale_require_login/views/website_sale.xml | XML |
<|file_sep|>lib/json_yaml_assets/engine.rb.diff
original:
if /.json.yaml(?:$|\.)/.match(file)
updated:
if /.json.ya?ml(?:$|\.)/.match(file)
<|file_sep|>original/lib/json_yaml_assets/engine.rb
end
def evaluate(scope, locals = { }, &block)
if /.json.yaml(?:$|\.)/.match(file)
... |
def evaluate(scope, locals = { }, &block)
if /.json.ya?ml(?:$|\.)/.match(file)
@output ||= MultiJson.dump(YAML.load(data),
Template.global_options.clone)
else
data
end
end
end
initializer('sprockets.json_yaml_assets',... | <|file_sep|>lib/json_yaml_assets/engine.rb.diff
original:
if /.json.yaml(?:$|\.)/.match(file)
updated:
if /.json.ya?ml(?:$|\.)/.match(file)
<|file_sep|>original/lib/json_yaml_assets/engine.rb
end
def evaluate(scope, locals = { }, &block)
if /.json.yaml(?:$|\.)/.match(file)
... | 267ca8e33c7972d2ee8129de9e77b5ab93df45b7 | lib/json_yaml_assets/engine.rb | lib/json_yaml_assets/engine.rb | Ruby |
<|file_sep|>packages/op/opaleye-trans.yaml.diff
original:
hash: 112590e8bbf4d5345d31c10410fb0772aefbfe6197ed03e7cfc8945c899d63e1
updated:
hash: 2cc03ade60ae9dc24759edc24e1761d5c26edb0b05af557bebda99db9204b3f2
<|file_sep|>packages/op/opaleye-trans.yaml.diff
original:
updated:
- '0.3.4'
<|file_sep|>original/packages/op/... | base: ! '>=4.8 && <4.10'
product-profunctors: ! '>=0.6 && <0.8'
postgresql-simple: ! '>=0.4 && <0.6'
mtl: ! '>=2.2 && <2.3'
transformers-base: ! '>=0.4 && <0.5'
transformers: ! '>=0.3 && <0.6'
opaleye: ! '>=0.4 && <0.6'
all-versions:
- '0.1.0'
- '0.1.1'
- '0.2.0'
- '0.3.0'
- '0.3.1'
- '0.3.2'
- '0.3.3'
- ... | <|file_sep|>packages/op/opaleye-trans.yaml.diff
original:
hash: 112590e8bbf4d5345d31c10410fb0772aefbfe6197ed03e7cfc8945c899d63e1
updated:
hash: 2cc03ade60ae9dc24759edc24e1761d5c26edb0b05af557bebda99db9204b3f2
<|file_sep|>packages/op/opaleye-trans.yaml.diff
original:
updated:
- '0.3.4'
<|file_sep|>original/packages/op/... | b8bf57f078ca91945fa933c781000ea14ff586cc | packages/op/opaleye-trans.yaml | packages/op/opaleye-trans.yaml | YAML |
<|file_sep|>original/.gitlab-ci.yml
variables:
DOCKER_DRIVER: overlay2
GIT_DEPTH: "3"
GIT_CHECKOUT: "false"
# Git checkout is disabled to let us handle efficiently the Git-LFS
before_script:
- git lfs fetch origin $CI_COMMIT_REF_NAME
- git checkout $CI_COMMIT_REF_NAME
stages:
- build
.general:
retry:
... | variables:
DOCKER_DRIVER: overlay2
GIT_DEPTH: "3"
GIT_CHECKOUT: "false"
GIT_STRATEGY: "clone"
# Git checkout is disabled to let us handle efficiently the Git-LFS
before_script:
- git lfs fetch origin $CI_COMMIT_REF_NAME
- git checkout $CI_COMMIT_REF_NAME
stages:
- build
.general:
retry:
max: 2
... | <|file_sep|>original/.gitlab-ci.yml
variables:
DOCKER_DRIVER: overlay2
GIT_DEPTH: "3"
GIT_CHECKOUT: "false"
# Git checkout is disabled to let us handle efficiently the Git-LFS
before_script:
- git lfs fetch origin $CI_COMMIT_REF_NAME
- git checkout $CI_COMMIT_REF_NAME
stages:
- build
.general:
retry:
... | 1f32d2834998bb46835f87b54c5ce636cb720e53 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>original/README.md
Configuration manager library for sourcetree written in JavaScript.
Simply add new project into sourcetree confiuguration with nodejs.
# Usage
`install --save sourcetree-config-manager`
Supported operations:
- Get sourcetree default path - currently only for windows (`getConfigPath(u... | Configuration manager library for sourcetree written in JavaScript.
Simply add new project into sourcetree confiuguration with nodejs.
# Usage
`install --save sourcetree-config-manager`
Supported operations:
- Get sourcetree default configuration path - currently only for windows (`getConfigPath(userName)`)
- Appe... | <|file_sep|>original/README.md
Configuration manager library for sourcetree written in JavaScript.
Simply add new project into sourcetree confiuguration with nodejs.
# Usage
`install --save sourcetree-config-manager`
Supported operations:
- Get sourcetree default path - currently only for windows (`getConfigPath(u... | b16f8b920b22f720309e42d5c9a4d2fe1e22fbe7 | README.md | README.md | Markdown |
<|file_sep|>bower.json.diff
original:
"responsive-nav": "1.0.34",
updated:
"responsive-nav": "1.0.36",
<|file_sep|>original/bower.json
{
"name": "hive-framework",
"version": "0.6.0",
"directory": "bower_components",
"dependencies": {
"autosize": "2.0.0",
"dropcap.js": "1.0.0",
"google-code-p... | {
"name": "hive-framework",
"version": "0.6.0",
"directory": "bower_components",
"dependencies": {
"autosize": "2.0.0",
"dropcap.js": "1.0.0",
"google-code-prettify": "1.0.4",
"jquery.cookie": "1.4.1",
"jquery-details": "0.1.0",
"jquery-placeholder": "2.1.1",
"picturefill": "2.3.0",
... | <|file_sep|>bower.json.diff
original:
"responsive-nav": "1.0.34",
updated:
"responsive-nav": "1.0.36",
<|file_sep|>original/bower.json
{
"name": "hive-framework",
"version": "0.6.0",
"directory": "bower_components",
"dependencies": {
"autosize": "2.0.0",
"dropcap.js": "1.0.0",
"google-code-p... | 2deaa77af4f1ef2cfcf55b2e697b11e9bb585325 | bower.json | bower.json | JSON |
<|file_sep|>original/templates/newsletter/message/message.html
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{{ newsletter.title }}: {{ message.title }}</title>
</head>
<body>
{% for article in message.articles.all %}
<div>{{ article.text|safe }}</div>... | {% load url from future %}{% load thumbnail %}<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{{ newsletter.title }}: {{ message.title }}</title>
</head>
<body>
{% for ... | <|file_sep|>original/templates/newsletter/message/message.html
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{{ newsletter.title }}: {{ message.title }}</title>
</head>
<body>
{% for article in message.articles.all %}
<div>{{ article.text|safe }}</div>... | 7df76c8fd9006b68c692a5bc13fbc105e5bb4913 | templates/newsletter/message/message.html | templates/newsletter/message/message.html | HTML |
<|file_sep|>original/README.md
# ToolbarPanel
Toolbar that can be slided down to show a panel
<|file_sep|>current/README.md
# ToolbarPanel
Toolbar that can be slided down to show a panel
<|file_sep|>updated/README.md | # ToolbarPanel
Toolbar that can be slided down to show a panel
[](http://www.youtube.com/watch?v=KTPwKYvP6OI)
This library is inspired from Android Drawerlayout, but instead of showing drawer from either left or right this library will provide you func... | <|file_sep|>original/README.md
# ToolbarPanel
Toolbar that can be slided down to show a panel
<|file_sep|>current/README.md
# ToolbarPanel
Toolbar that can be slided down to show a panel
<|file_sep|>updated/README.md
# ToolbarPanel
Toolbar that can be slided down to show a panel
[ {
PropertiesBean pb = (!(Files.notExists(configFile.toPath()) &&... | this.configFile = configFile;
this.identityFile = identityFile;
this.params = params;
}
public PropertiesBean build() {
PropertiesBean pb = (!(Files.notExists(configFile.toPath()) && params != null))
? CliProperties.buildFromMap(new FileReader().readCliConfig(configF... | <|file_sep|>original/src/main/java/com/crowdin/cli/commands/functionality/PropertiesBuilder.java
this.configFile = configFile;
this.identityFile = identityFile;
this.params = params;
}
public PropertiesBean build() {
PropertiesBean pb = (!(Files.notExists(configFile.toPath()) &&... | 5d4fb959c75b08efa7a9d648c6c01709f440aa01 | src/main/java/com/crowdin/cli/commands/functionality/PropertiesBuilder.java | src/main/java/com/crowdin/cli/commands/functionality/PropertiesBuilder.java | Java |
<|file_sep|>original/frontend/src/components/Utils/utils.js
hour: 'numeric',
minute: '2-digit',
timeZone: timezone
};
let formatted = date.toLocaleTimeString('en-US', formatOptions);
return formatted;
}
/**
* Format a timestamp (in milliseconds) into a pretty string with just the date.
* @param {... | hour: 'numeric',
minute: '2-digit',
timeZone: timezone
};
let formatted = date.toLocaleTimeString('en-US', formatOptions);
return formatted;
}
/**
* Format a timestamp (in milliseconds) into a pretty string with just the date.
*
* @param {int} msTimestamp
* @param {string} timezone
* @return... | <|file_sep|>original/frontend/src/components/Utils/utils.js
hour: 'numeric',
minute: '2-digit',
timeZone: timezone
};
let formatted = date.toLocaleTimeString('en-US', formatOptions);
return formatted;
}
/**
* Format a timestamp (in milliseconds) into a pretty string with just the date.
* @param {... | b1ce7f429e98478936bdda6b05efee04dfb66200 | frontend/src/components/Utils/utils.js | frontend/src/components/Utils/utils.js | JavaScript |
<|file_sep|>original/problem_2.rb
<|file_sep|>current/problem_2.rb
<|file_sep|>updated/problem_2.rb | a = 1
b = 2
sum = 0
while b <= 4_000_000
c = a + b
a = b
b = c
sum += a if a % 2 == 0
end
p sum | <|file_sep|>original/problem_2.rb
<|file_sep|>current/problem_2.rb
<|file_sep|>updated/problem_2.rb
a = 1
b = 2
sum = 0
while b <= 4_000_000
c = a + b
a = b
b = c
sum += a if a % 2 == 0
end
p sum | 6b5e5945f9a235157a181a3f0af45e1aeb0ce09e | problem_2.rb | problem_2.rb | Ruby |
<|file_sep|>original/locales/tl/messages.properties
<|file_sep|>current/locales/tl/messages.properties
<|file_sep|>updated/locales/tl/messages.properties | loading_message=Loading…
log_out=Log Out
sign_in=Sign in
or=o
sign_up=Sign Up
MLN=Ang Mozilla Learning Network
follow_us=Sundan Kami
twitter=Twitter
get_help=Kumuha ng Tulong
email_us=I-email kami
say_hello=Mag-Hello
discourse_forum=Discourse forum
teaching_activities=Mga Aktibidad sa Pagtuturo
web_literacy=Web ... | <|file_sep|>original/locales/tl/messages.properties
<|file_sep|>current/locales/tl/messages.properties
<|file_sep|>updated/locales/tl/messages.properties
loading_message=Loading…
log_out=Log Out
sign_in=Sign in
or=o
sign_up=Sign Up
MLN=Ang Mozilla Learning Network
follow_us=Sundan Kami
twitter=Twitter
get_help... | 0c41455f9855e0627d157a92d88b8c9596e49858 | locales/tl/messages.properties | locales/tl/messages.properties | INI |
<|file_sep|>app/views/deferred/confirmations/show.html.haml.diff
original:
- if Date.today < Date.parse('2014-12-17')
updated:
- if Date.today < Date.parse('2014-12-23')
<|file_sep|>original/app/views/deferred/confirmations/show.html.haml
.Grid
.Grid-2-3
%header
%h1 Thank you
%p A confirmatio... | .Grid
.Grid-2-3
%header
%h1 Thank you
%p A confirmation email has been sent to the visitor.
- if Date.today < Date.parse('2014-12-23')
#latest-change.notice
%h1 Staff update: prisoner and visitor details moved to top
%p We have moved the prisoner and visitor details to the ... | <|file_sep|>app/views/deferred/confirmations/show.html.haml.diff
original:
- if Date.today < Date.parse('2014-12-17')
updated:
- if Date.today < Date.parse('2014-12-23')
<|file_sep|>original/app/views/deferred/confirmations/show.html.haml
.Grid
.Grid-2-3
%header
%h1 Thank you
%p A confirmatio... | 8ebf08ef0ff5e0dc78ff60172640e49b438c6d3c | app/views/deferred/confirmations/show.html.haml | app/views/deferred/confirmations/show.html.haml | Haml |
<|file_sep|>original/README.md
My personal website.
[kkiningh.github.io](kkiningh.github.io)
Based on the [poole theme](https://github.com/poole/poole) by [Mark Otto](https://github.com/mdo).
Released under the MIT license.
See the [LICENSE](./LICENSE) for details.
<|file_sep|>current/README.md
My personal website.
[... | My personal website.
[kkiningh.github.io](https://kkiningh.github.io)
Based on the [poole theme](https://github.com/poole/poole) by [Mark Otto](https://github.com/mdo).
Released under the MIT license.
See the [LICENSE](./LICENSE) for details. | <|file_sep|>original/README.md
My personal website.
[kkiningh.github.io](kkiningh.github.io)
Based on the [poole theme](https://github.com/poole/poole) by [Mark Otto](https://github.com/mdo).
Released under the MIT license.
See the [LICENSE](./LICENSE) for details.
<|file_sep|>current/README.md
My personal website.
[... | 2eb7d7bea6b1b935f53ff51fe57412cab981d743 | README.md | README.md | Markdown |
<|file_sep|>original/packages/ag/ag-pictgen.yaml
<|file_sep|>current/packages/ag/ag-pictgen.yaml
<|file_sep|>updated/packages/ag/ag-pictgen.yaml | homepage: https://github.com/UU-ComputerScience/ag-pictgen
changelog-type: ''
hash: ce2aaf22367ea343131aaf33ad3091920b8eee36784109f79fb755a57710b048
test-bench-deps: {}
maintainer: Atze Dijkstra <atzedijkstra@gmail.com>
synopsis: Attribute Grammar picture generation
changelog: ''
basic-deps:
uulib: -any
base: ! '>=... | <|file_sep|>original/packages/ag/ag-pictgen.yaml
<|file_sep|>current/packages/ag/ag-pictgen.yaml
<|file_sep|>updated/packages/ag/ag-pictgen.yaml
homepage: https://github.com/UU-ComputerScience/ag-pictgen
changelog-type: ''
hash: ce2aaf22367ea343131aaf33ad3091920b8eee36784109f79fb755a57710b048
test-bench-deps: {}
main... | 3601465c1bc45e175d7e137096ab5d0d8921b9e0 | packages/ag/ag-pictgen.yaml | packages/ag/ag-pictgen.yaml | YAML |
<|file_sep|>docs/source/api/hades.common.rst.diff
original:
hades\.common\.dbus module
updated:
hades\.common\.glib module
<|file_sep|>original/docs/source/api/hades.common.rst
------------------------
.. automodule:: hades.common.db
:members:
:undoc-members:
:show-inheritance:
hades\.common\.dbus module
... | ------------------------
.. automodule:: hades.common.db
:members:
:undoc-members:
:show-inheritance:
hades\.common\.glib module
--------------------------
.. automodule:: hades.common.glib
:members:
:undoc-members:
:show-inheritance:
hades\.common\.privileges module
------------------------... | <|file_sep|>docs/source/api/hades.common.rst.diff
original:
hades\.common\.dbus module
updated:
hades\.common\.glib module
<|file_sep|>original/docs/source/api/hades.common.rst
------------------------
.. automodule:: hades.common.db
:members:
:undoc-members:
:show-inheritance:
hades\.common\.dbus module
... | 54496483e44301109d78cf25a92540447ed729ec | docs/source/api/hades.common.rst | docs/source/api/hades.common.rst | reStructuredText |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '12'
- '14'
- '15'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g nyc prove
script:
- nyc npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '12'
- '1... | language: node_js
node_js:
- '12'
- '14'
- '16'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g nyc prove
script:
- nyc npm test | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '12'
- '14'
- '15'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g nyc prove
script:
- nyc npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '12'
- '1... | b12e1f55ce86c763948a8fc3a6eeb7deb24fe816 | .travis.yml | .travis.yml | YAML |
<|file_sep|>metadata/com.quaap.bookymcbookface.txt.diff
original:
updated:
Build:0.4.1,410
commit=v0.4.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.quaap.bookymcbookface.txt
gradle=yes
Build:0.3.4,34
commit=v0.3.4
subdir=app
gradle=yes
Build:0.3.5,35
commit=v0.3.5
su... | gradle=yes
Build:0.3.5,35
commit=v0.3.5
subdir=app
gradle=yes
Build:0.4.0,40
commit=v0.4.0
subdir=app
gradle=yes
Build:0.4.1,410
commit=v0.4.1
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags ^v[0-9\.]+$
Current Version:0.4.1
Current Version Code:410 | <|file_sep|>metadata/com.quaap.bookymcbookface.txt.diff
original:
updated:
Build:0.4.1,410
commit=v0.4.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.quaap.bookymcbookface.txt
gradle=yes
Build:0.3.4,34
commit=v0.3.4
subdir=app
gradle=yes
Build:0.3.5,35
commit=v0.3.5
su... | 5b7e055c93b2f96168589640e336978b9e5d2baf | metadata/com.quaap.bookymcbookface.txt | metadata/com.quaap.bookymcbookface.txt | Text |
<|file_sep|>original/kcm.py
Usage:
kcm (-h | --help)
kcm --version
kcm (init | describe | reconcile) [--conf-dir=<dir>]
kcm isolate [--conf-dir=<dir>] --pool=<pool> <command> [-- <args> ...]
Options:
-h --help Show this screen.
--version Show version.
--conf-dir=<dir> KCM configuration d... | Usage:
kcm (-h | --help)
kcm --version
kcm (init | describe | reconcile) [--conf-dir=<dir>]
kcm isolate [--conf-dir=<dir>] --pool=<pool> <command> [-- <args> ...]
Options:
-h --help Show this screen.
--version Show version.
--conf-dir=<dir> KCM configuration directory [default: /etc/kcm]... | <|file_sep|>original/kcm.py
Usage:
kcm (-h | --help)
kcm --version
kcm (init | describe | reconcile) [--conf-dir=<dir>]
kcm isolate [--conf-dir=<dir>] --pool=<pool> <command> [-- <args> ...]
Options:
-h --help Show this screen.
--version Show version.
--conf-dir=<dir> KCM configuration d... | 5c6f6b63450651b2860e960a4fb16c787537d3ed | kcm.py | kcm.py | Python |
<|file_sep|>app/controllers/pacs_controller.rb.diff
original:
updated:
before_action :authenticate, if: :authentication_required?
<|file_sep|>original/app/controllers/pacs_controller.rb
class PacsController < EmbeddedToolsController
def exclude_syndicated_iframe_resizer?
true
end
protected
def categor... | class PacsController < EmbeddedToolsController
before_action :authenticate, if: :authentication_required?
def exclude_syndicated_iframe_resizer?
true
end
protected
def authenticate
authenticate_or_request_with_http_basic do |username, password|
Authenticable.authenticate(username, password)
... | <|file_sep|>app/controllers/pacs_controller.rb.diff
original:
updated:
before_action :authenticate, if: :authentication_required?
<|file_sep|>original/app/controllers/pacs_controller.rb
class PacsController < EmbeddedToolsController
def exclude_syndicated_iframe_resizer?
true
end
protected
def categor... | 58958e3346865a0dca748a3290dbe0b864720946 | app/controllers/pacs_controller.rb | app/controllers/pacs_controller.rb | Ruby |
<|file_sep|>original/requirements.txt
base58==0.2.3
boto3==1.4.0
botocore==1.4.48
docutils==0.12
futures==3.0.5
hjson==2.0.0
jmespath==0.9.0
kappa==0.6.0
lambda-packages==0.8.0
python-dateutil==2.5.3
python-slugify==1.2.0
requests>=2.10.0
six==1.10.0
tqdm==4.8.4
Werkzeug==0.11.10
wheel==0.29.0
wsgi-request-logger==0.4.... | base58==0.2.3
boto3==1.4.0
botocore==1.4.48
docutils==0.12
futures==3.0.5
hjson==2.0.2
jmespath==0.9.0
kappa==0.6.0
lambda-packages==0.8.0
python-dateutil==2.5.3
python-slugify==1.2.0
requests>=2.10.0
six==1.10.0
tqdm==4.8.4
Werkzeug==0.11.10
wheel==0.29.0
wsgi-request-logger==0.4.5 | <|file_sep|>original/requirements.txt
base58==0.2.3
boto3==1.4.0
botocore==1.4.48
docutils==0.12
futures==3.0.5
hjson==2.0.0
jmespath==0.9.0
kappa==0.6.0
lambda-packages==0.8.0
python-dateutil==2.5.3
python-slugify==1.2.0
requests>=2.10.0
six==1.10.0
tqdm==4.8.4
Werkzeug==0.11.10
wheel==0.29.0
wsgi-request-logger==0.4.... | 5d058741eeba2349b6af881a2278d8df85524458 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "pypy"
- "pypy3"
install:
- "pip install -r requirements.txt"
- "pip install -r tests/requirements.txt"
script:
- "py.test tests/unit/ --cov pad --cov-report term-missing"
- "py.test tests/functional/" | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "pypy"
- "pypy3"
install:
- "pip install -r requirements.txt"
- "pip install -r tests/requirements.txt"
script:
- "py.test tests/unit/ --cov pad --cov-rep... | 0dbbed31d0fba41365350865a7ab807332779170 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
- 2.5.3
- 2.5.1
- 2.4.5
- 2.4.4
- 2.3.7
- 2.2.10
- 2.1.8
- 1.9.3
before_install:
- gem update --system
- gem --version
- gem install bundler
env:
global:
- CC_TEST_REPORTER_ID=92655ba2c8b47200f80e996afb80c410b9491514845d414d7517108ad35a5178
before_script:
... | - 2.5.3
- 2.5.1
- 2.4.5
- 2.4.4
- 2.3.7
- 2.2.10
- 2.1.8
- 1.9.3
before_install:
- 'if [[ `ruby -v` =~ 2.2.10 ]]; gem update --system; then gem update --system; else gem update --system 2.7.8; fi'
- 'gem --version'
- 'gem install bundler'
env:
global:
- CC_TEST_REPORTER_ID=92655ba2c8b47200f8... | <|file_sep|>original/.travis.yml
- 2.5.3
- 2.5.1
- 2.4.5
- 2.4.4
- 2.3.7
- 2.2.10
- 2.1.8
- 1.9.3
before_install:
- gem update --system
- gem --version
- gem install bundler
env:
global:
- CC_TEST_REPORTER_ID=92655ba2c8b47200f80e996afb80c410b9491514845d414d7517108ad35a5178
before_script:
... | b78b8277f4b8d758ed29fe54ed3a768f26c9ca99 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements/base.txt
bleach==3.3.0
Django==2.2.24 # pyup: <2.3
django-allauth==0.44.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.0.0
django-enumfield==2.0.2
django-filter==2.4.0
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.8
djangorestframework==3.12.4
ea... | bleach==3.3.0
Django==2.2.24 # pyup: <2.3
django-allauth==0.44.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.1.0
django-enumfield==2.0.2
django-filter==2.4.0
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.8
djangorestframework==3.12.4
easy-thumbnails==2.7.1
html5lib==1.1
jsonfiel... | <|file_sep|>original/requirements/base.txt
bleach==3.3.0
Django==2.2.24 # pyup: <2.3
django-allauth==0.44.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.0.0
django-enumfield==2.0.2
django-filter==2.4.0
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.8
djangorestframework==3.12.4
ea... | 508d918a020d36967704898d95750257bf9952b5 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/pull_request_template.md
----
Our release notes are automatically generated from the commit messages. Please structure your commit message using these tags to simplify the release notes processs.
Example:
----
Subject: Improvements to matMul. (#900)
Body:
FEATURE Add transpose bits ... | +Please remember to apply all applicable tags to your pull request.
+Tags: FEATURE, BREAKING, BUG, PERF, DEV, DOC, SECURITY
+For more info see: https://github.com/tensorflow/tfjs/blob/master/DEVELOPMENT.md | <|file_sep|>original/pull_request_template.md
----
Our release notes are automatically generated from the commit messages. Please structure your commit message using these tags to simplify the release notes processs.
Example:
----
Subject: Improvements to matMul. (#900)
Body:
FEATURE Add transpose bits ... | a304266533fb7e8faa81039c0f5818bfa277f00c | pull_request_template.md | pull_request_template.md | Markdown |
<|file_sep|>bin/commands/upstream.py.diff
original:
from subprocess import check_output
updated:
from subprocess import check_output, PIPE, Popen
<|file_sep|>bin/commands/upstream.py.diff
original:
updated:
_MERGE_CONFIG = 'git config --local branch.{}.merge'
_REMOTE_CONFIG = 'git config --local branch.{}.remote'
<|fi... | from subprocess import check_output, PIPE, Popen
_MERGE_CONFIG = 'git config --local branch.{}.merge'
_REMOTE_CONFIG = 'git config --local branch.{}.remote'
def upstream(include_remote=False):
"""Get the upstream branch of the current branch."""
branch_name = check_output('git rev-parse --abbrev-ref HEAD'.sp... | <|file_sep|>bin/commands/upstream.py.diff
original:
from subprocess import check_output
updated:
from subprocess import check_output, PIPE, Popen
<|file_sep|>bin/commands/upstream.py.diff
original:
updated:
_MERGE_CONFIG = 'git config --local branch.{}.merge'
_REMOTE_CONFIG = 'git config --local branch.{}.remote'
<|fi... | a253eac5e4d7319a7a31dc33c90ce60fe77dfe60 | bin/commands/upstream.py | bin/commands/upstream.py | Python |
<|file_sep|>findbugs/test/OpenStream.java.diff
original:
updated:
public void paramStreamDoNotReport(java.io.OutputStream os) throws IOException {
PrintStream ps = new PrintStream(os);
ps.println("Hello");
}
<|file_sep|>original/findbugs/test/OpenStream.java
// oops! exiting the method without closing the s... |
out.println("Hello, world!");
}
public void systemInDoNotReport() throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
System.out.println(reader.readLine());
}
public void socketDoNotReport(java.net.Socket socket) throws IOException {
BufferedReader reader = ... | <|file_sep|>findbugs/test/OpenStream.java.diff
original:
updated:
public void paramStreamDoNotReport(java.io.OutputStream os) throws IOException {
PrintStream ps = new PrintStream(os);
ps.println("Hello");
}
<|file_sep|>original/findbugs/test/OpenStream.java
// oops! exiting the method without closing the s... | 9ad8daf3d020b4237edad33cb3c882bbdd977ebd | findbugs/test/OpenStream.java | findbugs/test/OpenStream.java | Java |
<|file_sep|>original/requirements.rtd.txt
nbsphinx
nbsphinx_link
Ipython
ipykernel
pydata-sphinx-theme
sphinx-gallery
<|file_sep|>current/requirements.rtd.txt
nbsphinx
nbsphinx_link
Ipython
ipykernel
pydata-sphinx-theme
sphinx-gallery
<|file_sep|>updated/requirements.rtd.txt | nbsphinx
nbsphinx_link
Ipython
ipykernel
pydata-sphinx-theme
sphinx-gallery
sphinx>=3.1 | <|file_sep|>original/requirements.rtd.txt
nbsphinx
nbsphinx_link
Ipython
ipykernel
pydata-sphinx-theme
sphinx-gallery
<|file_sep|>current/requirements.rtd.txt
nbsphinx
nbsphinx_link
Ipython
ipykernel
pydata-sphinx-theme
sphinx-gallery
<|file_sep|>updated/requirements.rtd.txt
nbsphinx
nbsphinx_link
Ipython
ipykernel
pyd... | 5be758df70dce387943b48ae22a92dd3e7c483a2 | requirements.rtd.txt | requirements.rtd.txt | Text |
<|file_sep|>original/node/node_path.zsh
export NODE_PATH="/usr/local/lib/node_modules:$NODE_PATH"
<|file_sep|>current/node/node_path.zsh
export NODE_PATH="/usr/local/lib/node_modules:$NODE_PATH"
<|file_sep|>updated/node/node_path.zsh |
export NVM_DIR="$HOME/.nvm"
NVM_HOMEBREW="/usr/local/opt/nvm/nvm.sh"
[ -s "$NVM_HOMEBREW" ] && \. "$NVM_HOMEBREW"
[ -x "$(command -v npm)" ] && export NODE_PATH=$NODE_PATH:`npm root -g`
# export NODE_PATH="/usr/local/lib/node_modules:$NODE_PATH" | <|file_sep|>original/node/node_path.zsh
export NODE_PATH="/usr/local/lib/node_modules:$NODE_PATH"
<|file_sep|>current/node/node_path.zsh
export NODE_PATH="/usr/local/lib/node_modules:$NODE_PATH"
<|file_sep|>updated/node/node_path.zsh
export NVM_DIR="$HOME/.nvm"
NVM_HOMEBREW="/usr/local/opt/nvm/nvm.sh"
[ -s "$NVM_HOMEB... | 6c51d0bb11e83d26741bf76e52d51a6cef5acc0a | node/node_path.zsh | node/node_path.zsh | Shell |
<|file_sep|>README.md.diff
original:
## Github Review Window
updated:
# Github Review Window
<|file_sep|>README.md.diff
original:
see the list of [common application properties][properties] for other supported configuration options
updated:
see the list of [common application properties][properties] for other supported... | For the syntax of period strings, see the [`java.time.Duration` javadoc][javadoc duration].
This is a subset of Spring Boot's autoconfiguration,
see the list of [common application properties][properties] for other supported configuration options.
Example:
```sh
$ mvn spring-boot:run -Dduration=P2D
```
## Oauth
In ... | <|file_sep|>README.md.diff
original:
## Github Review Window
updated:
# Github Review Window
<|file_sep|>README.md.diff
original:
see the list of [common application properties][properties] for other supported configuration options
updated:
see the list of [common application properties][properties] for other supported... | 4be2001d2096d922a195a1e17e6b6a4f62a9d26f | README.md | README.md | Markdown |
<|file_sep|>articles/_posts/2012-01-10-getusermedia-access-camera-privacy-ui.md.diff
original:
title: 'getUserMedia: Accessing the Camera and Privacy UI'
updated:
title: '`getUserMedia`: Accessing the Camera and Privacy UI'
<|file_sep|>original/articles/_posts/2012-01-10-getusermedia-access-camera-privacy-ui.md
---
tit... | ---
title: '`getUserMedia`: Accessing the Camera and Privacy UI'
authors:
- bruce-lawson
intro: '`getUserMedia` alllows access to a device’s camera and microphone. This article shows how to access the camera and demonstrates a Privacy User Interface that Opera is experimenting with. Includes moustaches and exploding ca... | <|file_sep|>articles/_posts/2012-01-10-getusermedia-access-camera-privacy-ui.md.diff
original:
title: 'getUserMedia: Accessing the Camera and Privacy UI'
updated:
title: '`getUserMedia`: Accessing the Camera and Privacy UI'
<|file_sep|>original/articles/_posts/2012-01-10-getusermedia-access-camera-privacy-ui.md
---
tit... | f4c44b9bf19477e3beb1b5f8e22fff945ccccea5 | articles/_posts/2012-01-10-getusermedia-access-camera-privacy-ui.md | articles/_posts/2012-01-10-getusermedia-access-camera-privacy-ui.md | Markdown |
<|file_sep|>original/migrations/m151218_234654_add_new_field_to_profile.php
<|file_sep|>current/migrations/m151218_234654_add_new_field_to_profile.php
<|file_sep|>updated/migrations/m151218_234654_add_new_field_to_profile.php | <?php
/*
* This file is part of the Dektrium project.
*
* (c) Dektrium project <http://github.com/dektrium/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use yii\db\Schema;
use yii\db\Migration;
class m151218_234654_add_new_... | <|file_sep|>original/migrations/m151218_234654_add_new_field_to_profile.php
<|file_sep|>current/migrations/m151218_234654_add_new_field_to_profile.php
<|file_sep|>updated/migrations/m151218_234654_add_new_field_to_profile.php
<?php
/*
* This file is part of the Dektrium project.
*
* (c) Dektrium project <http://g... | 766258b309edf9d8a6db020aa720659925b3b7ec | migrations/m151218_234654_add_new_field_to_profile.php | migrations/m151218_234654_add_new_field_to_profile.php | PHP |
<|file_sep|>original/.travis.yml
sudo: required
services:
- docker
language: bash
script:
# prepare qemu
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
# build image
- docker build -t fdubuisson/knxd-rpi .
# test image
- docker run fdubuisson/knxd-rpi knxd --version
# push image
- >
if [ "... | sudo: required
services:
- docker
language: bash
script:
# prepare qemu
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
# build image
- docker build -t fdubuisson/knxd-rpi .
# test image; the command exits with code 1 so grep is here to have a 'valid' command
- docker run fdubuisson/knxd-rpi ... | <|file_sep|>original/.travis.yml
sudo: required
services:
- docker
language: bash
script:
# prepare qemu
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
# build image
- docker build -t fdubuisson/knxd-rpi .
# test image
- docker run fdubuisson/knxd-rpi knxd --version
# push image
- >
if [ "... | af464837c37f6e1e22e07c5d042596db76212b98 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/containers/Counter/Counter.js.diff
original:
updated:
constructor () {
super()
this.onIncrementCounter = this.onIncrementCounter.bind(this)
this.onDecrementCounter = this.onDecrementCounter.bind(this)
this.onIncrementCounterAsync = this.onIncrementCounterAsync.bind(this)
}
onIncr... | <button onClick={this.onIncrementCounterAsync}
className="counter__button counter__button--async">
async
</button>
</div>
)
}
}
Counter.propTypes = {
counter: PropTypes.number.isRequired,
dispatch: PropTypes.func.isRequired
}
const mapStateToProps = (state) => {
r... | <|file_sep|>src/containers/Counter/Counter.js.diff
original:
updated:
constructor () {
super()
this.onIncrementCounter = this.onIncrementCounter.bind(this)
this.onDecrementCounter = this.onDecrementCounter.bind(this)
this.onIncrementCounterAsync = this.onIncrementCounterAsync.bind(this)
}
onIncr... | 91883be18ca306a92b341e75a403e7a73cb97843 | src/containers/Counter/Counter.js | src/containers/Counter/Counter.js | JavaScript |
<|file_sep|>original/aws/packer.json
"type": "amazon-ebs",
"vpc_id": "vpc-732e0c16"
}
],
"provisioners": [
{
"inline": [
"sudo yum update -y",
"sudo yum install -y docker git",
"sudo service docker start",
"git clone https://github.com/mmb/meme_captain_web.g... | "type": "amazon-ebs",
"vpc_id": "vpc-732e0c16"
}
],
"provisioners": [
{
"inline": [
"sudo yum update -y",
"sudo yum install -y docker git",
"sudo service docker start",
"git clone https://github.com/mmb/meme_captain_web.git",
"pushd meme_captain_web"... | <|file_sep|>original/aws/packer.json
"type": "amazon-ebs",
"vpc_id": "vpc-732e0c16"
}
],
"provisioners": [
{
"inline": [
"sudo yum update -y",
"sudo yum install -y docker git",
"sudo service docker start",
"git clone https://github.com/mmb/meme_captain_web.g... | ce505e3f7e09ada9cc1780fd2b672dd3d7176b64 | aws/packer.json | aws/packer.json | JSON |
<|file_sep|>retrieve/aat.rb.diff
original:
FILES = Dir.glob("explicit/*.nt")
SIZE = 10410177
updated:
FILE = "AATOut_Full.nt"
SIZE = 11613807
<|file_sep|>retrieve/aat.rb.diff
original:
FILES.each do |file|
RDF::NTriples::Reader.open(file) do |reader|
updated:
RDF::NTriples::Reader.open(FILE) do |reader|
<|file_sep|>ori... | end
end
FILE = "AATOut_Full.nt"
SIZE = 11613807
database = Mongo::MongoClient.new["getty"]["aat_triples"]
prog_bar = ProgressBar.create(:title => "Records imported", :starting_at => 0, :total => SIZE, :format => '%c |%b>>%i| %p%% %e') # => Create a progress bar
RDF::NTriples::Reader.open(FILE) do |reader|
reader.... | <|file_sep|>retrieve/aat.rb.diff
original:
FILES = Dir.glob("explicit/*.nt")
SIZE = 10410177
updated:
FILE = "AATOut_Full.nt"
SIZE = 11613807
<|file_sep|>retrieve/aat.rb.diff
original:
FILES.each do |file|
RDF::NTriples::Reader.open(file) do |reader|
updated:
RDF::NTriples::Reader.open(FILE) do |reader|
<|file_sep|>ori... | d8952d4d2c093a2679a24bc91286abda94e9955d | retrieve/aat.rb | retrieve/aat.rb | Ruby |
<|file_sep|>original/index.js
"CLASS_ACCESSOR",
"OBJECT_LITERAL_METHOD",
"OBJECT_LITERAL_ACCESSOR"
].reduce((obj, name) => {
return Object.defineProperty(obj, name, { value: Symbol(name) });
}, {})
static getDeclarationType(args) {
let [target, name, descriptor] = Array.slice(args);
if (... | "CLASS_ACCESSOR",
"OBJECT_LITERAL_METHOD",
"OBJECT_LITERAL_ACCESSOR"
].reduce((obj, name) => {
return Object.defineProperty(obj, name, { value: Symbol(name) });
}, {})
static getDeclarationType(args) {
let [target, name, descriptor] = Array.slice(args);
if (args.length === 1 && typeof ta... | <|file_sep|>original/index.js
"CLASS_ACCESSOR",
"OBJECT_LITERAL_METHOD",
"OBJECT_LITERAL_ACCESSOR"
].reduce((obj, name) => {
return Object.defineProperty(obj, name, { value: Symbol(name) });
}, {})
static getDeclarationType(args) {
let [target, name, descriptor] = Array.slice(args);
if (... | db8e102e618ef8b49a4887523da6563146a3ea91 | index.js | index.js | JavaScript |
<|file_sep|>original/app/Http/Middleware/TrustProxies.php
{
/**
* The trusted proxies for this application.
*
* @var array
*/
protected $proxies;
/**
* The current proxy header mappings.
*
* @var array
*/
protected $headers = [
Request::HEADER_FORWARDED =... | namespace Pterodactyl\Http\Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array
*/
protected $proxies;
/**
* The current proxy header mapping... | <|file_sep|>original/app/Http/Middleware/TrustProxies.php
{
/**
* The trusted proxies for this application.
*
* @var array
*/
protected $proxies;
/**
* The current proxy header mappings.
*
* @var array
*/
protected $headers = [
Request::HEADER_FORWARDED =... | 53829399dede83c995f13054fde6df4008a375d6 | app/Http/Middleware/TrustProxies.php | app/Http/Middleware/TrustProxies.php | PHP |
<|file_sep|>original/project.clj
(defproject funcool/promesa "0.5.0-SNAPSHOT"
:description "A promise library for ClojureScript"
:url "https://github.com/funcool/promesa"
:license {:name "BSD (2 Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0" ... | (defproject funcool/promesa "0.5.0-SNAPSHOT"
:description "A promise library for ClojureScript"
:url "https://github.com/funcool/promesa"
:license {:name "BSD (2 Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
... | <|file_sep|>original/project.clj
(defproject funcool/promesa "0.5.0-SNAPSHOT"
:description "A promise library for ClojureScript"
:url "https://github.com/funcool/promesa"
:license {:name "BSD (2 Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0" ... | b2436f30e3238bd4c01eb444f71077dbfdfd8d26 | project.clj | project.clj | Clojure |
<|file_sep|>original/db/migrate/20170127032550_remove_backlog_lists_from_boards.rb
class RemoveBacklogListsFromBoards < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
execute <<-SQL
DELETE FROM lists WHERE list_type = 0;
SQL
end
def down
execute... | class RemoveBacklogListsFromBoards < ActiveRecord::Migration
DOWNTIME = false
def up
execute <<-SQL
DELETE FROM lists WHERE list_type = 0;
SQL
end
def down
execute <<-SQL
INSERT INTO lists (board_id, list_type, created_at, updated_at)
SELECT boards.id, 0, NOW(), NOW()
FROM ... | <|file_sep|>original/db/migrate/20170127032550_remove_backlog_lists_from_boards.rb
class RemoveBacklogListsFromBoards < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
execute <<-SQL
DELETE FROM lists WHERE list_type = 0;
SQL
end
def down
execute... | b129187267292fb1052c984878f5d6f41483c204 | db/migrate/20170127032550_remove_backlog_lists_from_boards.rb | db/migrate/20170127032550_remove_backlog_lists_from_boards.rb | Ruby |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.4
- release
- tip
install:
- go get github.com/go-sql-driver/mysql
- go get github.com/cenkalti/backoff
- go get github.com/joho/godotenv
- go get github.com/codegangsta/cli
env:
- ENV=test
script:
- go test -v ./...
<|file_sep|>current/.travis.yml... | language: go
go:
- 1.4
- release
- tip
install:
- go get github.com/go-sql-driver/mysql
- go get github.com/cenkalti/backoff
- go get github.com/joho/godotenv
- go get github.com/codegangsta/cli
- go get github.com/DATA-DOG/go-sqlmock
env:
- ENV=test
script:
- go test -v ./... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.4
- release
- tip
install:
- go get github.com/go-sql-driver/mysql
- go get github.com/cenkalti/backoff
- go get github.com/joho/godotenv
- go get github.com/codegangsta/cli
env:
- ENV=test
script:
- go test -v ./...
<|file_sep|>current/.travis.yml... | da5391adca55cab70620f9603a621df660d4ea2b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/spec/dummy/config/environments/development.rb
# Do not eager load code on boot.
config.eager_load = false
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Don't care if the mailer can't se... | # since you don't have to restart the web server when you make code changes.
config.cache_classes = false
# Do not eager load code on boot.
config.eager_load = false
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = ... | <|file_sep|>original/spec/dummy/config/environments/development.rb
# Do not eager load code on boot.
config.eager_load = false
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Don't care if the mailer can't se... | 7ddc7e2ac20e6996b2c7adc8c13bcd9d4361d66f | spec/dummy/config/environments/development.rb | spec/dummy/config/environments/development.rb | Ruby |
<|file_sep|>src/main/servers-manager.js.diff
original:
updated:
// Path and port are mandatory
if (!options.path && !options.port) {
throw new Error('You have to chose a directory and a port');
}
if (!options.path) {
throw new Error('You have to chose a directory');
}
if (!options.p... | }
if (!options.path) {
throw new Error('You have to chose a directory');
}
if (!options.port) {
throw new Error('You have to chose a port');
}
try {
let server = new Server(options);
this.servers.push(server);
} catch(e) {
console.log(e);
throw new Error(... | <|file_sep|>src/main/servers-manager.js.diff
original:
updated:
// Path and port are mandatory
if (!options.path && !options.port) {
throw new Error('You have to chose a directory and a port');
}
if (!options.path) {
throw new Error('You have to chose a directory');
}
if (!options.p... | 76f2c91709ade13fe0debf7d44e384e4210cd614 | src/main/servers-manager.js | src/main/servers-manager.js | JavaScript |
<|file_sep|>original/tests/MoneyFormatterTest.php
{
/** @test */
public function should_format_as_english_pounds()
{
$formatter = new MoneyFormatter('en_GB');
$this->assertEquals('£10.00', $formatter->format(new Money(1000, new Currency('GBP'))));
}
/** @test */
public function ... |
/** @test */
public function should_format_as_american_dollars()
{
$formatter = new MoneyFormatter('en_US');
$this->assertEquals('$10.00', $formatter->format(new Money(1000, new Currency('USD'))));
}
public function should_format_as_european_euros()
{
$formatter = new M... | <|file_sep|>original/tests/MoneyFormatterTest.php
{
/** @test */
public function should_format_as_english_pounds()
{
$formatter = new MoneyFormatter('en_GB');
$this->assertEquals('£10.00', $formatter->format(new Money(1000, new Currency('GBP'))));
}
/** @test */
public function ... | 46455cc13f8e5c15ccedb006aebfdcdd5b0ca5af | tests/MoneyFormatterTest.php | tests/MoneyFormatterTest.php | PHP |
<|file_sep|>utp_test.go.diff
original:
func connPairSocket(s *Socket) (initer, accepted net.Conn) {
updated:
func connPairSocket(s *Socket) (dialed, accepted net.Conn) {
<|file_sep|>original/utp_test.go
return
})
}
func connPairSocket(s *Socket) (initer, accepted net.Conn) {
var wg sync.WaitGroup
wg.Add(1)
go fu... | return
})
}
func connPairSocket(s *Socket) (dialed, accepted net.Conn) {
var wg sync.WaitGroup
wg.Add(1)
go func() {
defer wg.Done()
var err error
dialed, err = s.Dial(s.Addr().String())
if err != nil {
panic(err)
}
}()
accepted, err := s.Accept()
if err != nil {
panic(err)
}
wg.Wait()
retur... | <|file_sep|>utp_test.go.diff
original:
func connPairSocket(s *Socket) (initer, accepted net.Conn) {
updated:
func connPairSocket(s *Socket) (dialed, accepted net.Conn) {
<|file_sep|>original/utp_test.go
return
})
}
func connPairSocket(s *Socket) (initer, accepted net.Conn) {
var wg sync.WaitGroup
wg.Add(1)
go fu... | 226a8dfc8e7a6f32a7fffacc7313dea1edc0d3e4 | utp_test.go | utp_test.go | Go |
<|file_sep|>original/config/kbaird-twistage-desktop.yml
site: 'http://kbaird-twistage-desktop:3000'
user: 'corcoran-admin@twistage.com'
password: 'Testing1'
company: 'corcoran'
license_key: '441a869594091'
album_id: 'ma7c46256ac25'
image_id: 'ic5d79a80c436'
track_id: 't86aa451e2aa1'
video_id: 'bc3f6246c3ed2'
<|file_sep... | site: 'http://kbaird-twistage-desktop:3000'
company: 'corcoran'
license_key: '441a869594091'
album_id: 'ma7c46256ac25'
image_id: 'ic5d79a80c436'
track_id: 't86aa451e2aa1'
video_id: 'bc3f6246c3ed2' | <|file_sep|>original/config/kbaird-twistage-desktop.yml
site: 'http://kbaird-twistage-desktop:3000'
user: 'corcoran-admin@twistage.com'
password: 'Testing1'
company: 'corcoran'
license_key: '441a869594091'
album_id: 'ma7c46256ac25'
image_id: 'ic5d79a80c436'
track_id: 't86aa451e2aa1'
video_id: 'bc3f6246c3ed2'
<|file_sep... | e29eb89bbccaef871ed5ead304273d1a57615590 | config/kbaird-twistage-desktop.yml | config/kbaird-twistage-desktop.yml | YAML |
<|file_sep|>original/Twig/Text/PadStringExtension.php
<?php
namespace DMS\Bundle\TwigExtensionBundle\Twig\Date;
/**
* Adds support for Padding a String in Twig
*/
class PadStringExtension extends \Twig_Extension
{
/**
* Name of Extension
*
* @return string
*/
public function getName()
... | <?php
namespace DMS\Bundle\TwigExtensionBundle\Twig\Text;
/**
* Adds support for Padding a String in Twig
*/
class PadStringExtension extends \Twig_Extension
{
/**
* Name of Extension
*
* @return string
*/
public function getName()
{
return 'PadStringExtension';
}
/**... | <|file_sep|>original/Twig/Text/PadStringExtension.php
<?php
namespace DMS\Bundle\TwigExtensionBundle\Twig\Date;
/**
* Adds support for Padding a String in Twig
*/
class PadStringExtension extends \Twig_Extension
{
/**
* Name of Extension
*
* @return string
*/
public function getName()
... | 75c7802376a44ba703fcfc2783d33baf1030b16c | Twig/Text/PadStringExtension.php | Twig/Text/PadStringExtension.php | PHP |
<|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Documentation
Sphinx==1.6.6
sphinxcontrib-httpdomain==1.5.0
pygments==2.2.0
# Linting
flake8==3.5.0
# Unit testing
pytest==3.3.1
mock==2.0.0
webtest==2.0.29
pytest-cov==2.5.1
coveralls==1.2.0
<|file_sep|>current/require... | # Runtime requirements
--requirement requirements.txt
# Documentation
Sphinx==1.6.6
sphinxcontrib-httpdomain==1.6.0
pygments==2.2.0
# Linting
flake8==3.5.0
# Unit testing
pytest==3.3.1
mock==2.0.0
webtest==2.0.29
pytest-cov==2.5.1
coveralls==1.2.0 | <|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Documentation
Sphinx==1.6.6
sphinxcontrib-httpdomain==1.5.0
pygments==2.2.0
# Linting
flake8==3.5.0
# Unit testing
pytest==3.3.1
mock==2.0.0
webtest==2.0.29
pytest-cov==2.5.1
coveralls==1.2.0
<|file_sep|>current/require... | b0b00964742007cd461bf8dc921c40b824113a7c | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/autoload.php
<?php
use wcatron\MySQLDBFramework\MyDB;
require_once __DIR__ . '/vendor/autoload.php';
if (file_exists('config.ini')) {
$config = parse_ini_file('config.ini');
MyDB::configure($config['mysql']);
} else {
$config = [
"host" => "127.0.0.1",
"db" => "mysql_... |
use wcatron\MySQLDBFramework\MyDB;
require_once __DIR__ . '/vendor/autoload.php';
if (file_exists('config.ini')) {
$config = parse_ini_file('config.ini');
MyDB::configure($config['mysql']);
} else {
$config = [
"host" => "127.0.0.1",
"user" => "root",
"pass" => "",
"db" =>... | <|file_sep|>original/autoload.php
<?php
use wcatron\MySQLDBFramework\MyDB;
require_once __DIR__ . '/vendor/autoload.php';
if (file_exists('config.ini')) {
$config = parse_ini_file('config.ini');
MyDB::configure($config['mysql']);
} else {
$config = [
"host" => "127.0.0.1",
"db" => "mysql_... | 69ec36102bf35b0e6f4ed9b0c2856b197d4b5fa7 | autoload.php | autoload.php | PHP |
<|file_sep|>original/package.json
"name": "ofirehose",
"version": "0.2.0-alpha.1",
"dependencies": {
"express": "2.5.x",
"underscore": "1.4.x",
"utml": "0.2.x",
"databank": "0.18.x"
},
"scripts": {
"pretest": "coffee -o lib/ -c src/*.coffee",
"test": "... | "name": "ofirehose",
"version": "0.2.0-alpha.1",
"dependencies": {
"express": "2.5.x",
"underscore": "1.4.x",
"utml": "0.2.x",
"databank": "0.18.x"
},
"scripts": {
"pretest": "coffee -o lib/ -c src/*.coffee",
"test": "nyc -r text -r lcov perjury test/*... | <|file_sep|>original/package.json
"name": "ofirehose",
"version": "0.2.0-alpha.1",
"dependencies": {
"express": "2.5.x",
"underscore": "1.4.x",
"utml": "0.2.x",
"databank": "0.18.x"
},
"scripts": {
"pretest": "coffee -o lib/ -c src/*.coffee",
"test": "... | 17e71fbafe338951eb57eb5baf2ae0fe15048fdc | package.json | package.json | JSON |
<|file_sep|>original/app/controllers/second_level_browse_page_controller.rb
end
private
def show_html
render :show, locals: {
page: page,
meta_section: meta_section
}
end
def meta_section
page.active_top_level_browse_page.title.downcase
end
def page
MainstreamBrowsePage.find(... | end
private
def show_html
render :show, locals: {
page: page,
meta_section: meta_section
}
end
def meta_section
page.active_top_level_browse_page.title.downcase
end
def page
@page ||= MainstreamBrowsePage.find(
"/browse/#{params[:top_level_slug]}/#{params[:second_level_... | <|file_sep|>original/app/controllers/second_level_browse_page_controller.rb
end
private
def show_html
render :show, locals: {
page: page,
meta_section: meta_section
}
end
def meta_section
page.active_top_level_browse_page.title.downcase
end
def page
MainstreamBrowsePage.find(... | 41589d735d0950dc4423d4cc0e071245f2a16282 | app/controllers/second_level_browse_page_controller.rb | app/controllers/second_level_browse_page_controller.rb | Ruby |
<|file_sep|>original/lib/legal_markdown/legal_to_markdown/writer.rb
module LegalToMarkdown
extend self
def write_it( final_content, writer )
final_content = final_content.gsub(/ +\n/, "\n") if writer == :markdown
require 'json' if writer == :jason
if @output_file && @output_file != "-"
File.open(... | module LegalToMarkdown
extend self
def write_it( final_content, writer )
final_content = final_content.gsub(/ +\n/, "\n") if writer == :markdown
require 'json' if writer == :jason
if @output_file && @output_file != "-"
File.open(@output_file, "w") {|f| f.write( final_content ); f.close } if write... | <|file_sep|>original/lib/legal_markdown/legal_to_markdown/writer.rb
module LegalToMarkdown
extend self
def write_it( final_content, writer )
final_content = final_content.gsub(/ +\n/, "\n") if writer == :markdown
require 'json' if writer == :jason
if @output_file && @output_file != "-"
File.open(... | c7eb4d1958408ae05deb4797ceeca3b1ecb92560 | lib/legal_markdown/legal_to_markdown/writer.rb | lib/legal_markdown/legal_to_markdown/writer.rb | Ruby |
<|file_sep|>command_line/dash_upper_i_spec.rb.diff
original:
ruby_exe(@script, options: "-I fixtures").lines[0].should == "#{Dir.pwd}/fixtures\n"
updated:
ruby_exe(@script, options: "-I fixtures").lines.should include "#{Dir.pwd}/fixtures\n"
<|file_sep|>command_line/dash_upper_i_spec.rb.diff
original:
ruby_... | it "expands a path from CWD even if it does not exist" do
ruby_exe(@script, options: "-I not_exist/not_exist").lines.should include "#{Dir.pwd}/not_exist/not_exist\n"
end
end
describe "The -I command line option" do
before :each do
@script = fixture __FILE__, "loadpath.rb"
@fixtures = File.dirname(@s... | <|file_sep|>command_line/dash_upper_i_spec.rb.diff
original:
ruby_exe(@script, options: "-I fixtures").lines[0].should == "#{Dir.pwd}/fixtures\n"
updated:
ruby_exe(@script, options: "-I fixtures").lines.should include "#{Dir.pwd}/fixtures\n"
<|file_sep|>command_line/dash_upper_i_spec.rb.diff
original:
ruby_... | 610f214f83466783ff4dd50b7f6a567a2ba2eabf | command_line/dash_upper_i_spec.rb | command_line/dash_upper_i_spec.rb | Ruby |
<|file_sep|>.github/workflows/ci.yml.diff
original:
node-version: [14.x, 16.x]
updated:
node-version: [14.x, 15.x]
<|file_sep|>original/.github/workflows/ci.yml
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps... | pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 15.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matr... | <|file_sep|>.github/workflows/ci.yml.diff
original:
node-version: [14.x, 16.x]
updated:
node-version: [14.x, 15.x]
<|file_sep|>original/.github/workflows/ci.yml
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps... | f847b688719813e5f9d7776c2a1ef63b2b4b8441 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>_assets/stylesheets/_thumbnail-grids.scss.diff
original:
updated:
<|file_sep|>_assets/stylesheets/_thumbnail-grids.scss.diff
original:
margin: 0.5vw;
updated:
margin: 0.5vw !important; // override
<|file_sep|>_assets/stylesheets/_thumbnail-grids.scss.diff
original:
updated:
<|file_sep|>original/... | margin: 0.5vw !important; // override
width: 100px;
}
a {
border-bottom-width: 0 !important; // override
img {
// Image hover animation
transition: transform 0.3s;
&:hover {
transform: scale(1.1);
box-shadow: 0 0 10px rgba($black, .20);
}
}
}
img {
... | <|file_sep|>_assets/stylesheets/_thumbnail-grids.scss.diff
original:
updated:
<|file_sep|>_assets/stylesheets/_thumbnail-grids.scss.diff
original:
margin: 0.5vw;
updated:
margin: 0.5vw !important; // override
<|file_sep|>_assets/stylesheets/_thumbnail-grids.scss.diff
original:
updated:
<|file_sep|>original/... | 21a7b5ce40567e0f9a858c017398a79329adaf01 | _assets/stylesheets/_thumbnail-grids.scss | _assets/stylesheets/_thumbnail-grids.scss | SCSS |
<|file_sep|>original/appveyor.yml
clone_folder: c:\gopath\src\github.com\git-time-metric\gtm
environment:
GOPATH: c:\gopath
install:
- set PATH=C:\msys64\usr\bin;%PATH%
- go get -d github.com\libgit2\git2go
- cd c:\gopath\src\github.com\libgit2\git2go
- git checkout next
- git submodule update --init
- ... | clone_folder: c:\gopath\src\github.com\git-time-metric\gtm
environment:
GOPATH: c:\gopath
install:
- set PATH=C:\msys64\usr\bin;%PATH%
- go get -d github.com\libgit2\git2go
- cd c:\gopath\src\github.com\libgit2\git2go
- git checkout next
- git submodule update --init
- bash -lc "cp /c/gopath/src/github... | <|file_sep|>original/appveyor.yml
clone_folder: c:\gopath\src\github.com\git-time-metric\gtm
environment:
GOPATH: c:\gopath
install:
- set PATH=C:\msys64\usr\bin;%PATH%
- go get -d github.com\libgit2\git2go
- cd c:\gopath\src\github.com\libgit2\git2go
- git checkout next
- git submodule update --init
- ... | 4b1a702b689b2925bf908264334227849693d9f7 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/app/pages/session-detail/session-detail.html
<h1>{{session.name}}</h1>
<ion-divider>
<ion-item no-lines>
<div class="stars">
<star *ngFor="let star of stars" [active]="star <= _rating" (rate)="onRate($event)" [position]="star">
</star>
</div>
</ion-item>
... | <h1>{{session.name}}</h1>
<ion-divider>
<ion-item no-lines>
<div class="stars">
<star *ngFor="let star of stars" [active]="star <= _rating" (rate)="onRate($event)" [position]="star">
</star>
</div>
</ion-item>
<ion-item>
<ion-input type="text" placeholder="Write a comm... | <|file_sep|>original/app/pages/session-detail/session-detail.html
<h1>{{session.name}}</h1>
<ion-divider>
<ion-item no-lines>
<div class="stars">
<star *ngFor="let star of stars" [active]="star <= _rating" (rate)="onRate($event)" [position]="star">
</star>
</div>
</ion-item>
... | 9ffbacd6535684861bf7bc4f1ee64081e6dce537 | app/pages/session-detail/session-detail.html | app/pages/session-detail/session-detail.html | HTML |
<|file_sep|>original/JSNLog.aspnet5/PublicFacing/Configuration/JSNlogLogger.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Extensions.Logging;
using JSNLog.Infrastructure;
namespace JSNLog
{
internal class JSNlogLogger : IJSNLogLogger
{
private... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Extensions.Logging;
using JSNLog.Infrastructure;
namespace JSNLog
{
public class JSNlogLogger : IJSNLogLogger
{
private ILoggerFactory _loggerFactory;
public JSNlogLogger(ILoggerFactory logge... | <|file_sep|>original/JSNLog.aspnet5/PublicFacing/Configuration/JSNlogLogger.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Extensions.Logging;
using JSNLog.Infrastructure;
namespace JSNLog
{
internal class JSNlogLogger : IJSNLogLogger
{
private... | 2b87997ff753d92912ebb67070f0a9dabec43b2b | JSNLog.aspnet5/PublicFacing/Configuration/JSNlogLogger.cs | JSNLog.aspnet5/PublicFacing/Configuration/JSNlogLogger.cs | C# |
<|file_sep|>main.cpp.diff
original:
updated:
#include <iostream>
<|file_sep|>original/main.cpp
using namespace std;
int main(int argc, char *argv[])
{
const string task_fname = "task_list.txt";
const size_t concurrency = 2;
ifstream task_stream{task_fname};
TaskListSimple task_list{task_stream, "./"... | #include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
const string task_fname = "task_list.txt";
const size_t concurrency = 2;
ifstream task_stream{task_fname};
if ( !task_stream.is_open() )
{
cout << "Can`t open <" << task_fname << ">, break." << endl;
retur... | <|file_sep|>main.cpp.diff
original:
updated:
#include <iostream>
<|file_sep|>original/main.cpp
using namespace std;
int main(int argc, char *argv[])
{
const string task_fname = "task_list.txt";
const size_t concurrency = 2;
ifstream task_stream{task_fname};
TaskListSimple task_list{task_stream, "./"... | b6c95361843cea1a16e6a1287ce247987b668b2b | main.cpp | main.cpp | C++ |
<|file_sep|>original/docs/_templates/layout.html
{% extends "!layout.html" %}
{% block footer %}
{{ super() }}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-22002334-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type... | {% extends "!layout.html" %}
{% block extrahead %}
{{ super() }}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-22002334-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.... | <|file_sep|>original/docs/_templates/layout.html
{% extends "!layout.html" %}
{% block footer %}
{{ super() }}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-22002334-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type... | 4f40477c39a26f1717abfafb81052ec2dc1eaf9a | docs/_templates/layout.html | docs/_templates/layout.html | HTML |
<|file_sep|>original/test/koans/map_sets_koans_test.exs
defmodule MapSetsTest do
use ExUnit.Case
import TestHarness
test "MapSets" do
answers = [
1,
3,
{:multiple, [false, true]},
true,
{:multiple, [true, false]},
true,
false,
false,
true,
7,
... | defmodule MapSetsTest do
use ExUnit.Case
import TestHarness
test "MapSets" do
answers = [
3,
{:multiple, [false, true]},
true,
{:multiple, [true, false]},
true,
false,
false,
true,
7,
[1, 2, 3, 4, 5]
]
test_all(MapSets, answers)
end
end | <|file_sep|>original/test/koans/map_sets_koans_test.exs
defmodule MapSetsTest do
use ExUnit.Case
import TestHarness
test "MapSets" do
answers = [
1,
3,
{:multiple, [false, true]},
true,
{:multiple, [true, false]},
true,
false,
false,
true,
7,
... | ad5952c7ab06306f61f5fd6e3eda015762d3b82b | test/koans/map_sets_koans_test.exs | test/koans/map_sets_koans_test.exs | Elixir |
<|file_sep|>original/.travis.yml
language: python
env:
- TOX_ENV=py27-dj-1.7
- TOX_ENV=py27-dj-1.8
- TOX_ENV=py27-dj-1.9
- TOX_ENV=py27-dj-master
- TOX_ENV=py34-dj-1.7
- TOX_ENV=py34-dj-1.8
- TOX_ENV=py34-dj-1.9
- TOX_ENV=py34-dj-master
- TOX_ENV=py35-dj-1.8
- TOX_ENV=py35-dj-1.9... | language: python
python: '3.5'
env:
- TOX_ENV=py27-dj-1.7
- TOX_ENV=py27-dj-1.8
- TOX_ENV=py27-dj-1.9
- TOX_ENV=py27-dj-master
- TOX_ENV=py34-dj-1.7
- TOX_ENV=py34-dj-1.8
- TOX_ENV=py34-dj-1.9
- TOX_ENV=py34-dj-master
- TOX_ENV=py35-dj-1.8
- TOX_ENV=py35-dj-1.9
- TOX_ENV=py35... | <|file_sep|>original/.travis.yml
language: python
env:
- TOX_ENV=py27-dj-1.7
- TOX_ENV=py27-dj-1.8
- TOX_ENV=py27-dj-1.9
- TOX_ENV=py27-dj-master
- TOX_ENV=py34-dj-1.7
- TOX_ENV=py34-dj-1.8
- TOX_ENV=py34-dj-1.9
- TOX_ENV=py34-dj-master
- TOX_ENV=py35-dj-1.8
- TOX_ENV=py35-dj-1.9... | 57bb3871d11253dd9fb4948b8201341c47506a6a | .travis.yml | .travis.yml | YAML |
<|file_sep|>mleap-spring-boot/src/main/scala/ml/combust/mleap/springboot/ModelLoader.scala.diff
original:
import scala.io.Source
updated:
import java.nio.file.{Paths, Files}
<|file_sep|>mleap-spring-boot/src/main/scala/ml/combust/mleap/springboot/ModelLoader.scala.diff
original:
} else {
logger.info(s"Loading... | def loadModel(): Unit = {
if (modelConfigPath == null) {
logger.info("Skipping loading model on startup")
return
}
val configPath = Paths.get(modelConfigPath)
if (!Files.exists(configPath)) {
logger.warn(s"Model path does not exist: $modelConfigPath")
return
}
logger... | <|file_sep|>mleap-spring-boot/src/main/scala/ml/combust/mleap/springboot/ModelLoader.scala.diff
original:
import scala.io.Source
updated:
import java.nio.file.{Paths, Files}
<|file_sep|>mleap-spring-boot/src/main/scala/ml/combust/mleap/springboot/ModelLoader.scala.diff
original:
} else {
logger.info(s"Loading... | 871a23fb40b040d5f9b69daf6af00e4bc78ab36a | mleap-spring-boot/src/main/scala/ml/combust/mleap/springboot/ModelLoader.scala | mleap-spring-boot/src/main/scala/ml/combust/mleap/springboot/ModelLoader.scala | Scala |
<|file_sep|>original/target/product/locales_full.mk
# The locales from the ICU "-large.dat" data set.
# See external/icu4c/stubdata.
# This is distinct from "languages_full.mk", which contains those locales for
# which we have translations. If you like, this file is i18n rather than l18n.
PRODUCT_LOCALES := cs_CZ da_DA... | # The locales from the ICU "-large.dat" data set.
# See external/icu4c/stubdata.
# This is distinct from "languages_full.mk", which contains those locales for
# which we have translations. If you like, this file is i18n rather than l18n.
PRODUCT_LOCALES := cs_CZ da_DK de_AT de_CH de_DE de_LI el_GR en_AU en_CA en_GB en_... | <|file_sep|>original/target/product/locales_full.mk
# The locales from the ICU "-large.dat" data set.
# See external/icu4c/stubdata.
# This is distinct from "languages_full.mk", which contains those locales for
# which we have translations. If you like, this file is i18n rather than l18n.
PRODUCT_LOCALES := cs_CZ da_DA... | 040e8cf01b2078432ec5e52b01d238de39245833 | target/product/locales_full.mk | target/product/locales_full.mk | Makefile |
<|file_sep|>original/init.rb
lib_dir = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include?(lib_dir)
libraries_dir = ENV['LIBRARIES_DIR']
unless libraries_dir.nil?
libraries_dir = File.expand_path(libraries_dir)
$LOAD_PATH.unshift libraries_dir unless $LOAD_PATH.include?(libra... | lib_dir = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include?(lib_dir)
libraries_dir = ENV['LIBRARIES_HOME']
unless libraries_dir.nil?
libraries_dir = File.expand_path(libraries_dir)
$LOAD_PATH.unshift libraries_dir unless $LOAD_PATH.include?(libraries_dir)
end
require 'sche... | <|file_sep|>original/init.rb
lib_dir = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include?(lib_dir)
libraries_dir = ENV['LIBRARIES_DIR']
unless libraries_dir.nil?
libraries_dir = File.expand_path(libraries_dir)
$LOAD_PATH.unshift libraries_dir unless $LOAD_PATH.include?(libra... | 61787ea5eb8f4aedc4b909f167e5ac97098e1a88 | init.rb | init.rb | Ruby |
<|file_sep|>original/RELEASE_NOTES.md
# Release Notes
## Version 1.3 (4/12/2013)
* Add "commands" command
* Add "ls" command
* Add "upload" command
* Add "download" command
* Add "files" to scope of requested access from App.net
## Version 1.2 (4/7/2013)
* Add Why Wry? section to README
* Add images for App.net direct... | # Release Notes
## Version 1.4 (4/29/2013)
* Add pretty-printing for JSON
* Remove requirement for CocoaPods
* Add multi-user support
## Version 1.3 (4/12/2013)
* Add "commands" command
* Add "ls" command
* Add "upload" command
* Add "download" command
* Add "files" to scope of requested access from App.net
## Versi... | <|file_sep|>original/RELEASE_NOTES.md
# Release Notes
## Version 1.3 (4/12/2013)
* Add "commands" command
* Add "ls" command
* Add "upload" command
* Add "download" command
* Add "files" to scope of requested access from App.net
## Version 1.2 (4/7/2013)
* Add Why Wry? section to README
* Add images for App.net direct... | bfe87c27dfce39e973fcad5782cff016982a08c7 | RELEASE_NOTES.md | RELEASE_NOTES.md | Markdown |
<|file_sep|>terminal/bash/bash_prompt.sh.diff
original:
local color_blue='\[\e[1;34m\]'
updated:
local color_green='\[\e[1;32m\]'
<|file_sep|>terminal/bash/bash_prompt.sh.diff
original:
echo -n "${color_blue}\W${color_white} : "
updated:
echo -n "${color_green}\W${color_white} : "
<|file_sep|>terminal/bash/bash_pro... | if git rev-parse --git-dir &> /dev/null; then
# Output name of current branch
echo -n "${color_green}"
echo -n "$(git rev-parse --abbrev-ref HEAD 2> /dev/null)"
echo -n "${color_white} : "
fi
# Output $ for user and # for root
echo -n "${color_green}\$ ${color_reset}"
}
# Run the following for each new... | <|file_sep|>terminal/bash/bash_prompt.sh.diff
original:
local color_blue='\[\e[1;34m\]'
updated:
local color_green='\[\e[1;32m\]'
<|file_sep|>terminal/bash/bash_prompt.sh.diff
original:
echo -n "${color_blue}\W${color_white} : "
updated:
echo -n "${color_green}\W${color_white} : "
<|file_sep|>terminal/bash/bash_pro... | 14c71a58c4b67a0d48897cb63f8c474adda4cf15 | terminal/bash/bash_prompt.sh | terminal/bash/bash_prompt.sh | Shell |
<|file_sep|>original/src/main/resources/builtin/basex.org/modules/prof.xqy
<|file_sep|>current/src/main/resources/builtin/basex.org/modules/prof.xqy
<|file_sep|>updated/src/main/resources/builtin/basex.org/modules/prof.xqy | xquery version "3.0";
(:~
: BaseX Profiling Module functions
:
: @see http://docs.basex.org/wiki/Profiling_Module
:)
module namespace prof = "http://basex.org/modules/prof";
import module namespace a = "http://reecedunn.co.uk/xquery/annotations" at "res://reecedunn.co.uk/xquery/annotations.xqy";
declare %a:since("bas... | <|file_sep|>original/src/main/resources/builtin/basex.org/modules/prof.xqy
<|file_sep|>current/src/main/resources/builtin/basex.org/modules/prof.xqy
<|file_sep|>updated/src/main/resources/builtin/basex.org/modules/prof.xqy
xquery version "3.0";
(:~
: BaseX Profiling Module functions
:
: @see http://docs.basex.org/wik... | 23e81f8aaff0bd601aac29a5302c633340b850e5 | src/main/resources/builtin/basex.org/modules/prof.xqy | src/main/resources/builtin/basex.org/modules/prof.xqy | XQuery |
<|file_sep|>original/lib/koi/engine.rb
require_relative "middleware/url_redirect"
module Koi
class Engine < ::Rails::Engine
isolate_namespace Koi
initializer "static assets" do |app|
app.middleware.use ::ActionDispatch::Static, "#{root}/public"
app.middleware.use Koi::UrlRedirect
app.conf... | require_relative "middleware/url_redirect"
module Koi
class Engine < ::Rails::Engine
isolate_namespace Koi
initializer "static assets" do |app|
app.middleware.use ::ActionDispatch::Static, "#{root}/public"
app.middleware.insert_before Rack::Sendfile, Koi::UrlRedirect
app.config.assets.pre... | <|file_sep|>original/lib/koi/engine.rb
require_relative "middleware/url_redirect"
module Koi
class Engine < ::Rails::Engine
isolate_namespace Koi
initializer "static assets" do |app|
app.middleware.use ::ActionDispatch::Static, "#{root}/public"
app.middleware.use Koi::UrlRedirect
app.conf... | c84210737ff18bed760019df3d922a102c7bac71 | lib/koi/engine.rb | lib/koi/engine.rb | Ruby |
<|file_sep|>recipes/vl-convert-python/meta.yaml.diff
original:
- python >=3.7
updated:
- python
<|file_sep|>original/recipes/vl-convert-python/meta.yaml
requirements:
build:
- {{ compiler('c') }} # [not win]
- {{ compiler('m2w64_c') }} # [win]
- rust >=1.64.0
host:
- python >=3.7
... | requirements:
build:
- {{ compiler('c') }} # [not win]
- {{ compiler('m2w64_c') }} # [win]
- rust >=1.64.0
host:
- python
- pip
- maturin
run:
- python
test:
imports:
- vl_convert
commands:
- pip check
requires:
- pip
about: | <|file_sep|>recipes/vl-convert-python/meta.yaml.diff
original:
- python >=3.7
updated:
- python
<|file_sep|>original/recipes/vl-convert-python/meta.yaml
requirements:
build:
- {{ compiler('c') }} # [not win]
- {{ compiler('m2w64_c') }} # [win]
- rust >=1.64.0
host:
- python >=3.7
... | 91aa1b0dc73d1b72a4cc436af46473d49cfe7c9d | recipes/vl-convert-python/meta.yaml | recipes/vl-convert-python/meta.yaml | YAML |
<|file_sep|>original/asn1crypto/version.py
# coding: utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
__version__ = '0.24.0'
__version_info__ = (0, 24, 0)
<|file_sep|>current/asn1crypto/version.py
# coding: utf-8
from __future__ import unicode_literals, division, absolute_impor... | # coding: utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
__version__ = '0.25.0-alpha'
__version_info__ = (0, 25, 0, 'alpha') | <|file_sep|>original/asn1crypto/version.py
# coding: utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
__version__ = '0.24.0'
__version_info__ = (0, 24, 0)
<|file_sep|>current/asn1crypto/version.py
# coding: utf-8
from __future__ import unicode_literals, division, absolute_impor... | 26bb374b00d667de00a080c4b32e102ac69a0e23 | asn1crypto/version.py | asn1crypto/version.py | Python |
<|file_sep|>original/CONTRIBUTING.md
<|file_sep|>current/CONTRIBUTING.md
<|file_sep|>updated/CONTRIBUTING.md | # Contributing
## Are you writing a migration to change Publishing API data?
We have a lot of migrations added to the Publishing API to change data, our
long term plan is to reduce these so that these can be done via the API itself
and not need migrations. Until we are at that point please use the following
guideline... | <|file_sep|>original/CONTRIBUTING.md
<|file_sep|>current/CONTRIBUTING.md
<|file_sep|>updated/CONTRIBUTING.md
# Contributing
## Are you writing a migration to change Publishing API data?
We have a lot of migrations added to the Publishing API to change data, our
long term plan is to reduce these so that these can be... | a76fb35672e96cd9cc4bb1ea311551fb050e6711 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/pages/release-notes/v7-0/fuel_issues/fuel2_env_delete_resolved.rst
<|file_sep|>current/pages/release-notes/v7-0/fuel_issues/fuel2_env_delete_resolved.rst
<|file_sep|>updated/pages/release-notes/v7-0/fuel_issues/fuel2_env_delete_resolved.rst | * The ``fuel2 env delete`` command, which is a command to delete
an environment, no longer fails.
See `LP1467510 <https://bugs.launchpad.net/fuel/+bug/1467510>`_. | <|file_sep|>original/pages/release-notes/v7-0/fuel_issues/fuel2_env_delete_resolved.rst
<|file_sep|>current/pages/release-notes/v7-0/fuel_issues/fuel2_env_delete_resolved.rst
<|file_sep|>updated/pages/release-notes/v7-0/fuel_issues/fuel2_env_delete_resolved.rst
* The ``fuel2 env delete`` command, which is a command t... | c3da2eb5f2921abe9b45854f3644baf7e000af9f | pages/release-notes/v7-0/fuel_issues/fuel2_env_delete_resolved.rst | pages/release-notes/v7-0/fuel_issues/fuel2_env_delete_resolved.rst | reStructuredText |
<|file_sep|>original/bower.json
"description": "32-bit unsigned integers for PureScript",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"output"
],
"dependencies": {
"purescript-maybe": "^4.0.0",
"purescript-math": "^2.1.1"
},
"devDependencies": {
"purescript-quickchec... | "description": "32-bit unsigned integers for PureScript",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"output"
],
"dependencies": {
"purescript-maybe": "^4.0.0",
"purescript-math": "^2.1.1"
},
"devDependencies": {
"purescript-quickcheck-laws": "garyb/purescript-quick... | <|file_sep|>original/bower.json
"description": "32-bit unsigned integers for PureScript",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"output"
],
"dependencies": {
"purescript-maybe": "^4.0.0",
"purescript-math": "^2.1.1"
},
"devDependencies": {
"purescript-quickchec... | df81a66acf7985daf35bc4cb77ac1b886e3b88f9 | bower.json | bower.json | JSON |
<|file_sep|>spoppy/__init__.py.diff
original:
lock = LockFile('/tmp/spoppy.lock')
updated:
lock = LockFile('/tmp/spoppy')
<|file_sep|>original/spoppy/__init__.py
from . import logging_utils
from .navigation import Leifur
from .config import get_config, set_config, get_config_from... | from . import logging_utils
from .navigation import Leifur
from .config import get_config, set_config, get_config_from_user
lock = LockFile('/tmp/spoppy')
try:
# Try for 5s to acquire the lock
lock.acquire(5)
except LockTimeout:
click.... | <|file_sep|>spoppy/__init__.py.diff
original:
lock = LockFile('/tmp/spoppy.lock')
updated:
lock = LockFile('/tmp/spoppy')
<|file_sep|>original/spoppy/__init__.py
from . import logging_utils
from .navigation import Leifur
from .config import get_config, set_config, get_config_from... | d4b9b9875ce1ccf3934dba648f4422f4147cc87b | spoppy/__init__.py | spoppy/__init__.py | Python |
<|file_sep|>original/.travis.yml
language: java
sudo: false
install: true
script: mvn -B clean install
jdk:
- openjdk8
- oraclejdk8
env:
- JAVA_OPTS="-Xmx3072M -Xms512M -XX:+UseG1GC"
<|file_sep|>current/.travis.yml
language: java
sudo: false
install: true
script: mvn -B clean install
jdk:
- openjdk8
- oraclej... | language: java
sudo: false
install: true
script: mvn -B clean install
jdk:
- openjdk8
- oraclejdk8
- openjdk9
- openjdk10
- openjdk11
env:
- JAVA_OPTS="-Xmx3072M -Xms512M -XX:+UseG1GC" | <|file_sep|>original/.travis.yml
language: java
sudo: false
install: true
script: mvn -B clean install
jdk:
- openjdk8
- oraclejdk8
env:
- JAVA_OPTS="-Xmx3072M -Xms512M -XX:+UseG1GC"
<|file_sep|>current/.travis.yml
language: java
sudo: false
install: true
script: mvn -B clean install
jdk:
- openjdk8
- oraclej... | f0bf5f317e0725fd7b375dfa83859692c79216e6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>sources/EngineWorks/DBAL/Sqlite/Settings.php.diff
original:
updated:
* - enable-exceptions: sqlite will throw \Exceptions instead of errors
<|file_sep|>sources/EngineWorks/DBAL/Sqlite/Settings.php.diff
original:
* - flags: null
updated:
* - flags: 6 => SQLITE3_OPEN_CREATE + SQLITE3_OPEN_READWRITE
<|file... | /**
* Settings for a sqlite connection
*
* - filename: database resource
* - enable-exceptions: sqlite will throw \Exceptions instead of errors
* - prefix: tables prefix
* - flags: 6 => SQLITE3_OPEN_CREATE + SQLITE3_OPEN_READWRITE
* - dump: '' => nothing, 'info' => '-- info messages', 'debug' => SELECT... + inf... | <|file_sep|>sources/EngineWorks/DBAL/Sqlite/Settings.php.diff
original:
updated:
* - enable-exceptions: sqlite will throw \Exceptions instead of errors
<|file_sep|>sources/EngineWorks/DBAL/Sqlite/Settings.php.diff
original:
* - flags: null
updated:
* - flags: 6 => SQLITE3_OPEN_CREATE + SQLITE3_OPEN_READWRITE
<|file... | a0a854239627c608577584b5a562b91c4b783391 | sources/EngineWorks/DBAL/Sqlite/Settings.php | sources/EngineWorks/DBAL/Sqlite/Settings.php | PHP |
<|file_sep|>original/composer.json
{
"name": "pmatseykanets/artisan-io",
"description": "Artisan commands to manage your beanstalkd",
"keywords": ["laravel", "artisan", "beanstalkd", "queue", "job"],
"license": "MIT",
"authors": [
{
"name": "Peter Matseykanets"
}
],
"require": {
"php": "... | {
"name": "pmatseykanets/artisan-beans",
"description": "Easily manage your Beanstalkd job queues right from the Laravel artisan command",
"keywords": ["laravel", "artisan", "beanstalkd", "queue", "job"],
"license": "MIT",
"authors": [
{
"name": "Peter Matseykanets"
}
],
"require": {
"ph... | <|file_sep|>original/composer.json
{
"name": "pmatseykanets/artisan-io",
"description": "Artisan commands to manage your beanstalkd",
"keywords": ["laravel", "artisan", "beanstalkd", "queue", "job"],
"license": "MIT",
"authors": [
{
"name": "Peter Matseykanets"
}
],
"require": {
"php": "... | 394011b4defd6cb90d05b29409514b6099306e8d | composer.json | composer.json | JSON |
<|file_sep|>static/js/controllers/projectTestDetails.js.diff
original:
updated:
var build = item.job.build;
<|file_sep|>static/js/controllers/projectTestDetails.js.diff
original:
content += escapeHtml(item.build.name);
updated:
content += escapeHtml(build.name);
<|file_sep|>st... | content += escapeHtml(build.target);
if (build.author) {
content += ' — ' + build.author.name;
}
content += '</small>';
content += '</h5>';
content += '<p>Test ' + item.result.name;
if (item.duration)... | <|file_sep|>static/js/controllers/projectTestDetails.js.diff
original:
updated:
var build = item.job.build;
<|file_sep|>static/js/controllers/projectTestDetails.js.diff
original:
content += escapeHtml(item.build.name);
updated:
content += escapeHtml(build.name);
<|file_sep|>st... | b421e6ea68c50135a9aacdbee6ada36eb47188e3 | static/js/controllers/projectTestDetails.js | static/js/controllers/projectTestDetails.js | JavaScript |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.7.1
bcrypt==3.1.6
croniter==0.3.30
Cython==0.29.10
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.9
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.3.4
numpy==1.16.4
Pillow==6.0.0
parsedatetime==2.4
psutil==5.6.2... | beautifulsoup4==4.7.1
bcrypt==3.1.6
croniter==0.3.30
Cython==0.29.10
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.9
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.3.4
numpy==1.16.4
Pillow==6.0.0
parsedatetime==2.4
psutil==5.6.2
pyhedrals==0.2.0
python-dateutil==2.8... | <|file_sep|>original/requirements.txt
beautifulsoup4==4.7.1
bcrypt==3.1.6
croniter==0.3.30
Cython==0.29.10
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.9
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.3.4
numpy==1.16.4
Pillow==6.0.0
parsedatetime==2.4
psutil==5.6.2... | 72946f65db7d3d081e27b9138a2d03381191a979 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/css/main.css
body {
font-weight: 400;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}
pre, code {
border: none;
border-radius: 0;
background-color: #f9f9f9;
font-size: 0.8em;
}
pre {
font-size: 1em;
}
code {
color: inherit;
}
#header {
<|file_sep|>current/css/... | body {
font-weight: 400;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}
pre, code {
border: none;
border-radius: 0;
background-color: #f9f9f9;
font-size: 0.85em;
}
pre {
font-size: 1em;
}
code {
color: inherit;
}
#header { | <|file_sep|>original/css/main.css
body {
font-weight: 400;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}
pre, code {
border: none;
border-radius: 0;
background-color: #f9f9f9;
font-size: 0.8em;
}
pre {
font-size: 1em;
}
code {
color: inherit;
}
#header {
<|file_sep|>current/css/... | e8eaabc413ef516782c740b02e43920dc3a1ca0c | css/main.css | css/main.css | CSS |
<|file_sep|>original/Build/AssemblyInfoCommon.cs
// <copyright>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// The following assembly information is common to all Python Tools for V... | // <copyright>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// The following assembly information is common to all Python Tools for Visual
// Studio assemblies.
// If you get compile... | <|file_sep|>original/Build/AssemblyInfoCommon.cs
// <copyright>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// The following assembly information is common to all Python Tools for V... | c87d27a7ce47ec4208c60a4aec188081e03d105a | Build/AssemblyInfoCommon.cs | Build/AssemblyInfoCommon.cs | C# |
<|file_sep|>original/requirements.txt
pyaml==15.8.2
pytest==2.9.1
pytest-runner==2.7.1
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.9.1
<|file_sep|>current/requirements.txt
pyaml==15.8.2
pytest==2.9.1
pytest-runner==2.7.1
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.9.1
<|file_sep|>updated/requirement... | pyaml==15.8.2
pytest==2.9.1
pytest-runner==2.8
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.9.1 | <|file_sep|>original/requirements.txt
pyaml==15.8.2
pytest==2.9.1
pytest-runner==2.7.1
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.9.1
<|file_sep|>current/requirements.txt
pyaml==15.8.2
pytest==2.9.1
pytest-runner==2.7.1
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.9.1
<|file_sep|>updated/requirement... | a5af67a2f5c3defba9f6db4980a1fb63c590d410 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/src/main/java/io/sigpipe/sing/graph/ContainerEntry.java
<|file_sep|>current/src/main/java/io/sigpipe/sing/graph/ContainerEntry.java
<|file_sep|>updated/src/main/java/io/sigpipe/sing/graph/ContainerEntry.java | package io.sigpipe.sing.graph;
import java.io.IOException;
import io.sigpipe.sing.serialization.ByteSerializable;
import io.sigpipe.sing.serialization.SerializationInputStream;
import io.sigpipe.sing.serialization.SerializationOutputStream;
import io.sigpipe.sing.stat.RunningStatistics2D;
public class ContainerEntry... | <|file_sep|>original/src/main/java/io/sigpipe/sing/graph/ContainerEntry.java
<|file_sep|>current/src/main/java/io/sigpipe/sing/graph/ContainerEntry.java
<|file_sep|>updated/src/main/java/io/sigpipe/sing/graph/ContainerEntry.java
package io.sigpipe.sing.graph;
import java.io.IOException;
import io.sigpipe.sing.seria... | c90fb13da6f2fec626836789fae5cbd641bea71a | src/main/java/io/sigpipe/sing/graph/ContainerEntry.java | src/main/java/io/sigpipe/sing/graph/ContainerEntry.java | Java |
<|file_sep|>README.md.diff
original:
Each process has an `Inbox` which is a channel of messages that represent an ordered list of complete messages received over the network.
updated:
Each process has an `Inbox` which is a channel of messages that represent an ordered list of complete messages received over the "networ... | An implementation and simulation of the consensus algorithm described at http://antirez.com/news/71
Definitions
===========
A `Process` is an in memory structure representing a process participating in the consensus protocol that cares about the output value of the algorithm. Despite being in memory, processes are not... | <|file_sep|>README.md.diff
original:
Each process has an `Inbox` which is a channel of messages that represent an ordered list of complete messages received over the network.
updated:
Each process has an `Inbox` which is a channel of messages that represent an ordered list of complete messages received over the "networ... | d1744c360742142bca2a52fc7b215661750870b6 | README.md | README.md | Markdown |
<|file_sep|>original/helios.rb
require "formula"
class Helios < Formula
homepage "https://github.com/spotify/helios"
url "https://oss.sonatype.org/service/local/repositories/releases/content/com/spotify/helios-tools/0.8.279/helios-tools-0.8.279-shaded.jar"
sha1 "072461e7256fcbeb2013ded33a4f8eb427b1c9a9"
versio... | require "formula"
class Helios < Formula
homepage "https://github.com/spotify/helios"
url "https://oss.sonatype.org/service/local/repositories/releases/content/com/spotify/helios-tools/0.8.279/helios-tools-0.8.279-shaded.jar"
sha1 "072461e7256fcbeb2013ded33a4f8eb427b1c9a9"
version "0.8.279"
depends_on :java... | <|file_sep|>original/helios.rb
require "formula"
class Helios < Formula
homepage "https://github.com/spotify/helios"
url "https://oss.sonatype.org/service/local/repositories/releases/content/com/spotify/helios-tools/0.8.279/helios-tools-0.8.279-shaded.jar"
sha1 "072461e7256fcbeb2013ded33a4f8eb427b1c9a9"
versio... | 935c7d01e28cab2e85732d9a6b191e8900e83d5f | helios.rb | helios.rb | Ruby |
<|file_sep|>source/scss/atoms/_colorway.scss.diff
original:
$color-list: ();
@if $color == "primary" {
$color-list: $primary-color--list;
} @else if $color == "accent" {
$color-list: $accent-color--list;
} @else if $color == "grey" {
$color-list: $greyscale-color--list;
} @else {
$color-list: ... | } @else {
$color-list: $pe-shadow-color-list;
}
.#{$color}-colors {
flex-grow: 2;
$i: 0;
@while $i < 6 {
.#{$color}-#{$i} {
width: 100%;
height: 100px;
background-color: nth($color-list, $i + 1);
$i:... | <|file_sep|>source/scss/atoms/_colorway.scss.diff
original:
$color-list: ();
@if $color == "primary" {
$color-list: $primary-color--list;
} @else if $color == "accent" {
$color-list: $accent-color--list;
} @else if $color == "grey" {
$color-list: $greyscale-color--list;
} @else {
$color-list: ... | 85a50ad167a655345d75e79ac8b5e50d946aaa0d | source/scss/atoms/_colorway.scss | source/scss/atoms/_colorway.scss | SCSS |
<|file_sep|>app/initializers/route-spy.js.diff
original:
updated:
let url;
if (transition.targetName && transition.to) {
try {
url = router.urlFor(transition.targetName, transition.to.params );
} catch (e) {}
}
<|file_sep|>app/initializers/route-spy.js.diff
orig... | });
// Add listener for post messages to change the route in the application
window.addEventListener('message', (event) => {
const msg = event.data || {};
// Navigate when asked to
if (msg.action === 'navigate') {
const router = window.ls('router');
// If the route being... | <|file_sep|>app/initializers/route-spy.js.diff
original:
updated:
let url;
if (transition.targetName && transition.to) {
try {
url = router.urlFor(transition.targetName, transition.to.params );
} catch (e) {}
}
<|file_sep|>app/initializers/route-spy.js.diff
orig... | e75b037f1d622209f7d69b96413693218adcacbe | app/initializers/route-spy.js | app/initializers/route-spy.js | JavaScript |
<|file_sep|>original/_posts/2015-05-19-current-workflow-with-sails.js-start-up.markdown
<h2 class="section-heading">Workflow</h2>
<h2 class="section-heading">Current Streak - Start Up</h2>
<br>
<iframe width="100%" height="415" src="https://www.youtube.com/embed/f4E_9_FVd7s" frameborder="0" allowfullscreen></iframe>... | <h2 class="section-heading">Workflow</h2>
<h2 class="section-heading">Current Streak - Start Up</h2>
<br>
<iframe width="100%" height="415" src="https://www.youtube.com/embed/f4E_9_FVd7s" frameborder="0" allowfullscreen></iframe>
Here is a small preview of our Current Web App. The Workflow. We use The Realtime MV... | <|file_sep|>original/_posts/2015-05-19-current-workflow-with-sails.js-start-up.markdown
<h2 class="section-heading">Workflow</h2>
<h2 class="section-heading">Current Streak - Start Up</h2>
<br>
<iframe width="100%" height="415" src="https://www.youtube.com/embed/f4E_9_FVd7s" frameborder="0" allowfullscreen></iframe>... | e799f03ca86b5c2839abc87a923b8caf8857d690 | _posts/2015-05-19-current-workflow-with-sails.js-start-up.markdown | _posts/2015-05-19-current-workflow-with-sails.js-start-up.markdown | Markdown |
<|file_sep|>pick-colour-picker.desktop.diff
original:
Comment[en_us]=Pick is a color picker
updated:
Comment[en_US]=Pick is a color picker
<|file_sep|>pick-colour-picker.desktop.diff
original:
GenericName[en_us]=Color Picker
updated:
GenericName[en_US]=Color Picker
<|file_sep|>pick-colour-picker.desktop.diff
original:
... | [Desktop Entry]
Type=Application
Name=pick
Comment=Pick is a colour picker
Comment[en_US]=Pick is a color picker
GenericName=Colour Picker
GenericName[en_US]=Color Picker
Icon=pick-colour-picker
Exec=pick-colour-picker
Terminal=false
Actions=AboutDialog;PickFirst;
Keywords=color;colour;picker;
[Desktop Action AboutDia... | <|file_sep|>pick-colour-picker.desktop.diff
original:
Comment[en_us]=Pick is a color picker
updated:
Comment[en_US]=Pick is a color picker
<|file_sep|>pick-colour-picker.desktop.diff
original:
GenericName[en_us]=Color Picker
updated:
GenericName[en_US]=Color Picker
<|file_sep|>pick-colour-picker.desktop.diff
original:
... | 7106210ae9f2671b6d4854afef8f447171626d94 | pick-colour-picker.desktop | pick-colour-picker.desktop | desktop |
<|file_sep|>original/project.clj
(defproject onyx-app/lein-template "0.10.0.0-beta16"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:u... | (defproject onyx-app/lein-template "0.10.0.0-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | <|file_sep|>original/project.clj
(defproject onyx-app/lein-template "0.10.0.0-beta16"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:u... | 86c003946f3ca91cd0981e769e8ff6fafa10292e | project.clj | project.clj | Clojure |
<|file_sep|>ci.sh.diff
original:
updated:
echo
echo
echo Testing MarineMap : revision $MERCURIAL_REVISION
echo
echo
coverage run run_tests.py
<|file_sep|>original/ci.sh
echo
echo
echo Building MarineMap docs : revision $MERCURIAL_REVISION
echo
echo
python build_docs.py -d /var/www/marinemap-docs -j /usr/local/js... | echo
echo
echo Testing MarineMap : revision $MERCURIAL_REVISION
echo
echo
coverage run run_tests.py
echo
echo
echo Building MarineMap docs : revision $MERCURIAL_REVISION
echo
echo
python build_docs.py -d /var/www/marinemap-docs -j /usr/local/jsdoc-toolkit-read-only/jsdoc-toolkit
echo
echo
echo Analyzing cover... | <|file_sep|>ci.sh.diff
original:
updated:
echo
echo
echo Testing MarineMap : revision $MERCURIAL_REVISION
echo
echo
coverage run run_tests.py
<|file_sep|>original/ci.sh
echo
echo
echo Building MarineMap docs : revision $MERCURIAL_REVISION
echo
echo
python build_docs.py -d /var/www/marinemap-docs -j /usr/local/js... | 83cbd66d2e5a85f024b76e07a4500663cd2caf2d | ci.sh | ci.sh | Shell |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
pool:
vmImage: 'Ubuntu 16.04'
variables:
buildConfiguration: 'Release'
steps:
#- script: dotne... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/... | 8ac4096cfb4d0d3913673bd457f49bbc52b67843 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
before_install:
- sudo add-apt-repository ppa:mc3man/trusty-media -y
- sudo apt-get update -qq
- sudo apt-get install -qq ffmpeg rtmpdump swftools
install:
- "pip install -r... | sudo: required
dist: trusty
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
before_install:
- sudo add-apt-repository ppa:mc3man/trusty-media -y
- sudo apt-get update -qq
- sudo apt-get install -qq ffmpeg rtmpdump swftools
install:
- "pip install -r requirements.txt"
script:
- export PYTH... | <|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
before_install:
- sudo add-apt-repository ppa:mc3man/trusty-media -y
- sudo apt-get update -qq
- sudo apt-get install -qq ffmpeg rtmpdump swftools
install:
- "pip install -r... | d87146052dbb901056c8e69562247ca9881f6e11 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
{
"name": "grunt-html-gettext",
"description": "Plugin to enable simple parsing of html files extracting inner text from tags with translate attribute set to yes. Output is pot file for gettext workflow",
"version": "0.1.0",
"homepage": "https://github.com/matskm/grunt-html-get... | {
"name": "grunt-html-gettext",
"description": "Plugin to enable simple parsing of html files extracting inner text from tags with translate attribute set to yes. Output is pot file for gettext workflow",
"version": "0.1.1",
"homepage": "https://github.com/matskm/grunt-html-gettext",
"author": {
"name": "... | <|file_sep|>original/package.json
{
"name": "grunt-html-gettext",
"description": "Plugin to enable simple parsing of html files extracting inner text from tags with translate attribute set to yes. Output is pot file for gettext workflow",
"version": "0.1.0",
"homepage": "https://github.com/matskm/grunt-html-get... | adbbe45abbe03b9ef4e2ce864dfc902649cd2693 | package.json | package.json | JSON |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.