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|>deal.II/examples/Makefile.diff
original:
default: $(addprefix build-,$(steps))
updated:
default: $(addprefix build-,$(steps)) doxygen
<|file_sep|>deal.II/examples/Makefile.diff
original:
run: $(addprefix run-,$(steps))
updated:
run: $(addprefix run-,$(steps)) run-doxygen
<|file_sep|>deal.II/examples/Makefil... | # for each build/run/clean target: strip the build- prefix of the
# target and build in that directory
build-step-%:
cd $(@:build-%=%) ; $(MAKE)
run-step-%:
cd $(@:run-%=%) ; $(MAKE) run
clean-step-%:
cd $(@:clean-%=%) ; $(MAKE) clean
doxygen:
cd doxygen ; $(MAKE)
run-doxygen:
cd doxygen ; $(MAKE) run
clean-doxyge... | <|file_sep|>deal.II/examples/Makefile.diff
original:
default: $(addprefix build-,$(steps))
updated:
default: $(addprefix build-,$(steps)) doxygen
<|file_sep|>deal.II/examples/Makefile.diff
original:
run: $(addprefix run-,$(steps))
updated:
run: $(addprefix run-,$(steps)) run-doxygen
<|file_sep|>deal.II/examples/Makefil... | ff72c4b653f34d74586696e103dcfb310793cef7 | deal.II/examples/Makefile | deal.II/examples/Makefile | unknown |
<|file_sep|>styleguide/number.section.md.diff
original:
updated:
| valueStyle | object | The style(s) that should apply to the value part of the component |
<|file_sep|>styleguide/number.section.md.diff
original:
updated:
| prefixStyle | object | The style(s) that should apply to the prefix p... | All components in this section is built upon a private `<Number />` component. This has the effect that all props sent to either component below that are not specifically consumed by said component will *trickle down* to the `<Number />` component below.
This means that all components in this section can also take the... | <|file_sep|>styleguide/number.section.md.diff
original:
updated:
| valueStyle | object | The style(s) that should apply to the value part of the component |
<|file_sep|>styleguide/number.section.md.diff
original:
updated:
| prefixStyle | object | The style(s) that should apply to the prefix p... | ffe8a5dd0cf68e18894c9c6d35ee223aee24f0c9 | styleguide/number.section.md | styleguide/number.section.md | Markdown |
<|file_sep|>original/README.md
# Quirc bindings for Ruby
Quirc is a small C library for extracting and decode QR codes from images.
This project is a Ruby binding for that library with the library embedded.
## License
This software is licensed under the MIT License. [View the license](LICENSE).
<|file_sep|>current/RE... | # Quirc bindings for Ruby
[Quirc](https://github.com/dlbeer/quirc) is a small C library for extracting and decode QR codes from images.
This project is a Ruby binding for that library with the library embedded.
## License
This software is licensed under the MIT License. [View the license](LICENSE). | <|file_sep|>original/README.md
# Quirc bindings for Ruby
Quirc is a small C library for extracting and decode QR codes from images.
This project is a Ruby binding for that library with the library embedded.
## License
This software is licensed under the MIT License. [View the license](LICENSE).
<|file_sep|>current/RE... | 7edac0b4340c514c140215ecf0827bd964e54b74 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
- DJANGO_VERSION=Django==1.3.5
- DJANGO_VERSION=Django==1.4.3
# 1.5 release candidate
- DJANGO_VERSION=git+git://github.com/django/django.git@f23d3ce8d47cc3ec58cb7fb1b32d3d3237c025f5
# Exclude some Django releases depending on Python version
matrix:
exclude:
- python: 3.2
... | - DJANGO_VERSION=Django==1.4.3
# 1.5 release candidate
- DJANGO_VERSION=git+git://github.com/django/django.git@f23d3ce8d47cc3ec58cb7fb1b32d3d3237c025f5
# Exclude some Django releases depending on Python version
matrix:
exclude:
- python: 3.2
env: DJANGO_VERSION=Django==1.3.5
- python: 3.2
en... | <|file_sep|>original/.travis.yml
- DJANGO_VERSION=Django==1.3.5
- DJANGO_VERSION=Django==1.4.3
# 1.5 release candidate
- DJANGO_VERSION=git+git://github.com/django/django.git@f23d3ce8d47cc3ec58cb7fb1b32d3d3237c025f5
# Exclude some Django releases depending on Python version
matrix:
exclude:
- python: 3.2
... | 2803f6c81befbed9a36e071bd8c85797842a23c8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>docker_push.sh.diff
original:
updated:
<|file_sep|>original/docker_push.sh
#!/usr/bin/env bash
docker login -u $DOCKER_USER -p $DOCKER_PASS
export REPO=wwwthoughtworks/build-your-own-radar
export TAG=latest
export COMMIT=${CIRCLE_SHA1:0:8}
docker build -f Dockerfile -t $REPO:$COMMIT .
docker tag $REPO:$C... | #!/usr/bin/env bash
docker login -u $DOCKER_USER -p $DOCKER_PASS
export REPO=wwwthoughtworks/build-your-own-radar
export TAG=${CIRCLE_SHA1:0:8}
docker build -f Dockerfile -t $REPO:latest .
docker tag $REPO:latest $REPO:$TAG
docker push $REPO:latest
docker push $REPO:$TAG | <|file_sep|>docker_push.sh.diff
original:
updated:
<|file_sep|>original/docker_push.sh
#!/usr/bin/env bash
docker login -u $DOCKER_USER -p $DOCKER_PASS
export REPO=wwwthoughtworks/build-your-own-radar
export TAG=latest
export COMMIT=${CIRCLE_SHA1:0:8}
docker build -f Dockerfile -t $REPO:$COMMIT .
docker tag $REPO:$C... | 5efecb685dd6e072aef9e7aac16d23972d15846c | docker_push.sh | docker_push.sh | Shell |
<|file_sep|>original/packages/regenerator-transform/package.json
{
"name": "regenerator-transform",
"author": "Ben Newman <bn@cs.stanford.edu>",
"description": "Explode async and generator functions into a state machine.",
"version": "0.13.0",
"main": "lib/index.js",
"keywords": [
"regenerator",
"ru... | {
"name": "regenerator-transform",
"author": "Ben Newman <bn@cs.stanford.edu>",
"description": "Explode async and generator functions into a state machine.",
"version": "0.13.1",
"main": "lib/index.js",
"keywords": [
"regenerator",
"runtime",
"generator",
"async"
],
"repository": {
"... | <|file_sep|>original/packages/regenerator-transform/package.json
{
"name": "regenerator-transform",
"author": "Ben Newman <bn@cs.stanford.edu>",
"description": "Explode async and generator functions into a state machine.",
"version": "0.13.0",
"main": "lib/index.js",
"keywords": [
"regenerator",
"ru... | 475aa8b61f3178d4ab9e9a3d83347df271fe1336 | packages/regenerator-transform/package.json | packages/regenerator-transform/package.json | JSON |
<|file_sep|>original/test/APINotes/obsoleted.swift
// RUN: not %target-swift-frontend -typecheck -verify -I %S/Inputs/custom-modules -F %S/Inputs/custom-frameworks -swift-version 3 %s
// RUN: %target-swift-frontend -typecheck -verify -I %S/Inputs/custom-modules -F %S/Inputs/custom-frameworks -swift-version 4.2 %s
// RU... | // RUN: not %target-swift-frontend -typecheck -verify -I %S/Inputs/custom-modules -F %S/Inputs/custom-frameworks -swift-version 3 %s
// RUN: %target-swift-frontend -typecheck -verify -I %S/Inputs/custom-modules -F %S/Inputs/custom-frameworks -swift-version 4.2 %s
// RUN: %target-swift-frontend -typecheck -verify -I %S/... | <|file_sep|>original/test/APINotes/obsoleted.swift
// RUN: not %target-swift-frontend -typecheck -verify -I %S/Inputs/custom-modules -F %S/Inputs/custom-frameworks -swift-version 3 %s
// RUN: %target-swift-frontend -typecheck -verify -I %S/Inputs/custom-modules -F %S/Inputs/custom-frameworks -swift-version 4.2 %s
// RU... | 836e6c11e8905327191f37f177389116911bef4a | test/APINotes/obsoleted.swift | test/APINotes/obsoleted.swift | Swift |
<|file_sep|>includes/i18n.php.diff
original:
if (defined("LANGUAGE"))
{
$language = LANGUAGE;
}
elseif (isset($_GET["lang"]))
updated:
if (isset($_GET["lang"]))
<|file_sep|>original/includes/i18n.php
return Translation::translate($message);
}
if (defined("LANGUAGE"))
{
$language = LANGUAGE;
}
elseif (isset($_GET["l... | {
$language = $_GET["lang"];
}
elseif (class_exists("Locale"))// Locale class is part of the Internationalization (intl) PECL extension
{
$language = Locale::lookup(array
(
"de",
"en"
), Locale::acceptFromHttp($_SERVER["HTTP_ACCEPT_LANGUAGE"]));
}
elseif (defined("LANGUAGE"))
{
$language = LANGUAGE;
}
else
{
... | <|file_sep|>includes/i18n.php.diff
original:
if (defined("LANGUAGE"))
{
$language = LANGUAGE;
}
elseif (isset($_GET["lang"]))
updated:
if (isset($_GET["lang"]))
<|file_sep|>original/includes/i18n.php
return Translation::translate($message);
}
if (defined("LANGUAGE"))
{
$language = LANGUAGE;
}
elseif (isset($_GET["l... | 69407d55c89e54ba9908abadd0a4b8060673c253 | includes/i18n.php | includes/i18n.php | PHP |
<|file_sep|>src/protocol/message/compression/index.js.diff
original:
updated:
const MESSAGE_CODEC_MASK = 0x3
const RECORD_BATCH_CODEC_MASK = 0x07
<|file_sep|>src/protocol/message/compression/index.js.diff
original:
const codec = Codecs[attributes & 0x3]
updated:
const codec = Codecs[attributes & MESSAGE_CODEC_MAS... | throw new KafkaJSNotImplemented('LZ4 compression not implemented')
},
}
const lookupCodec = type => (Codecs[type] ? Codecs[type]() : null)
const lookupCodecByAttributes = attributes => {
const codec = Codecs[attributes & MESSAGE_CODEC_MASK]
return codec ? codec() : null
}
const lookupCodecByRecordBatchAttrib... | <|file_sep|>src/protocol/message/compression/index.js.diff
original:
updated:
const MESSAGE_CODEC_MASK = 0x3
const RECORD_BATCH_CODEC_MASK = 0x07
<|file_sep|>src/protocol/message/compression/index.js.diff
original:
const codec = Codecs[attributes & 0x3]
updated:
const codec = Codecs[attributes & MESSAGE_CODEC_MAS... | 5b365981625964aa609f80fa622a0372d558a368 | src/protocol/message/compression/index.js | src/protocol/message/compression/index.js | JavaScript |
<|file_sep|>app/models/topic.rb.diff
original:
# def responses_json
# self.charts.map { |c| { chart: c, responses: bucketize_responses(c.responses) } }
# end
updated:
<|file_sep|>app/models/topic.rb.diff
original:
keyed_json = {}
updated:
timeline_array = Array.new(30) { Hash.new }
<|file_sep|>app/mod... | class Topic < ActiveRecord::Base
has_many :charts
has_many :responses, through: :charts
validates_presence_of :name
include ResponsesHelper
def responses_json
timeline_array = Array.new(30) { Hash.new }
self.charts.each do |c|
response_chunks = bucketize_responses(c.responses)
response_... | <|file_sep|>app/models/topic.rb.diff
original:
# def responses_json
# self.charts.map { |c| { chart: c, responses: bucketize_responses(c.responses) } }
# end
updated:
<|file_sep|>app/models/topic.rb.diff
original:
keyed_json = {}
updated:
timeline_array = Array.new(30) { Hash.new }
<|file_sep|>app/mod... | e4d2d4cc203b5dd5eb9739a46741aadb57fae20e | app/models/topic.rb | app/models/topic.rb | Ruby |
<|file_sep|>appveyor.yml.diff
original:
- C:\container
- C:\Python27
updated:
- C:\container -> appveyor.yml
- C:\Python27 -> appveyor.yml
- C:\Python34 -> appveyor.yml
<|file_sep|>original/appveyor.yml
- PYTHON: "C:/Python34"
- PYTHON: "C:/Python27"
cache:
- C:\container
- C:\Python27
install:
- ps: ... | - PYTHON: "C:/Python34"
- PYTHON: "C:/Python27"
cache:
- C:\container -> appveyor.yml
- C:\Python27 -> appveyor.yml
- C:\Python34 -> appveyor.yml
install:
- ps: $env:PATH="${env:PYTHON};${env:PYTHON}/Scripts;${env:PATH};C:/MinGW/bin"
- ps: $env:POLYSQUARE_PREINSTALLED_PYTHON="C:/Python34"
- ps: wget pub... | <|file_sep|>appveyor.yml.diff
original:
- C:\container
- C:\Python27
updated:
- C:\container -> appveyor.yml
- C:\Python27 -> appveyor.yml
- C:\Python34 -> appveyor.yml
<|file_sep|>original/appveyor.yml
- PYTHON: "C:/Python34"
- PYTHON: "C:/Python27"
cache:
- C:\container
- C:\Python27
install:
- ps: ... | 359db8788a2f4b895072a5cc8c88d68ad384195e | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>setup/create_players.py.diff
original:
updated:
from db.team import Team
from utils.player_finder import PlayerFinder
<|file_sep|>original/setup/create_players.py
last_name = migration_data[player_id]['last_name']
first_name = migration_data[player_id]['first_name']
position = migra... | plr = Player(
player_id, last_name, first_name, position,
alternate_last_names=alternate_last_names,
alternate_first_names=alternate_first_names,
alternate_positions=alternate_positions
)
print("Working on %s" % plr)
commit_db_item(plr)
... | <|file_sep|>setup/create_players.py.diff
original:
updated:
from db.team import Team
from utils.player_finder import PlayerFinder
<|file_sep|>original/setup/create_players.py
last_name = migration_data[player_id]['last_name']
first_name = migration_data[player_id]['first_name']
position = migra... | 9d1a5932ad25b075b095f170c1b374e46b6f740b | setup/create_players.py | setup/create_players.py | Python |
<|file_sep|>original/requirements/base.txt
django==1.9
requests==2.9.1
pyyaml==3.11
redis==2.10.5
markdown==2.6.5
python-social-auth==0.2.13
django-pipeline==1.6.3
django-extensions==1.6.1
django-basis==0.4.0
djangorestframework==3.2.5
django-flat-theme==1.1.3
manifesto==0.5
psycopg2==2.6.1
django-statsd-mozilla==0.3.1... | django==1.9
requests==2.9.1
pyyaml==3.11
redis==2.10.5
markdown==2.6.5
python-social-auth==0.2.13
django-pipeline==1.6.4
django-extensions==1.6.1
django-basis==0.4.0
djangorestframework==3.2.5
django-flat-theme==1.1.3
manifesto==0.5
psycopg2==2.6.1
django-statsd-mozilla==0.3.16 | <|file_sep|>original/requirements/base.txt
django==1.9
requests==2.9.1
pyyaml==3.11
redis==2.10.5
markdown==2.6.5
python-social-auth==0.2.13
django-pipeline==1.6.3
django-extensions==1.6.1
django-basis==0.4.0
djangorestframework==3.2.5
django-flat-theme==1.1.3
manifesto==0.5
psycopg2==2.6.1
django-statsd-mozilla==0.3.1... | e2359ed7f0df2d2e8924cbb71af557d4099f21b8 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/.travis.yml
language: erlang
otp_release:
- R15B02
- R15B01
- R14B04
- R14B03
<|file_sep|>current/.travis.yml
language: erlang
otp_release:
- R15B02
- R15B01
- R14B04
- R14B03
<|file_sep|>updated/.travis.yml | language: erlang
otp_release:
- R16B
- R15B02
- R15B01
- R14B04
- R14B03 | <|file_sep|>original/.travis.yml
language: erlang
otp_release:
- R15B02
- R15B01
- R14B04
- R14B03
<|file_sep|>current/.travis.yml
language: erlang
otp_release:
- R15B02
- R15B01
- R14B04
- R14B03
<|file_sep|>updated/.travis.yml
language: erlang
otp_release:
- R16B
- R15B02
- R15B01
- R14B04
-... | 56d62f915ca8d0bd72cbb79333dc575819a96925 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/rxbinding/src/androidTest/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.jakewharton.rxbinding2">
<application>
<activity android:name="com.jakewharton.rxbinding2.view.RxViewAttachTestActivity"... | <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.jakewharton.rxbinding2">
<application>
<activity android:name="com.jakewharton.rxbinding2.view.RxViewAttachTestActivity"/>
<activity android:name="com.jakewharton.rxbinding2.view.RxVie... | <|file_sep|>original/rxbinding/src/androidTest/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.jakewharton.rxbinding2">
<application>
<activity android:name="com.jakewharton.rxbinding2.view.RxViewAttachTestActivity"... | 4abec11ef26ac3af87052c7187a57ebbbfd45262 | rxbinding/src/androidTest/AndroidManifest.xml | rxbinding/src/androidTest/AndroidManifest.xml | XML |
<|file_sep|>original/spec/test_classes.rb
class Article
attr_reader :title, :body
def initialize title="Title", body="Body", author=nil
@title = title
@body = body
end
end
class ArticleMapper < Perpetuity::Mapper
attribute :title, String
attribute :body, String
end
class User
attr_accessor :name
... | class Article
attr_accessor :title, :body
def initialize title="Title", body="Body", author=nil
@title = title
@body = body
end
end
class ArticleMapper < Perpetuity::Mapper
attribute :title, String
attribute :body, String
end
class User
attr_accessor :name
def initialize name="Foo"
@name = n... | <|file_sep|>original/spec/test_classes.rb
class Article
attr_reader :title, :body
def initialize title="Title", body="Body", author=nil
@title = title
@body = body
end
end
class ArticleMapper < Perpetuity::Mapper
attribute :title, String
attribute :body, String
end
class User
attr_accessor :name
... | 7d18c18d31c63658f49827e377d4a93b7ae11747 | spec/test_classes.rb | spec/test_classes.rb | Ruby |
<|file_sep|>client/helpers.js.diff
original:
if (this.createdAt < daysUntilExpiration() && this.updatedAt < daysUntilExpiration()) {
updated:
if ((this.createdAt < daysUntilExpiration()) && (this.updatedAt < daysUntilExpiration())) {
<|file_sep|>original/client/helpers.js
if(timestamp)
return moment(... | if(timestamp)
return moment(timestamp).format('M/D/YY h:mm:ss A');
});
UI.registerHelper("getCurrentUserDisplayName", function() {
return getUserName(Meteor.user());
});
Template.expiredAlert.expired = function() {
if (this.userId == Meteor.userId()) {
if ((this.createdAt < daysUntilExpiration()) && (... | <|file_sep|>client/helpers.js.diff
original:
if (this.createdAt < daysUntilExpiration() && this.updatedAt < daysUntilExpiration()) {
updated:
if ((this.createdAt < daysUntilExpiration()) && (this.updatedAt < daysUntilExpiration())) {
<|file_sep|>original/client/helpers.js
if(timestamp)
return moment(... | 1d4c30f07dfce5726fd78b25234865d9ab26b4ce | client/helpers.js | client/helpers.js | JavaScript |
<|file_sep|>tox.ini.diff
original:
updated:
skip_install = True
<|file_sep|>original/tox.ini
[tox]
envlist = py36,pycodestyle,pyflakes
[testenv]
commands =
python setup.py test
[testenv:pycodestyle]
basepython = python3
deps =
pycodestyle
commands =
pycodestyle verktyg_sqlalchemy setup.py
[testenv:pyfla... | envlist = py36,pycodestyle,pyflakes
[testenv]
commands =
python setup.py test
[testenv:pycodestyle]
basepython = python3
deps =
pycodestyle
skip_install = True
commands =
pycodestyle verktyg_sqlalchemy setup.py
[testenv:pyflakes]
basepython = python3
deps =
pyflakes
skip_install = True
commands =
... | <|file_sep|>tox.ini.diff
original:
updated:
skip_install = True
<|file_sep|>original/tox.ini
[tox]
envlist = py36,pycodestyle,pyflakes
[testenv]
commands =
python setup.py test
[testenv:pycodestyle]
basepython = python3
deps =
pycodestyle
commands =
pycodestyle verktyg_sqlalchemy setup.py
[testenv:pyfla... | a7479883f4b4839f2c886805d634ae385690cf72 | tox.ini | tox.ini | INI |
<|file_sep|>original/README.md
# Go Fish
Go Fish is a rules engine built in Golang. It provides the capability to write rules in Go as Go Plugins, which are dynamically linked at runtime.
<|file_sep|>current/README.md
# Go Fish
Go Fish is a rules engine built in Golang. It provides the capability to write rules in Go... | # Go Fish
Go Fish is a rules engine built in Golang. It provides the capability to write rules in Go as Go Plugins, which are dynamically linked at runtime.
## Bare minimum
The bare minimum to have a working example requires you to create a Rule, an Event Type.
These must be compiled as plugins and the path to the c... | <|file_sep|>original/README.md
# Go Fish
Go Fish is a rules engine built in Golang. It provides the capability to write rules in Go as Go Plugins, which are dynamically linked at runtime.
<|file_sep|>current/README.md
# Go Fish
Go Fish is a rules engine built in Golang. It provides the capability to write rules in Go... | 32eb8cda0d74eae13cbffcf77644f7e7ca1177e9 | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
django-compressor==2.1.1
django-debug-toolbar==1.8
django-imagekit==4.0.1
django-querycount==0.6.0
freezegun==0.3.9
funcy==1.8
olefile==0.44
packaging==16.8
pilkit==2.0
Pillow==4.2.1
psycopg2==2.7.2
pyparsing==2.2.0
python-dateutil==2.6.1
pytz==2017.2
raven==6.1.0
rcssmin==1.0.6
re... | django-compressor==2.1.1
django-debug-toolbar==1.8
django-imagekit==4.0.1
django-querycount==0.6.0
freezegun==0.3.9
funcy==1.8
olefile==0.44
packaging==16.8
pilkit==2.0
Pillow==4.2.1
psycopg2==2.7.2
pyparsing==2.2.0
python-dateutil==2.6.1
pytz==2017.2
raven==6.1.0
rcssmin==1.0.6
redis==2.10.6
rjsmin==1.0.12
six==1.10.0... | <|file_sep|>original/requirements.txt
django-compressor==2.1.1
django-debug-toolbar==1.8
django-imagekit==4.0.1
django-querycount==0.6.0
freezegun==0.3.9
funcy==1.8
olefile==0.44
packaging==16.8
pilkit==2.0
Pillow==4.2.1
psycopg2==2.7.2
pyparsing==2.2.0
python-dateutil==2.6.1
pytz==2017.2
raven==6.1.0
rcssmin==1.0.6
re... | 62eea98ab7e81d61d5cf1355e624edbc86aeb074 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/config/interface/slides/data_export.yml
sidebar_item_key: data_export
alt_output_element_key: merit_order_price_curve
output_element_key: merit_order_price_curve
- key: data_export_application_demands
position: 2
sidebar_item_key: data_export
output_element_key: use_of_primary_energy
- ... | sidebar_item_key: data_export
alt_output_element_key: merit_order_price_curve
output_element_key: merit_order_price_curve
- key: data_export_application_demands
position: 2
sidebar_item_key: data_export
output_element_key: use_of_primary_energy
- key: data_export_production
position: 3
sidebar_item_key:... | <|file_sep|>original/config/interface/slides/data_export.yml
sidebar_item_key: data_export
alt_output_element_key: merit_order_price_curve
output_element_key: merit_order_price_curve
- key: data_export_application_demands
position: 2
sidebar_item_key: data_export
output_element_key: use_of_primary_energy
- ... | dfa7e2bce89851e952e589ebb2380259561b8425 | config/interface/slides/data_export.yml | config/interface/slides/data_export.yml | YAML |
<|file_sep|>original/algorithms/bit-manipulation/ManipulativeNumbers.scala
<|file_sep|>current/algorithms/bit-manipulation/ManipulativeNumbers.scala
<|file_sep|>updated/algorithms/bit-manipulation/ManipulativeNumbers.scala | object Solution {
import scala.collection.mutable.HashMap
// see
// http://stackoverflow.com/questions/11161465/existence-of-a-permutation-under-constraints-interview-street-manipulative-nu
// the second answer(Tuxdude's)
def manipulativeK(nums: Array[Int]): Int = {
val n = nums.size
val maxBits = nu... | <|file_sep|>original/algorithms/bit-manipulation/ManipulativeNumbers.scala
<|file_sep|>current/algorithms/bit-manipulation/ManipulativeNumbers.scala
<|file_sep|>updated/algorithms/bit-manipulation/ManipulativeNumbers.scala
object Solution {
import scala.collection.mutable.HashMap
// see
// http://stackoverflow... | 699c777b7cada28953eceace81e70a5df4fad388 | algorithms/bit-manipulation/ManipulativeNumbers.scala | algorithms/bit-manipulation/ManipulativeNumbers.scala | Scala |
<|file_sep|>original/app/controllers/taverna_player/job_queue_controller.rb
<|file_sep|>current/app/controllers/taverna_player/job_queue_controller.rb
<|file_sep|>updated/app/controllers/taverna_player/job_queue_controller.rb |
module TavernaPlayer
class JobQueueController < TavernaPlayer::ApplicationController
before_filter :login_required
before_filter :is_user_admin_auth
include TavernaPlayer::Concerns::Controllers::JobQueueController
end
end | <|file_sep|>original/app/controllers/taverna_player/job_queue_controller.rb
<|file_sep|>current/app/controllers/taverna_player/job_queue_controller.rb
<|file_sep|>updated/app/controllers/taverna_player/job_queue_controller.rb
module TavernaPlayer
class JobQueueController < TavernaPlayer::ApplicationController
... | 9ab295cde70f4c722d8bd8aa40f2cd9db56e655d | app/controllers/taverna_player/job_queue_controller.rb | app/controllers/taverna_player/job_queue_controller.rb | Ruby |
<|file_sep|>original/samples/Exercise7.java
<|file_sep|>current/samples/Exercise7.java
<|file_sep|>updated/samples/Exercise7.java | import java.util.*;
public class Exercise7
{
public static void main(String[] args)
{
Random random = new Random();
GameArena a;
Ball balls[];
int ballCount;
int maxSpeed = 5;
try
{
ballCount = Integer.parseInt(args[0]);
balls = new Ba... | <|file_sep|>original/samples/Exercise7.java
<|file_sep|>current/samples/Exercise7.java
<|file_sep|>updated/samples/Exercise7.java
import java.util.*;
public class Exercise7
{
public static void main(String[] args)
{
Random random = new Random();
GameArena a;
Ball balls[];
int ballCount;
... | 6418510b76dc2a23ab41e54ec1f575f793f5985b | samples/Exercise7.java | samples/Exercise7.java | Java |
<|file_sep|>app/views/renalware/hd/ongoing_sessions/_filters.html.slim.diff
original:
.small-8.medium-5.large-3.columns
updated:
.small-4.medium-3.large-2.columns
<|file_sep|>original/app/views/renalware/hd/ongoing_sessions/_filters.html.slim
.search-form.filters
= simple_form_for query,
... | url: hd_ongoing_sessions_path,
html: { autocomplete: "off" },
method: :get do |f|
.row
.small-4.medium-3.large-2.columns
= f.label "Unit"
= f.grouped_collection_select :hospital_unit_id_eq,
Renalware::Hospitals::Centre.wit... | <|file_sep|>app/views/renalware/hd/ongoing_sessions/_filters.html.slim.diff
original:
.small-8.medium-5.large-3.columns
updated:
.small-4.medium-3.large-2.columns
<|file_sep|>original/app/views/renalware/hd/ongoing_sessions/_filters.html.slim
.search-form.filters
= simple_form_for query,
... | f88dd0481fffcd28c85ed76e8c25654d259341b3 | app/views/renalware/hd/ongoing_sessions/_filters.html.slim | app/views/renalware/hd/ongoing_sessions/_filters.html.slim | Slim |
<|file_sep|>.travis.yml.diff
original:
updated:
- pip install flake8
<|file_sep|>original/.travis.yml
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
notifications:
email: false
addons:
apt:
packages:
- golang
before_install:
- export GOPATH=~/go
- go get github.com/uiri/toml-test
instal... | - "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
notifications:
email: false
addons:
apt:
packages:
- golang
before_install:
- export GOPATH=~/go
- go get github.com/uiri/toml-test
- pip install flake8
install:
- python setup.py install
- chmod +x ./tests/*.sh
script:
- ~/go/bin/toml-test ./tests/decodin... | <|file_sep|>.travis.yml.diff
original:
updated:
- pip install flake8
<|file_sep|>original/.travis.yml
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
notifications:
email: false
addons:
apt:
packages:
- golang
before_install:
- export GOPATH=~/go
- go get github.com/uiri/toml-test
instal... | ca9f42aaacf0dd4f77c82d90eb55bc886ae26db5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
---
language: erlang
script:
- printf "I am draining travis from this project, we will always pass. Please check GitHub actions when you want to add additional checks"
<|file_sep|>current/.travis.yml
---
language: erlang
script:
- printf "I am draining travis from this project, we will ... | ---
language: erlang
script:
- printf "We are draining travis from this project, we will always pass. Please check GitHub actions when you want to add additional checks" | <|file_sep|>original/.travis.yml
---
language: erlang
script:
- printf "I am draining travis from this project, we will always pass. Please check GitHub actions when you want to add additional checks"
<|file_sep|>current/.travis.yml
---
language: erlang
script:
- printf "I am draining travis from this project, we will ... | acf42483d00d3b0ade4dee194b92b218f98549f7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
- COMPOSER_OPTIONS="--prefer-lowest"
- php: 5.4
- php: 5.5
- php: 5.6
env:
- TEST_COVERAGE=true
- php: 7.0
- php: 7.1
- php: hhvm
allow_failures:
- php: hhvm
fast_finish: true
before_script:
- if [[ $TEST_COVERAGE ]]; then PHPUNI... | - COMPOSER_OPTIONS="--prefer-lowest"
- php: 5.4
- php: 5.5
- php: 5.6
env:
- TEST_COVERAGE=true
- php: 7.0
- php: 7.1
- php: hhvm
allow_failures:
- php: 7.1
- php: hhvm
fast_finish: true
before_script:
- if [[ $TEST_COVERAGE ]]; then PHPUNIT_FLAGS="--coverag... | <|file_sep|>original/.travis.yml
- COMPOSER_OPTIONS="--prefer-lowest"
- php: 5.4
- php: 5.5
- php: 5.6
env:
- TEST_COVERAGE=true
- php: 7.0
- php: 7.1
- php: hhvm
allow_failures:
- php: hhvm
fast_finish: true
before_script:
- if [[ $TEST_COVERAGE ]]; then PHPUNI... | ccf57147ba14fd4723dec6c6c43c9c29a29b0289 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/pah/partials/_gems.rb
in_root do
gsub_file 'Gemfile', /RAILS_VERSION/, ::Pah::RAILS_VERSION
# Since the gemset is likely empty, manually install bundler so it can install the rest
if !(run "gem install bundler --no-ri --no-rdoc")
puts "Error installing bundler, will attempt to conti... |
in_root do
gsub_file 'Gemfile', /RAILS_VERSION/, ::Pah::RAILS_VERSION
# Since the gemset is likely empty, manually install bundler so it can install the rest
if !(run "gem install bundler --no-ri --no-rdoc")
puts "Error installing bundler, will attempt to continue"
end
# Install all other gems needed f... | <|file_sep|>original/lib/pah/partials/_gems.rb
in_root do
gsub_file 'Gemfile', /RAILS_VERSION/, ::Pah::RAILS_VERSION
# Since the gemset is likely empty, manually install bundler so it can install the rest
if !(run "gem install bundler --no-ri --no-rdoc")
puts "Error installing bundler, will attempt to conti... | 6920e5c2261c0df68bf2be86616d806a34a48eef | lib/pah/partials/_gems.rb | lib/pah/partials/_gems.rb | Ruby |
<|file_sep|>original/src/Dotnet.Script.Core/ScriptDownloader.cs
namespace Dotnet.Script.Core
{
public class ScriptDownloader
{
public async Task<string> Download(string uri)
{
const string plainTextMediaType = "text/plain";
using (HttpClient client = new HttpClient())
... |
namespace Dotnet.Script.Core
{
public class ScriptDownloader
{
public async Task<string> Download(string uri)
{
const string plainTextMediaType = "text/plain";
using (HttpClient client = new HttpClient())
{
using (HttpResponseMessage response ... | <|file_sep|>original/src/Dotnet.Script.Core/ScriptDownloader.cs
namespace Dotnet.Script.Core
{
public class ScriptDownloader
{
public async Task<string> Download(string uri)
{
const string plainTextMediaType = "text/plain";
using (HttpClient client = new HttpClient())
... | 36aa4a3bbe8ebc56fb082a399c2614611cc6c295 | src/Dotnet.Script.Core/ScriptDownloader.cs | src/Dotnet.Script.Core/ScriptDownloader.cs | C# |
<|file_sep|>original/misc/modify_engb_locale_dates.sh
#!/bin/sh
# Copyright © Jonathan G. Rennison 2014 <j.g.rennison@gmail.com>
# License: New BSD License, see BSD-LICENSE.txt
# This script installs a replacement modified en_GB locale which uses ISO 8601 dates
THISDIR="$(readlink -f $(dirname "$0"))"
if [ -e "/usr... | #!/bin/bash
# Copyright © Jonathan G. Rennison 2014 <j.g.rennison@gmail.com>
# License: New BSD License, see BSD-LICENSE.txt
# This script installs a replacement modified en_GB locale which uses ISO 8601 dates
THISDIR="$(readlink -f $(dirname "$0"))"
if [ -e "/usr/share/i18n/locales/en_GB.orig" ]; then
echo "Seems... | <|file_sep|>original/misc/modify_engb_locale_dates.sh
#!/bin/sh
# Copyright © Jonathan G. Rennison 2014 <j.g.rennison@gmail.com>
# License: New BSD License, see BSD-LICENSE.txt
# This script installs a replacement modified en_GB locale which uses ISO 8601 dates
THISDIR="$(readlink -f $(dirname "$0"))"
if [ -e "/usr... | 0d6d6e4b0fa60779ac01d022711ea9da13ccfcde | misc/modify_engb_locale_dates.sh | misc/modify_engb_locale_dates.sh | Shell |
<|file_sep|>original/README.md
## PyBIDS
[](https://travis-ci.org/INCF/pybids)
[](https://ci.appveyor.com/project/chrisfilo/pybids-ilb80)
[... | ## PyBIDS
[](https://travis-ci.org/INCF/pybids)
[](https://ci.appveyor.com/project/chrisfilo/pybids-ilb80)
[](https://travis-ci.org/INCF/pybids.svg?branch=master)](https://travis-ci.org/INCF/pybids)
[](https://ci.appveyor.com/project/chrisfilo/pybids-ilb80)
[... | d77e3d5225cbc4804a80525e36c3272d5c4fd763 | README.md | README.md | Markdown |
<|file_sep|>original/change-notes/1.19/analysis-python.md
<|file_sep|>current/change-notes/1.19/analysis-python.md
<|file_sep|>updated/change-notes/1.19/analysis-python.md | # Improvements to Python analysis
## General improvements
> Changes that affect alerts in many files or from many queries
> For example, changes to file classification
## New queries
| **Query** | **Tags** | **Purpose** |
|------------------... | <|file_sep|>original/change-notes/1.19/analysis-python.md
<|file_sep|>current/change-notes/1.19/analysis-python.md
<|file_sep|>updated/change-notes/1.19/analysis-python.md
# Improvements to Python analysis
## General improvements
> Changes that affect alerts in many files or from many queries
> For example, change... | 2ac2233e695efbb793adfeb86390727c32bcf032 | change-notes/1.19/analysis-python.md | change-notes/1.19/analysis-python.md | Markdown |
<|file_sep|>samples/StringParser.idr.diff
original:
updated:
pureParsing : String -> Either String (List Char)
pureParsing str = parse (many (satisfy isDigit)) str
<|file_sep|>original/samples/StringParser.idr
lift $ putStrLn "hiya"
b <- string "def"
pure ()
main : IO ... |
main : IO ()
main = do
res <- parseT parseStuff "abcdef"
res <- parseT (string "hi") "hideous"
case res of
Left err => putStrLn "NOOOOOOO!"
Right () => putStrLn "YEEEES!"
digs <- parseT (satisfy isDigit) "8878993"
case digs of
Left err => putStrLn "NOOOOOOO!"
Right d... | <|file_sep|>samples/StringParser.idr.diff
original:
updated:
pureParsing : String -> Either String (List Char)
pureParsing str = parse (many (satisfy isDigit)) str
<|file_sep|>original/samples/StringParser.idr
lift $ putStrLn "hiya"
b <- string "def"
pure ()
main : IO ... | a78ee1dfcac48549542e2399db30562e8c5a2e9c | samples/StringParser.idr | samples/StringParser.idr | Idris |
<|file_sep|>original/settings.gradle.kts
pluginManagement {
repositories {
gradlePluginPortal()
}
plugins {
id("com.diffplug.eclipse.apt") version "3.36.2"
id("com.diffplug.spotless") version "6.6.1"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("net.... | pluginManagement {
repositories {
gradlePluginPortal()
}
plugins {
id("com.diffplug.eclipse.apt") version "3.36.2"
id("com.diffplug.spotless") version "6.7.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("net.researchgate.release") version "2.8.1"
... | <|file_sep|>original/settings.gradle.kts
pluginManagement {
repositories {
gradlePluginPortal()
}
plugins {
id("com.diffplug.eclipse.apt") version "3.36.2"
id("com.diffplug.spotless") version "6.6.1"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("net.... | f0a9230fe4353aad275cad720ea483f2b3543d09 | settings.gradle.kts | settings.gradle.kts | Kotlin |
<|file_sep|>test/projects/less-project/source/styles/style.less.diff
original:
// Subsection
//
// Styleguide 2.1
// Another subsection
//
// Styleguide 2.1.1
updated:
<|file_sep|>original/test/projects/less-project/source/styles/style.less
// Section without markup
//
// Styleguide 3.0
.test-css {color: purple;}
... |
.test-css {color: purple;}
// Section with multiple variables
//
// Markup:
// <div class="section">Section markup</div>
//
// Styleguide 4.0
.section1 {
color: @color-red;
}
.section2 {
background-color: @color-green;
}
.section3 {
border: 1px solid @color-blue;
} | <|file_sep|>test/projects/less-project/source/styles/style.less.diff
original:
// Subsection
//
// Styleguide 2.1
// Another subsection
//
// Styleguide 2.1.1
updated:
<|file_sep|>original/test/projects/less-project/source/styles/style.less
// Section without markup
//
// Styleguide 3.0
.test-css {color: purple;}
... | 82feef7a684164e2d985368b96cf58abe86ab203 | test/projects/less-project/source/styles/style.less | test/projects/less-project/source/styles/style.less | Less |
<|file_sep|>original/functions/real-users-in-group.fish
<|file_sep|>current/functions/real-users-in-group.fish
<|file_sep|>updated/functions/real-users-in-group.fish | function real-users-in-group --argument group
if empty "$group"
usage real-users-in-group '<group>'
return (false)
end
print-status real-users-in-group "$argv"
aws iam get-group --group-name "$group" | jq --raw-output .Users[].UserName | sort
end | <|file_sep|>original/functions/real-users-in-group.fish
<|file_sep|>current/functions/real-users-in-group.fish
<|file_sep|>updated/functions/real-users-in-group.fish
function real-users-in-group --argument group
if empty "$group"
usage real-users-in-group '<group>'
return (false)
end
prin... | c0433c1f73a40c7f94aee586e36c608b3a653cdc | functions/real-users-in-group.fish | functions/real-users-in-group.fish | fish |
<|file_sep|>original/test/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep sub &&
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep add
<4 x float> %test(<4 x float> %tmp26, <4 x float> %tmp53) {
; (X+Y)-Y != X for fp vectors.
%tmp64 = add <4 x f... | ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep sub &&
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep add
<4 x float> %test(<4 x float> %tmp26, <4 x float> %tmp53) {
; (X+Y)-Y != X for fp vectors.
%tmp64 = add <4 x float> %tmp26, %tmp53
%tmp75 = sub <4 x float> %t... | <|file_sep|>original/test/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep sub &&
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep add
<4 x float> %test(<4 x float> %tmp26, <4 x float> %tmp53) {
; (X+Y)-Y != X for fp vectors.
%tmp64 = add <4 x f... | 7a33f8d7cd48c7ab545094d342bca3a6e93ed1a0 | test/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll | test/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll | LLVM |
<|file_sep|>original/valuenetwork/local_settings_development.py
TEMPLATE_DEBUG = DEBUG
#this is nice for development
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'valuenetwork.sqlite'
}
}
# valueaccounting settings can be overridden
USE_WORK_NOW = False
SUBSTITUT... | #this is nice for development
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'valuenetwork.sqlite'
}
}
# valueaccounting settings can be overridden
USE_WORK_NOW = False
SUBSTITUTABLE_DEFAULT = False
STATIC_URL = "/static/"
#example: Greece
MAP_LATITUDE = 38.274949... | <|file_sep|>original/valuenetwork/local_settings_development.py
TEMPLATE_DEBUG = DEBUG
#this is nice for development
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'valuenetwork.sqlite'
}
}
# valueaccounting settings can be overridden
USE_WORK_NOW = False
SUBSTITUT... | db4611b6e3585321e84876332ac84a26ec623ae9 | valuenetwork/local_settings_development.py | valuenetwork/local_settings_development.py | Python |
<|file_sep|>.travis.yml.diff
original:
osx_image: xcode9.3
updated:
osx_image: xcode9.4
<|file_sep|>.travis.yml.diff
original:
- SDK=iphonesimulator11.3
updated:
- SDK=iphonesimulator11.4
<|file_sep|>original/.travis.yml
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- WORKSPACE=ContactsWrapper.xcwo... | env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- WORKSPACE=ContactsWrapper.xcworkspace
- SCHEME=ContactsWrapper
- SDK=iphonesimulator11.4
- RUN_TESTS="YES"
- POD_LINT="NO"
matrix:
- DESTINATION="OS=11.4,name=iPhone 8"
- DESTINATION="OS=10.3.1,name=iPhone 6"
before_install:
- rm -rf /U... | <|file_sep|>.travis.yml.diff
original:
osx_image: xcode9.3
updated:
osx_image: xcode9.4
<|file_sep|>.travis.yml.diff
original:
- SDK=iphonesimulator11.3
updated:
- SDK=iphonesimulator11.4
<|file_sep|>original/.travis.yml
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- WORKSPACE=ContactsWrapper.xcwo... | 05630b97587ae63ddbda16b3de6f16ab5cdcf9fd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
rvm:
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
branches:
only:
- master
- develop
- ruby-head
<|file_sep|>current/.travis.yml
rvm:
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
branches:
only... | rvm:
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
- ruby-head | <|file_sep|>original/.travis.yml
rvm:
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
branches:
only:
- master
- develop
- ruby-head
<|file_sep|>current/.travis.yml
rvm:
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
branches:
only... | b5e3d1c06b48061759dd9e867e6c0ecb468209d3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/Validator/Exceptions/FormValidationFailedException.php.diff
original:
<?php namespace SRLabs\Validator\Exceptions;
updated:
<?php
namespace SRLabs\Validator\Exceptions;
<|file_sep|>src/Validator/Exceptions/FormValidationFailedException.php.diff
original:
class FormValidationFailedException extends Exce... | * @param string $message
* @param int $errors
*/
public function __construct($message, $errors)
{
$this->message = $message . '. ';
$this->errors = $errors;
foreach ($this->errors->all() as $message) {
$this->message .= ' ' . $message;
}
}
... | <|file_sep|>src/Validator/Exceptions/FormValidationFailedException.php.diff
original:
<?php namespace SRLabs\Validator\Exceptions;
updated:
<?php
namespace SRLabs\Validator\Exceptions;
<|file_sep|>src/Validator/Exceptions/FormValidationFailedException.php.diff
original:
class FormValidationFailedException extends Exce... | 73260ef3f58f706c2b645becd0fd5d6d19d0c579 | src/Validator/Exceptions/FormValidationFailedException.php | src/Validator/Exceptions/FormValidationFailedException.php | PHP |
<|file_sep|>original/tests.py
def test_varargs(self):
self.assertRaises(PreconditionError, preconditions, lambda *a: True)
def test_kwargs(self):
self.assertRaises(PreconditionError, preconditions, lambda **kw: True)
def test_unknown_nondefault_param(self):
# The preconditions refe... | self.assertRaises(PreconditionError, p, lambda a, b: a+b)
def test_default_masks_param(self):
# Preconditions may have defaults as a hack to bind local
# variables (such as when declared syntactically inside loops),
# but this "closure hack" must not mask application function
... | <|file_sep|>original/tests.py
def test_varargs(self):
self.assertRaises(PreconditionError, preconditions, lambda *a: True)
def test_kwargs(self):
self.assertRaises(PreconditionError, preconditions, lambda **kw: True)
def test_unknown_nondefault_param(self):
# The preconditions refe... | e39f6f310bf9d65e21aa3a923a836c836b6bcd2e | tests.py | tests.py | Python |
<|file_sep|>original/app/assets/javascripts/search/search.js.erb
$(document).ready(function() {
var client = algoliasearch("<%= ENV['ALGOLIASEARCH_APPLICATION_ID'] %>", "<%= ENV['ALGOLIASEARCH_API_KEY'] %>");
var image = '{{#featured_image_url}}<img src="{{{featured_image_url}}}" />{{/featured_image_url}}';
... |
$(document).ready(function() {
var client = algoliasearch("<%= ENV['ALGOLIASEARCH_APPLICATION_ID'] %>", "<%= ENV['ALGOLIASEARCH_API_KEY'] %>");
var image = '{{#featured_image_url}}<img src="{{{featured_image_url}}}" /></div>{{/featured_image_url}}';
var template = Hogan.compile('<div class="row item-cont... | <|file_sep|>original/app/assets/javascripts/search/search.js.erb
$(document).ready(function() {
var client = algoliasearch("<%= ENV['ALGOLIASEARCH_APPLICATION_ID'] %>", "<%= ENV['ALGOLIASEARCH_API_KEY'] %>");
var image = '{{#featured_image_url}}<img src="{{{featured_image_url}}}" />{{/featured_image_url}}';
... | b236ef9e6bbb141a748416cba47805eb89dd029e | app/assets/javascripts/search/search.js.erb | app/assets/javascripts/search/search.js.erb | HTML+ERB |
<|file_sep|>original/renovate.json
{
"extends": [
"config:base"
],
"labels": [
"dependencies", "maintenance"
]
}
<|file_sep|>current/renovate.json
{
"extends": [
"config:base"
],
"labels": [
"dependencies", "maintenance"
]
}
<|file_sep|>updated/renovate.json | {
"extends": [
"config:base"
],
"labels": [
"dependencies", "maintenance"
],
"schedule": ["after 7pm on Saturday"]
} | <|file_sep|>original/renovate.json
{
"extends": [
"config:base"
],
"labels": [
"dependencies", "maintenance"
]
}
<|file_sep|>current/renovate.json
{
"extends": [
"config:base"
],
"labels": [
"dependencies", "maintenance"
]
}
<|file_sep|>updated/renovate.json
{
"extends": [
"config:... | ccc65475145cb4ef3cdec30eeb471df4b47f1916 | renovate.json | renovate.json | JSON |
<|file_sep|>original/.scrutinizer.yml
- php
command: php-cs-fixer
filter:
paths:
- src/
config:
level: all
php_sim:
enabled: true
min_mass: 30 # Defaults to 16
php_code_sniffer:
enabled: true
... | - php
command: php-cs-fixer
filter:
paths:
- src/
config:
level: all
php_sim:
enabled: true
min_mass: 30 # Defaults to 16
php_code_sniffer:
enabled: true
config:
standard: PSR2
... | <|file_sep|>original/.scrutinizer.yml
- php
command: php-cs-fixer
filter:
paths:
- src/
config:
level: all
php_sim:
enabled: true
min_mass: 30 # Defaults to 16
php_code_sniffer:
enabled: true
... | c36d370823f91f36c9c8ff8d674b6472ad3fd657 | .scrutinizer.yml | .scrutinizer.yml | YAML |
<|file_sep|>original/README.rst
Make sure that your redis server is running on your local machine on the default port (6379).
Running the Demo:
If you want to populate data into the Redis queue, just run the client_example.py. It will populate 10k
fake errors into the queue (with one of four random signatures).
Th... | Setup:
If you're using a virtualenv, activate it.
Make sure that your redis server is running on your local machine on the default port (6379).
Running the Demo:
If you want to populate data into the Redis queue, just run the client_example.py. It will populate 10k
fake errors into the queue (with one of four rando... | <|file_sep|>original/README.rst
Make sure that your redis server is running on your local machine on the default port (6379).
Running the Demo:
If you want to populate data into the Redis queue, just run the client_example.py. It will populate 10k
fake errors into the queue (with one of four random signatures).
Th... | 6f849990d50801e521497349478afeceddfd8bf2 | README.rst | README.rst | reStructuredText |
<|file_sep|>utilities.py.diff
original:
result.append(line.split())
updated:
result.append([])
for square in line.split():
try:
result[-1].append(int(square))
except ValueError: #if its a * character
result[-1].a... | return result
def print_state(state):
"""
Prittily returns a puzzle state (a 2D array)
"""
return pprint.pformat(state)
def check_goal(state):
"""
Returns True if state is the goal state. Otherwise, returns False.
state is expected to be a 2D array.
"""
n = len(state[0])
... | <|file_sep|>utilities.py.diff
original:
result.append(line.split())
updated:
result.append([])
for square in line.split():
try:
result[-1].append(int(square))
except ValueError: #if its a * character
result[-1].a... | 873b82225d287dcca9b9bc0e0c3746233d15d947 | utilities.py | utilities.py | Python |
<|file_sep|>original/app/views/links/_link.html.erb
<li class="link">
<div class="pull-left">
<div class="like">
<%= render partial: 'like_status', locals: { link: link } %>
</div>
<div class="name-and-url">
<div class="name">
<%= link_to link.display_name, link %>
</div>
<... | <li class="link">
<div class="pull-left">
<div class="like">
<%= render partial: 'links/like_status', locals: { link: link } %>
</div>
<div class="name-and-url">
<div class="name">
<%= link_to link.display_name, link %>
</div>
<div class="url">
<%= link_to link.url,... | <|file_sep|>original/app/views/links/_link.html.erb
<li class="link">
<div class="pull-left">
<div class="like">
<%= render partial: 'like_status', locals: { link: link } %>
</div>
<div class="name-and-url">
<div class="name">
<%= link_to link.display_name, link %>
</div>
<... | b90e1e0f4eeb9a2718a9ffa94a93c5f970e81aba | app/views/links/_link.html.erb | app/views/links/_link.html.erb | HTML+ERB |
<|file_sep|>original/app/cells/plugins/core/tree/checkboxes.haml
%h4
= render_label
%p
Please select 1-2 Categories.
- @options[:metadata]["data"]["tree_array"].each do |node|
= render_field_id
= cell(Plugins::Core::CheckboxCell, nil, form: @options[:form], node: node, data: data).(:checkbox)
<|file_sep|>cu... | = render_label
%p
Please select 1-2 Categories.
- @options[:metadata]["data"]["tree_array"].each do |node|
= render_field_id
= cell(Plugins::Core::CheckboxCell, nil, form: @options[:form], node: node, data: data).(:checkbox) | <|file_sep|>original/app/cells/plugins/core/tree/checkboxes.haml
%h4
= render_label
%p
Please select 1-2 Categories.
- @options[:metadata]["data"]["tree_array"].each do |node|
= render_field_id
= cell(Plugins::Core::CheckboxCell, nil, form: @options[:form], node: node, data: data).(:checkbox)
<|file_sep|>cu... | 96a75c21a8749c5f69ec5e460b699074a80e8688 | app/cells/plugins/core/tree/checkboxes.haml | app/cells/plugins/core/tree/checkboxes.haml | Haml |
<|file_sep|>original/lib/coresys/commands/idiff.rb
<|file_sep|>current/lib/coresys/commands/idiff.rb
<|file_sep|>updated/lib/coresys/commands/idiff.rb | formula = Coresys::Formula.find(ARGV[0]).new
Coresys::Installer.new(formula).install do
# Create two identical directories and place the user in the second directory
# to make changes which the diff will be based on
quiet_system 'mkdir a && mv * .* a/'
quiet_system 'mkdir b && cp -Rap a/* a/.* b/'
Dir.chdir ... | <|file_sep|>original/lib/coresys/commands/idiff.rb
<|file_sep|>current/lib/coresys/commands/idiff.rb
<|file_sep|>updated/lib/coresys/commands/idiff.rb
formula = Coresys::Formula.find(ARGV[0]).new
Coresys::Installer.new(formula).install do
# Create two identical directories and place the user in the second director... | 90922753e1a55d15b6acc0ce77f57f540a2b7e69 | lib/coresys/commands/idiff.rb | lib/coresys/commands/idiff.rb | Ruby |
<|file_sep|>original/.pre-commit-config.yaml
<|file_sep|>current/.pre-commit-config.yaml
<|file_sep|>updated/.pre-commit-config.yaml | - repo: git://github.com/pre-commit/pre-commit-hooks
sha: v1.2.0
hooks:
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: detect-aws-credentials
- id: end-of-file-fixer
- id: trailing-wh... | <|file_sep|>original/.pre-commit-config.yaml
<|file_sep|>current/.pre-commit-config.yaml
<|file_sep|>updated/.pre-commit-config.yaml
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v1.2.0
hooks:
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
... | 783fd8fbbbb7dad8f5f758438ff69dfa5c4a0f38 | .pre-commit-config.yaml | .pre-commit-config.yaml | YAML |
<|file_sep|>original/_includes/ping-back-template.htm
<|file_sep|>current/_includes/ping-back-template.htm
<|file_sep|>updated/_includes/ping-back-template.htm | {::nomarkdown}
<a href="https://wikipdia.com" title="Click to visit the Wikipedia page of {{ tab.fruitNameEn }}" target="_blank"></a>
{:/}
{{ "English - Fruits" }}|{{ "Photo" }}|{{ "Spanish - Frutas" }}|
---------|---------|---------|
data #1|data #2|data #3|
{% for tab in site.data.tabs.fruits %}
|{{ tab.fruitNameEn... | <|file_sep|>original/_includes/ping-back-template.htm
<|file_sep|>current/_includes/ping-back-template.htm
<|file_sep|>updated/_includes/ping-back-template.htm
{::nomarkdown}
<a href="https://wikipdia.com" title="Click to visit the Wikipedia page of {{ tab.fruitNameEn }}" target="_blank"></a>
{:/}
{{ "English - Frui... | 6cc55ddb635e7fb9c077a2f2b6bc4a436754fe80 | _includes/ping-back-template.htm | _includes/ping-back-template.htm | HTML |
<|file_sep|>original/.zsh/rc/pluginconfig/zsh-autocomplete_atinit.zsh
zstyle ':completion:list-expand:*' extra-verbose yes
zstyle ':autocomplete:*' max-lines 30%
zstyle ':autocomplete:tab:*' insert-unambiguous yes
zstyle ':autocomplete:tab:*' widget-style menu-complete
zstyle ':autocomplete:tab:*' fzf-completion no
# z... | zstyle ':completion:list-expand:*' extra-verbose yes
zstyle ':autocomplete:*' max-lines 30%
zstyle ':autocomplete:tab:*' insert-unambiguous yes
zstyle ':autocomplete:tab:*' widget-style menu-complete
zstyle ':autocomplete:tab:*' fzf-completion no
# zstyle ':autocomplete:*' magic off
# zstyle ':autocomplete:*' fuzzy-sea... | <|file_sep|>original/.zsh/rc/pluginconfig/zsh-autocomplete_atinit.zsh
zstyle ':completion:list-expand:*' extra-verbose yes
zstyle ':autocomplete:*' max-lines 30%
zstyle ':autocomplete:tab:*' insert-unambiguous yes
zstyle ':autocomplete:tab:*' widget-style menu-complete
zstyle ':autocomplete:tab:*' fzf-completion no
# z... | 21e957ec78b8c5472f2df1e1ec133ef177089a9d | .zsh/rc/pluginconfig/zsh-autocomplete_atinit.zsh | .zsh/rc/pluginconfig/zsh-autocomplete_atinit.zsh | Shell |
<|file_sep|>original/templates/admin/base_site.html
<|file_sep|>current/templates/admin/base_site.html
<|file_sep|>updated/templates/admin/base_site.html | {% extends "admin/base.html" %}
{% load i18n grp_tags static %}
{% block title %}{{ title }} | {% get_site_title %}{% endblock %}
{% block branding %}
{# Use the div#grp-branding for branding elements, e.g. a logo #}
{# <div id="grp-branding">CDH</div> #}
{% endblock %}
{% block nav-global %}
{# Use the ... | <|file_sep|>original/templates/admin/base_site.html
<|file_sep|>current/templates/admin/base_site.html
<|file_sep|>updated/templates/admin/base_site.html
{% extends "admin/base.html" %}
{% load i18n grp_tags static %}
{% block title %}{{ title }} | {% get_site_title %}{% endblock %}
{% block branding %}
{# Use ... | 99922a1ccfe459f7288f22f9c23dd95caced48a4 | templates/admin/base_site.html | templates/admin/base_site.html | HTML |
<|file_sep|>CHANGELOG.md.diff
original:
### 2.7.0
updated:
### 1.0
<|file_sep|>original/CHANGELOG.md
### 2.6.1
* Update CodeIgniter files to 2.1.2
* Log Table support for IPv6 & NULL parameters
* Abstract out the processes of firing a controller method within _remap() to an separate method
* Moved GET, POST, PUT, and... | Changelog:
===========
### 1.0
* Added key generator and fix for invalid api-key | <|file_sep|>CHANGELOG.md.diff
original:
### 2.7.0
updated:
### 1.0
<|file_sep|>original/CHANGELOG.md
### 2.6.1
* Update CodeIgniter files to 2.1.2
* Log Table support for IPv6 & NULL parameters
* Abstract out the processes of firing a controller method within _remap() to an separate method
* Moved GET, POST, PUT, and... | 1f43e2e9ecf46a06a4b6f0ae2098b7423caa831e | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>setup.py.diff
original:
updated:
from os.path import dirname, abspath
<|file_sep|>setup.py.diff
original:
VERSION = '1.1.4'
updated:
HERE = abspath(dirname(__file__))
VERSION = open(HERE + '/puresnmp/version.txt').read().strip()
<|file_sep|>original/setup.py
from setuptools import setup, find_packages
VER... | from setuptools import setup, find_packages
from os.path import dirname, abspath
HERE = abspath(dirname(__file__))
VERSION = open(HERE + '/puresnmp/version.txt').read().strip()
setup(
name="puresnmp",
version=VERSION,
description="Pure Python SNMP implementation",
long_description=open(HERE + "/README... | <|file_sep|>setup.py.diff
original:
updated:
from os.path import dirname, abspath
<|file_sep|>setup.py.diff
original:
VERSION = '1.1.4'
updated:
HERE = abspath(dirname(__file__))
VERSION = open(HERE + '/puresnmp/version.txt').read().strip()
<|file_sep|>original/setup.py
from setuptools import setup, find_packages
VER... | bb96586af0aa0fcf6ca5b1891740fbc02f3758c8 | setup.py | setup.py | Python |
<|file_sep|>original/package.json
{
"name": "mtnl",
"version": "1.0.0",
"description": "measurement to natural language",
"main": "app.js",
"scripts": {
"test": "mocha test"
},
"author": "Alexei Dvorac",
"license": "MIT",
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^2.5.3"
}
}
<|fil... | {
"name": "mtnl",
"version": "1.0.0",
"description": "measurement to natural language",
"main": "app.js",
"scripts": {
"test": "mocha -w --watch-extensions json"
},
"author": "Alexei Dvorac",
"license": "MIT",
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^2.5.3"
}
} | <|file_sep|>original/package.json
{
"name": "mtnl",
"version": "1.0.0",
"description": "measurement to natural language",
"main": "app.js",
"scripts": {
"test": "mocha test"
},
"author": "Alexei Dvorac",
"license": "MIT",
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^2.5.3"
}
}
<|fil... | 6ef92d76497384d276ca1cfe58ba7723bb3047a1 | package.json | package.json | JSON |
<|file_sep|>original/index.js
var bind = require('function-bind');
var define = require('define-properties');
var replace = bind.call(Function.call, String.prototype.replace);
var leftWhitespace = /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\... |
var leftWhitespace = /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*/;
var trimLeft = function trimLeft() {
return replace(this, leftWhitespace, '');
};
var boundTrimLeft = bind.call(Function.call, trimLeft);
define(... | <|file_sep|>original/index.js
var bind = require('function-bind');
var define = require('define-properties');
var replace = bind.call(Function.call, String.prototype.replace);
var leftWhitespace = /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\... | 089bae49bd99ac3a6e07b99a158833a1c04bc609 | index.js | index.js | JavaScript |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- rbx-19mode
matrix:
allow_failures:
- rvm: ruby-head
- rvm: rbx-19mode
branches:
only:
- master
script: rake test
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby... | language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- ruby-head
- rbx-19mode
matrix:
allow_failures:
- rvm: ruby-head
- rvm: rbx-19mode
branches:
only:
- master
script: rake test | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- rbx-19mode
matrix:
allow_failures:
- rvm: ruby-head
- rvm: rbx-19mode
branches:
only:
- master
script: rake test
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby... | 9c11ce59852365ca9d91e187017ccb6c597d2896 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/core/app/assets/stylesheets/evidence/ndp_evidenceish.css.less
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.ndp-evidenceish-box {
position: relative;
.new-design-white-block-with-shadow();
}
.ndp-evidenceish-content {
padding: @evidencePadding @evidencePadding 13px;
// HACK until w... | text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.ndp-evidenceish-box {
position: relative;
.new-design-white-block-with-shadow();
}
.ndp-evidenceish-content {
padding: @evidencePadding @evidencePadding 13px;
word-wrap: break-word;
// HACK until we have "small Factwheels" (per NDP design, in-line with te... | <|file_sep|>original/core/app/assets/stylesheets/evidence/ndp_evidenceish.css.less
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.ndp-evidenceish-box {
position: relative;
.new-design-white-block-with-shadow();
}
.ndp-evidenceish-content {
padding: @evidencePadding @evidencePadding 13px;
// HACK until w... | 06aeb2f160e6b721fbbe5f316401d637e73d1b71 | core/app/assets/stylesheets/evidence/ndp_evidenceish.css.less | core/app/assets/stylesheets/evidence/ndp_evidenceish.css.less | Less |
<|file_sep|>original/releasenotes/notes/tacker-scaling-c99a77544501bc5d.yaml
<|file_sep|>current/releasenotes/notes/tacker-scaling-c99a77544501bc5d.yaml
<|file_sep|>updated/releasenotes/notes/tacker-scaling-c99a77544501bc5d.yaml | ---
features:
- VNF auto-scaling and manual-scaling feature is added, to scale in/out
the VDUs.
issues:
- Auto-scaling feature is supported only with alarm monitors and it does
not work with other monitors such as ping, http_ping.
- When VNF is modelled with scaling requirement in VNFD, any config
ma... | <|file_sep|>original/releasenotes/notes/tacker-scaling-c99a77544501bc5d.yaml
<|file_sep|>current/releasenotes/notes/tacker-scaling-c99a77544501bc5d.yaml
<|file_sep|>updated/releasenotes/notes/tacker-scaling-c99a77544501bc5d.yaml
---
features:
- VNF auto-scaling and manual-scaling feature is added, to scale in/out
... | ffdb0b40196d58df3537185dbb8d7a40432572bb | releasenotes/notes/tacker-scaling-c99a77544501bc5d.yaml | releasenotes/notes/tacker-scaling-c99a77544501bc5d.yaml | YAML |
<|file_sep|>original/test/fixtures/output_server.js
/*
* grunt-external-daemon
* https://github.com/jlindsey/grunt-external-daemon
*
* Copyright (c) 2013 Joshua Lindsey
* Licensed under the MIT license.
*/
'use strict';
process.stdout.write("STDOUT Message");
process.stderr.write("STDERR Message");
<|file_sep|>... | /*
* grunt-external-daemon
* https://github.com/jlindsey/grunt-external-daemon
*
* Copyright (c) 2013 Joshua Lindsey
* Licensed under the MIT license.
*/
'use strict';
process.stdout.setEncoding('utf-8');
process.stderr.setEncoding('utf-8');
process.stdout.write("STDOUT Message");
process.stderr.write("STDERR ... | <|file_sep|>original/test/fixtures/output_server.js
/*
* grunt-external-daemon
* https://github.com/jlindsey/grunt-external-daemon
*
* Copyright (c) 2013 Joshua Lindsey
* Licensed under the MIT license.
*/
'use strict';
process.stdout.write("STDOUT Message");
process.stderr.write("STDERR Message");
<|file_sep|>... | 1a8ad6d06e5b465ee331cbc5c4957862edf31950 | test/fixtures/output_server.js | test/fixtures/output_server.js | JavaScript |
<|file_sep|>original/cmsplugin_markdown/templates/cmsplugin_markdown/change_form.html
{% extends "admin/cms/page/change_form.html" %}
{% block top %}<div id="epiceditor"></div>{% endblock %}
{% block extrastyle %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}cmsplugin_markdown/themes... | {% extends "admin/cms/page/plugin/change_form.html" %}
{% block top %}<div id="epiceditor"></div>{% endblock %}
{% block extrastyle %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}cmsplugin_markdown/themes/base/epiceditor.css" />
{% endblock %}
{% block extrahead %}
{{ block.super }... | <|file_sep|>original/cmsplugin_markdown/templates/cmsplugin_markdown/change_form.html
{% extends "admin/cms/page/change_form.html" %}
{% block top %}<div id="epiceditor"></div>{% endblock %}
{% block extrastyle %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}cmsplugin_markdown/themes... | 91131fa856ba6e358cba0b8905ce77e5646b892a | cmsplugin_markdown/templates/cmsplugin_markdown/change_form.html | cmsplugin_markdown/templates/cmsplugin_markdown/change_form.html | HTML |
<|file_sep|>original/samples/uriapp/src/main/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.facebook.samples.uriapp" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-sdk
android:minSdkVers... | <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.facebook.samples.uriapp" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-sdk
andro... | <|file_sep|>original/samples/uriapp/src/main/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.facebook.samples.uriapp" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-sdk
android:minSdkVers... | d9a3e6ea86497fcd706ec7dbb394c38fd4354d7c | samples/uriapp/src/main/AndroidManifest.xml | samples/uriapp/src/main/AndroidManifest.xml | XML |
<|file_sep|>original/tensorforce/tests/test_trpo_agent.py
import unittest
from tensorforce.tests.base_agent_test import BaseAgentTest
from tensorforce.agents import TRPOAgent
class TestTRPOAgent(BaseAgentTest, unittest.TestCase):
agent = TRPOAgent
deterministic = False
config = dict(
batch_siz... |
import unittest
from tensorforce.tests.base_agent_test import BaseAgentTest
from tensorforce.agents import TRPOAgent
class TestTRPOAgent(BaseAgentTest, unittest.TestCase):
agent = TRPOAgent
deterministic = False
config = dict(
batch_size=16,
learning_rate=0.005
)
multi_config ... | <|file_sep|>original/tensorforce/tests/test_trpo_agent.py
import unittest
from tensorforce.tests.base_agent_test import BaseAgentTest
from tensorforce.agents import TRPOAgent
class TestTRPOAgent(BaseAgentTest, unittest.TestCase):
agent = TRPOAgent
deterministic = False
config = dict(
batch_siz... | 98b84a09fb64f0647cd136f63603a5f37de2b0ee | tensorforce/tests/test_trpo_agent.py | tensorforce/tests/test_trpo_agent.py | Python |
<|file_sep|>client/components/login.js.diff
original:
github: ['user', 'repo', 'gist']
updated:
github: ['user', 'public_gist']
<|file_sep|>original/client/components/login.js
Accounts.ui.config({
requestPermissions: {
github: ['user', 'repo', 'gist']
}
})
//
// Accounts.onLogin(function () {
// Rout... | Accounts.ui.config({
requestPermissions: {
github: ['user', 'public_gist']
}
})
//
// Accounts.onLogin(function () {
// Router.go('/profile')
// })
Template.login.helpers({
currentUser: function () {
return Meteor.user()
}
})
Template.login.events({
}) | <|file_sep|>client/components/login.js.diff
original:
github: ['user', 'repo', 'gist']
updated:
github: ['user', 'public_gist']
<|file_sep|>original/client/components/login.js
Accounts.ui.config({
requestPermissions: {
github: ['user', 'repo', 'gist']
}
})
//
// Accounts.onLogin(function () {
// Rout... | 8b2d2153271eec59b4b2d43a75ba9a83ed432a5d | client/components/login.js | client/components/login.js | JavaScript |
<|file_sep|>original/public/js/otworlds.minimap.js
Mapeditor.Minimap = {};
Mapeditor.Minimap.loaded = false;
Mapeditor.Minimap.loadStatic = function(){
jQuery('#minimap .content')
.html('<img />');
jQuery('#minimap img')
.attr('src', Mapeditor.config.urls.backend + 'map/' + Mapeditor.map.meta.id + '/minim... | Mapeditor.Minimap.loadStatic = function(){
jQuery('#minimap .content')
.html('<img />');
jQuery('#minimap img')
.attr('src', Mapeditor.config.urls.backend + 'map/' + Mapeditor.map.meta.id + '/minimap?' + new Date().getTime())
.css({
'max-width': 'none',
position: 'relative',
left... | <|file_sep|>original/public/js/otworlds.minimap.js
Mapeditor.Minimap = {};
Mapeditor.Minimap.loaded = false;
Mapeditor.Minimap.loadStatic = function(){
jQuery('#minimap .content')
.html('<img />');
jQuery('#minimap img')
.attr('src', Mapeditor.config.urls.backend + 'map/' + Mapeditor.map.meta.id + '/minim... | 7d22c06edeae42488b2d5cfc59ca5a4ee15182d7 | public/js/otworlds.minimap.js | public/js/otworlds.minimap.js | JavaScript |
<|file_sep|>HISTORY.rdoc.diff
original:
== 1.0.0 // 2009-07-07
updated:
== 1.0.1 / 2011-10-19
This release simply refreshes the project build script.
Functionality hasn't changed at all.
Changes:
* Administrative details only.
== 1.0.0 / 2009-07-07
<|file_sep|>original/HISTORY.rdoc
= Release History
== 1.0.0 // ... | = Release History
== 1.0.1 / 2011-10-19
This release simply refreshes the project build script.
Functionality hasn't changed at all.
Changes:
* Administrative details only.
== 1.0.0 / 2009-07-07
This is the initial stand-alone release of Platypus.
Changes:
* Happy Birthday! | <|file_sep|>HISTORY.rdoc.diff
original:
== 1.0.0 // 2009-07-07
updated:
== 1.0.1 / 2011-10-19
This release simply refreshes the project build script.
Functionality hasn't changed at all.
Changes:
* Administrative details only.
== 1.0.0 / 2009-07-07
<|file_sep|>original/HISTORY.rdoc
= Release History
== 1.0.0 // ... | 7faea3bd25bd0e30c2c3bd504ce821a57cf7733d | HISTORY.rdoc | HISTORY.rdoc | RDoc |
<|file_sep|>original/app/manifest.json
{
"name": "__MSG_appName__",
"version": "0.0.1",
"manifest_version": 2,
"description": "__MSG_appDescription__",
"icons": {
"16": "images/icon-16.png",
"128": "images/icon-128.png"
},
"default_locale": "en",
"background": {
"scripts": [
"scripts/c... | {
"name": "__MSG_appName__",
"version": "0.0.1",
"manifest_version": 2,
"description": "__MSG_appDescription__",
"default_locale": "en",
"background": {
"scripts": [
"scripts/chromereload.js",
"scripts/background.js"
]
},
"permissions": [
"notifications",
"storage",
"mana... | <|file_sep|>original/app/manifest.json
{
"name": "__MSG_appName__",
"version": "0.0.1",
"manifest_version": 2,
"description": "__MSG_appDescription__",
"icons": {
"16": "images/icon-16.png",
"128": "images/icon-128.png"
},
"default_locale": "en",
"background": {
"scripts": [
"scripts/c... | 74956af7e26de37dfae45bbec4c1af1a477b757c | app/manifest.json | app/manifest.json | JSON |
<|file_sep|>original/build.sbt
name := "debiki-tck-dao"
organization := "com.debiki"
version := "0.0.2-SNAPSHOT"
scalaVersion := "2.10.0-RC1"
libraryDependencies ++= Seq(
"junit" % "junit" % "4.7",
//"org.specs2" %% "specs2" % "1.12.2" —> unresolved dependency: //"org.specs2#specs2_2.10;1.12.2: not found"
"o... | name := "debiki-tck-dao"
organization := "com.debiki"
version := "0.0.2-SNAPSHOT"
scalaVersion := "2.10.0-RC1"
libraryDependencies ++= Seq(
"junit" % "junit" % "4.7",
//"org.specs2" %% "specs2" % "1.12.2" —> unresolved dependency: //"org.specs2#specs2_2.10;1.12.2: not found"
"org.specs2" % "specs2_2.10.0-RC1... | <|file_sep|>original/build.sbt
name := "debiki-tck-dao"
organization := "com.debiki"
version := "0.0.2-SNAPSHOT"
scalaVersion := "2.10.0-RC1"
libraryDependencies ++= Seq(
"junit" % "junit" % "4.7",
//"org.specs2" %% "specs2" % "1.12.2" —> unresolved dependency: //"org.specs2#specs2_2.10;1.12.2: not found"
"o... | 8eadcf5558742aafbe0abcb30f7df5b0256408e8 | build.sbt | build.sbt | Scala |
<|file_sep|>original/integration/sesame/src/test/java/com/github/jsonldjava/sesame/SesameEmptyPrefixTest.java
<|file_sep|>current/integration/sesame/src/test/java/com/github/jsonldjava/sesame/SesameEmptyPrefixTest.java
<|file_sep|>updated/integration/sesame/src/test/java/com/github/jsonldjava/sesame/SesameEmptyPrefix... | package com.github.jsonldjava.sesame;
import static org.junit.Assert.assertTrue;
import java.io.StringReader;
import java.io.StringWriter;
import org.junit.Test;
import org.openrdf.model.Model;
import org.openrdf.model.util.ModelUtil;
import org.openrdf.rio.RDFFormat;
import org.openrdf.rio.Rio;
public class Sesame... | <|file_sep|>original/integration/sesame/src/test/java/com/github/jsonldjava/sesame/SesameEmptyPrefixTest.java
<|file_sep|>current/integration/sesame/src/test/java/com/github/jsonldjava/sesame/SesameEmptyPrefixTest.java
<|file_sep|>updated/integration/sesame/src/test/java/com/github/jsonldjava/sesame/SesameEmptyPrefix... | 088fba43742371c272f44927d11dfcdb77f430ac | integration/sesame/src/test/java/com/github/jsonldjava/sesame/SesameEmptyPrefixTest.java | integration/sesame/src/test/java/com/github/jsonldjava/sesame/SesameEmptyPrefixTest.java | Java |
<|file_sep|>original/README.md
# LearnJava
This repository contains code samples and exercises to support the **Learn to Program in Java** video series.
[Here's a link to the series on YouTube](https://www.youtube.com/playlist?list=PLyRiRUsTyUXhUXoOPEdMZWhGpGeSQFZgH)
There are 20 lessons total, each in a separate f... | # LearnJava
#Made a change to this file
This repository contains code samples and exercises to support the **Learn to Program in Java** video series.
[Here's a link to the series on YouTube](https://www.youtube.com/playlist?list=PLyRiRUsTyUXhUXoOPEdMZWhGpGeSQFZgH)
There are 20 lessons total, each in a separate fold... | <|file_sep|>original/README.md
# LearnJava
This repository contains code samples and exercises to support the **Learn to Program in Java** video series.
[Here's a link to the series on YouTube](https://www.youtube.com/playlist?list=PLyRiRUsTyUXhUXoOPEdMZWhGpGeSQFZgH)
There are 20 lessons total, each in a separate f... | ac2cc7ba626e6c545b99828581733b0a69a2614a | README.md | README.md | Markdown |
<|file_sep|>original/omnibus_overrides.rb
# .travis.yml and appveyor.yml consume this,
# try to keep it machine-parsable.
override :rubygems, version: "2.6.11"
override :bundler, version: "1.15.1"
override "libffi", version: "3.2.1"
override "libiconv", version: "1.14"
override "liblzma", version: "5.2.3"
override "lib... | # .travis.yml and appveyor.yml consume this,
# try to keep it machine-parsable.
override :rubygems, version: "2.6.11"
override :bundler, version: "1.15.1"
override "libffi", version: "3.2.1"
override "libiconv", version: "1.14"
override "liblzma", version: "5.2.3"
override "libtool", version: "2.4.2"
override "libxml2"... | <|file_sep|>original/omnibus_overrides.rb
# .travis.yml and appveyor.yml consume this,
# try to keep it machine-parsable.
override :rubygems, version: "2.6.11"
override :bundler, version: "1.15.1"
override "libffi", version: "3.2.1"
override "libiconv", version: "1.14"
override "liblzma", version: "5.2.3"
override "lib... | ff428523be3df356e3a01d7ce944d53ce7a9f8ac | omnibus_overrides.rb | omnibus_overrides.rb | Ruby |
<|file_sep|>original/build/build-order.txt
src/Leaderboard/Nether.Leaderboard.Data
src/Leaderboard/Nether.Leaderboard.Data.Mongodb
src/Leaderboard/Nether.Leaderboard.Web
<|file_sep|>current/build/build-order.txt
src/Leaderboard/Nether.Leaderboard.Data
src/Leaderboard/Nether.Leaderboard.Data.Mongodb
src/Leaderboard/Neth... | src/Leaderboard/Nether.Leaderboard.Data
src/Leaderboard/Nether.Leaderboard.Data.Mongodb
src/Leaderboard/Nether.Leaderboard.Web
src/Identity/Nether.Identity.Development
src/Identity/Nether.Identity.Development.DummyApi
src/Identity/Nether.Identity.Development.DummyWeb
| <|file_sep|>original/build/build-order.txt
src/Leaderboard/Nether.Leaderboard.Data
src/Leaderboard/Nether.Leaderboard.Data.Mongodb
src/Leaderboard/Nether.Leaderboard.Web
<|file_sep|>current/build/build-order.txt
src/Leaderboard/Nether.Leaderboard.Data
src/Leaderboard/Nether.Leaderboard.Data.Mongodb
src/Leaderboard/Neth... | 77138239546ce01f8f55608963d216df696e4f21 | build/build-order.txt | build/build-order.txt | Text |
<|file_sep|>original/bootstrap_production.sh
<|file_sep|>current/bootstrap_production.sh
<|file_sep|>updated/bootstrap_production.sh | useradd -ms /bin/bash serenata_de_amor
git clone --recursive https://github.com/datasciencebr/whistleblower.git /home/serenata_de_amor/whistleblower
chown -hR serenata_de_amor /home/serenata_de_amor/whistleblower
# Setup auto restart services after VM restart
cat >/home/serenata_de_amor/server.sh <<EOL
touch /home/ser... | <|file_sep|>original/bootstrap_production.sh
<|file_sep|>current/bootstrap_production.sh
<|file_sep|>updated/bootstrap_production.sh
useradd -ms /bin/bash serenata_de_amor
git clone --recursive https://github.com/datasciencebr/whistleblower.git /home/serenata_de_amor/whistleblower
chown -hR serenata_de_amor /home/ser... | 4001bb9131f8db7e7495458fa106ea1ab9026476 | bootstrap_production.sh | bootstrap_production.sh | Shell |
<|file_sep|>examples/getstr/getstr.go.diff
original:
stdscr.Print(row/2, (col-len(msg)-8)/2, msg)
updated:
stdscr.MovePrint(row/2, (col-len(msg)-8)/2, msg)
<|file_sep|>original/examples/getstr/getstr.go
* single character. Note that only the 'n' versions of getstr have been
* implemented in goncurses to ensure buff... | * single character. Note that only the 'n' versions of getstr have been
* implemented in goncurses to ensure buffer overflows won't exist */
package main
import gc "code.google.com/p/goncurses"
func main() {
stdscr, _ := gc.Init()
defer gc.End()
row, col := stdscr.Maxyx()
msg := "Enter a string: "
stdscr.Mov... | <|file_sep|>examples/getstr/getstr.go.diff
original:
stdscr.Print(row/2, (col-len(msg)-8)/2, msg)
updated:
stdscr.MovePrint(row/2, (col-len(msg)-8)/2, msg)
<|file_sep|>original/examples/getstr/getstr.go
* single character. Note that only the 'n' versions of getstr have been
* implemented in goncurses to ensure buff... | fbd9b464a04e85a8dc8cad3af93060c54b038bb9 | examples/getstr/getstr.go | examples/getstr/getstr.go | Go |
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
>improvement
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
**Does this PR change a user-facing CRD or CLI?**:
<!--
If yes, explain why the change is needed and paste some example output of the new change.
If no, just write no.
-->
**Is a rel... | If yes, explain why the change is needed and paste some example output of the new change.
If no, just write no.
-->
**Is a release note needed?**:
<!--
If yes, add the release-note label to the PR. Also enter a single sentence release-note block below.
If no, just write no and remove the release-note block below.
-->
... | <|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
>improvement
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
**Does this PR change a user-facing CRD or CLI?**:
<!--
If yes, explain why the change is needed and paste some example output of the new change.
If no, just write no.
-->
**Is a rel... | 57ffbba72a69f1ae55c735492da092ee6d636b3a | .github/PULL_REQUEST_TEMPLATE.md | .github/PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>original/requirements.txt
jmespath==0.9.3
multidict==4.3.1
mypy==0.620
packaging==17.1
protobuf==3.6.1
pycares==2.3.0
pycodestyle==2.4.0
py==1.6.0
pyparsing==2.2.0
pytest==3.7.4
pytest-cov==2.5.1
pytest-forked==0.2
pytest-xdist==1.23.0
python-dateutil==2.7.3
pytz==2018.5
readme-renderer==21.0
requests==2.19... | jmespath==0.9.3
multidict==4.3.1
mypy==0.620
packaging==17.1
protobuf==3.6.1
pycares==2.3.0
pycodestyle==2.4.0
py==1.6.0
pyparsing==2.2.0
pytest==3.7.4
pytest-cov==2.6.0
pytest-forked==0.2
pytest-xdist==1.23.0
python-dateutil==2.7.3
pytz==2018.5
readme-renderer==21.0
requests==2.19.1
six==1.11.0
tzlocal==1.5.1
ujson==1... | <|file_sep|>original/requirements.txt
jmespath==0.9.3
multidict==4.3.1
mypy==0.620
packaging==17.1
protobuf==3.6.1
pycares==2.3.0
pycodestyle==2.4.0
py==1.6.0
pyparsing==2.2.0
pytest==3.7.4
pytest-cov==2.5.1
pytest-forked==0.2
pytest-xdist==1.23.0
python-dateutil==2.7.3
pytz==2018.5
readme-renderer==21.0
requests==2.19... | ce1fa9e8f3a37f2aa15e5ce58af03574cdb1439d | requirements.txt | requirements.txt | Text |
<|file_sep|>nepho/data/deployments/mediawiki.yaml.diff
original:
- php
- php-xml
updated:
<|file_sep|>original/nepho/data/deployments/mediawiki.yaml
development:
ConfigMgmtGitRepo: "https://github.com/huit/mediawiki-puppet-build.git"
ConfigMgmtGitRepoBranch: steveH
KeyName: steveH
management: puppet
... | KeyName: steveH
management: puppet
packages: &packages
- augeas
- redhat-lsb
- openssl
- emacs
- telnet
pattern: single-host
production:
management: puppet
ConfigMgmtGitRepo: "https://github.com/huit/mediawiki-puppet-build.git"
ConfigMgmtGitRepoBranch: rds_support
DBName: mediawiki-p... | <|file_sep|>nepho/data/deployments/mediawiki.yaml.diff
original:
- php
- php-xml
updated:
<|file_sep|>original/nepho/data/deployments/mediawiki.yaml
development:
ConfigMgmtGitRepo: "https://github.com/huit/mediawiki-puppet-build.git"
ConfigMgmtGitRepoBranch: steveH
KeyName: steveH
management: puppet
... | 62403d0e71cae3c12780ca39a3880a0cfec5d939 | nepho/data/deployments/mediawiki.yaml | nepho/data/deployments/mediawiki.yaml | YAML |
<|file_sep|>original/_posts/ericabrody/2016-04-27-open-source.md
---
layout: post
author: ericabrody
title: 'Open Source Contribution'
---
During the second week of class, I noticed some frustrating typos in our textbook. Specifically, there were some garbage characters mixed into the explanation about operators in P... | ---
layout: post
author: ericabrody
title: 'Open Source Contribution'
---
During the second week of class, I noticed some frustrating typos in our textbook. Specifically, there were some garbage characters mixed into the explanation about operators in Python, making it hard to figure out the syntax of actual operator... | <|file_sep|>original/_posts/ericabrody/2016-04-27-open-source.md
---
layout: post
author: ericabrody
title: 'Open Source Contribution'
---
During the second week of class, I noticed some frustrating typos in our textbook. Specifically, there were some garbage characters mixed into the explanation about operators in P... | 0293a58ca5bc51df44b5f3a345fe9d53f45deaa2 | _posts/ericabrody/2016-04-27-open-source.md | _posts/ericabrody/2016-04-27-open-source.md | Markdown |
<|file_sep|>original/addons/hr/__terp__.py
* Attendances and sign in/out system
* Holidays
Different reports are also provided, mainly for attendance statistics.
""",
"depends" : ["base"],
"init_xml" : [],
"demo_xml" : [
"hr_demo.xml",
"hr_bel_holidays_2005.xml",
"hr_department_demo.xml"
],
"update_xml... | * Holidays
Different reports are also provided, mainly for attendance statistics.
""",
"depends" : ["base"],
"init_xml" : [],
"demo_xml" : [
"hr_demo.xml",
"hr_bel_holidays_2005.xml",
"hr_department_demo.xml"
],
"update_xml" : [
"hr_view.xml",
"hr_report.xml",
"hr_wizard.xml",
"hr_department_v... | <|file_sep|>original/addons/hr/__terp__.py
* Attendances and sign in/out system
* Holidays
Different reports are also provided, mainly for attendance statistics.
""",
"depends" : ["base"],
"init_xml" : [],
"demo_xml" : [
"hr_demo.xml",
"hr_bel_holidays_2005.xml",
"hr_department_demo.xml"
],
"update_xml... | 814684225140231de25dc7ee616c6bfa73b312ee | addons/hr/__terp__.py | addons/hr/__terp__.py | Python |
<|file_sep|>.travis.yml.diff
original:
updated:
- '5'
- '4'
<|file_sep|>.travis.yml.diff
original:
- '0.11'
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.12'
- '0.11'
- '0.10'
- 'iojs'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '5'
- '4'
- '0.12'
- '0.10'
- 'iojs'
<|file_... | language: node_js
node_js:
- '5'
- '4'
- '0.12'
- '0.10' | <|file_sep|>.travis.yml.diff
original:
updated:
- '5'
- '4'
<|file_sep|>.travis.yml.diff
original:
- '0.11'
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.12'
- '0.11'
- '0.10'
- 'iojs'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '5'
- '4'
- '0.12'
- '0.10'
- 'iojs'
<|file_... | 455175d39fe2a8b2268fd52f294898ae19722b90 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config/database.yml
# This is only used for standalone_migrations. In other contexts
# Travis.config.database will be used.
defaults: &defaults
adapter: postgresql
encoding: unicode
pool: 5
min_messages: warning
username: <%= ENV['USER'] %>
production:
<<: *defaults
database: travis... | # This is only used for standalone_migrations. In other contexts
# Travis.config.database will be used.
defaults: &defaults
adapter: postgresql
encoding: unicode
pool: 5
min_messages: warning
username: <%= ENV['USER'] %>
host: localhost
production:
<<: *defaults
database: travis_development
developme... | <|file_sep|>original/config/database.yml
# This is only used for standalone_migrations. In other contexts
# Travis.config.database will be used.
defaults: &defaults
adapter: postgresql
encoding: unicode
pool: 5
min_messages: warning
username: <%= ENV['USER'] %>
production:
<<: *defaults
database: travis... | 305e9a706fd5e2af63c52f7b1a1eae88e9bc1a2d | config/database.yml | config/database.yml | YAML |
<|file_sep|>original/src/test/java/seedu/tache/logic/parser/AddCommandParserTest.java
<|file_sep|>current/src/test/java/seedu/tache/logic/parser/AddCommandParserTest.java
<|file_sep|>updated/src/test/java/seedu/tache/logic/parser/AddCommandParserTest.java | package seedu.tache.logic.parser;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import seedu.tache.logic.commands.AddCommand;
import seedu.tache.logic.commands.Command;
import seedu.tache.logic.commands.IncorrectCommand;
public class AddCommandParserTest {
@Test
public void parse_emptyA... | <|file_sep|>original/src/test/java/seedu/tache/logic/parser/AddCommandParserTest.java
<|file_sep|>current/src/test/java/seedu/tache/logic/parser/AddCommandParserTest.java
<|file_sep|>updated/src/test/java/seedu/tache/logic/parser/AddCommandParserTest.java
package seedu.tache.logic.parser;
import static org.junit.Ass... | 87ebc515f47f659962e39fb1fc7ef44e47778fd6 | src/test/java/seedu/tache/logic/parser/AddCommandParserTest.java | src/test/java/seedu/tache/logic/parser/AddCommandParserTest.java | Java |
<|file_sep|>original/requirements.txt
git+https://github.com/itslukej/zirc.git@238447acf5363dd7fb8a12f8d793a9f277dcfc51#egg=zirc
#zirc>=1.2.6
requests>=2.12.4
six>=1.10.0
<|file_sep|>current/requirements.txt
git+https://github.com/itslukej/zirc.git@238447acf5363dd7fb8a12f8d793a9f277dcfc51#egg=zirc
#zirc>=1.2.6
requests... | git+https://github.com/itslukej/zirc.git@f4beb90799a9c0a20f3bd62978ff3228b1238a4a#egg=zirc
#zirc>=1.2.6
requests>=2.12.4
six>=1.10.0 | <|file_sep|>original/requirements.txt
git+https://github.com/itslukej/zirc.git@238447acf5363dd7fb8a12f8d793a9f277dcfc51#egg=zirc
#zirc>=1.2.6
requests>=2.12.4
six>=1.10.0
<|file_sep|>current/requirements.txt
git+https://github.com/itslukej/zirc.git@238447acf5363dd7fb8a12f8d793a9f277dcfc51#egg=zirc
#zirc>=1.2.6
requests... | 00cfb48166e40c79d14401d43ea34e912858f138 | requirements.txt | requirements.txt | Text |
<|file_sep|>.travis.yml.diff
original:
updated:
- 2.1.0
<|file_sep|>original/.travis.yml
- jruby-19mode
- rbx-2.2
env:
- ACTIVE_RECORD_BRANCH="master"
- ACTIVE_RECORD_BRANCH="4-0-stable"
- ACTIVE_RECORD_VERSION="~> 4.0.0"
- ACTIVE_RECORD_VERSION="~> 3.2.0"
- ACTIVE_RECORD_VERSION="~> 3.1.0"
matrix:
... | - rbx-2.2
env:
- ACTIVE_RECORD_BRANCH="master"
- ACTIVE_RECORD_BRANCH="4-0-stable"
- ACTIVE_RECORD_VERSION="~> 4.0.0"
- ACTIVE_RECORD_VERSION="~> 3.2.0"
- ACTIVE_RECORD_VERSION="~> 3.1.0"
matrix:
allow_failures:
- rvm: 2.1.0
- rvm: rbx-2.2
- rvm: jruby-19mode
- env: ACTIVE_RECORD_BRANCH=... | <|file_sep|>.travis.yml.diff
original:
updated:
- 2.1.0
<|file_sep|>original/.travis.yml
- jruby-19mode
- rbx-2.2
env:
- ACTIVE_RECORD_BRANCH="master"
- ACTIVE_RECORD_BRANCH="4-0-stable"
- ACTIVE_RECORD_VERSION="~> 4.0.0"
- ACTIVE_RECORD_VERSION="~> 3.2.0"
- ACTIVE_RECORD_VERSION="~> 3.1.0"
matrix:
... | 321f29a1863101ec649980d1583ab08417a94c87 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
#Required for testing
pytest==4.3.0
flake8==3.7.7
mock==2.0.0
cssselect==1.0.3
watchdog==0.9.0
coverage==4.5.3
coveralls==1.6.0
pytest-cov==2.6.1
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.2#egg=digitalmarketplace-test-utils==2.... | -r requirements.txt
#Required for testing
pytest==4.3.1
flake8==3.7.7
mock==2.0.0
cssselect==1.0.3
watchdog==0.9.0
coverage==4.5.3
coveralls==1.6.0
pytest-cov==2.6.1
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.2#egg=digitalmarketplace-test-utils==2.1.2 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
#Required for testing
pytest==4.3.0
flake8==3.7.7
mock==2.0.0
cssselect==1.0.3
watchdog==0.9.0
coverage==4.5.3
coveralls==1.6.0
pytest-cov==2.6.1
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.2#egg=digitalmarketplace-test-utils==2.... | 599502e9224f9569d8343678a3d61efcee2039f9 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/app-backend/project/plugins.sbt
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.1")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.3")
addSbtPlugin("com.eed3si9n" % "sbt-ass... | addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.1")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.3")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6")
addSbtPlugin("io.spray" % "sbt-re... | <|file_sep|>original/app-backend/project/plugins.sbt
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.1")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.3")
addSbtPlugin("com.eed3si9n" % "sbt-ass... | 21ac203cb455d9f583e18b5b2f7a070059e94d3e | app-backend/project/plugins.sbt | app-backend/project/plugins.sbt | Scala |
<|file_sep|>lib/psc-ide.coffee.diff
original:
@pscIde = atom.config.get("linter-purescript.pscIdeExe")
updated:
@pscIde = atom.config.get("ide-purescript.pscIdeExe")
<|file_sep|>lib/psc-ide.coffee.diff
original:
updated:
if completions.length > 0
@getType completions[0]
<|file_sep|>original/l... | @getList output
getCompletion: (text) ->
@runCmd "complete #{text} Project"
.then (output) =>
completions = (@getList output).map @trimQuote
if completions.length > 0
@getType completions[0]
completions
getType: (text) ->
@runCmd "typeLookup #{text}"
.... | <|file_sep|>lib/psc-ide.coffee.diff
original:
@pscIde = atom.config.get("linter-purescript.pscIdeExe")
updated:
@pscIde = atom.config.get("ide-purescript.pscIdeExe")
<|file_sep|>lib/psc-ide.coffee.diff
original:
updated:
if completions.length > 0
@getType completions[0]
<|file_sep|>original/l... | df115d4cd7ef02c46cde4f0fdf35791509bead74 | lib/psc-ide.coffee | lib/psc-ide.coffee | CoffeeScript |
<|file_sep|>original/README.md
Although this open-source project was started by [GKE](https://cloud.google.com/kubernetes-engine/),
the add-on works the same in any Kubernetes cluster.
## Documentation
Please see the [documentation site](https://metacontroller.app) for details
on how to install, use, or contribute to... | ## :zap: Metacontroller Has Moved
Active development of metacontroller continues at [metacontroller/metacontroller](https://github.com/metacontroller/metacontroller). This repository is no longer maintained. | <|file_sep|>original/README.md
Although this open-source project was started by [GKE](https://cloud.google.com/kubernetes-engine/),
the add-on works the same in any Kubernetes cluster.
## Documentation
Please see the [documentation site](https://metacontroller.app) for details
on how to install, use, or contribute to... | 8508dba34b863c9ac0e020497edcb684d84ae9a3 | README.md | README.md | Markdown |
<|file_sep|>original/.github/workflows/publish-github-pages.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- name: Use Node.js
uses: actions/setup-node@v2.5.1
with:
node-version: 12
- run: npm ci
- run: npm run build --if-prese... |
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- name: Use Node.js
uses: actions/setup-node@v2.5.1
with:
node-version: 12
- name: Update to npm@8 for github deps
run: npm install -g npm@8
- run: npm ci
- run: npm run ... | <|file_sep|>original/.github/workflows/publish-github-pages.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- name: Use Node.js
uses: actions/setup-node@v2.5.1
with:
node-version: 12
- run: npm ci
- run: npm run build --if-prese... | 8f07f13a9c711b6856d6cca6a4675e84a2d6ca4f | .github/workflows/publish-github-pages.yml | .github/workflows/publish-github-pages.yml | YAML |
<|file_sep|>public/app/services/authService.js.diff
original:
'use strict';
updated:
'use strict';
<|file_sep|>public/app/services/authService.js.diff
original:
angular.module('authService', []);
.factory('Auth', function($http, $q, AuthToken) {
updated:
angular.module('authService', []);
// A U T H ... | authTokenFactory.setToken = function(token) {
if (token)
$window.localStorage.setItem('token', token);
else
$window.localStorage.removeItem('token');
}
})
/////
})(); | <|file_sep|>public/app/services/authService.js.diff
original:
'use strict';
updated:
'use strict';
<|file_sep|>public/app/services/authService.js.diff
original:
angular.module('authService', []);
.factory('Auth', function($http, $q, AuthToken) {
updated:
angular.module('authService', []);
// A U T H ... | 48c42c77760aeb3e53c0870dac0e78959e4a7820 | public/app/services/authService.js | public/app/services/authService.js | JavaScript |
<|file_sep|>original/post_install.sh
#!/bin/bash
set -o xtrace
# Update resolv.conf with "nameserver 127.0.0.1".
sed -i 's/^#\(prepend domain-name-servers\).*$/\1 127.0.0.1;/g' /etc/dhcp/dhclient.conf
/etc/init.d/networking restart
/etc/init.d/resolvconf restart
cat /etc/resolv.conf
# Print the clean history comman... | #!/bin/bash
set -o xtrace
# Update resolv.conf with "nameserver 127.0.0.1".
sed -i 's/^#\(prepend domain-name-servers\).*$/\1 127.0.0.1;/g' /etc/dhcp/dhclient.conf
/etc/init.d/networking restart
/etc/init.d/resolvconf restart
cat /etc/resolv.conf
# Print the clean history command.
cat <<-EOF
# Command for clean his... | <|file_sep|>original/post_install.sh
#!/bin/bash
set -o xtrace
# Update resolv.conf with "nameserver 127.0.0.1".
sed -i 's/^#\(prepend domain-name-servers\).*$/\1 127.0.0.1;/g' /etc/dhcp/dhclient.conf
/etc/init.d/networking restart
/etc/init.d/resolvconf restart
cat /etc/resolv.conf
# Print the clean history comman... | fd8734e33485f78997651f540f1ee2620e37203f | post_install.sh | post_install.sh | Shell |
<|file_sep|>original/README.md
hubot-fleep
===========
Hubot adapter for http://fleep.io
<|file_sep|>current/README.md
hubot-fleep
===========
Hubot adapter for http://fleep.io
<|file_sep|>updated/README.md | hubot-fleep
===========
Hubot adapter for http://fleep.io
# Project status
The adapter works, but only for really straightforward usage. A lot of corner cases are as of yet unhandled: what happens when the bot joins with a conversation with previous history? What happens if the bot is present in multiple channels? ... | <|file_sep|>original/README.md
hubot-fleep
===========
Hubot adapter for http://fleep.io
<|file_sep|>current/README.md
hubot-fleep
===========
Hubot adapter for http://fleep.io
<|file_sep|>updated/README.md
hubot-fleep
===========
Hubot adapter for http://fleep.io
# Project status
The adapter works, but only for ... | 6ca1dd77a4177e105d5fa7dce75c16a228c70ba5 | README.md | README.md | Markdown |
<|file_sep|>original/Resources/templates/CommonAdmin/EditTemplate/fieldset.php.twig
{% block form_fieldset %}
{{ echo_block("form_fieldset_" ~ fieldset|classify|replace({'.': '_'})) }}
<fieldset class="form_block form_fieldset_{{ fieldset|classify|replace({'.': '_'}) }} fieldset_tabbable">
{% if "NONE" != f... | {% block form_fieldset %}
{{ echo_block("form_fieldset_" ~ fieldset|classify|replace({'.': '_'})) }}
<fieldset class="form_block form_fieldset_{{ fieldset|classify|replace({'.': '_'}) }} fieldset_tabbable">
{% if "NONE" != fieldset[:4] %}
<legend><span>{{ echo_trans(fieldset,{}, i18n_catalog is defi... | <|file_sep|>original/Resources/templates/CommonAdmin/EditTemplate/fieldset.php.twig
{% block form_fieldset %}
{{ echo_block("form_fieldset_" ~ fieldset|classify|replace({'.': '_'})) }}
<fieldset class="form_block form_fieldset_{{ fieldset|classify|replace({'.': '_'}) }} fieldset_tabbable">
{% if "NONE" != f... | cd99f5af2973faa578ee32ae22688ba250881a40 | Resources/templates/CommonAdmin/EditTemplate/fieldset.php.twig | Resources/templates/CommonAdmin/EditTemplate/fieldset.php.twig | Twig |
<|file_sep|>packages/pi/pipes-lzma.yaml.diff
original:
hash: e704705165de18fd9c7ae84fc12a2e8c9b6409da34c65f5579cd3d2431d3fbd2
test-bench-deps: {}
updated:
hash: aaa69808a5f61a82124f633802a2e06cd7a608e049a85744226b7dc17f056d5d
test-bench-deps:
bytestring: -any
base: ! '>=4.6 && <4.10'
pipes-bytestring: -any
pipe... | maintainer: ben@smart-cactus.org
synopsis: LZMA compressors and decompressors for the Pipes package
changelog: ''
basic-deps:
bytestring: ! '>=0.10 && <0.11'
base: ! '>=4.6 && <4.10'
pipes-bytestring: -any
pipes: ! '>=4.0 && <4.3'
lzma: ! '>=0.0.0.1 && <0.1'
pipes-lzma: -any
all-versions:
- '0.1.0.0'
- '0.1... | <|file_sep|>packages/pi/pipes-lzma.yaml.diff
original:
hash: e704705165de18fd9c7ae84fc12a2e8c9b6409da34c65f5579cd3d2431d3fbd2
test-bench-deps: {}
updated:
hash: aaa69808a5f61a82124f633802a2e06cd7a608e049a85744226b7dc17f056d5d
test-bench-deps:
bytestring: -any
base: ! '>=4.6 && <4.10'
pipes-bytestring: -any
pipe... | eaed695352dc0e13b6a72afe593f76c2d78b62f9 | packages/pi/pipes-lzma.yaml | packages/pi/pipes-lzma.yaml | YAML |
<|file_sep|>spec/helpers/ci_status_helper_spec.rb.diff
original:
describe 'ci_icon_for_status' do
updated:
describe '#ci_icon_for_status' do
<|file_sep|>spec/helpers/ci_status_helper_spec.rb.diff
original:
expect(helper).to receive(:render).with('shared/icons/icon_status_success.svg', anything)
updated:
... |
context 'when status is something else' do
it 'returns status unchanged' do
expect(helper.ci_text_for_status('some-status'))
.to eq 'some-status'
end
end
end
describe "#pipeline_status_cache_key" do
let(:pipeline_status) do
Gitlab::Cache::Ci::ProjectPipelineStatus
... | <|file_sep|>spec/helpers/ci_status_helper_spec.rb.diff
original:
describe 'ci_icon_for_status' do
updated:
describe '#ci_icon_for_status' do
<|file_sep|>spec/helpers/ci_status_helper_spec.rb.diff
original:
expect(helper).to receive(:render).with('shared/icons/icon_status_success.svg', anything)
updated:
... | 2a80ba27b6e502e96c5617d07ec53056359cb1cd | spec/helpers/ci_status_helper_spec.rb | spec/helpers/ci_status_helper_spec.rb | Ruby |
<|file_sep|>original/requirements/base.txt
django-apiblueprint-view==2.3.0
django-basicauth==0.5.3
django-extensions==3.1.1
django-localflavor==3.0.1
django-markdown-deux==1.0.5
django==2.2.18 # pyup: >=2.2,<3.0
djangorestframework==3.12.2
djangorestframework-gis==0.17
django-cors-headers==3.7.0
fastkml==0.11
rapidfuz... | django-apiblueprint-view==2.3.0
django-basicauth==0.5.3
django-extensions==3.1.1
django-localflavor==3.0.1
django-markdown-deux==1.0.5
django==2.2.18 # pyup: >=2.2,<3.0
djangorestframework==3.12.2
djangorestframework-gis==0.17
django-cors-headers==3.7.0
fastkml==0.11
rapidfuzz==1.0.0
lxml==4.6.2
marshmallow==3.10.0
ps... | <|file_sep|>original/requirements/base.txt
django-apiblueprint-view==2.3.0
django-basicauth==0.5.3
django-extensions==3.1.1
django-localflavor==3.0.1
django-markdown-deux==1.0.5
django==2.2.18 # pyup: >=2.2,<3.0
djangorestframework==3.12.2
djangorestframework-gis==0.17
django-cors-headers==3.7.0
fastkml==0.11
rapidfuz... | 7585ae37fdd3856ea9ee36160dc519a11ca6dcfc | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.0
script: npm run setup && npm run sass && npm run build-pages && npm run deploy-pages
cache:
directories:
- node_modules
- vendor/bundle
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.0
script: npm run setup && npm run sass && npm run build-pa... | language: ruby
rvm:
- 2.2.0
script: npm run setup && npm run sass && npm run build-pages && npm run deploy-pages
cache:
directories:
- bower_components
- node_modules
- vendor/bundle | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.0
script: npm run setup && npm run sass && npm run build-pages && npm run deploy-pages
cache:
directories:
- node_modules
- vendor/bundle
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.0
script: npm run setup && npm run sass && npm run build-pa... | 2c061a7d83c22d3b543f0f81bef25bcf0e9a6d37 | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.