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|>growl_windows.gemspec.diff original: s.version = "0.1.0" updated: s.version = "0.1.1" <|file_sep|>growl_windows.gemspec.diff original: updated: s.add_dependency "growl" <|file_sep|>original/growl_windows.gemspec Gem::Specification.new do |s| s.name = "growl_windows" s.v...
Gem::Specification.new do |s| s.name = "growl_windows" s.version = "0.1.1" s.authors = "debbbbie" s.date = "2013-12-09" s.description = "Make gem `growl` support windows" s.email = "debbbbie@163.com" s.files = ["growl_windows.gemspec", "lib/growl_windows.rb...
<|file_sep|>growl_windows.gemspec.diff original: s.version = "0.1.0" updated: s.version = "0.1.1" <|file_sep|>growl_windows.gemspec.diff original: updated: s.add_dependency "growl" <|file_sep|>original/growl_windows.gemspec Gem::Specification.new do |s| s.name = "growl_windows" s.v...
1bf309d7d4693427f92a6d0228e5687fd5f03113
growl_windows.gemspec
growl_windows.gemspec
Ruby
<|file_sep|>original/config.py config_fname = "configuration.yaml" def __init__(self, config_fname=None): config_fname = config_fname or self.config_fname fo = open(config_fname, "r") blob = fo.read() fo.close() self.config = yaml.load(blob) def __getattr__(self, at...
fo.close() self.config = yaml.load(blob) def __getattr__(self, attrname): if attrname == "slack_name": warnings.warn("The `slack_name` key in %s is deprecated in favor of the `SLACK_NAME` environment variable" % self.config_fname, DeprecationWarning) ...
<|file_sep|>original/config.py config_fname = "configuration.yaml" def __init__(self, config_fname=None): config_fname = config_fname or self.config_fname fo = open(config_fname, "r") blob = fo.read() fo.close() self.config = yaml.load(blob) def __getattr__(self, at...
8b9fe74976d77df32d73792f74ef4ddea1eb525f
config.py
config.py
Python
<|file_sep|>S06-signature/outside-subroutine.t.diff original: updated: <|file_sep|>S06-signature/outside-subroutine.t.diff original: =begin desc updated: plan 1; <|file_sep|>S06-signature/outside-subroutine.t.diff original: Signature binding outside of routine calls RT #82946 updated: # RT #82946 subtest 'signature b...
use v6; use Test; plan 1; # RT #82946 subtest 'signature binding outside of routine calls' => { plan 2; my ($f, $o, @a); @a = 2, 3, 4; :($f, $o, $) := @a; is $f, 2, 'f eq 2 after binding'; is $o, 3, 'o eq 3 after binding'; }; # vim: ft=perl6
<|file_sep|>S06-signature/outside-subroutine.t.diff original: updated: <|file_sep|>S06-signature/outside-subroutine.t.diff original: =begin desc updated: plan 1; <|file_sep|>S06-signature/outside-subroutine.t.diff original: Signature binding outside of routine calls RT #82946 updated: # RT #82946 subtest 'signature b...
d83827391ace90d8aee6a1ace6cd38493dce32f4
S06-signature/outside-subroutine.t
S06-signature/outside-subroutine.t
Perl
<|file_sep|>original/css/delayedscroll.css html, body { height: 100%; width: 100%; margin: 0; padding: 0; } .delayedscroll, .delayedscroll > * { height: 100%; width: 100%; margin: 0 auto; } <|file_sep|>current/css/delayedscroll.css html, body { height: 100%; width: 100%; margin: 0; padding: 0; } ...
html, body { height: 100%; width: 100%; margin: 0; padding: 0; } .delayedscroll, .delayedscroll > * { height: 100%; width: 100%; margin: 0 auto; } ::-webkit-scrollbar { display: none; }
<|file_sep|>original/css/delayedscroll.css html, body { height: 100%; width: 100%; margin: 0; padding: 0; } .delayedscroll, .delayedscroll > * { height: 100%; width: 100%; margin: 0 auto; } <|file_sep|>current/css/delayedscroll.css html, body { height: 100%; width: 100%; margin: 0; padding: 0; } ...
e42f71677214f06959b9f15bf49de92bcadd0928
css/delayedscroll.css
css/delayedscroll.css
CSS
<|file_sep|>lib/repository-clients/figshare-client.js.diff original: export function searchFigshare(search_for, pageNumber) { updated: export function searchFigshare(search_for, page) { page = page || 1; <|file_sep|>original/lib/repository-clients/figshare-client.js import { format as strFormat } from 'util'; const ...
import { format as strFormat } from 'util'; const searchUrl = 'http://api.figshare.com/v2/articles/search'; const l2ArticleUrl = 'https://api.figshare.com/v2/articles/%s'; export function searchFigshare(search_for, page) { page = page || 1; return new Promise((resolve, reject) => ( post({ url: searchU...
<|file_sep|>lib/repository-clients/figshare-client.js.diff original: export function searchFigshare(search_for, pageNumber) { updated: export function searchFigshare(search_for, page) { page = page || 1; <|file_sep|>original/lib/repository-clients/figshare-client.js import { format as strFormat } from 'util'; const ...
b8114efe1ba960a1b09d7ec396c0bda16bdc29b4
lib/repository-clients/figshare-client.js
lib/repository-clients/figshare-client.js
JavaScript
<|file_sep|>original/package.json "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.1", ...
"author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.1", "@types/node": "16.11.33", "c...
<|file_sep|>original/package.json "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.1", ...
7cf0bc66db2b37b84e1c8b011282e132dc1b445f
package.json
package.json
JSON
<|file_sep|>original/manageiq-providers-amazon.gemspec $:.push File.expand_path("../lib", __FILE__) require "manageiq/providers/amazon/version" Gem::Specification.new do |s| s.name = "manageiq-providers-amazon" s.version = ManageIQ::Providers::Amazon::VERSION s.authors = ["ManageIQ Developers"] ...
s.name = "manageiq-providers-amazon" s.version = ManageIQ::Providers::Amazon::VERSION s.authors = ["ManageIQ Developers"] s.homepage = "https://github.com/ManageIQ/manageiq-providers-amazon" s.summary = "Amazon Provider for ManageIQ" s.description = "Amazon Provider for ManageIQ" s.l...
<|file_sep|>original/manageiq-providers-amazon.gemspec $:.push File.expand_path("../lib", __FILE__) require "manageiq/providers/amazon/version" Gem::Specification.new do |s| s.name = "manageiq-providers-amazon" s.version = ManageIQ::Providers::Amazon::VERSION s.authors = ["ManageIQ Developers"] ...
e9e700b1552b948473c616f161afffc2bbe5ee80
manageiq-providers-amazon.gemspec
manageiq-providers-amazon.gemspec
Ruby
<|file_sep|>original/requirements-dev.txt thunder-python==1.4.2 scipy==1.1.0 numpy==1.15.1 future==0.16.0 pytest==3.7.3 pytest-pep8==1.0.6 mock==2.0.0 scikit-learn==0.19.2 pytest-cov==2.5.1 coveralls==1.4.0 <|file_sep|>current/requirements-dev.txt thunder-python==1.4.2 scipy==1.1.0 numpy==1.15.1 future==0.16.0 pytest==...
thunder-python==1.4.2 scipy==1.1.0 numpy==1.15.1 future==0.16.0 pytest==3.7.3 pytest-pep8==1.0.6 mock==2.0.0 scikit-learn==0.19.2 pytest-cov==2.5.1 coveralls==1.5.0
<|file_sep|>original/requirements-dev.txt thunder-python==1.4.2 scipy==1.1.0 numpy==1.15.1 future==0.16.0 pytest==3.7.3 pytest-pep8==1.0.6 mock==2.0.0 scikit-learn==0.19.2 pytest-cov==2.5.1 coveralls==1.4.0 <|file_sep|>current/requirements-dev.txt thunder-python==1.4.2 scipy==1.1.0 numpy==1.15.1 future==0.16.0 pytest==...
6dbb14647323f6fee7adfe09e1b0e4d15c4a9ea9
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/data2sql/data2sql.py <|file_sep|>current/data2sql/data2sql.py <|file_sep|>updated/data2sql/data2sql.py
# -*- coding: utf-8 -*- """ Rongxin Yin, 11/2/2016 """ import pandas as pd import seaborn as sns a = [1,2,3] df = pd.DataFrame(a,['a','b','c']) print("Done")
<|file_sep|>original/data2sql/data2sql.py <|file_sep|>current/data2sql/data2sql.py <|file_sep|>updated/data2sql/data2sql.py # -*- coding: utf-8 -*- """ Rongxin Yin, 11/2/2016 """ import pandas as pd import seaborn as sns a = [1,2,3] df = pd.DataFrame(a,['a','b','c']) print("Done")
c0d38e490d6503209e08b1b5906b579339088714
data2sql/data2sql.py
data2sql/data2sql.py
Python
<|file_sep|>test/task/collection.spec.coffee.diff original: updated: User = require 'user/model' <|file_sep|>original/test/task/collection.spec.coffee beforeEach -> @taskId = 'm_uuid/C_UUID' @task = _.extend({}, TASK, taskId: @taskId, moduleUUID: 'm_uuid', collectionUUID: 'C_UUID' ) Collection.load(@tas...
it 'can get as a page', -> page = Collection.getAsPage(@taskId) expect( _.pluck(page.exercises, 'task_id') ) .to.deep.equal(['265', '265', '265']) it 'can get the index of a step', -> expect(Collection.getStepIndex(@taskId, '4572')).to.equal(1) it 'can get the module info', -> info = Col...
<|file_sep|>test/task/collection.spec.coffee.diff original: updated: User = require 'user/model' <|file_sep|>original/test/task/collection.spec.coffee beforeEach -> @taskId = 'm_uuid/C_UUID' @task = _.extend({}, TASK, taskId: @taskId, moduleUUID: 'm_uuid', collectionUUID: 'C_UUID' ) Collection.load(@tas...
258de2f2ceb7eb9ee548c899722f5507153363e3
test/task/collection.spec.coffee
test/task/collection.spec.coffee
CoffeeScript
<|file_sep|>original/.circleci/config.yml - run: composer install -n --prefer-dist - save_cache: paths: - ./vendor key: v1-dependencies-{{ checksum "composer.json" }} # run tests! - run: ./vendor/bin/phpunit -d memory_limit=2048M - restore_cache: ...
paths: - ./vendor key: v1-dependencies-{{ checksum "composer.json" }} # run tests! - run: ./vendor/bin/phpunit -d memory_limit=2048M - restore_cache: keys: - frontend-dependencies-{{ checksum "yarn.lock" }} - run: yarn install - save_...
<|file_sep|>original/.circleci/config.yml - run: composer install -n --prefer-dist - save_cache: paths: - ./vendor key: v1-dependencies-{{ checksum "composer.json" }} # run tests! - run: ./vendor/bin/phpunit -d memory_limit=2048M - restore_cache: ...
f037476bef0e878a460653c58e2a323a3e8dad26
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/lib/engineyard-cloud-client/version.rb # This file is maintained by a herd of rabid monkeys with Rakes. module EY class CloudClient VERSION = '1.0.5' end end # Please be aware that the monkeys like tho throw poo sometimes. <|file_sep|>current/lib/engineyard-cloud-client/version.rb # This fi...
# This file is maintained by a herd of rabid monkeys with Rakes. module EY class CloudClient VERSION = '1.0.6.pre' end end # Please be aware that the monkeys like tho throw poo sometimes.
<|file_sep|>original/lib/engineyard-cloud-client/version.rb # This file is maintained by a herd of rabid monkeys with Rakes. module EY class CloudClient VERSION = '1.0.5' end end # Please be aware that the monkeys like tho throw poo sometimes. <|file_sep|>current/lib/engineyard-cloud-client/version.rb # This fi...
4c9e22d2d0eb3aac358306b62e2f78541ba339f0
lib/engineyard-cloud-client/version.rb
lib/engineyard-cloud-client/version.rb
Ruby
<|file_sep|>iotests/trim.c.diff original: int fd = open(argv[i], O_WRONLY | O_EXCL | O_DIRECT); updated: int fd = open(argv[i], O_RDWR | O_EXCL | O_DIRECT ); <|file_sep|>original/iotests/trim.c int keepRunning = 1; int main(int argc, char *argv[]) { // int index = handle_args(argc, argv); int index = 1; ...
int keepRunning = 1; int main(int argc, char *argv[]) { // int index = handle_args(argc, argv); int index = 1; // signal(SIGTERM, intHandler); // signal(SIGINT, intHandler); for (size_t i = index; i < argc; i++) { int fd = open(argv[i], O_RDWR | O_EXCL | O_DIRECT ); if (fd >= 0) { size_t bd...
<|file_sep|>iotests/trim.c.diff original: int fd = open(argv[i], O_WRONLY | O_EXCL | O_DIRECT); updated: int fd = open(argv[i], O_RDWR | O_EXCL | O_DIRECT ); <|file_sep|>original/iotests/trim.c int keepRunning = 1; int main(int argc, char *argv[]) { // int index = handle_args(argc, argv); int index = 1; ...
5103d9b68accfc116275636d1a6068aa14df2d33
iotests/trim.c
iotests/trim.c
C
<|file_sep|>client/gui/dialogs/characterstatus.js.diff original: // TODO: real hp values this.hp.min(0); updated: <|file_sep|>client/gui/dialogs/characterstatus.js.diff original: // TODO real mp values this.mp.min(0); updated: <|file_sep|>original/client/gui/dialogs/characterstatus.js this._update(); }; ui...
ui.CharacterStatusDialog.prototype.setCharacter = function(character) { this._character = character; this._update(); }; ui.CharacterStatusDialog.prototype._update = function() { this.name.text(this._character.name); this.hp.max(this._character.stats.getMaxHp()); this.hp.value(this._character.hp); this.mp...
<|file_sep|>client/gui/dialogs/characterstatus.js.diff original: // TODO: real hp values this.hp.min(0); updated: <|file_sep|>client/gui/dialogs/characterstatus.js.diff original: // TODO real mp values this.mp.min(0); updated: <|file_sep|>original/client/gui/dialogs/characterstatus.js this._update(); }; ui...
0b9463c319ba9607da5e854f92b7d0ad7bc982e5
client/gui/dialogs/characterstatus.js
client/gui/dialogs/characterstatus.js
JavaScript
<|file_sep|>original/src/server/interface/chroma.kmd.json { "name": "chroma", "version": "1.0.2", "kurentoVersion": "^5.0.0", "code": { "api": { "js": { "nodeName": "kurento-module-chroma", "npmDescription": "Chroma Detector Filter", "npmGit": "Kurento/kurento-module-chroma-js"...
{ "name": "chroma", "version": "1.0.3-dev", "kurentoVersion": "^5.0.0", "code": { "api": { "js": { "nodeName": "kurento-module-chroma", "npmDescription": "Chroma Detector Filter", "npmGit": "Kurento/kurento-module-chroma-js" } } } }
<|file_sep|>original/src/server/interface/chroma.kmd.json { "name": "chroma", "version": "1.0.2", "kurentoVersion": "^5.0.0", "code": { "api": { "js": { "nodeName": "kurento-module-chroma", "npmDescription": "Chroma Detector Filter", "npmGit": "Kurento/kurento-module-chroma-js"...
2d490a8e9847d58c7113898b46e7fa0b22947e76
src/server/interface/chroma.kmd.json
src/server/interface/chroma.kmd.json
JSON
<|file_sep|>original/plugins/other/graceful-shutdown-check.rb <|file_sep|>current/plugins/other/graceful-shutdown-check.rb <|file_sep|>updated/plugins/other/graceful-shutdown-check.rb
#! /usr/bin/env ruby # # Graceful Shutdown Monitor # === # # DESCRIPTION: # This check is responsible for removing clients from Sensu who have # graceful shutdown stashes associated with them, in an effort # to reduce the chance of a keepalive handler firing for them. # # PLATFORMS: # all # # DEPENDENCIES: # ...
<|file_sep|>original/plugins/other/graceful-shutdown-check.rb <|file_sep|>current/plugins/other/graceful-shutdown-check.rb <|file_sep|>updated/plugins/other/graceful-shutdown-check.rb #! /usr/bin/env ruby # # Graceful Shutdown Monitor # === # # DESCRIPTION: # This check is responsible for removing clients from Sens...
c4768554662b29f9d1b7c352e142ebb78d6e59bf
plugins/other/graceful-shutdown-check.rb
plugins/other/graceful-shutdown-check.rb
Ruby
<|file_sep|>phpunit.xml.dist.diff original: colors="true"> updated: colors="true" convertErrorsToExceptions="true" convertDeprecationsToExceptions="false"> <|file_sep|>original/phpunit.xml.dist <?xml version="1.0" encoding="UTF-8"?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchem...
<?xml version="1.0" encoding="UTF-8"?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertDeprecationsToExcept...
<|file_sep|>phpunit.xml.dist.diff original: colors="true"> updated: colors="true" convertErrorsToExceptions="true" convertDeprecationsToExceptions="false"> <|file_sep|>original/phpunit.xml.dist <?xml version="1.0" encoding="UTF-8"?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchem...
dc5c63a65e614acf4dac767355c2ca06a1aa7428
phpunit.xml.dist
phpunit.xml.dist
unknown
<|file_sep|>original/composer.json "name": "The SilverStripe Community", "homepage": "http://silverstripe.org" } ], "require": { "php": ">=5.3.2", "composer/installers": "*", "silverstripe/framework": "3.2.x-dev", "silverstripe/reports": "*", "silverstripe/siteconfig": "3.2.x-dev" }, "extra": { ...
{ "name": "SilverStripe", "homepage": "http://silverstripe.com" }, { "name": "The SilverStripe Community", "homepage": "http://silverstripe.org" } ], "require": { "php": ">=5.3.2", "composer/installers": "*", "silverstripe/framework": "~3.2", "silverstripe/reports": "~3.2", "silverstripe...
<|file_sep|>original/composer.json "name": "The SilverStripe Community", "homepage": "http://silverstripe.org" } ], "require": { "php": ">=5.3.2", "composer/installers": "*", "silverstripe/framework": "3.2.x-dev", "silverstripe/reports": "*", "silverstripe/siteconfig": "3.2.x-dev" }, "extra": { ...
4cad75d9affaa7269fd400d516dce629c923bdef
composer.json
composer.json
JSON
<|file_sep|>original/requirements-dev.txt -r requirements.txt check-manifest==0.35 pyroma==2.2 pytest==3.2.2 pytest-mock==1.6.3 tox==2.8.2 flake8==3.4.1 twine==1.9.1 coverage==4.4.1 pytest-cov==2.5.1 Sphinx==1.6.3 sphinx-autobuild==0.7.1 redis==2.10.6 <|file_sep|>current/requirements-dev.txt -r requirements.txt check-m...
-r requirements.txt check-manifest==0.35 pyroma==2.2 pytest==3.2.2 pytest-mock==1.6.3 tox==2.8.2 flake8==3.4.1 twine==1.9.1 coverage==4.4.1 pytest-cov==2.5.1 Sphinx==1.6.4 sphinx-autobuild==0.7.1 redis==2.10.6
<|file_sep|>original/requirements-dev.txt -r requirements.txt check-manifest==0.35 pyroma==2.2 pytest==3.2.2 pytest-mock==1.6.3 tox==2.8.2 flake8==3.4.1 twine==1.9.1 coverage==4.4.1 pytest-cov==2.5.1 Sphinx==1.6.3 sphinx-autobuild==0.7.1 redis==2.10.6 <|file_sep|>current/requirements-dev.txt -r requirements.txt check-m...
6fbcff66e77bdd3ed2bcfee01d948f84fe003fb4
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/ArtistByTagTopTests.cs.diff original: updated: private const string Tags = "rock,pop"; <|file_sep|>src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/ArtistByTagTopTests.cs.diff original: .WithParameter(...
Assert.That(tags.TaggedArtists.Count, Is.GreaterThan(0)); Assert.That(tags.Type, Is.EqualTo(ItemType.artist)); Assert.That(tags.TaggedArtists.FirstOrDefault().Artist.Name, Is.Not.Empty); } [Test] public void Can_hit_endpoint_with_paging() { ArtistByTagTop artistBrowse = Api<ArtistByTagTop>.Create ...
<|file_sep|>src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/ArtistByTagTopTests.cs.diff original: updated: private const string Tags = "rock,pop"; <|file_sep|>src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/ArtistByTagTopTests.cs.diff original: .WithParameter(...
eec69df674d92f90f5d5a8c13cf81179836ffc30
src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/ArtistByTagTopTests.cs
src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/ArtistByTagTopTests.cs
C#
<|file_sep|>original/CoreUpdates/4608-AutoCompleterThemeSupport-GeraldKlix-2021May08-15h06m-KLG.001.cs.st <|file_sep|>current/CoreUpdates/4608-AutoCompleterThemeSupport-GeraldKlix-2021May08-15h06m-KLG.001.cs.st <|file_sep|>updated/CoreUpdates/4608-AutoCompleterThemeSupport-GeraldKlix-2021May08-15h06m-KLG.001.cs.st
'From Haver 5.0 [latest update: #4589] on 8 May 2021 at 3:33:56 pm'! !Theme methodsFor: 'tool colors' stamp: 'KLG 5/8/2021 15:12:47'! autoCompleter "Answer the autocompleter's color for entries." ^ self text! ! !Theme methodsFor: 'tool colors' stamp: 'KLG 5/8/2021 15:26:51'! autoCompleterDefaultBorderColor "Answ...
<|file_sep|>original/CoreUpdates/4608-AutoCompleterThemeSupport-GeraldKlix-2021May08-15h06m-KLG.001.cs.st <|file_sep|>current/CoreUpdates/4608-AutoCompleterThemeSupport-GeraldKlix-2021May08-15h06m-KLG.001.cs.st <|file_sep|>updated/CoreUpdates/4608-AutoCompleterThemeSupport-GeraldKlix-2021May08-15h06m-KLG.001.cs.st 'F...
a7b655cbf67f46cd268bc73c86e0302acfb3253a
CoreUpdates/4608-AutoCompleterThemeSupport-GeraldKlix-2021May08-15h06m-KLG.001.cs.st
CoreUpdates/4608-AutoCompleterThemeSupport-GeraldKlix-2021May08-15h06m-KLG.001.cs.st
Smalltalk
<|file_sep|>original/app/controllers/restful_redirect_controller.rb class RestfulRedirectController < ApplicationController before_action :check_privileges def index case params[:model] when 'MiqRequest' redirect_to :controller => 'miq_request', :action => 'show', :id => params[:id] when 'VmOrTem...
class RestfulRedirectController < ApplicationController before_action :check_privileges def index case params[:model] when 'ServiceTemplateTransformationPlanRequest' req = ServiceTemplateTransformationPlanRequest.select(:source_id).find(params[:id]) redirect_to :controller => 'migration', :acti...
<|file_sep|>original/app/controllers/restful_redirect_controller.rb class RestfulRedirectController < ApplicationController before_action :check_privileges def index case params[:model] when 'MiqRequest' redirect_to :controller => 'miq_request', :action => 'show', :id => params[:id] when 'VmOrTem...
4116c6f0c720697f8b94d43cddec33ecba897a84
app/controllers/restful_redirect_controller.rb
app/controllers/restful_redirect_controller.rb
Ruby
<|file_sep|>original/package.json <|file_sep|>current/package.json <|file_sep|>updated/package.json
{ "engines": { "node": ">=0.10.0" }, "private": true, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Crisoforo Gaspar Hernandez", "devDependencies": { "gulp": "^3.9.0", "gulp-phpcs": "^0.7.0" } }
<|file_sep|>original/package.json <|file_sep|>current/package.json <|file_sep|>updated/package.json { "engines": { "node": ">=0.10.0" }, "private": true, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Crisoforo Gaspar Hernandez", "devDependencies": { "gulp":...
1e09c63f37c9dd1804926b214d240db586d3de1e
package.json
package.json
JSON
<|file_sep|>original/lib/service/layoutService.js start: function () { layoutService.notify("start", layoutService.updateViewportSize()); }, update: function () { layoutService.notify("update", layoutService.updateViewportSize()); }, end: function () { layoutService.notify("end", layoutService.updateViewport...
update: function () { layoutService.notify("update", layoutService.updateViewportSize()); }, end: function () { layoutService.notify("end", layoutService.updateViewportSize()); } })); window.addEventListener("orientationchange", function () { var vpSize = layoutService.updateViewportSize(); // call st...
<|file_sep|>original/lib/service/layoutService.js start: function () { layoutService.notify("start", layoutService.updateViewportSize()); }, update: function () { layoutService.notify("update", layoutService.updateViewportSize()); }, end: function () { layoutService.notify("end", layoutService.updateViewport...
249be1e2ba439693679181668d951203e7d4422c
lib/service/layoutService.js
lib/service/layoutService.js
JavaScript
<|file_sep|>original/src/main/resources/public/package.json { "name": "spring-rest-todos", "version": "0.0.0", "description": "", "main": "main.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "brian@hovercraftstudios.com", "license": "MIT", "dependencies": { ...
{ "name": "spring-rest-todos", "version": "0.0.0", "description": "", "main": "main.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "brian@hovercraftstudios.com", "license": "MIT", "dependencies": { "fabulous": "briancavalier/fabulous", "jiff": "~0.6", ...
<|file_sep|>original/src/main/resources/public/package.json { "name": "spring-rest-todos", "version": "0.0.0", "description": "", "main": "main.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "brian@hovercraftstudios.com", "license": "MIT", "dependencies": { ...
e8622c83b824ecc6f4ce00b41841d29bf0402973
src/main/resources/public/package.json
src/main/resources/public/package.json
JSON
<|file_sep|>time.php.diff original: /** * */ updated: <|file_sep|>original/time.php <?php date_default_timezone_set('UTC'); /** * */ class time extends Script { protected $helpMessage = 'Returns the actual UTC time'; public function run() { return $this->send(date(DATE_RFC822)); } } <|file...
<?php date_default_timezone_set('UTC'); class time extends Script { protected $helpMessage = "'time'\n"; protected $description = 'Returns the actual UTC-time'; public function run() { return $this->send(date(DATE_RFC822)); } }
<|file_sep|>time.php.diff original: /** * */ updated: <|file_sep|>original/time.php <?php date_default_timezone_set('UTC'); /** * */ class time extends Script { protected $helpMessage = 'Returns the actual UTC time'; public function run() { return $this->send(date(DATE_RFC822)); } } <|file...
109030e6819850be4818f29227a1870b447644f7
time.php
time.php
PHP
<|file_sep|>original/docs/requirements.txt Sphinx==1.7.5 sphinx_rtd_theme==0.4.0 sphinx-autobuild==0.7.1 docutils==0.14 <|file_sep|>current/docs/requirements.txt Sphinx==1.7.5 sphinx_rtd_theme==0.4.0 sphinx-autobuild==0.7.1 docutils==0.14 <|file_sep|>updated/docs/requirements.txt
Sphinx==1.7.6 sphinx_rtd_theme==0.4.0 sphinx-autobuild==0.7.1 docutils==0.14
<|file_sep|>original/docs/requirements.txt Sphinx==1.7.5 sphinx_rtd_theme==0.4.0 sphinx-autobuild==0.7.1 docutils==0.14 <|file_sep|>current/docs/requirements.txt Sphinx==1.7.5 sphinx_rtd_theme==0.4.0 sphinx-autobuild==0.7.1 docutils==0.14 <|file_sep|>updated/docs/requirements.txt Sphinx==1.7.6 sphinx_rtd_theme==0.4.0 s...
153f5d9c127a82d610b7abb3bf032b95d567c4e3
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>original/examples/abl-imatinib-explicit/yank.yaml <|file_sep|>current/examples/abl-imatinib-explicit/yank.yaml <|file_sep|>updated/examples/abl-imatinib-explicit/yank.yaml
--- molecules: Abl: filepath: setup/2HYY-pdbfixer.pdb parameters: leaprc.ff14SB STI: filepath: setup/STI02.mol2 parameters: antechamber solvents: PME: nonbonded_method: CutoffPeriodic nonbonded_cutoff: 1*nanometer clearance: 10*angstroms experiments: components: ...
<|file_sep|>original/examples/abl-imatinib-explicit/yank.yaml <|file_sep|>current/examples/abl-imatinib-explicit/yank.yaml <|file_sep|>updated/examples/abl-imatinib-explicit/yank.yaml --- molecules: Abl: filepath: setup/2HYY-pdbfixer.pdb parameters: leaprc.ff14SB STI: filepath: setup/STI02.mol2 pa...
7e8ce65dee65ddb45dfb3a4402358a53e822044e
examples/abl-imatinib-explicit/yank.yaml
examples/abl-imatinib-explicit/yank.yaml
YAML
<|file_sep|>original/.github/config.yml <|file_sep|>current/.github/config.yml <|file_sep|>updated/.github/config.yml
# Configuration for sentiment-bot - https://github.com/behaviorbot/sentiment-bot # *Required* toxicity threshold between 0 and .99 with the higher numbers being the most toxic # Anything higher than this threshold will be marked as toxic and commented on sentimentBotToxicityThreshold: .7 # *Required* Comment to reply...
<|file_sep|>original/.github/config.yml <|file_sep|>current/.github/config.yml <|file_sep|>updated/.github/config.yml # Configuration for sentiment-bot - https://github.com/behaviorbot/sentiment-bot # *Required* toxicity threshold between 0 and .99 with the higher numbers being the most toxic # Anything higher than ...
ad985aa4a2dbba986b4a13b94c08fb275e62e943
.github/config.yml
.github/config.yml
YAML
<|file_sep|>collects/meta/web/download/index.rkt.diff original: updated: (define libs (symlink (in-ftp "libs"))) <|file_sep|>original/collects/meta/web/download/index.rkt (require "resources.rkt" "data.rkt" "../www/download.rkt") (define (in-ftp . paths) (string-join (cons "/var/ftp/pub/racket" paths) "/")) ...
(define (in-ftp . paths) (string-join (cons "/var/ftp/pub/racket" paths) "/")) (define docs (symlink (in-ftp "docs"))) (define installers (symlink (in-ftp "installers"))) (define libs (symlink (in-ftp "libs"))) (define stubs (symlink "/www/stubs")) (provide index) (define index @page[#:link-titl...
<|file_sep|>collects/meta/web/download/index.rkt.diff original: updated: (define libs (symlink (in-ftp "libs"))) <|file_sep|>original/collects/meta/web/download/index.rkt (require "resources.rkt" "data.rkt" "../www/download.rkt") (define (in-ftp . paths) (string-join (cons "/var/ftp/pub/racket" paths) "/")) ...
2787cc85c85795c33d85bc2e4da8d62c39f7fe1a
collects/meta/web/download/index.rkt
collects/meta/web/download/index.rkt
Racket
<|file_sep|>build.gradle.kts.diff original: updated: import org.eclipse.jgit.api.Git as JGit import org.eclipse.jgit.storage.file.FileRepositoryBuilder <|file_sep|>build.gradle.kts.diff original: updated: classpath("org.eclipse.jgit:org.eclipse.jgit:4.6.0.201612231935-r") <|file_sep|>original/build.gradle.kt...
sourceCompatibility = JavaVersion.VERSION_1_7 targetCompatibility = JavaVersion.VERSION_1_7 } val kotlinVersion: String by extra dependencies { compile(gradleApi()) compile("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion") testCompile("junit:junit:4.12") } val git = Git(project) /** * Remove ...
<|file_sep|>build.gradle.kts.diff original: updated: import org.eclipse.jgit.api.Git as JGit import org.eclipse.jgit.storage.file.FileRepositoryBuilder <|file_sep|>build.gradle.kts.diff original: updated: classpath("org.eclipse.jgit:org.eclipse.jgit:4.6.0.201612231935-r") <|file_sep|>original/build.gradle.kt...
e1009098152c01b34b751d9e40ee531be63902f8
build.gradle.kts
build.gradle.kts
Kotlin
<|file_sep|>original/geocoder.js var geocoder = require('node-geocoder') ("google", "https", { apiKey: '<YOUR-KEY>' }); var csv = require('csv'); process.stdin .pipe(csv.parse()) .pipe(csv.transform(function(data, callback){ setImmediate(function(){ geocoder.geocode(data[1]) .then(function(res) { dat...
var apiKey = "<YOUR-KEY>"; var geocoder = require('node-geocoder') ("google", "https", { apiKey: apiKey }); var csv = require('csv'); process.stdin .pipe(csv.parse()) .pipe(csv.transform(function(data, callback){ setImmediate(function(){ geocoder.geocode(data[1]) .then(function(res) { data.push(res[0]...
<|file_sep|>original/geocoder.js var geocoder = require('node-geocoder') ("google", "https", { apiKey: '<YOUR-KEY>' }); var csv = require('csv'); process.stdin .pipe(csv.parse()) .pipe(csv.transform(function(data, callback){ setImmediate(function(){ geocoder.geocode(data[1]) .then(function(res) { dat...
4f0e80b7dc2744c9527cebc5b9c99605f1f92f0a
geocoder.js
geocoder.js
JavaScript
<|file_sep|>original/rotational-cipher/rotational_cipher.py import string UPPER = string.ascii_uppercase LOWER = string.ascii_lowercase def rotate(s, n): rules = shift_rules(n) return "".join(map(lambda k: rules.get(k, k), s)) def shift_rules(n): shifted = UPPER[n:] + UPPER[:n] + LOWER[n:] + LOWER[:n]...
import string UPPER = string.ascii_uppercase LOWER = string.ascii_lowercase def rotate(s, n): rules = shift_rules(n) return "".join(rules.get(ch, ch) for ch in s) def shift_rules(n): shifted = UPPER[n:] + UPPER[:n] + LOWER[n:] + LOWER[:n] return {k:v for k,v in zip(UPPER+LOWER, shifted)}
<|file_sep|>original/rotational-cipher/rotational_cipher.py import string UPPER = string.ascii_uppercase LOWER = string.ascii_lowercase def rotate(s, n): rules = shift_rules(n) return "".join(map(lambda k: rules.get(k, k), s)) def shift_rules(n): shifted = UPPER[n:] + UPPER[:n] + LOWER[n:] + LOWER[:n]...
77ddff664ad1e10037a43c3ffabd816387c35e42
rotational-cipher/rotational_cipher.py
rotational-cipher/rotational_cipher.py
Python
<|file_sep|>original/README.md # stm32f411e-disco > A library to use with the STM32F411E-DISCO board. Created from > [this template](https://github.com/japaric/cortex-m-template) by [japaric](https://github.com/japaric). # License Licensed under either of - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APAC...
# stm32f411e-disco > A library to use with the STM32F411E-DISCO board. Created from > [this template](https://github.com/japaric/cortex-m-template) by [japaric](https://github.com/japaric). # Running the examples First you will need to install a set of tools. Follow these [installation instructions](https://japaric....
<|file_sep|>original/README.md # stm32f411e-disco > A library to use with the STM32F411E-DISCO board. Created from > [this template](https://github.com/japaric/cortex-m-template) by [japaric](https://github.com/japaric). # License Licensed under either of - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APAC...
1f0d9dd0e41dd73cd6da9e2498f32d76800f4ab8
README.md
README.md
Markdown
<|file_sep|>original/jsduck.json { "--title": "GeoExt 2 Docs", "-o": "docs", "--external": "OpenLayers.Map,OpenLayers.Control,Integer,OpenLayers.Layer,OpenLayers.Bounds,OpenLayers.LonLat,OpenLayers.Rule,OpenLayers.Feature.Vector,OpenLayers.Pixel,OpenLayers.Layer.Vector,OpenLayers.Renderer", "--": [ ...
{ "--title": "GeoExt 2 Docs", "-o": "docs", "--external": "OpenLayers.Map,OpenLayers.Control,Integer,OpenLayers.Layer,OpenLayers.Bounds,OpenLayers.LonLat,OpenLayers.Rule,OpenLayers.Feature.Vector,OpenLayers.Pixel,OpenLayers.Layer.Vector,OpenLayers.Renderer", "--": [ "src", "../../extjs-4...
<|file_sep|>original/jsduck.json { "--title": "GeoExt 2 Docs", "-o": "docs", "--external": "OpenLayers.Map,OpenLayers.Control,Integer,OpenLayers.Layer,OpenLayers.Bounds,OpenLayers.LonLat,OpenLayers.Rule,OpenLayers.Feature.Vector,OpenLayers.Pixel,OpenLayers.Layer.Vector,OpenLayers.Renderer", "--": [ ...
77511109a5384c48315100a6473f87706e2bfcf6
jsduck.json
jsduck.json
JSON
<|file_sep|>original/nuts/__init__.py class AuthenticatedMessage(object): def __init__(self, sender, msg, session=None): self.sender = sender self.msg = msg self.session = session def __str__(self): return self.msg class NutsError(Exception): """ General NUTS-related failu...
class AuthenticatedMessage(object): def __init__(self, sender, msg, session=None): self.sender = sender self.msg = msg self.session = session def __str__(self): return self.msg def __int__(self): return int(self.msg) def __float__(self): return float(s...
<|file_sep|>original/nuts/__init__.py class AuthenticatedMessage(object): def __init__(self, sender, msg, session=None): self.sender = sender self.msg = msg self.session = session def __str__(self): return self.msg class NutsError(Exception): """ General NUTS-related failu...
6f8b370222b6f842b3ea89bb854b4883d145dfe0
nuts/__init__.py
nuts/__init__.py
Python
<|file_sep|>original/package.json "babel-preset-react": "^6.16.0", "babelify": "^7.3.0", "enzyme": "^2.7.0", "grunt": "*", "grunt-babel": "^6.0.0", "grunt-browserify": "^5.0.0", "grunt-contrib-sass": "*", "grunt-contrib-watch": "*", "jest": "^18.1.0", "react-addons-test-utils": "...
"grunt": "*", "grunt-babel": "^6.0.0", "grunt-browserify": "^5.0.0", "grunt-contrib-sass": "*", "grunt-contrib-watch": "*", "jest": "^18.1.0", "react-addons-test-utils": "^15.4.1", "react-test-renderer": "^15.4.2" }, "dependencies": { "classnames": "^2.2.5", "react": "^15.4.2...
<|file_sep|>original/package.json "babel-preset-react": "^6.16.0", "babelify": "^7.3.0", "enzyme": "^2.7.0", "grunt": "*", "grunt-babel": "^6.0.0", "grunt-browserify": "^5.0.0", "grunt-contrib-sass": "*", "grunt-contrib-watch": "*", "jest": "^18.1.0", "react-addons-test-utils": "...
8f2556eaaaf7fa7880d12ce11f28e1ec6a697f9b
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk7 script: - mvn clean install -Dmaven.javadoc.skip=false cache: directories: - $HOME/.m2 <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk7 script: - mvn clean install -Dmaven.javadoc.skip=false cache: directories: - $HOME/.m2...
language: java jdk: - oraclejdk7 script: - mvn clean install javadoc:javadoc cache: directories: - $HOME/.m2
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk7 script: - mvn clean install -Dmaven.javadoc.skip=false cache: directories: - $HOME/.m2 <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk7 script: - mvn clean install -Dmaven.javadoc.skip=false cache: directories: - $HOME/.m2...
e618047fedcc79c7685cdd57fba125afeedbec67
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md MetaSeek is a data discovery and analysis tool for genome sequencing data. Providing a rich front-end for exploration of metadata across a wide set of data repositories, use MetaSeek to find the right aggregation of sequences for your analysis, and then access the raw sequencing data. To...
MetaSeek is a data discovery and analysis tool for genome sequencing data. Providing a rich front-end for exploration of metadata across a wide set of data repositories, use MetaSeek to find the right aggregation of sequences for your analysis, and then access the raw sequencing data. To add sample data to the DB, unz...
<|file_sep|>original/README.md MetaSeek is a data discovery and analysis tool for genome sequencing data. Providing a rich front-end for exploration of metadata across a wide set of data repositories, use MetaSeek to find the right aggregation of sequences for your analysis, and then access the raw sequencing data. To...
e4b8842749ea0990465246a84a5ac92351060379
README.md
README.md
Markdown
<|file_sep|>genes/gnu_coreutils/commands.py.diff original: updated: from typing import Optional, Dict <|file_sep|>genes/gnu_coreutils/commands.py.diff original: def useradd(): pass updated: def useradd(*args): # FIXME: this is a bad way to do things # FIXME: sigh. this is going to be a pain to make it ide...
@only_posix() def mkdir(path, mode=None): if mode: run(['mkdir', '-m', mode, path]) else: run(['mkdir', path]) @only_posix() def useradd(*args): # FIXME: this is a bad way to do things # FIXME: sigh. this is going to be a pain to make it idempotent run(['useradd'] + list(*args)) ...
<|file_sep|>genes/gnu_coreutils/commands.py.diff original: updated: from typing import Optional, Dict <|file_sep|>genes/gnu_coreutils/commands.py.diff original: def useradd(): pass updated: def useradd(*args): # FIXME: this is a bad way to do things # FIXME: sigh. this is going to be a pain to make it ide...
23e1868aa9d0c0a6611914b0f648c46d329e00db
genes/gnu_coreutils/commands.py
genes/gnu_coreutils/commands.py
Python
<|file_sep|>original/README.md * DeforaOS libDesktop * DocBook-XSL (for the manual pages) * GTK-Doc (for the API documentation) With GCC, this should then be enough to compile Mailer: $ make To install (or package) Mailer in a different location: $ make DESTDIR="/staging/directory" PREFIX="/another/prefi...
* DeforaOS libDesktop * DocBook-XSL (for the manual pages) * GTK-Doc (for the API documentation) With GCC, this should then be enough to compile Mailer: $ make To install (or package) Mailer in a different location: $ make PREFIX="/another/prefix" install Mailer also supports `DESTDIR`, to be installed ...
<|file_sep|>original/README.md * DeforaOS libDesktop * DocBook-XSL (for the manual pages) * GTK-Doc (for the API documentation) With GCC, this should then be enough to compile Mailer: $ make To install (or package) Mailer in a different location: $ make DESTDIR="/staging/directory" PREFIX="/another/prefi...
6df4dac46dc11dfc46e37ee0d3ac7509c2260a2d
README.md
README.md
Markdown
<|file_sep|>original/librisxl-tools/scripts/split_auth_source.py <|file_sep|>current/librisxl-tools/scripts/split_auth_source.py <|file_sep|>updated/librisxl-tools/scripts/split_auth_source.py
#!/usr/bin/env python from __future__ import unicode_literals, print_function import re from os import makedirs, path as P find_token = re.compile(r'{"(100|110|111|130|148|150|151|155|162|180|181|182|185)":').findall def split_auth_source(sourcefile, outdir): name_parts = P.basename(sourcefile).split('.', 1) ...
<|file_sep|>original/librisxl-tools/scripts/split_auth_source.py <|file_sep|>current/librisxl-tools/scripts/split_auth_source.py <|file_sep|>updated/librisxl-tools/scripts/split_auth_source.py #!/usr/bin/env python from __future__ import unicode_literals, print_function import re from os import makedirs, path as P f...
2ca84d16ff355a3e5a271ba800acb7c3cf4f8441
librisxl-tools/scripts/split_auth_source.py
librisxl-tools/scripts/split_auth_source.py
Python
<|file_sep|>original/db/migrate/20150207135056_add_foreign_keys.rb class AddForeignKeys < ActiveRecord::Migration def change add_foreign_key :tags, :articles_tags add_foreign_key :contents, :articles_tags add_foreign_key :text_filters, :contents add_foreign_key :users, :contents add_foreign_key :c...
class AddForeignKeys < ActiveRecord::Migration def change add_foreign_key :articles_tags, :tags add_foreign_key :articles_tags, :contents, column: :article_id add_foreign_key :contents, :text_filters add_foreign_key :contents, :users add_foreign_key :feedback, :contents, column: :article_id ad...
<|file_sep|>original/db/migrate/20150207135056_add_foreign_keys.rb class AddForeignKeys < ActiveRecord::Migration def change add_foreign_key :tags, :articles_tags add_foreign_key :contents, :articles_tags add_foreign_key :text_filters, :contents add_foreign_key :users, :contents add_foreign_key :c...
57fc8b47d759a9547a4929e946dc53169c5f89ab
db/migrate/20150207135056_add_foreign_keys.rb
db/migrate/20150207135056_add_foreign_keys.rb
Ruby
<|file_sep|>original/runtime/profile/profile.go // Local is a profile for local environments func Local() []string { return []string{} } // Kubernetes is a profile for kubernetes func Kubernetes() []string { return []string{} } // Platform is a platform profile func Platform() []string { return []string{ "MICRO...
// Local is a profile for local environments func Local() []string { return []string{} } // Kubernetes is a profile for kubernetes func Kubernetes() []string { return []string{} } // Platform is a platform profile func Platform() []string { return []string{ "MICRO_BROKER=service", "MICRO_REGISTRY=service", "...
<|file_sep|>original/runtime/profile/profile.go // Local is a profile for local environments func Local() []string { return []string{} } // Kubernetes is a profile for kubernetes func Kubernetes() []string { return []string{} } // Platform is a platform profile func Platform() []string { return []string{ "MICRO...
d1df8fe8869c388b764b23e09aadb631e6806e5c
runtime/profile/profile.go
runtime/profile/profile.go
Go
<|file_sep|>original/test/AspNetCore.Configuration.Consul.Test/project.json { "dependencies": { "AspNetCore.Configuration.Consul": { "target": "project" }, "dotnet-test-nunit": "3.4.0-beta-3", "Microsoft.NETCore.App": { "version": "1.0.1", "type": ...
{ "dependencies": { "AspNetCore.Configuration.Consul": { "target": "project" }, "dotnet-test-nunit": "3.4.0-beta-3", "Microsoft.NETCore.App": { "version": "1.0.0", "type": "platform" }, "Moq": "4.6.38-alpha", "NUnit": "3.5.0...
<|file_sep|>original/test/AspNetCore.Configuration.Consul.Test/project.json { "dependencies": { "AspNetCore.Configuration.Consul": { "target": "project" }, "dotnet-test-nunit": "3.4.0-beta-3", "Microsoft.NETCore.App": { "version": "1.0.1", "type": ...
9e9111e1a1b7c2212a6959c1145d2bde064efbcc
test/AspNetCore.Configuration.Consul.Test/project.json
test/AspNetCore.Configuration.Consul.Test/project.json
JSON
<|file_sep|>original/jenkins/seed-tater-instance.sh <|file_sep|>current/jenkins/seed-tater-instance.sh <|file_sep|>updated/jenkins/seed-tater-instance.sh
#Wait for DNS ping=`host $instance_name.tater.io 8.8.8.8 | grep -o "not found"` while [ "$ping" ] do echo $ping sleep 60 ping=`host $instance_name.tater.io 8.8.8.8 | grep -o "not found"` done #Seed database phantomjs --ssl-protocol=any --web-security=false --ignore-ssl-errors=true jenkins/seedDatabase.js "http:/...
<|file_sep|>original/jenkins/seed-tater-instance.sh <|file_sep|>current/jenkins/seed-tater-instance.sh <|file_sep|>updated/jenkins/seed-tater-instance.sh #Wait for DNS ping=`host $instance_name.tater.io 8.8.8.8 | grep -o "not found"` while [ "$ping" ] do echo $ping sleep 60 ping=`host $instance_name.tater.io 8....
3f8d283aebd644d4cec0531e18c08718d7d9a4ec
jenkins/seed-tater-instance.sh
jenkins/seed-tater-instance.sh
Shell
<|file_sep|>original/packages/Python/lldbsuite/test/repl/pounwrapping/TestPOUnwrapping.py import lldbsuite.test.lldbrepl as lldbrepl import lldbsuite.test.decorators as decorators class REPLBasicTestCase(lldbrepl.REPLTest): mydir = lldbrepl.REPLTest.compute_mydir(__file__) @decorators.expectedFailureAll( ...
import lldbsuite.test.lldbrepl as lldbrepl import lldbsuite.test.decorators as decorators class REPLBasicTestCase(lldbrepl.REPLTest): mydir = lldbrepl.REPLTest.compute_mydir(__file__) def doTest(self): self.command( '''class Foo<T,U> { var t: T? var u: U? ...
<|file_sep|>original/packages/Python/lldbsuite/test/repl/pounwrapping/TestPOUnwrapping.py import lldbsuite.test.lldbrepl as lldbrepl import lldbsuite.test.decorators as decorators class REPLBasicTestCase(lldbrepl.REPLTest): mydir = lldbrepl.REPLTest.compute_mydir(__file__) @decorators.expectedFailureAll( ...
7506e93942333a28f1e66c95016071760382a071
packages/Python/lldbsuite/test/repl/pounwrapping/TestPOUnwrapping.py
packages/Python/lldbsuite/test/repl/pounwrapping/TestPOUnwrapping.py
Python
<|file_sep|>original/.travis.yml language: java os: - linux notifications: email: on_success: change on_failure: always <|file_sep|>current/.travis.yml language: java os: - linux notifications: email: on_success: change on_failure: always <|file_sep|>updated/.travis.yml
language: java os: - linux jdk: - oraclejdk8 notifications: email: on_success: change on_failure: always
<|file_sep|>original/.travis.yml language: java os: - linux notifications: email: on_success: change on_failure: always <|file_sep|>current/.travis.yml language: java os: - linux notifications: email: on_success: change on_failure: always <|file_sep|>updated/.travis.yml language: java os: - li...
7ed033a7faea79760090fd4a5857c003ea8bae59
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/cookie_monster/jar.rb class Jar < Base attr_reader :request, :response def initialize(options) @request = options.delete(:request) @response = options.delete(:response) @options = options end def [](key) if @response.cookies[key] cookie = @res...
class Jar < Base attr_reader :request, :response def initialize(options) @request = options.delete(:request) @response = options.delete(:response) @options = options end def [](key) key = key.to_s if @response.cookies[key] cookie = @response.cookies[key] ...
<|file_sep|>original/lib/cookie_monster/jar.rb class Jar < Base attr_reader :request, :response def initialize(options) @request = options.delete(:request) @response = options.delete(:response) @options = options end def [](key) if @response.cookies[key] cookie = @res...
9cfacbcbaf6c0af46664bbf995c2885fae30abaf
lib/cookie_monster/jar.rb
lib/cookie_monster/jar.rb
Ruby
<|file_sep|>tests/CMakeLists.txt.diff original: target_link_libraries( utility_test ${BOOST_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE} ) updated: target_link_libraries( utility_test ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE} ) <|file_sep|>original/tests/CMakeLists.txt set( TEST_DIR "${PROJECT_SOURCE_DIR}/tests" ) ADD_DEFI...
set( TEST_DIR "${PROJECT_SOURCE_DIR}/tests" ) ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK) add_executable(utility_test ${TEST_DIR}/utility_test.cpp ${SRC_DIR}/utility.cpp) target_link_libraries( utility_test ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE} ) add_executable(parsegtf_test ${TEST_DIR}/parsegtf_test.cpp ${SRC_DIR...
<|file_sep|>tests/CMakeLists.txt.diff original: target_link_libraries( utility_test ${BOOST_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE} ) updated: target_link_libraries( utility_test ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE} ) <|file_sep|>original/tests/CMakeLists.txt set( TEST_DIR "${PROJECT_SOURCE_DIR}/tests" ) ADD_DEFI...
8cc9c13e775cf267574b68585074a7bcd07a8267
tests/CMakeLists.txt
tests/CMakeLists.txt
Text
<|file_sep|>original/build-aux/fix-libtool-la.mk # See fix-libtool-la for more documentation. Basically, just include # this file where Libtool libraries are defined. %.la.stamp: %.la $(build_aux_dir)/fix-libtool-la $< $@ LTLIBRARIES_STAMPS = $(LTLIBRARIES:=.stamp) CLEANFILES += $(LTLIBRARIES_STAMPS) $(LTLIBRARIES:...
# this file where Libtool libraries are defined. %.la.stamp: %.la $(build_aux_dir)/fix-libtool-la $< $@ LTLIBRARIES_STAMPS = $(LTLIBRARIES:=.stamp) CLEANFILES += $(LTLIBRARIES_STAMPS) $(LTLIBRARIES:=.bak) EXTRA_DIST += $(build_aux_dir)/fix-libtool-la all-local: $(LTLIBRARIES_STAMPS) ## ---------------------------...
<|file_sep|>original/build-aux/fix-libtool-la.mk # See fix-libtool-la for more documentation. Basically, just include # this file where Libtool libraries are defined. %.la.stamp: %.la $(build_aux_dir)/fix-libtool-la $< $@ LTLIBRARIES_STAMPS = $(LTLIBRARIES:=.stamp) CLEANFILES += $(LTLIBRARIES_STAMPS) $(LTLIBRARIES:...
0d05e6ad4efb0ff8b267e0f508332a2bb9714227
build-aux/fix-libtool-la.mk
build-aux/fix-libtool-la.mk
Makefile
<|file_sep|>original/test/CodeGen/NVPTX/MachineSink-convergent.ll <|file_sep|>current/test/CodeGen/NVPTX/MachineSink-convergent.ll <|file_sep|>updated/test/CodeGen/NVPTX/MachineSink-convergent.ll
; RUN: llc < %s | FileCheck %s target triple = "nvptx64-nvidia-cuda" declare void @llvm.cuda.syncthreads() ; Load a value, then syncthreads. Branch, and use the loaded value only on one ; side of the branch. The load shouldn't be sunk beneath the call, because ; syncthreads is modeled as maystore. define i32 @f(i32...
<|file_sep|>original/test/CodeGen/NVPTX/MachineSink-convergent.ll <|file_sep|>current/test/CodeGen/NVPTX/MachineSink-convergent.ll <|file_sep|>updated/test/CodeGen/NVPTX/MachineSink-convergent.ll ; RUN: llc < %s | FileCheck %s target triple = "nvptx64-nvidia-cuda" declare void @llvm.cuda.syncthreads() ; Load a valu...
97cc80a0e82c7d00616d6f150867c1fd1625d0fd
test/CodeGen/NVPTX/MachineSink-convergent.ll
test/CodeGen/NVPTX/MachineSink-convergent.ll
LLVM
<|file_sep|>original/.travis.yml language: node_js services: - mongodb node_js: - "4" - "6" - "8" before_script: - cp $TRAVIS_BUILD_DIR/snutt.yml.example $TRAVIS_BUILD_DIR/snutt.yml <|file_sep|>current/.travis.yml language: node_js services: - mongodb node_js: - "4" - "6" - "8" before_script: - cp $...
language: node_js services: - mongodb node_js: - "8" before_script: - cp $TRAVIS_BUILD_DIR/snutt.yml.example $TRAVIS_BUILD_DIR/snutt.yml
<|file_sep|>original/.travis.yml language: node_js services: - mongodb node_js: - "4" - "6" - "8" before_script: - cp $TRAVIS_BUILD_DIR/snutt.yml.example $TRAVIS_BUILD_DIR/snutt.yml <|file_sep|>current/.travis.yml language: node_js services: - mongodb node_js: - "4" - "6" - "8" before_script: - cp $...
c8e679ed30ee15de36577b47b6f6b3261052311a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/UseLocalFramework.ps1 # Run this script to use a local copy of osu-framework rather than fetching it from nuget. # It expects the osu-framework directory to be at the same level as the osu directory # # https://github.com/ppy/osu-framework/wiki/Testing-local-framework-checkout-with-other-projects ...
# Run this script to use a local copy of osu-framework rather than fetching it from nuget. # It expects the osu-framework directory to be at the same level as the osu directory # # https://github.com/ppy/osu-framework/wiki/Testing-local-framework-checkout-with-other-projects $CSPROJ="osu.Game/osu.Game.csproj" $SLN="os...
<|file_sep|>original/UseLocalFramework.ps1 # Run this script to use a local copy of osu-framework rather than fetching it from nuget. # It expects the osu-framework directory to be at the same level as the osu directory # # https://github.com/ppy/osu-framework/wiki/Testing-local-framework-checkout-with-other-projects ...
230009570e4b3409519376fd9cc1f600dddfd16a
UseLocalFramework.ps1
UseLocalFramework.ps1
PowerShell
<|file_sep|>original/23_merge_k_sorted_lists.cc <|file_sep|>current/23_merge_k_sorted_lists.cc <|file_sep|>updated/23_merge_k_sorted_lists.cc
// Naive solution would iterate all lists to take the smallest head every time to // add to the merged list. Actually we have a efficient data structure to retrieve // the smallest element from a bunch of elements. That is a "min heap". // In the implementation below, I created a wrapper for list so that we could use ...
<|file_sep|>original/23_merge_k_sorted_lists.cc <|file_sep|>current/23_merge_k_sorted_lists.cc <|file_sep|>updated/23_merge_k_sorted_lists.cc // Naive solution would iterate all lists to take the smallest head every time to // add to the merged list. Actually we have a efficient data structure to retrieve // the smal...
4b04bd164cce66aabda4ce118a492f72e6735e68
23_merge_k_sorted_lists.cc
23_merge_k_sorted_lists.cc
C++
<|file_sep|>original/src/scripts/app/activities/sentences/editSentence.js SentenceWritingService.getSentenceWriting($state.params.id) .then(function(s) { s.category = _.findWhere($scope.availableCategories, function(o) { return o.$id == s.categoryId; }); var tempList = _.chain(s.rules) ...
return o.$id == s.categoryId; }); var tempList = _.chain(s.rules) .pluck('ruleId') .toArray() .map(function(s) { return String(s); }) .value(); s.rules = _.chain($scope.availableRules) .filter(function(r) { return _.contains(t...
<|file_sep|>original/src/scripts/app/activities/sentences/editSentence.js SentenceWritingService.getSentenceWriting($state.params.id) .then(function(s) { s.category = _.findWhere($scope.availableCategories, function(o) { return o.$id == s.categoryId; }); var tempList = _.chain(s.rules) ...
0bebc89c61b01f40587ac0820c0c3cbf80b63f6e
src/scripts/app/activities/sentences/editSentence.js
src/scripts/app/activities/sentences/editSentence.js
JavaScript
<|file_sep|>original/package.json "name": "mount", "description": "Mount devices with node.js like what", "keywords": [ "mount", "linux", "device" ], "version": "0.0.1", "repository": { "type": "git", "url": "git://github.com/mmalecki/node-mount.git" }, "engines": { "node": ">= 0...
"description": "Mount devices with node.js like what", "keywords": [ "mount", "linux", "device" ], "version": "0.0.1", "repository": { "type": "git", "url": "git://github.com/mmalecki/node-mount.git" }, "engines": { "node": ">= 0.4" }, "scripts": { "preinstall": "node-waf c...
<|file_sep|>original/package.json "name": "mount", "description": "Mount devices with node.js like what", "keywords": [ "mount", "linux", "device" ], "version": "0.0.1", "repository": { "type": "git", "url": "git://github.com/mmalecki/node-mount.git" }, "engines": { "node": ">= 0...
030bb30b4cc5470ae873421d406daa015f45b75d
package.json
package.json
JSON
<|file_sep|>README.md.diff original: Symbol demangling for Rust updated: Demangling for Rust symbols, written in Rust. <|file_sep|>original/README.md # rustc-demangle Symbol demangling for Rust [Documentation](https://docs.rs/rustc-demangle) # License This project is licensed under either of * Apache License, Ver...
# rustc-demangle Demangling for Rust symbols, written in Rust. [Documentation](https://docs.rs/rustc-demangle) ## Usage You can add this as a dependency via your `Cargo.toml` ```toml [dependencies] rustc-demangle = "0.1" ``` and then be sure to check out the [crate documentation](https://docs.rs/rustc-demangle) f...
<|file_sep|>README.md.diff original: Symbol demangling for Rust updated: Demangling for Rust symbols, written in Rust. <|file_sep|>original/README.md # rustc-demangle Symbol demangling for Rust [Documentation](https://docs.rs/rustc-demangle) # License This project is licensed under either of * Apache License, Ver...
c4e3ab004edda9fbe5e2d8149d2b62c10668d10b
README.md
README.md
Markdown
<|file_sep|>original/apps/elekto/deployment.yaml matchLabels: app: elekto strategy: type: Recreate template: metadata: labels: app: elekto spec: containers: - image: ghcr.io/elekto-io/elekto:sha-83523b4 imagePullPolicy: Always name: elekto ...
matchLabels: app: elekto strategy: type: Recreate template: metadata: labels: app: elekto spec: containers: - image: ghcr.io/elekto-io/elekto:sha-c25fc16 imagePullPolicy: Always name: elekto ports: - containerPort: 8080 ...
<|file_sep|>original/apps/elekto/deployment.yaml matchLabels: app: elekto strategy: type: Recreate template: metadata: labels: app: elekto spec: containers: - image: ghcr.io/elekto-io/elekto:sha-83523b4 imagePullPolicy: Always name: elekto ...
6d956721f1f287301b480c4ced370ccab68c2370
apps/elekto/deployment.yaml
apps/elekto/deployment.yaml
YAML
<|file_sep|>original/app/forms/db/program_detail_rows_form.rb url: row_data[:url][:value], time_zone: @user.time_zone } end end def valid_time fetched_rows.each do |row_data| started_at = row_data[:started_at][:value] begin Time.parse(started_a...
url: row_data[:url][:value], time_zone: @user.time_zone } end end def valid_time fetched_rows.each do |row_data| started_at = row_data[:started_at][:value] return true if started_at.blank? begin Time.parse(started_at) rescue ...
<|file_sep|>original/app/forms/db/program_detail_rows_form.rb url: row_data[:url][:value], time_zone: @user.time_zone } end end def valid_time fetched_rows.each do |row_data| started_at = row_data[:started_at][:value] begin Time.parse(started_a...
5578afb30d6beac8503e0e8ee5a94e5440a3407a
app/forms/db/program_detail_rows_form.rb
app/forms/db/program_detail_rows_form.rb
Ruby
<|file_sep|>original/puffin/gui/form.py domain = StringField('Domain', description="If you change it then make sure you also configure it with your DNS provider") submit = SubmitField('Update') def validate(self): rv = Form.validate(self) if not rv: return False if self...
domain = StringField('Domain', description="If you change it then make sure you also configure it with your DNS provider") submit = SubmitField('Update') def validate(self): rv = Form.validate(self) if not rv: return False if self.domain.data: server_name = ...
<|file_sep|>original/puffin/gui/form.py domain = StringField('Domain', description="If you change it then make sure you also configure it with your DNS provider") submit = SubmitField('Update') def validate(self): rv = Form.validate(self) if not rv: return False if self...
ccd660c5deba37c0c324e64666eb6421696b3144
puffin/gui/form.py
puffin/gui/form.py
Python
<|file_sep|>commands/tell.js.diff original: var message = args.split(''); updated: var message = args.split(' '); <|file_sep|>commands/tell.js.diff original: updated: message = message.join(' '); <|file_sep|>commands/tell.js.diff original: playerIsOnline, updated: playerIsOnline, <|fi...
); return; } player.sayL10n(l10n, 'NOTHING_TOLD'); return; function tellPlayer(p) { if (recipient.getName() !== player.getName()) p.sayL10n(l10n, 'THEY_TELL', player.getName(), message); } function playerIsOnline(p) { if (p) return (recipient.getName() ...
<|file_sep|>commands/tell.js.diff original: var message = args.split(''); updated: var message = args.split(' '); <|file_sep|>commands/tell.js.diff original: updated: message = message.join(' '); <|file_sep|>commands/tell.js.diff original: playerIsOnline, updated: playerIsOnline, <|fi...
935076aa1cb280bea1fe1ac9c49aa4c52108b820
commands/tell.js
commands/tell.js
JavaScript
<|file_sep|>original/findbugs/src/java/edu/umd/cs/findbugs/detect/PreferZeroLengthArrays.java <|file_sep|>current/findbugs/src/java/edu/umd/cs/findbugs/detect/PreferZeroLengthArrays.java <|file_sep|>updated/findbugs/src/java/edu/umd/cs/findbugs/detect/PreferZeroLengthArrays.java
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2003, University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (...
<|file_sep|>original/findbugs/src/java/edu/umd/cs/findbugs/detect/PreferZeroLengthArrays.java <|file_sep|>current/findbugs/src/java/edu/umd/cs/findbugs/detect/PreferZeroLengthArrays.java <|file_sep|>updated/findbugs/src/java/edu/umd/cs/findbugs/detect/PreferZeroLengthArrays.java /* * FindBugs - Find bugs in Java pro...
0948818eaa00ac0019337e4f3b6a21b3c679464d
findbugs/src/java/edu/umd/cs/findbugs/detect/PreferZeroLengthArrays.java
findbugs/src/java/edu/umd/cs/findbugs/detect/PreferZeroLengthArrays.java
Java
<|file_sep|>original/Changelog.md Great Expectations Changelog v.0.3.2 ----- * Include requirements file in source dist to support conda v.0.3.1 ----- * Fix infinite recursion error when building custom expectations * Catch dateutil parsing overflow errors 0.2 --- * Distributional expectations and associated helpers...
Great Expectations Changelog * Major refactor of output_format to new result_obj_format parameter. See docs for full details. * exception_list and related uses of the term exception have been renamed to unexpected * the output formats are explicitly hierarchical now, with BOOLEAN_ONLY < BASIC < SUMMARY < COMPLETE....
<|file_sep|>original/Changelog.md Great Expectations Changelog v.0.3.2 ----- * Include requirements file in source dist to support conda v.0.3.1 ----- * Fix infinite recursion error when building custom expectations * Catch dateutil parsing overflow errors 0.2 --- * Distributional expectations and associated helpers...
ef050cb04e8a8b4035f15c5bd1824e34939bbe1e
Changelog.md
Changelog.md
Markdown
<|file_sep|>original/lib/selectivizr/rails/engine.rb module Selectivizr module Rails class Engine < ::Rails::Engine initializer 'Selectivizr precompile hook', :group => :all do |app| app.config.assets.precompile += ['modernizr.js'] end end end end <|file_sep|>current/lib/selectivizr/rail...
module Selectivizr module Rails class Engine < ::Rails::Engine initializer 'Selectivizr precompile hook', :group => :all do |app| app.config.assets.precompile += ['selectivizr.js'] end end end end
<|file_sep|>original/lib/selectivizr/rails/engine.rb module Selectivizr module Rails class Engine < ::Rails::Engine initializer 'Selectivizr precompile hook', :group => :all do |app| app.config.assets.precompile += ['modernizr.js'] end end end end <|file_sep|>current/lib/selectivizr/rail...
a859620196761d614d9ffd9701b185a0edb3fbdf
lib/selectivizr/rails/engine.rb
lib/selectivizr/rails/engine.rb
Ruby
<|file_sep|>original/requirements/build.txt # uild/requirements/build.txt # # Requirements necessary to build the ulid package. setuptools==46.1.3 <|file_sep|>current/requirements/build.txt # uild/requirements/build.txt # # Requirements necessary to build the ulid package. setuptools==46.1.3 <|file_sep|>updated/requi...
# uild/requirements/build.txt # # Requirements necessary to build the ulid package. setuptools==47.1.1
<|file_sep|>original/requirements/build.txt # uild/requirements/build.txt # # Requirements necessary to build the ulid package. setuptools==46.1.3 <|file_sep|>current/requirements/build.txt # uild/requirements/build.txt # # Requirements necessary to build the ulid package. setuptools==46.1.3 <|file_sep|>updated/requi...
34e8f1c9f4c2dc0bef9a21ce0e50f1adeef751dd
requirements/build.txt
requirements/build.txt
Text
<|file_sep|>original/.travis.yml language: erlang branches: only: - master notifications: email: mongoose-im@erlang-solutions.com otp_release: - 17.0-rc1 - R16B03 - R16B02 - R16B01 - R16B - R15B03 - R15B02 - R15B01 -...
language: erlang branches: only: - master notifications: email: mongoose-im@erlang-solutions.com otp_release: - 17.0-rc1 - R16B03 - R16B02 - R16B01 - R16B - R15B03 - R15B02 script: - make && make dialyzer after_script: ...
<|file_sep|>original/.travis.yml language: erlang branches: only: - master notifications: email: mongoose-im@erlang-solutions.com otp_release: - 17.0-rc1 - R16B03 - R16B02 - R16B01 - R16B - R15B03 - R15B02 - R15B01 -...
7323f935dce939c1167172775821bce12212de83
.travis.yml
.travis.yml
YAML
<|file_sep|>pzlib.h.diff original: inline pssize_type do_write(void *cookie, const void *buf, psize_type len) { updated: static inline pssize_type do_write(void *cookie, const void *buf, psize_type len) { <|file_sep|>original/pzlib.h struct pz { writerfunc *wf; closefunc *cf; }; inline pssize_type do_write(voi...
struct pz { writerfunc *wf; closefunc *cf; }; static inline pssize_type do_write(void *cookie, const void *buf, psize_type len) { struct pz* p = (struct pz*)cookie; return (p->wf)(cookie, buf, len); } static inline void do_close(void *cookie) { struct pz* p = (struct pz*)cookie; (p->cf)(cookie...
<|file_sep|>pzlib.h.diff original: inline pssize_type do_write(void *cookie, const void *buf, psize_type len) { updated: static inline pssize_type do_write(void *cookie, const void *buf, psize_type len) { <|file_sep|>original/pzlib.h struct pz { writerfunc *wf; closefunc *cf; }; inline pssize_type do_write(voi...
6944671e2648a0bf4b380865227c3486b0c83612
pzlib.h
pzlib.h
C
<|file_sep|>original/src/MusicBrainz/SimpleLookupTest.cs <|file_sep|>current/src/MusicBrainz/SimpleLookupTest.cs <|file_sep|>updated/src/MusicBrainz/SimpleLookupTest.cs
/* -*- Mode: csharp; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: t -*- */ /*************************************************************************** * SimpleLookupTest.cs * * Copyright (C) 2005 Novell * Written by Aaron Bockover (aaron@aaronbock.net) ****************************************************...
<|file_sep|>original/src/MusicBrainz/SimpleLookupTest.cs <|file_sep|>current/src/MusicBrainz/SimpleLookupTest.cs <|file_sep|>updated/src/MusicBrainz/SimpleLookupTest.cs /* -*- Mode: csharp; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: t -*- */ /*******************************************************************...
8f46e6b0d1fc9cc1ac26a0e5ff90cb69503fb704
src/MusicBrainz/SimpleLookupTest.cs
src/MusicBrainz/SimpleLookupTest.cs
C#
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md
# Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/). ## How to Report For more information on how to re...
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md # Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines]...
024d230ad83bec43d578fc19647f7b64ee3feb17
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
Markdown
<|file_sep|>original/mendel/views.py context = Context.objects.get(id=id) counter = 0 keyword_proposed = context.keyword_given created = False if request.data.get('keyword_proposed'): keyword_proposed, created = Keyword.objects.get_or_create( name=req...
context = Context.objects.get(id=id) counter = 0 keyword_proposed = context.keyword_given created = False if request.data.get('keyword_proposed'): keyword_proposed, created = Keyword.objects.get_or_create( name=request.data.get('keyword_proposed')['na...
<|file_sep|>original/mendel/views.py context = Context.objects.get(id=id) counter = 0 keyword_proposed = context.keyword_given created = False if request.data.get('keyword_proposed'): keyword_proposed, created = Keyword.objects.get_or_create( name=req...
b7b38e67ae95a5d5bed68661c2e106149117fa80
mendel/views.py
mendel/views.py
Python
<|file_sep|>original/Auk.podspec Pod::Spec.new do |s| s.name = "Auk" s.version = "5.0.0" s.license = { :type => "MIT" } s.homepage = "https://github.com/evgenyneu/Auk" s.summary = "An image slideshow for iOS written in Swift." s.description = <<-DESC This is an iOS ...
s.name = "Auk" s.version = "5.0.0" s.license = { :type => "MIT" } s.homepage = "https://github.com/evgenyneu/Auk" s.summary = "An image slideshow for iOS written in Swift." s.description = <<-DESC This is an iOS library that shows an image carousel with a page indic...
<|file_sep|>original/Auk.podspec Pod::Spec.new do |s| s.name = "Auk" s.version = "5.0.0" s.license = { :type => "MIT" } s.homepage = "https://github.com/evgenyneu/Auk" s.summary = "An image slideshow for iOS written in Swift." s.description = <<-DESC This is an iOS ...
932a97a1275f5d965273eef4a52de45b7cb46bee
Auk.podspec
Auk.podspec
Ruby
<|file_sep|>original/utils/userloc.html <|file_sep|>current/utils/userloc.html <|file_sep|>updated/utils/userloc.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>LLVM LOC Based On CVS Annotation</title> <link rel="stylesheet" href="llvm.css" type="text/css"/> </head> <body><div class="doc_title">LLVM LOC Based On CVS Annotation</div> <p>This document shows the tot...
<|file_sep|>original/utils/userloc.html <|file_sep|>current/utils/userloc.html <|file_sep|>updated/utils/userloc.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>LLVM LOC Based On CVS Annotation</title> <link rel="stylesheet" href="llvm.css" type...
05eaeae23aeb6d7910384ee8c206221f23cacbda
utils/userloc.html
utils/userloc.html
HTML
<|file_sep|>original/.travis.yml language: go go: 1.1 script: - go build - go vet ./... - go test -i ./... - go test -v ./... <|file_sep|>current/.travis.yml language: go go: 1.1 script: - go build - go vet ./... - go test -i ./... - go test -v ./... <|file_sep|>updated/.travis.yml
language: go go: 1.1 script: - go build - go vet ./... - go test -i -race ./... - go test -v -race ./...
<|file_sep|>original/.travis.yml language: go go: 1.1 script: - go build - go vet ./... - go test -i ./... - go test -v ./... <|file_sep|>current/.travis.yml language: go go: 1.1 script: - go build - go vet ./... - go test -i ./... - go test -v ./... <|file_sep|>updated/.travis.yml language: go go: 1....
d07e34e0012d2ded39cf57f8b7425b02c66b1897
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ports/atmel-samd/boards/feather_m4_can/mpconfigboard.mk USB_VID = 0x239A USB_PID = 0x80CE USB_PRODUCT = "Feather M4 CAN" USB_MANUFACTURER = "Adafruit Industries LLC" CHIP_VARIANT = SAME51J19A CHIP_FAMILY = same51 QSPI_FLASH_FILESYSTEM = 1 EXTERNAL_FLASH_DEVICES = GD25Q16C LONGINT_IMPL = MPZ CIRC...
USB_VID = 0x239A USB_PID = 0x80CE USB_PRODUCT = "Feather M4 CAN" USB_MANUFACTURER = "Adafruit Industries LLC" CHIP_VARIANT = SAME51J19A CHIP_FAMILY = same51 QSPI_FLASH_FILESYSTEM = 1 EXTERNAL_FLASH_DEVICES = GD25Q16C LONGINT_IMPL = MPZ CIRCUITPY__EVE = 1 CIRCUITPY_CANIO = 1
<|file_sep|>original/ports/atmel-samd/boards/feather_m4_can/mpconfigboard.mk USB_VID = 0x239A USB_PID = 0x80CE USB_PRODUCT = "Feather M4 CAN" USB_MANUFACTURER = "Adafruit Industries LLC" CHIP_VARIANT = SAME51J19A CHIP_FAMILY = same51 QSPI_FLASH_FILESYSTEM = 1 EXTERNAL_FLASH_DEVICES = GD25Q16C LONGINT_IMPL = MPZ CIRC...
353ea6f70e81267f5bcf8145cd5a1997b1e63c08
ports/atmel-samd/boards/feather_m4_can/mpconfigboard.mk
ports/atmel-samd/boards/feather_m4_can/mpconfigboard.mk
Makefile
<|file_sep|>original/mesonwrap/inventory.py _ORGANIZATION = 'mesonbuild' _RESTRICTED_PROJECTS = [ 'meson', 'meson-ci', 'mesonbuild.github.io', 'mesonwrap', 'wrapdb', 'wrapdevtools', 'wrapweb', ] _RESTRICTED_ORG_PROJECTS = [ _ORGANIZATION + '/' + proj for proj in _RESTRICTED_PROJECTS ] ...
_ORGANIZATION = 'mesonbuild' _RESTRICTED_PROJECTS = [ 'dubtestproject', 'meson', 'meson-ci', 'mesonbuild.github.io', 'mesonwrap', 'wrapdb', 'wrapdevtools', 'wrapweb', ] _RESTRICTED_ORG_PROJECTS = [ _ORGANIZATION + '/' + proj for proj in _RESTRICTED_PROJECTS ] def is_wrap_project_na...
<|file_sep|>original/mesonwrap/inventory.py _ORGANIZATION = 'mesonbuild' _RESTRICTED_PROJECTS = [ 'meson', 'meson-ci', 'mesonbuild.github.io', 'mesonwrap', 'wrapdb', 'wrapdevtools', 'wrapweb', ] _RESTRICTED_ORG_PROJECTS = [ _ORGANIZATION + '/' + proj for proj in _RESTRICTED_PROJECTS ] ...
80b882b3a790241d3d67ae190b0e32d7e9d7b8ed
mesonwrap/inventory.py
mesonwrap/inventory.py
Python
<|file_sep|>original/ASFFeedly/ASFRequestBuilder.h extern NSURL *ASFURLByAppendingParameters(NSURL *URL, NSDictionary *parameters); extern NSString *ASFQueryFromURL(NSURL *URL); extern NSString *ASFQueryFromParameters(NSDictionary *parameters); extern NSString *ASFURLEncodedString(NSString *string); extern NSString *AS...
// Copyright (c) 2013 Anton Simakov. All rights reserved. // #import <Foundation/Foundation.h> extern NSURL *ASFURLByAppendingParameters(NSURL *URL, NSDictionary *parameters); extern NSString *ASFQueryFromURL(NSURL *URL); extern NSString *ASFQueryFromParameters(NSDictionary *parameters); extern NSString *ASFURLEncod...
<|file_sep|>original/ASFFeedly/ASFRequestBuilder.h extern NSURL *ASFURLByAppendingParameters(NSURL *URL, NSDictionary *parameters); extern NSString *ASFQueryFromURL(NSURL *URL); extern NSString *ASFQueryFromParameters(NSDictionary *parameters); extern NSString *ASFURLEncodedString(NSString *string); extern NSString *AS...
abcc32beb01e1beb2f274de94d6917d90aae0ffd
ASFFeedly/ASFRequestBuilder.h
ASFFeedly/ASFRequestBuilder.h
C
<|file_sep|>original/molecule/default/molecule.yml --- dependency: name: galaxy options: role-file: ../../requirements.yml ignore-errors: true driver: name: vagrant provider: name: libvirt platforms: - name: instance box: ${MOLECULE_DISTRO:-generic/ubuntu1804} memory: 4096 cpus: 1 ...
--- dependency: name: galaxy options: role-file: requirements.yml ignore-errors: true driver: name: vagrant provider: name: libvirt platforms: - name: instance box: ${MOLECULE_DISTRO:-generic/ubuntu1804} memory: 4096 cpus: 1 interfaces: - auto_config: true network_nam...
<|file_sep|>original/molecule/default/molecule.yml --- dependency: name: galaxy options: role-file: ../../requirements.yml ignore-errors: true driver: name: vagrant provider: name: libvirt platforms: - name: instance box: ${MOLECULE_DISTRO:-generic/ubuntu1804} memory: 4096 cpus: 1 ...
f664613d82bc983944f1057b55248ae3cb819650
molecule/default/molecule.yml
molecule/default/molecule.yml
YAML
<|file_sep|>original/.travis.yml - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile matrix: allow_failures: - rvm: rbx-2 - rvm: jruby - rvm: ruby-head fast_finish: true notifications: email: false irc: on_success: change on_failure: always channels: - ...
- bundle update cache: bundler rvm: - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - ruby-head - rbx-2 - jruby gemfile: - gemfiles/rails_4.2.gemfile - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile matrix: allow_failures: - rvm: rbx-2 - rvm: jruby - rvm: ruby-head fast_finish: true
<|file_sep|>original/.travis.yml - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile matrix: allow_failures: - rvm: rbx-2 - rvm: jruby - rvm: ruby-head fast_finish: true notifications: email: false irc: on_success: change on_failure: always channels: - ...
b6ac3bc7a77a5fde5490bc9e7738f8679349ae8f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/cmd2/constants.py # # coding=utf-8 """Constants and definitions""" import re # Used for command parsing, tab completion and word breaks. Do not change. QUOTES = ['"', "'"] REDIRECTION_CHARS = ['|', '<', '>'] # Regular expression to match ANSI escape codes ANSI_ESCAPE_RE = re.compile(r'\x1b[^m]*m...
# # coding=utf-8 """Constants and definitions""" import re # Used for command parsing, tab completion and word breaks. Do not change. QUOTES = ['"', "'"] REDIRECTION_CHARS = ['|', '>'] # Regular expression to match ANSI escape codes ANSI_ESCAPE_RE = re.compile(r'\x1b[^m]*m')
<|file_sep|>original/cmd2/constants.py # # coding=utf-8 """Constants and definitions""" import re # Used for command parsing, tab completion and word breaks. Do not change. QUOTES = ['"', "'"] REDIRECTION_CHARS = ['|', '<', '>'] # Regular expression to match ANSI escape codes ANSI_ESCAPE_RE = re.compile(r'\x1b[^m]*m...
8c69e0e75454a5665ed2d428aba3c052b97b68b5
cmd2/constants.py
cmd2/constants.py
Python
<|file_sep|>original/src/it/simple/pom.xml <artifactId>simple</artifactId> <version>1</version> <packaging>jar</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <defaultGoal>install</defaultGoal> <plugins> <plugin> <gr...
<artifactId>simple</artifactId> <version>1</version> <packaging>jar</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <defaultGoal>install</defaultGoal> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> ...
<|file_sep|>original/src/it/simple/pom.xml <artifactId>simple</artifactId> <version>1</version> <packaging>jar</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <defaultGoal>install</defaultGoal> <plugins> <plugin> <gr...
fd077c0eca1cb26684b85ca3d1fb21616bf0542a
src/it/simple/pom.xml
src/it/simple/pom.xml
XML
<|file_sep|>package.json.diff original: "title": "toolbar-button-to-open-url-in-private-browsing-window-addon", updated: "title": "Open preset URL in Private Browsing window", <|file_sep|>original/package.json { "name": "toolbar-button-to-open-url-in-private-browsing-window-addon", "title": "toolbar-button-to-o...
{ "name": "toolbar-button-to-open-url-in-private-browsing-window-addon", "title": "Open preset URL in Private Browsing window", "id": "jid1-B9N7TJi67nZu7g", "description": "Display a toolbar button to open a preset URL in a new Private Browsing window.\n\nIcon by Aha-Soft, published under the CC Attribution 3.0...
<|file_sep|>package.json.diff original: "title": "toolbar-button-to-open-url-in-private-browsing-window-addon", updated: "title": "Open preset URL in Private Browsing window", <|file_sep|>original/package.json { "name": "toolbar-button-to-open-url-in-private-browsing-window-addon", "title": "toolbar-button-to-o...
75c84fac9bb4e9e9b1676a80e1425aec950d819e
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: python python: - "2.5" - "2.6" - "2.7" install: - pip install unittest2 mock nose --use-mirrors - pip install . --use-mirrors script: nosetests <|file_sep|>current/.travis.yml language: python python: - "2.5" - "2.6" - "2.7" install: - pip install unittest2 m...
language: python python: - "2.6" - "2.7" install: - pip install unittest2 mock nose --use-mirrors - pip install . --use-mirrors script: nosetests
<|file_sep|>original/.travis.yml language: python python: - "2.5" - "2.6" - "2.7" install: - pip install unittest2 mock nose --use-mirrors - pip install . --use-mirrors script: nosetests <|file_sep|>current/.travis.yml language: python python: - "2.5" - "2.6" - "2.7" install: - pip install unittest2 m...
003d98d180426543ac5c879b27fee3c9220f54ad
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" before_script: - travis_retry composer self-update - travis_retry composer update $COMPOSER_OPTS script: - php vendor/bin/phpunit --coverage-text --coverag...
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm sudo: false env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" before_script: - travis_retry composer self-update - travis_retry composer update $COMPOSER_OPTS script: - php vendor/bin/phpunit --coverage-text --coverage-clover=coverage.cl...
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" before_script: - travis_retry composer self-update - travis_retry composer update $COMPOSER_OPTS script: - php vendor/bin/phpunit --coverage-text --coverag...
b72a69846a04484f177ddfe37456791d1d2bf10d
.travis.yml
.travis.yml
YAML
<|file_sep|>games/urls/installers.py.diff original: url(r'revisions/(?P<pk>[\d]+)$', views.InstallerRevisionDetailView.as_view(), name="api_installer_revision_detail"), url(r'(?P<pk>[\d]+)/revisions$', views.InstallerRevisionListView.as_view(), name="api_installer_revision_list")...
urlpatterns = [ url(r'game/(?P<slug>[\w\-]+)$', views.GameInstallerList.as_view(), name='api_game_installer_list'), url(r'game/(?P<slug>[\w\-]+)/revisions$', views.GameRevisionListView.as_view(), name='api_game_revisions_list'), url(r'(?P<pk>[\d]+)/revisions$', vie...
<|file_sep|>games/urls/installers.py.diff original: url(r'revisions/(?P<pk>[\d]+)$', views.InstallerRevisionDetailView.as_view(), name="api_installer_revision_detail"), url(r'(?P<pk>[\d]+)/revisions$', views.InstallerRevisionListView.as_view(), name="api_installer_revision_list")...
f2af046da299686515e4eaf2d9ae58a62108cc21
games/urls/installers.py
games/urls/installers.py
Python
<|file_sep|>docs-site/src/components/Sidebar.js.diff original: export default ({ pages }) => { updated: export default ({ order }) => { <|file_sep|>docs-site/src/components/Sidebar.js.diff original: { flatMap(pages, ({ id, path }) => path.startsWith('/docs') ? [ <MenuItem key...
<LinkItem key={id} link={`/modules/${kebabCase(name)}`}> {getModuleName(name)} </LinkItem> ) } </Menu> </Paper> ) } function LinkItem({ link, children }) { return ( <MenuItem> <Link to={link}> {children} </Link> </MenuIte...
<|file_sep|>docs-site/src/components/Sidebar.js.diff original: export default ({ pages }) => { updated: export default ({ order }) => { <|file_sep|>docs-site/src/components/Sidebar.js.diff original: { flatMap(pages, ({ id, path }) => path.startsWith('/docs') ? [ <MenuItem key...
556aeb5089cedec43ba0778ac918bd177f26658c
docs-site/src/components/Sidebar.js
docs-site/src/components/Sidebar.js
JavaScript
<|file_sep|>src/Document/Document.php.diff original: updated: use Mekras\Atom\Atom; <|file_sep|>original/src/Document/Document.php * * @throws \InvalidArgumentException * * @since 1.0 */ public function __construct($document = null) { parent::__construct($document); $th...
* @param \DOMDocument|null $document * * @throws \InvalidArgumentException * * @since 1.0 */ public function __construct($document = null) { parent::__construct($document); $this->getDomDocument()->documentElement ->setAttributeNS(Atom::XMLNS, 'xmlns:ato...
<|file_sep|>src/Document/Document.php.diff original: updated: use Mekras\Atom\Atom; <|file_sep|>original/src/Document/Document.php * * @throws \InvalidArgumentException * * @since 1.0 */ public function __construct($document = null) { parent::__construct($document); $th...
39a0e3aa41b1126b77d202356f7a32508b858bad
src/Document/Document.php
src/Document/Document.php
PHP
<|file_sep|>src/app.js.diff original: const gutibot = require("./gutiBot"); updated: const gutiBot = require("./gutiBot"); <|file_sep|>src/app.js.diff original: updated: app.post("/barely", gutiBot.doSync(barelyBot)); <|file_sep|>original/src/app.js const windBot = require("./windBot"); const app = express(); const p...
const app = express(); const port = process.env.PORT || 3000; app.use(bodyParser.urlencoded({ extended: true })); app.get('/', (req, res) => { res.send('Hello! This is gutibot. Are you lost?'); }); app.post("/barely", gutiBot.doSync(barelyBot)); app.post("/define", defineBot); app.post("/wind", gutiBot.doSync(win...
<|file_sep|>src/app.js.diff original: const gutibot = require("./gutiBot"); updated: const gutiBot = require("./gutiBot"); <|file_sep|>src/app.js.diff original: updated: app.post("/barely", gutiBot.doSync(barelyBot)); <|file_sep|>original/src/app.js const windBot = require("./windBot"); const app = express(); const p...
1e1217a4a9503a467ae408d75dc4a3b852d395cc
src/app.js
src/app.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: - "3.3" updated: <|file_sep|>.travis.yml.diff original: # command to install dependencies updated: <|file_sep|>original/.travis.yml language: python python: - "3.3" - "3.4" # command to install dependencies install: - "pi...
language: python python: - "3.4" install: - "pip install -r requirements.txt" script: - make
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: - "3.3" updated: <|file_sep|>.travis.yml.diff original: # command to install dependencies updated: <|file_sep|>original/.travis.yml language: python python: - "3.3" - "3.4" # command to install dependencies install: - "pi...
075c81b0d0cc4e503a5b5265c83e30d49d93355f
.travis.yml
.travis.yml
YAML
<|file_sep|>i3/.config/i3/scripts/lock_screen/lock_screen.py.diff original: dpms.GetTimeouts() updated: <|file_sep|>original/i3/.config/i3/scripts/lock_screen/lock_screen.py sct_img = sct.grab(monitor) # Create Image object using Pillow img = Image.frombytes("RGB", sct_img.size, sct_img.rgb) with Name...
# Get raw pixels of the screen sct_img = sct.grab(monitor) # Create Image object using Pillow img = Image.frombytes("RGB", sct_img.size, sct_img.rgb) with NamedTemporaryFile(suffix=".png") as tempfile: # Apply filters to Image img = img.filter(ImageFilter.GaussianBlur(radius=GAUSSIAN_BLUR_RADIU...
<|file_sep|>i3/.config/i3/scripts/lock_screen/lock_screen.py.diff original: dpms.GetTimeouts() updated: <|file_sep|>original/i3/.config/i3/scripts/lock_screen/lock_screen.py sct_img = sct.grab(monitor) # Create Image object using Pillow img = Image.frombytes("RGB", sct_img.size, sct_img.rgb) with Name...
c53824a3427235c814cfe35c5c85fd5e1e312b40
i3/.config/i3/scripts/lock_screen/lock_screen.py
i3/.config/i3/scripts/lock_screen/lock_screen.py
Python
<|file_sep|>original/config/database.yml default: &default adapter: postgresql encoding: unicode pool: 25 encoding: unicode host: db username: postgres password: password development: <<: *default database: speakerinnen_development test: <<: *default database: speakerinnen_test <|file_sep|>curre...
default: &default adapter: postgresql encoding: unicode pool: 25 host: db username: postgres password: password development: <<: *default database: speakerinnen_development test: <<: *default database: speakerinnen_test
<|file_sep|>original/config/database.yml default: &default adapter: postgresql encoding: unicode pool: 25 encoding: unicode host: db username: postgres password: password development: <<: *default database: speakerinnen_development test: <<: *default database: speakerinnen_test <|file_sep|>curre...
b234b387d99fa246330527a7a4bf78455dd67a27
config/database.yml
config/database.yml
YAML
<|file_sep|>provision/init.sh.diff original: wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list updated: if [ ! -e /etc/apt/sources.list.d/sury.php.list ]; then wget -O /etc/apt/trusted.gpg.d...
apt-get install -y apt-transport-https lsb-release ca-certificates if [ ! -e /etc/apt/sources.list.d/sury.php.list ]; then wget -O /etc/apt/trusted.gpg.d/sury.php.gpg https://packages.sury.org/php/apt.gpg echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/sury.php.list fi ap...
<|file_sep|>provision/init.sh.diff original: wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list updated: if [ ! -e /etc/apt/sources.list.d/sury.php.list ]; then wget -O /etc/apt/trusted.gpg.d...
e74e2d7909e521eae304e1965a7261abf4357191
provision/init.sh
provision/init.sh
Shell
<|file_sep|>original/files/gitlab-ctl-commands/deploy_page.rb <|file_sep|>current/files/gitlab-ctl-commands/deploy_page.rb <|file_sep|>updated/files/gitlab-ctl-commands/deploy_page.rb
# # Copyright:: Copyright (c) 2014 GitLab B.V. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
<|file_sep|>original/files/gitlab-ctl-commands/deploy_page.rb <|file_sep|>current/files/gitlab-ctl-commands/deploy_page.rb <|file_sep|>updated/files/gitlab-ctl-commands/deploy_page.rb # # Copyright:: Copyright (c) 2014 GitLab B.V. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version ...
fae18b2520cc2ede0bfeb346fa19fd9e39fb1c3f
files/gitlab-ctl-commands/deploy_page.rb
files/gitlab-ctl-commands/deploy_page.rb
Ruby
<|file_sep|>original/scripts/load-all-n3.sh #!/bin/bash ### Script to post the N3 files to the triple store ### ### Execute this script from the main saam-lod directory: sh scripts/load-all-n3.sh ### saam=$(pwd) n3Dir=$saam/n3 sameAsn3Dir=$n3Dir/n3-seeAlso sesameUploadEndpoint=$sesameEndpoint?baseURI='<http://collec...
#!/bin/bash ### Script to post the N3 files to the triple store ### ### Execute this script from the main saam-lod directory: sh scripts/load-all-n3.sh ### saam=$(pwd) n3Dir=$saam/n3 sameAsn3Dir=$n3Dir/n3-seeAlso sesameEndpoint=http://lod.isi.edu/openrdf-sesame/repositories/saam_openrdf/statements #sesameEndpoint=h...
<|file_sep|>original/scripts/load-all-n3.sh #!/bin/bash ### Script to post the N3 files to the triple store ### ### Execute this script from the main saam-lod directory: sh scripts/load-all-n3.sh ### saam=$(pwd) n3Dir=$saam/n3 sameAsn3Dir=$n3Dir/n3-seeAlso sesameUploadEndpoint=$sesameEndpoint?baseURI='<http://collec...
825bf8a52ecd4f3878aa6211f3f64c24e4527494
scripts/load-all-n3.sh
scripts/load-all-n3.sh
Shell
<|file_sep|>original/dudebot/ai.py class BotAI(object): def set_nickname(self, nickname): self.nickname = nickname def initialise(self, init_params_as_dict): pass def respond(self, sender_nickname, message): pass class Echo(BotAI): def respond(self, sender_nickname, message...
class BotAI(object): def set_nickname(self, nickname): self.nickname = nickname def initialise(self, init_params_as_dict): pass def respond(self, sender_nickname, message): return False, '' class message_must_begin_with_prefix(object): """A simple decorator so that a bot AI ...
<|file_sep|>original/dudebot/ai.py class BotAI(object): def set_nickname(self, nickname): self.nickname = nickname def initialise(self, init_params_as_dict): pass def respond(self, sender_nickname, message): pass class Echo(BotAI): def respond(self, sender_nickname, message...
370c49eba30253f259454884441e9921b51719ab
dudebot/ai.py
dudebot/ai.py
Python
<|file_sep|>beaform-core/src/test/java/beaform/events/StoreEventTest.java.diff original: import beaform.utilities.TimeSource; updated: <|file_sep|>original/beaform-core/src/test/java/beaform/events/StoreEventTest.java import beaform.utilities.SystemTime; import beaform.utilities.TimeSource; public class StoreEventTe...
import beaform.utilities.SystemTime; public class StoreEventTest { @Before public void setup() { SystemTime.setTimeSource(() -> 0); } @After public void destroy() { SystemTime.reset(); } @Test public void testEventString() { // Create a 'create' event for a new formula String name = "TestFormula"; ...
<|file_sep|>beaform-core/src/test/java/beaform/events/StoreEventTest.java.diff original: import beaform.utilities.TimeSource; updated: <|file_sep|>original/beaform-core/src/test/java/beaform/events/StoreEventTest.java import beaform.utilities.SystemTime; import beaform.utilities.TimeSource; public class StoreEventTe...
7928935c295b8dced20be734a7434d83bbac90e3
beaform-core/src/test/java/beaform/events/StoreEventTest.java
beaform-core/src/test/java/beaform/events/StoreEventTest.java
Java
<|file_sep|>original/.travis.yml language: php php: - "5.6" - "5.5" - "5.4" install: - composer install <|file_sep|>current/.travis.yml language: php php: - "5.6" - "5.5" - "5.4" install: - composer install <|file_sep|>updated/.travis.yml
language: php php: - "5.6" - "5.5" - "5.4" before_script: - composer self-update - composer update --prefer-source script: - find . -type d \( -path ./vendor -o -path ./test \) -prune -o -name "*.php" -print0 | xargs -0 -n1 -P8 php -l - ./vendor/bin/phpunit - ./vendor/bin/phpcs --standard=PSR2 --ignore=...
<|file_sep|>original/.travis.yml language: php php: - "5.6" - "5.5" - "5.4" install: - composer install <|file_sep|>current/.travis.yml language: php php: - "5.6" - "5.5" - "5.4" install: - composer install <|file_sep|>updated/.travis.yml language: php php: - "5.6" - "5.5" - "5.4" before_script: ...
bcbff402e0867feb8e814eb9276c7351038bdcdd
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/cycle-driver.js 'use strict'; var Rx = require('Rx'); var applyToDOM = require('./render-dom'); var makeInteractions = require('./interactions').makeInteractions; function makeGet(interactions, rootElem$) { return function get(selector, eventName, isSingle) { if (selector === ':root') { ...
'use strict'; var Rx = require('rx'); var applyToDOM = require('./render-dom'); var makeInteractions = require('./interactions').makeInteractions; function makeGet(interactions, rootElem$) { return function get(selector, eventName, isSingle) { if (selector === ':root') { return rootElem$; } return ...
<|file_sep|>original/src/cycle-driver.js 'use strict'; var Rx = require('Rx'); var applyToDOM = require('./render-dom'); var makeInteractions = require('./interactions').makeInteractions; function makeGet(interactions, rootElem$) { return function get(selector, eventName, isSingle) { if (selector === ':root') { ...
cce1d363ca7186b15ba4c6dbce8c442de1a083f3
src/cycle-driver.js
src/cycle-driver.js
JavaScript
<|file_sep|>fsictools.py.diff original: def symbols_to_dataframe(symbols: List[Symbol]) -> 'DataFrame': updated: def symbols_to_dataframe(symbols: List[Symbol]) -> 'pandas.DataFrame': <|file_sep|>original/fsictools.py import re from typing import List from fsic import BaseModel, Symbol def symbols_to_dataframe(symbo...
import re from typing import List from fsic import BaseModel, Symbol def symbols_to_dataframe(symbols: List[Symbol]) -> 'pandas.DataFrame': """Convert the list of symbols to a `pandas` DataFrame. **Requires `pandas`**.""" from pandas import DataFrame return DataFrame([s._asdict() for s in symbols]) def...
<|file_sep|>fsictools.py.diff original: def symbols_to_dataframe(symbols: List[Symbol]) -> 'DataFrame': updated: def symbols_to_dataframe(symbols: List[Symbol]) -> 'pandas.DataFrame': <|file_sep|>original/fsictools.py import re from typing import List from fsic import BaseModel, Symbol def symbols_to_dataframe(symbo...
b6978852775bb48e400a31a1e464d7b596db13f2
fsictools.py
fsictools.py
Python
<|file_sep|>original/recipes/cartopy_offlinedata/meta.yaml host: - python - pip - setuptools - cartopy run: - python - cartopy test: imports: - cartopy_userconfig commands: - download_cartopy_data.sh --help about: home: https://github.com/willirath/cartopy_offlinedata licen...
host: - python - pip - setuptools - cartopy run: - python - cartopy test: requires: - bash imports: - cartopy_userconfig commands: - download_cartopy_data.sh --help about: home: https://github.com/willirath/cartopy_offlinedata license: MIT license_family: MIT
<|file_sep|>original/recipes/cartopy_offlinedata/meta.yaml host: - python - pip - setuptools - cartopy run: - python - cartopy test: imports: - cartopy_userconfig commands: - download_cartopy_data.sh --help about: home: https://github.com/willirath/cartopy_offlinedata licen...
bb060a39fa6822e199bb96c4dacbff6acdde4fb5
recipes/cartopy_offlinedata/meta.yaml
recipes/cartopy_offlinedata/meta.yaml
YAML