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|>packages/jp/jpl-horizons-api.yaml.diff
original:
hash: 36b61860b1fc5f641d97a42c11134a8a174aa27f59ae2c7bb4b1f0bc16025714
updated:
hash: 1305e013f21bb28ed9a804226056d0848bacaa602af26c2c740b45dd198eb519
<|file_sep|>packages/jp/jpl-horizons-api.yaml.diff
original:
maintainer: example@example.com
updated:
mainta... | bytestring: -any
base: '>=4.7 && <5'
time: -any
text: '>=1.2.4.1'
megaparsec: -any
req: -any
jpl-horizons-api: -any
optparse-applicative: -any
scientific: '>=0.3.7.0'
all-versions:
- 0.1.0.0
- 0.2.0.0
- 0.3.0.0
author: Marco Zocca
latest: 0.3.0.0
description-type: markdown
description: |
# jpl-horiz... | <|file_sep|>packages/jp/jpl-horizons-api.yaml.diff
original:
hash: 36b61860b1fc5f641d97a42c11134a8a174aa27f59ae2c7bb4b1f0bc16025714
updated:
hash: 1305e013f21bb28ed9a804226056d0848bacaa602af26c2c740b45dd198eb519
<|file_sep|>packages/jp/jpl-horizons-api.yaml.diff
original:
maintainer: example@example.com
updated:
mainta... | f90868142a8e7773e93e86fd6310699e4a63042c | packages/jp/jpl-horizons-api.yaml | packages/jp/jpl-horizons-api.yaml | YAML |
<|file_sep|>app/Providers/RouteServiceProvider.php.diff
original:
$directories = array_splice(scandir(app_path('API')), 0, 2);
updated:
$scan = scandir(app_path('API'));
$directories = array_splice($scan, 0, 2);
<|file_sep|>original/app/Providers/RouteServiceProvider.php
parent::boot($ro... | }
/**
* Define the routes for the application.
*
* @param \Illuminate\Routing\Router $router
* @return void
*/
public function map(Router $router)
{
$scan = scandir(app_path('API'));
$directories = array_splice($scan, 0, 2);
foreach ($directories as $d... | <|file_sep|>app/Providers/RouteServiceProvider.php.diff
original:
$directories = array_splice(scandir(app_path('API')), 0, 2);
updated:
$scan = scandir(app_path('API'));
$directories = array_splice($scan, 0, 2);
<|file_sep|>original/app/Providers/RouteServiceProvider.php
parent::boot($ro... | 8f61176bdc47445808aea24ef57e208872f19604 | app/Providers/RouteServiceProvider.php | app/Providers/RouteServiceProvider.php | PHP |
<|file_sep|>docs/index.rst.diff
original:
updated:
dotnet/managed-method-bodies
<|file_sep|>original/docs/index.rst
:caption: Abstraction Layer 2: PE Images
:name: sec-peimage
peimage/index
peimage/basics
peimage/imports
peimage/win32resources
peimage/dotnet
.. toctree::
:maxdepth: 1
:... | :caption: Abstraction Layer 2: PE Images
:name: sec-peimage
peimage/index
peimage/basics
peimage/imports
peimage/win32resources
peimage/dotnet
.. toctree::
:maxdepth: 1
:caption: Abstraction Layer 3: .NET assemblies
:name: sec-peimage
dotnet/index
dotnet/basics
dotnet/traversa... | <|file_sep|>docs/index.rst.diff
original:
updated:
dotnet/managed-method-bodies
<|file_sep|>original/docs/index.rst
:caption: Abstraction Layer 2: PE Images
:name: sec-peimage
peimage/index
peimage/basics
peimage/imports
peimage/win32resources
peimage/dotnet
.. toctree::
:maxdepth: 1
:... | f9e6b4450f4707c09179bd25d8a350761cf72932 | docs/index.rst | docs/index.rst | reStructuredText |
<|file_sep|>osu.Game/Localisation/Language.cs.diff
original:
updated:
// TODO: Requires Arabic glyphs to be added to resources (and possibly also RTL support).
// [Description(@"اَلْعَرَبِيَّةُ")]
// ar,
// TODO: Some accented glyphs are missing. Revisit when adding Inter.
// [... | [Description(@"Magyar")]
hu,
[Description(@"Bahasa Indonesia")]
id,
[Description(@"Italiano")]
it,
[Description(@"日本語")]
ja,
[Description(@"한국어")]
ko,
[Description(@"Nederlands")]
nl,
[Description(@"Norsk")]
... | <|file_sep|>osu.Game/Localisation/Language.cs.diff
original:
updated:
// TODO: Requires Arabic glyphs to be added to resources (and possibly also RTL support).
// [Description(@"اَلْعَرَبِيَّةُ")]
// ar,
// TODO: Some accented glyphs are missing. Revisit when adding Inter.
// [... | 64bb1f381bdbc2647c1883fb386686fe7b0943cd | osu.Game/Localisation/Language.cs | osu.Game/Localisation/Language.cs | C# |
<|file_sep|>src/GoogleMap.jsx.diff
original:
let circle = (radius == -1) ?
<Circle
center={position}
radius={radius}
options={circleOptions}
/> : "";
updated:
const circle = (radius !== -1) ?
<Circle
center={position}
radiu... | return (
<GoogleMap
onZoomChanged={onZoomChanged}
defaultZoom={defaultZoom}
defaultCenter={position}
>
{/* Map marker */}
<Marker
draggable // Allow marker to drag
position={position}
onDragEnd={handleMarkerDragEnd}
/>
{/* Circle */}
{ ... | <|file_sep|>src/GoogleMap.jsx.diff
original:
let circle = (radius == -1) ?
<Circle
center={position}
radius={radius}
options={circleOptions}
/> : "";
updated:
const circle = (radius !== -1) ?
<Circle
center={position}
radiu... | d3f81c6bbba154a83619b1d182db5759bc5aeb55 | src/GoogleMap.jsx | src/GoogleMap.jsx | JSX |
<|file_sep|>original/src/Workspaces/Core/Portable/PublicAPI.Unshipped.txt
*REMOVED*Microsoft.CodeAnalysis.TextDocument.Project.set -> void
*REMOVED*Microsoft.CodeAnalysis.TextDocument.TextDocument() -> void
static Microsoft.CodeAnalysis.Formatting.Formatter.OrganizeImportsAsync(Microsoft.CodeAnalysis.Document document,... | *REMOVED*Microsoft.CodeAnalysis.TextDocument.Project.set -> void
*REMOVED*Microsoft.CodeAnalysis.TextDocument.TextDocument() -> void
static Microsoft.CodeAnalysis.Formatting.Formatter.OrganizeImportsAsync(Microsoft.CodeAnalysis.Document document, System.Threading.CancellationToken cancellationToken) -> System.Threading... | <|file_sep|>original/src/Workspaces/Core/Portable/PublicAPI.Unshipped.txt
*REMOVED*Microsoft.CodeAnalysis.TextDocument.Project.set -> void
*REMOVED*Microsoft.CodeAnalysis.TextDocument.TextDocument() -> void
static Microsoft.CodeAnalysis.Formatting.Formatter.OrganizeImportsAsync(Microsoft.CodeAnalysis.Document document,... | 609f92bd1d6be7f78aad06af7f7f5bf3d9c1470f | src/Workspaces/Core/Portable/PublicAPI.Unshipped.txt | src/Workspaces/Core/Portable/PublicAPI.Unshipped.txt | Text |
<|file_sep|>src/test/java/com/github/havarunner/scenarios/duplicated/VerifyThatTestAreRunOnlyOnceTestSuperClass.java.diff
original:
import com.github.havarunner.annotation.AfterAll;
updated:
<|file_sep|>original/src/test/java/com/github/havarunner/scenarios/duplicated/VerifyThatTestAreRunOnlyOnceTestSuperClass.java
... | import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import static org.junit.Assert.assertTrue;
abstract class VerifyThatTestAreRunOnlyOnceTestSuperClass {
protected final AtomicInteger suiteObject;
protected final List<String> scenarios;
VerifyThatTestAreRunOnlyOnceTestSuperClass(Atom... | <|file_sep|>src/test/java/com/github/havarunner/scenarios/duplicated/VerifyThatTestAreRunOnlyOnceTestSuperClass.java.diff
original:
import com.github.havarunner.annotation.AfterAll;
updated:
<|file_sep|>original/src/test/java/com/github/havarunner/scenarios/duplicated/VerifyThatTestAreRunOnlyOnceTestSuperClass.java
... | f86d224eab6b47ee19629d470553b7476765694d | src/test/java/com/github/havarunner/scenarios/duplicated/VerifyThatTestAreRunOnlyOnceTestSuperClass.java | src/test/java/com/github/havarunner/scenarios/duplicated/VerifyThatTestAreRunOnlyOnceTestSuperClass.java | Java |
<|file_sep|>original/.github/workflows/merge-dependabot-upgrades.yml
# only by dependabot, once the other CI workflows pass
name: Auto-merge Dependabot PRs
on:
workflow_run:
types:
- completed
workflows:
- "Continuous Integration"
jobs:
merge-me:
name: Auto-merge Dependabot PRs
runs-on... | # only by dependabot, once the other CI workflows pass
name: Auto-merge Dependabot PRs
on:
workflow_run:
types:
- completed
workflows:
- "Continuous Integration"
jobs:
merge-me:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
steps:
- name: Auto-Merge
if: ${{ g... | <|file_sep|>original/.github/workflows/merge-dependabot-upgrades.yml
# only by dependabot, once the other CI workflows pass
name: Auto-merge Dependabot PRs
on:
workflow_run:
types:
- completed
workflows:
- "Continuous Integration"
jobs:
merge-me:
name: Auto-merge Dependabot PRs
runs-on... | 6c6b020daad2a3fe3c792b2de6ffe57539893f8d | .github/workflows/merge-dependabot-upgrades.yml | .github/workflows/merge-dependabot-upgrades.yml | YAML |
<|file_sep|>original/requirements.txt
#
# Application
bleach~=3.2
django-bootstrap-breadcrumbs~=0.9
django-formtools~=2.2
django-recaptcha==2.0.6
Django~=3.1
django-crispy-forms~=1.10
django_compressor~=2.4
django_extensions~=3.0
django-sortedm2m~=3.0
django-storages~=1.10
easy-thumbnails~=2.7
icalendar==4.0.7
invoke~... | #
# Application
bleach~=3.2
django-bootstrap-breadcrumbs~=0.9
django-formtools~=2.2
django-recaptcha==2.0.6
Django~=3.1
django-crispy-forms~=1.10
django_compressor~=2.4
django_extensions~=3.1
django-sortedm2m~=3.0
django-storages~=1.10
easy-thumbnails~=2.7
icalendar==4.0.7
invoke~=1.4
pillow~=8.0
python-mimeparse
repo... | <|file_sep|>original/requirements.txt
#
# Application
bleach~=3.2
django-bootstrap-breadcrumbs~=0.9
django-formtools~=2.2
django-recaptcha==2.0.6
Django~=3.1
django-crispy-forms~=1.10
django_compressor~=2.4
django_extensions~=3.0
django-sortedm2m~=3.0
django-storages~=1.10
easy-thumbnails~=2.7
icalendar==4.0.7
invoke~... | 26d2dbc3c616041065fab4db1c1ef57fc8863635 | requirements.txt | requirements.txt | Text |
<|file_sep|>Tests/Manager/AvailabilityManagerTest.php.diff
original:
updated:
use WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface;
<|file_sep|>original/Tests/Manager/AvailabilityManagerTest.php
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with ... | * For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace WellCommerce\Bundle\AvailabilityBundle\Tests\Manager;
use WellCommerce\Bundle\CoreBundle\Test\Manager\AbstractManagerTestCase;
use WellCommerce\Bundle\DoctrineBundle\Manager\Man... | <|file_sep|>Tests/Manager/AvailabilityManagerTest.php.diff
original:
updated:
use WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface;
<|file_sep|>original/Tests/Manager/AvailabilityManagerTest.php
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with ... | e4b2c8a6cf641983f0ffbcbe223913d31c0bcd4f | Tests/Manager/AvailabilityManagerTest.php | Tests/Manager/AvailabilityManagerTest.php | PHP |
<|file_sep|>original/_basic-syntax/horizontal-rules.md
- markdown: "***"
html: "<hr>"
- markdown: "---"
html: "<hr>"
- markdown: "_________________"
html: "<hr>"
---
To create a horizontal rule, use three or more asterisks (`***`), dashes (`---`), or underscores (`___`) on a line by themselves.
```
... | ***
---
_________________
```
The rendered output of all three looks identical:
---
### Horizontal Rule Best Practices
For compatibility, put blank lines before and after horizontal rules.
<table class="table table-bordered">
<thead class="thead-light">
<tr>
<th>✅ Do this</th>
<th>❌ ... | <|file_sep|>original/_basic-syntax/horizontal-rules.md
- markdown: "***"
html: "<hr>"
- markdown: "---"
html: "<hr>"
- markdown: "_________________"
html: "<hr>"
---
To create a horizontal rule, use three or more asterisks (`***`), dashes (`---`), or underscores (`___`) on a line by themselves.
```
... | 9f72b9ef33d1724be3b03068eacb18b2c14b0110 | _basic-syntax/horizontal-rules.md | _basic-syntax/horizontal-rules.md | Markdown |
<|file_sep|>original/sdk/identity/ci.yml
paths:
include:
- sdk/identity/
- sdk/core/
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: identity
AdditionalTestMatrix:
Linux_Python35_msal:
OSVmImage: 'ubuntu-18.04'
... | include:
- sdk/identity/
- sdk/core/
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: identity
AdditionalTestMatrix:
Linux_Python35_msal:
Pool: Azure Pipelines
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3... | <|file_sep|>original/sdk/identity/ci.yml
paths:
include:
- sdk/identity/
- sdk/core/
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: identity
AdditionalTestMatrix:
Linux_Python35_msal:
OSVmImage: 'ubuntu-18.04'
... | 6f66e0f2a72ce72bd828fe4a36fcba770e6303fb | sdk/identity/ci.yml | sdk/identity/ci.yml | YAML |
<|file_sep|>original/lambda_function.py
csvo = StringIO()
write_contacts_csv(users, csvo)
s3 = boto3.client('s3')
s3.put_object(
Bucket='dmr-contacts', Key='DMR_contacts.csv',
Body=csvo.getvalue(), ContentType='text/csv', ACL='public-read')
csvo.close()
groups = get_groups()
... | s3.put_object(
Bucket='dmr-contacts', Key='DMR_contacts.csv',
Body=csvo.getvalue(), ContentType='text/csv', ACL='public-read')
csvo.close()
groups = get_groups()
xlsxo = StringIO()
write_contacts_xlsx(groups + users, xlsxo)
s3.put_object(
Bucket='dmr-contacts', Key='co... | <|file_sep|>original/lambda_function.py
csvo = StringIO()
write_contacts_csv(users, csvo)
s3 = boto3.client('s3')
s3.put_object(
Bucket='dmr-contacts', Key='DMR_contacts.csv',
Body=csvo.getvalue(), ContentType='text/csv', ACL='public-read')
csvo.close()
groups = get_groups()
... | a3f9b4d7a82335cadaba09167a6ac873733646fa | lambda_function.py | lambda_function.py | Python |
<|file_sep|>original/core/app/interactors/interactors/channels/add_fact.rb
module Channels
class AddFact
include Pavlov::Interactor
arguments :fact, :channel
def execute
command :"channels/add_fact", @fact, @channel
if @fact.site
command :'site/add_top_topic', @fact.... | module Channels
class AddFact
include Pavlov::Interactor
arguments :fact, :channel
def execute
command :"channels/add_fact", @fact, @channel
if @fact.site
command :'site/add_top_topic', @fact.site.id.to_i, @channel.topic.slug_title
end
command :creat... | <|file_sep|>original/core/app/interactors/interactors/channels/add_fact.rb
module Channels
class AddFact
include Pavlov::Interactor
arguments :fact, :channel
def execute
command :"channels/add_fact", @fact, @channel
if @fact.site
command :'site/add_top_topic', @fact.... | b2c9e4a2dc6fa10aa2e46ccd942e70a665c24e4f | core/app/interactors/interactors/channels/add_fact.rb | core/app/interactors/interactors/channels/add_fact.rb | Ruby |
<|file_sep|>original/demo_and_tests/requirements.txt
Django==3.0.5
django-formtools==2.2
django-nose
Pillow==7.1.2
<|file_sep|>current/demo_and_tests/requirements.txt
Django==3.0.5
django-formtools==2.2
django-nose
Pillow==7.1.2
<|file_sep|>updated/demo_and_tests/requirements.txt | Django==3.0.6
django-formtools==2.2
django-nose
Pillow==7.1.2 | <|file_sep|>original/demo_and_tests/requirements.txt
Django==3.0.5
django-formtools==2.2
django-nose
Pillow==7.1.2
<|file_sep|>current/demo_and_tests/requirements.txt
Django==3.0.5
django-formtools==2.2
django-nose
Pillow==7.1.2
<|file_sep|>updated/demo_and_tests/requirements.txt
Django==3.0.6
django-formtools==2.2
dja... | 50c2714bb5de0daa6e4418c1318fa1cbb4a1efef | demo_and_tests/requirements.txt | demo_and_tests/requirements.txt | Text |
<|file_sep|>original/README.md
optionally `test_names.py`, which contains the unit tests for `names`). You can
do this with git by running
$ git clone https://github.com/wkschwartz/first-last
or by going to https://github.com/wkschwartz/first-last/archive/master.zip.
Usage
-----
Copy the `names` file into your ... | optionally `test_names.py`, which contains the unit tests for `names`). You can
do this with git by running
$ git clone https://github.com/wkschwartz/first-last
or by going to https://github.com/wkschwartz/first-last/archive/master.zip.
Usage
-----
Copy the `names.py` file into your project and the `test_names.... | <|file_sep|>original/README.md
optionally `test_names.py`, which contains the unit tests for `names`). You can
do this with git by running
$ git clone https://github.com/wkschwartz/first-last
or by going to https://github.com/wkschwartz/first-last/archive/master.zip.
Usage
-----
Copy the `names` file into your ... | 36fa5d8cb759ed55bdf9700c874edcb1abd4bcd3 | README.md | README.md | Markdown |
<|file_sep|>plugin/main.py.diff
original:
"rancher-compose", "-f", compose_file, "-p", stack, "up", services,
updated:
"rancher-compose", "-f", compose_file, "-p", stack, "up"
<|file_sep|>original/plugin/main.py
# Set Required fields for rancher-compose to work
# Should raise an error i... | # Set Required fields for rancher-compose to work
# Should raise an error if they are not declared
os.environ["RANCHER_URL"] = vargs['url']
os.environ["RANCHER_ACCESS_KEY"] = vargs['access_key']
os.environ["RANCHER_SECRET_KEY"] = vargs['secret_key']
try:
rc_args = [
"rancher... | <|file_sep|>plugin/main.py.diff
original:
"rancher-compose", "-f", compose_file, "-p", stack, "up", services,
updated:
"rancher-compose", "-f", compose_file, "-p", stack, "up"
<|file_sep|>original/plugin/main.py
# Set Required fields for rancher-compose to work
# Should raise an error i... | 9e17cda40ddefaa5c2b905b3ffdfadf485461eaa | plugin/main.py | plugin/main.py | Python |
<|file_sep|>original/database/migrations/2017_03_18_061919_add_vn_web_properties.php
<|file_sep|>current/database/migrations/2017_03_18_061919_add_vn_web_properties.php
<|file_sep|>updated/database/migrations/2017_03_18_061919_add_vn_web_properties.php | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddVnWebProperties extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
if(Schema::hasTable('vn')) {
... | <|file_sep|>original/database/migrations/2017_03_18_061919_add_vn_web_properties.php
<|file_sep|>current/database/migrations/2017_03_18_061919_add_vn_web_properties.php
<|file_sep|>updated/database/migrations/2017_03_18_061919_add_vn_web_properties.php
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Data... | 7e1ec0a7f8d1b2d6e71d7139345a8f5513981aeb | database/migrations/2017_03_18_061919_add_vn_web_properties.php | database/migrations/2017_03_18_061919_add_vn_web_properties.php | PHP |
<|file_sep|>locales/ko/experiments.ftl.diff
original:
updated:
activitystreamContributors0Title = 소프트웨어 엔지니어
<|file_sep|>original/locales/ko/experiments.ftl
activitystreamContributors1Title = 웹 엔지니어
activitystreamContributors2Title = 소프트웨어 개발자
activitystreamContributors3Title = 데스크탑 Firefox 엔지니어
activitystreamContribu... | activitystreamContributors3Title = 데스크탑 Firefox 엔지니어
activitystreamContributors4Title = 소프트웨어 엔지니어
activitystreamContributors5Title = 기술 프로그램 관리자
activitystreamContributors6Title = 클라우드 서비스 엔지니어
activitystreamContributors7Title = 엔지니어링 인턴
activitystreamContributors8Title = 엔지니어링 인턴
activitystreamContributors9Title = 제품... | <|file_sep|>locales/ko/experiments.ftl.diff
original:
updated:
activitystreamContributors0Title = 소프트웨어 엔지니어
<|file_sep|>original/locales/ko/experiments.ftl
activitystreamContributors1Title = 웹 엔지니어
activitystreamContributors2Title = 소프트웨어 개발자
activitystreamContributors3Title = 데스크탑 Firefox 엔지니어
activitystreamContribu... | 82e91900da1c8f55c2860a9170aac75012b2a0d4 | locales/ko/experiments.ftl | locales/ko/experiments.ftl | FreeMarker |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "5"
- "4"
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- "5"
- "4"
<|file_sep|>updated/.travis.yml | sudo: false
language: node_js
node_js:
- "6"
- "5"
- "4" | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "5"
- "4"
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- "5"
- "4"
<|file_sep|>updated/.travis.yml
sudo: false
language: node_js
node_js:
- "6"
- "5"
- "4" | c224666138b3caef10760d2da5e6ed709e8c2260 | .travis.yml | .travis.yml | YAML |
<|file_sep|>spiff/api/plugins.py.diff
original:
def find_api_classes(module, superclass, test=lambda x: True):
updated:
def find_api_classes(*args, **kwargs):
for app, cls in find_api_implementations(*args, **kwargs):
yield cls
def find_api_implementations(module, superclass, test=lambda x: True):
<|file_sep|>or... | from django.conf import settings
import importlib
import inspect
def find_api_classes(*args, **kwargs):
for app, cls in find_api_implementations(*args, **kwargs):
yield cls
def find_api_implementations(module, superclass, test=lambda x: True):
for app in map(lambda x:'%s.%s'%(x, module), settings.INSTALLED_AP... | <|file_sep|>spiff/api/plugins.py.diff
original:
def find_api_classes(module, superclass, test=lambda x: True):
updated:
def find_api_classes(*args, **kwargs):
for app, cls in find_api_implementations(*args, **kwargs):
yield cls
def find_api_implementations(module, superclass, test=lambda x: True):
<|file_sep|>or... | 5c88f210644cbe59cf3b3a71345a3fc64dfc542a | spiff/api/plugins.py | spiff/api/plugins.py | Python |
<|file_sep|>package.json.diff
original:
"version": "0.0.7",
updated:
"version": "0.0.8",
<|file_sep|>package.json.diff
original:
"bluebird": "0.10.*",
"underscore": "1.5.2"
updated:
"underscore": "1.5.*"
},
"peerDependencies": {
"bluebird": "*"
<|file_sep|>orig... |
"repository": {
"type": "git",
"url": "git://github.com/yamadapc/mongoose-bluebird-utils.git"
},
"dependencies": {
"underscore": "1.5.*"
},
"peerDependencies": {
"bluebird": "*"
},
"devDependencies": {
"bluebird": "0.10.*",
"mocha": ">= 1.4... | <|file_sep|>package.json.diff
original:
"version": "0.0.7",
updated:
"version": "0.0.8",
<|file_sep|>package.json.diff
original:
"bluebird": "0.10.*",
"underscore": "1.5.2"
updated:
"underscore": "1.5.*"
},
"peerDependencies": {
"bluebird": "*"
<|file_sep|>orig... | 3993d8d121646efbf1a02d8d701dfb8fc5224d10 | package.json | package.json | JSON |
<|file_sep|>original/phpunit.xml.dist
<|file_sep|>current/phpunit.xml.dist
<|file_sep|>updated/phpunit.xml.dist | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure=... | <|file_sep|>original/phpunit.xml.dist
<|file_sep|>current/phpunit.xml.dist
<|file_sep|>updated/phpunit.xml.dist
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExcep... | 877b1abe326958276e1692503f090907a3428a3a | phpunit.xml.dist | phpunit.xml.dist | unknown |
<|file_sep|>original/README.md
## Overview
Ever wanted to add timestamps to the output of another command? Then `ts` is your friend.
It simply prepends every line it receives from stdin with the current time and date.
## Installation
Make sure Go 1.1 is installed.
Then run:
go get github.com/calebbrown/ts
... |
## Overview
Ever wanted to add timestamps to the output of another command? Then `ts` is your friend.
It simply prepends every line it receives from stdin with the current time and date.
## Installation
Make sure Go 1.1 is installed and `$GOPATH` is set.
Then run:
go get github.com/calebbrown/ts
## Usage
... | <|file_sep|>original/README.md
## Overview
Ever wanted to add timestamps to the output of another command? Then `ts` is your friend.
It simply prepends every line it receives from stdin with the current time and date.
## Installation
Make sure Go 1.1 is installed.
Then run:
go get github.com/calebbrown/ts
... | 6eb282ca25d61489ee2d2c4cda73f4a60fa71160 | README.md | README.md | Markdown |
<|file_sep|>bootstrap.sh.diff
original:
cat > /etc/apt/sources.list << EOL
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-backpo... | #!/usr/bin/env bash
# boostrap.sh - used by vagrant to provision a dev environment
# Adjust apt mirrors for faster package downloads
sed -i "s/archive.ubuntu.com/gb.archive.ubuntu.com/g" /etc/apt/sources.list
# Install OS dependencies
apt-get update && apt-get upgrade -y
apt-get install -y python-software-properties
... | <|file_sep|>bootstrap.sh.diff
original:
cat > /etc/apt/sources.list << EOL
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-backpo... | 47da30faf2da45ca238232be59ec1a69a81f019f | bootstrap.sh | bootstrap.sh | Shell |
<|file_sep|>original/layouts/partials/head.html
{{ with .Summary }}
<meta name="description" content="{{ . | plainify | htmlUnescape }}" />
{{ end }}
<title>
{{- with .Title -}}{{ if not ( eq . $.Site.Title) }}{{ . }} –
{{ end }}{{- end -}}{{ .Site.Title }}
</title>
<link
rel="stylesheet"
... | {{ with .Summary }}
<meta name="description" content="{{ . | plainify | htmlUnescape }}" />
{{ end }}
<title>
{{- with .Title -}}{{ if not ( eq . $.Site.Title) }}{{ . }} –
{{ end }}{{- end -}}{{ .Site.Title }}
</title>
<link
rel="stylesheet"
type="text/css"
href="https://www.mybring.co... | <|file_sep|>original/layouts/partials/head.html
{{ with .Summary }}
<meta name="description" content="{{ . | plainify | htmlUnescape }}" />
{{ end }}
<title>
{{- with .Title -}}{{ if not ( eq . $.Site.Title) }}{{ . }} –
{{ end }}{{- end -}}{{ .Site.Title }}
</title>
<link
rel="stylesheet"
... | 7a9c4bc14c38acc7125fe0bc456fb415cabb8d40 | layouts/partials/head.html | layouts/partials/head.html | HTML |
<|file_sep|>original/mobile/src/main/res/values/styles.xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.DayNight">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color... | <resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@col... | <|file_sep|>original/mobile/src/main/res/values/styles.xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.DayNight">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color... | 753820f3a773f7e8ac4536462db4ff60037afa58 | mobile/src/main/res/values/styles.xml | mobile/src/main/res/values/styles.xml | XML |
<|file_sep|>original/package.json
{
"name": "judge",
"version": "0.1.0",
"author": "Jakob Krigovsky <jakob.krigovsky@gmail.com>",
"description": "Test your Node.js package against different versions of dependencies.",
"repository": {
"type": "git",
"url": "https://github.com/SonicHedgehog/judge.git"
},
"keyw... | "name": "judge",
"version": "0.1.0",
"author": "Jakob Krigovsky <jakob.krigovsky@gmail.com>",
"description": "Test your Node.js package against different versions of dependencies.",
"repository": {
"type": "git",
"url": "https://github.com/SonicHedgehog/judge.git"
},
"keywords": [
"judge",
"test",
"ver... | <|file_sep|>original/package.json
{
"name": "judge",
"version": "0.1.0",
"author": "Jakob Krigovsky <jakob.krigovsky@gmail.com>",
"description": "Test your Node.js package against different versions of dependencies.",
"repository": {
"type": "git",
"url": "https://github.com/SonicHedgehog/judge.git"
},
"keyw... | f59017dd04d1ed231e26002880a706c2a7287030 | package.json | package.json | JSON |
<|file_sep|>original/README.md
# pnut-butter
A simple, promise based wrapper library for the API of [pnut.io](https://pnut.io)
## Installation
```bash
npm install pnut-butter --save
```
## Usage
Fetch the global timeline:
```javascript
const pnut = require('pnut');
pnut.global().then(data => {
console.log(data... | # pnut-butter
A simple, promise based wrapper library for the API of [pnut.io](https://pnut.io).
Currently requires Node 6+ because of its ES6 completeness.
## Installation
```bash
npm install pnut-butter --save
```
## Usage
Fetch the global timeline:
```javascript
const pnut = require('pnut');
pnut.global().th... | <|file_sep|>original/README.md
# pnut-butter
A simple, promise based wrapper library for the API of [pnut.io](https://pnut.io)
## Installation
```bash
npm install pnut-butter --save
```
## Usage
Fetch the global timeline:
```javascript
const pnut = require('pnut');
pnut.global().then(data => {
console.log(data... | b0214d7f08d22805a62153ad8a07ca029e41c95a | README.md | README.md | Markdown |
<|file_sep|>update-translations.sh.diff
original:
CKAN_INSTALL_DIR=../ckan
updated:
CKAN_INSTALL_DIR=../ckan/
<|file_sep|>update-translations.sh.diff
original:
python setup.py extract_messages --mapping-file babel.cfg --output ../ckan/ckan/i18n/ckanext.pot
updated:
python setup.py extract_messages --mapping-file babel.... | #! /bin/sh
CKAN_INSTALL_DIR=../ckan/
python setup.py extract_messages --mapping-file babel.cfg --output i18n/ckanext.pot
for LANG in fr es ca it bg tr
do
if [ -e i18n/$LANG/LC_MESSAGES/ckanext.po ]
then
python setup.py update_catalog -l $LANG -i i18n/ckanext.pot -o i18n/$LANG/LC_MESSAGES/ckanext.po
else
pytho... | <|file_sep|>update-translations.sh.diff
original:
CKAN_INSTALL_DIR=../ckan
updated:
CKAN_INSTALL_DIR=../ckan/
<|file_sep|>update-translations.sh.diff
original:
python setup.py extract_messages --mapping-file babel.cfg --output ../ckan/ckan/i18n/ckanext.pot
updated:
python setup.py extract_messages --mapping-file babel.... | b22cd4afc0859e7200730f641931420f75b4262e | update-translations.sh | update-translations.sh | Shell |
<|file_sep|>src/Furniture/UserBundle/Killer/Subscriber/CollectSessionSubscriber.php.diff
original:
* Kill user if necessary
updated:
* User add session to collection.
<|file_sep|>original/src/Furniture/UserBundle/Killer/Subscriber/CollectSessionSubscriber.php
$this->killer = $killer;
}
/**
... | $this->killer = $killer;
}
/**
* User add session to collection.
*
* @param GetResponseEvent $event
*/
public function collectSession(GetResponseEvent $event)
{
if (!$event->isMasterRequest()) {
return;
}
$request = $event->getRequest();
... | <|file_sep|>src/Furniture/UserBundle/Killer/Subscriber/CollectSessionSubscriber.php.diff
original:
* Kill user if necessary
updated:
* User add session to collection.
<|file_sep|>original/src/Furniture/UserBundle/Killer/Subscriber/CollectSessionSubscriber.php
$this->killer = $killer;
}
/**
... | 0d5fd85136754689f40de6bc06ffea2e0543d897 | src/Furniture/UserBundle/Killer/Subscriber/CollectSessionSubscriber.php | src/Furniture/UserBundle/Killer/Subscriber/CollectSessionSubscriber.php | PHP |
<|file_sep|>original/README.md
Description
===========
Custom Docker images for the XWiki project, used to spawn Jenkins Agents for https://ci.xwiki.org.
Two images are available:
* [`xwiki/build`](./build) contains the minimum configuration to build XWiki Platform
* [`xwiki/build-android`](./build-android) based... | Description
===========
Custom Docker images for the XWiki project, used to spawn Jenkins Agents for https://ci.xwiki.org.
Two images are available:
* [`xwiki/build`](./build) Minimum configuration to build XWiki Platform.
* [`xwiki/build-android`](./build-android) Based on the previous one, also contains an Andr... | <|file_sep|>original/README.md
Description
===========
Custom Docker images for the XWiki project, used to spawn Jenkins Agents for https://ci.xwiki.org.
Two images are available:
* [`xwiki/build`](./build) contains the minimum configuration to build XWiki Platform
* [`xwiki/build-android`](./build-android) based... | a987c5ee7640f2b42f60f8d5158a1d0a6ce0735c | README.md | README.md | Markdown |
<|file_sep|>original/test/vecs.rs
#![feature(custom_attribute)]
#![allow(dead_code, unused_attributes)]
#[miri_run]
fn make_vec() -> Vec<i32> {
let mut v = Vec::with_capacity(4);
v.push(1);
v.push(2);
v
}
#[miri_run]
fn make_vec_macro() -> Vec<i32> {
vec![1, 2]
}
<|file_sep|>current/test/vecs.rs
#... | #![feature(custom_attribute)]
#![allow(dead_code, unused_attributes)]
#[miri_run]
fn make_vec() -> Vec<i32> {
let mut v = Vec::with_capacity(4);
v.push(1);
v.push(2);
v
}
#[miri_run]
fn make_vec_macro() -> Vec<i32> {
vec![1, 2]
}
#[miri_run]
fn vec_int_iter() -> i32 {
vec![1, 2, 3, 4].into_it... | <|file_sep|>original/test/vecs.rs
#![feature(custom_attribute)]
#![allow(dead_code, unused_attributes)]
#[miri_run]
fn make_vec() -> Vec<i32> {
let mut v = Vec::with_capacity(4);
v.push(1);
v.push(2);
v
}
#[miri_run]
fn make_vec_macro() -> Vec<i32> {
vec![1, 2]
}
<|file_sep|>current/test/vecs.rs
#... | 936537ea84934469a82ce768510966fd95f7977b | test/vecs.rs | test/vecs.rs | Rust |
<|file_sep|>README.md.diff
original:
[](https://coveralls.io/r/OCA/bank-statement-import?branch=8.0)
updated:
[](https://coveralls.io/... | [](https://travis-ci.org/OCA/bank-statement-import)
[](https://coveralls.io/r/OCA/bank-statement-import?branch=8.0)
OCA bank statement import modul... | <|file_sep|>README.md.diff
original:
[](https://coveralls.io/r/OCA/bank-statement-import?branch=8.0)
updated:
[](https://coveralls.io/... | c61733beb82edf4ec67b89f71476af6e718e922d | README.md | README.md | Markdown |
<|file_sep|>original/src/Mango/Mango.Tests/Mango.Server/HttpHeadersTest.cs
public class HttpHeadersTest
{
[Test()]
public void TestMultilineParse ()
{
//
// multiline values are acceptable if the next
// line starts with spaces
//
string header = @"HeaderName: Some multiline
value";
... | // line starts with spaces
//
string header = @"HeaderName: Some multiline
value";
HttpHeaders headers = new HttpHeaders ();
headers.Parse (new StringReader (header));
Assert.AreEqual ("some multiline value", headers ["HeaderName"], "a1");
header = @"HeaderName: Some multil... | <|file_sep|>original/src/Mango/Mango.Tests/Mango.Server/HttpHeadersTest.cs
public class HttpHeadersTest
{
[Test()]
public void TestMultilineParse ()
{
//
// multiline values are acceptable if the next
// line starts with spaces
//
string header = @"HeaderName: Some multiline
value";
... | 3ce0450d7b4c9a69f983c27efd333de119a02e36 | src/Mango/Mango.Tests/Mango.Server/HttpHeadersTest.cs | src/Mango/Mango.Tests/Mango.Server/HttpHeadersTest.cs | C# |
<|file_sep|>original/locales/pl/encrypt.properties
signup_for_resources=Jeśli chcesz uzyskać więcej informacji o szyfrowaniu i innych ważnych tematach dotyczących ochrony sieci, zasubskrybuj nasz emailowy biuletyn.
join_mozilla=Dołącz do Mozilli
update_my_info=Aktualizuj moje dane
signup_header_variant_a=Rozszyfruj szy... | signup_for_resources=Jeśli chcesz uzyskać więcej informacji o szyfrowaniu i innych ważnych tematach dotyczących ochrony sieci, zasubskrybuj nasz emailowy biuletyn.
join_mozilla=Dołącz do Mozilli
update_my_info=Aktualizuj moje dane
signup_header_variant_a=Rozszyfruj szyfrowanie
signup_body_variant_a=Mozilla promuje bezp... | <|file_sep|>original/locales/pl/encrypt.properties
signup_for_resources=Jeśli chcesz uzyskać więcej informacji o szyfrowaniu i innych ważnych tematach dotyczących ochrony sieci, zasubskrybuj nasz emailowy biuletyn.
join_mozilla=Dołącz do Mozilli
update_my_info=Aktualizuj moje dane
signup_header_variant_a=Rozszyfruj szy... | 1553e737b10af429d7e472ffc32ca7e41edfaf9d | locales/pl/encrypt.properties | locales/pl/encrypt.properties | INI |
<|file_sep|>original/frontend/src/app/controls/base/stringControl/stringControl.component.ts
import { Component, Input } from '@angular/core';
import { FormGroup, FormControl } from '@angular/forms';
@Component({
// The selector is what angular internally uses
selector: 'cb-string-control',
styles: [``],
... | import { Component, Input } from '@angular/core';
import { FormGroup, FormControl } from '@angular/forms';
@Component({
// The selector is what angular internally uses
selector: 'cb-string-control',
styles: [``],
template: `
<div [formGroup]="inputGroup">
<label>{{label}}</label>
<i... | <|file_sep|>original/frontend/src/app/controls/base/stringControl/stringControl.component.ts
import { Component, Input } from '@angular/core';
import { FormGroup, FormControl } from '@angular/forms';
@Component({
// The selector is what angular internally uses
selector: 'cb-string-control',
styles: [``],
... | e81afc060726f0d77a3fe2d841138e966d5d6146 | frontend/src/app/controls/base/stringControl/stringControl.component.ts | frontend/src/app/controls/base/stringControl/stringControl.component.ts | TypeScript |
<|file_sep|>original/.travis.yml
---
language: "node_js"
node_js:
- '4'
- node
sudo: false
install: "npm install"
script:
- npm test
- npm run lint
<|file_sep|>current/.travis.yml
---
language: "node_js"
node_js:
- '4'
- node
sudo: false
install: "npm install"
script:
- npm test
- npm run lint
<|file_sep|>updated/.trav... | ---
language: "node_js"
node_js:
- '4'
- node
sudo: false
script:
- npm test
- npm run lint | <|file_sep|>original/.travis.yml
---
language: "node_js"
node_js:
- '4'
- node
sudo: false
install: "npm install"
script:
- npm test
- npm run lint
<|file_sep|>current/.travis.yml
---
language: "node_js"
node_js:
- '4'
- node
sudo: false
install: "npm install"
script:
- npm test
- npm run lint
<|file_sep|>updated/.trav... | 46979c6870cc36480eac31f8588be770d9e7a437 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/next/mutators.ts.diff
original:
import { IdentifierMutator } from './mutators/IdentifierMutator';
import { ImportSpecifierMutator } from './mutators/ImportSpecifierMutator';
updated:
<|file_sep|>src/next/mutators.ts.diff
original:
updated:
import { VariableDeclarationListMutator } from './mutators/Var... | import { Mutator } from './mutators/Mutator';
import { InterfaceDeclarationMutator } from './mutators/InterfaceDeclararionMutator';
import { VariableDeclarationListMutator } from './mutators/VariableDeclarationListMutator';
export const mutators: Mutator[] = [
new InterfaceDeclarationMutator(),
new VariableDeclar... | <|file_sep|>src/next/mutators.ts.diff
original:
import { IdentifierMutator } from './mutators/IdentifierMutator';
import { ImportSpecifierMutator } from './mutators/ImportSpecifierMutator';
updated:
<|file_sep|>src/next/mutators.ts.diff
original:
updated:
import { VariableDeclarationListMutator } from './mutators/Var... | d6f692535c4f28de5ed5aeab58481d9f808e4148 | src/next/mutators.ts | src/next/mutators.ts | TypeScript |
<|file_sep|>original/t/09-ssl.t
<|file_sep|>current/t/09-ssl.t
<|file_sep|>updated/t/09-ssl.t | # vim:set ft= ts=4 sw=4 et:
use Test::Nginx::Socket;
use Cwd qw(cwd);
plan tests => repeat_each() * (blocks() * 4);
my $pwd = cwd();
our $HttpConfig = qq{
lua_package_path "$pwd/lib/?.lua;;";
error_log logs/error.log debug;
};
$ENV{TEST_NGINX_RESOLVER} = '8.8.8.8';
no_long_string();
#no_diff();
run_tests... | <|file_sep|>original/t/09-ssl.t
<|file_sep|>current/t/09-ssl.t
<|file_sep|>updated/t/09-ssl.t
# vim:set ft= ts=4 sw=4 et:
use Test::Nginx::Socket;
use Cwd qw(cwd);
plan tests => repeat_each() * (blocks() * 4);
my $pwd = cwd();
our $HttpConfig = qq{
lua_package_path "$pwd/lib/?.lua;;";
error_log logs/error... | a2f93497803803de656e97cf7f33db309c805dd4 | t/09-ssl.t | t/09-ssl.t | Perl |
<|file_sep|>original/requirements/base.txt
bleach==4.1.0
Django==3.2.9
django-allauth==0.46.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.1.0
django-enumfield==2.0.2
django-filter==21.1
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.9
djangorestframework==3.12.4
easy-thumbnails==... | bleach==4.1.0
Django==3.2.9
django-allauth==0.46.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.2.0
django-enumfield==2.0.2
django-filter==21.1
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.9
djangorestframework==3.12.4
easy-thumbnails==2.8
html5lib==1.1
jsonfield==3.1.0
psycopg2... | <|file_sep|>original/requirements/base.txt
bleach==4.1.0
Django==3.2.9
django-allauth==0.46.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.1.0
django-enumfield==2.0.2
django-filter==21.1
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.9
djangorestframework==3.12.4
easy-thumbnails==... | 8d9eb8da60e7ed879f2e4e1e54918e0fcc7a3633 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>samples/DNXLibrary/SampleTests.cs.diff
original:
updated:
Benchmark.Iterate(() => { });
<|file_sep|>original/samples/DNXLibrary/SampleTests.cs
[Fact]
public void AlwaysFail()
{
Assert.True(false);
}
[Benchmark]
public void Benchmark1... | public void AlwaysFail()
{
Assert.True(false);
}
[Benchmark]
public void Benchmark1()
{
Benchmark.Iterate(() => { });
}
[Benchmark]
[InlineData(1)]
[InlineData(2)]
[InlineData(3)]
public void Benchm... | <|file_sep|>samples/DNXLibrary/SampleTests.cs.diff
original:
updated:
Benchmark.Iterate(() => { });
<|file_sep|>original/samples/DNXLibrary/SampleTests.cs
[Fact]
public void AlwaysFail()
{
Assert.True(false);
}
[Benchmark]
public void Benchmark1... | 4bf26c24c8f692a9cb186fb3c731a9ec0affa797 | samples/DNXLibrary/SampleTests.cs | samples/DNXLibrary/SampleTests.cs | C# |
<|file_sep|>Ruby/README.md.diff
original:
updated:
To run:
<|file_sep|>original/Ruby/README.md
### DESCRIPTION
PETOOH interpreter written in [Ruby](http://ruby-lang.org).
### DEPENDS
[Ruby](http://ruby-lang.org) 1.9.3 or higer.
### USAGE
~$ ruby petooh.rb file
### VERSION
It is compiled from [petooh-gpl](h... | ### DESCRIPTION
PETOOH interpreter written in [Ruby](http://ruby-lang.org).
### DEPENDS
[Ruby](http://ruby-lang.org) 1.9.3 or higer.
### USAGE
To run:
~$ ruby petooh.rb file
To get some help:
~$ ruby petooh.rb -h
### VERSION
It is compiled from [petooh-gpl](https://github.com/LavirtheWhiolet/petooh-gp... | <|file_sep|>Ruby/README.md.diff
original:
updated:
To run:
<|file_sep|>original/Ruby/README.md
### DESCRIPTION
PETOOH interpreter written in [Ruby](http://ruby-lang.org).
### DEPENDS
[Ruby](http://ruby-lang.org) 1.9.3 or higer.
### USAGE
~$ ruby petooh.rb file
### VERSION
It is compiled from [petooh-gpl](h... | cf9ff3ebcee639353398c889b2e38e093425b9cf | Ruby/README.md | Ruby/README.md | Markdown |
<|file_sep|>requirements.txt.diff
original:
Kyokai==1.3.1
updated:
Kyokai==1.3.6
<|file_sep|>original/requirements.txt
aiohttp==0.21.6
aioredis==0.2.7
asphalt==2.0.0
asphalt-redis==1.0.0
asyncio-extras==1.1.1
chardet==2.3.0
click==6.6
hiredis==0.2.0
http-parser==0.8.3
Kyokai==1.3.1
libmagic==1.0
lxml==3.6.0
python-magi... | aiohttp==0.21.6
aioredis==0.2.7
asphalt==2.0.0
asphalt-redis==1.0.0
asyncio-extras==1.1.1
chardet==2.3.0
click==6.6
hiredis==0.2.0
http-parser==0.8.3
Kyokai==1.3.6
libmagic==1.0
lxml==3.6.0
python-magic==0.4.12
PyYAML==3.11
redis==2.10.5
typeguard==1.2.1 | <|file_sep|>requirements.txt.diff
original:
Kyokai==1.3.1
updated:
Kyokai==1.3.6
<|file_sep|>original/requirements.txt
aiohttp==0.21.6
aioredis==0.2.7
asphalt==2.0.0
asphalt-redis==1.0.0
asyncio-extras==1.1.1
chardet==2.3.0
click==6.6
hiredis==0.2.0
http-parser==0.8.3
Kyokai==1.3.1
libmagic==1.0
lxml==3.6.0
python-magi... | 32da6b184a5cbd4f208275e040bebddebf2e8270 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/spec/lib/rspec/given/failure_spec.rb
require 'spec_helper'
require 'rspec/given/failure'
describe RSpec::Given::Failure do
Given(:exception) { StandardError.new("Oops") }
Given(:failure) { RSpec::Given::Failure.new(exception) }
Then { lambda { failure.to_s }.should raise_error(StandardError... | require 'spec_helper'
require 'rspec/given/failure'
describe RSpec::Given::Failure do
Given(:exception) { StandardError.new("Oops") }
Given(:failure) { RSpec::Given::Failure.new(exception) }
Then { lambda { failure.to_s }.should raise_error(StandardError, "Oops") }
Then { lambda { failure.call }.should raise_... | <|file_sep|>original/spec/lib/rspec/given/failure_spec.rb
require 'spec_helper'
require 'rspec/given/failure'
describe RSpec::Given::Failure do
Given(:exception) { StandardError.new("Oops") }
Given(:failure) { RSpec::Given::Failure.new(exception) }
Then { lambda { failure.to_s }.should raise_error(StandardError... | 04cae909526a1cb1e61dd49f6bb2cf0033bf4c62 | spec/lib/rspec/given/failure_spec.rb | spec/lib/rspec/given/failure_spec.rb | Ruby |
<|file_sep|>original/.travis.yml
on_failure: always
addons:
apt:
packages:
- nodejs
install:
# - go get -u github.com/gopherjs/gopherjs
# temporary fix for gopherjs / go1.7 incompatibility:
- go get -u github.com/gopherjs/gopherjs/... || true
- cd $GOPATH/src/github.com/gopherjs/gopherjs
- gi... | language: go
go:
- 1.7
go_import_path: kego.io/
notificaitons:
email:
recipients: dave@brophy.uk
on_failure: always
addons:
apt:
packages:
- nodejs
install:
- go get -u github.com/gopherjs/gopherjs
- go get -u github.com/davelondon/kerr/kcov
- go get -t -v ./...
script:
- kcov -r kego.... | <|file_sep|>original/.travis.yml
on_failure: always
addons:
apt:
packages:
- nodejs
install:
# - go get -u github.com/gopherjs/gopherjs
# temporary fix for gopherjs / go1.7 incompatibility:
- go get -u github.com/gopherjs/gopherjs/... || true
- cd $GOPATH/src/github.com/gopherjs/gopherjs
- gi... | 65a0d3c8b792ba8fe6e6357a89fbf7a90c2f4dc3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
before_script: bundle exec rake build format_json && git status -s && [[ -z $(git status -s) ]]
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2... | sudo: false
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- 2.3
before_script: bundle exec rake build format_json && git status -s && [[ -z $(git status -s) ]] | <|file_sep|>original/.travis.yml
sudo: false
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
before_script: bundle exec rake build format_json && git status -s && [[ -z $(git status -s) ]]
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2... | 40af3d4b01f8f2d2827d8b62b60f6285f6eb93f0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.4
- 3.5
install:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
script:
- nosetests -v -l DEBUG --logging-level=DEBUG --with-coverage --cover-package=flask_apscheduler
after_success:
- codecov
<|file_sep|>current/.t... | language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
install:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
script:
- nosetests -v -l DEBUG --logging-level=DEBUG --with-coverage --cover-package=flask_apscheduler
after_success:
- codecov | <|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.4
- 3.5
install:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
script:
- nosetests -v -l DEBUG --logging-level=DEBUG --with-coverage --cover-package=flask_apscheduler
after_success:
- codecov
<|file_sep|>current/.t... | 21b57939a41620285f69907b2b65078f848f90ba | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# About
The goal of this project is to give a complete executable semantics to the [LLVM assembly language](http://llvm.org/docs/LangRef.html) (LLVM IR). The language will be defined in the [K Semantic Framework](http://k-framework.org).
# Contributing
This project is available on [Git... | # About
The goal of this project is to give a complete executable semantics to the [LLVM assembly language](http://llvm.org/docs/LangRef.html) (LLVM IR). The language is being defined in the [K Semantic Framework](http://k-framework.org).
# Contributing
This project is available on [GitHub](https://github.com/davidl... | <|file_sep|>original/README.md
# About
The goal of this project is to give a complete executable semantics to the [LLVM assembly language](http://llvm.org/docs/LangRef.html) (LLVM IR). The language will be defined in the [K Semantic Framework](http://k-framework.org).
# Contributing
This project is available on [Git... | a02d1951c4354a052cb8475535b5acfe326d4780 | README.md | README.md | Markdown |
<|file_sep|>original/em-twitter.gemspec
spec.version = EventMachine::Twitter::VERSION
spec.homepage = 'https://github.com/spagalloco/em-twitter'
spec.licenses = ['MIT']
spec.authors = ["Steve Agalloco"]
spec.email = ['steve.agalloco@gmail.com']
spec.description = %q{Twitter Streaming AP... | spec.version = EventMachine::Twitter::VERSION
spec.homepage = 'https://github.com/spagalloco/em-twitter'
spec.licenses = ['MIT']
spec.authors = ["Steve Agalloco"]
spec.email = ['steve.agalloco@gmail.com']
spec.description = %q{Twitter Streaming API client for EventMachine}
spec.summar... | <|file_sep|>original/em-twitter.gemspec
spec.version = EventMachine::Twitter::VERSION
spec.homepage = 'https://github.com/spagalloco/em-twitter'
spec.licenses = ['MIT']
spec.authors = ["Steve Agalloco"]
spec.email = ['steve.agalloco@gmail.com']
spec.description = %q{Twitter Streaming AP... | 3e159dede448e7e73e7f06f7ff467dacc9307bcc | em-twitter.gemspec | em-twitter.gemspec | Ruby |
<|file_sep|>spec/spec_helper_acceptance.rb.diff
original:
puppet_module_install(:source => proj_root, :module_name => 'rabbitmq')
updated:
<|file_sep|>original/spec/spec_helper_acceptance.rb
end
RSpec.configure do |c|
# Project root
proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
# Re... | end
RSpec.configure do |c|
# Project root
proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
# Readable test descriptions
c.formatter = :documentation
c.before :suite do
hosts.each do |host|
copy_module_to(host, :source => proj_root, :module_name => 'rabbitmq')
shell("/bi... | <|file_sep|>spec/spec_helper_acceptance.rb.diff
original:
puppet_module_install(:source => proj_root, :module_name => 'rabbitmq')
updated:
<|file_sep|>original/spec/spec_helper_acceptance.rb
end
RSpec.configure do |c|
# Project root
proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
# Re... | 003e4120b48e38193ec3ee477c9c04a6618bd72a | spec/spec_helper_acceptance.rb | spec/spec_helper_acceptance.rb | Ruby |
<|file_sep|>original/src/Verification/NotBeforeVerifier.php
class NotBeforeVerifier implements VerifierInterface
{
public function verify(Token $token)
{
/** @var Claim\NotBefore $notBeforeClaim */
$notBeforeClaim = $token->getPayload()->findClaimByName(Claim\NotBefore::NAME);
if (null... | {
/** @var Claim\NotBefore $notBeforeClaim */
$notBeforeClaim = $token->getPayload()->findClaimByName(Claim\NotBefore::NAME);
if (null === $notBeforeClaim) {
return null;
}
$now = new \DateTime('now', new \DateTimeZone('UTC'));
if (!is_long($notBeforeCl... | <|file_sep|>original/src/Verification/NotBeforeVerifier.php
class NotBeforeVerifier implements VerifierInterface
{
public function verify(Token $token)
{
/** @var Claim\NotBefore $notBeforeClaim */
$notBeforeClaim = $token->getPayload()->findClaimByName(Claim\NotBefore::NAME);
if (null... | 12a51bd09d57f32c6b7772c354974843b5f5d153 | src/Verification/NotBeforeVerifier.php | src/Verification/NotBeforeVerifier.php | PHP |
<|file_sep|>app/Http/Middleware/CheckRole.php.diff
original:
* @param $roles
updated:
<|file_sep|>original/app/Http/Middleware/CheckRole.php
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param $roles
* @return mixed
... |
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
// e.g. $this->middleware('role:admin,intern') => ['admin', 'intern']
$roles = array_sl... | <|file_sep|>app/Http/Middleware/CheckRole.php.diff
original:
* @param $roles
updated:
<|file_sep|>original/app/Http/Middleware/CheckRole.php
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param $roles
* @return mixed
... | 682f300d186697d3ce388af7ac0ebaeb71e95165 | app/Http/Middleware/CheckRole.php | app/Http/Middleware/CheckRole.php | PHP |
<|file_sep|>gulpfile.js.diff
original:
updated:
gulp.task('dev', function(){
return gulp.watch([srcFile], ['default'])
});
<|file_sep|>original/gulpfile.js
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var srcFile = 'src/bsDropdown.js';
gulp.task('default', ['jshint', 'uglify']);
gulp.... | gulp.task('dev', function(){
return gulp.watch([srcFile], ['default'])
});
gulp.task('jshint', function(){
return gulp.src(srcFile)
.pipe(jshint())
.pipe(jshint.reporter('default'));
});
gulp.task('uglify', function(){
return gulp.src(srcFile)
.pipe(uglify({
preserveComments: 'some'
}))
.pipe(rename(... | <|file_sep|>gulpfile.js.diff
original:
updated:
gulp.task('dev', function(){
return gulp.watch([srcFile], ['default'])
});
<|file_sep|>original/gulpfile.js
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var srcFile = 'src/bsDropdown.js';
gulp.task('default', ['jshint', 'uglify']);
gulp.... | 144e2d37b793e7be11b0fee4f60d578a6628342a | gulpfile.js | gulpfile.js | JavaScript |
<|file_sep|>original/packages/reg-keygen-git-hash-plugin/src/git-cmd-client.ts
currentName() {
return execSync("git branch | grep \"^\\*\" | cut -b 3-", { encoding: "utf8" });
}
revParse(currentName: string) {
return execSync(`git rev-parse ${currentName}`, { encoding: "utf8" });
}
showBranch() {
... |
revParse(currentName: string) {
return execSync(`git rev-parse ${currentName}`, { encoding: "utf8" });
}
showBranch() {
return execSync("git show-branch -a --sha1-name", { encoding: "utf8" });
}
logFirstParent() {
// TODO need review.
// the --first-parent option sometimes hides base hash c... | <|file_sep|>original/packages/reg-keygen-git-hash-plugin/src/git-cmd-client.ts
currentName() {
return execSync("git branch | grep \"^\\*\" | cut -b 3-", { encoding: "utf8" });
}
revParse(currentName: string) {
return execSync(`git rev-parse ${currentName}`, { encoding: "utf8" });
}
showBranch() {
... | 51094e0542c73d073c1c00329ce48332817c6ff6 | packages/reg-keygen-git-hash-plugin/src/git-cmd-client.ts | packages/reg-keygen-git-hash-plugin/src/git-cmd-client.ts | TypeScript |
<|file_sep|>original/tools/llvm-isel-fuzzer/CMakeLists.txt
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
AsmPrinter
BitReader
CodeGen
Core
FuzzMutate
IRReader
MC
ScalarOpts
SelectionDAG
Support
Target
)
add_llvm_fuzzer(llvm-isel-fuzzer llvm-isel-fuzzer.cp... | set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
AsmPrinter
BitReader
BitWriter
CodeGen
Core
FuzzMutate
IRReader
MC
ScalarOpts
SelectionDAG
Support
Target
)
add_llvm_fuzzer(llvm-isel-fuzzer llvm-isel-fuzzer.cpp
DUMMY_MAIN DummyISelFuzzer.cpp) | <|file_sep|>original/tools/llvm-isel-fuzzer/CMakeLists.txt
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
AsmPrinter
BitReader
CodeGen
Core
FuzzMutate
IRReader
MC
ScalarOpts
SelectionDAG
Support
Target
)
add_llvm_fuzzer(llvm-isel-fuzzer llvm-isel-fuzzer.cp... | c58d273d61ca675a3847a299071df9e0f0b08cf7 | tools/llvm-isel-fuzzer/CMakeLists.txt | tools/llvm-isel-fuzzer/CMakeLists.txt | Text |
<|file_sep|>original/requirements-tests.txt
-r requirements.txt
-e .
marshmallow-sqlalchemy >= 0.8.0
marshmallow-peewee >= 1.0.4
peewee >= 2.8.2
mongomock==3.7.0
pymongo==3.4.0
ipdb==0.10.1
pytest==3.0.6
pytest-flask == 0.10.0
pytest-sugar==0.8.0
<|file_sep|>current/requirements-test... | -r requirements.txt
-e .
marshmallow-sqlalchemy >= 0.8.0
marshmallow-peewee >= 1.0.4
peewee >= 2.8.2
mongomock==3.7.0
pymongo==3.4.0
ipdb==0.10.3
pytest==3.0.6
pytest-flask == 0.10.0
pytest-sugar==0.8.0 | <|file_sep|>original/requirements-tests.txt
-r requirements.txt
-e .
marshmallow-sqlalchemy >= 0.8.0
marshmallow-peewee >= 1.0.4
peewee >= 2.8.2
mongomock==3.7.0
pymongo==3.4.0
ipdb==0.10.1
pytest==3.0.6
pytest-flask == 0.10.0
pytest-sugar==0.8.0
<|file_sep|>current/requirements-test... | 526fa7fdc7be0b670932b2af0dc8056294665d68 | requirements-tests.txt | requirements-tests.txt | Text |
<|file_sep|>original/_layouts/engage.html
<!DOCTYPE html>
<html>
{% include head.html %}
<body id="page-top" class="index">
{% include header_engage.html %}
{% include engage_deets.html %}
{% include engage_rsvp.html %}
{% include footer.html %}
{% include js.html %}
</body>
</html>
<... | <!DOCTYPE html>
<html>
{% include head.html %}
<body id="page-top" class="index">
{% include header_engage.html %}
{% include engage_deets.html %}
<!--- {% include engage_rsvp.html %} -->
{% include footer.html %}
{% include js.html %}
</body>
</html> | <|file_sep|>original/_layouts/engage.html
<!DOCTYPE html>
<html>
{% include head.html %}
<body id="page-top" class="index">
{% include header_engage.html %}
{% include engage_deets.html %}
{% include engage_rsvp.html %}
{% include footer.html %}
{% include js.html %}
</body>
</html>
<... | 2eb4f3af98e2aacf8563460d9fdb4e24626052c3 | _layouts/engage.html | _layouts/engage.html | HTML |
<|file_sep|>original/config.xml
<?xml version='1.0' encoding='UTF-8'?>
<widget xmlns="http://wirecloud.conwet.fi.upm.es/ns/macdescription/1" vendor="CoNWeT" name="flotr2-graph" version="0.98.2">
<details>
<title>Flotr2 Graph</title>
<authors>Álvaro Arranz</authors>
<contributors>Iris Muñoz<... | <?xml version='1.0' encoding='UTF-8'?>
<widget xmlns="http://wirecloud.conwet.fi.upm.es/ns/macdescription/1" vendor="CoNWeT" name="flotr2-graph" version="0.98.2">
<details>
<title>Flotr2 Graph</title>
<homepage>https://github.com/Wirecloud/flotr2-graph</homepage>
<authors>Álvaro Arranz</aut... | <|file_sep|>original/config.xml
<?xml version='1.0' encoding='UTF-8'?>
<widget xmlns="http://wirecloud.conwet.fi.upm.es/ns/macdescription/1" vendor="CoNWeT" name="flotr2-graph" version="0.98.2">
<details>
<title>Flotr2 Graph</title>
<authors>Álvaro Arranz</authors>
<contributors>Iris Muñoz<... | aa513e646f3f22503e86f01bc5ab4fa0f5f1668a | config.xml | config.xml | XML |
<|file_sep|>original/components/TagHome.vue
<template>
<div>
<section class="container">
<div class="my-6 sm:my-8 md:mb-0 lg:mt-12 text-center">
<h1>Articles tagged "{{ tag }}"</h1>
</div>
</section>
<ArticlesList :all-articles="taggedArticles"
:start-page="startPage"... | <template>
<div>
<section class="container">
<div class="my-6 sm:my-8 md:mb-0 lg:mt-12 text-center">
<h1>Articles tagged "{{ tag }}"</h1>
<p>
<nuxt-link to="/tags">
View all tags
</nuxt-link>
</p>
</div>
</section>
<ArticlesList :all-arti... | <|file_sep|>original/components/TagHome.vue
<template>
<div>
<section class="container">
<div class="my-6 sm:my-8 md:mb-0 lg:mt-12 text-center">
<h1>Articles tagged "{{ tag }}"</h1>
</div>
</section>
<ArticlesList :all-articles="taggedArticles"
:start-page="startPage"... | fa0f56a1e1a5fafa843683d46326e94ca50b2c90 | components/TagHome.vue | components/TagHome.vue | Vue |
<|file_sep|>regserver/regulations/views/utils.py.diff
original:
from django.core.urlresolvers import get_script_prefix
updated:
from django.core.urlresolvers import reverse
<|file_sep|>original/regserver/regulations/views/utils.py
layer_names, regulation_id, version, sectional=False):
layer_list = get_laye... | layer_creator.add_layers(layer_list, regulation_id, version, sectional)
return layer_creator.get_appliers()
def handle_diff_layers(
layer_names, regulation_id, older, newer, sectional=False):
layer_list = get_layer_list(layer_names)
layer_creator = generator.DiffLayerCreator(newer)
layer_c... | <|file_sep|>regserver/regulations/views/utils.py.diff
original:
from django.core.urlresolvers import get_script_prefix
updated:
from django.core.urlresolvers import reverse
<|file_sep|>original/regserver/regulations/views/utils.py
layer_names, regulation_id, version, sectional=False):
layer_list = get_laye... | c932b8ff7b48c30c6fae70d22f16a551c50ffd6b | regserver/regulations/views/utils.py | regserver/regulations/views/utils.py | Python |
<|file_sep|>original/src/test/rustdoc/deref-mut-methods.rs
<|file_sep|>current/src/test/rustdoc/deref-mut-methods.rs
<|file_sep|>updated/src/test/rustdoc/deref-mut-methods.rs | #![crate_name = "foo"]
use std::ops;
pub struct Foo;
impl Foo {
pub fn foo(&mut self) {}
}
// @has foo/struct.Bar.html
// @has - '//div[@class="sidebar-links"]/a[@href="#method.foo"]' 'foo'
pub struct Bar {
foo: Foo,
}
impl ops::Deref for Bar {
type Target = Foo;
fn deref(&self) -> &Foo {
... | <|file_sep|>original/src/test/rustdoc/deref-mut-methods.rs
<|file_sep|>current/src/test/rustdoc/deref-mut-methods.rs
<|file_sep|>updated/src/test/rustdoc/deref-mut-methods.rs
#![crate_name = "foo"]
use std::ops;
pub struct Foo;
impl Foo {
pub fn foo(&mut self) {}
}
// @has foo/struct.Bar.html
// @has - '//div... | 4fb29f9fd2758a5c07328fc12aa771bb239f9450 | src/test/rustdoc/deref-mut-methods.rs | src/test/rustdoc/deref-mut-methods.rs | Rust |
<|file_sep|>original/batdc/app/views/lists/membership.html.erb
<% table = {} %>
<% 2015.downto(2000).each do |y| %>
<% table[y] = {} %>
<% end %>
<% @membership_years.each do |m| %>
<% table[m.year][m.region] = m.count %>
<% end %>
<div class="row col-xs-12 col-sm-12 col-md-12">
<table class="col-sm-12 c... | <% table = {} %>
<% 2025.downto(2000).each do |y| %>
<% table[y] = {} %>
<% end %>
<% @membership_years.each do |m| %>
<% table[m.year][m.region] = m.count %>
<% end %>
<div class="row col-xs-12 col-sm-12 col-md-12">
<table class="col-sm-12 col-md-12">
<tr>
<td>Year</td>
... | <|file_sep|>original/batdc/app/views/lists/membership.html.erb
<% table = {} %>
<% 2015.downto(2000).each do |y| %>
<% table[y] = {} %>
<% end %>
<% @membership_years.each do |m| %>
<% table[m.year][m.region] = m.count %>
<% end %>
<div class="row col-xs-12 col-sm-12 col-md-12">
<table class="col-sm-12 c... | 3c053c1e8b91a1070248479baa7d61f980bebbb9 | batdc/app/views/lists/membership.html.erb | batdc/app/views/lists/membership.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: "node_js"
node_js:
- "0.4"
- "0.6"
- "0.8"
- "0.10"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-coverage-to-coveralls"
<|file_sep|>current/.travis.yml
language: "node_js"
node_js... | language: "node_js"
node_js:
- "0.4"
# - "0.6"
- "0.8"
- "0.10"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-coverage-to-coveralls" | <|file_sep|>original/.travis.yml
language: "node_js"
node_js:
- "0.4"
- "0.6"
- "0.8"
- "0.10"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-coverage-to-coveralls"
<|file_sep|>current/.travis.yml
language: "node_js"
node_js... | 74ff596b91924a175323d7a97bf5ced61d342b2e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/java/leetcode/majority_element/Solution.java
<|file_sep|>current/java/leetcode/majority_element/Solution.java
<|file_sep|>updated/java/leetcode/majority_element/Solution.java | package leetcode.majority_element;
public class Solution {
public int majorityElement(int[] num) {
int candidate = 0, counter = 0;
for(int x : num){
if(counter == 0){
candidate = x;
counter = 1;
}else{
if(candidate == x){
... | <|file_sep|>original/java/leetcode/majority_element/Solution.java
<|file_sep|>current/java/leetcode/majority_element/Solution.java
<|file_sep|>updated/java/leetcode/majority_element/Solution.java
package leetcode.majority_element;
public class Solution {
public int majorityElement(int[] num) {
int candi... | 7106ab35731bc4f45240fa7136754b2ee6d29115 | java/leetcode/majority_element/Solution.java | java/leetcode/majority_element/Solution.java | Java |
<|file_sep|>scripts/run-pr.sh.diff
original:
npm install
NODE_ENV=production npm run build
npm test || true
updated:
yarn install
NODE_ENV=production yarn build
yarn test || true
<|file_sep|>original/scripts/run-pr.sh
#!/bin/sh
set -e
if [ -z "$1" ]; then
echo "No pull request ID was specified."
exit 1
fi
git fe... | #!/bin/sh
set -e
if [ -z "$1" ]; then
echo "No pull request ID was specified."
exit 1
fi
git fetch https://github.com/thelounge/thelounge.git refs/pull/${1}/head
git checkout FETCH_HEAD
git rebase master
yarn install
NODE_ENV=production yarn build
yarn test || true
shift
yarn start "$@" | <|file_sep|>scripts/run-pr.sh.diff
original:
npm install
NODE_ENV=production npm run build
npm test || true
updated:
yarn install
NODE_ENV=production yarn build
yarn test || true
<|file_sep|>original/scripts/run-pr.sh
#!/bin/sh
set -e
if [ -z "$1" ]; then
echo "No pull request ID was specified."
exit 1
fi
git fe... | b943b12cd11b653631cef2650cc555968e96e27c | scripts/run-pr.sh | scripts/run-pr.sh | Shell |
<|file_sep|>original/install.sh
#!/bin/bash
cd /tmp
curl -o 1.sh https://raw.github.com/tiberiuc/master/1.change_sudoers.sh
wget -o 2.sh https://raw.github.com/tiberiuc/master/2.change_rights_and_root_passwd.sh
wget -o 3.sh https://raw.github.com/tiberiuc/master/3.install_guest_additions.sh
wget -o 4.sh https://raw.g... | #!/bin/bash
cd /tmp
curl -o 1.sh https://raw.github.com/tiberiuc/master/1.change_sudoers.sh
curl -o 2.sh https://raw.github.com/tiberiuc/master/2.change_rights_and_root_passwd.sh
curl -o 3.sh https://raw.github.com/tiberiuc/master/3.install_guest_additions.sh
curl -o 4.sh https://raw.github.com/tiberiuc/master/4.set_... | <|file_sep|>original/install.sh
#!/bin/bash
cd /tmp
curl -o 1.sh https://raw.github.com/tiberiuc/master/1.change_sudoers.sh
wget -o 2.sh https://raw.github.com/tiberiuc/master/2.change_rights_and_root_passwd.sh
wget -o 3.sh https://raw.github.com/tiberiuc/master/3.install_guest_additions.sh
wget -o 4.sh https://raw.g... | 6cb35d1bea4721bf827ed0e491a3e196b7cf0569 | install.sh | install.sh | Shell |
<|file_sep|>packages/core/resolve-scripts/src/runtime/saga_runner.js.diff
original:
updated:
const CRON_REBOOT = '@reboot'
const CRON_VARS = {
'@yearly': '0 0 0 1 1 *',
'@annually': '0 0 0 1 1 *',
'@weekly': '0 0 0 * * 0',
'@daily': '0 0 0 * * *',
'@hourly': '0 0 * * * *'
}
<|file_sep|>original/packages/cor... |
Object.keys(eventHandlers).map(eventName =>
context.resolve.subscribeByEventType([eventName], event =>
eventHandlers[eventName](event, context)
)
)
Object.keys(cronHandlers).map(cronTime => {
let cronArg = CRON_VARS[cronTime] ? CRON_VARS[cronTime] : cronTime
if (cronTime === CRON_REBOOT) ... | <|file_sep|>packages/core/resolve-scripts/src/runtime/saga_runner.js.diff
original:
updated:
const CRON_REBOOT = '@reboot'
const CRON_VARS = {
'@yearly': '0 0 0 1 1 *',
'@annually': '0 0 0 1 1 *',
'@weekly': '0 0 0 * * 0',
'@daily': '0 0 0 * * *',
'@hourly': '0 0 * * * *'
}
<|file_sep|>original/packages/cor... | b8afce14f48e2a37ede88dc0af3dd7cf27d832e9 | packages/core/resolve-scripts/src/runtime/saga_runner.js | packages/core/resolve-scripts/src/runtime/saga_runner.js | JavaScript |
<|file_sep|>original/dev/golang/json/README.md
# JSON
#### Articles
* [JSON and Go](https://blog.golang.org/json-and-go)
<|file_sep|>current/dev/golang/json/README.md
# JSON
#### Articles
* [JSON and Go](https://blog.golang.org/json-and-go)
<|file_sep|>updated/dev/golang/json/README.md | # JSON
#### Articles
* [JSON and Go](https://blog.golang.org/json-and-go)
* [golang json and dealing with unexported fields](http://stackoverflow.com/questions/11126793/golang-json-and-dealing-with-unexported-fields) | <|file_sep|>original/dev/golang/json/README.md
# JSON
#### Articles
* [JSON and Go](https://blog.golang.org/json-and-go)
<|file_sep|>current/dev/golang/json/README.md
# JSON
#### Articles
* [JSON and Go](https://blog.golang.org/json-and-go)
<|file_sep|>updated/dev/golang/json/README.md
# JSON
#### Articles
* [JSON a... | 1e1bcd6da89a831f6058f7e1ec53ac738394e8e7 | dev/golang/json/README.md | dev/golang/json/README.md | Markdown |
<|file_sep|>src/scripts/index.coffee.diff
original:
<li><Link to="blog">Blog</Link></li>
updated:
<li><Link to="app">Home</Link></li>
<|file_sep|>original/src/scripts/index.coffee
DefaultRoute = Router.DefaultRoute
Route = Router.Route
RouteHandler = Router.RouteHandler
Link = Router.Link
App = React.createCl... |
DefaultRoute = Router.DefaultRoute
Route = Router.Route
RouteHandler = Router.RouteHandler
Link = Router.Link
App = React.createClass
render: ->
<div>
<ul>
<li><Link to="app">Home</Link></li>
</ul>
<RouteHandler/>
</div>
routes = <Route name="app" path="/" handler={ App }>
<DefaultRoute handler={ ... | <|file_sep|>src/scripts/index.coffee.diff
original:
<li><Link to="blog">Blog</Link></li>
updated:
<li><Link to="app">Home</Link></li>
<|file_sep|>original/src/scripts/index.coffee
DefaultRoute = Router.DefaultRoute
Route = Router.Route
RouteHandler = Router.RouteHandler
Link = Router.Link
App = React.createCl... | c19dd3a752bbed323fab88760be8b73848858cc8 | src/scripts/index.coffee | src/scripts/index.coffee | CoffeeScript |
<|file_sep|>original/db/seeds.rb
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]... | carrots = Crop.create(
name: 'carrots',
description: 'OMG CARROTS'
)
april = Pod.create(
month: Date.new(2013,4)
)
instr = Instruction.create(
crop: carrots,
pod: april,
summary: "It's time to plant the carrots, finally... | <|file_sep|>original/db/seeds.rb
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]... | ddd2e3ef79a90db8d1c2b5523c996155c2f35809 | db/seeds.rb | db/seeds.rb | Ruby |
<|file_sep|>original/app/src/main/res/menu/navigation_rail.xml
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific l... | ~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the Lic... | <|file_sep|>original/app/src/main/res/menu/navigation_rail.xml
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific l... | d17d22eb80ee9df68c53c510a2e861237d45cad0 | app/src/main/res/menu/navigation_rail.xml | app/src/main/res/menu/navigation_rail.xml | XML |
<|file_sep|>original/mlmanager/css/privacy_policy.css
<|file_sep|>current/mlmanager/css/privacy_policy.css
<|file_sep|>updated/mlmanager/css/privacy_policy.css | /* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b... | <|file_sep|>original/mlmanager/css/privacy_policy.css
<|file_sep|>current/mlmanager/css/privacy_policy.css
<|file_sep|>updated/mlmanager/css/privacy_policy.css
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3... | 57af28cc9a6b579308a6f178ea3a57b665c56f15 | mlmanager/css/privacy_policy.css | mlmanager/css/privacy_policy.css | CSS |
<|file_sep|>src/main/java/com/nulabinc/backlog4j/api/option/UpdateStatusParams.java.diff
original:
updated:
import com.nulabinc.backlog4j.Project;
<|file_sep|>src/main/java/com/nulabinc/backlog4j/api/option/UpdateStatusParams.java.diff
original:
public UpdateStatusParams(Object projectIdOrKey, Object statusId, Str... | */
public class UpdateStatusParams extends PatchParams {
private Object projectIdOrKey;
private Object statusId;
public UpdateStatusParams(Object projectIdOrKey, Object statusId, String name, Project.CustomStatusColor color) {
this.projectIdOrKey = projectIdOrKey;
this.statusId = statusId... | <|file_sep|>src/main/java/com/nulabinc/backlog4j/api/option/UpdateStatusParams.java.diff
original:
updated:
import com.nulabinc.backlog4j.Project;
<|file_sep|>src/main/java/com/nulabinc/backlog4j/api/option/UpdateStatusParams.java.diff
original:
public UpdateStatusParams(Object projectIdOrKey, Object statusId, Str... | 18654ab7e61561be20545b22733d8f50e1916a92 | src/main/java/com/nulabinc/backlog4j/api/option/UpdateStatusParams.java | src/main/java/com/nulabinc/backlog4j/api/option/UpdateStatusParams.java | Java |
<|file_sep|>original/.idea/libraries/org_jetbrains_intellij_deps_android_tools_resources_aar.xml
<|file_sep|>current/.idea/libraries/org_jetbrains_intellij_deps_android_tools_resources_aar.xml
<|file_sep|>updated/.idea/libraries/org_jetbrains_intellij_deps_android_tools_resources_aar.xml | <component name="libraryTable">
<library name="org.jetbrains.intellij.deps.android.tools:resources-aar" type="repository">
<properties include-transitive-deps="false" maven-id="org.jetbrains.intellij.deps.android.tools:resources-aar:26.5.0.1" />
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrain... | <|file_sep|>original/.idea/libraries/org_jetbrains_intellij_deps_android_tools_resources_aar.xml
<|file_sep|>current/.idea/libraries/org_jetbrains_intellij_deps_android_tools_resources_aar.xml
<|file_sep|>updated/.idea/libraries/org_jetbrains_intellij_deps_android_tools_resources_aar.xml
<component name="libraryTable... | 9fb329ce26c1f4898a67b5cb29e744a800d06560 | .idea/libraries/org_jetbrains_intellij_deps_android_tools_resources_aar.xml | .idea/libraries/org_jetbrains_intellij_deps_android_tools_resources_aar.xml | XML |
<|file_sep|>tests/SlmQueueTest/Worker/WorkerEventTest.php.diff
original:
use SlmQueue\Queue\QueuePluginManager;
use SlmQueueTest\Asset\SimpleQueue;
updated:
<|file_sep|>tests/SlmQueueTest/Worker/WorkerEventTest.php.diff
original:
use Zend\ServiceManager\Config;
updated:
<|file_sep|>original/tests/SlmQueueTest/Worker/... |
class WorkerEventTest extends TestCase
{
protected $queue;
public function setUp()
{
$this->queue = $this->getMock('SlmQueue\Queue\QueueInterface');
}
public function testWorkerEventHoldsStateForQueue()
{
$event = new WorkerEvent($this->queue);
$this->assertEquals($thi... | <|file_sep|>tests/SlmQueueTest/Worker/WorkerEventTest.php.diff
original:
use SlmQueue\Queue\QueuePluginManager;
use SlmQueueTest\Asset\SimpleQueue;
updated:
<|file_sep|>tests/SlmQueueTest/Worker/WorkerEventTest.php.diff
original:
use Zend\ServiceManager\Config;
updated:
<|file_sep|>original/tests/SlmQueueTest/Worker/... | 99886fa4e3c507ba9861e38522f163a77423675e | tests/SlmQueueTest/Worker/WorkerEventTest.php | tests/SlmQueueTest/Worker/WorkerEventTest.php | PHP |
<|file_sep|>original/recipes/install_remoteservices.rb
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIO... | # You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the Li... | <|file_sep|>original/recipes/install_remoteservices.rb
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIO... | 7c4dd4931f59f7edd4fe5ce140f59ab38952e0ea | recipes/install_remoteservices.rb | recipes/install_remoteservices.rb | Ruby |
<|file_sep|>original/package.json
"workspaces": {
"packages": [
"apps/*",
"apps/test-suite/puppeteer-test",
"expokit-npm-package",
"home",
"packages/*",
"packages/@unimodules/*",
"react-native-lab/react-native"
],
"nohoist": [
"**/react-navigation",
"*... | "workspaces": {
"packages": [
"apps/*",
"apps/test-suite/puppeteer-test",
"expokit-npm-package",
"home",
"packages/*",
"packages/@unimodules/*",
"react-native-lab/react-native"
]
},
"dependencies": {
"react-native-unimodules": "~0.5.0"
},
"devDependencies"... | <|file_sep|>original/package.json
"workspaces": {
"packages": [
"apps/*",
"apps/test-suite/puppeteer-test",
"expokit-npm-package",
"home",
"packages/*",
"packages/@unimodules/*",
"react-native-lab/react-native"
],
"nohoist": [
"**/react-navigation",
"*... | f739c949ff58e6c3fe22e3dae72c1368af6ece1d | package.json | package.json | JSON |
<|file_sep|>original/app/controllers/concerns/comments_controller.rb
<|file_sep|>current/app/controllers/concerns/comments_controller.rb
<|file_sep|>updated/app/controllers/concerns/comments_controller.rb | class CommentsController < ApplicationController
include AuthsHelper
def index(commentable_id, commentable_type)
@comments = Comment.where(commentable_id: commentable_id, commentable_type: commentable_type)
end
end | <|file_sep|>original/app/controllers/concerns/comments_controller.rb
<|file_sep|>current/app/controllers/concerns/comments_controller.rb
<|file_sep|>updated/app/controllers/concerns/comments_controller.rb
class CommentsController < ApplicationController
include AuthsHelper
def index(commentable_id, commentable_t... | 79d44feadaeeea4435e8c75f65f3b53387a4ab2d | app/controllers/concerns/comments_controller.rb | app/controllers/concerns/comments_controller.rb | Ruby |
<|file_sep|>original/README.md
Stack/JWT
=========
[](http://travis-ci.org/jsor/stack-jwt)
[](https://coveralls.io/r/jsor/stack-jwt)
[JSON Web Token](https://tools.ietf.... | Stack/JWT
=========
[](http://travis-ci.org/jsor/stack-jwt)
[](https://coveralls.io/r/jsor/stack-jwt)
[JSON Web Token](https://tools.ietf.org/html/draft-ietf-... | <|file_sep|>original/README.md
Stack/JWT
=========
[](http://travis-ci.org/jsor/stack-jwt)
[](https://coveralls.io/r/jsor/stack-jwt)
[JSON Web Token](https://tools.ietf.... | e59f0001e820b79f13ca0951bcb991febe2dd74e | README.md | README.md | Markdown |
<|file_sep|>original/script/post_install.sh
# Configure global gitignore.
[[ ! -e "${HOME}/.gitignore" ]] && ln -vs "${DOT_STAR_ROOT}/git/.gitignore" "${HOME}"
git config --global core.excludesfile "~/.gitignore"
<|file_sep|>current/script/post_install.sh
# Configure global gitignore.
[[ ! -e "${HOME}/.gitignore" ]] &&... | # Configure global gitignore.
[[ ! -e "${HOME}/.gitignore" ]] && ln -vs "${DOT_STAR_ROOT}/git/.gitignore" "${HOME}"
git config --global core.excludesfile "~/.gitignore"
# Configure vimrc.
if [ ! -e "${HOME}/.vimrc" ]; then
ln -s -v "${DOT_STAR_ROOT}/vim/.vimrc" "${HOME}"
fi | <|file_sep|>original/script/post_install.sh
# Configure global gitignore.
[[ ! -e "${HOME}/.gitignore" ]] && ln -vs "${DOT_STAR_ROOT}/git/.gitignore" "${HOME}"
git config --global core.excludesfile "~/.gitignore"
<|file_sep|>current/script/post_install.sh
# Configure global gitignore.
[[ ! -e "${HOME}/.gitignore" ]] &&... | 5ee1048b8d5f1f770696f0a157b31f63c1f39421 | script/post_install.sh | script/post_install.sh | Shell |
<|file_sep|>original/config/routes.rb
post 'duplicate'
post 'progress'
post 'skip_fact_check', to: 'editions#progress',
activity: { request_type: 'skip_fact_check', comment: "Fact check skipped by request."}
end
end
match 'reports' => 'reports#index', as: :reports
match 'reports/pro... | post 'skip_fact_check', to: 'editions#progress',
activity: { request_type: 'skip_fact_check', comment: "Fact check skipped by request."}
end
end
match 'reports' => 'reports#index', as: :reports
match 'reports/progress' => 'reports#progress', as: :progress_report
get 'reports/business_support_... | <|file_sep|>original/config/routes.rb
post 'duplicate'
post 'progress'
post 'skip_fact_check', to: 'editions#progress',
activity: { request_type: 'skip_fact_check', comment: "Fact check skipped by request."}
end
end
match 'reports' => 'reports#index', as: :reports
match 'reports/pro... | 238269519d385f15595e8a0814f2e386bae582b3 | config/routes.rb | config/routes.rb | Ruby |
<|file_sep|>original/packages/gn/gnss-converters.yaml
<|file_sep|>current/packages/gn/gnss-converters.yaml
<|file_sep|>updated/packages/gn/gnss-converters.yaml | homepage: http://github.com/swift-nav/gnss-converters
changelog-type: ''
hash: fad4c8f4dd6ae7793e0b442e105394884bc3c9aa4aa35ea2d45478fd6e623126
test-bench-deps:
base: -any
basic-prelude: -any
criterion: -any
gnss-converters: -any
tasty-hunit: -any
tasty: -any
maintainer: Mark Fine <dev@swiftnav.com>
synopsi... | <|file_sep|>original/packages/gn/gnss-converters.yaml
<|file_sep|>current/packages/gn/gnss-converters.yaml
<|file_sep|>updated/packages/gn/gnss-converters.yaml
homepage: http://github.com/swift-nav/gnss-converters
changelog-type: ''
hash: fad4c8f4dd6ae7793e0b442e105394884bc3c9aa4aa35ea2d45478fd6e623126
test-bench-dep... | 1622889669b50c96efa563fdacc05048014341df | packages/gn/gnss-converters.yaml | packages/gn/gnss-converters.yaml | YAML |
<|file_sep|>original/metadata/ch.bailu.aat.txt
Build:v0.5-alpha,5
commit=v0.5-alpha
target=android-21
Build:v0.6-alpha,6
commit=v0.6-alpha
target=android-21
Build:v0.7-alpha,7
commit=v0.7-alpha
target=android-21
Build:v0.8-alpha,8
commit=v0.8-alpha
target=android-21
Auto Update Mode... |
Build:v0.6-alpha,6
commit=v0.6-alpha
target=android-21
Build:v0.7-alpha,7
commit=v0.7-alpha
target=android-21
Build:v0.8-alpha,8
commit=v0.8-alpha
target=android-21
Build:v0.9-alpha,9
commit=v0.9-alpha
target=android-21
Auto Update Mode:None
Update Check Mode:Tags
Current Version:v0... | <|file_sep|>original/metadata/ch.bailu.aat.txt
Build:v0.5-alpha,5
commit=v0.5-alpha
target=android-21
Build:v0.6-alpha,6
commit=v0.6-alpha
target=android-21
Build:v0.7-alpha,7
commit=v0.7-alpha
target=android-21
Build:v0.8-alpha,8
commit=v0.8-alpha
target=android-21
Auto Update Mode... | 435c69061848820f7746728ec89fe13f40815e51 | metadata/ch.bailu.aat.txt | metadata/ch.bailu.aat.txt | Text |
<|file_sep|>plilauncher.sh.diff
original:
WINDOWEXISTS=false
updated:
# Make sure 'xdotool' is installed, otherwise display a warning:
XDOTOOLEXISTS=false
which xdotool && XDOTOOLEXISTS=true
if [ $XDOTOOLEXISTS = false ]
then
xmessage "You need to install xdotool"
exit 1
fi
<|file_sep|>original/plilauncher.sh
# Req... | XDOTOOLEXISTS=false
which xdotool && XDOTOOLEXISTS=true
if [ $XDOTOOLEXISTS = false ]
then
xmessage "You need to install xdotool"
exit 1
fi
# Use regexp since xdotool interprets this as a regexp pattern, so make
# sure we don't match any other window containing "PliLauncherWindow" in the name:
WINDOWEXISTS=false
if ... | <|file_sep|>plilauncher.sh.diff
original:
WINDOWEXISTS=false
updated:
# Make sure 'xdotool' is installed, otherwise display a warning:
XDOTOOLEXISTS=false
which xdotool && XDOTOOLEXISTS=true
if [ $XDOTOOLEXISTS = false ]
then
xmessage "You need to install xdotool"
exit 1
fi
<|file_sep|>original/plilauncher.sh
# Req... | f5d724fb58bb17c15390b109897325f39e90fb6d | plilauncher.sh | plilauncher.sh | Shell |
<|file_sep|>original/tests/regression/13-privatized/22-traces-paper.c
<|file_sep|>current/tests/regression/13-privatized/22-traces-paper.c
<|file_sep|>updated/tests/regression/13-privatized/22-traces-paper.c | // PARAM: --enable ana.int.interval --sets exp.solver.td3.side_widen cycle_self
#include <pthread.h>
#include <assert.h>
int g = 6;
pthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;
void *t_fun(void *arg) {
int x = 1;
pthread_mutex_lock(&A);
assert(g == 6);
assert(x... | <|file_sep|>original/tests/regression/13-privatized/22-traces-paper.c
<|file_sep|>current/tests/regression/13-privatized/22-traces-paper.c
<|file_sep|>updated/tests/regression/13-privatized/22-traces-paper.c
// PARAM: --enable ana.int.interval --sets exp.solver.td3.side_widen cycle_self
#include <pthread.h>
#include ... | 1b37acc75816e0c079aebbb3473bfee5762829bb | tests/regression/13-privatized/22-traces-paper.c | tests/regression/13-privatized/22-traces-paper.c | C |
<|file_sep|>.travis.yml.diff
original:
- env: TF_TAG=0.12.0-rc1 TD_TEST_SCIPY=0 TD_TEST_GPU=0
updated:
- env: TF_TAG=0.9.0 TD_TEST_SCIPY=0 TD_TEST_GPU=0
<|file_sep|>.travis.yml.diff
original:
- pwd
- ls
updated:
- docker pull tensorflow/tensorflow:$TF_TAG
<|file_sep|>original/.travis.yml
sudo: required
d... | sudo: required
dist: trusty
language: python
services:
- docker
matrix:
include:
- env: TF_TAG=0.9.0 TD_TEST_SCIPY=0 TD_TEST_GPU=0
before_install:
- docker pull tensorflow/tensorflow:$TF_TAG
script: docker run --rm -v `pwd`:/root/tfdeploy -w /root/tfdeploy -e TD_TEST_SCIPY=$TD_TEST_SCIPY -e TD_TEST_GPU=... | <|file_sep|>.travis.yml.diff
original:
- env: TF_TAG=0.12.0-rc1 TD_TEST_SCIPY=0 TD_TEST_GPU=0
updated:
- env: TF_TAG=0.9.0 TD_TEST_SCIPY=0 TD_TEST_GPU=0
<|file_sep|>.travis.yml.diff
original:
- pwd
- ls
updated:
- docker pull tensorflow/tensorflow:$TF_TAG
<|file_sep|>original/.travis.yml
sudo: required
d... | 24eede0f7f8601cd02edb46cf5f4c13915107f97 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/uat/uat_runner_test.go
import (
"os"
"testing"
"github.com/DATA-DOG/godog"
)
var runDir = "."
var raceBinPath = "."
const GodogSuiteName = "uat"
func TestMain(m *testing.M) {
// Run the features tests from the compiled-in location.
if err := os.Chdir(runDir); err != nil {
panic(err)
}
... | import (
"os"
"testing"
"github.com/DATA-DOG/godog"
)
var runDir = "."
var raceBinPath = "."
func TestMain(m *testing.M) {
// Run the features tests from the compiled-in location.
if err := os.Chdir(runDir); err != nil {
panic(err)
}
// Prefix the path so that we can find our race-compiled binaries.
os.Se... | <|file_sep|>original/uat/uat_runner_test.go
import (
"os"
"testing"
"github.com/DATA-DOG/godog"
)
var runDir = "."
var raceBinPath = "."
const GodogSuiteName = "uat"
func TestMain(m *testing.M) {
// Run the features tests from the compiled-in location.
if err := os.Chdir(runDir); err != nil {
panic(err)
}
... | 1992690eede6e11f7d9a5da9951409b3e8715d27 | uat/uat_runner_test.go | uat/uat_runner_test.go | Go |
<|file_sep|>original/csunplugged/docker-production-entrypoint.sh
export DJANGO_SETTINGS_MODULE="config.settings.production"
echo "Compiling message files"
/docker_venv/bin/python3 ./manage.py compilemessages
# Start gunicorn service
echo "Starting gunicorn"
/docker_venv/bin/gunicorn -c ./gunicorn.conf.py -b :$PORT co... | export DJANGO_SETTINGS_MODULE="config.settings.production"
echo "Compiling message files"
/docker_venv/bin/python3 ./manage.py compilemessages
# Start gunicorn service
echo "Starting gunicorn"
/docker_venv/bin/gunicorn -c gunicorn.conf.py -b :8080 config.wsgi | <|file_sep|>original/csunplugged/docker-production-entrypoint.sh
export DJANGO_SETTINGS_MODULE="config.settings.production"
echo "Compiling message files"
/docker_venv/bin/python3 ./manage.py compilemessages
# Start gunicorn service
echo "Starting gunicorn"
/docker_venv/bin/gunicorn -c ./gunicorn.conf.py -b :$PORT co... | c6872969fdf5240ed1e6197e2979e0461a58512d | csunplugged/docker-production-entrypoint.sh | csunplugged/docker-production-entrypoint.sh | Shell |
<|file_sep|>doc/engine-outputs.rst.diff
original:
Here is a list of the outputs generated by each calculator, updated
for engine 2.2.
updated:
Here is a list of the outputs generated by each calculator, updated for engine 2.6.
<|file_sep|>doc/engine-outputs.rst.diff
original:
hcurves
updated:
hcurves, hmaps, uhs
<|... | event_based:
gmf_data, hcurves
ebrisk:
avg_losses-rlzs, avg_losses-stats, agg_loss_table
event_based_risk:
agg_curve-rlzs, agg_curve-stats, loss_maps-rlzs, loss_maps-stats, losses_by_tag-rlzs
Scenario calculators
--------------------
scenario:
ruptures, gmf_data
scenario_risk:
losses_by_asset, losses_by... | <|file_sep|>doc/engine-outputs.rst.diff
original:
Here is a list of the outputs generated by each calculator, updated
for engine 2.2.
updated:
Here is a list of the outputs generated by each calculator, updated for engine 2.6.
<|file_sep|>doc/engine-outputs.rst.diff
original:
hcurves
updated:
hcurves, hmaps, uhs
<|... | 4418ecca572e9db52944e43946e0e2bb3f6b14a3 | doc/engine-outputs.rst | doc/engine-outputs.rst | reStructuredText |
<|file_sep|>original/v7/gridlayout/README.txt
<|file_sep|>current/v7/gridlayout/README.txt
<|file_sep|>updated/v7/gridlayout/README.txt | Library Project including GridLayout.
This can be used by an Android project to provide
access to GridLayout on applications running on API 7+
There is technically no source, but the src folder is necessary
to ensure that the build system works. The content is actually
located in libs/android-support-v7-gridlayout.ja... | <|file_sep|>original/v7/gridlayout/README.txt
<|file_sep|>current/v7/gridlayout/README.txt
<|file_sep|>updated/v7/gridlayout/README.txt
Library Project including GridLayout.
This can be used by an Android project to provide
access to GridLayout on applications running on API 7+
There is technically no source, but t... | 75c0c71f5db7ddcddca1de4a1057c4d1aea37876 | v7/gridlayout/README.txt | v7/gridlayout/README.txt | Text |
<|file_sep|>original/config/initializers/extend_action_dispatch_routing_mapper.rb
ActionDispatch::Routing::Mapper.send(:include, Routing::ItsfBackendResourceConcern)
<|file_sep|>current/config/initializers/extend_action_dispatch_routing_mapper.rb
ActionDispatch::Routing::Mapper.send(:include, Routing::ItsfBackendResour... | ActionDispatch::Routing::Mapper.send(:include, Routing::ItsfBackendResourceConcern)
ActionDispatch::Routing::Mapper.send(:include, Routing::ServiceConcern) | <|file_sep|>original/config/initializers/extend_action_dispatch_routing_mapper.rb
ActionDispatch::Routing::Mapper.send(:include, Routing::ItsfBackendResourceConcern)
<|file_sep|>current/config/initializers/extend_action_dispatch_routing_mapper.rb
ActionDispatch::Routing::Mapper.send(:include, Routing::ItsfBackendResour... | 7a7c7ffe2764df47a80eb1f0a3add20f0e924f57 | config/initializers/extend_action_dispatch_routing_mapper.rb | config/initializers/extend_action_dispatch_routing_mapper.rb | Ruby |
<|file_sep|>original/src/shell/config/fish/config.fish
alias v="nvim"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Configure MariaDB
set PATH /usr/local/opt/mariadb/bin $PATH
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set up dircolors
eva... | alias v="nvim"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Configure MariaDB
set PATH /usr/local/opt/mariadb/bin $PATH
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Include Homebrew’s executables path
set -g fish_user_paths "/usr/local/sbin... | <|file_sep|>original/src/shell/config/fish/config.fish
alias v="nvim"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Configure MariaDB
set PATH /usr/local/opt/mariadb/bin $PATH
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set up dircolors
eva... | 65e5c731504f16ba5aec427e768cb48b4a09f014 | src/shell/config/fish/config.fish | src/shell/config/fish/config.fish | fish |
<|file_sep|>original/default.nix
pkgs.lispPackages.cffi
pkgs.lispPackages.cffi-grovel
pkgs.lispPackages.cl-cli
pkgs.lispPackages.cl-fad
pkgs.lispPackages.closer-mop
pkgs.lispPackages.cl-ppcre
pkgs.lispPackages.fset
pkgs.lispPackages.lisp-namespace
pkgs.lispPackages.quicklisp
pkgs... | pkgs.lispPackages.cl-cli
pkgs.lispPackages.cl-fad
pkgs.lispPackages.closer-mop
pkgs.lispPackages.cl-ppcre
pkgs.lispPackages.fset
pkgs.lispPackages.lisp-namespace
pkgs.lispPackages.quicklisp
pkgs.lispPackages.swank
pkgs.lispPackages.trivial-garbage
pkgs.lispPackages.trivial-gray-s... | <|file_sep|>original/default.nix
pkgs.lispPackages.cffi
pkgs.lispPackages.cffi-grovel
pkgs.lispPackages.cl-cli
pkgs.lispPackages.cl-fad
pkgs.lispPackages.closer-mop
pkgs.lispPackages.cl-ppcre
pkgs.lispPackages.fset
pkgs.lispPackages.lisp-namespace
pkgs.lispPackages.quicklisp
pkgs... | 354c28b18bfc36728118787727b9fc824a0491a0 | default.nix | default.nix | Nix |
<|file_sep|>original/.travis.yml
language: ruby
script:
- bundle exec rake assets:precompile
- bundle exec rspec spec/features/
deploy:
provider: heroku
api_key:
secure: JHaaojmt64klUFQElkjE0arLV02cumMH0oDinvdRnnbMGCQVNJwTq8jlv9o1n9DctUDk+BvYJCU6B0cZHvqDlWgkZOR8VvXlaO644AmGKkCLEW1/6FCjEAitLkiRZ04kkGgVpDq5spcPDm... | language: ruby
install: bundle install --jobs=3 --retry=3 --no-deployment
script:
- bundle exec rake assets:precompile
- bundle exec rspec spec/features/
deploy:
provider: heroku
api_key:
secure: JHaaojmt64klUFQElkjE0arLV02cumMH0oDinvdRnnbMGCQVNJwTq8jlv9o1n9DctUDk+BvYJCU6B0cZHvqDlWgkZOR8VvXlaO644AmGKkCLEW1/6FCj... | <|file_sep|>original/.travis.yml
language: ruby
script:
- bundle exec rake assets:precompile
- bundle exec rspec spec/features/
deploy:
provider: heroku
api_key:
secure: JHaaojmt64klUFQElkjE0arLV02cumMH0oDinvdRnnbMGCQVNJwTq8jlv9o1n9DctUDk+BvYJCU6B0cZHvqDlWgkZOR8VvXlaO644AmGKkCLEW1/6FCjEAitLkiRZ04kkGgVpDq5spcPDm... | 1713665be41891862022df753e8415cd1263c779 | .travis.yml | .travis.yml | YAML |
<|file_sep|>LibrarySystem/LibrarySystem.Models/Subject.cs.diff
original:
using System.ComponentModel.DataAnnotations;
updated:
// <copyright file="Subject.cs" company="YAGNI">
// All rights reserved.
// </copyright>
// <summary>Holds implementation of Book model.</summary>
using System.Collections.Generic;
using Sys... | [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
/// <summary>
/// Gets or sets the name of the <see cref="Subject"/> entity.
/// </summary>
/// <value>Name of the <see cref="Subject"/> entity.</value>
[Required]
[StringLe... | <|file_sep|>LibrarySystem/LibrarySystem.Models/Subject.cs.diff
original:
using System.ComponentModel.DataAnnotations;
updated:
// <copyright file="Subject.cs" company="YAGNI">
// All rights reserved.
// </copyright>
// <summary>Holds implementation of Book model.</summary>
using System.Collections.Generic;
using Sys... | 323d48439648eaf95493f021dc50e7e81c606825 | LibrarySystem/LibrarySystem.Models/Subject.cs | LibrarySystem/LibrarySystem.Models/Subject.cs | C# |
<|file_sep|>tasks/gemfiles.rake.diff
original:
task :bundle do
updated:
task :bundle do |_t, opts|
<|file_sep|>original/tasks/gemfiles.rake
desc "Bundle all Gemfiles"
task :bundle do
["Gemfile", *Dir.glob("gemfiles/*.gemfile")].each do |gemfile|
Bundler.with_original_env do
system({ "BUNDLE_GEMFILE" => gemf... | desc "Bundle all Gemfiles"
task :bundle do |_t, opts|
["Gemfile", *Dir.glob("gemfiles/*.gemfile")].each do |gemfile|
Bundler.with_original_env do
system({ "BUNDLE_GEMFILE" => gemfile }, "bundle", opts)
end
end
end | <|file_sep|>tasks/gemfiles.rake.diff
original:
task :bundle do
updated:
task :bundle do |_t, opts|
<|file_sep|>original/tasks/gemfiles.rake
desc "Bundle all Gemfiles"
task :bundle do
["Gemfile", *Dir.glob("gemfiles/*.gemfile")].each do |gemfile|
Bundler.with_original_env do
system({ "BUNDLE_GEMFILE" => gemf... | b92e2c2e9b7ff94abd8d73bfb9028372c0e1f21f | tasks/gemfiles.rake | tasks/gemfiles.rake | Ruby |
<|file_sep|>src/main/java/com/github/daniel_sc/rocketchat/modern_client/request/AttachmentField.java.diff
original:
updated:
import com.google.gson.annotations.SerializedName;
<|file_sep|>src/main/java/com/github/daniel_sc/rocketchat/modern_client/request/AttachmentField.java.diff
original:
* Whether this field sho... |
/**
* {@link} https://rocket.chat/docs/developer-guides/rest-api/chat/postmessage/#attachments-detail
*
*/
public class AttachmentField {
/**
* Whether this field should be a short field. *
*/
@SerializedName("short")
public boolean _short = false;
/**
* The title of this field.
*/
public final S... | <|file_sep|>src/main/java/com/github/daniel_sc/rocketchat/modern_client/request/AttachmentField.java.diff
original:
updated:
import com.google.gson.annotations.SerializedName;
<|file_sep|>src/main/java/com/github/daniel_sc/rocketchat/modern_client/request/AttachmentField.java.diff
original:
* Whether this field sho... | d65370ca3c3b90aaf424af230e347c0a09ed8e19 | src/main/java/com/github/daniel_sc/rocketchat/modern_client/request/AttachmentField.java | src/main/java/com/github/daniel_sc/rocketchat/modern_client/request/AttachmentField.java | Java |
<|file_sep|>subprojects/shipkit/src/main/groovy/org/shipkit/internal/gradle/plugin/PluginValidationPlugin.java.diff
original:
updated:
import org.gradle.api.plugins.JavaBasePlugin;
<|file_sep|>subprojects/shipkit/src/main/groovy/org/shipkit/internal/gradle/plugin/PluginValidationPlugin.java.diff
original:
* Adds task... | * Validates that every plugin has a corresponding .properties file.
* New task is configured as dependency of 'check' task so that when you run 'check', the plugins are validated
* </li>
* </ul>
*/
public class PluginValidationPlugin implements Plugin<Project> {
static final String ... | <|file_sep|>subprojects/shipkit/src/main/groovy/org/shipkit/internal/gradle/plugin/PluginValidationPlugin.java.diff
original:
updated:
import org.gradle.api.plugins.JavaBasePlugin;
<|file_sep|>subprojects/shipkit/src/main/groovy/org/shipkit/internal/gradle/plugin/PluginValidationPlugin.java.diff
original:
* Adds task... | e046c2f576786eb3552316f27ed0c87e86548dcb | subprojects/shipkit/src/main/groovy/org/shipkit/internal/gradle/plugin/PluginValidationPlugin.java | subprojects/shipkit/src/main/groovy/org/shipkit/internal/gradle/plugin/PluginValidationPlugin.java | Java |
<|file_sep|>hieradata/common/roles/storage.yaml.diff
original:
pg_num: 1500
pgp_num: 1500
updated:
pg_num: 2048
pgp_num: 2048
<|file_sep|>original/hieradata/common/roles/storage.yaml
- 'glance'
accounts::accounts:
'cinder':
ensure: present
'glance':
ensure: present
ceph::profile::param... | - 'glance'
accounts::accounts:
'cinder':
ensure: present
'glance':
ensure: present
ceph::profile::params::osd_journal_size: '10240'
profile::storage::cephpool::pools:
'rbd':
ensure: absent
'volumes':
ensure: present
pg_num: 2048
pgp_num: 2048
'images':
ensure: present
pg... | <|file_sep|>hieradata/common/roles/storage.yaml.diff
original:
pg_num: 1500
pgp_num: 1500
updated:
pg_num: 2048
pgp_num: 2048
<|file_sep|>original/hieradata/common/roles/storage.yaml
- 'glance'
accounts::accounts:
'cinder':
ensure: present
'glance':
ensure: present
ceph::profile::param... | 1d0dd8618c093363482397443a13f3bee8a863e1 | hieradata/common/roles/storage.yaml | hieradata/common/roles/storage.yaml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.