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/tests/activity/test_activity_deposit_assets.py
@unpack
@data({'input': '.tif', 'expected': ['.tif']},
{'input': '.jpg, .tiff, .png', 'expected':['.jpg', '.tiff', '.png']})
def test_get_no_download_extensions(self, input, expected):
result = self.depositassets.get_no_do... | @unpack
@data({'input': '.tif', 'expected': ['.tif']},
{'input': '.jpg, .tiff, .png', 'expected':['.jpg', '.tiff', '.png']})
def test_get_no_download_extensions(self, input, expected):
result = self.depositassets.get_no_download_extensions(input)
self.assertListEqual(result, expect... | <|file_sep|>original/tests/activity/test_activity_deposit_assets.py
@unpack
@data({'input': '.tif', 'expected': ['.tif']},
{'input': '.jpg, .tiff, .png', 'expected':['.jpg', '.tiff', '.png']})
def test_get_no_download_extensions(self, input, expected):
result = self.depositassets.get_no_do... | b06eb92ec878a06a2fa1ce9b7eb4d253d5481daa | tests/activity/test_activity_deposit_assets.py | tests/activity/test_activity_deposit_assets.py | Python |
<|file_sep|>src/style/Textpattern/sass/modules/_embedded-content.scss.diff
original:
updated:
padding-top: 56.25%;
<|file_sep|>original/src/style/Textpattern/sass/modules/_embedded-content.scss
/* responsive embedded widgets */
.embed-video {
position: relative;
iframe {
position: absolute;
... | img {
border: 0;
max-width: 100%;
height: auto;
vertical-align: middle;
}
/* responsive embedded widgets */
.embed-video {
position: relative;
padding-top: 56.25%;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
} | <|file_sep|>src/style/Textpattern/sass/modules/_embedded-content.scss.diff
original:
updated:
padding-top: 56.25%;
<|file_sep|>original/src/style/Textpattern/sass/modules/_embedded-content.scss
/* responsive embedded widgets */
.embed-video {
position: relative;
iframe {
position: absolute;
... | f91dbaafe8f69a371759f037ed92168a0fe08073 | src/style/Textpattern/sass/modules/_embedded-content.scss | src/style/Textpattern/sass/modules/_embedded-content.scss | SCSS |
<|file_sep|>original/metadata/org.ligi.passandroid.txt
.
Repo Type:git
Repo:https://github.com/ligi/PassAndroid
Build:2.3.1,231
commit=2.3.1
gradle=NoMapsNoAnalyticsForFDroid
prebuild=sed -i '/play_services/d' build.gradle && \
sed -i '/android-sdk-manager/d' build.gradle
Build:2.3.2,232
comm... | Build:2.3.1,231
commit=2.3.1
gradle=NoMapsNoAnalyticsForFDroid
prebuild=sed -i '/play_services/d' build.gradle && \
sed -i '/android-sdk-manager/d' build.gradle
Build:2.3.2,232
commit=2.3.2
gradle=noMaps,noAnalytics,forFDroid
prebuild=sed -i -e '/play_services/d' -e '/android-sdk-manage... | <|file_sep|>original/metadata/org.ligi.passandroid.txt
.
Repo Type:git
Repo:https://github.com/ligi/PassAndroid
Build:2.3.1,231
commit=2.3.1
gradle=NoMapsNoAnalyticsForFDroid
prebuild=sed -i '/play_services/d' build.gradle && \
sed -i '/android-sdk-manager/d' build.gradle
Build:2.3.2,232
comm... | 7cf46acc85a875417434fddba77c00d564e4bc32 | metadata/org.ligi.passandroid.txt | metadata/org.ligi.passandroid.txt | Text |
<|file_sep|>.travis.yml.diff
original:
- '5.5'
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
matrix:
allow_failures:
- php: hhvm
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
script:
updated:
script:
<|file_sep|>original/.travis.yml
lang... | language: php
php:
- '5.6'
- '7.0'
- hhvm
matrix:
allow_failures:
- php: hhvm
cache:
directories:
- vendor
before_script:
- composer self-update && composer --version
- composer install --dev
script:
- phpunit | <|file_sep|>.travis.yml.diff
original:
- '5.5'
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
matrix:
allow_failures:
- php: hhvm
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
script:
updated:
script:
<|file_sep|>original/.travis.yml
lang... | 6cf3916d9c7f3e168a60b9a882b10adb54126235 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/content/system-design-load-balancer.md
<|file_sep|>current/content/system-design-load-balancer.md
<|file_sep|>updated/content/system-design-load-balancer.md | Title: System Design Primer: Load Balancer
Date: 2019-01-01
Status: draft
Summary: Layer 4, 7, horizontal scaling
CoverImage: http://i.imgur.com/6SbxQah.png
Thumbnail: http://i.imgur.com/oCWLuMC.png
<p align="center">
<img src="http://i.imgur.com/h81n9iK.png">
<br/>
<i><a href=http://horicky.blogspot.com/2010/10... | <|file_sep|>original/content/system-design-load-balancer.md
<|file_sep|>current/content/system-design-load-balancer.md
<|file_sep|>updated/content/system-design-load-balancer.md
Title: System Design Primer: Load Balancer
Date: 2019-01-01
Status: draft
Summary: Layer 4, 7, horizontal scaling
CoverImage: http://i.imgur... | 310ee99435f78d74dba6b1e3a476dc89ec6adefd | content/system-design-load-balancer.md | content/system-design-load-balancer.md | Markdown |
<|file_sep|>original/t/t0024-crlf-archive.sh
<|file_sep|>current/t/t0024-crlf-archive.sh
<|file_sep|>updated/t/t0024-crlf-archive.sh | #!/bin/sh
test_description='respect crlf in git archive'
. ./test-lib.sh
UNZIP=${UNZIP:-unzip}
test_expect_success setup '
git config core.autocrlf true
printf "CRLF line ending\r\nAnd another\r\n" > sample &&
git add sample &&
test_tick &&
git commit -m Initial
'
test_expect_success 'tar archive' '
| <|file_sep|>original/t/t0024-crlf-archive.sh
<|file_sep|>current/t/t0024-crlf-archive.sh
<|file_sep|>updated/t/t0024-crlf-archive.sh
#!/bin/sh
test_description='respect crlf in git archive'
. ./test-lib.sh
UNZIP=${UNZIP:-unzip}
test_expect_success setup '
git config core.autocrlf true
printf "CRLF line ending\... | f1265cc9ff977b497d805245dbd2454e46ef2710 | t/t0024-crlf-archive.sh | t/t0024-crlf-archive.sh | Shell |
<|file_sep|>original/MAINTAINERS.md
* Brian Brazil <brian.brazil@robustperception.io>
<|file_sep|>current/MAINTAINERS.md
* Brian Brazil <brian.brazil@robustperception.io>
<|file_sep|>updated/MAINTAINERS.md | * Fabian Stäber <fabian@fstab.de> @fstab
* Tom Wilkie <tom@grafana.com> @tomwilkie | <|file_sep|>original/MAINTAINERS.md
* Brian Brazil <brian.brazil@robustperception.io>
<|file_sep|>current/MAINTAINERS.md
* Brian Brazil <brian.brazil@robustperception.io>
<|file_sep|>updated/MAINTAINERS.md
* Fabian Stäber <fabian@fstab.de> @fstab
* Tom Wilkie <tom@grafana.com> @tomwilkie | 7b84103bd5f10c5ba437081d1f40b80387f7bfbc | MAINTAINERS.md | MAINTAINERS.md | Markdown |
<|file_sep|>original/prototype/luamake/luamake.mk
ifdef WINDIR
# ASSUMES we have makenew and libgnumake-1.dll.a in this directory
platform_opts = -L. -lgnumake-1.dll
endif
ifeq ($(shell uname),Darwin)
platform_opts = -undefined dynamic_lookup
endif
luamake.so: luamake.c
gcc -Wall -shared -o $@ $^ $(platform_opts) -... |
ifdef WINDIR
# ASSUMES we have makenew and libgnumake-1.dll.a in this directory
platform_opts = -L. -lgnumake-1.dll
endif
ifeq ($(shell uname),Darwin)
platform_opts = -undefined dynamic_lookup
endif
ifeq ($(shell uname),Linux)
platform_opts = -fPIC
endif
luamake.so: luamake.c
gcc -Wall -shared -o $@ $^ $(platform_... | <|file_sep|>original/prototype/luamake/luamake.mk
ifdef WINDIR
# ASSUMES we have makenew and libgnumake-1.dll.a in this directory
platform_opts = -L. -lgnumake-1.dll
endif
ifeq ($(shell uname),Darwin)
platform_opts = -undefined dynamic_lookup
endif
luamake.so: luamake.c
gcc -Wall -shared -o $@ $^ $(platform_opts) -... | f8ffc55f2fb05774961c2de324461b09e391fa2e | prototype/luamake/luamake.mk | prototype/luamake/luamake.mk | Makefile |
<|file_sep|>original/build.sbt
autoScalaLibrary := false
githubProject := "donutprogress"
javacOptions ++=
"-source" :: "1.7" ::
"-target" :: "1.7" ::
Nil
libraryDependencies ++=
"com.android.support" % "appcompat-v7" % "23.3.0" ::
Nil
minSdkVersion := "7"
name := "DonutProgress"
normalizedNam... | autoScalaLibrary := false
githubProject := "donutprogress"
javacOptions ++=
"-source" :: "1.7" ::
"-target" :: "1.7" ::
Nil
libraryDependencies ++=
"com.android.support" % "appcompat-v7" % "23.4.0" ::
Nil
minSdkVersion := "7"
name := "DonutProgress"
normalizedName := "donut-progress"
organiza... | <|file_sep|>original/build.sbt
autoScalaLibrary := false
githubProject := "donutprogress"
javacOptions ++=
"-source" :: "1.7" ::
"-target" :: "1.7" ::
Nil
libraryDependencies ++=
"com.android.support" % "appcompat-v7" % "23.3.0" ::
Nil
minSdkVersion := "7"
name := "DonutProgress"
normalizedNam... | 55b43e6a8ed30ce243431acc322868df471abd82 | build.sbt | build.sbt | Scala |
<|file_sep|>test/beantool_test.rb.diff
original:
require 'test/unit'
updated:
require 'minitest/autorun'
<|file_sep|>original/test/beantool_test.rb
require 'test/unit'
require File.join(File.dirname(__FILE__), '..', 'lib', 'beantool')
class BeantoolTest < Test::Unit::TestCase
def setup
@beantool = Beantool.new([... | require 'minitest/autorun'
require File.join(File.dirname(__FILE__), '..', 'lib', 'beantool')
class BeantoolTest < MiniTest::Test
def setup
@beantool = Beantool.new(['localhost:11300'])
end
def teardown
@beantool = nil
end
def test_true
assert true
end
end
| <|file_sep|>test/beantool_test.rb.diff
original:
require 'test/unit'
updated:
require 'minitest/autorun'
<|file_sep|>original/test/beantool_test.rb
require 'test/unit'
require File.join(File.dirname(__FILE__), '..', 'lib', 'beantool')
class BeantoolTest < Test::Unit::TestCase
def setup
@beantool = Beantool.new([... | 0ebbd701afda0cc6a7764e9518822922590a6952 | test/beantool_test.rb | test/beantool_test.rb | Ruby |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install pytz feedparser charade sqlalchemy --use-mirrors
# command to run tests, e.g. python setup.py test
s... | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install pytz feedparser charade sqlalchemy python-gnupg --use-mirrors
# command to run tests, e.g. python setup.py test
script:
- echo $T... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install pytz feedparser charade sqlalchemy --use-mirrors
# command to run tests, e.g. python setup.py test
s... | e6bda5657e92de55885043ba61a7f0545851f977 | .travis.yml | .travis.yml | YAML |
<|file_sep|>package.json.diff
original:
"version": "0.0.3-pre",
updated:
"version": "0.0.4",
<|file_sep|>original/package.json
"type": "git",
"url": "https://github.com/mzgol/grunt-ng-annotate.git"
},
"bugs": "https://github.com/mzgol/grunt-ng-annotate/issues",
"licenses": [
... | "type": "git",
"url": "https://github.com/mzgol/grunt-ng-annotate.git"
},
"bugs": "https://github.com/mzgol/grunt-ng-annotate/issues",
"licenses": [
{
"type": "MIT"
}
],
"dependencies": {
"ng-annotate": "~0.4.0"
},
"devDependencies": {
... | <|file_sep|>package.json.diff
original:
"version": "0.0.3-pre",
updated:
"version": "0.0.4",
<|file_sep|>original/package.json
"type": "git",
"url": "https://github.com/mzgol/grunt-ng-annotate.git"
},
"bugs": "https://github.com/mzgol/grunt-ng-annotate/issues",
"licenses": [
... | c814c66309778c004f044627c4c1264023fd003f | package.json | package.json | JSON |
<|file_sep|>original/requirements.txt
fonttools==3.9.1
defcon==0.3.0
MutatorMath==2.0.3
<|file_sep|>current/requirements.txt
fonttools==3.9.1
defcon==0.3.0
MutatorMath==2.0.3
<|file_sep|>updated/requirements.txt | fonttools==3.9.1
defcon==0.3.1
MutatorMath==2.0.3 | <|file_sep|>original/requirements.txt
fonttools==3.9.1
defcon==0.3.0
MutatorMath==2.0.3
<|file_sep|>current/requirements.txt
fonttools==3.9.1
defcon==0.3.0
MutatorMath==2.0.3
<|file_sep|>updated/requirements.txt
fonttools==3.9.1
defcon==0.3.1
MutatorMath==2.0.3 | 375d2e3f317824d10f90b7ed0a5db7a44c0a7017 | requirements.txt | requirements.txt | Text |
<|file_sep|>README.md.diff
original:
updated:
<<<<<<< HEAD
<|file_sep|>original/README.md
Connect Four built while following TDD(Test Driven Development) principles.
See spec folder for unit/integration tests.
See lib folder for code used for game/to make these tests pass.
<|file_sep|>current/README.md
<<<<<<< HEAD
... | <<<<<<< HEAD
Connect Four built while following TDD(Test Driven Development) principles.
=======
Connect Four built while following TDD(Test Driven Development) principals.
>>>>>>> 634dce3... Update readme. See other commit for TODO.
See spec folder for unit/integration tests.
See lib folder for code used for game/to... | <|file_sep|>README.md.diff
original:
updated:
<<<<<<< HEAD
<|file_sep|>original/README.md
Connect Four built while following TDD(Test Driven Development) principles.
See spec folder for unit/integration tests.
See lib folder for code used for game/to make these tests pass.
<|file_sep|>current/README.md
<<<<<<< HEAD
... | 4b83802b385e34149914d9ad1cfcd7e2f1d8fecd | README.md | README.md | Markdown |
<|file_sep|>original/app/views/shared/_featured_links.html.erb
<% if links %>
<ul class="featured-links" <%= lang if local_assigns[:lang] %> >
<% links.each do |link| %>
<li><%= link_to link.title, link.url, ({rel: 'external'} if is_external?(link.url)) %></li>
<% end %>
</ul>
<% end %>
<|file_sep|>c... | <% if links %>
<ul class="featured-links" <%= lang if local_assigns[:lang] %> >
<% links.each do |link| %>
<% rel = is_external?(link.url) ? "external" : "internal" %>
<li><%= link_to link.title, link.url, rel: "#{rel}", class: "govuk-link" %></li>
<% end %>
</ul>
<% end %>
| <|file_sep|>original/app/views/shared/_featured_links.html.erb
<% if links %>
<ul class="featured-links" <%= lang if local_assigns[:lang] %> >
<% links.each do |link| %>
<li><%= link_to link.title, link.url, ({rel: 'external'} if is_external?(link.url)) %></li>
<% end %>
</ul>
<% end %>
<|file_sep|>c... | ee08647563ed82d4c1cb36521f7f679c89413e18 | app/views/shared/_featured_links.html.erb | app/views/shared/_featured_links.html.erb | HTML+ERB |
<|file_sep|>original/requirements.txt
junebug==0.1.30
vxyowsup==0.1.8
yowsup2==2.5.2
vumi-msisdn-normalize-middleware==0.1.4
vxaat==0.5.5
<|file_sep|>current/requirements.txt
junebug==0.1.30
vxyowsup==0.1.8
yowsup2==2.5.2
vumi-msisdn-normalize-middleware==0.1.4
vxaat==0.5.5
<|file_sep|>updated/requirements.txt | junebug==0.1.31
vxyowsup==0.1.8
yowsup2==2.5.2
vumi-msisdn-normalize-middleware==0.1.4
vxaat==0.5.5 | <|file_sep|>original/requirements.txt
junebug==0.1.30
vxyowsup==0.1.8
yowsup2==2.5.2
vumi-msisdn-normalize-middleware==0.1.4
vxaat==0.5.5
<|file_sep|>current/requirements.txt
junebug==0.1.30
vxyowsup==0.1.8
yowsup2==2.5.2
vumi-msisdn-normalize-middleware==0.1.4
vxaat==0.5.5
<|file_sep|>updated/requirements.txt
junebug=... | 66966437f04e304052d43feae7ee05f792ff4920 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/default.pass.cpp
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
/... | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// <functional>
// class function... | <|file_sep|>original/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/default.pass.cpp
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
/... | 06dd101a65b88b1da374e25ca58e415136352f06 | test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/default.pass.cpp | test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/default.pass.cpp | C++ |
<|file_sep|>original/lib/auth/vault.js
const vault = {
authenticateV2Request: (accessKey, signatureFromRequest,
stringToSign, callback) => {
const account = accountsKeyedbyAccessKey[accessKey];
if (!account) {
return callback('InvalidAccessKeyId');
}
const se... |
const vault = {
authenticateV2Request: (accessKey, signatureFromRequest,
stringToSign, callback) => {
const account = accountsKeyedbyAccessKey[accessKey];
if (!account) {
return callback('InvalidAccessKeyId');
}
const secretKey = account.secretKey;
//... | <|file_sep|>original/lib/auth/vault.js
const vault = {
authenticateV2Request: (accessKey, signatureFromRequest,
stringToSign, callback) => {
const account = accountsKeyedbyAccessKey[accessKey];
if (!account) {
return callback('InvalidAccessKeyId');
}
const se... | 1e6dd2f89b973d9fb1dc8e23d1cd77bb0dce24e4 | lib/auth/vault.js | lib/auth/vault.js | JavaScript |
<|file_sep|>original/.travis.yml
language: cpp
sudo: required
compiler: gcc
os: linux
script: cd simulator; make test
before_install:
# C++14
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
# C++14
- sudo apt-get install -qq g++-6
- sudo update-alternatives --i... | language: cpp
sudo: required
compiler: gcc
os: linux
script: cd simulator; make test
before_install:
# C++14
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
# C++14
- sudo apt-get install -qq g++-6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/... | <|file_sep|>original/.travis.yml
language: cpp
sudo: required
compiler: gcc
os: linux
script: cd simulator; make test
before_install:
# C++14
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
# C++14
- sudo apt-get install -qq g++-6
- sudo update-alternatives --i... | 519f1310f8d87e89bacb38e133fe153e51f0ca0d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/implementierung/src/worthwhile.model.tests/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
... | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.kit.iti.formal.pse.worthwhile</groupId>
<artifactId>edu... | <|file_sep|>original/implementierung/src/worthwhile.model.tests/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
... | 75d96e3599be796aa752ebe61afd73a7145641f1 | implementierung/src/worthwhile.model.tests/pom.xml | implementierung/src/worthwhile.model.tests/pom.xml | XML |
<|file_sep|>_posts/de/0100-01-01-status.md.diff
original:
permalink: /en/status/
lang: en
title: Translation Status
updated:
permalink: /de/status/
lang: de
title: Stand der Übersetzungen
<|file_sep|>original/_posts/de/0100-01-01-status.md
---
layout: default
permalink: /en/status/
lang: en
title: Translation Status
no... | ---
layout: default
permalink: /de/status/
lang: de
title: Stand der Übersetzungen
nosearch: true
---
## Stand der Übersetzungen - Alle Sprachen
- [Spanish]({{site.baseurl}}/es/status/) | <|file_sep|>_posts/de/0100-01-01-status.md.diff
original:
permalink: /en/status/
lang: en
title: Translation Status
updated:
permalink: /de/status/
lang: de
title: Stand der Übersetzungen
<|file_sep|>original/_posts/de/0100-01-01-status.md
---
layout: default
permalink: /en/status/
lang: en
title: Translation Status
no... | 400f2c698546b519f5a72bdd1fabd09a54501fa0 | _posts/de/0100-01-01-status.md | _posts/de/0100-01-01-status.md | Markdown |
<|file_sep|>original/azure-pipelines.yml
trigger:
- master
jobs:
- job: Linux
pool:
vmImage: 'Ubuntu-16.04'
variables:
CC: gcc-7
CXX: g++-7
steps:
- script: sudo apt-get update --fix-missing
- script: sudo apt-get install -y libgl1-mesa-dev
- script: sudo apt-get install -y libgles2-mesa-dev
... | trigger:
- master
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-18.04'
steps:
- script: sudo apt-get update --fix-missing
- script: sudo apt-get install -y libgl1-mesa-dev
- script: sudo apt-get install -y libgles2-mesa-dev
- script: sudo apt-get install -y libopenal-dev
- script: sudo apt-get install -y... | <|file_sep|>original/azure-pipelines.yml
trigger:
- master
jobs:
- job: Linux
pool:
vmImage: 'Ubuntu-16.04'
variables:
CC: gcc-7
CXX: g++-7
steps:
- script: sudo apt-get update --fix-missing
- script: sudo apt-get install -y libgl1-mesa-dev
- script: sudo apt-get install -y libgles2-mesa-dev
... | 576eeecd35e8ea94a608efb33d75360a2e4a3fda | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/prompt_toolkit/focus_stack.py
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
... | return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
raise IndexError('Cannot pop last item ... | <|file_sep|>original/prompt_toolkit/focus_stack.py
return '%s(initial=%r, _stack=%r)' % (
self.__class__.__name__, self._initial, self._stack)
def reset(self):
self._stack = [self._initial]
def pop(self):
if len(self._stack) > 1:
self._stack.pop()
else:
... | f5f95550af953fc9f2875f40ba7f89df468485fc | prompt_toolkit/focus_stack.py | prompt_toolkit/focus_stack.py | Python |
<|file_sep|>original/_config.yml
markdown: redcarpet
highlighter: pygments
gems:
- jemoji
# Site settings
title: "Project Management Blog"
description: >
The road to Scrum
baseurl: /project-management-blog
#blog logo
logo: "/assets/images/df_logo.jpg"
# blog cover
cover: "/assets/images/cA4aKEIPQrerBnp1yGHv_IM... | markdown: redcarpet
highlighter: pygments
gems:
- jemoji
# Site settings
title: "Project Management Blog"
description: >
The road to Scrum
url: http://idmontie.github.io/project-management-blog/
baseurl: /project-management-blog
#blog logo
logo: "/assets/images/df_logo.jpg"
# blog cover
cover: "/assets/images/... | <|file_sep|>original/_config.yml
markdown: redcarpet
highlighter: pygments
gems:
- jemoji
# Site settings
title: "Project Management Blog"
description: >
The road to Scrum
baseurl: /project-management-blog
#blog logo
logo: "/assets/images/df_logo.jpg"
# blog cover
cover: "/assets/images/cA4aKEIPQrerBnp1yGHv_IM... | 2f4ce7ae4ec634da38b1b92abdc35b468ba41184 | _config.yml | _config.yml | YAML |
<|file_sep|>original/package.json
{
"name": "slack-coffee",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app.js"
},
"dependencies": {
"body-parser": "^1.17.2",
"dotenv": "^4.0.0",
"express": "~4.15.2",
"request": "^2.81.0"
}
}
<|file_sep|>current/package.json
{
"n... | {
"name": "slack-coffee",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "nodemon app.js"
},
"dependencies": {
"body-parser": "^1.17.2",
"dotenv": "^4.0.0",
"express": "~4.15.2",
"request": "^2.81.0"
}
} | <|file_sep|>original/package.json
{
"name": "slack-coffee",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app.js"
},
"dependencies": {
"body-parser": "^1.17.2",
"dotenv": "^4.0.0",
"express": "~4.15.2",
"request": "^2.81.0"
}
}
<|file_sep|>current/package.json
{
"n... | d9f349eb48bf979e5420bf40266529cf26ec31d0 | package.json | package.json | JSON |
<|file_sep|>original/mwms/prometheus/grafana.sls
grafana:
mwdocker.running:
- image: grafana/grafana
- volumes:
- {{ grafana_data_dir }}:/var/lib/grafana
- {{ grafana_plugin_dir }}:/var/lib/grafana/plugins
- tcp_ports:
- port: {{ grafana_internal_port }}
address: 0.0.0.0
- l... | mwdocker.running:
- image: grafana/grafana
- volumes:
- {{ grafana_data_dir }}:/var/lib/grafana
- {{ grafana_plugin_dir }}:/var/lib/grafana/plugins
- tcp_ports:
- port: {{ grafana_internal_port }}
address: 0.0.0.0
- links:
prometheus: prometheus
- warmup_wait: 10
... | <|file_sep|>original/mwms/prometheus/grafana.sls
grafana:
mwdocker.running:
- image: grafana/grafana
- volumes:
- {{ grafana_data_dir }}:/var/lib/grafana
- {{ grafana_plugin_dir }}:/var/lib/grafana/plugins
- tcp_ports:
- port: {{ grafana_internal_port }}
address: 0.0.0.0
- l... | a909989b48123b2d49fb39a2fe3c65fdc9604993 | mwms/prometheus/grafana.sls | mwms/prometheus/grafana.sls | SaltStack |
<|file_sep|>original/provisioning/playbook.yml
---
# This playbook is for provisioning on a Linode box. It should be at least a Linode 2048 box and have
# 64 bit Ubuntu 12.04 LTS with 256 MB swap (I think).
# To run:
# cd provisioning
# ansible-playbook -i hosts playbook.yml
#
- hosts: all
sudo: true
# Uncomment the ... | ---
# This playbook is for provisioning on a Linode box. It should be at least a Linode 2048 box and have
# 64 bit Ubuntu 12.04 LTS with 256 MB swap (I think).
# To run:
# cd provisioning
# ansible-playbook -i hosts playbook.yml
#
- hosts: all
sudo: true
user: root
roles:
- morph-app | <|file_sep|>original/provisioning/playbook.yml
---
# This playbook is for provisioning on a Linode box. It should be at least a Linode 2048 box and have
# 64 bit Ubuntu 12.04 LTS with 256 MB swap (I think).
# To run:
# cd provisioning
# ansible-playbook -i hosts playbook.yml
#
- hosts: all
sudo: true
# Uncomment the ... | 340e26f5f906887ca14b139c0f2e0881466c61a4 | provisioning/playbook.yml | provisioning/playbook.yml | YAML |
<|file_sep|>original/models/db_pull.js
body: pullData.body,
created_at: pullData.created_at,
updated_at: pullData.updated_at,
closed_at: pullData.closed_at,
merged_at: pullData.merged_at,
head_branch: pullData.head.ref,
head_sha: pullData.head.sha,
repo_owner: pullData.he... | body: pullData.body,
created_at: pullData.created_at,
updated_at: pullData.updated_at,
closed_at: pullData.closed_at,
merged_at: pullData.merged_at,
head_branch: pullData.head.ref,
head_sha: pullData.head.sha,
repo_owner: pullData.head.repo.owner.login,
repo_name: p... | <|file_sep|>original/models/db_pull.js
body: pullData.body,
created_at: pullData.created_at,
updated_at: pullData.updated_at,
closed_at: pullData.closed_at,
merged_at: pullData.merged_at,
head_branch: pullData.head.ref,
head_sha: pullData.head.sha,
repo_owner: pullData.he... | d3acd4946bd807a5ff493ff6ff0ccef4b76f33a6 | models/db_pull.js | models/db_pull.js | JavaScript |
<|file_sep|>turbosms/lib.py.diff
original:
def get_recipients():
updated:
def get_default_sms_recipients():
<|file_sep|>turbosms/lib.py.diff
original:
def send_sms(message):
updated:
def send_sms(message, recipients=None):
<|file_sep|>original/turbosms/lib.py
if apps.is_installed('site_config'):
from site... |
if hasattr(config, 'SMS_RECIPIENTS'):
return config.SMS_RECIPIENTS
return SMS_RECIPIENTS
def send_sms(message, recipients=None):
if not IS_SMS_ENABLED:
return
if recipients is None:
recipients = get_default_sms_recipients()
for number in recipients:
SMS... | <|file_sep|>turbosms/lib.py.diff
original:
def get_recipients():
updated:
def get_default_sms_recipients():
<|file_sep|>turbosms/lib.py.diff
original:
def send_sms(message):
updated:
def send_sms(message, recipients=None):
<|file_sep|>original/turbosms/lib.py
if apps.is_installed('site_config'):
from site... | 729f02949842d4d5a5722a2b9b35c204748c00f7 | turbosms/lib.py | turbosms/lib.py | Python |
<|file_sep|>Prelude/Application.swift.diff
original:
/// Forward unary function application.
updated:
/// Forward function application.
<|file_sep|>Prelude/Application.swift.diff
original:
/// Applies the function on the right to the value on the left.
updated:
/// Applies the function on the right to the value on the ... | }
// MARK: Forward function application
/// Forward function application.
///
/// Applies the function on the right to the value on the left. Functions of >1 argument can be applied by placing their arguments in a tuple on the left hand side.
public func |> <T, U> (left: T, right: T -> U) -> U {
return right(left)
... | <|file_sep|>Prelude/Application.swift.diff
original:
/// Forward unary function application.
updated:
/// Forward function application.
<|file_sep|>Prelude/Application.swift.diff
original:
/// Applies the function on the right to the value on the left.
updated:
/// Applies the function on the right to the value on the ... | a02166f616ae437ff172ab05c18ffcad4d113cd9 | Prelude/Application.swift | Prelude/Application.swift | Swift |
<|file_sep|>original/test/test_frontend/test_modes/test_zoom.py
<|file_sep|>current/test/test_frontend/test_modes/test_zoom.py
<|file_sep|>updated/test/test_frontend/test_modes/test_zoom.py | from PyQt4 import QtCore
from PyQt4 import QtGui
from PyQt4.QtTest import QTest
from pyqode.core import frontend, style
from pyqode.core.frontend import modes
editor = None
mode = None
def setup_module():
global editor, mode
editor = frontend.CodeEdit()
mode = modes.ZoomMode()
frontend.install_mode(... | <|file_sep|>original/test/test_frontend/test_modes/test_zoom.py
<|file_sep|>current/test/test_frontend/test_modes/test_zoom.py
<|file_sep|>updated/test/test_frontend/test_modes/test_zoom.py
from PyQt4 import QtCore
from PyQt4 import QtGui
from PyQt4.QtTest import QTest
from pyqode.core import frontend, style
from pyq... | b5de0f73962d770ef9325619ae724768da581014 | test/test_frontend/test_modes/test_zoom.py | test/test_frontend/test_modes/test_zoom.py | Python |
<|file_sep|>original/.travis.yml
language: php
sudo: false
php:
- 7.0
- 5.6
- hhvm
install:
- composer self-update
- composer install
- curl -LSs https://box-project.github.io/box2/installer.php | php
script:
- php box.phar build
<|file_sep|>current/.travis.yml
language: php
sudo: false
php:
- 7.0
- 5... | language: php
sudo: false
php:
- 7.0
- 5.6
install:
- composer self-update
- composer install
- curl -LSs https://box-project.github.io/box2/installer.php | php
script:
- php box.phar build | <|file_sep|>original/.travis.yml
language: php
sudo: false
php:
- 7.0
- 5.6
- hhvm
install:
- composer self-update
- composer install
- curl -LSs https://box-project.github.io/box2/installer.php | php
script:
- php box.phar build
<|file_sep|>current/.travis.yml
language: php
sudo: false
php:
- 7.0
- 5... | 20a5431d0b437c2bfaca91069c5b199bb543efb8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/EditorFeatures/CSharpTest/Organizing/AbstractOrganizerTests.cs.diff
original:
updated:
using Roslyn.Test.Utilities;
<|file_sep|>original/src/EditorFeatures/CSharpTest/Organizing/AbstractOrganizerTests.cs
{
CheckResult(initial, final, specialCaseSystem);
CheckResult(initi... | {
CheckResult(initial, final, specialCaseSystem);
CheckResult(initial, final, specialCaseSystem, Options.Script);
}
protected void CheckResult(string initial, string final, bool specialCaseSystem, CSharpParseOptions options = null)
{
using (var worksp... | <|file_sep|>src/EditorFeatures/CSharpTest/Organizing/AbstractOrganizerTests.cs.diff
original:
updated:
using Roslyn.Test.Utilities;
<|file_sep|>original/src/EditorFeatures/CSharpTest/Organizing/AbstractOrganizerTests.cs
{
CheckResult(initial, final, specialCaseSystem);
CheckResult(initi... | 4a3ceaf19daa3f79452572d1a6f7d761063ebde2 | src/EditorFeatures/CSharpTest/Organizing/AbstractOrganizerTests.cs | src/EditorFeatures/CSharpTest/Organizing/AbstractOrganizerTests.cs | C# |
<|file_sep|>original/.travis.yml
- libdw-dev
- binutils-dev
rust:
- nightly
# - beta
# - stable
before_script:
- |
pip install 'travis-cargo<0.2' --user
export PATH=$HOME/.local/bin:$PATH
script:
- |
travis-cargo build -- --release
travis-cargo test
travis-cargo ... | - libdw-dev
- binutils-dev
rust:
- nightly
# - beta
# - stable
before_script:
- |
#pip install 'travis-cargo<0.2' --user
git clone https://github.com/Misch-/travis-cargo.git
cd travis-cargo
sudo python setup.py install
cd -
export PATH=$HOME/.local/bin:$PATH
scr... | <|file_sep|>original/.travis.yml
- libdw-dev
- binutils-dev
rust:
- nightly
# - beta
# - stable
before_script:
- |
pip install 'travis-cargo<0.2' --user
export PATH=$HOME/.local/bin:$PATH
script:
- |
travis-cargo build -- --release
travis-cargo test
travis-cargo ... | 10362fb02a8aba46b60abd299487cab0f8456152 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/metadata.rb
name 'yum-chef'
maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
license 'Apache 2.0'
description 'Configures yum repository for Chef Software, Inc. products'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.0.0'
depends 'yum', '>=... | name 'yum-chef'
maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
license 'Apache 2.0'
description 'Configures yum repository for Chef Software, Inc. products'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.0.0'
depends 'yum', '>= 3.2', '< 5.0'
%w(amazon centos ... | <|file_sep|>original/metadata.rb
name 'yum-chef'
maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
license 'Apache 2.0'
description 'Configures yum repository for Chef Software, Inc. products'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.0.0'
depends 'yum', '>=... | 97081b374fb50525fb1b4a73de1001e7c9d7063b | metadata.rb | metadata.rb | Ruby |
<|file_sep|>original/openstack/keystone/templates/service-api.yaml
app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
system: openstack
component: keystone
type: api
{{- if .Values.api.metrics.ena... | app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
system: openstack
component: keystone
type: api
{{- if .Values.api.metrics.enabled }}
annotations:
prometheus.io/scrape: "true"
prometh... | <|file_sep|>original/openstack/keystone/templates/service-api.yaml
app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
system: openstack
component: keystone
type: api
{{- if .Values.api.metrics.ena... | 42d3dea62067ef5ff08217838cc60f8f7ef16db1 | openstack/keystone/templates/service-api.yaml | openstack/keystone/templates/service-api.yaml | YAML |
<|file_sep|>original/lib/github_api/response/jsonize.rb
# encoding: utf-8
require 'faraday'
module Github
class Response::Jsonize < Response
dependency 'multi_json'
define_parser do |body|
::MultiJson.load body
end
def parse(body)
case body
when ''
nil
when 'true'
... | # encoding: utf-8
require 'faraday'
module Github
class Response::Jsonize < Response
dependency 'multi_json'
define_parser do |body|
if MultiJson.respond_to?(:load)
MultiJson.load body
else
MultiJson.decode body
end
end
def parse(body)
case body
when '... | <|file_sep|>original/lib/github_api/response/jsonize.rb
# encoding: utf-8
require 'faraday'
module Github
class Response::Jsonize < Response
dependency 'multi_json'
define_parser do |body|
::MultiJson.load body
end
def parse(body)
case body
when ''
nil
when 'true'
... | fa51df326bd69c92b1025d59e0145d1771a70c71 | lib/github_api/response/jsonize.rb | lib/github_api/response/jsonize.rb | Ruby |
<|file_sep|>Cargo.toml.diff
original:
updated:
authors = ["nick"]
<|file_sep|>Cargo.toml.diff
original:
authors = ["nick"]
updated:
<|file_sep|>Cargo.toml.diff
original:
nom = { version = "3.2.0", features = ["verbose-errors"] }
updated:
<|file_sep|>Cargo.toml.diff
original:
serde = "1.0.0"
serde_derive = "1.0.0"
up... | [package]
authors = ["nick"]
name = "boxcars"
version = "0.1.0"
[dependencies]
encoding = "0.2.33"
serde = "1.0.16"
serde_derive = "1.0.16"
serde_json = "1.0.4"
[dependencies.nom]
features = ["verbose-errors"]
version = "3.2.0" | <|file_sep|>Cargo.toml.diff
original:
updated:
authors = ["nick"]
<|file_sep|>Cargo.toml.diff
original:
authors = ["nick"]
updated:
<|file_sep|>Cargo.toml.diff
original:
nom = { version = "3.2.0", features = ["verbose-errors"] }
updated:
<|file_sep|>Cargo.toml.diff
original:
serde = "1.0.0"
serde_derive = "1.0.0"
up... | a04029be7239a2e04efe2aa837c394639f010915 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/package.json
"babel-loader": "~5",
"coveralls": "~2",
"istanbul": "~0.4",
"istanbul-instrumenter-loader": "~0.1",
"karma": "~> 0.13.8",
"karma-chrome-launcher": "~0.2",
"karma-cli": "~0.1",
"karma-coverage": "~0.5",
"karma-mocha": "~0.2",
"karma-webpack": "~1... | "babel-core": "~5",
"babel-loader": "~5",
"coveralls": "~2",
"istanbul": "~0.4",
"istanbul-instrumenter-loader": "~0.1",
"karma": "~> 0.13.8",
"karma-chrome-launcher": "~0.2",
"karma-cli": "~0.1",
"karma-coverage": "~0.5",
"karma-mocha": "~0.2",
"karma-webpack": "~1",
"mo... | <|file_sep|>original/package.json
"babel-loader": "~5",
"coveralls": "~2",
"istanbul": "~0.4",
"istanbul-instrumenter-loader": "~0.1",
"karma": "~> 0.13.8",
"karma-chrome-launcher": "~0.2",
"karma-cli": "~0.1",
"karma-coverage": "~0.5",
"karma-mocha": "~0.2",
"karma-webpack": "~1... | 6d7dc8050f2924d0f8d7b27eded3ad5b45797c2a | package.json | package.json | JSON |
<|file_sep|>original/Casks/electric-sheep.rb
<|file_sep|>current/Casks/electric-sheep.rb
<|file_sep|>updated/Casks/electric-sheep.rb | class ElectricSheep < Cask
url 'http://electricsheep.googlecode.com/files/electricsheep-2.7b34.dmg'
homepage 'http://www.electricsheep.org'
version '2.7b34'
sha1 'baeaf679882b4d4793f014d356f017420c42b806'
install 'Electric Sheep.mpkg'
end | <|file_sep|>original/Casks/electric-sheep.rb
<|file_sep|>current/Casks/electric-sheep.rb
<|file_sep|>updated/Casks/electric-sheep.rb
class ElectricSheep < Cask
url 'http://electricsheep.googlecode.com/files/electricsheep-2.7b34.dmg'
homepage 'http://www.electricsheep.org'
version '2.7b34'
sha1 'baeaf679882b4d... | 6e4f6602f3c64a4e82638d5b490503736349eb30 | Casks/electric-sheep.rb | Casks/electric-sheep.rb | Ruby |
<|file_sep|>original/packages/g2/g2q.yaml
<|file_sep|>current/packages/g2/g2q.yaml
<|file_sep|>updated/packages/g2/g2q.yaml | homepage: ''
changelog-type: markdown
hash: f1008771eb7f258d37a30b932faef8df8463779a9accffcac0024d86b326e533
test-bench-deps: {}
maintainer: william.hallahan@yale.edu
synopsis: G2Q allows constraint programming, via writing Haskell predicates.
changelog: |
# Revision history for g2q
## 0.1.0.0 -- YYYY-mm-dd
* ... | <|file_sep|>original/packages/g2/g2q.yaml
<|file_sep|>current/packages/g2/g2q.yaml
<|file_sep|>updated/packages/g2/g2q.yaml
homepage: ''
changelog-type: markdown
hash: f1008771eb7f258d37a30b932faef8df8463779a9accffcac0024d86b326e533
test-bench-deps: {}
maintainer: william.hallahan@yale.edu
synopsis: G2Q allows constr... | 0848650e348731010db6d8b2946670ca9beec25a | packages/g2/g2q.yaml | packages/g2/g2q.yaml | YAML |
<|file_sep|>original/LmpClient/Harmony/ShipConstruct_LoadShip.cs
<|file_sep|>current/LmpClient/Harmony/ShipConstruct_LoadShip.cs
<|file_sep|>updated/LmpClient/Harmony/ShipConstruct_LoadShip.cs | using Harmony;
using LmpCommon.Enums;
// ReSharper disable All
namespace LmpClient.Harmony
{
/// <summary>
/// This harmony patch is intended to always assign a persistentID and NEVER use the persistent id of the .craft file
/// </summary>
[HarmonyPatch(typeof(ShipConstruct))]
[HarmonyPatch("LoadS... | <|file_sep|>original/LmpClient/Harmony/ShipConstruct_LoadShip.cs
<|file_sep|>current/LmpClient/Harmony/ShipConstruct_LoadShip.cs
<|file_sep|>updated/LmpClient/Harmony/ShipConstruct_LoadShip.cs
using Harmony;
using LmpCommon.Enums;
// ReSharper disable All
namespace LmpClient.Harmony
{
/// <summary>
/// This... | 174a5b471570dac2109deab3c9eda0b9c24c65e2 | LmpClient/Harmony/ShipConstruct_LoadShip.cs | LmpClient/Harmony/ShipConstruct_LoadShip.cs | C# |
<|file_sep|>original/README.md
# php-cs-fixer-config
[](https://travis-ci.org/refinery29/php-cs-fixer-config)
This repository provides a configuration for [`fabpot/php-cs-fixer`](http://github.com/FriendsOfPHP/PHP-CS-Fixer), which ... | # php-cs-fixer-config
[](https://travis-ci.org/refinery29/php-cs-fixer-config)
[](https://codeclimate.com/github/refinery29/php-cs-fixer-co... | <|file_sep|>original/README.md
# php-cs-fixer-config
[](https://travis-ci.org/refinery29/php-cs-fixer-config)
This repository provides a configuration for [`fabpot/php-cs-fixer`](http://github.com/FriendsOfPHP/PHP-CS-Fixer), which ... | c0d8adbc1c1e1f84adaa9641c13327a13ee78e51 | README.md | README.md | Markdown |
<|file_sep|>original/webapp/config/deploy.rb
require 'capistrano/ext/multistage'
set :application, "TriSano"
set :stages, %w(vagrant tomcat)
set :default_stage, "vagrant"
set :repository, "."
set :scm, :none
set :deploy_via, :copy
set :copy_exclude, [".git"]
depend :remote, :command, "rake"
depend :remote, :command,... | require 'capistrano/ext/multistage'
set :application, "TriSano"
set :stages, %w(vagrant tomcat)
set :default_stage, "vagrant"
set :repository, "."
set :scm, :none
set :deploy_via, :copy
set :copy_exclude, [".git"]
set :copy_compression, :zip
depend :remote, :command, "rake"
depend :remote, :command, "bundle"
namesp... | <|file_sep|>original/webapp/config/deploy.rb
require 'capistrano/ext/multistage'
set :application, "TriSano"
set :stages, %w(vagrant tomcat)
set :default_stage, "vagrant"
set :repository, "."
set :scm, :none
set :deploy_via, :copy
set :copy_exclude, [".git"]
depend :remote, :command, "rake"
depend :remote, :command,... | e9c4c9ac0f3748eae8e5aba0ffe91c6d68c8e085 | webapp/config/deploy.rb | webapp/config/deploy.rb | Ruby |
<|file_sep|>README.md.diff
original:
<?php
updated:
<|file_sep|>original/README.md
/**
* @var array
*/
public $testArray = array('1', '2', '3');
/**
* @var EntityMarshal\Sample\ObjectPropertyEntityMarshal[]
*/
public $testTypedArray1;
/**
* @var array<EntityMarshal\Sampl... | * @var array
*/
public $testArray = array('1', '2', '3');
/**
* @var EntityMarshal\Sample\ObjectPropertyEntityMarshal[]
*/
public $testTypedArray1;
/**
* @var array<EntityMarshal\Sample\ObjectPropertyEntityMarshal>
*/
public $testTypedArray2;
/**
* @var inte... | <|file_sep|>README.md.diff
original:
<?php
updated:
<|file_sep|>original/README.md
/**
* @var array
*/
public $testArray = array('1', '2', '3');
/**
* @var EntityMarshal\Sample\ObjectPropertyEntityMarshal[]
*/
public $testTypedArray1;
/**
* @var array<EntityMarshal\Sampl... | fd5301b1cd1b12ca5eadd626e052d43f501115ea | README.md | README.md | Markdown |
<|file_sep|>original/appinfo/info.xml
<?xml version="1.0"?>
<info>
<id>fbsync</id>
<name>Fb Sync</name>
<description>A Facebook data syncing tool for your owncloud contacts</description>
<licence>AGPL</licence>
<author>NOIJN</author>
<version>1.8-beta</version>
<namespace>FbSync</namespace>
... | <?xml version="1.0"?>
<info>
<id>fbsync</id>
<name>Fb Sync</name>
<description>A Facebook data syncing tool for your owncloud contacts</description>
<licence>AGPL</licence>
<author>NOIJN</author>
<version>1.8</version>
<namespace>FbSync</namespace>
<category>other</category>
<dependenci... | <|file_sep|>original/appinfo/info.xml
<?xml version="1.0"?>
<info>
<id>fbsync</id>
<name>Fb Sync</name>
<description>A Facebook data syncing tool for your owncloud contacts</description>
<licence>AGPL</licence>
<author>NOIJN</author>
<version>1.8-beta</version>
<namespace>FbSync</namespace>
... | ae9921d07702fd79af85273cd10676b8043955a6 | appinfo/info.xml | appinfo/info.xml | XML |
<|file_sep|>original/metadata/drug-safety-update.json
{
"content_id": "602be505-4cf4-4f8c-8bfc-7bc4b63a7f47",
"slug": "drug-safety-update",
"format": "drug_safety_update",
"name": "Drug safety update",
"beta": true,
"beta_message": "Until January 2015, <a href='http://www.mhra.gov.uk/Safetyinformation/DrugS... | {
"content_id": "602be505-4cf4-4f8c-8bfc-7bc4b63a7f47",
"slug": "drug-safety-update",
"format": "drug_safety_update",
"name": "Drug Safety Update",
"beta": true,
"beta_message": "Until January 2015, <a href='http://www.mhra.gov.uk/Safetyinformation/DrugSafetyUpdate/index.htm'>the MHRA website</a> is the off... | <|file_sep|>original/metadata/drug-safety-update.json
{
"content_id": "602be505-4cf4-4f8c-8bfc-7bc4b63a7f47",
"slug": "drug-safety-update",
"format": "drug_safety_update",
"name": "Drug safety update",
"beta": true,
"beta_message": "Until January 2015, <a href='http://www.mhra.gov.uk/Safetyinformation/DrugS... | 1e4e40b9b1725f910fb12581d3216b0486b498ac | metadata/drug-safety-update.json | metadata/drug-safety-update.json | JSON |
<|file_sep|>original/MEUIRomCtrl/src/main/res/values-zh-rCN/strings.xml
<|file_sep|>current/MEUIRomCtrl/src/main/res/values-zh-rCN/strings.xml
<|file_sep|>updated/MEUIRomCtrl/src/main/res/values-zh-rCN/strings.xml | <?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Color Picker -->
<string name="dialog_color_picker">拾色器</string>
<string name="press_color_to_apply">点击颜色来应用</string>
</resources> | <|file_sep|>original/MEUIRomCtrl/src/main/res/values-zh-rCN/strings.xml
<|file_sep|>current/MEUIRomCtrl/src/main/res/values-zh-rCN/strings.xml
<|file_sep|>updated/MEUIRomCtrl/src/main/res/values-zh-rCN/strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Color Picker -->
<string name="dialog_c... | 6d72ecd8046e3dad24359265d81c0bde00fce722 | MEUIRomCtrl/src/main/res/values-zh-rCN/strings.xml | MEUIRomCtrl/src/main/res/values-zh-rCN/strings.xml | XML |
<|file_sep|>package.json.diff
original:
"build":"zip -r hoverzoom.zip _locales/* css/* fonts/* html/* images/* js/* plugins/* manifest.json LICENSE"
updated:
"build": "zip -r hoverzoom.zip _locales/ar _locales/bg _locales/de _locales/en _locales/es _locales/fa _locales/fr _locales/hi _locales/hr _locales/hu _lo... | "scripts": {
"build": "zip -r hoverzoom.zip _locales/ar _locales/bg _locales/de _locales/en _locales/es _locales/fa _locales/fr _locales/hi _locales/hr _locales/hu _locales/id _locales/it _locales/ja _locales/ko _locales/nl _locales/no _locales/pl _locales/pt_BR _locales/pt_PT _locales/ru _locales/sv _locales/th ... | <|file_sep|>package.json.diff
original:
"build":"zip -r hoverzoom.zip _locales/* css/* fonts/* html/* images/* js/* plugins/* manifest.json LICENSE"
updated:
"build": "zip -r hoverzoom.zip _locales/ar _locales/bg _locales/de _locales/en _locales/es _locales/fa _locales/fr _locales/hi _locales/hr _locales/hu _lo... | 56c616224453df85a867720faefa7bce458a12e5 | package.json | package.json | JSON |
<|file_sep|>original/src/Codeception/Lib/Connector/Symfony2.php
{
private static $hasPerformedRequest;
public $persistentServices = [];
protected function doRequest($request)
{
$services = [];
if (self::$hasPerformedRequest) {
$services = $this->persistServices();
... | {
private static $hasPerformedRequest;
public $persistentServices = [];
protected function doRequest($request)
{
$services = [];
if (self::$hasPerformedRequest) {
$services = $this->persistServices();
$this->kernel = clone $this->kernel;
} else {
... | <|file_sep|>original/src/Codeception/Lib/Connector/Symfony2.php
{
private static $hasPerformedRequest;
public $persistentServices = [];
protected function doRequest($request)
{
$services = [];
if (self::$hasPerformedRequest) {
$services = $this->persistServices();
... | 6735f9c2064b43aa80dbcf2e8b5babc5f933059b | src/Codeception/Lib/Connector/Symfony2.php | src/Codeception/Lib/Connector/Symfony2.php | PHP |
<|file_sep|>original/requirements/dev.txt
-r base.txt
django-debug-toolbar==3.2
factory-boy==3.2.0
Faker==5.6.1
flake8-docstrings==1.5.0
flake8==3.8.4
freezegun==1.0.0
isort==5.7.0
pytest-cov==2.11.0
pytest-django==4.1.0
pytest-factoryboy==2.1.0
pytest==6.2.1
<|file_sep|>current/requirements/dev.txt
-r base.txt
django-... | -r base.txt
django-debug-toolbar==3.2
factory-boy==3.2.0
Faker==5.8.0
flake8-docstrings==1.5.0
flake8==3.8.4
freezegun==1.0.0
isort==5.7.0
pytest-cov==2.11.0
pytest-django==4.1.0
pytest-factoryboy==2.1.0
pytest==6.2.1 | <|file_sep|>original/requirements/dev.txt
-r base.txt
django-debug-toolbar==3.2
factory-boy==3.2.0
Faker==5.6.1
flake8-docstrings==1.5.0
flake8==3.8.4
freezegun==1.0.0
isort==5.7.0
pytest-cov==2.11.0
pytest-django==4.1.0
pytest-factoryboy==2.1.0
pytest==6.2.1
<|file_sep|>current/requirements/dev.txt
-r base.txt
django-... | 156fd66cff4705496f695c93d4c0c27194525de0 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/core/templates/core/email/feedback.html
Name: {{ user.get_full_name }} ({{ user.get_username }})
Feedback: {{ feedback }}
Provider: {{ provider }}
User-interface: {{ ui }}
Server: {{ server }}
Instances:
{% for i in instances %}
Name: {{ i.name }}
ID: {{ i.provider_alias }}
Image: ... | Username: {{ user.get_username }} ({{ user.get_full_name }})
Feedback: {{ feedback }}
Provider: {{ provider }}
User-interface: {{ ui }}
Server: {{ server }}
Instances:
{% for i in instances %}
Name: {{ i.name }}
ID: {{ i.provider_alias }}
Image: {{ i.provider_machine.identifier }}
IP: {{ i.ip_addre... | <|file_sep|>original/core/templates/core/email/feedback.html
Name: {{ user.get_full_name }} ({{ user.get_username }})
Feedback: {{ feedback }}
Provider: {{ provider }}
User-interface: {{ ui }}
Server: {{ server }}
Instances:
{% for i in instances %}
Name: {{ i.name }}
ID: {{ i.provider_alias }}
Image: ... | 7eaf4a9c99e41e509f2a00673af77ddaaacf5ff3 | core/templates/core/email/feedback.html | core/templates/core/email/feedback.html | HTML |
<|file_sep|>original/src/plugins/genericprojectmanager/GenericProject.mimetypes.xml
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="text/x-generic-project">
<sub-class-of type="text/plain"/>
<comment>Generic Project file</comment>
<glob patt... | <?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="text/x-generic-project">
<sub-class-of type="text/plain"/>
<comment>Generic Qt Creator Project file</comment>
<glob pattern="*.creator"/>
</mime-type>
</mime-info> | <|file_sep|>original/src/plugins/genericprojectmanager/GenericProject.mimetypes.xml
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="text/x-generic-project">
<sub-class-of type="text/plain"/>
<comment>Generic Project file</comment>
<glob patt... | 4e6428bbd59e2ff4f0ffb5b79bf50396907d73d4 | src/plugins/genericprojectmanager/GenericProject.mimetypes.xml | src/plugins/genericprojectmanager/GenericProject.mimetypes.xml | XML |
<|file_sep|>original/tools/metrics/manifest.yml
---
applications:
- name: paas-metrics
memory: 128M
disk_quota: 512M
instances: 1
buildpack: go_buildpack
env:
GOVERSION: 1.11
GOPACKAGENAME: github.com/alphagov/paas-cf/tools/metrics
command: ./bin/metrics
<|file_sep|>current/tools/metrics/ma... | ---
applications:
- name: paas-metrics
memory: 128M
disk_quota: 512M
instances: 1
buildpack: go_buildpack
stack: cflinuxfs3
env:
GOVERSION: 1.11
GOPACKAGENAME: github.com/alphagov/paas-cf/tools/metrics
command: ./bin/metrics | <|file_sep|>original/tools/metrics/manifest.yml
---
applications:
- name: paas-metrics
memory: 128M
disk_quota: 512M
instances: 1
buildpack: go_buildpack
env:
GOVERSION: 1.11
GOPACKAGENAME: github.com/alphagov/paas-cf/tools/metrics
command: ./bin/metrics
<|file_sep|>current/tools/metrics/ma... | 75063b60b64d72d991faaa7a8a8924da93b9cd90 | tools/metrics/manifest.yml | tools/metrics/manifest.yml | YAML |
<|file_sep|>original/lib/condition/condition_is_custom.rb
class ConditionIsCustom < ConditionSimple
def match?(card)
return true if card.custom?
false
end
def to_s
"is:custom"
end
end
<|file_sep|>current/lib/condition/condition_is_custom.rb
class ConditionIsCustom < ConditionSimple
def match?(car... | class ConditionIsCustom < ConditionSimple
def match?(printing)
printing.card.custom?
end
def to_s
"is:custom"
end
end | <|file_sep|>original/lib/condition/condition_is_custom.rb
class ConditionIsCustom < ConditionSimple
def match?(card)
return true if card.custom?
false
end
def to_s
"is:custom"
end
end
<|file_sep|>current/lib/condition/condition_is_custom.rb
class ConditionIsCustom < ConditionSimple
def match?(car... | 9727be3c0dc6b8c5d20a04c4159a83cb85383da9 | lib/condition/condition_is_custom.rb | lib/condition/condition_is_custom.rb | Ruby |
<|file_sep|>original/full-run.cfg
<|file_sep|>current/full-run.cfg
<|file_sep|>updated/full-run.cfg | [Global]
ModelInterface = /lustre/data/rpl/ModelInterface/ModelInterface.jar
DBXMLlib = /homes/pralitp/libs/dbxml-2.5.16/install/lib
[WaterDisaggregationModule]
workdir = /lustre/data/rpl/GCAMhydro
inputdir = /lustre/data/rpl/gcam-driver/input-data
tempdir = /lustre/data/rpl/gcam-driver/output/wdtest
outputdir = /lus... | <|file_sep|>original/full-run.cfg
<|file_sep|>current/full-run.cfg
<|file_sep|>updated/full-run.cfg
[Global]
ModelInterface = /lustre/data/rpl/ModelInterface/ModelInterface.jar
DBXMLlib = /homes/pralitp/libs/dbxml-2.5.16/install/lib
[WaterDisaggregationModule]
workdir = /lustre/data/rpl/GCAMhydro
inputdir = /lustre/... | 657b0ba08cb41430da7c8d360ed28fd14eccab16 | full-run.cfg | full-run.cfg | INI |
<|file_sep|>original/Casks/mysqlworkbench.rb
cask :v1 => 'mysqlworkbench' do
version '6.3.3'
sha256 '2ba28b163f88bd6d3a43df8236f351bc43d8fe3d21936424fcb395bb9d56e1a6'
url "https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-#{version}-osx-x86_64.dmg"
name 'MySQL Workbench'
gpg "#{url}... | cask :v1 => 'mysqlworkbench' do
version '6.3.4'
sha256 'af214391dfc9c6bdb7640bf286732ce7d4500721906d9a0ad3b107db8f15e57a'
url "https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-#{version}-osx-x86_64.dmg"
name 'MySQL Workbench'
gpg "#{url}.asc",
:key_id => '8c718d3b5072e1f5'
... | <|file_sep|>original/Casks/mysqlworkbench.rb
cask :v1 => 'mysqlworkbench' do
version '6.3.3'
sha256 '2ba28b163f88bd6d3a43df8236f351bc43d8fe3d21936424fcb395bb9d56e1a6'
url "https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-#{version}-osx-x86_64.dmg"
name 'MySQL Workbench'
gpg "#{url}... | 1877188f43798df8427fca4ed22f28f9f3db62a8 | Casks/mysqlworkbench.rb | Casks/mysqlworkbench.rb | Ruby |
<|file_sep|>original/aiohttp_devtools/start/template/requirements.txt
# {# This file is special: lines are made unique, stripped and sorted before the new requirements.txt file is created #}
# you will need to install these requirements with `pip install -r requirements.txt`
aiohttp==1.2.0
trafaret-config==1.0.1
pytes... | # {# This file is special: lines are made unique, stripped and sorted before the new requirements.txt file is created #}
# you will need to install these requirements with `pip install -r requirements.txt`
aiohttp==1.2.0
trafaret-config==1.0.1
pytest==3.0.5
pytest-aiohttp==0.1.3
pytest-cov==2.4.0
# {% if template_eng... | <|file_sep|>original/aiohttp_devtools/start/template/requirements.txt
# {# This file is special: lines are made unique, stripped and sorted before the new requirements.txt file is created #}
# you will need to install these requirements with `pip install -r requirements.txt`
aiohttp==1.2.0
trafaret-config==1.0.1
pytes... | 6561776e784e70b37187f20257059373f7c676c0 | aiohttp_devtools/start/template/requirements.txt | aiohttp_devtools/start/template/requirements.txt | Text |
<|file_sep|>locales/th/server.ftl.diff
original:
updated:
footerLinkTerms = ข้อกำหนด
<|file_sep|>locales/th/server.ftl.diff
original:
updated:
homePageGetStartedTitle = เริ่มต้น
homePagePrivacyLink = ความเป็นส่วนตัว
homePageTermsLink = ข้อกำหนด
<|file_sep|>original/locales/th/server.ftl
homePageDownloadFirefoxSubTitl... | homePageDownloadFirefoxTitle = Firefox
homePageDownloadFirefoxSubTitle = ดาวน์โหลดฟรี
homePageGetStartedTitle = เริ่มต้น
homePagePrivacyLink = ความเป็นส่วนตัว
homePageTermsLink = ข้อกำหนด
homePageCookiesLink = คุกกี้
[[ Leave Screenshots page ]]
leavePageErrorGeneric = มีข้อผิดพลาดเกิดขึ้น
leavePageButtonCancel = ยก... | <|file_sep|>locales/th/server.ftl.diff
original:
updated:
footerLinkTerms = ข้อกำหนด
<|file_sep|>locales/th/server.ftl.diff
original:
updated:
homePageGetStartedTitle = เริ่มต้น
homePagePrivacyLink = ความเป็นส่วนตัว
homePageTermsLink = ข้อกำหนด
<|file_sep|>original/locales/th/server.ftl
homePageDownloadFirefoxSubTitl... | 3b94f5c96104b0bd21959574bb6144b7669cafac | locales/th/server.ftl | locales/th/server.ftl | FreeMarker |
<|file_sep|>original/src/80_Remove_Duplicates_from_Sorted_Array_II.py
<|file_sep|>current/src/80_Remove_Duplicates_from_Sorted_Array_II.py
<|file_sep|>updated/src/80_Remove_Duplicates_from_Sorted_Array_II.py | class Solution(object):
def removeDuplicates(self, nums):
"""
:type nums: List[int]
:rtype: int
"""
k = 2
if len(nums) == 0:
return 0
m = 1
count = 1
for i in range(1, len(nums)):
if nums[i] == nums[i - 1]:
... | <|file_sep|>original/src/80_Remove_Duplicates_from_Sorted_Array_II.py
<|file_sep|>current/src/80_Remove_Duplicates_from_Sorted_Array_II.py
<|file_sep|>updated/src/80_Remove_Duplicates_from_Sorted_Array_II.py
class Solution(object):
def removeDuplicates(self, nums):
"""
:type nums: List[int]
... | e28ebe8bf2209d624e4b9470a4f86dcffcc5be56 | src/80_Remove_Duplicates_from_Sorted_Array_II.py | src/80_Remove_Duplicates_from_Sorted_Array_II.py | Python |
<|file_sep|>chronos-aws/src/main/java/org/ds/chronos/aws/S3ParitionedChronicle.java.diff
original:
updated:
final boolean gzip;
<|file_sep|>chronos-aws/src/main/java/org/ds/chronos/aws/S3ParitionedChronicle.java.diff
original:
updated:
this(client, bucket, keyPrefix, period, false);
}
public S3ParitionedChronic... | final String bucket;
final boolean gzip;
public S3ParitionedChronicle(AmazonS3Client client, String bucket, String keyPrefix, PartitionPeriod period) {
this(client, bucket, keyPrefix, period, false);
}
public S3ParitionedChronicle(AmazonS3Client client, String bucket, String keyPrefix, PartitionPeriod period,
... | <|file_sep|>chronos-aws/src/main/java/org/ds/chronos/aws/S3ParitionedChronicle.java.diff
original:
updated:
final boolean gzip;
<|file_sep|>chronos-aws/src/main/java/org/ds/chronos/aws/S3ParitionedChronicle.java.diff
original:
updated:
this(client, bucket, keyPrefix, period, false);
}
public S3ParitionedChronic... | 70ddff2c618a75d976c892d54ba79ff6cb6607af | chronos-aws/src/main/java/org/ds/chronos/aws/S3ParitionedChronicle.java | chronos-aws/src/main/java/org/ds/chronos/aws/S3ParitionedChronicle.java | Java |
<|file_sep|>examples/Fortran/CMakeLists.txt.diff
original:
updated:
m_ser.f90
<|file_sep|>examples/Fortran/CMakeLists.txt.diff
original:
${FORTRAN_SAMPLE_SOURCES}
${Boost_LIBRARIES}
${SERIALBOX_EXTERNAL_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT})
add_executable(fortran_consumer
m_ser.f90
main_con... | add_executable(
fortran_producer
m_ser.f90
main_producer.f90
${SerialboxFortranStatic}
${Boost_LIBRARIES}
${SERIALBOX_EXTERNAL_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT})
add_executable(fortran_consumer
m_ser.f90
main_consumer.f90
${SerialboxFortranStatic}
${Boost_LIBRARIES}
$... | <|file_sep|>examples/Fortran/CMakeLists.txt.diff
original:
updated:
m_ser.f90
<|file_sep|>examples/Fortran/CMakeLists.txt.diff
original:
${FORTRAN_SAMPLE_SOURCES}
${Boost_LIBRARIES}
${SERIALBOX_EXTERNAL_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT})
add_executable(fortran_consumer
m_ser.f90
main_con... | f2a33ca7ee4f9331aaa0d7cd870ed3abf07fc095 | examples/Fortran/CMakeLists.txt | examples/Fortran/CMakeLists.txt | Text |
<|file_sep|>api/IntegrityCheck/SymlinkCheck.php.diff
original:
updated:
use Contao\ManagerApi\ApiKernel;
<|file_sep|>api/IntegrityCheck/SymlinkCheck.php.diff
original:
use Contao\ManagerApi\System\ServerInfo;
updated:
<|file_sep|>api/IntegrityCheck/SymlinkCheck.php.diff
original:
updated:
use Symfony\Component\Files... |
private function canCreateSymlinks()
{
if (!function_exists('symlink')) {
return '';
}
try {
$filesystem = new Filesystem();
$tempname = tempnam(sys_get_temp_dir(), '');
$filesystem->remove($tempname);
$filesystem->symlink($t... | <|file_sep|>api/IntegrityCheck/SymlinkCheck.php.diff
original:
updated:
use Contao\ManagerApi\ApiKernel;
<|file_sep|>api/IntegrityCheck/SymlinkCheck.php.diff
original:
use Contao\ManagerApi\System\ServerInfo;
updated:
<|file_sep|>api/IntegrityCheck/SymlinkCheck.php.diff
original:
updated:
use Symfony\Component\Files... | ec374906b91011631dd9abddb2ae6db8ecd62213 | api/IntegrityCheck/SymlinkCheck.php | api/IntegrityCheck/SymlinkCheck.php | PHP |
<|file_sep|>original/requirements.txt
# documentation
Sphinx==1.6.4
nbsphinx==0.2.14
# data science
jupyter==1.0.0
matplotlib==2.0.2
# integration
tox==2.9.1
# code style
flake8==3.4.1
pydocstyle==2.0.0
mypy==0.521
# to fix connection issues
PyOpenSSL==17.3.0; python_version <= '2.7'
# for package management (uplo... | # documentation
Sphinx==1.6.4
nbsphinx==0.2.14
# data science
jupyter==1.0.0
matplotlib==2.0.2
# integration
tox==2.9.1
# code style
flake8==3.4.1
pydocstyle==2.0.0
mypy==0.540
# to fix connection issues
PyOpenSSL==17.3.0; python_version <= '2.7'
# for package management (uploads)
twine==1.9.1 | <|file_sep|>original/requirements.txt
# documentation
Sphinx==1.6.4
nbsphinx==0.2.14
# data science
jupyter==1.0.0
matplotlib==2.0.2
# integration
tox==2.9.1
# code style
flake8==3.4.1
pydocstyle==2.0.0
mypy==0.521
# to fix connection issues
PyOpenSSL==17.3.0; python_version <= '2.7'
# for package management (uplo... | df668b4600f09ac6e5ae93d97704152184c4f9a9 | requirements.txt | requirements.txt | Text |
<|file_sep|>lib/generators/hyrax/templates/db/migrate/20170810190549_update_collection_type_column_options.rb.erb.diff
original:
def change
updated:
def up
<|file_sep|>original/lib/generators/hyrax/templates/db/migrate/20170810190549_update_collection_type_column_options.rb.erb
class UpdateCollectionTypeColumnOptio... | class UpdateCollectionTypeColumnOptions < ActiveRecord::Migration<%= migration_version %>
def up
change_column :hyrax_collection_types, :title, :string, unique: true
change_column :hyrax_collection_types, :machine_id, :string, unique: true
remove_index :hyrax_collection_types, :machine_id
add_index :... | <|file_sep|>lib/generators/hyrax/templates/db/migrate/20170810190549_update_collection_type_column_options.rb.erb.diff
original:
def change
updated:
def up
<|file_sep|>original/lib/generators/hyrax/templates/db/migrate/20170810190549_update_collection_type_column_options.rb.erb
class UpdateCollectionTypeColumnOptio... | 785c35c2b8e041e316d737fc0233d056a37d2713 | lib/generators/hyrax/templates/db/migrate/20170810190549_update_collection_type_column_options.rb.erb | lib/generators/hyrax/templates/db/migrate/20170810190549_update_collection_type_column_options.rb.erb | HTML+ERB |
<|file_sep|>original/app/controllers/requests_controller.rb
class RequestsController < ApplicationController
def index
@requests = Request.all
@new_request = Request.new
end
def show
@request = Request.find(params[:id])
end
def create
Request.create!(request_params)
redirect_to requests_path... | class RequestsController < ApplicationController
def index
@requests = Request.all.order(:name)
@new_request = Request.new
end
def show
@request = Request.find(params[:id])
end
def create
Request.create!(request_params)
redirect_to requests_path
end
private
def request_params
para... | <|file_sep|>original/app/controllers/requests_controller.rb
class RequestsController < ApplicationController
def index
@requests = Request.all
@new_request = Request.new
end
def show
@request = Request.find(params[:id])
end
def create
Request.create!(request_params)
redirect_to requests_path... | ba1a15aacd739b2686441be98a67124180cd2791 | app/controllers/requests_controller.rb | app/controllers/requests_controller.rb | Ruby |
<|file_sep|>package.json.diff
original:
"version": "0.6.2",
updated:
"version": "0.6.3",
<|file_sep|>original/package.json
"name": "smtp-tester",
"description": "Quick and dirty smtp server, that accepts handlers to process messages",
"version": "0.6.2",
"url": "http://github.com/deitch/smtp-tester",
"scr... | "name": "smtp-tester",
"description": "Quick and dirty smtp server, that accepts handlers to process messages",
"version": "0.6.3",
"url": "http://github.com/deitch/smtp-tester",
"scripts": {
"test": "node test/test.js"
},
"author": "Avi Deitcher <avi@deitcher.net>",
"contributors": [
"Greg Miel... | <|file_sep|>package.json.diff
original:
"version": "0.6.2",
updated:
"version": "0.6.3",
<|file_sep|>original/package.json
"name": "smtp-tester",
"description": "Quick and dirty smtp server, that accepts handlers to process messages",
"version": "0.6.2",
"url": "http://github.com/deitch/smtp-tester",
"scr... | 4759485dae8fb86fc787298a536f490792ec9c6a | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
# TODO: add test matrix for all SOM VMs
language: python
python:
- "2.7"
install:
- sudo apt-get install libc6-dev-i386
- git clone --depth 1 https://github.com/smarr/PySOM.git
- git clone --depth 1 https://github.com/smarr/som-java.git
- git clone --depth 1 https://github.c... | # TODO: add test matrix for all SOM VMs
language: python
python:
- "2.7"
install:
- sudo apt-get install libc6-dev-i386
- git clone --depth 1 https://github.com/smarr/PySOM.git
- git clone --depth 1 https://github.com/smarr/som-java.git
- git clone --depth 1 https://github.com/smarr/CSOM.git
# command to r... | <|file_sep|>original/.travis.yml
# TODO: add test matrix for all SOM VMs
language: python
python:
- "2.7"
install:
- sudo apt-get install libc6-dev-i386
- git clone --depth 1 https://github.com/smarr/PySOM.git
- git clone --depth 1 https://github.com/smarr/som-java.git
- git clone --depth 1 https://github.c... | a191a16b44309fe2935fe3571a3cc28c31482bd4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>cloudwatch/client_test.go.diff
original:
updated:
// Cleanup before the test
os.Unsetenv("AWS_DEFAULT_REGION")
os.Unsetenv("AWS_REGION")
<|file_sep|>cloudwatch/client_test.go.diff
original:
expected: "ap-southeast-1",
updated:
expected: "ap-southeast-2",
<|file_sep|>original/cloudwatch/client_t... | {
expected: "us-east-1",
export: false,
exportVar: "",
exportVal: "",
},
{
expected: "ap-southeast-2",
export: true,
exportVar: "AWS_DEFAULT_REGION",
exportVal: "ap-southeast-2",
},
{
expected: "us-west-2",
export: true,
exportVar: "AWS_REGION",
exportVal: "us-w... | <|file_sep|>cloudwatch/client_test.go.diff
original:
updated:
// Cleanup before the test
os.Unsetenv("AWS_DEFAULT_REGION")
os.Unsetenv("AWS_REGION")
<|file_sep|>cloudwatch/client_test.go.diff
original:
expected: "ap-southeast-1",
updated:
expected: "ap-southeast-2",
<|file_sep|>original/cloudwatch/client_t... | fe764f09ca3f776eee1f5b5dfa680502f9ae4ede | cloudwatch/client_test.go | cloudwatch/client_test.go | Go |
<|file_sep|>original/package.json
"name": "kongfig",
"version": "1.0.8",
"description": "A tool for Kong to allow declarative configuration.",
"repository": "https://github.com/mybuilder/kongfig",
"bin": {
"kongfig": "./bin/kongfig"
},
"preferGlobal": true,
"scripts": {
"test": "mocha --compiler... | "name": "kongfig",
"version": "1.0.8",
"description": "A tool for Kong to allow declarative configuration.",
"repository": "https://github.com/mybuilder/kongfig",
"bin": {
"kongfig": "./bin/kongfig"
},
"preferGlobal": true,
"scripts": {
"test": "mocha --compilers js:babel-core/register test/inde... | <|file_sep|>original/package.json
"name": "kongfig",
"version": "1.0.8",
"description": "A tool for Kong to allow declarative configuration.",
"repository": "https://github.com/mybuilder/kongfig",
"bin": {
"kongfig": "./bin/kongfig"
},
"preferGlobal": true,
"scripts": {
"test": "mocha --compiler... | 75246600186ab5a62b59a32ec7fa2df9c7b15dd1 | package.json | package.json | JSON |
<|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
-r test.txt
# Documentation
sphinx==1.7.6
sphinx-rtd-theme==0.4.0
# Debugging Tools
django-debug-toolbar==1.9.1
django-extensions==2.1.0
<|file_sep|>current/requirements/local.txt
# Local development dependencies go here
... | # Local development dependencies go here
-r base.txt
-r test.txt
# Documentation
sphinx==1.7.6
sphinx-rtd-theme==0.4.1
# Debugging Tools
django-debug-toolbar==1.9.1
django-extensions==2.1.0 | <|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
-r test.txt
# Documentation
sphinx==1.7.6
sphinx-rtd-theme==0.4.0
# Debugging Tools
django-debug-toolbar==1.9.1
django-extensions==2.1.0
<|file_sep|>current/requirements/local.txt
# Local development dependencies go here
... | 93b37f47a666ef10be49234a84903ba98c4cac35 | requirements/local.txt | requirements/local.txt | Text |
<|file_sep|>original/wiki/2018-08-22-pfhub-poster-at-mgi-pi.md
<|file_sep|>current/wiki/2018-08-22-pfhub-poster-at-mgi-pi.md
<|file_sep|>updated/wiki/2018-08-22-pfhub-poster-at-mgi-pi.md | ---
layout: wiki
published: false
title: PFHub Poster at MGI PI
---
A poster presented at the MGI PI meeting on 03/26/2018.
<iframe src="//www.slideshare.net/slideshow/embed_code/key/FIfADjUiXeRvAP" width="668" height="714" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; b... | <|file_sep|>original/wiki/2018-08-22-pfhub-poster-at-mgi-pi.md
<|file_sep|>current/wiki/2018-08-22-pfhub-poster-at-mgi-pi.md
<|file_sep|>updated/wiki/2018-08-22-pfhub-poster-at-mgi-pi.md
---
layout: wiki
published: false
title: PFHub Poster at MGI PI
---
A poster presented at the MGI PI meeting on 03/26/2018.
<ifram... | a8d2648f969aa9c8ab59d9efb68ed375595c606b | wiki/2018-08-22-pfhub-poster-at-mgi-pi.md | wiki/2018-08-22-pfhub-poster-at-mgi-pi.md | Markdown |
<|file_sep|>original/requirements.txt
gunicorn==19.9.0
backports-abc==0.5
bkcharts==0.2
bokeh==1.0.1
certifi==2018.8.24
chardet==3.0.4
click==7.0
Flask==1.0.2
idna==2.7
itsdangerous==0.24
Jinja2==2.10
MarkupSafe==1.0
numpy==1.15.2
python-dateutil==2.7.3
PyYAML==3.13
requests>=2.20.0
singledispatch==3.4.0.3
six==1.11.0
... | gunicorn==19.9.0
backports-abc==0.5
bkcharts==0.2
bokeh==1.0.1
certifi==2018.10.15
chardet==3.0.4
click==7.0
Flask==1.0.2
idna==2.7
itsdangerous==0.24
Jinja2==2.10
MarkupSafe==1.0
numpy==1.15.2
python-dateutil==2.7.3
PyYAML==3.13
requests>=2.20.0
singledispatch==3.4.0.3
six==1.11.0
tornado==5.1.1
urllib3==1.22
Werkzeug... | <|file_sep|>original/requirements.txt
gunicorn==19.9.0
backports-abc==0.5
bkcharts==0.2
bokeh==1.0.1
certifi==2018.8.24
chardet==3.0.4
click==7.0
Flask==1.0.2
idna==2.7
itsdangerous==0.24
Jinja2==2.10
MarkupSafe==1.0
numpy==1.15.2
python-dateutil==2.7.3
PyYAML==3.13
requests>=2.20.0
singledispatch==3.4.0.3
six==1.11.0
... | ccbb644c59ac1e20c3c13e16e3af1bfd4f24da60 | requirements.txt | requirements.txt | Text |
<|file_sep|>lib/common.js.diff
original:
updated:
var nullOutChars = function(str, start, end, nullChar) {
return str.slice(0, start) + nullChar.repeat(end - start) + str.slice(end);
}
<|file_sep|>original/lib/common.js
return indices;
};
/**
* Find indices of all matches of Regex pattern in str.
* @param {str... | * @param {string} str - string to find Regex patterns in.
* @param {RegExp} re - Regex patterns
* @return {array} Array of indices where Regex pattern occurs in str.
*/
var findAllIndicesRegex = function(str, re) {
var indices = [];
var m = re.exec(str);
while (m) {
indices.push(m.index);
m = re.exec(... | <|file_sep|>lib/common.js.diff
original:
updated:
var nullOutChars = function(str, start, end, nullChar) {
return str.slice(0, start) + nullChar.repeat(end - start) + str.slice(end);
}
<|file_sep|>original/lib/common.js
return indices;
};
/**
* Find indices of all matches of Regex pattern in str.
* @param {str... | 3cb2c725d0571d44d43c1265966e0de8df47b725 | lib/common.js | lib/common.js | JavaScript |
<|file_sep|>original/requirements.txt
pyyaml==3.12
SQLAlchemy==1.1.13
psycopg2==2.7.3.1
alembic==0.9.5
<|file_sep|>current/requirements.txt
pyyaml==3.12
SQLAlchemy==1.1.13
psycopg2==2.7.3.1
alembic==0.9.5
<|file_sep|>updated/requirements.txt | pyyaml==3.12
SQLAlchemy==1.1.14
psycopg2==2.7.3.1
alembic==0.9.5 | <|file_sep|>original/requirements.txt
pyyaml==3.12
SQLAlchemy==1.1.13
psycopg2==2.7.3.1
alembic==0.9.5
<|file_sep|>current/requirements.txt
pyyaml==3.12
SQLAlchemy==1.1.13
psycopg2==2.7.3.1
alembic==0.9.5
<|file_sep|>updated/requirements.txt
pyyaml==3.12
SQLAlchemy==1.1.14
psycopg2==2.7.3.1
alembic==0.9.5 | 357dc59ae08a4f72d986002ef104ce5c434a6f44 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/corehq/apps/locations/management/commands/location_last_modified.py
def handle(self, *args, **options):
self.stdout.write("Processing locations...\n")
relevant_ids = set([r['id'] for r in Location.get_db().view(
'commtrack/locations_by_code',
reduce=Fals... | self.stdout.write("Processing locations...\n")
relevant_ids = set([r['id'] for r in Location.get_db().view(
'commtrack/locations_by_code',
reduce=False,
).all()])
to_save = []
for location in iter_docs(Location.get_db(), relevant_ids):
# exc... | <|file_sep|>original/corehq/apps/locations/management/commands/location_last_modified.py
def handle(self, *args, **options):
self.stdout.write("Processing locations...\n")
relevant_ids = set([r['id'] for r in Location.get_db().view(
'commtrack/locations_by_code',
reduce=Fals... | e6ca7ef801115d16d809c563b657c3a63e828fb1 | corehq/apps/locations/management/commands/location_last_modified.py | corehq/apps/locations/management/commands/location_last_modified.py | Python |
<|file_sep|>desktop/reactified/client/src/App.js.diff
original:
import { Route, BrowserRouter as Router } from 'react-router-dom';
updated:
import { Redirect, Route, BrowserRouter as Router } from 'react-router-dom';
<|file_sep|>original/desktop/reactified/client/src/App.js
palette: {
primary1Color: blue5... | palette: {
primary1Color: blue500,
},
});
return (
<Router>
<MuiThemeProvider muiTheme={muiTheme}>
<div className="App">
<Sidebar />
<FAB />
<Redirect from="/" to="tasks" />
<Route path="/tasks" component={TaskList} />
... | <|file_sep|>desktop/reactified/client/src/App.js.diff
original:
import { Route, BrowserRouter as Router } from 'react-router-dom';
updated:
import { Redirect, Route, BrowserRouter as Router } from 'react-router-dom';
<|file_sep|>original/desktop/reactified/client/src/App.js
palette: {
primary1Color: blue5... | a5440e93f7550b2c107ffbf831a616938d90cbe7 | desktop/reactified/client/src/App.js | desktop/reactified/client/src/App.js | JavaScript |
<|file_sep|>original/src/getResource.js
var PokeApi = PokeApi || {};
PokeApi.apiUrl = "http://pokeapi.co/api/";
PokeApi.apiVersion = "v2";
PokeApi.getResource = function getResource(resource) {
return new Promise(function(resolve, reject) {
fetch(PokeApi.apiUrl + PokeApi.apiVersion + "/" + resource).then(f... | var PokeApi = PokeApi || {};
PokeApi.apiUrl = "https://pokeapi.co/api/";
PokeApi.apiVersion = "v2";
PokeApi.getResource = function getResource(resource) {
return new Promise(function(resolve, reject) {
fetch(PokeApi.apiUrl + PokeApi.apiVersion + "/" + resource).then(function(response) {
// hand... | <|file_sep|>original/src/getResource.js
var PokeApi = PokeApi || {};
PokeApi.apiUrl = "http://pokeapi.co/api/";
PokeApi.apiVersion = "v2";
PokeApi.getResource = function getResource(resource) {
return new Promise(function(resolve, reject) {
fetch(PokeApi.apiUrl + PokeApi.apiVersion + "/" + resource).then(f... | e2f054e075531f514c2b9ce5968a2ce960ca9c86 | src/getResource.js | src/getResource.js | JavaScript |
<|file_sep|>azure-pipelines-richnav.yml.diff
original:
variables:
- name: _TeamName
value: Roslyn
- name: _DotNetArtifactsCategory
value: .NETCore
updated:
<|file_sep|>original/azure-pipelines-richnav.yml
value: Roslyn
- name: _DotNetArtifactsCategory
value: .NETCore
stages:
- stage: build
di... | displayName: Build
jobs:
- template: /eng/common/templates/jobs/jobs.yml
parameters:
enableRichCodeNavigation: true
richCodeNavigationEnvironment: "production"
richCodeNavigationLanguage: "csharp"
jobs:
- job: Debug_Build
pool:
name: NetCorePublic-Pool
queue: BuildPool.Wi... | <|file_sep|>azure-pipelines-richnav.yml.diff
original:
variables:
- name: _TeamName
value: Roslyn
- name: _DotNetArtifactsCategory
value: .NETCore
updated:
<|file_sep|>original/azure-pipelines-richnav.yml
value: Roslyn
- name: _DotNetArtifactsCategory
value: .NETCore
stages:
- stage: build
di... | 50e3c65fc551b35aaa21e6e943e6cf1baa68324d | azure-pipelines-richnav.yml | azure-pipelines-richnav.yml | YAML |
<|file_sep|>original/addon/components/sy-loading-dots.js
import Ember from 'ember'
import layout from '../templates/components/sy-loading-dots'
export default Ember.Component.extend({
layout,
classNames: [ 'loading-dots' ]
})
<|file_sep|>current/addon/components/sy-loading-dots.js
import Ember from 'ember'
impo... | import Ember from 'ember'
import layout from '../templates/components/sy-loading-dots'
export default Ember.Component.extend({
layout,
tagName: 'span',
classNames: [ 'loading-dots' ]
}) | <|file_sep|>original/addon/components/sy-loading-dots.js
import Ember from 'ember'
import layout from '../templates/components/sy-loading-dots'
export default Ember.Component.extend({
layout,
classNames: [ 'loading-dots' ]
})
<|file_sep|>current/addon/components/sy-loading-dots.js
import Ember from 'ember'
impo... | 168a2d0895797400979716e886f25e02dae1df69 | addon/components/sy-loading-dots.js | addon/components/sy-loading-dots.js | JavaScript |
<|file_sep|>Casks/livestation.rb.diff
original:
url 'http://updates.livestation.com/releases/Livestation-3.2.0-intel.dmg'
updated:
url 'http://updates.livestation.com/releases/Livestation-3.3.0.dmg'
<|file_sep|>original/Casks/livestation.rb
class Livestation < Cask
url 'http://updates.livestation.com/releases/Liv... | class Livestation < Cask
url 'http://updates.livestation.com/releases/Livestation-3.3.0.dmg'
homepage 'http://www.livestation.com'
version '3.3.0'
sha1 '2d91b4807a6e63446bd569e7c819a49129f1a7c1'
link 'Livestation.app'
end | <|file_sep|>Casks/livestation.rb.diff
original:
url 'http://updates.livestation.com/releases/Livestation-3.2.0-intel.dmg'
updated:
url 'http://updates.livestation.com/releases/Livestation-3.3.0.dmg'
<|file_sep|>original/Casks/livestation.rb
class Livestation < Cask
url 'http://updates.livestation.com/releases/Liv... | 035df0f7ed47f6ec305161459110339afdea26c2 | Casks/livestation.rb | Casks/livestation.rb | Ruby |
<|file_sep|>original/tests/conftest.py
<|file_sep|>current/tests/conftest.py
<|file_sep|>updated/tests/conftest.py | def pytest_configure():
from django.conf import settings
settings.configure(
DEBUG_PROPAGATE_EXCEPTIONS=True,
DATABASES={
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
},
SITE_ID=1,
SECRE... | <|file_sep|>original/tests/conftest.py
<|file_sep|>current/tests/conftest.py
<|file_sep|>updated/tests/conftest.py
def pytest_configure():
from django.conf import settings
settings.configure(
DEBUG_PROPAGATE_EXCEPTIONS=True,
DATABASES={
'default': {
'ENGINE': 'djan... | 039001c71ce5b4eb4eb7796e5ee56e0ee459687b | tests/conftest.py | tests/conftest.py | Python |
<|file_sep|>original/roles/rhel_subscribe/tasks/enterprise.yml
- set_fact:
default_ose_version: '3.0'
when: deployment_type == 'enterprise'
- set_fact:
default_ose_version: '3.1'
when: deployment_type in ['atomic-enterprise', 'openshift-enterprise']
- set_fact:
ose_version: "{{ lookup('oo_option', 'os... | - set_fact:
default_ose_version: '3.0'
when: deployment_type == 'enterprise'
- set_fact:
default_ose_version: '3.1'
when: deployment_type in ['atomic-enterprise', 'openshift-enterprise']
- set_fact:
ose_version: "{{ lookup('oo_option', 'ose_version') | default(default_ose_version, True) }}"
- fail:
... | <|file_sep|>original/roles/rhel_subscribe/tasks/enterprise.yml
- set_fact:
default_ose_version: '3.0'
when: deployment_type == 'enterprise'
- set_fact:
default_ose_version: '3.1'
when: deployment_type in ['atomic-enterprise', 'openshift-enterprise']
- set_fact:
ose_version: "{{ lookup('oo_option', 'os... | afa27b934c8ad8ac7cae7baa02000a59e7e64906 | roles/rhel_subscribe/tasks/enterprise.yml | roles/rhel_subscribe/tasks/enterprise.yml | YAML |
<|file_sep|>original/gradle.properties
group=com.linecorp.centraldogma
version=0.44.9-SNAPSHOT
projectName=Central Dogma
projectUrl=https://line.github.io/centraldogma/
projectDescription=Highly-available version-controlled service configuration repository based on Git, ZooKeeper and HTTP/2
authorName=LINE Corporation
... | group=com.linecorp.centraldogma
version=0.44.10-SNAPSHOT
projectName=Central Dogma
projectUrl=https://line.github.io/centraldogma/
projectDescription=Highly-available version-controlled service configuration repository based on Git, ZooKeeper and HTTP/2
authorName=LINE Corporation
authorEmail=dl_oss_dev@linecorp.com
au... | <|file_sep|>original/gradle.properties
group=com.linecorp.centraldogma
version=0.44.9-SNAPSHOT
projectName=Central Dogma
projectUrl=https://line.github.io/centraldogma/
projectDescription=Highly-available version-controlled service configuration repository based on Git, ZooKeeper and HTTP/2
authorName=LINE Corporation
... | 592ecb5729d40433eef4a9fe448a24b34cf20812 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/app/Commands/SendEmail.php
<|file_sep|>current/app/Commands/SendEmail.php
<|file_sep|>updated/app/Commands/SendEmail.php | <?php namespace App\Commands;
use App\Commands\Command;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Bus\SelfHandling;
use Illuminate\Contracts\Queue\ShouldBeQueued;
class SendEmail extends Command implements SelfHandling, ShouldBeQueued {
use InteractsWi... | <|file_sep|>original/app/Commands/SendEmail.php
<|file_sep|>current/app/Commands/SendEmail.php
<|file_sep|>updated/app/Commands/SendEmail.php
<?php namespace App\Commands;
use App\Commands\Command;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Bus\SelfHandl... | a89e0dbe49b36503dc8f12157eb6ba9ba2ba1420 | app/Commands/SendEmail.php | app/Commands/SendEmail.php | PHP |
<|file_sep|>original/spec/unit/spec_helper.rb
require 'spec_helper'
require 'chefspec'
require 'chefspec/librarian'
RSpec.configure do |config|
config.platform = 'mac_os_x'
config.version = '10.11.1' # via https://github.com/customink/fauxhai/tree/master/lib/fauxhai/platforms/mac_os_x
config.before do
stub_c... | require 'spec_helper'
require 'chefspec'
require 'chefspec/librarian'
RSpec.configure do |config|
config.platform = 'mac_os_x'
config.version = '10.11.1' # via https://github.com/customink/fauxhai/tree/master/lib/fauxhai/platforms/mac_os_x
config.before do
stub_const('ENV', 'SUDO_USER' => 'fauxhai')
stub... | <|file_sep|>original/spec/unit/spec_helper.rb
require 'spec_helper'
require 'chefspec'
require 'chefspec/librarian'
RSpec.configure do |config|
config.platform = 'mac_os_x'
config.version = '10.11.1' # via https://github.com/customink/fauxhai/tree/master/lib/fauxhai/platforms/mac_os_x
config.before do
stub_c... | 5d7a066a9b323f79069bb7995c552b85eba8b9cd | spec/unit/spec_helper.rb | spec/unit/spec_helper.rb | Ruby |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
install:
- pip install nose
- pip install httpretty
- pip install . --use-mirrors
script: nosetests -v
branches:
only:
- dev
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.4"
install:
- pip install nose
... | language: python
python:
- "2.7"
- "3.4"
install:
- pip install nose
- pip install httpretty
- pip install . --use-mirrors
script: nosetests -v
branches:
only:
- dev
- api_v3 | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
install:
- pip install nose
- pip install httpretty
- pip install . --use-mirrors
script: nosetests -v
branches:
only:
- dev
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.4"
install:
- pip install nose
... | bdda7f47542d18429eebbbf4f5f614f528111c52 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
cmake: 3.15
before_install:
- go get ./...
script:
- echo ">>> Run build"
- go env GOOS
- make build
builds: &builds
stage: build
jobs:
include:
- <<: *builds
os: osx
- <<: *builds
os: windows
- <<: *builds
os: linux
<|file_sep|>current/.tra... |
before_install:
- go get ./...
script:
- echo ">>> Run build"
- go env GOOS
- make build
builds: &builds
stage: build
jobs:
include:
- <<: *builds
os: osx
osx_image: xcode11.3
- <<: *builds
os: windows
- <<: *builds
os: linux | <|file_sep|>original/.travis.yml
cmake: 3.15
before_install:
- go get ./...
script:
- echo ">>> Run build"
- go env GOOS
- make build
builds: &builds
stage: build
jobs:
include:
- <<: *builds
os: osx
- <<: *builds
os: windows
- <<: *builds
os: linux
<|file_sep|>current/.tra... | 52f6709aaf5ffba8154f745a864f831e17806abb | .travis.yml | .travis.yml | YAML |
<|file_sep|>.cirrus.yml.diff
original:
# We're currently not running tests with coverage because the free cirrus containers run out of memory :(
updated:
<|file_sep|>original/.cirrus.yml
# Run tasks with the dart SDK installed by default
container:
dockerfile: tool/Dockerfile
# We're currently not running tests wi... | # Run tasks with the dart SDK installed by default
container:
dockerfile: tool/Dockerfile
task:
pub_cache:
folder: $HOME/.pub-cache
environment:
CODECOV_TOKEN: ENCRYPTED[6322a159d9b7692b999d13fa2bc7981c8b61ecb1ac18ae076864f1355ee9b65088b2bf9d97d7860196e58bf1db5708af]
dart_version_script: dart --version... | <|file_sep|>.cirrus.yml.diff
original:
# We're currently not running tests with coverage because the free cirrus containers run out of memory :(
updated:
<|file_sep|>original/.cirrus.yml
# Run tasks with the dart SDK installed by default
container:
dockerfile: tool/Dockerfile
# We're currently not running tests wi... | 1672eacb699b204ac69f82d3cf903f20e415ac06 | .cirrus.yml | .cirrus.yml | YAML |
<|file_sep|>lib/findUndefinedIdentifiers.js.diff
original:
updated:
const JSX_BUILT_IN_ELEMENT_PATTERN = /^[a-z]/;
<|file_sep|>original/lib/findUndefinedIdentifiers.js
({ isReference, isJSX, name, definedInScope }) => {
if (isJSX && !definedInScope.has('React')) {
result.add('React'); // Implicit de... | ({ isReference, isJSX, name, definedInScope }) => {
if (isJSX && !definedInScope.has('React')) {
result.add('React'); // Implicit dependency
}
if (isReference) {
return;
}
if (definedInScope.has(name)) {
return;
}
if (isJSX && JSX_BUILT_IN_ELEMENT_PA... | <|file_sep|>lib/findUndefinedIdentifiers.js.diff
original:
updated:
const JSX_BUILT_IN_ELEMENT_PATTERN = /^[a-z]/;
<|file_sep|>original/lib/findUndefinedIdentifiers.js
({ isReference, isJSX, name, definedInScope }) => {
if (isJSX && !definedInScope.has('React')) {
result.add('React'); // Implicit de... | af640cfd27fcd72dccec89a7818fbd4603c3185d | lib/findUndefinedIdentifiers.js | lib/findUndefinedIdentifiers.js | JavaScript |
<|file_sep|>original/package-electron-winstaller.ps1
<|file_sep|>current/package-electron-winstaller.ps1
<|file_sep|>updated/package-electron-winstaller.ps1 | <#
Package script for electron-winstaller
The NPM package electron-winstaller allows developers to
build Windows installers for Electron apps using Squirrel
(https://github.com/electron/windows-installer)
This script copies the required files into a single folder
which can then be copied to the electron-winstaller/ve... | <|file_sep|>original/package-electron-winstaller.ps1
<|file_sep|>current/package-electron-winstaller.ps1
<|file_sep|>updated/package-electron-winstaller.ps1
<#
Package script for electron-winstaller
The NPM package electron-winstaller allows developers to
build Windows installers for Electron apps using Squirrel
(ht... | ff3dd359b9d251906a7d93947d1e1d9b0605d3a8 | package-electron-winstaller.ps1 | package-electron-winstaller.ps1 | PowerShell |
<|file_sep|>original/src/documentation/content/xdocs/tabs.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN"
"http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/tab-cocoon-v10.dtd">
<tabs software="FOP"
titl... | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN"
"http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/tab-cocoon-v10.dtd">
<tabs software="FOP"
title="FOP"
copyright="@year@ The Apache Software Foundation... | <|file_sep|>original/src/documentation/content/xdocs/tabs.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN"
"http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/tab-cocoon-v10.dtd">
<tabs software="FOP"
titl... | 4fabb34e34e5919d7f12dbd1b2d590a85528f4b8 | src/documentation/content/xdocs/tabs.xml | src/documentation/content/xdocs/tabs.xml | XML |
<|file_sep|>original/.github/workflows/python.yml
name: Python
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up... | name: Python
on:
push:
branches: [ master ]
tags:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
... | <|file_sep|>original/.github/workflows/python.yml
name: Python
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up... | 80847428ccac37e9cce5ed9d60055f994da68ce0 | .github/workflows/python.yml | .github/workflows/python.yml | YAML |
<|file_sep|>original/src/adhocracy_frontend/adhocracy_frontend/static/js/templates/Activation.html
<div class="standalone-wrapper">
<div data-ng-if="ready">
<div data-ng-if="success">
<h1 class="standalone-wrapper-title">{{ "TR__ACTIVATION_SUCCESS_TITLE" | translate }}</h1>
<p>{{ "TR... | <div class="standalone-wrapper">
<div data-ng-if="ready">
<div data-ng-if="success">
<h1 class="standalone-wrapper-title">{{ "TR__ACTIVATION_SUCCESS_TITLE" | translate }}</h1>
<p>{{ "TR__ACTIVATION_CLOSE_THIS_TAB_AND_PROCEED" | translate:{siteName: siteName} }}</p>
</div>
... | <|file_sep|>original/src/adhocracy_frontend/adhocracy_frontend/static/js/templates/Activation.html
<div class="standalone-wrapper">
<div data-ng-if="ready">
<div data-ng-if="success">
<h1 class="standalone-wrapper-title">{{ "TR__ACTIVATION_SUCCESS_TITLE" | translate }}</h1>
<p>{{ "TR... | 26c840532361f7952e809d3f1998c2fdb0b72015 | src/adhocracy_frontend/adhocracy_frontend/static/js/templates/Activation.html | src/adhocracy_frontend/adhocracy_frontend/static/js/templates/Activation.html | HTML |
<|file_sep|>original/src/css/main.css
}
html,
body,
#app,
.container.devtools-container,
.container.devtools-container .row {
height: 100%;
}
.col.devtools-panel {
max-width: 50%;
}
.devtools-panel .devtools-subpanel {
height: 50%;
overflow-y: auto;
margin-top: 10px;
}
.panel-header {
<|file_sep... | }
html,
body,
#app,
.container.devtools-container,
.container.devtools-container .row {
height: 100%;
}
#app {
overflow: hidden;
}
.col.devtools-panel {
max-width: 50%;
}
.devtools-panel .devtools-subpanel {
height: 50%;
overflow-y: auto; | <|file_sep|>original/src/css/main.css
}
html,
body,
#app,
.container.devtools-container,
.container.devtools-container .row {
height: 100%;
}
.col.devtools-panel {
max-width: 50%;
}
.devtools-panel .devtools-subpanel {
height: 50%;
overflow-y: auto;
margin-top: 10px;
}
.panel-header {
<|file_sep... | 68b498d6c99bed2e93943051ae4e6c83095926ef | src/css/main.css | src/css/main.css | CSS |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "stable"
- "4.2"
- "0.12"
- "0.10"
before_install:
- 'if [ "${TRAVIS_NODE_VERSION}" == "0.10" ]; then npm install -g npm@2 ; fi'
notifications:
irc: "irc.mibbit.net#heartless"
irc: "irc.GameSurge.Net#tennudev"
<|file_sep|>curre... | sudo: false
language: node_js
node_js:
- "stable"
- "4.2"
notifications:
irc: "irc.mibbit.net#heartless"
irc: "irc.GameSurge.Net#tennudev" | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "stable"
- "4.2"
- "0.12"
- "0.10"
before_install:
- 'if [ "${TRAVIS_NODE_VERSION}" == "0.10" ]; then npm install -g npm@2 ; fi'
notifications:
irc: "irc.mibbit.net#heartless"
irc: "irc.GameSurge.Net#tennudev"
<|file_sep|>curre... | d88989e8c711fec8263125f04ef60ef44d9f5128 | .travis.yml | .travis.yml | YAML |
<|file_sep|>js/reducers/index.js.diff
original:
updated:
import creditCards from './creditCards';
<|file_sep|>original/js/reducers/index.js
import account from './account';
import person from './person';
import languages from './languages';
import jobTypes from './jobTypes';
const { combineReducers } = require('redux... | import account from './account';
import person from './person';
import languages from './languages';
import jobTypes from './jobTypes';
import creditCards from './creditCards';
const { combineReducers } = require('redux');
export default combineReducers({ person, languages, account, jobTypes, creditCards }); | <|file_sep|>js/reducers/index.js.diff
original:
updated:
import creditCards from './creditCards';
<|file_sep|>original/js/reducers/index.js
import account from './account';
import person from './person';
import languages from './languages';
import jobTypes from './jobTypes';
const { combineReducers } = require('redux... | e368d8b20385b779735a012282c26051b23c8c01 | js/reducers/index.js | js/reducers/index.js | JavaScript |
<|file_sep|>original/docs/source/index.rst
PyGraphistry's documentation (|version|)
========================================
Quickstart:
`Read our tutorial <https://github.com/graphistry/pygraphistry/blob/master/README.md">`_
Contents:
.. toctree::
:maxdepth: 3
graphistry
Indices and tables
===============... | PyGraphistry's documentation (|version|)
========================================
Quickstart:
`Read our tutorial <https://github.com/graphistry/pygraphistry/blob/master/README.md>`_
Contents:
.. toctree::
:maxdepth: 3
graphistry
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :... | <|file_sep|>original/docs/source/index.rst
PyGraphistry's documentation (|version|)
========================================
Quickstart:
`Read our tutorial <https://github.com/graphistry/pygraphistry/blob/master/README.md">`_
Contents:
.. toctree::
:maxdepth: 3
graphistry
Indices and tables
===============... | c3f371a76898bd25a05e120ca54a2e2c784d9c15 | docs/source/index.rst | docs/source/index.rst | reStructuredText |
<|file_sep|>original/mach/i86/ce/mach.c
#include "back.h"
#include "mach.h"
#ifdef DEBUG
arg_error( s, arg)
char *s;
int arg;
{
fprint( STDERR, "arg_error %s %d\n", s, arg);
}
#endif
int push_waiting = FALSE;
int fit_byte( val)
int val;
{
return( val >= -128 && val <= 127);
}
#include <con_float>
<|file_sep|>curr... | arg_error( s, arg)
char *s;
int arg;
{
fprint( STDERR, "arg_error %s %d\n", s, arg);
}
#endif
int push_waiting = FALSE;
int fit_byte( val)
int val;
{
return( val >= -128 && val <= 127);
}
#define IEEEFLOAT
#define FL_MSL_AT_LOW_ADDRESS 0
#define FL_MSW_AT_LOW_ADDRESS 0
#define FL_MSB_AT_LOW_ADDRESS 0
#include <con... | <|file_sep|>original/mach/i86/ce/mach.c
#include "back.h"
#include "mach.h"
#ifdef DEBUG
arg_error( s, arg)
char *s;
int arg;
{
fprint( STDERR, "arg_error %s %d\n", s, arg);
}
#endif
int push_waiting = FALSE;
int fit_byte( val)
int val;
{
return( val >= -128 && val <= 127);
}
#include <con_float>
<|file_sep|>curr... | 7f4a6b31a7c33625be1f3f3aec199c4c0dcc55f6 | mach/i86/ce/mach.c | mach/i86/ce/mach.c | C |
<|file_sep|>original/ci/setup_accounts.sh
#!/bin/bash
set -ev
/usr/lib/oracle/18.5/client64/bin/sqlplus system/Oracle18@XEPDB1 <<SQL
@@spec/support/alter_system_user_password.sql
@@spec/support/alter_system_set_open_cursors.sql
@@spec/support/create_oracle_enhanced_users.sql
exit
SQL
<|file_sep|>current/ci/setup_acco... | #!/bin/bash
set -ev
${ORACLE_HOME}/bin/sqlplus system/${DATABASE_SYS_PASSWORD}@${DATABASE_NAME} <<SQL
@@spec/support/alter_system_user_password.sql
@@spec/support/alter_system_set_open_cursors.sql
@@spec/support/create_oracle_enhanced_users.sql
exit
SQL | <|file_sep|>original/ci/setup_accounts.sh
#!/bin/bash
set -ev
/usr/lib/oracle/18.5/client64/bin/sqlplus system/Oracle18@XEPDB1 <<SQL
@@spec/support/alter_system_user_password.sql
@@spec/support/alter_system_set_open_cursors.sql
@@spec/support/create_oracle_enhanced_users.sql
exit
SQL
<|file_sep|>current/ci/setup_acco... | 14e5ea5118ee2cd456b45bcd9a5debb9870c599a | ci/setup_accounts.sh | ci/setup_accounts.sh | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.