prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/.travis.yml
language: go
go:
- 1.2
- tip
before_install:
- go install -race std
- go get code.google.com/p/go.tools/cmd/cover
- go get github.com/kr/godep
- export PATH=$HOME/gopath/bin:$PATH
script:
- godep go test -race ./...
- godep go test -cover ./...
notifications:
irc:
... | language: go
go:
- 1.3
- tip
before_install:
- go install -race std
- go get code.google.com/p/go.tools/cmd/cover
- go get github.com/kr/godep
- export PATH=$HOME/gopath/bin:$PATH
script:
- godep go test -race ./...
- godep go test -cover ./...
notifications:
irc:
channels:
- "chat.freeno... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.2
- tip
before_install:
- go install -race std
- go get code.google.com/p/go.tools/cmd/cover
- go get github.com/kr/godep
- export PATH=$HOME/gopath/bin:$PATH
script:
- godep go test -race ./...
- godep go test -cover ./...
notifications:
irc:
... | b8ca6e704617e44a847c8ea2bc1da049e97e440f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/assets/javascripts/admin/modules/analytics.js
(function (GOVUK) {
'use strict'
GOVUK.Analytics.load()
GOVUK.analyticsVars = { primaryLinkedDomains: [document.domain] }
GOVUK.analytics = new GOVUK.Analytics({
universalId: 'UA-26179049-6', // GOVUK Apps GA ID
cookieDomain: docume... | (function (GOVUK) {
'use strict'
GOVUK.Analytics.load()
GOVUK.analyticsVars = { primaryLinkedDomains: [document.domain] }
GOVUK.analytics = new GOVUK.Analytics({
universalId: 'UA-26179049-6', // GOVUK Apps GA ID
cookieDomain: document.domain
})
GOVUK.analytics.trackPageview()
GOVUK.analyticsPlug... | <|file_sep|>original/app/assets/javascripts/admin/modules/analytics.js
(function (GOVUK) {
'use strict'
GOVUK.Analytics.load()
GOVUK.analyticsVars = { primaryLinkedDomains: [document.domain] }
GOVUK.analytics = new GOVUK.Analytics({
universalId: 'UA-26179049-6', // GOVUK Apps GA ID
cookieDomain: docume... | 086c12fb654fb1a71eb6df9a047f1f2cace8a979 | app/assets/javascripts/admin/modules/analytics.js | app/assets/javascripts/admin/modules/analytics.js | JavaScript |
<|file_sep|>src/js/reverseList.js.diff
original:
reverse(linkList) {
let current = linkList.head;
updated:
reverse() {
let current = this.head;
<|file_sep|>src/js/reverseList.js.diff
original:
linkList.head = prev;
updated:
this.head = prev;
<|file_sep|>original/src/js/reverseList.js
reverse(linkL... | reverse() {
let current = this.head;
let prev;
let next;
while(current) {
// increment next, point next to current.next node
next = current.next;
// set reference/pointer to prev, no longer pointing to current.next/next
current.next = prev;
// increment prev, point t... | <|file_sep|>src/js/reverseList.js.diff
original:
reverse(linkList) {
let current = linkList.head;
updated:
reverse() {
let current = this.head;
<|file_sep|>src/js/reverseList.js.diff
original:
linkList.head = prev;
updated:
this.head = prev;
<|file_sep|>original/src/js/reverseList.js
reverse(linkL... | f5cd6bf752b6340cff6d6135573b74250e619c47 | src/js/reverseList.js | src/js/reverseList.js | JavaScript |
<|file_sep|>original/clang-tidy/mpi/CMakeLists.txt
set(LLVM_LINK_COMPONENTS support)
add_clang_library(clangTidyMPIModule
BufferDerefCheck.cpp
MPITidyModule.cpp
TypeMismatchCheck.cpp
LINK_LIBS
clangAST
clangASTMatchers
clangBasic
clangLex
clangTidy
clangTidyUtils
clangTooling
clangStaticAnalyz... | set(LLVM_LINK_COMPONENTS support)
add_clang_library(clangTidyMPIModule
BufferDerefCheck.cpp
MPITidyModule.cpp
TypeMismatchCheck.cpp
LINK_LIBS
clangAnalysis
clangAST
clangASTMatchers
clangBasic
clangLex
clangTidy
clangTidyUtils
clangTooling
clangStaticAnalyzerCheckers
) | <|file_sep|>original/clang-tidy/mpi/CMakeLists.txt
set(LLVM_LINK_COMPONENTS support)
add_clang_library(clangTidyMPIModule
BufferDerefCheck.cpp
MPITidyModule.cpp
TypeMismatchCheck.cpp
LINK_LIBS
clangAST
clangASTMatchers
clangBasic
clangLex
clangTidy
clangTidyUtils
clangTooling
clangStaticAnalyz... | 3776b2420e7297423a0058fb57f923cda4c9028b | clang-tidy/mpi/CMakeLists.txt | clang-tidy/mpi/CMakeLists.txt | Text |
<|file_sep|>setuptools/tests/test_test.py.diff
original:
@pytest.fixture
def quiet_log():
# Running some of the other tests will automatically
# change the log level to info, messing our output.
import distutils.log
distutils.log.set_verbosity(0)
@pytest.mark.usefixtures('tmpdir_cwd', 'quiet_log')
upd... | 'dummy': {
'__init__.py': '',
'test_dummy.py': DALS(
"""
import unittest
class TestTest(unittest.TestCase):
def test_test(self):
print('Foo')
"""
),
},
... | <|file_sep|>setuptools/tests/test_test.py.diff
original:
@pytest.fixture
def quiet_log():
# Running some of the other tests will automatically
# change the log level to info, messing our output.
import distutils.log
distutils.log.set_verbosity(0)
@pytest.mark.usefixtures('tmpdir_cwd', 'quiet_log')
upd... | 71c2891b14beb8c83bccfeda952b0b15edc65256 | setuptools/tests/test_test.py | setuptools/tests/test_test.py | Python |
<|file_sep|>original/test/index.js
var test = require('tape');
var mercury = require('../index');
// FFFfffff--- phantomJS.
if (!Function.prototype.bind) {
Function.prototype.bind = require('function-bind');
}
test('mercury is a object', function t(assert) {
assert.equal(typeof mercury, 'object');
assert... | var test = require('tape');
var mercury = require('../index');
// FFFfffff--- phantomJS.
if (!Function.prototype.bind) {
Function.prototype.bind = require('function-bind');
}
test('mercury is a object', function t(assert) {
assert.equal(typeof mercury, 'object');
assert.end();
});
require('./synthetic-e... | <|file_sep|>original/test/index.js
var test = require('tape');
var mercury = require('../index');
// FFFfffff--- phantomJS.
if (!Function.prototype.bind) {
Function.prototype.bind = require('function-bind');
}
test('mercury is a object', function t(assert) {
assert.equal(typeof mercury, 'object');
assert... | 88b0ca86586ab40b76b02da4b54b2562d4449dac | test/index.js | test/index.js | JavaScript |
<|file_sep|>original/.github/workflows/ci.yml
name: Lint with Clippy
runs-on: ubuntu-latest
env:
RUSTFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v2
- uses: hecrj/setup-rust-action@v1
with:
components: clippy
- run: cargo clippy --all-targets --verbose --no... | - run: cargo clippy --all-targets --verbose --all-features
test-minimal:
name: Test minimal dependency version with Rust nightly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
- run: cargo ... | <|file_sep|>original/.github/workflows/ci.yml
name: Lint with Clippy
runs-on: ubuntu-latest
env:
RUSTFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v2
- uses: hecrj/setup-rust-action@v1
with:
components: clippy
- run: cargo clippy --all-targets --verbose --no... | 19c6636cd60d2859513672f5e6b3840c39b437a3 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/app/controllers/site/comments_controller.rb
@site_comment = current_user ? current_user.site_comments.new : SiteComment.new
end
def create
@site_comment = SiteComment.new permitted_params
@site_comment.user = current_user if current_user
if @site_comment.save
set_flash_... | @site_comment = current_user ? current_user.site_comments.new : SiteComment.new
end
def create
@site_comment = SiteComment.new permitted_params
@site_comment.user = current_user if current_user
if @site_comment.save
set_flash_message(:success)
redirect_to request.referer || root_path
... | <|file_sep|>original/app/controllers/site/comments_controller.rb
@site_comment = current_user ? current_user.site_comments.new : SiteComment.new
end
def create
@site_comment = SiteComment.new permitted_params
@site_comment.user = current_user if current_user
if @site_comment.save
set_flash_... | 98e1db9c2cf6330f571973d0675b4454828fe64f | app/controllers/site/comments_controller.rb | app/controllers/site/comments_controller.rb | Ruby |
<|file_sep|>original/.travis.yml
sudo: false
language: python
python:
- "3.4"
- "3.5"
install: pip install tox-travis coveralls
script: tox
after_success: coveralls
notifications:
irc: "chat.freenode.net#asphalt"
<|file_sep|>current/.travis.yml
sudo: false
language: python
python:
- "3.4"
- "3.5"
ins... | sudo: false
language: python
python:
- "3.4"
- "3.5"
install: pip install tox-travis coveralls
script: tox
after_success: coveralls
notifications:
irc:
channels:
- "chat.freenode.net#asphalt"
use_notice: true
skip_join: true | <|file_sep|>original/.travis.yml
sudo: false
language: python
python:
- "3.4"
- "3.5"
install: pip install tox-travis coveralls
script: tox
after_success: coveralls
notifications:
irc: "chat.freenode.net#asphalt"
<|file_sep|>current/.travis.yml
sudo: false
language: python
python:
- "3.4"
- "3.5"
ins... | b173315208387bc245d7556e9ea00de9cb1847e3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tasks/cloudsight_setup.yml
creates: /opt/threatstack/cloudsight/config/.audit
- name: Create file to track extra cloudsight config
copy:
content: "{{ threatstack_agent_config_args }} {{ agent_type }}"
dest: /opt/threatstack/cloudsight/config/.config_args
owner: root
group: ro... | creates: /opt/threatstack/cloudsight/config/.audit
- name: Create file to track extra cloudsight config
copy:
content: "{{ threatstack_agent_config_args }} {{ agent_type }}"
dest: /opt/threatstack/cloudsight/config/.config_args
owner: root
group: root
mode: 0644
when:
- threatstack_agen... | <|file_sep|>original/tasks/cloudsight_setup.yml
creates: /opt/threatstack/cloudsight/config/.audit
- name: Create file to track extra cloudsight config
copy:
content: "{{ threatstack_agent_config_args }} {{ agent_type }}"
dest: /opt/threatstack/cloudsight/config/.config_args
owner: root
group: ro... | 81e082fc34322f43cdf21d5c56f9debb7bdc2790 | tasks/cloudsight_setup.yml | tasks/cloudsight_setup.yml | YAML |
<|file_sep|>original/admob/AdMobExampleSwift/AppDelegate.swift
// See the License for the specific language governing permissions and
// limitations under the License.
//
// AppDelegate.swift
// AdMobExampleSwift
//
// [START firebase_config]
import UIKit
import Firebase
@UIApplicationMain
class AppDelegate: UIRe... | // See the License for the specific language governing permissions and
// limitations under the License.
//
// AppDelegate.swift
// AdMobExampleSwift
//
// [START firebase_config]
import UIKit
import Firebase
import GoogleMobileAds
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var ... | <|file_sep|>original/admob/AdMobExampleSwift/AppDelegate.swift
// See the License for the specific language governing permissions and
// limitations under the License.
//
// AppDelegate.swift
// AdMobExampleSwift
//
// [START firebase_config]
import UIKit
import Firebase
@UIApplicationMain
class AppDelegate: UIRe... | 66b78db542f4e6d6f084a504f16a3c63790b413e | admob/AdMobExampleSwift/AppDelegate.swift | admob/AdMobExampleSwift/AppDelegate.swift | Swift |
<|file_sep|>original/docs/asgi/irc-client.rst
<|file_sep|>current/docs/asgi/irc-client.rst
<|file_sep|>updated/docs/asgi/irc-client.rst | ===========================================
IRC Client ASGI Message Format (Draft Spec)
===========================================
.. warning::
This is an incomplete draft.
Represents communication with an external IRC server as a client. It is possible
to have multiple clients hooked into the same channel layer t... | <|file_sep|>original/docs/asgi/irc-client.rst
<|file_sep|>current/docs/asgi/irc-client.rst
<|file_sep|>updated/docs/asgi/irc-client.rst
===========================================
IRC Client ASGI Message Format (Draft Spec)
===========================================
.. warning::
This is an incomplete draft.
Repr... | 0e637e09a454c9e55a862ede7889ac4e952efcc7 | docs/asgi/irc-client.rst | docs/asgi/irc-client.rst | reStructuredText |
<|file_sep|>original/gnu/usr.bin/perl/sperl/Makefile
SRCS+= array.c cmd.c cons.c consarg.c
SRCS+= doarg.c doio.c dolist.c dump.c
SRCS+= eval.c form.c hash.c malloc.c
SRCS+= perl.c perly.c regcomp.c regexec.c
SRCS+= stab.c str.c toke.c util.c
SRCS+= usersub.c
.PATH: ${.CURDIR}/../perl
CFLAGS+= -I${.CURDIR}/../perl ... | SRCS+= perl.c perly.c regcomp.c regexec.c
SRCS+= stab.c str.c toke.c util.c
SRCS+= usersub.c
.PATH: ${.CURDIR}/../perl
CFLAGS+= -I${.CURDIR}/../perl -DIAMSUID -DTAINT
LDADD= -lm
DPADD= ${LIBM}
LDADD+= -lcrypt
DPADD+= ${LIBCRYPT}
MAN1=
MLINKS+= perl.1 suidperl.1
BINOWN= root
BINMODE=4711
.include "../../Makefile... | <|file_sep|>original/gnu/usr.bin/perl/sperl/Makefile
SRCS+= array.c cmd.c cons.c consarg.c
SRCS+= doarg.c doio.c dolist.c dump.c
SRCS+= eval.c form.c hash.c malloc.c
SRCS+= perl.c perly.c regcomp.c regexec.c
SRCS+= stab.c str.c toke.c util.c
SRCS+= usersub.c
.PATH: ${.CURDIR}/../perl
CFLAGS+= -I${.CURDIR}/../perl ... | b55651ef61acb589e526fe371bc819887917c12a | gnu/usr.bin/perl/sperl/Makefile | gnu/usr.bin/perl/sperl/Makefile | unknown |
<|file_sep|>original/README.md
- node_modules: NodeJS modules directory
- public: All public facing files, ie js, styles and images
- routes: ExpressJS's route definitions
- views: all ejs views
The Vagrantfile contains all the configurations for you machine, Vagrant needs this.
The app.js is... | - node_modules: NodeJS modules directory
- public: All public facing files, ie js, styles and images
- routes: ExpressJS's route definitions
- views: all ejs views
The Vagrantfile contains all the configurations for you machine, Vagrant needs this.
The app.js is the entrypoint into the NodeJS... | <|file_sep|>original/README.md
- node_modules: NodeJS modules directory
- public: All public facing files, ie js, styles and images
- routes: ExpressJS's route definitions
- views: all ejs views
The Vagrantfile contains all the configurations for you machine, Vagrant needs this.
The app.js is... | edb4d68b23edbd5d8ac5d244349eb8890fb7694b | README.md | README.md | Markdown |
<|file_sep|>packages/ba/basement.yaml.diff
original:
hash: 2974d0e1d6905f0daf1d3a92a933b5b6d0bf0951617f768194787dd4669c112e
updated:
hash: cbb9187d3575b78ee1165b7a49a0e8570ee563820330a944a67cd09e1cfe23bf
<|file_sep|>original/packages/ba/basement.yaml
homepage: https://github.com/haskell-foundation/foundation#readme
cha... | homepage: https://github.com/haskell-foundation/foundation#readme
changelog-type: ''
hash: cbb9187d3575b78ee1165b7a49a0e8570ee563820330a944a67cd09e1cfe23bf
test-bench-deps: {}
maintainer: vincent@snarc.org
synopsis: Foundation scrap box of array & string
changelog: ''
basic-deps:
base: '>=4.9 && <4.16'
ghc-prim: -a... | <|file_sep|>packages/ba/basement.yaml.diff
original:
hash: 2974d0e1d6905f0daf1d3a92a933b5b6d0bf0951617f768194787dd4669c112e
updated:
hash: cbb9187d3575b78ee1165b7a49a0e8570ee563820330a944a67cd09e1cfe23bf
<|file_sep|>original/packages/ba/basement.yaml
homepage: https://github.com/haskell-foundation/foundation#readme
cha... | 8c677ab464868ab73d4693a31d2c48a99559ca1c | packages/ba/basement.yaml | packages/ba/basement.yaml | YAML |
<|file_sep|>original/website/intro/examples/aws.html.markdown
---
layout: "intro"
page_title: "Two-Tier AWS Architecture"
sidebar_current: "examples-aws"
description: |-
This provides a template for running a simple two-tier architecture on Amazon Web services. The premise is that you have stateless app servers runni... | ---
layout: "intro"
page_title: "Two-Tier AWS Architecture"
sidebar_current: "examples-aws"
description: |-
This provides a template for running a simple two-tier architecture on Amazon Web services. The premise is that you have stateless app servers running behind an ELB serving traffic.
---
# Two-Tier AWS Architec... | <|file_sep|>original/website/intro/examples/aws.html.markdown
---
layout: "intro"
page_title: "Two-Tier AWS Architecture"
sidebar_current: "examples-aws"
description: |-
This provides a template for running a simple two-tier architecture on Amazon Web services. The premise is that you have stateless app servers runni... | 29ebe07e1e6db4559543c7778d7ad3c3f658da2d | website/intro/examples/aws.html.markdown | website/intro/examples/aws.html.markdown | Markdown |
<|file_sep|>KenticoInspector.WebApplication/ClientApp/src/components/report-result-details-table.vue.diff
original:
{{ props.item[header.value] }}
updated:
<vue-showdown :markdown="props.item[header.value]" class="cell"></vue-showdown>
<|file_sep|>original/KenticoInspector.WebApplication/ClientApp/src/c... | >
<template slot="items" slot-scope="props">
<td v-for="(header, index) in headers" :key="`header-${index}`">
<vue-showdown :markdown="props.item[header.value]" class="cell"></vue-showdown>
</td>
</template>
</v-data-table>
</div>
</template>
<style>
.cell p {
margin-bottom: ... | <|file_sep|>KenticoInspector.WebApplication/ClientApp/src/components/report-result-details-table.vue.diff
original:
{{ props.item[header.value] }}
updated:
<vue-showdown :markdown="props.item[header.value]" class="cell"></vue-showdown>
<|file_sep|>original/KenticoInspector.WebApplication/ClientApp/src/c... | 50f96d8861b5c8977e6f67861ecdb05dffb53e0c | KenticoInspector.WebApplication/ClientApp/src/components/report-result-details-table.vue | KenticoInspector.WebApplication/ClientApp/src/components/report-result-details-table.vue | Vue |
<|file_sep|>original/.travis.yml
language: java
jdk:
- openjdk-ea
- openjdk14
- openjdk13
- openjdk11
- openjdk8
after_success:
- chmod -R 777 ./travis/after_success.sh
- ./travis/after_success.sh
env:
global:
- secure: "dgaO+01IuaJgtHpZ2z3leAfU91vgfRtjJpCuGdhvoSs03uU7kuQGXmm8Fg8b\n8Z8DqBCO+mJY47... | language: java
jdk:
- openjdk-ea
- openjdk14
- openjdk11
- openjdk8
after_success:
- chmod -R 777 ./travis/after_success.sh
- ./travis/after_success.sh
env:
global:
- secure: "dgaO+01IuaJgtHpZ2z3leAfU91vgfRtjJpCuGdhvoSs03uU7kuQGXmm8Fg8b\n8Z8DqBCO+mJY47WNrwlBrb2Xbo12YRxZViG9tEnhvaWogNKJ62wLBIOC/wvD\... | <|file_sep|>original/.travis.yml
language: java
jdk:
- openjdk-ea
- openjdk14
- openjdk13
- openjdk11
- openjdk8
after_success:
- chmod -R 777 ./travis/after_success.sh
- ./travis/after_success.sh
env:
global:
- secure: "dgaO+01IuaJgtHpZ2z3leAfU91vgfRtjJpCuGdhvoSs03uU7kuQGXmm8Fg8b\n8Z8DqBCO+mJY47... | 852050c47099a54a1c7f3050ef49eee62586df64 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/build.sh
nuget restore FbxSharpBuild.sln && \
xbuild /p:Configuration=Debug FbxSharpBuild.sln && \
nunit-console ./FbxSharpTests/bin/Debug/FbxSharpTests.dll
<|file_sep|>current/build.sh
nuget restore FbxSharpBuild.sln && \
xbuild /p:Configuration=Debug FbxSharpBuild.sln && \
nunit-console... | #!/bin/bash
set -e
nuget restore FbxSharpBuild.sln
xbuild /p:Configuration=Debug FbxSharpBuild.sln
nunit-console ./FbxSharpTests/bin/Debug/FbxSharpTests.dll | <|file_sep|>original/build.sh
nuget restore FbxSharpBuild.sln && \
xbuild /p:Configuration=Debug FbxSharpBuild.sln && \
nunit-console ./FbxSharpTests/bin/Debug/FbxSharpTests.dll
<|file_sep|>current/build.sh
nuget restore FbxSharpBuild.sln && \
xbuild /p:Configuration=Debug FbxSharpBuild.sln && \
nunit-console... | cc75737f7a47eb6b1199eddf471e100a6c78320f | build.sh | build.sh | Shell |
<|file_sep|>index.js.diff
original:
updated:
// Ensure we're using the server babel settings
process.env.BABEL_ENV = 'server';
<|file_sep|>original/index.js
* Bootstrap our server
*/
const sourceMaps = require('source-map-support')
sourceMaps.install()
require('./src/shared/console')
// Compile files on PROD or l... |
require('./src/shared/console')
// Compile files on PROD or launch DEV server
if (process.env.NODE_ENV === 'production') {
require('./configuration/webpack.prod.js')
} else {
require('./configuration/webpack.dev.js')
}
// Ensure we're using the server babel settings
process.env.BABEL_ENV = 'server';
require... | <|file_sep|>index.js.diff
original:
updated:
// Ensure we're using the server babel settings
process.env.BABEL_ENV = 'server';
<|file_sep|>original/index.js
* Bootstrap our server
*/
const sourceMaps = require('source-map-support')
sourceMaps.install()
require('./src/shared/console')
// Compile files on PROD or l... | 52b0967fd40bef5ac0cbbc5ec542cff4f375806e | index.js | index.js | JavaScript |
<|file_sep|>includes/Common-Include.hs.diff
original:
setColumn :: Int -- ^ 1-based column to move to
updated:
setColumn :: Int -- ^ 0-based column to move to
<|file_sep|>original/includes/Common-Include.hs
cursorUp, cursorDown, cursorForward, cursorBackward :: Int -- ^ Number of lines or characters to move
... | cursorUp, cursorDown, cursorForward, cursorBackward :: Int -- ^ Number of lines or characters to move
-> IO ()
nextLine, previousLine :: Int -- ^ Number of lines to move
-> IO ()
setColumn :: Int -- ^ 0-based column to move to
-> IO ... | <|file_sep|>includes/Common-Include.hs.diff
original:
setColumn :: Int -- ^ 1-based column to move to
updated:
setColumn :: Int -- ^ 0-based column to move to
<|file_sep|>original/includes/Common-Include.hs
cursorUp, cursorDown, cursorForward, cursorBackward :: Int -- ^ Number of lines or characters to move
... | 6b217a3f1d1f5c7f4c3fe171cb14936b512f7564 | includes/Common-Include.hs | includes/Common-Include.hs | Haskell |
<|file_sep|>original/list/remove/remove.with/removewith.erl
<|file_sep|>current/list/remove/remove.with/removewith.erl
<|file_sep|>updated/list/remove/remove.with/removewith.erl | -module(removewith).
-include_lib("eunit/include/eunit.hrl").
-import(primes, [isprime/1]).
-export([removewith/2]).
removewith_even_test() ->
?assertEqual([1,3], removewith(fun (X) -> X rem 2 =:= 0 end, [1,2,3,4])).
removewith_prime_test() ->
?assertEqual([1,4,8], removewith(fun (X) -> primes:isprime(X) end,... | <|file_sep|>original/list/remove/remove.with/removewith.erl
<|file_sep|>current/list/remove/remove.with/removewith.erl
<|file_sep|>updated/list/remove/remove.with/removewith.erl
-module(removewith).
-include_lib("eunit/include/eunit.hrl").
-import(primes, [isprime/1]).
-export([removewith/2]).
removewith_even_test()... | b5fc3e4faa4dc7d181d8ec0079b7ea3782d05147 | list/remove/remove.with/removewith.erl | list/remove/remove.with/removewith.erl | Erlang |
<|file_sep|>original/src/core/errors.js
if (!process && dependencyModule) console.error('Dependency published by module:', dependencyModule);
this.name = 'DependencyError';
}
}
export class ManagerError extends Error {
constructor(classInstance, message, component, activeModule = false) {
super(`@${cl... | if (!process && dependencyModule) console.error('Dependency published by module:', dependencyModule);
this.name = 'DependencyError';
}
}
export class ManagerError extends Error {
constructor(classInstance, message, component, activeModule = false) {
super(`@${classInstance}: ${message}`);
const s... | <|file_sep|>original/src/core/errors.js
if (!process && dependencyModule) console.error('Dependency published by module:', dependencyModule);
this.name = 'DependencyError';
}
}
export class ManagerError extends Error {
constructor(classInstance, message, component, activeModule = false) {
super(`@${cl... | c3290300916c3c7de9d86b6f02cbb7290fe10123 | src/core/errors.js | src/core/errors.js | JavaScript |
<|file_sep|>jvm-monitor-agent/src/main/java/jvmmonitor/io/ServerGCLogMonitor.java.diff
original:
updated:
import communicator.DASPublisher;
import org.wso2.carbon.databridge.agent.exception.DataEndpointAgentConfigurationException;
import org.wso2.carbon.databridge.agent.exception.DataEndpointAuthenticationException;
i... | import org.wso2.carbon.databridge.agent.exception.DataEndpointException;
import org.wso2.carbon.databridge.commons.exception.TransportException;
import java.io.FileNotFoundException;
import java.net.SocketException;
import java.net.UnknownHostException;
public class ServerGCLogMonitor {
private static final Stri... | <|file_sep|>jvm-monitor-agent/src/main/java/jvmmonitor/io/ServerGCLogMonitor.java.diff
original:
updated:
import communicator.DASPublisher;
import org.wso2.carbon.databridge.agent.exception.DataEndpointAgentConfigurationException;
import org.wso2.carbon.databridge.agent.exception.DataEndpointAuthenticationException;
i... | fab55f5d4c7145d95638dfe195ec94c59aec51d6 | jvm-monitor-agent/src/main/java/jvmmonitor/io/ServerGCLogMonitor.java | jvm-monitor-agent/src/main/java/jvmmonitor/io/ServerGCLogMonitor.java | Java |
<|file_sep|>domain/src/main/java/uk/gov/dvla/domain/EntitlementRestriction.java.diff
original:
private Date validFrom;
updated:
private String categoryCode;
<|file_sep|>domain/src/main/java/uk/gov/dvla/domain/EntitlementRestriction.java.diff
original:
private String categoryCode;
updated:
<|file_sep|>domai... |
public void setText(String text) {
this.text = text;
}
public String getCategoryCode() {
return categoryCode;
}
public void setCategoryCode(String categoryCode) {
this.categoryCode = categoryCode;
}
public Date getValidTo() {
return validTo;
}
pub... | <|file_sep|>domain/src/main/java/uk/gov/dvla/domain/EntitlementRestriction.java.diff
original:
private Date validFrom;
updated:
private String categoryCode;
<|file_sep|>domain/src/main/java/uk/gov/dvla/domain/EntitlementRestriction.java.diff
original:
private String categoryCode;
updated:
<|file_sep|>domai... | 49fa1187698fbc8dd1bd674eafcee05c2aa5b59b | domain/src/main/java/uk/gov/dvla/domain/EntitlementRestriction.java | domain/src/main/java/uk/gov/dvla/domain/EntitlementRestriction.java | Java |
<|file_sep|>original/install_for_anaconda_users.sh
conda create -n openmined python=3.4
source activate openmined
conda install -c anaconda mpc
conda install -c anaconda gmp
conda install -c anaconda mpfr
conda install gmpy2 --channel conda-forge
pip install -r requirements.txt
python setup.py install
<|file_sep|>curre... | conda create -n openmined python=3.6
source activate openmined
conda install -c anaconda mpc
conda install -c anaconda gmp
conda install -c anaconda mpfr
conda install gmpy2 --channel conda-forge
pip install -r requirements.txt
python setup.py install | <|file_sep|>original/install_for_anaconda_users.sh
conda create -n openmined python=3.4
source activate openmined
conda install -c anaconda mpc
conda install -c anaconda gmp
conda install -c anaconda mpfr
conda install gmpy2 --channel conda-forge
pip install -r requirements.txt
python setup.py install
<|file_sep|>curre... | ec978b788c8666686ec9e9b6bdf896be3469e8a3 | install_for_anaconda_users.sh | install_for_anaconda_users.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
- tools
updated:
# Update tools and then platform-tools explicitly so lint gets an updated database. Can be removed once 3.0 is out.
# TODO verify this is no longer needed for lint to run.
<|file_sep|>.travis.yml.diff
original:
- build-tools-25.0.2
- android-25... |
android:
components:
# Update tools and then platform-tools explicitly so lint gets an updated database. Can be removed once 3.0 is out.
# TODO verify this is no longer needed for lint to run.
- tools
- platform-tools
- sys-img-armeabi-v7a-android-19
before_script:
# Install SDK license so And... | <|file_sep|>.travis.yml.diff
original:
- tools
updated:
# Update tools and then platform-tools explicitly so lint gets an updated database. Can be removed once 3.0 is out.
# TODO verify this is no longer needed for lint to run.
<|file_sep|>.travis.yml.diff
original:
- build-tools-25.0.2
- android-25... | 7248becec410b8fab8b10ba118f8767b4e01c824 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/CodeKata/README.md
<|file_sep|>current/CodeKata/README.md
<|file_sep|>updated/CodeKata/README.md | # Code Kata
Practice.
## Resources
- [CodeKata.com](http://codekata.com)
- [CodeKata.org](http://codekata.org) | <|file_sep|>original/CodeKata/README.md
<|file_sep|>current/CodeKata/README.md
<|file_sep|>updated/CodeKata/README.md
# Code Kata
Practice.
## Resources
- [CodeKata.com](http://codekata.com)
- [CodeKata.org](http://codekata.org) | 9c2b010b011d6002fef2593792ed0fc8966b052d | CodeKata/README.md | CodeKata/README.md | Markdown |
<|file_sep|>countCrfResultTokens-dump-2015-10-01-2015-12-01-aman-results-name-ethnic.sh.diff
original:
updated:
OUTPUTFILE=results-name-ethnic-dump-2015-10-01-2015-12-01-aman-token-counts.txt
<|file_sep|>original/countCrfResultTokens-dump-2015-10-01-2015-12-01-aman-results-name-ethnic.sh
#! /bin/bash ... | #! /bin/bash
INPUTFILE=/user/crogers/results-name-ethnic-dump-2015-10-01-2015-12-01-aman.seq
OUTPUTFILE=results-name-ethnic-dump-2015-10-01-2015-12-01-aman-token-counts.txt
echo "Submitting the job to the Memex cluster."
time s... | <|file_sep|>countCrfResultTokens-dump-2015-10-01-2015-12-01-aman-results-name-ethnic.sh.diff
original:
updated:
OUTPUTFILE=results-name-ethnic-dump-2015-10-01-2015-12-01-aman-token-counts.txt
<|file_sep|>original/countCrfResultTokens-dump-2015-10-01-2015-12-01-aman-results-name-ethnic.sh
#! /bin/bash ... | 84084fec8c1bf0bda16bade758417a385c1c9f71 | countCrfResultTokens-dump-2015-10-01-2015-12-01-aman-results-name-ethnic.sh | countCrfResultTokens-dump-2015-10-01-2015-12-01-aman-results-name-ethnic.sh | Shell |
<|file_sep|>composer.json.diff
original:
"laravel/framework": "5.1.*",
"intervention/image": "~2"
updated:
"laravel/framework": "5.2.*",
"intervention/image": "~2.3"
<|file_sep|>original/composer.json
"authors": [
{
"name": "Thomas Hupkens",
"email": "... | "authors": [
{
"name": "Thomas Hupkens",
"email": "thomas@hupkens.be"
}
],
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.2.*",
"intervention/image": "~2.3"
},
"require-dev": {
"mockery/mockery": "0.9.*"
},
"auto... | <|file_sep|>composer.json.diff
original:
"laravel/framework": "5.1.*",
"intervention/image": "~2"
updated:
"laravel/framework": "5.2.*",
"intervention/image": "~2.3"
<|file_sep|>original/composer.json
"authors": [
{
"name": "Thomas Hupkens",
"email": "... | 0d4c7d049ecde47acb84065a0bc3ccfdee93b132 | composer.json | composer.json | JSON |
<|file_sep|>original/src/templates/haml/layouts/default/javascripts.html.haml
- my $configs = js_configs();
!= $configs->{head_js_inline}
- foreach my $lib (@{ $configs->{libs} }) {
%script{:src => $lib :defer=>"true"}
- }
<|file_sep|>current/src/templates/haml/layouts/default/javascripts.html.haml
- my $configs = j... | - my $configs = js_configs();
%script{:type => "text/javascript"}
!= "window.page_params = { settings: ". $configs->{settings} . "};"
- foreach my $lib (@{ $configs->{libs} }) {
%script{:src => $lib :defer=>"true"}
- } | <|file_sep|>original/src/templates/haml/layouts/default/javascripts.html.haml
- my $configs = js_configs();
!= $configs->{head_js_inline}
- foreach my $lib (@{ $configs->{libs} }) {
%script{:src => $lib :defer=>"true"}
- }
<|file_sep|>current/src/templates/haml/layouts/default/javascripts.html.haml
- my $configs = j... | 4376dd306d59a9e60e8d371cdabde2bd89a0cba8 | src/templates/haml/layouts/default/javascripts.html.haml | src/templates/haml/layouts/default/javascripts.html.haml | Haml |
<|file_sep|>haskell/Problem22.hs.diff
original:
totalScore = sum . map mult . zip [1..] . map nameValue . sort
updated:
totalScore = sum . zipWith (*) [1..] . map nameValue . sort
<|file_sep|>original/haskell/Problem22.hs
-- Names scores
module Problem22 where
import Data.Char (ord)
import Data.List (sort)
import Sys... | -- Project Euler: Problem 22
-- Names scores
module Problem22 where
import Data.Char (ord)
import Data.List (sort)
import System.IO.Unsafe (unsafePerformIO)
totalScore :: [String] -> Int
totalScore = sum . zipWith (*) [1..] . map nameValue . sort
where
nameValue = sum . map charValue
charValue c = ord c - ... | <|file_sep|>haskell/Problem22.hs.diff
original:
totalScore = sum . map mult . zip [1..] . map nameValue . sort
updated:
totalScore = sum . zipWith (*) [1..] . map nameValue . sort
<|file_sep|>original/haskell/Problem22.hs
-- Names scores
module Problem22 where
import Data.Char (ord)
import Data.List (sort)
import Sys... | 3a94424bfe82068dca0d9073543778719c03f759 | haskell/Problem22.hs | haskell/Problem22.hs | Haskell |
<|file_sep|>original/osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs
<|file_sep|>current/osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs
<|file_sep|>updated/osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.Multi.Match.Components;
namespace osu.G... | <|file_sep|>original/osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs
<|file_sep|>current/osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs
<|file_sep|>updated/osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - ht... | 34fc740e1f72e6ec4b8f5865d0e2f008d2973a02 | osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs | osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs | C# |
<|file_sep|>original/README.md
If a named pipe in the config does not exist, `netmux` will try to create it,
but it won't overwrite existing named pipes.
## Usage
go install github.com/graysonchao/netmux
netmux --config <config.json>
An example configuration is provided. It includes one of each type of outpu... | but it won't overwrite existing named pipes.
## Usage
go install github.com/graysonchao/netmux
netmux --config <config.json>
An example configuration is provided. It includes one of each type of output:
* "fifo" is a named pipe at `/usr/local/var/netmux.1`
* "udp0" sends output over UDP to 127.0.0.1:8889.
*... | <|file_sep|>original/README.md
If a named pipe in the config does not exist, `netmux` will try to create it,
but it won't overwrite existing named pipes.
## Usage
go install github.com/graysonchao/netmux
netmux --config <config.json>
An example configuration is provided. It includes one of each type of outpu... | 6d7414e94ef8b52e8ecfef3d190e92c1f12e4c02 | README.md | README.md | Markdown |
<|file_sep|>original/setup.py
#!/usr/bin/env python
from distutils.core import setup
with open('README.rst') as file:
long_description = file.read()
setup(name='parmap',
version='1.2.1',
description=('map and starmap implementations passing additional',
'arguments and parallelizing... | #!/usr/bin/env python
from distutils.core import setup
with open('README.rst') as file:
long_description = file.read()
setup(name='parmap',
version='1.2.1',
description=('map and starmap implementations passing additional '
'arguments and parallelizing if possible'),
long_des... | <|file_sep|>original/setup.py
#!/usr/bin/env python
from distutils.core import setup
with open('README.rst') as file:
long_description = file.read()
setup(name='parmap',
version='1.2.1',
description=('map and starmap implementations passing additional',
'arguments and parallelizing... | 4b2a68638a9045d3a15219d41c7d9981d29e601a | setup.py | setup.py | Python |
<|file_sep|>src/TokenRepository.php.diff
original:
updated:
/**
* Creates a new Access Token
*
* @param array $attributes
* @return Token
*/
public function create($attributes)
{
return Token::create($attributes);
}
<|file_sep|>src/TokenRepository.php.diff
original:
... | *
* @param Token $token
* @return void
*/
public function save(Token $token)
{
$token->save();
}
/**
* Revoke an access token.
*
* @param string $id
*/
public function revokeAccessToken($id)
{
return $this->find($id)->update(['revoked' =... | <|file_sep|>src/TokenRepository.php.diff
original:
updated:
/**
* Creates a new Access Token
*
* @param array $attributes
* @return Token
*/
public function create($attributes)
{
return Token::create($attributes);
}
<|file_sep|>src/TokenRepository.php.diff
original:
... | a940eeda6a97abc7a08d60825648f4fdd715b751 | src/TokenRepository.php | src/TokenRepository.php | PHP |
<|file_sep|>modules/native-libraries.sh.diff
original:
if [ "$(isInstalled libopencv2.4-java)" == "no" ]; then
apt-get install --yes --no-install-recommends libopencv2.4-java
fi
if [ "$(isInstalled librxtx-java)" == "no" ]; then
apt-get install --yes --no-install-recommends librxtx... | #!/bin/bash
#This installation is the same for EV3 Brick & BrickPi/PiStorms
if [ "$PLATFORM" == "ev3" ] ||
[ "$PLATFORM" == "brickpi" ] ||
[ "$PLATFORM" == "brickpi3" ] ||
[ "$PLATFORM" == "pistorms" ]; then
apt-get update
apt-get install --yes --no-install-recommends libopencv2.4-java librxtx... | <|file_sep|>modules/native-libraries.sh.diff
original:
if [ "$(isInstalled libopencv2.4-java)" == "no" ]; then
apt-get install --yes --no-install-recommends libopencv2.4-java
fi
if [ "$(isInstalled librxtx-java)" == "no" ]; then
apt-get install --yes --no-install-recommends librxtx... | 8f8ac48f996ba6969c1ab7ecf728959f05875a36 | modules/native-libraries.sh | modules/native-libraries.sh | Shell |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
check-manifest==0.35
pyroma==2.2
pytest==3.2.2
pytest-mock==1.6.3
tox==2.9.1
flake8==3.4.1
twine==1.9.1
coverage==4.4.1
pytest-cov==2.5.1
Sphinx==1.6.4
sphinx-autobuild==0.7.1
redis==2.10.6
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
check-m... | -r requirements.txt
check-manifest==0.35
pyroma==2.2
pytest==3.2.3
pytest-mock==1.6.3
tox==2.9.1
flake8==3.4.1
twine==1.9.1
coverage==4.4.1
pytest-cov==2.5.1
Sphinx==1.6.4
sphinx-autobuild==0.7.1
redis==2.10.6 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
check-manifest==0.35
pyroma==2.2
pytest==3.2.2
pytest-mock==1.6.3
tox==2.9.1
flake8==3.4.1
twine==1.9.1
coverage==4.4.1
pytest-cov==2.5.1
Sphinx==1.6.4
sphinx-autobuild==0.7.1
redis==2.10.6
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
check-m... | fd5d21f8fb776f6f34d77c5799e1e51c0bf2714c | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>docs/README.md.diff
original:
# Enterprise Documentation
updated:
# Anchore Engine Documentation
<|file_sep|>docs/README.md.diff
original:
This is the repository for the Anchore Enterprise Documentation site.
updated:
This is the source for the engine.anchore.io site and the site is updated in conjunction w... |
1. Clone the forked repo locally, with submodules to ensure the theme is available:
`git clone --recurse-submodules https://github.com/<your_repo>`
If you cloned already, then update the submodules with:
`git submodule update --init --recursive`
1. Run hugo for local debugging/dev:
`cd anchore-engine/docs ; hug... | <|file_sep|>docs/README.md.diff
original:
# Enterprise Documentation
updated:
# Anchore Engine Documentation
<|file_sep|>docs/README.md.diff
original:
This is the repository for the Anchore Enterprise Documentation site.
updated:
This is the source for the engine.anchore.io site and the site is updated in conjunction w... | 7f6b7d311b6a255653ed6edd3e0a3c014f209b1f | docs/README.md | docs/README.md | Markdown |
<|file_sep|>original/.travis.yml
language: cpp
os:
- linux
script:
- export TOP=$(pwd)
- git clone https://github.com/KhronosGroup/OpenCL-Headers.git
- cd OpenCL-Headers
- ln -s CL OpenCL # For OSX builds
- cd ..
- git clone https://github.com/KhronosGroup/OpenCL-ICD-Loader.git
- cd ${TOP}/OpenCL-ICD-... | language: cpp
os:
- linux
- osx
script:
- export TOP=$(pwd)
- git clone https://github.com/KhronosGroup/OpenCL-Headers.git
- cd OpenCL-Headers
- ln -s CL OpenCL # For OSX builds
- cd ..
- git clone https://github.com/KhronosGroup/OpenCL-ICD-Loader.git
- cd ${TOP}/OpenCL-ICD-Loader
- mkdir build
... | <|file_sep|>original/.travis.yml
language: cpp
os:
- linux
script:
- export TOP=$(pwd)
- git clone https://github.com/KhronosGroup/OpenCL-Headers.git
- cd OpenCL-Headers
- ln -s CL OpenCL # For OSX builds
- cd ..
- git clone https://github.com/KhronosGroup/OpenCL-ICD-Loader.git
- cd ${TOP}/OpenCL-ICD-... | ba975e41124eac6543059fd650feef1a1ec774c8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/examples/src/test/scala/monocle/SafeCastExample.scala
safeCast[Int, Char].getOption(65) shouldEqual Some('A')
safeCast[Int, Char].reverseGet('a') shouldEqual 97
// with some syntax sugar
(65 <-? safeCast[Int, Char] getOption) shouldEqual Some('A')
}
"safeCast creates a Prism... | // with some syntax sugar
(65 <-? safeCast[Int, Char] getOption) shouldEqual Some('A')
}
"safeCast creates a Prism from String to Int" in {
safeCast[String, Int].getOption("352") shouldEqual Some(352)
safeCast[String, Int].reverseGet(8921) shouldEqual "8921"
safeCast[String, Int].getOption("") ... | <|file_sep|>original/examples/src/test/scala/monocle/SafeCastExample.scala
safeCast[Int, Char].getOption(65) shouldEqual Some('A')
safeCast[Int, Char].reverseGet('a') shouldEqual 97
// with some syntax sugar
(65 <-? safeCast[Int, Char] getOption) shouldEqual Some('A')
}
"safeCast creates a Prism... | ef02080fb737b260fa8d9ea57f18bb7ab2fd80a3 | examples/src/test/scala/monocle/SafeCastExample.scala | examples/src/test/scala/monocle/SafeCastExample.scala | Scala |
<|file_sep|>original/test-requirements.txt
PyYAML==3.12
Sphinx==1.5
bumpversion==0.5.3
coverage==4.2
flake8-import-order==0.11
flake8==3.2.1
grpcio-tools==1.0.3
hypothesis==3.6.0
pip==9.0.1
pytest==3.0.5
tox==2.5.0
wheel==0.29.0
flake8-docstrings==1.0.2
mock==2.0.0
<|file_sep|>current/test-requirements.txt
PyYAML==3.12... | PyYAML==3.12
Sphinx==1.5
bumpversion==0.5.3
coverage==4.2
flake8-import-order==0.11
flake8==3.2.1
grpcio-tools==1.0.3
hypothesis==3.6.1
pip==9.0.1
pytest==3.0.5
tox==2.5.0
wheel==0.29.0
flake8-docstrings==1.0.2
mock==2.0.0 | <|file_sep|>original/test-requirements.txt
PyYAML==3.12
Sphinx==1.5
bumpversion==0.5.3
coverage==4.2
flake8-import-order==0.11
flake8==3.2.1
grpcio-tools==1.0.3
hypothesis==3.6.0
pip==9.0.1
pytest==3.0.5
tox==2.5.0
wheel==0.29.0
flake8-docstrings==1.0.2
mock==2.0.0
<|file_sep|>current/test-requirements.txt
PyYAML==3.12... | c2cffad095836bdff6027fd708f75ab9861d5aab | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/config/build.sbt
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test"
externalResolvers += "Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/"
findbugsSettings
findbugsReportType := Some(ReportType.Html)
findbugsReportName := Some("findbugs.html")
findbugsEf... | libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test"
externalResolvers += "Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/"
findbugsSettings
findbugsReportType := Some(ReportType.Html)
findbugsReportName := Some("findbugs.html")
findbugsEffort := Effort.High
findbugsMaxMemory ... | <|file_sep|>original/config/build.sbt
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test"
externalResolvers += "Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/"
findbugsSettings
findbugsReportType := Some(ReportType.Html)
findbugsReportName := Some("findbugs.html")
findbugsEf... | e72decad9251ea2c31e7e53dbfc9902f0f922194 | config/build.sbt | config/build.sbt | Scala |
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
| Q | A
| ------------- | ---
| Branch? | 6.1 for features / 4.4, 5.3, 5.4 or 6.0 for bug fixes <!-- see below -->
| Bug fix? | yes/no
| New feature? | yes/no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | yes/no <!-- plea... | | Q | A
| ------------- | ---
| Branch? | 6.1 for features / 4.4, 5.4 or 6.0 for bug fixes <!-- see below -->
| Bug fix? | yes/no
| New feature? | yes/no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | yes/no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| ... | <|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
| Q | A
| ------------- | ---
| Branch? | 6.1 for features / 4.4, 5.3, 5.4 or 6.0 for bug fixes <!-- see below -->
| Bug fix? | yes/no
| New feature? | yes/no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | yes/no <!-- plea... | afada38d4229b4717cd14413706cf3b5e5f55eea | .github/PULL_REQUEST_TEMPLATE.md | .github/PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>original/script/mediawords_bitly_click_distribution.pl
<|file_sep|>current/script/mediawords_bitly_click_distribution.pl
<|file_sep|>updated/script/mediawords_bitly_click_distribution.pl | #!/usr/bin/env perl
#
# Bit.ly click distribution histogram
#
# Usage:
# ./script/run_with_carton.sh ./script/mediawords_bitly_click_distribution.pl [--limit 200] > histogram.csv
#
use strict;
use warnings;
BEGIN
{
use FindBin;
use lib "$FindBin::Bin/../lib";
}
use Modern::Perl "2013";
use MediaWords::Common... | <|file_sep|>original/script/mediawords_bitly_click_distribution.pl
<|file_sep|>current/script/mediawords_bitly_click_distribution.pl
<|file_sep|>updated/script/mediawords_bitly_click_distribution.pl
#!/usr/bin/env perl
#
# Bit.ly click distribution histogram
#
# Usage:
# ./script/run_with_carton.sh ./script/mediaword... | 7e4de716f2c3fd00b84dd175b0c612bc0c8770e7 | script/mediawords_bitly_click_distribution.pl | script/mediawords_bitly_click_distribution.pl | Perl |
<|file_sep|>docker/containers/mobile-survey.yml.diff
original:
- PORT=80
updated:
- PORT=3000
<|file_sep|>original/docker/containers/mobile-survey.yml
mobile-survey:
container_name: mobile-survey
image: mobile-survey
environment:
- MONGO_URL=mongodb://10.0.0.13:27017/survey
- ROOT_URL=http://surv... | mobile-survey:
container_name: mobile-survey
image: mobile-survey
environment:
- MONGO_URL=mongodb://10.0.0.13:27017/survey
- ROOT_URL=http://survey.eha.io
- PORT=3000
ports:
- "3000:3000"
restart: always
volumes:
- /shared:/shared
command: supervisord --nodaemon --config /etc/supervis... | <|file_sep|>docker/containers/mobile-survey.yml.diff
original:
- PORT=80
updated:
- PORT=3000
<|file_sep|>original/docker/containers/mobile-survey.yml
mobile-survey:
container_name: mobile-survey
image: mobile-survey
environment:
- MONGO_URL=mongodb://10.0.0.13:27017/survey
- ROOT_URL=http://surv... | 61ebf2dfc92bb74cdf4e8fbdc7f0c788c6d141ba | docker/containers/mobile-survey.yml | docker/containers/mobile-survey.yml | YAML |
<|file_sep|>copy_repos.sh.diff
original:
rm -rf calabash-android-master
rm -rf calabash-ios-master
updated:
rm -rf calabash-android-united
rm -rf calabash-ios-united
<|file_sep|>copy_repos.sh.diff
original:
curl --silent -L -o master.zip https://codeload.github.com/calabash/calabash-android/zip/master
mv master.zip and... | mv united.zip ios.zip
echo "Creating directories"
mkdir -p old/android
mkdir -p old/ios
echo "Unzipping android files"
unzip android.zip
echo "Unzipping ios files"
unzip ios.zip
echo "Moving android files"
mv calabash-android-united/* old/android
echo "Moving ios files"
mv calabash-ios-united/* old/ios
rm -f andro... | <|file_sep|>copy_repos.sh.diff
original:
rm -rf calabash-android-master
rm -rf calabash-ios-master
updated:
rm -rf calabash-android-united
rm -rf calabash-ios-united
<|file_sep|>copy_repos.sh.diff
original:
curl --silent -L -o master.zip https://codeload.github.com/calabash/calabash-android/zip/master
mv master.zip and... | 1106b0fd02a47964d260d69dadf15c64bfb9770f | copy_repos.sh | copy_repos.sh | Shell |
<|file_sep|>metadata/org.shirakumo.ocelot.yml.diff
original:
updated:
- versionName: '0.3'
versionCode: 3
commit: '0.3'
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/org.shirakumo.ocelot.yml
Repo: https://github.com/Shirakumo/ocelot
Builds:
- versionName: '0.1'
versionCode: 1
... | gradle:
- yes
- versionName: '0.2'
versionCode: 2
commit: '0.2'
subdir: app
gradle:
- yes
- versionName: '0.3'
versionCode: 3
commit: '0.3'
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: '0.3'
CurrentVersionCode: 3 | <|file_sep|>metadata/org.shirakumo.ocelot.yml.diff
original:
updated:
- versionName: '0.3'
versionCode: 3
commit: '0.3'
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/org.shirakumo.ocelot.yml
Repo: https://github.com/Shirakumo/ocelot
Builds:
- versionName: '0.1'
versionCode: 1
... | c2574f23ce92443b99517df230c13c1fea4a6ff3 | metadata/org.shirakumo.ocelot.yml | metadata/org.shirakumo.ocelot.yml | YAML |
<|file_sep|>Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplate/TestActor.cs.diff
original:
updated:
// NOTE: IScriptObject should probably be considered deprecated in favor of UKlawrScriptComponent
<|file_sep|>Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplat... | // FIXME: AActor::K2_GetWorld() is no more, and AActor::GetWorld() is not exposed to
// Blueprints at all... may need to expose UObject::GetWorld() manually.
/*
var world = K2_GetWorld();
var worldClass = UWorld.StaticClass();
bool isWorldClass = world.IsA(w... | <|file_sep|>Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplate/TestActor.cs.diff
original:
updated:
// NOTE: IScriptObject should probably be considered deprecated in favor of UKlawrScriptComponent
<|file_sep|>Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplat... | bbf8187e0a678f84adf87e3ff20445551b4e417b | Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplate/TestActor.cs | Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplate/TestActor.cs | C# |
<|file_sep|>original/layouts/shortcodes/directoryListing.html
{{ $path := .Get 0 }}
{{ $files := readDir $path }}
<ul>
{{ range $files }}
{{ if ne .Name "index.md" }}
{{ $name := replace .Name ".md" "" }}
<li><a href="{{ $name }}"> {{ $name }}</a></li>
{{ end }}
{{ end }}
</ul>
<|file_sep|>curre... | {{ $path := .Get 0 }}
{{ $files := readDir $path }}
<ul>
{{ range $files }}
{{ if ne .Name "index.md" }}
{{ $name := replace .Name ".md" "" }}
{{ $name := replace $name "-" " " }}
<li><a href="{{ $name }}"> {{ $name }}</a></li>
{{ end }}
{{ end }}
</ul> | <|file_sep|>original/layouts/shortcodes/directoryListing.html
{{ $path := .Get 0 }}
{{ $files := readDir $path }}
<ul>
{{ range $files }}
{{ if ne .Name "index.md" }}
{{ $name := replace .Name ".md" "" }}
<li><a href="{{ $name }}"> {{ $name }}</a></li>
{{ end }}
{{ end }}
</ul>
<|file_sep|>curre... | fa048e65b4fb17abb8c6b234526a2796e3667039 | layouts/shortcodes/directoryListing.html | layouts/shortcodes/directoryListing.html | HTML |
<|file_sep|>original/.travis.yml
language: csharp
solution: Hjson.sln
script:
- xbuild /p:Configuration=Release Hjson.sln
- xbuild /p:Configuration=Release test/Test.sln
- mono ./test/bin/Release/Test.exe
<|file_sep|>current/.travis.yml
language: csharp
solution: Hjson.sln
script:
- xbuild /p:Configuration=Rele... | language: csharp
solution: Hjson.sln
script:
- xbuild /p:Configuration=Release Hjson.sln
- mono ./test/bin/Release/Test.exe | <|file_sep|>original/.travis.yml
language: csharp
solution: Hjson.sln
script:
- xbuild /p:Configuration=Release Hjson.sln
- xbuild /p:Configuration=Release test/Test.sln
- mono ./test/bin/Release/Test.exe
<|file_sep|>current/.travis.yml
language: csharp
solution: Hjson.sln
script:
- xbuild /p:Configuration=Rele... | f014a3b4002d4567a21f91878877e4679e881664 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/composer.json
"name": "SilverStripe",
"homepage": "http://silverstripe.com"
},
{
"name": "The SilverStripe Community",
"homepage": "http://silverstripe.org"
}
],
"require": {
"php": ">=5.3.3,<7",
"silverstripe/framework": "~3.3"
},
"extra": {
"branch-alias": {
"3.x-de... | "name": "SilverStripe",
"homepage": "http://silverstripe.com"
},
{
"name": "The SilverStripe Community",
"homepage": "http://silverstripe.org"
}
],
"require": {
"php": ">=5.3.3,<7",
"silverstripe/framework": "~3.3"
},
"extra": {
"branch-alias": {
"3.x-dev": "3.6.x-dev"
}
},
"require-d... | <|file_sep|>original/composer.json
"name": "SilverStripe",
"homepage": "http://silverstripe.com"
},
{
"name": "The SilverStripe Community",
"homepage": "http://silverstripe.org"
}
],
"require": {
"php": ">=5.3.3,<7",
"silverstripe/framework": "~3.3"
},
"extra": {
"branch-alias": {
"3.x-de... | a0eda1edd1d9446eef67dfd37ce30256ce37ee98 | composer.json | composer.json | JSON |
<|file_sep|>original/db/migrations/20181129083521_extend_cached_deviations_column_lengths.php
<|file_sep|>current/db/migrations/20181129083521_extend_cached_deviations_column_lengths.php
<|file_sep|>updated/db/migrations/20181129083521_extend_cached_deviations_column_lengths.php | <?php
use Phinx\Migration\AbstractMigration;
class ExtendCachedDeviationsColumnLengths extends AbstractMigration {
public function change() {
$this->table('cached_deviations')
->changeColumn('preview','string', ['length' => 300])
->changeColumn('fullsize','string', ['length' => 300])
->update();
}
} | <|file_sep|>original/db/migrations/20181129083521_extend_cached_deviations_column_lengths.php
<|file_sep|>current/db/migrations/20181129083521_extend_cached_deviations_column_lengths.php
<|file_sep|>updated/db/migrations/20181129083521_extend_cached_deviations_column_lengths.php
<?php
use Phinx\Migration\AbstractMig... | 733fccfc283345c1c02d385627c2f37ed3470205 | db/migrations/20181129083521_extend_cached_deviations_column_lengths.php | db/migrations/20181129083521_extend_cached_deviations_column_lengths.php | PHP |
<|file_sep|>original/pyconca2017/templates/markdown/en/sprints.md
PyCon Canada Development Sprints are two days of intensive learning and development on an open source project of your choice, in a team environment. It's a time to come together with colleagues, old and new, to share what you've learned and apply it to a... | PyCon Canada Development Sprints are two days of intensive learning and development on an open source project of your choice, in a team environment. It's a time to come together with colleagues, old and new, to share what you've learned and apply it to an open source project.
They will be held at the [UQAM Chaufferie ... | <|file_sep|>original/pyconca2017/templates/markdown/en/sprints.md
PyCon Canada Development Sprints are two days of intensive learning and development on an open source project of your choice, in a team environment. It's a time to come together with colleagues, old and new, to share what you've learned and apply it to a... | f87e796115de9c0a7470036a43ac91a73457b156 | pyconca2017/templates/markdown/en/sprints.md | pyconca2017/templates/markdown/en/sprints.md | Markdown |
<|file_sep|>original/client/src/js/account/components/API/CreateInfo.js
export const CreateAPIKeyInfo = ({ administrator }) => {
if (administrator) {
return (
<StyledCreateAPIKeyInfo>
<Icon name="user-shield" />
<div>
<p>
... | export const CreateAPIKeyInfo = ({ administrator }) => {
if (administrator) {
return (
<StyledCreateAPIKeyInfo>
<Icon name="user-shield" />
<div>
<p>
<strong>You are an administrator and can create API keys with any perm... | <|file_sep|>original/client/src/js/account/components/API/CreateInfo.js
export const CreateAPIKeyInfo = ({ administrator }) => {
if (administrator) {
return (
<StyledCreateAPIKeyInfo>
<Icon name="user-shield" />
<div>
<p>
... | e4d5ed7973c7c597f55ffa86a97cc1a072a4a92a | client/src/js/account/components/API/CreateInfo.js | client/src/js/account/components/API/CreateInfo.js | JavaScript |
<|file_sep|>original/application/models/minecraftitem_model.php
<|file_sep|>current/application/models/minecraftitem_model.php
<|file_sep|>updated/application/models/minecraftitem_model.php | <?php
class Minecraftitem_model extends My_Model {
protected $return_type = 'array';
public function apply_update($items){
$updated = 0;
foreach($items as $item){
}
return($updated);
}
}
?> | <|file_sep|>original/application/models/minecraftitem_model.php
<|file_sep|>current/application/models/minecraftitem_model.php
<|file_sep|>updated/application/models/minecraftitem_model.php
<?php
class Minecraftitem_model extends My_Model {
protected $return_type = 'array';
public function apply_update(... | a59b1777723a6e34ee43ffb3da53bfccd82bbaf1 | application/models/minecraftitem_model.php | application/models/minecraftitem_model.php | PHP |
<|file_sep|>original/Defs/ThoughtDefs/Thoughts_Situation_AncestorMemos.xml
<|file_sep|>current/Defs/ThoughtDefs/Thoughts_Situation_AncestorMemos.xml
<|file_sep|>updated/Defs/ThoughtDefs/Thoughts_Situation_AncestorMemos.xml | <?xml version="1.0" encoding="utf-8" ?>
<Thoughts>
<ThoughtDef>
<defName>MTW_Bedeviled</defName>
<durationDays>4.5</durationDays>
<stages>
<li>
<label>bedeviled by ancestors</label>
<description>What did I do to deserve this punishment?</description>
<baseMoodEffect>-9</ba... | <|file_sep|>original/Defs/ThoughtDefs/Thoughts_Situation_AncestorMemos.xml
<|file_sep|>current/Defs/ThoughtDefs/Thoughts_Situation_AncestorMemos.xml
<|file_sep|>updated/Defs/ThoughtDefs/Thoughts_Situation_AncestorMemos.xml
<?xml version="1.0" encoding="utf-8" ?>
<Thoughts>
<ThoughtDef>
<defName>MTW_Bedeviled... | 580d44786339f08191423d829e72d09eccdbbd22 | Defs/ThoughtDefs/Thoughts_Situation_AncestorMemos.xml | Defs/ThoughtDefs/Thoughts_Situation_AncestorMemos.xml | XML |
<|file_sep|>original/composer.json
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"symfony/http-kernel": "~2.1",
"symfony/http-foundation": "~2.... | },
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"symfony/http-kernel": "~2.2",
"symfony/http-foundation": "~2.1"
},
"suggest": {
... | <|file_sep|>original/composer.json
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"symfony/http-kernel": "~2.1",
"symfony/http-foundation": "~2.... | 1c5c2461952fae283bc754337a4843355335c88a | composer.json | composer.json | JSON |
<|file_sep|>org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/style/SortConsCategory.java.diff
original:
updated:
import java.util.Objects;
<|file_sep|>org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/style/SortConsCategory.java.diff
original:
public final String sort;
updated:
... |
public SortConsCategory(String sort, String cons) {
this.sort = sort;
this.cons = cons;
}
@Override public String name() {
return sort + "." + cons;
}
@Override public boolean equals(Object o) {
if(this == o)
return true;
if(o == null || getCla... | <|file_sep|>org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/style/SortConsCategory.java.diff
original:
updated:
import java.util.Objects;
<|file_sep|>org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/style/SortConsCategory.java.diff
original:
public final String sort;
updated:
... | 821b1712567bfcac4ddf23ebfa995ae9bf0a1e4c | org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/style/SortConsCategory.java | org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/style/SortConsCategory.java | Java |
<|file_sep|>client/app/accounts/services/current-account.service.ts.diff
original:
updated:
import { Observable } from 'rxjs/Observable';
import { Subject } from 'rxjs/Subject';
<|file_sep|>client/app/accounts/services/current-account.service.ts.diff
original:
updated:
private account = new Subject<string>();
<|fi... | import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { Subject } from 'rxjs/Subject';
@Injectable()
export class CurrentAccountService {
private account = new Subject<string>();
set(token: string) {
localStorage.setItem('jwt', token);
this.account.next(token);
... | <|file_sep|>client/app/accounts/services/current-account.service.ts.diff
original:
updated:
import { Observable } from 'rxjs/Observable';
import { Subject } from 'rxjs/Subject';
<|file_sep|>client/app/accounts/services/current-account.service.ts.diff
original:
updated:
private account = new Subject<string>();
<|fi... | 73aae94c7f97ec019d56e96afb3afaa2ac15a9f9 | client/app/accounts/services/current-account.service.ts | client/app/accounts/services/current-account.service.ts | TypeScript |
<|file_sep|>original/test/functional/petitions_controller_test.rb
end
def test_index_json
get(:index, {:format => 'json'})
assert_response :success
assert_not_nil assigns(:collection)
end
def test_index_with_all_criteria
get(:index, {:issues => ['Health Care'], :statuses => ['responded'], :signa... | end
def test_index_json
get(:index, {:format => 'json'})
assert_response :success
assert_not_nil assigns(:collection)
end
def test_index_with_all_criteria
get(:index, {:issues => ['Health Care'], :statuses => ['responded'], :signatures => 1000})
assert_response :success
assert_not_nil as... | <|file_sep|>original/test/functional/petitions_controller_test.rb
end
def test_index_json
get(:index, {:format => 'json'})
assert_response :success
assert_not_nil assigns(:collection)
end
def test_index_with_all_criteria
get(:index, {:issues => ['Health Care'], :statuses => ['responded'], :signa... | 95b1eabce6f6dcc302cdaafef652dfa47234ec28 | test/functional/petitions_controller_test.rb | test/functional/petitions_controller_test.rb | Ruby |
<|file_sep|>original/run.sh
#!/usr/bin/env bash
docker run -ti --net=host --privileged -e http_proxy=$http_proxy -e https_proxy=$https_proxy klabs/forgetproxy
<|file_sep|>current/run.sh
#!/usr/bin/env bash
docker run -ti --net=host --privileged -e http_proxy=$http_proxy -e https_proxy=$https_proxy klabs/forgetproxy
<... | #!/usr/bin/env sh
docker run -ti --net=host --privileged -e http_proxy=$http_proxy -e https_proxy=$https_proxy klabs/forgetproxy | <|file_sep|>original/run.sh
#!/usr/bin/env bash
docker run -ti --net=host --privileged -e http_proxy=$http_proxy -e https_proxy=$https_proxy klabs/forgetproxy
<|file_sep|>current/run.sh
#!/usr/bin/env bash
docker run -ti --net=host --privileged -e http_proxy=$http_proxy -e https_proxy=$https_proxy klabs/forgetproxy
<... | ce80d30089255e0209bf9121917896b3692ad0da | run.sh | run.sh | Shell |
<|file_sep|>original/scripts/dns.sh
#######################################
# After running this script, you also must run scripts/dns_update.sh,
# and any time a zone file is added/changed/removed, and any time a
# new domain name becomes in use by a mail user.
#
# This script will turn on DNS for $PUBLIC_HOSTNAME.
... | #######################################
# After running this script, you also must run scripts/dns_update.sh,
# and any time a zone file is added/changed/removed, and any time a
# new domain name becomes in use by a mail user.
#
# This script will turn on DNS for $PUBLIC_HOSTNAME.
# Install nsd, our DNS server softwa... | <|file_sep|>original/scripts/dns.sh
#######################################
# After running this script, you also must run scripts/dns_update.sh,
# and any time a zone file is added/changed/removed, and any time a
# new domain name becomes in use by a mail user.
#
# This script will turn on DNS for $PUBLIC_HOSTNAME.
... | c7e1e29ddff52683f72463784f379539b848514f | scripts/dns.sh | scripts/dns.sh | Shell |
<|file_sep|>original/.github/labeler.yml
debian:
- src/main/scala/com/typesafe/sbt/packager/debian/*
rpm:
- src/main/scala/com/typesafe/sbt/packager/rpm/*
windows:
- src/main/scala/com/typesafe/sbt/packager/windows/*
graalvm:
- src/main/scala/com/typesafe/sbt/packager/graalvmnativeimage/*
jdkpackager:
- s... | - src/main/scala/com/typesafe/sbt/packager/debian/*
rpm:
- src/main/scala/com/typesafe/sbt/packager/rpm/*
windows:
- src/main/scala/com/typesafe/sbt/packager/windows/*
graalvm:
- src/main/scala/com/typesafe/sbt/packager/graalvmnativeimage/*
jdkpackager:
- src/main/scala/com/typesafe/sbt/packager/jdkpackag... | <|file_sep|>original/.github/labeler.yml
debian:
- src/main/scala/com/typesafe/sbt/packager/debian/*
rpm:
- src/main/scala/com/typesafe/sbt/packager/rpm/*
windows:
- src/main/scala/com/typesafe/sbt/packager/windows/*
graalvm:
- src/main/scala/com/typesafe/sbt/packager/graalvmnativeimage/*
jdkpackager:
- s... | a1dac90faf08ab73ba31654c82b78b379c7acf62 | .github/labeler.yml | .github/labeler.yml | YAML |
<|file_sep|>metadata/uk.sensoryunderload.infinilist.yml.diff
original:
updated:
- versionName: 1.1.0
versionCode: 8
commit: cdd99896ee9d7bc38923248b4301b2f9c57b07a7
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/uk.sensoryunderload.infinilist.yml
gradle:
- yes
- versionNa... | gradle:
- yes
- versionName: 1.0.6
versionCode: 7
commit: 1a84b8fccba395c7760214fb930bd7b27c809fa7
subdir: app
gradle:
- yes
- versionName: 1.1.0
versionCode: 8
commit: cdd99896ee9d7bc38923248b4301b2f9c57b07a7
subdir: app
gradle:
- yes
AutoUpdateMode: Version... | <|file_sep|>metadata/uk.sensoryunderload.infinilist.yml.diff
original:
updated:
- versionName: 1.1.0
versionCode: 8
commit: cdd99896ee9d7bc38923248b4301b2f9c57b07a7
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/uk.sensoryunderload.infinilist.yml
gradle:
- yes
- versionNa... | 38ef84b40e59e7d989110ae37596c20aef557a98 | metadata/uk.sensoryunderload.infinilist.yml | metadata/uk.sensoryunderload.infinilist.yml | YAML |
<|file_sep|>original/package.json
"description": "",
"main": "index.js",
"scripts": {
"start": "http-server -p 9000 public",
"watch": "gulp watch",
"build": "gulp",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "BSD-2-Clause",
"dependencies": {
"gulp... | "description": "",
"main": "index.js",
"scripts": {
"start": "http-server -p 9000 public",
"watch": "gulp watch",
"build": "gulp",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "BSD-2-Clause",
"devDependencies": {
"gulp": "~3.5.1",
"gulp-jade": "... | <|file_sep|>original/package.json
"description": "",
"main": "index.js",
"scripts": {
"start": "http-server -p 9000 public",
"watch": "gulp watch",
"build": "gulp",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "BSD-2-Clause",
"dependencies": {
"gulp... | 73a11722dc1d8e84c997832a5f5f63afbd190162 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1.3
script: bundle exec rspec
before_script: cp spec/api_key.travis.rb spec/api_key.rb
after_script: rm spec/api_key.rb
before_install:
- gem install bundler -v 1.13.2
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1.3
script: b... | language: ruby
rvm:
- 1.9.3
- 2.1.3
- 2.2.5
- 2.3.1
script: bundle exec rspec
before_script: cp spec/api_key.travis.rb spec/api_key.rb
after_script: rm spec/api_key.rb
before_install:
- gem install bundler -v 1.13.2 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1.3
script: bundle exec rspec
before_script: cp spec/api_key.travis.rb spec/api_key.rb
after_script: rm spec/api_key.rb
before_install:
- gem install bundler -v 1.13.2
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1.3
script: b... | 7a12512b40be64131995a4d3db3f9b78401414f7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test/test_outputs.py
<|file_sep|>current/test/test_outputs.py
<|file_sep|>updated/test/test_outputs.py | """Test the output module."""
frc_out = outputs.frc_eia923_df(pudl_engine)
gens_out = outputs.gens_eia860_df(pudl_engine)
gf_out = outputs.gf_eia923_df(pudl_engine)
pu_eia = outputs.plants_utils_eia_df(pudl_engine)
pu_ferc = outputs.plants_utils_ferc_df(pudl_engine)
steam_out = outputs.plants_steam_ferc1_df(pudl_engin... | <|file_sep|>original/test/test_outputs.py
<|file_sep|>current/test/test_outputs.py
<|file_sep|>updated/test/test_outputs.py
"""Test the output module."""
frc_out = outputs.frc_eia923_df(pudl_engine)
gens_out = outputs.gens_eia860_df(pudl_engine)
gf_out = outputs.gf_eia923_df(pudl_engine)
pu_eia = outputs.plants_util... | fc7904ed8753edba2e3a2ed7f6ca702c2f942903 | test/test_outputs.py | test/test_outputs.py | Python |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "node"
- "lts/*"
cache:
yarn: true
directories:
- node_modules
script:
- yarn build
- yarn lint
deploy:
provider: pages
allow_failure: true
skip_cleanup: true
local_dir: public
on:
branch: master
<|file_sep|>current/.travis.yml
language: ... | language: node_js
node_js:
- "node"
- "lts/*"
cache:
yarn: true
directories:
- node_modules
script:
- yarn build
- yarn lint
deploy:
provider: pages
allow_failure: true
skip_cleanup: true
local_dir: public
github_token: $GITHUB_TOKEN
on:
branch: master | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "node"
- "lts/*"
cache:
yarn: true
directories:
- node_modules
script:
- yarn build
- yarn lint
deploy:
provider: pages
allow_failure: true
skip_cleanup: true
local_dir: public
on:
branch: master
<|file_sep|>current/.travis.yml
language: ... | 3e81b6e9543868623e546955f66aafd7616c07f9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/template-2_col-pics.php
<li>
<?php the_field('2-col-pics-text_col2'); ?>
</li>
</ul>
</div>
</div>
<div class="medium-4 small-12 column image-list">
<?php if( have_rows('2-col-pics_pictures') ) { ?>
<u... |
<li>
<?php the_field('2-col-pics-text_col2'); ?>
</li>
</ul>
</div>
</div>
<div class="medium-4 small-12 column image-list">
<?php if( have_rows('2-col-pics_pictures') ) { ?>
<ul>
<?php while ( have_rows('2-col... | <|file_sep|>original/template-2_col-pics.php
<li>
<?php the_field('2-col-pics-text_col2'); ?>
</li>
</ul>
</div>
</div>
<div class="medium-4 small-12 column image-list">
<?php if( have_rows('2-col-pics_pictures') ) { ?>
<u... | d380e54a153e8a8b6a6ec72a7ec582a0075430ef | template-2_col-pics.php | template-2_col-pics.php | PHP |
<|file_sep|>original/src/build/supportedFolders.js
/* eslint-disable max-len */
exports.extensions = {
supported: [
{ icon: 'dist', extensions: ['dist', 'out'] },
{ icon: 'git', extensions: ['git', 'github'] },
{ icon: 'node', extensions: ['node_modules'] },
{ icon: 'meteor', extensions: ['meteor'] },... | /* eslint-disable max-len */
exports.extensions = {
supported: [
{ icon: 'dist', extensions: ['dist', 'out', 'export'] },
{ icon: 'git', extensions: ['git', 'github'] },
{ icon: 'node', extensions: ['node_modules'] },
{ icon: 'meteor', extensions: ['meteor'] },
{ icon: 'src', extensions: ['src'] }... | <|file_sep|>original/src/build/supportedFolders.js
/* eslint-disable max-len */
exports.extensions = {
supported: [
{ icon: 'dist', extensions: ['dist', 'out'] },
{ icon: 'git', extensions: ['git', 'github'] },
{ icon: 'node', extensions: ['node_modules'] },
{ icon: 'meteor', extensions: ['meteor'] },... | 236efbb73ed384f3f753c4da8ec82b531f643e9e | src/build/supportedFolders.js | src/build/supportedFolders.js | JavaScript |
<|file_sep|>original/.travis.yml
dist: xenial
sudo: required
services:
- docker
language: go
git:
depth: 1
env:
global:
GOFLAGS=-mod=vendor
matrix:
fast_finish: true
allow_failures:
- go: tip
include:
- go: "1.12.x"
name: "Code Lint"
script: make lint
<|file_sep|>current/.travis.yml
dis... | dist: xenial
sudo: required
services:
- docker
language: go
env:
global:
GOFLAGS=-mod=vendor
matrix:
fast_finish: true
allow_failures:
- go: tip
include:
- go: "1.12.x"
name: "Code Lint"
script: make lint
- go: "1.12.x"
name: "Code UnitTest"
script: make test | <|file_sep|>original/.travis.yml
dist: xenial
sudo: required
services:
- docker
language: go
git:
depth: 1
env:
global:
GOFLAGS=-mod=vendor
matrix:
fast_finish: true
allow_failures:
- go: tip
include:
- go: "1.12.x"
name: "Code Lint"
script: make lint
<|file_sep|>current/.travis.yml
dis... | d65226b39ff50fb7d35b1053a77613baf73262bb | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/ensembl/conf/ini-files/MULTI.ini
[COMPARA_DEFAULT_ALIGNMENTS] =
mammals = EPO_EXTENDED
fish = EPO_EXTENDED
sauropsids = EPO
[PRE_SPECIES]
Ceratotherium_simum_simum = [Rhinoceros CerSimSim1 73337]
Erinaceus_europaeus ... |
[COMPARA_DEFAULT_ALIGNMENTS] =
mammals = EPO_EXTENDED
fish = EPO_EXTENDED
sauropsids = EPO
[GENERIC_DATA]
LOCATION_TEXT = rat 5:62797383-63627669
GENE_TEXT = BRCA2
VARIATION_TEXT = rs699
SEARCH_TEXT = coronary heart disease
[marts]
[da... | <|file_sep|>original/ensembl/conf/ini-files/MULTI.ini
[COMPARA_DEFAULT_ALIGNMENTS] =
mammals = EPO_EXTENDED
fish = EPO_EXTENDED
sauropsids = EPO
[PRE_SPECIES]
Ceratotherium_simum_simum = [Rhinoceros CerSimSim1 73337]
Erinaceus_europaeus ... | 5b7bf36a49772be48e6afb4d2ab0856880bf06e4 | ensembl/conf/ini-files/MULTI.ini | ensembl/conf/ini-files/MULTI.ini | INI |
<|file_sep|>include/llvm/Transforms/Instrumentation.h.diff
original:
class Pass;
updated:
class ModulePass;
class FunctionPass;
// Reoptimizer support pass: add instrumentation calls to back-edges of loops
ModulePass *createLoopInstrumentationPass ();
// Reoptimizer support pass: combine multiple back-edges w/ same t... | // Reoptimizer support pass: combine multiple back-edges w/ same target into one
FunctionPass *createCombineBranchesPass();
// Reoptimizer support pass: emit table of global functions
FunctionPass *createEmitFunctionTablePass ();
//===----------------------------------------------------------------------===//
// Sup... | <|file_sep|>include/llvm/Transforms/Instrumentation.h.diff
original:
class Pass;
updated:
class ModulePass;
class FunctionPass;
// Reoptimizer support pass: add instrumentation calls to back-edges of loops
ModulePass *createLoopInstrumentationPass ();
// Reoptimizer support pass: combine multiple back-edges w/ same t... | f858f7f3804ea20b80a38dab9b1b2d098e1df2a1 | include/llvm/Transforms/Instrumentation.h | include/llvm/Transforms/Instrumentation.h | C |
<|file_sep|>original/src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/step8.html.twig
{% extends 'MunicipalesBundle:theme:layout.html.twig' %}
{% block title %}{{ 'candidacy.step8.html_title'|trans }}{% endblock %}
{% block content %}
<h1>{{ 'candidacy.step8.h1_title'|trans }}</h1>
<p cl... | {% extends 'MunicipalesBundle:theme:layout.html.twig' %}
{% block title %}{{ 'candidacy.step8.html_title'|trans }}{% endblock %}
{% block content %}
<h1>{{ 'candidacy.step8.h1_title'|trans }}</h1>
<p class="important">
{{ 'candidacy.step8.explanation'|trans }}
</p>
{% endblock %} | <|file_sep|>original/src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/step8.html.twig
{% extends 'MunicipalesBundle:theme:layout.html.twig' %}
{% block title %}{{ 'candidacy.step8.html_title'|trans }}{% endblock %}
{% block content %}
<h1>{{ 'candidacy.step8.h1_title'|trans }}</h1>
<p cl... | 6a8bae352daef92ac10d0a4c25d54e78ebac388b | src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/step8.html.twig | src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/step8.html.twig | Twig |
<|file_sep|>lib/chef_metal_vagrant.rb.diff
original:
class Recipe
def with_vagrant_cluster(cluster_path, &block)
with_provisioner(ChefMetalVagrant::VagrantProvisioner.new(cluster_path), &block)
end
updated:
module DSL
module Recipe
def with_vagrant_cluster(cluster_path, &block)
with_... | else
new_options = { 'vagrant_options' => { 'vm.box' => box_name } }
end
run_context.chef_metal.add_provisioner_options(new_options, &block)
end
end
class Chef
module DSL
module Recipe
def with_vagrant_cluster(cluster_path, &block)
with_provisioner(ChefMetalVagrant::VagrantProv... | <|file_sep|>lib/chef_metal_vagrant.rb.diff
original:
class Recipe
def with_vagrant_cluster(cluster_path, &block)
with_provisioner(ChefMetalVagrant::VagrantProvisioner.new(cluster_path), &block)
end
updated:
module DSL
module Recipe
def with_vagrant_cluster(cluster_path, &block)
with_... | 06c80e9305bd4fae242344ad5187964f7ba43d8e | lib/chef_metal_vagrant.rb | lib/chef_metal_vagrant.rb | Ruby |
<|file_sep|>original/README.md
campBX.ticker(function(err, data) {
if(err) {
throw err;
}
console.log(data);
});
// Trade API method call.
campBX.myFunds(function(err, data) {
if(err) {
throw err;
}
console.log(data);
});
```
## License
This module is [ISC licensed](https://github.com/scud43/no... |
console.log(data);
});
// Trade API method call.
campBX.myFunds(function(err, data) {
if(err) {
throw err;
}
console.log(data);
});
```
## Reference
A method-by-method [reference](https://github.com/scud43/node-campbx/wiki/API-Reference) is available on the wiki.
## License
This module is [ISC licens... | <|file_sep|>original/README.md
campBX.ticker(function(err, data) {
if(err) {
throw err;
}
console.log(data);
});
// Trade API method call.
campBX.myFunds(function(err, data) {
if(err) {
throw err;
}
console.log(data);
});
```
## License
This module is [ISC licensed](https://github.com/scud43/no... | 55aced4d6a0ecdce54911da18bf6c8f757f8d597 | README.md | README.md | Markdown |
<|file_sep|>original/api/config/routes.rb
resources :club_applications, only: [:create]
resources :tech_domain_redemptions, only: [:create]
resources :donations, only: [:create]
namespace :home do
resources :slack_users, only: [:index]
end
namespace :analytics do
post 'identify'
... | resources :club_applications, only: [:create]
resources :tech_domain_redemptions, only: [:create]
resources :donations, only: [:create]
namespace :home do
resources :slack_users, only: [:index]
end
# Using 'bigbrother' as the path to get past ad-blockers
post 'bigbrother/identify', t... | <|file_sep|>original/api/config/routes.rb
resources :club_applications, only: [:create]
resources :tech_domain_redemptions, only: [:create]
resources :donations, only: [:create]
namespace :home do
resources :slack_users, only: [:index]
end
namespace :analytics do
post 'identify'
... | cb9d79c1b5911a8e4f4cafa4d9bbc2bbc7a13e0d | api/config/routes.rb | api/config/routes.rb | Ruby |
<|file_sep|>original/src/python/twitter/mesos/location.py
import re
import socket
class Location(object):
"""Determine which cluster the code is running in, or CORP if we are not in prod."""
PROD_SUFFIXES = [
'.corpdc.twitter.com',
'.prod.twitter.com',
]
@staticmethod
def is_corp():
"""
R... | import re
import socket
class Location(object):
"""Determine which cluster the code is running in, or CORP if we are not in prod."""
PROD_SUFFIXES = [
'.corpdc.twitter.com',
'.prod.twitter.com',
'.devel.twitter.com'
]
@staticmethod
def is_corp():
"""
Returns true if this job is in cor... | <|file_sep|>original/src/python/twitter/mesos/location.py
import re
import socket
class Location(object):
"""Determine which cluster the code is running in, or CORP if we are not in prod."""
PROD_SUFFIXES = [
'.corpdc.twitter.com',
'.prod.twitter.com',
]
@staticmethod
def is_corp():
"""
R... | 494d2a2cfcfa5dc9058f087588fb1371021174d4 | src/python/twitter/mesos/location.py | src/python/twitter/mesos/location.py | Python |
<|file_sep|>original/.travis.yml
language: android
jdk: oraclejdk8
android:
components:
- android-23
- build-tools-23.0.1
- extra-android-m2repository
- extra-android-support
script:
- sh ci.sh
notifications:
email: false
cache:
directories:
- $HOME/.m2
- $HOME/.gradle
<|file_sep|>c... | components:
- android-23
- build-tools-23.0.1
- extra-android-m2repository
- extra-android-support
script:
- sh ci.sh
notifications:
email:
recipients:
- artem.zinnatullin@gmail.com
- nikitin.da.90@gmail.com
on_success: never
on_failure: always
cache:
directories:
... | <|file_sep|>original/.travis.yml
language: android
jdk: oraclejdk8
android:
components:
- android-23
- build-tools-23.0.1
- extra-android-m2repository
- extra-android-support
script:
- sh ci.sh
notifications:
email: false
cache:
directories:
- $HOME/.m2
- $HOME/.gradle
<|file_sep|>c... | b2e59e9b00ab13615ab57908795c5313631a6fbf | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.5.3
updated:
- rvm: 2.5.5
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.5.3
updated:
- rvm: 2.5.5
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.5.3
updated:
- rvm: 2.5.5
<|file_sep|>original/.travis.yml
env:
RSPEC: 1
script:... | env:
RSPEC: 1
script: bundle exec rspec
- rvm: 2.5.5
env:
CHEFSTYLE: 1
script: bundle exec rake style:chefstyle
- rvm: 2.5.5
env:
COOKSTYLE: 1
script: bundle exec rake style:cookstyle
- rvm: 2.5.5
env:
FOODCRITIC: 1
script: bund... | <|file_sep|>.travis.yml.diff
original:
- rvm: 2.5.3
updated:
- rvm: 2.5.5
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.5.3
updated:
- rvm: 2.5.5
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.5.3
updated:
- rvm: 2.5.5
<|file_sep|>original/.travis.yml
env:
RSPEC: 1
script:... | 6376ab35ada942f1c38e423d103eb5f75e87f9f6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>foodsaving/management/tests/test_makemessages.py.diff
original:
self.assertIn('jinja', modified_options['extensions'])
updated:
self.assertIn('jinja2', modified_options['extensions'])
<|file_sep|>original/foodsaving/management/tests/test_makemessages.py
class CustomMakeMessagesTest(TestCase... |
makemessages = MakeMessagesCommand
django_jinja_makemessages = DjangoJinjaMakeMessagesCommand
class CustomMakeMessagesTest(TestCase):
def test_update_options(self):
options = {
'locale': [],
}
modified_options = MakeMessagesCommand.update_options(**options)
self.asser... | <|file_sep|>foodsaving/management/tests/test_makemessages.py.diff
original:
self.assertIn('jinja', modified_options['extensions'])
updated:
self.assertIn('jinja2', modified_options['extensions'])
<|file_sep|>original/foodsaving/management/tests/test_makemessages.py
class CustomMakeMessagesTest(TestCase... | 9bdf9455344b83fc28c5ecceafba82036bb2c75d | foodsaving/management/tests/test_makemessages.py | foodsaving/management/tests/test_makemessages.py | Python |
<|file_sep|>DanTup.DartAnalysis.Tests/Tests.cs.diff
original:
updated:
using System.Reactive.Linq;
<|file_sep|>original/DanTup.DartAnalysis.Tests/Tests.cs
// Hijack ENV-reading property
get { return DanTup.DartVS.DartAnalysisService.SdkPath; }
}
string CodebaseRoot = Path.GetFullPath(new Uri(Path.Combine(Pa... |
protected DartAnalysisService CreateTestService()
{
var service = new DartAnalysisService(SdkFolder, ServerScript);
service.SetServerSubscriptions(new[] { ServerService.Status }).Wait();
return service;
}
}
public static class TestExtensions
{
public static void WaitForAnalysis(this DartAnalysis... | <|file_sep|>DanTup.DartAnalysis.Tests/Tests.cs.diff
original:
updated:
using System.Reactive.Linq;
<|file_sep|>original/DanTup.DartAnalysis.Tests/Tests.cs
// Hijack ENV-reading property
get { return DanTup.DartVS.DartAnalysisService.SdkPath; }
}
string CodebaseRoot = Path.GetFullPath(new Uri(Path.Combine(Pa... | c794901275b98790f393ad68bfdde406f0c51cfa | DanTup.DartAnalysis.Tests/Tests.cs | DanTup.DartAnalysis.Tests/Tests.cs | C# |
<|file_sep|>You-DataStore/datastore.cpp.diff
original:
Internal::DataStore::get().post(taskId, task);
updated:
std::wstring stringId = boost::lexical_cast<std::wstring>(taskId);
Internal::DataStore::get().post(Internal::TASKS_NODE, stringId, task);
<|file_sep|>You-DataStore/datastore.cpp.diff
original:
Internal::Da... | std::wstring stringId = boost::lexical_cast<std::wstring>(taskId);
Internal::DataStore::get().post(Internal::TASKS_NODE, stringId, task);
}
void DataStore::put(TaskId taskId, const KeyValuePairs& task) {
std::wstring stringId = boost::lexical_cast<std::wstring>(taskId);
Internal::DataStore::get().put(Internal::TAS... | <|file_sep|>You-DataStore/datastore.cpp.diff
original:
Internal::DataStore::get().post(taskId, task);
updated:
std::wstring stringId = boost::lexical_cast<std::wstring>(taskId);
Internal::DataStore::get().post(Internal::TASKS_NODE, stringId, task);
<|file_sep|>You-DataStore/datastore.cpp.diff
original:
Internal::Da... | 12c142fbbf64508234c24095c595194f50d7e7b9 | You-DataStore/datastore.cpp | You-DataStore/datastore.cpp | C++ |
<|file_sep|>original/webofneeds/won-owner-webapp/src/main/webapp/gulpfile.js
var generatedStyleFolder = './generated/';
gulp.src('./style/won.scss')
.pipe(sass({
errLogToConsole: true
}))
.pipe(autoprefixer({
browsers: ['last 3 versions'],
cascade: fa... | var generatedStyleFolder = './generated/';
gulp.src('./style/won.scss')
.pipe(sass({
errLogToConsole: true
}))
.pipe(autoprefixer({
browsers: ['last 3 versions'],
cascade: false
}))
.pipe(gulp.dest(generatedStyleFolder))
.pipe(... | <|file_sep|>original/webofneeds/won-owner-webapp/src/main/webapp/gulpfile.js
var generatedStyleFolder = './generated/';
gulp.src('./style/won.scss')
.pipe(sass({
errLogToConsole: true
}))
.pipe(autoprefixer({
browsers: ['last 3 versions'],
cascade: fa... | f6be626d3ff4eb69cc1afae3b5df50cf288ced48 | webofneeds/won-owner-webapp/src/main/webapp/gulpfile.js | webofneeds/won-owner-webapp/src/main/webapp/gulpfile.js | JavaScript |
<|file_sep|>eclipse/assets/index.html.diff
original:
updated:
function record(name, color) {
if (color == null) {
color = 'green';
}
document.getElementById(name).style.color = color;
}
<|file_sep|>eclipse/assets/index.html.diff
original:
function test() {
var input = document.getElementById('input');
var outp... | TYPE="TEXT"
NAME="F1_0_2"
VALUE=""
SIZE="20"
MAXLENGTH="20"
ID="testInput" />
</li>
<li>Are any of the following still red?
<p id='ONKEYPRESS'>ONKEYPRESS</p>
<p id='ONPASTE' style='color: gray;'>ONPASTE -- expected failure: known bug in android :(</p>
<p id='ONFOCUS'>ONFOCUS</p>
<p id='ONKEYUP'>... | <|file_sep|>eclipse/assets/index.html.diff
original:
updated:
function record(name, color) {
if (color == null) {
color = 'green';
}
document.getElementById(name).style.color = color;
}
<|file_sep|>eclipse/assets/index.html.diff
original:
function test() {
var input = document.getElementById('input');
var outp... | 82ed295b50cdfd50be9c0dabf003dc3b15866da0 | eclipse/assets/index.html | eclipse/assets/index.html | HTML |
<|file_sep|>original/tests/test_uname.rs
use common::util::*;
#[test]
fn test_uname_compatible() {
let (_, mut ucmd) = at_and_ucmd!();
let result = ucmd.arg("-a").run();
assert!(result.success);
}
#[test]
fn test_uname_name() {
let (_, mut ucmd) = at_and_ucmd!();
let result = ucmd.arg("-n").run(... | let result = ucmd.arg("-a").run();
assert!(result.success);
}
#[test]
fn test_uname_name() {
let (_, mut ucmd) = at_and_ucmd!();
let result = ucmd.arg("-n").run();
assert!(result.success);
}
#[test]
fn test_uname_kernel() {
let (_, mut ucmd) = at_and_ucmd!();
let result = ucmd.arg("-o").... | <|file_sep|>original/tests/test_uname.rs
use common::util::*;
#[test]
fn test_uname_compatible() {
let (_, mut ucmd) = at_and_ucmd!();
let result = ucmd.arg("-a").run();
assert!(result.success);
}
#[test]
fn test_uname_name() {
let (_, mut ucmd) = at_and_ucmd!();
let result = ucmd.arg("-n").run(... | a93d007cde36a3370d25e7a7bf9646f266875601 | tests/test_uname.rs | tests/test_uname.rs | Rust |
<|file_sep|>app/Resources/views/survey/results.html.twig.diff
original:
<h1>{{ survey.title }} <small>{{ count }} {{ (count == 1) ? 'participant' : 'participants' }}</small></h1>
<hr>
updated:
<div class="page-header">
<h1>{{ survey.title }} <small>{{ count }} {{ (count == 1) ? 'participant' : 'part... | {%- if vote.other -%}
{%- set other = other|merge([vote.other]) -%}
{%- endif -%}
{%- endfor -%}
<dt>{{ answer.title|raw }}</dt>
<dd>
{%- set count = answer.votes|length -%}
... | <|file_sep|>app/Resources/views/survey/results.html.twig.diff
original:
<h1>{{ survey.title }} <small>{{ count }} {{ (count == 1) ? 'participant' : 'participants' }}</small></h1>
<hr>
updated:
<div class="page-header">
<h1>{{ survey.title }} <small>{{ count }} {{ (count == 1) ? 'participant' : 'part... | 8a2d2ca0316a813d8f9a4d5b96d9b8d2cab34b24 | app/Resources/views/survey/results.html.twig | app/Resources/views/survey/results.html.twig | Twig |
<|file_sep|>original/src/leiningen/checkout_deps.clj
(ns leiningen.checkout-deps
(:use [leiningen.core :only [read-project]]
[clojure.contrib.java-utils :only [file]]))
(defn checkout-deps-paths [project]
(apply concat (for [dep (.listFiles (file (:root project) "checkouts"))]
;; Note tha... | (ns leiningen.checkout-deps
(:use [leiningen.core :only [read-project]]
[clojure.contrib.java-utils :only [file]]))
(defn checkout-deps-paths [project]
(apply concat (for [dep (.listFiles (file (:root project) "checkouts"))]
;; Note that this resets the leiningen.core/project var!
... | <|file_sep|>original/src/leiningen/checkout_deps.clj
(ns leiningen.checkout-deps
(:use [leiningen.core :only [read-project]]
[clojure.contrib.java-utils :only [file]]))
(defn checkout-deps-paths [project]
(apply concat (for [dep (.listFiles (file (:root project) "checkouts"))]
;; Note tha... | 266b254b7648e42244e11b57f7de2a61fee69f88 | src/leiningen/checkout_deps.clj | src/leiningen/checkout_deps.clj | Clojure |
<|file_sep|>original/railties/environments/boot.rb
else
require 'rubygems'
if !defined?(RAILS_GEM_VERSION) && File.read(File.dirname(__FILE__) + '/environment.rb') =~ /RAILS_GEM_VERSION = '([\d.]+)'/
RAILS_GEM_VERSION = $1
end
if defined?(RAILS_GEM_VERSION)
rails_gem = Gem.cache.search('rails', "=#{RA... | if !defined?(RAILS_GEM_VERSION) && File.read(File.dirname(__FILE__) + '/environment.rb') =~ /RAILS_GEM_VERSION = '([\d.]+)'/
RAILS_GEM_VERSION = $1
end
if defined?(RAILS_GEM_VERSION)
rails_gem = Gem.cache.search('rails', "=#{RAILS_GEM_VERSION}").first
if rails_gem
require rails_gem.full_gem_pa... | <|file_sep|>original/railties/environments/boot.rb
else
require 'rubygems'
if !defined?(RAILS_GEM_VERSION) && File.read(File.dirname(__FILE__) + '/environment.rb') =~ /RAILS_GEM_VERSION = '([\d.]+)'/
RAILS_GEM_VERSION = $1
end
if defined?(RAILS_GEM_VERSION)
rails_gem = Gem.cache.search('rails', "=#{RA... | 237cc945bb82c3428b85646fe1688fe61d4cc535 | railties/environments/boot.rb | railties/environments/boot.rb | Ruby |
<|file_sep|>original/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.0
pytest-asyncio==0.4.1
pytest-cov==2.3.0
pytest-xdist==1.14
pytest==2.9.2
<|file_sep|>current/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.0
pytest-asyncio==0.4.1
pytest-cov==2.3.0
pytest-xdist==1.14... | -e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.0
pytest-asyncio==0.4.1
pytest-cov==2.3.1
pytest-xdist==1.14
pytest==2.9.2 | <|file_sep|>original/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.0
pytest-asyncio==0.4.1
pytest-cov==2.3.0
pytest-xdist==1.14
pytest==2.9.2
<|file_sep|>current/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.0
pytest-asyncio==0.4.1
pytest-cov==2.3.0
pytest-xdist==1.14... | ebbda218b3b021632cc1ecd72e4d0bfa90678803 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/config/setting.example.json
{
"database": {
"host":"localhost",
"port":"3306",
"dbname":"Enter Your Database Name At Here.",
"username":"Enter Your Database Username At Here.",
"password":"Enter Your Database Password At Here."
},
"timer":{
... | {
"database": {
"host":"localhost",
"port":3306,
"dbname":"Enter Your Database Name At Here.",
"username":"Enter Your Database Username At Here.",
"password":"Enter Your Database Password At Here."
},
"timer":{
"repeattime":3000,
"keepalivetimes":["10... | <|file_sep|>original/config/setting.example.json
{
"database": {
"host":"localhost",
"port":"3306",
"dbname":"Enter Your Database Name At Here.",
"username":"Enter Your Database Username At Here.",
"password":"Enter Your Database Password At Here."
},
"timer":{
... | 9e6019938f86ad4b6b775ae31c8e3cc36f377d9b | config/setting.example.json | config/setting.example.json | JSON |
<|file_sep|>source/php/Switcher.php.diff
original:
updated:
public static $cookieKey = 'wp_content_translator_language';
<|file_sep|>source/php/Switcher.php.diff
original:
updated:
if ($lang = $this->getRequestedLang()) {
$this->switchToLanguage($lang);
}
}
public function get... | public function switchToLanguage(string $code) : bool
{
if (!\ContentTranslator\Language::isActive($code)) {
$lang = \ContentTranslator\Language::find($code);
throw new \Exception("WP Content Translator: Can't switch language to '" . $lang->name . "' because it's not activated.",... | <|file_sep|>source/php/Switcher.php.diff
original:
updated:
public static $cookieKey = 'wp_content_translator_language';
<|file_sep|>source/php/Switcher.php.diff
original:
updated:
if ($lang = $this->getRequestedLang()) {
$this->switchToLanguage($lang);
}
}
public function get... | 95a1b9353ef503224837b533768283207259ee3e | source/php/Switcher.php | source/php/Switcher.php | PHP |
<|file_sep|>original/lib/tasks/encyrpt_all_data.rake
<|file_sep|>current/lib/tasks/encyrpt_all_data.rake
<|file_sep|>updated/lib/tasks/encyrpt_all_data.rake | namespace :db do
task :encrypt_all_columns do
require 'travis'
Travis::Database.connect
to_encrypt = {
Request => [:token],
SslKey => [:private_key],
Token => [:token],
User => [:github_oauth_token]
}
encrypted_column = Travis::Model::EncryptedColumn.new
to_encr... | <|file_sep|>original/lib/tasks/encyrpt_all_data.rake
<|file_sep|>current/lib/tasks/encyrpt_all_data.rake
<|file_sep|>updated/lib/tasks/encyrpt_all_data.rake
namespace :db do
task :encrypt_all_columns do
require 'travis'
Travis::Database.connect
to_encrypt = {
Request => [:token],
SslKey =>... | b5131f94d520fb3acb35893fd750510c32c06ed0 | lib/tasks/encyrpt_all_data.rake | lib/tasks/encyrpt_all_data.rake | Ruby |
<|file_sep|>original/tests/Expression/RowSequenceTest.php
<|file_sep|>current/tests/Expression/RowSequenceTest.php
<|file_sep|>updated/tests/Expression/RowSequenceTest.php | <?php
/**
* This file is part of the martiadrogue/sqlbuilder package.
*
* @author Martí Adrogué <marti.adrogue@gmail.com>
* @copyright 2016 Martí Adrogué
* @license https://opensource.org/licenses/MIT MIT License
*/
namespace MartiAdrogue\SqlBuilder\Test\Expression;
use MartiAdrogue\SqlBuilder\Exception\Inv... | <|file_sep|>original/tests/Expression/RowSequenceTest.php
<|file_sep|>current/tests/Expression/RowSequenceTest.php
<|file_sep|>updated/tests/Expression/RowSequenceTest.php
<?php
/**
* This file is part of the martiadrogue/sqlbuilder package.
*
* @author Martí Adrogué <marti.adrogue@gmail.com>
* @copyright 2016... | f7393aedb2958a399ad5716a08a62b2eef57a836 | tests/Expression/RowSequenceTest.php | tests/Expression/RowSequenceTest.php | PHP |
<|file_sep|>original/set-npm-auth-token.sh
#!/bin/bash
cat < .npmrc
//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
EOF
<|file_sep|>current/set-npm-auth-token.sh
#!/bin/bash
cat < .npmrc
//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
EOF
<|file_sep|>updated/set-npm-auth-token.sh | #!/bin/bash
cat << EOF > .npmrc
//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
EOF | <|file_sep|>original/set-npm-auth-token.sh
#!/bin/bash
cat < .npmrc
//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
EOF
<|file_sep|>current/set-npm-auth-token.sh
#!/bin/bash
cat < .npmrc
//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
EOF
<|file_sep|>updated/set-npm-auth-token.sh
#!/bin/bash
cat << EOF > .npmrc
//reg... | 32055cd6c5a20620cc862a4e360f421c405d0e5d | set-npm-auth-token.sh | set-npm-auth-token.sh | Shell |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "14"
- "14.0.0"
- "12.3.1"
- "12.0.0"
script:
- npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "14"
- "14.0.0"
- "12.3.1"
- "12.0.0"
script:
- npm test
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "16"
- "14"
- "14.0.0"
- "12.3.1"
- "12.0.0"
script:
- npm test | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "14"
- "14.0.0"
- "12.3.1"
- "12.0.0"
script:
- npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "14"
- "14.0.0"
- "12.3.1"
- "12.0.0"
script:
- npm test
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
... | bde3b25cbd10d2707b831dec972fd60f5f838a17 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/components/Footer/Footer.js
<footer className={styles.Footer}>
<p className={styles.FooterLinks}>
<Link url={addConferenceUrl} external>
Add a conference
</Link>
<Link onClick={togglePast}>
{showPast ? 'Hide past conferences' : 'See past con... | <footer className={styles.Footer}>
<p className={styles.FooterLinks}>
<Link url={addConferenceUrl} external>
Add a conference
</Link>
<Link onClick={togglePast}>
{showPast ? 'Hide past conferences' : 'See past conferences'}
</Link>
</p>
<p>
... | <|file_sep|>original/src/components/Footer/Footer.js
<footer className={styles.Footer}>
<p className={styles.FooterLinks}>
<Link url={addConferenceUrl} external>
Add a conference
</Link>
<Link onClick={togglePast}>
{showPast ? 'Hide past conferences' : 'See past con... | b7ad456fd92d07980b0d72b55ad29785927f884d | src/components/Footer/Footer.js | src/components/Footer/Footer.js | JavaScript |
<|file_sep|>original/towers/beginner/level_001.py
<|file_sep|>current/towers/beginner/level_001.py
<|file_sep|>updated/towers/beginner/level_001.py | # --------
# |@ >|
# --------
level.description("You see before yourself a long hallway with stairs at "
"the end. There is nothing in the way.")
level.tip("Call warrior.walk_ to walk forward in the Player "
"'play_turn' method.")
level.time_bonus(15)
level.ace_score(10)
level.size(8,... | <|file_sep|>original/towers/beginner/level_001.py
<|file_sep|>current/towers/beginner/level_001.py
<|file_sep|>updated/towers/beginner/level_001.py
# --------
# |@ >|
# --------
level.description("You see before yourself a long hallway with stairs at "
"the end. There is nothing in the way.")... | 10e51f918c208c1b3c6f27b28b085ac49b33431f | towers/beginner/level_001.py | towers/beginner/level_001.py | Python |
<|file_sep|>original/.travis.yml
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
install:
- pip install -r dev-requirements.txt
script:
- "if [[ $RUAMEL == '3.0' ]]; then pip install ruamel.yaml; fi"
- coverage erase
- coverage run --source pykwalify -p -m py.test -v
- flake8 --max-line-length=160 --... | - "2.7"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
install:
- pip install -r dev-requirements.txt
script:
- "if [[ $RUAMEL == '1' ]]; then pip install ruamel.yaml; fi"
- coverage erase
- coverage run --source pykwalify -p -m py.test -v
- flake8 --max-line-length=160 --show-source --statistics --exclude=... | <|file_sep|>original/.travis.yml
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
install:
- pip install -r dev-requirements.txt
script:
- "if [[ $RUAMEL == '3.0' ]]; then pip install ruamel.yaml; fi"
- coverage erase
- coverage run --source pykwalify -p -m py.test -v
- flake8 --max-line-length=160 --... | 122baf5a3472a436ae50de1ca0ae6705eb98cb76 | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.