prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/Mollie.Tests.Integration/Api/ProfileTests.cs <|file_sep|>current/Mollie.Tests.Integration/Api/ProfileTests.cs <|file_sep|>updated/Mollie.Tests.Integration/Api/ProfileTests.cs
using Mollie.Api.Models.Profile.Response; using Mollie.Tests.Integration.Framework; using NUnit.Framework; using System.Threading.Tasks; namespace Mollie.Tests.Integration.Api { [TestFixture] public class ProfileTests : BaseMollieApiTestClass { [Test] public async Task GetCurrentProfileAsync_R...
<|file_sep|>original/Mollie.Tests.Integration/Api/ProfileTests.cs <|file_sep|>current/Mollie.Tests.Integration/Api/ProfileTests.cs <|file_sep|>updated/Mollie.Tests.Integration/Api/ProfileTests.cs using Mollie.Api.Models.Profile.Response; using Mollie.Tests.Integration.Framework; using NUnit.Framework; using System.T...
87c8c5959f2adba4593e8f71f94c5c74088227df
Mollie.Tests.Integration/Api/ProfileTests.cs
Mollie.Tests.Integration/Api/ProfileTests.cs
C#
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==1.9 PyYAML==3.12 nose==1.3.7 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==...
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0.3 PyYAML==3.12 nose==1.3.7
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==1.9 PyYAML==3.12 nose==1.3.7 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==...
5e15f3112bd2555a1b7646edb79aff85fd90b6a3
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/introduction/src/mylab/puzzles/MinHorizontalStrokes.java <|file_sep|>current/introduction/src/mylab/puzzles/MinHorizontalStrokes.java <|file_sep|>updated/introduction/src/mylab/puzzles/MinHorizontalStrokes.java
package mylab.puzzles; /** * Minimum Horizontal Strokes * * Sample input: * A[] = new int[]{1,1,1,1} * Output: * 1 * * Sample input: * A[] = new int[]{1,3,2,1,2,1,5,3,3,4,2} * Output: * 9 * * If strokes > 1,000,000,000 then return -1 * * http://stackoverflow.com/questions/33399211/how-to-find-least-stro...
<|file_sep|>original/introduction/src/mylab/puzzles/MinHorizontalStrokes.java <|file_sep|>current/introduction/src/mylab/puzzles/MinHorizontalStrokes.java <|file_sep|>updated/introduction/src/mylab/puzzles/MinHorizontalStrokes.java package mylab.puzzles; /** * Minimum Horizontal Strokes * * Sample input: * A[] =...
2fcef2c3eba38034f2fd0f709652d4a4c8738ae6
introduction/src/mylab/puzzles/MinHorizontalStrokes.java
introduction/src/mylab/puzzles/MinHorizontalStrokes.java
Java
<|file_sep|>transformations/Transformations.py.diff original: updated: <|file_sep|>original/transformations/Transformations.py from transformations.ChangeNamedEntities import ChangeNamedEntities from transformations.SentenceTransformation import SentenceTransformation from transformations.WithoutPunctuation import Wi...
from transformations.BackTranslation import BackTranslation from transformations.ButterFingersPerturbation import ButterFingersPerturbation from transformations.ChangeNamedEntities import ChangeNamedEntities from transformations.SentenceTransformation import SentenceTransformation from transformations.WithoutPunctuati...
<|file_sep|>transformations/Transformations.py.diff original: updated: <|file_sep|>original/transformations/Transformations.py from transformations.ChangeNamedEntities import ChangeNamedEntities from transformations.SentenceTransformation import SentenceTransformation from transformations.WithoutPunctuation import Wi...
f868b126b3bd81ec900f378ff1fa8bd29ab8ea4c
transformations/Transformations.py
transformations/Transformations.py
Python
<|file_sep|>original/gulpfile.js dest = 'dist/', annotation = '/* ' + p.name + ' v' + p.version + ' | Copyright (c) ' + new Date().getFullYear() + ' ' + p.homepage + ' | ' + p.license + ' license */\n'; gulp.task('clean', function(cb) { rimraf(dest, cb); }); gulp.task('scripts', ['clean'], function() { ...
dest = 'dist/', annotation = '/* ' + p.name + ' v' + p.version + ' | Copyright (c) ' + new Date().getFullYear() + ' ' + p.homepage + ' | ' + p.license + ' license */\n'; gulp.task('clean', function(cb) { rimraf(dest, cb); }); gulp.task('scripts', ['clean'], function() { return gulp.src(src + '*.js') ...
<|file_sep|>original/gulpfile.js dest = 'dist/', annotation = '/* ' + p.name + ' v' + p.version + ' | Copyright (c) ' + new Date().getFullYear() + ' ' + p.homepage + ' | ' + p.license + ' license */\n'; gulp.task('clean', function(cb) { rimraf(dest, cb); }); gulp.task('scripts', ['clean'], function() { ...
132822c44fc6916a01a547a2cfb70e1305b737ea
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>original/201507/ledpwm.py <|file_sep|>current/201507/ledpwm.py <|file_sep|>updated/201507/ledpwm.py
#!/usr/bin/python led0 = open('/dev/rtled0', 'a') n = 0 while True : print >> led0, "%d" % (0 if n%5 else 1) n = n + 1
<|file_sep|>original/201507/ledpwm.py <|file_sep|>current/201507/ledpwm.py <|file_sep|>updated/201507/ledpwm.py #!/usr/bin/python led0 = open('/dev/rtled0', 'a') n = 0 while True : print >> led0, "%d" % (0 if n%5 else 1) n = n + 1
2ee1ef825bb6aa6ff74228c90d4656da6c3ddde6
201507/ledpwm.py
201507/ledpwm.py
Python
<|file_sep|>original/scripts/logging/peloton-logging-test.sh #!/bin/bash tuple_count=50 thread_number=$1 do_check=$2 file_dir=$3 for i in {1..9} do tuples=$(($tuple_count / $thread_number)) echo "-----------test with $tuples, thread $thread_number, ON /tmp/ ------------------" tests/aries_logging_test -t $tuple...
#!/bin/bash tuple_count=50 thread_number=$1 do_check=$2 file_dir=$3 for i in {1..9} do tuples=$(($tuple_count / $thread_number)) echo "-----------test with $tuples, thread $thread_number, ON /tmp/ ------------------" tests/aries_logging_test -t $tuples -b $thread_number -c $do_check tests/peloton_logging_test...
<|file_sep|>original/scripts/logging/peloton-logging-test.sh #!/bin/bash tuple_count=50 thread_number=$1 do_check=$2 file_dir=$3 for i in {1..9} do tuples=$(($tuple_count / $thread_number)) echo "-----------test with $tuples, thread $thread_number, ON /tmp/ ------------------" tests/aries_logging_test -t $tuple...
703fdde35c0ab7211339ad4990e0a0f43584b369
scripts/logging/peloton-logging-test.sh
scripts/logging/peloton-logging-test.sh
Shell
<|file_sep|>original/heat/db/sqlalchemy/migrate_repo/manage.py #!/usr/bin/env python from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False') <|file_sep|>current/heat/db/sqlalchemy/migrate_repo/manage.py #!/usr/bin/env python from migrate.versioning.shell import main if __name__ ==...
#!/usr/bin/env python # 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 # # Unless required by applicable law or agreed to in writing, so...
<|file_sep|>original/heat/db/sqlalchemy/migrate_repo/manage.py #!/usr/bin/env python from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False') <|file_sep|>current/heat/db/sqlalchemy/migrate_repo/manage.py #!/usr/bin/env python from migrate.versioning.shell import main if __name__ ==...
2e40bccd158d0dd3a8e741704f055dbe7a04e3a5
heat/db/sqlalchemy/migrate_repo/manage.py
heat/db/sqlalchemy/migrate_repo/manage.py
Python
<|file_sep|>original/js/app.js init: function () { this.views = { playerView: new PlayerView({ el: $("#player-container"), }), navView: new NavView({ el: $("#nav-container"), }), } this.views.playerView.render(); this.views.navView.render(); // Create and fire up the router this.router ...
this.views = { playerView: new PlayerView({ el: $("#player-container"), }), navView: new NavView({ el: $("#nav-container"), }), } this.views.playerView.render(); this.views.navView.render(); // Create and fire up the router this.router = new Router(); this.router.on("route", function(r...
<|file_sep|>original/js/app.js init: function () { this.views = { playerView: new PlayerView({ el: $("#player-container"), }), navView: new NavView({ el: $("#nav-container"), }), } this.views.playerView.render(); this.views.navView.render(); // Create and fire up the router this.router ...
50265c4a04822319ed3b54516a13a0ef1f23c49a
js/app.js
js/app.js
JavaScript
<|file_sep|>core/src/main/java/com/ibasco/agql/core/exceptions/InvalidPacketException.java.diff original: * Copyright 2018-2022 Asynchronous Game Query Library updated: * Copyright (c) 2022 Asynchronous Game Query Library <|file_sep|>core/src/main/java/com/ibasco/agql/core/exceptions/InvalidPacketException.java.diff ...
* distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.ibasco.agql.core.exceptions; public class InvalidPac...
<|file_sep|>core/src/main/java/com/ibasco/agql/core/exceptions/InvalidPacketException.java.diff original: * Copyright 2018-2022 Asynchronous Game Query Library updated: * Copyright (c) 2022 Asynchronous Game Query Library <|file_sep|>core/src/main/java/com/ibasco/agql/core/exceptions/InvalidPacketException.java.diff ...
77f553d993339293d7a4f2fcb4d5e51dc2d91db5
core/src/main/java/com/ibasco/agql/core/exceptions/InvalidPacketException.java
core/src/main/java/com/ibasco/agql/core/exceptions/InvalidPacketException.java
Java
<|file_sep|>original/run_tests.sh #!/bin/sh set -xeu go get -t -v ./... go test -v ./... <|file_sep|>current/run_tests.sh #!/bin/sh set -xeu go get -t -v ./... go test -v ./... <|file_sep|>updated/run_tests.sh
#!/bin/sh set -xeu go get -t -v ./... go test -v ./... go build
<|file_sep|>original/run_tests.sh #!/bin/sh set -xeu go get -t -v ./... go test -v ./... <|file_sep|>current/run_tests.sh #!/bin/sh set -xeu go get -t -v ./... go test -v ./... <|file_sep|>updated/run_tests.sh #!/bin/sh set -xeu go get -t -v ./... go test -v ./... go build
c43f815ac2843a0b043759c99d8b0e3ccfdc24b6
run_tests.sh
run_tests.sh
Shell
<|file_sep|>osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenUIScale.cs.diff original: updated: using osu.Framework.Allocation; <|file_sep|>osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenUIScale.cs.diff original: updated: using osu.Game.Overlays; <|file_sep|>original/osu.Game.Tests/Visual/UserIn...
using osu.Framework.Allocation; using osu.Framework.Screens; using osu.Game.Overlays; using osu.Game.Overlays.FirstRunSetup; namespace osu.Game.Tests.Visual.UserInterface { public class TestSceneFirstRunScreenUIScale : OsuManualInputManagerTestScene { [Cached] private OverlayColourProvider col...
<|file_sep|>osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenUIScale.cs.diff original: updated: using osu.Framework.Allocation; <|file_sep|>osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenUIScale.cs.diff original: updated: using osu.Game.Overlays; <|file_sep|>original/osu.Game.Tests/Visual/UserIn...
20a50ddb6e0639adc5980a4e2c6c85ad2c4d13aa
osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenUIScale.cs
osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenUIScale.cs
C#
<|file_sep|>original/package.json "keywords": [ "gruntplugin", "nunjucks", "jinja2", "html", "render" ], "author": { "name": "Marius Büscher", "email": "marius.buescher@denkwerk.com" }, "license": "MIT", "peerDependencies": { "grunt": "^0.4.5", "nunjucks": "^2.1.0" }, ...
"keywords": [ "gruntplugin", "nunjucks", "jinja2", "html", "render" ], "author": { "name": "Marius Büscher", "email": "marius.buescher@denkwerk.com" }, "license": "MIT", "peerDependencies": { "grunt": ">=0.4.0", "nunjucks": "^2.1.0" }, "devDependencies": { "grunt"...
<|file_sep|>original/package.json "keywords": [ "gruntplugin", "nunjucks", "jinja2", "html", "render" ], "author": { "name": "Marius Büscher", "email": "marius.buescher@denkwerk.com" }, "license": "MIT", "peerDependencies": { "grunt": "^0.4.5", "nunjucks": "^2.1.0" }, ...
a67d4810f32c2a54b28264b3e489253efad55116
package.json
package.json
JSON
<|file_sep|>cmake/CheckCXX11Features/cxx11-test-class_override_final.cpp.diff original: updated: sub2 t; <|file_sep|>original/cmake/CheckCXX11Features/cxx11-test-class_override_final.cpp }; class sub final : public base { public: virtual int foo(int a) override { return 8 + 2 * a; }; }; class sub2 final...
class sub final : public base { public: virtual int foo(int a) override { return 8 + 2 * a; }; }; class sub2 final : public base { public: virtual int foo(int a) override final { return 8 + 2 * a; }; }; int main(void) { base b; sub s; sub2 t; return (b.foo(2) * 2 == s.foo(2) && b.f...
<|file_sep|>cmake/CheckCXX11Features/cxx11-test-class_override_final.cpp.diff original: updated: sub2 t; <|file_sep|>original/cmake/CheckCXX11Features/cxx11-test-class_override_final.cpp }; class sub final : public base { public: virtual int foo(int a) override { return 8 + 2 * a; }; }; class sub2 final...
45d6575e664dbf10489798643b7f612d07053297
cmake/CheckCXX11Features/cxx11-test-class_override_final.cpp
cmake/CheckCXX11Features/cxx11-test-class_override_final.cpp
C++
<|file_sep|>original/app.js if (env !== 'production') { dotenv.load(); } // Log here so that all requests are logged. app.use(logger('dev')); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: false })); app.use(express.static(publicPath)); require('./server/routes')(app); // require application ...
if (env !== 'production') { dotenv.load(); } // Log here so that all requests are logged. app.use(logger('dev')); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: false })); app.use(express.static(publicPath)); // Configure webpack hot reloading if (env === 'development') { const compiler = ...
<|file_sep|>original/app.js if (env !== 'production') { dotenv.load(); } // Log here so that all requests are logged. app.use(logger('dev')); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: false })); app.use(express.static(publicPath)); require('./server/routes')(app); // require application ...
6cfcf4f85d4a06a0bfd7595ec61c2e106a060e95
app.js
app.js
JavaScript
<|file_sep|>original/setup.py from setuptools import setup, find_packages DESCRIPTION = "FFXI Linkshell Community Scraper" with open('README.md') as f: LONG_DESCRIPTION = f.read() with open('requirements.txt') as f: required = f.read().splitlines() VERSION = '0.1.10' CLASSIFIERS = [ 'Intended Audience ...
from setuptools import setup, find_packages DESCRIPTION = "FFXI Linkshell Community Scraper" with open('README.md') as f: LONG_DESCRIPTION = f.read() with open('requirements.txt') as f: required = f.read().splitlines() VERSION = '0.1.11' CLASSIFIERS = [ 'Intended Audience :: Developers', 'License :...
<|file_sep|>original/setup.py from setuptools import setup, find_packages DESCRIPTION = "FFXI Linkshell Community Scraper" with open('README.md') as f: LONG_DESCRIPTION = f.read() with open('requirements.txt') as f: required = f.read().splitlines() VERSION = '0.1.10' CLASSIFIERS = [ 'Intended Audience ...
0d5beefe5a03754d540abb7710ccb4415b9abedf
setup.py
setup.py
Python
<|file_sep|>original/.azure-pipelines/build.yml name: CI_$(Date:yyyyMMdd)$(Rev:.r) trigger: batch: true phases: - template: build-template.yml parameters: agentOS: Linux artifacts: archiveName: api.zip - template: build-template.yml parameters: agentOS: macOS artifacts: archiveName: ...
name: CI_$(Date:yyyyMMdd)$(Rev:.r) trigger: batch: true branches: include: - master phases: - template: build-template.yml parameters: agentOS: Linux artifacts: archiveName: api.zip - template: build-template.yml parameters: agentOS: macOS artifacts: archiveName: api.zip - ...
<|file_sep|>original/.azure-pipelines/build.yml name: CI_$(Date:yyyyMMdd)$(Rev:.r) trigger: batch: true phases: - template: build-template.yml parameters: agentOS: Linux artifacts: archiveName: api.zip - template: build-template.yml parameters: agentOS: macOS artifacts: archiveName: ...
f5cbe37928f0258d574d842c768bee2df3451fd4
.azure-pipelines/build.yml
.azure-pipelines/build.yml
YAML
<|file_sep|>original/.travis.yml dist: precise language: java jdk: - oraclejdk8 script: - ./gradlew test after_success: - ./gradlew jacocoTestReport coveralls addons: hosts: - me hostname: me <|file_sep|>current/.travis.yml dist: precise language: java jdk: - oraclejdk8 script: - ./gradlew test after_...
dist: precise language: java jdk: - openjdk8 script: - ./gradlew test after_success: - ./gradlew jacocoTestReport coveralls addons: hosts: - me hostname: me
<|file_sep|>original/.travis.yml dist: precise language: java jdk: - oraclejdk8 script: - ./gradlew test after_success: - ./gradlew jacocoTestReport coveralls addons: hosts: - me hostname: me <|file_sep|>current/.travis.yml dist: precise language: java jdk: - oraclejdk8 script: - ./gradlew test after_...
f5543e792e1d291632bb6b168c4c3634ed25489c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.rst =================================== oslo.middleware =================================== Oslo middleware library includes components that can be injected into wsgi pipelines to intercept request/response flows. The base class can be enhanced with functionality like add/delete/modificatio...
=================================== oslo.middleware =================================== Oslo middleware library includes components that can be injected into wsgi pipelines to intercept request/response flows. The base class can be enhanced with functionality like add/delete/modification of http headers and support fo...
<|file_sep|>original/README.rst =================================== oslo.middleware =================================== Oslo middleware library includes components that can be injected into wsgi pipelines to intercept request/response flows. The base class can be enhanced with functionality like add/delete/modificatio...
020fd92f2d789828cd7de06928c65233f4e6b87f
README.rst
README.rst
reStructuredText
<|file_sep|>python/sherlock-and-valid-string.py.diff original: updated: import copy <|file_sep|>python/sherlock-and-valid-string.py.diff original: characterCountWithOneRemovedCharacter = dict.copy(characterCounts) updated: characterCountWithOneRemovedCharacter = characterCounts.copy() <|file_se...
def containsOnlyOneDifferentCharacterCount(string): characterCounts = Counter(string) if allOccurencesAreEqual(characterCounts): return True else: # Try to remove one occurence of every character for character in characterCounts: characterCountWithOneRemovedCharacter = c...
<|file_sep|>python/sherlock-and-valid-string.py.diff original: updated: import copy <|file_sep|>python/sherlock-and-valid-string.py.diff original: characterCountWithOneRemovedCharacter = dict.copy(characterCounts) updated: characterCountWithOneRemovedCharacter = characterCounts.copy() <|file_se...
530f540b11959956c0cd08b95b2c7c373d829c8e
python/sherlock-and-valid-string.py
python/sherlock-and-valid-string.py
Python
<|file_sep|>original/.github/workflows/publish-gem.yaml on: push: tags: - v* jobs: publish-gem: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: '3.1' bundler-cache: true - name: Setup credentia...
on: push: tags: - v* jobs: publish-gem: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: '3.1' bundler-cache: true - name: Setup credentials run: | mkdir -p ~/.gem c...
<|file_sep|>original/.github/workflows/publish-gem.yaml on: push: tags: - v* jobs: publish-gem: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: '3.1' bundler-cache: true - name: Setup credentia...
706bee194fba5a4eb09f102cb34e3ed6e1d01c90
.github/workflows/publish-gem.yaml
.github/workflows/publish-gem.yaml
YAML
<|file_sep|>original/assets/javascripts/discourse/templates/connectors/topic-category/list-tags.hbs {{#each t in tags}} {{discourse-tag tagId=t}} {{/each}} <|file_sep|>current/assets/javascripts/discourse/templates/connectors/topic-category/list-tags.hbs {{#each t in tags}} {{discourse-tag tagId=t}} {{/each}} <|fil...
{{#each t in topic.tags}} {{discourse-tag tagId=t}} {{/each}}
<|file_sep|>original/assets/javascripts/discourse/templates/connectors/topic-category/list-tags.hbs {{#each t in tags}} {{discourse-tag tagId=t}} {{/each}} <|file_sep|>current/assets/javascripts/discourse/templates/connectors/topic-category/list-tags.hbs {{#each t in tags}} {{discourse-tag tagId=t}} {{/each}} <|fil...
d22f19b072a1d814508aae29b73f49254ea4d88d
assets/javascripts/discourse/templates/connectors/topic-category/list-tags.hbs
assets/javascripts/discourse/templates/connectors/topic-category/list-tags.hbs
Handlebars
<|file_sep|>original/.travis.yml language: ruby script: bundle exec rake sudo: false rvm: - "2.2" - "2.3" - "2.4" - "2.5" - "2.6" - ruby-head - jruby-19mode matrix: allow_failures: - rvm: ruby-head <|file_sep|>current/.travis.yml language: ruby script: bundle exec rake sudo: false rvm: - "2.2" - "2.3" - "2.4" - ...
language: ruby script: bundle exec rake rvm: - "2.2" - "2.3" - "2.4" - "2.5" - "2.6" - ruby-head - jruby-19mode matrix: allow_failures: - rvm: ruby-head
<|file_sep|>original/.travis.yml language: ruby script: bundle exec rake sudo: false rvm: - "2.2" - "2.3" - "2.4" - "2.5" - "2.6" - ruby-head - jruby-19mode matrix: allow_failures: - rvm: ruby-head <|file_sep|>current/.travis.yml language: ruby script: bundle exec rake sudo: false rvm: - "2.2" - "2.3" - "2.4" - ...
45e8edf25e717cc880411324846fccc96684e45a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md <img src="http://modding.kalam-alami.net/site/img/invtweaks.png" /> ## What's this project about This Open Source project (see [License](https://github.com/mkalam-alami/inventory-tweaks/blob/master/src/doc/license.txt)) is a client mod for [Minecraft](http://www.minecraft.net/), a game ...
<img src="http://modding.kalam-alami.net/site/img/invtweaks.png" /> *Matching Minecraft version: **1.2.X*** ## What's this project about This Open Source project (see [License](https://github.com/mkalam-alami/inventory-tweaks/blob/master/src/doc/license.txt)) is a client mod for [Minecraft](http://www.minecraft.net/...
<|file_sep|>original/README.md <img src="http://modding.kalam-alami.net/site/img/invtweaks.png" /> ## What's this project about This Open Source project (see [License](https://github.com/mkalam-alami/inventory-tweaks/blob/master/src/doc/license.txt)) is a client mod for [Minecraft](http://www.minecraft.net/), a game ...
b5ad23ac1bd90cb05085403c84a33fac9d36e69d
README.md
README.md
Markdown
<|file_sep|>original/app/controllers/sessions_controller.rb session[:user_id] = @user.id redirect_to root_path else redirect_to :back end end def destroy session.clear reset_session redirect_to root_path end private def session_params params.require(:session).permi...
session[:user_id] = @user.id redirect_to root_path else redirect_to :back end end def destroy session.clear reset_session redirect_to root_path end private def session_params params.require(:session).permit(:email, :password) end end
<|file_sep|>original/app/controllers/sessions_controller.rb session[:user_id] = @user.id redirect_to root_path else redirect_to :back end end def destroy session.clear reset_session redirect_to root_path end private def session_params params.require(:session).permi...
4da0c981a87b41a03a93acff50b898d63c86e264
app/controllers/sessions_controller.rb
app/controllers/sessions_controller.rb
Ruby
<|file_sep|>lib/side-view.coffee.diff original: console.log "== Initial installation // #{@side.description()}" @reposition(editorView, true) updated: <|file_sep|>lib/side-view.coffee.diff original: updated: @reposition(editorView) <|file_sep|>lib/side-view.coffee.diff original: console.log ">> Bann...
initialize: (@side) -> installIn: (editorView) -> @appendTo editorView.overlayer @reposition(editorView) @side.refBannerMarker.on "changed", => @reposition(editorView) reposition: (editorView, initial) -> # @side.lines().addClass("conflict-line #{@side.klass()}") anchor = editorView.r...
<|file_sep|>lib/side-view.coffee.diff original: console.log "== Initial installation // #{@side.description()}" @reposition(editorView, true) updated: <|file_sep|>lib/side-view.coffee.diff original: updated: @reposition(editorView) <|file_sep|>lib/side-view.coffee.diff original: console.log ">> Bann...
90526d9b0d1b384db1d529a3b81599947f09d6dc
lib/side-view.coffee
lib/side-view.coffee
CoffeeScript
<|file_sep|>original/build.xml <exec executable="${basedir}/tools/composer" taskname="composer"> <arg value="update"/> <arg value="--no-interaction"/> <arg value="--no-progress"/> <arg value="--no-ansi"/> <arg value="--no-suggest"/> </exec> ...
<arg value="update"/> <arg value="--no-interaction"/> <arg value="--no-progress"/> <arg value="--no-ansi"/> <arg value="--no-suggest"/> </exec> </target> <target name="update-tools"> <exec executable="phive" taskname="phive"> ...
<|file_sep|>original/build.xml <exec executable="${basedir}/tools/composer" taskname="composer"> <arg value="update"/> <arg value="--no-interaction"/> <arg value="--no-progress"/> <arg value="--no-ansi"/> <arg value="--no-suggest"/> </exec> ...
260dd64e3e94f462e25e5a349e22cf119cd7cfd9
build.xml
build.xml
XML
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/local.txt # Local development dependencies go here -r base.txt coverage==4.2 django-coverage-plugin==1.3.1 Sphinx==1.4.5 django-extensions==1.7.3 Werkzeug==0.11.10 django-test-plus==1.0.15 factory_boy==2.7.0 django-debug-toolbar==1.5 # improved REPL ipdb=...
# Local development dependencies go here -r base.txt coverage==4.2 django-coverage-plugin==1.3.1 Sphinx==1.4.5 django-extensions==1.7.3 Werkzeug==0.11.11 django-test-plus==1.0.15 factory_boy==2.7.0 django-debug-toolbar==1.5 # improved REPL ipdb==0.10.1 pytest-django==2.9.1 pytest-sugar==0.7.1
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/local.txt # Local development dependencies go here -r base.txt coverage==4.2 django-coverage-plugin==1.3.1 Sphinx==1.4.5 django-extensions==1.7.3 Werkzeug==0.11.10 django-test-plus==1.0.15 factory_boy==2.7.0 django-debug-toolbar==1.5 # improved REPL ipdb=...
cf092b62692642bef48dd6ab0f06010a2fa1c1d6
{{cookiecutter.project_slug}}/requirements/local.txt
{{cookiecutter.project_slug}}/requirements/local.txt
Text
<|file_sep|>original/lib/workflows/service.rb module Workflows module Service def success!(value=true) value end def failure!(value=false) Workflows::Error.to_error(value) end end end <|file_sep|>current/lib/workflows/service.rb module Workflows module Service def success!(value=t...
module Workflows module Service extend self def success!(value=true) value end def failure!(value=false) Workflows::Error.to_error(value) end end end
<|file_sep|>original/lib/workflows/service.rb module Workflows module Service def success!(value=true) value end def failure!(value=false) Workflows::Error.to_error(value) end end end <|file_sep|>current/lib/workflows/service.rb module Workflows module Service def success!(value=t...
3892fcbdd34ecbaf92f06534d25c9e8dbeb491ed
lib/workflows/service.rb
lib/workflows/service.rb
Ruby
<|file_sep|>.travis.yml.diff original: - docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" updated: - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} <|file_sep|>original/.travis.yml env: global: - DOCKER_VERSION=1.10.1-0~trusty sudo: requ...
env: global: - DOCKER_VERSION=1.10.1-0~trusty sudo: required services: - docker before_install: - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} script: - docker version - docker login -e=$DOCKER_EMAIL -u=$DOCKER_USERNAME -p=$DOCKER_PASSWORD - ./build.sh
<|file_sep|>.travis.yml.diff original: - docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" updated: - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} <|file_sep|>original/.travis.yml env: global: - DOCKER_VERSION=1.10.1-0~trusty sudo: requ...
d0e2d5c601aed7842b351b87db97ba05a30b0854
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test/connection_adapters/redis_test.rb <|file_sep|>current/test/connection_adapters/redis_test.rb <|file_sep|>updated/test/connection_adapters/redis_test.rb
require 'test_helper' class RenoirConnectionAdaptersRedisTest < Minitest::Test def setup node = CONFIG['cluster_nodes'].sample host, port = case node when Array node when String node.split(':') when Hash ...
<|file_sep|>original/test/connection_adapters/redis_test.rb <|file_sep|>current/test/connection_adapters/redis_test.rb <|file_sep|>updated/test/connection_adapters/redis_test.rb require 'test_helper' class RenoirConnectionAdaptersRedisTest < Minitest::Test def setup node = CONFIG['cluster_nodes'].sample ho...
c965e5a430fad145bdc953f30c0b6c0e8e665942
test/connection_adapters/redis_test.rb
test/connection_adapters/redis_test.rb
Ruby
<|file_sep|>original/.travis.yml language: go sudo: false go: - 1.7.5 - 1.8 install: - go get -t ./... - go get github.com/nats-io/gnatsd - go get github.com/mattn/goveralls - go get github.com/wadey/gocovmerge - go get -u honnef.co/go/tools/cmd/staticcheck - go get -u honnef.co/go/tools/cmd/gosimple before_script: - E...
language: go sudo: false go: - 1.7.5 - 1.8.1 install: - go get -t ./... - go get github.com/nats-io/gnatsd - go get github.com/mattn/goveralls - go get github.com/wadey/gocovmerge - go get -u honnef.co/go/tools/cmd/staticcheck - go get -u honnef.co/go/tools/cmd/gosimple before_script: - EXCLUDE_VENDOR=$(go list ./... |...
<|file_sep|>original/.travis.yml language: go sudo: false go: - 1.7.5 - 1.8 install: - go get -t ./... - go get github.com/nats-io/gnatsd - go get github.com/mattn/goveralls - go get github.com/wadey/gocovmerge - go get -u honnef.co/go/tools/cmd/staticcheck - go get -u honnef.co/go/tools/cmd/gosimple before_script: - E...
3bc67cbd1f069e86db21866d6281a83d670f8f2d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/plugin.xml <?xml version="1.0" encoding="utf-8"?> <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.bridge.open.tests" version="0.1.6"> <name>Cordova Bridge Open Plugin Tests</name> <license>GPLv2</license> <js-mo...
<?xml version="1.0" encoding="utf-8"?> <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.bridge.open.tests" version="0.1.6"> <name>Cordova Bridge Open Plugin Tests</name> <license>GPLv2</license> <js-module src="tests.js" name="tests"> </...
<|file_sep|>original/tests/plugin.xml <?xml version="1.0" encoding="utf-8"?> <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.bridge.open.tests" version="0.1.6"> <name>Cordova Bridge Open Plugin Tests</name> <license>GPLv2</license> <js-mo...
1c5b122304c0330cedeebfb9216d55b317ab6d88
tests/plugin.xml
tests/plugin.xml
XML
<|file_sep|>original/.travis.yml sudo: required language: c install: - wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh script: - bash -ex .travis-opam.sh env: global: - PACKAGE=webaudio matrix: - OCAML_VERSION=4.01 - OCAML_VERSION=4.02 <|file_sep|>current/...
sudo: required language: c install: - wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh script: - bash -ex .travis-opam.sh env: global: - PACKAGE=webaudio - EXTRA_REMOTES=git://github.com/johnelse/opam-repo-johnelse matrix: - OCAML_VERSION=4.01 - OCAML_V...
<|file_sep|>original/.travis.yml sudo: required language: c install: - wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh script: - bash -ex .travis-opam.sh env: global: - PACKAGE=webaudio matrix: - OCAML_VERSION=4.01 - OCAML_VERSION=4.02 <|file_sep|>current/...
9b640da9d11ebea785cf78898e3fe9c5d58c1e8a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/uninstall-grepWin_global_context_menu.bat <|file_sep|>current/uninstall-grepWin_global_context_menu.bat <|file_sep|>updated/uninstall-grepWin_global_context_menu.bat
@echo off setlocal EnableDelayedExpansion set registryRoot=HKCU\Software\Classes reg delete %registryRoot%\*\shell\grepWin... reg delete %registryRoot%\*\shell\grepWin... reg delete %registryRoot%\Directory\background\shell\grepWin... reg delete %registryRoot%\Directory\shell\grepWin... reg delete %registryRoot%\Dri...
<|file_sep|>original/uninstall-grepWin_global_context_menu.bat <|file_sep|>current/uninstall-grepWin_global_context_menu.bat <|file_sep|>updated/uninstall-grepWin_global_context_menu.bat @echo off setlocal EnableDelayedExpansion set registryRoot=HKCU\Software\Classes reg delete %registryRoot%\*\shell\grepWin... re...
e629e50fcbc31231601d94ec0d7203aa1ba8b730
uninstall-grepWin_global_context_menu.bat
uninstall-grepWin_global_context_menu.bat
Batchfile
<|file_sep|>original/polyfills/_enqueueMicrotask/config.json { "aliases": [ "modernizr:promises", "caniuse:promises" ], "browsers": { "android": "*", "chrome": "*", "firefox": "*", "ie": "*", "ie_mob": "*", "ios_saf": "*", "opera": "*", "op_mob": "*", "op_mini": "*", "bb": "*", "safari": "...
{ "aliases": [ "modernizr:promises", "caniuse:promises" ], "browsers": { "android": "*", "chrome": "*", "firefox": "*", "ie": "9 - *", "ie_mob": "*", "ios_saf": "*", "opera": "*", "op_mob": "*", "op_mini": "*", "bb": "*", "safari": "*" }, "variants": { "ie8": {
<|file_sep|>original/polyfills/_enqueueMicrotask/config.json { "aliases": [ "modernizr:promises", "caniuse:promises" ], "browsers": { "android": "*", "chrome": "*", "firefox": "*", "ie": "*", "ie_mob": "*", "ios_saf": "*", "opera": "*", "op_mob": "*", "op_mini": "*", "bb": "*", "safari": "...
e8eab30c1368091de9a4bf3f0ac89470ebd22bee
polyfills/_enqueueMicrotask/config.json
polyfills/_enqueueMicrotask/config.json
JSON
<|file_sep|>original/Cargo.toml git = "https://github.com/bjz/gl-rs" [dependencies.texture] git = "https://github.com/pistondevelopers/texture" [dependencies.graphics] git = "https://github.com/pistondevelopers/graphics" [dependencies.shader_version] git = "https://github.com/pistondevelopers/shader_version" [d...
git = "https://github.com/bjz/gl-rs" [dependencies.texture] git = "https://github.com/pistondevelopers/texture" [dependencies.graphics] git = "https://github.com/pistondevelopers/graphics" branch = "newdesign" [dependencies.shader_version] git = "https://github.com/pistondevelopers/shader_version" [dependencies...
<|file_sep|>original/Cargo.toml git = "https://github.com/bjz/gl-rs" [dependencies.texture] git = "https://github.com/pistondevelopers/texture" [dependencies.graphics] git = "https://github.com/pistondevelopers/graphics" [dependencies.shader_version] git = "https://github.com/pistondevelopers/shader_version" [d...
d799a6257c830009f14d5133200d86f5af599c2b
Cargo.toml
Cargo.toml
TOML
<|file_sep|>README.md.diff original: updated: [![Build Status](http://img.shields.io/travis/Laiff/react-isomorphic/master.svg?style=flat)](https://travis-ci.org/Laiff/react-isomorphic) [![Build Status](http://img.shields.io/travis/Laiff/react-isomorphic/develop.svg?style=flat)](https://travis-ci.org/Laiff/react-isomor...
[![Downloads](http://img.shields.io/npm/dm/react-isomorphic.svg?style=flat)](https://npmjs.org/package/react-isomorphic) [![Dependency Status](https://david-dm.org/Laiff/react-isomorphic.svg?style=flat)](https://david-dm.org/Laiff/react-isomorphic) Boilerplate for isomorphic application using react reflux and other aw...
<|file_sep|>README.md.diff original: updated: [![Build Status](http://img.shields.io/travis/Laiff/react-isomorphic/master.svg?style=flat)](https://travis-ci.org/Laiff/react-isomorphic) [![Build Status](http://img.shields.io/travis/Laiff/react-isomorphic/develop.svg?style=flat)](https://travis-ci.org/Laiff/react-isomor...
61a3e5d7d16d93f1d8d4bab53cb452df7484a9d5
README.md
README.md
Markdown
<|file_sep|>templates/includes/popover-source-link.hbs.diff original: <a class="glyphicon glyphicon-pencil source-link right" href="https://github.com/less/less-docs/blob/master/{{{.}}}" data-content="{{{slugify (filename .)}}}" target="_blank"></a> updated: <a class="glyphicon glyphicon-pencil source-link right" href=...
{{!-- the trigger link --}} <a class="glyphicon glyphicon-pencil source-link right" href="https://github.com/ownego/lesscss.org.vn/blob/master/{{{.}}}" data-content="{{{slugify (filename .)}}}" target="_blank"></a> {{!-- the popover link. this is dynamically inserted into the popover template by ./assets/public/js/ap...
<|file_sep|>templates/includes/popover-source-link.hbs.diff original: <a class="glyphicon glyphicon-pencil source-link right" href="https://github.com/less/less-docs/blob/master/{{{.}}}" data-content="{{{slugify (filename .)}}}" target="_blank"></a> updated: <a class="glyphicon glyphicon-pencil source-link right" href=...
2bb4bf2b0c156df1cecbc2ffccfbe37c95c31d13
templates/includes/popover-source-link.hbs
templates/includes/popover-source-link.hbs
Handlebars
<|file_sep|>original/phpunit.xml <|file_sep|>current/phpunit.xml <|file_sep|>updated/phpunit.xml
<phpunit bootstrap="./vendor/autoload.php" colors="true"> <testsuites> <!-- Default test suite to run all tests --> <testsuite name="AllTests"> <directory suffix=".php">./tests/</directory> </testsuite> </testsuites> <filter> <whitelist processUncoveredFilesFrom...
<|file_sep|>original/phpunit.xml <|file_sep|>current/phpunit.xml <|file_sep|>updated/phpunit.xml <phpunit bootstrap="./vendor/autoload.php" colors="true"> <testsuites> <!-- Default test suite to run all tests --> <testsuite name="AllTests"> <directory suffix=".php">./tests/</directory...
da05cc6085c49ae5f0783e0a430468f4961e6ef4
phpunit.xml
phpunit.xml
XML
<|file_sep|>original/de.wwu.md2.framework/src/de/wwu/md2/framework/generator/util/preprocessor/ProcessCustomEvents.xtend <|file_sep|>current/de.wwu.md2.framework/src/de/wwu/md2/framework/generator/util/preprocessor/ProcessCustomEvents.xtend <|file_sep|>updated/de.wwu.md2.framework/src/de/wwu/md2/framework/generator/u...
package de.wwu.md2.framework.generator.util.preprocessor class ProcessCustomEvents { // main step that calls all substeps // create entity // create contentProvider for entity // foreach CustomEvent: create CustomAction // foreach CustomEvent: create __registerCustomEventName action and add it t...
<|file_sep|>original/de.wwu.md2.framework/src/de/wwu/md2/framework/generator/util/preprocessor/ProcessCustomEvents.xtend <|file_sep|>current/de.wwu.md2.framework/src/de/wwu/md2/framework/generator/util/preprocessor/ProcessCustomEvents.xtend <|file_sep|>updated/de.wwu.md2.framework/src/de/wwu/md2/framework/generator/u...
e02d24fe7b1d732312ebb788b82acbfa6aa8b507
de.wwu.md2.framework/src/de/wwu/md2/framework/generator/util/preprocessor/ProcessCustomEvents.xtend
de.wwu.md2.framework/src/de/wwu/md2/framework/generator/util/preprocessor/ProcessCustomEvents.xtend
Xtend
<|file_sep|>.travis.yml.diff original: - 2.2.6 - 2.3.3 - 2.4.0 updated: - 2.2.7 - 2.3.4 - 2.4.1 <|file_sep|>.travis.yml.diff original: - rvm: 2.4.0 updated: - rvm: 2.4.1 <|file_sep|>original/.travis.yml gemfile: - gemfiles/Gemfile-rails4.1.x - gemfiles/Gemfile-rails4.2.x - gemfiles/Gemfile-rai...
gemfile: - gemfiles/Gemfile-rails4.1.x - gemfiles/Gemfile-rails4.2.x - gemfiles/Gemfile-rails5.0.x - gemfiles/Gemfile-rails5.1.x matrix: allow_failures: - rvm: 2.4.1 gemfile: gemfiles/Gemfile-rails4.1.x - rvm: 2.4.1 gemfile: gemfiles/Gemfile-rails4.2.x - rvm: ruby-head gemfile: ...
<|file_sep|>.travis.yml.diff original: - 2.2.6 - 2.3.3 - 2.4.0 updated: - 2.2.7 - 2.3.4 - 2.4.1 <|file_sep|>.travis.yml.diff original: - rvm: 2.4.0 updated: - rvm: 2.4.1 <|file_sep|>original/.travis.yml gemfile: - gemfiles/Gemfile-rails4.1.x - gemfiles/Gemfile-rails4.2.x - gemfiles/Gemfile-rai...
c6f563a684ebcb6364048e1c486f894be4a9016d
.travis.yml
.travis.yml
YAML
<|file_sep|>app/assets/stylesheets/core/core_components/cards/_card_layer.sass.diff original: width: 600px updated: width: 800px <|file_sep|>app/assets/stylesheets/core/core_components/cards/_card_layer.sass.diff original: width: 650px updated: margin-left: -25px width: 800px <|file_sep|>app/assets/styl...
+font-size(20) .related margin-left: -25px width: 800px .related_articles, .related_guides margin: 0px a > img width: 100% height: auto .card--layer__close position: absolute width: 30px height: 30px top: 20px right: 20px .card--layer__article padding-bottom: 10px
<|file_sep|>app/assets/stylesheets/core/core_components/cards/_card_layer.sass.diff original: width: 600px updated: width: 800px <|file_sep|>app/assets/stylesheets/core/core_components/cards/_card_layer.sass.diff original: width: 650px updated: margin-left: -25px width: 800px <|file_sep|>app/assets/styl...
f106261e83be067cd618a0e8fe7fca84abd46022
app/assets/stylesheets/core/core_components/cards/_card_layer.sass
app/assets/stylesheets/core/core_components/cards/_card_layer.sass
Sass
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "rbx-19mode" services: - mongodb <|file_sep|>current/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "rbx-19mode" services: - mongodb <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.9.3 - 2.0.0 - rbx-19mode - ruby-head - jruby-19mode - jruby-head services: - mongodb
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "rbx-19mode" services: - mongodb <|file_sep|>current/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "rbx-19mode" services: - mongodb <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - rbx-19mode ...
138e8478da10dc3b7d5a5d3dc1b02aa889bf653d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/mda/finance.py <|file_sep|>current/mda/finance.py <|file_sep|>updated/mda/finance.py
from __future__ import division import numpy as np import pandas as pd import urllib2 # __author__ = 'mattmcd' class LseReader: def __init__(self): dataLoc = '/home/mattmcd/Work/Data/' ftseFile = dataLoc + 'FTSE100.csv' self.ftse100 = pd.read_csv( ftseFile ) self.prefixURL = 'h...
<|file_sep|>original/mda/finance.py <|file_sep|>current/mda/finance.py <|file_sep|>updated/mda/finance.py from __future__ import division import numpy as np import pandas as pd import urllib2 # __author__ = 'mattmcd' class LseReader: def __init__(self): dataLoc = '/home/mattmcd/Work/Data/' fts...
b38edc2a192151324855d50e9e172f0fd96b9064
mda/finance.py
mda/finance.py
Python
<|file_sep|>src/Oro/Bundle/ChartBundle/DependencyInjection/OroChartExtension.php.diff original: updated: use Symfony\Component\Config\FileLocator; <|file_sep|>original/src/Oro/Bundle/ChartBundle/DependencyInjection/OroChartExtension.php use Oro\Component\Config\Loader\YamlCumulativeFileLoader; class OroChartExtension...
use Oro\Component\Config\Loader\CumulativeConfigLoader; use Oro\Component\Config\Loader\YamlCumulativeFileLoader; class OroChartExtension extends Extension { /** * {@inheritdoc} */ public function load(array $configs, ContainerBuilder $container) { $loader = new Loader\YamlFileLoader($con...
<|file_sep|>src/Oro/Bundle/ChartBundle/DependencyInjection/OroChartExtension.php.diff original: updated: use Symfony\Component\Config\FileLocator; <|file_sep|>original/src/Oro/Bundle/ChartBundle/DependencyInjection/OroChartExtension.php use Oro\Component\Config\Loader\YamlCumulativeFileLoader; class OroChartExtension...
401d912bbb7ca92c261f95945a19734a52c0116a
src/Oro/Bundle/ChartBundle/DependencyInjection/OroChartExtension.php
src/Oro/Bundle/ChartBundle/DependencyInjection/OroChartExtension.php
PHP
<|file_sep|>demo/widgy.py.diff original: from widgy.site import WidgySite updated: from widgy.site import ReviewedWidgySite <|file_sep|>original/demo/widgy.py from __future__ import absolute_import from widgy.site import WidgySite class DemoWidgySite(WidgySite): def valid_parent_of(self, parent, child_class, obj...
from __future__ import absolute_import from widgy.site import ReviewedWidgySite class DemoWidgySite(ReviewedWidgySite): def valid_parent_of(self, parent, child_class, obj=None): if isinstance(parent, I18NLayout): return True else: return super(DemoWidgySite, self).valid_pa...
<|file_sep|>demo/widgy.py.diff original: from widgy.site import WidgySite updated: from widgy.site import ReviewedWidgySite <|file_sep|>original/demo/widgy.py from __future__ import absolute_import from widgy.site import WidgySite class DemoWidgySite(WidgySite): def valid_parent_of(self, parent, child_class, obj...
1c3f89110ede8998b63831c181c44e92709481b6
demo/widgy.py
demo/widgy.py
Python
<|file_sep|>app/views/users/_tabnav.html.erb.diff original: <%= link_to_unless_current t('nlt.messages'), messages_list_path %> updated: <%= link_to t('nlt.messages'), messages_list_path %> <|file_sep|>app/views/users/_tabnav.html.erb.diff original: <%= link_to_unless request.fullpath =~ /\/profile\//, ...
<ul id="tabnav"> <!-- TODO: can an user edit or view messages from another user? --> <!-- TODO: active class in partials --> <% if user_signed_in? and user.id == current_user.id %> <li> <%= link_to t('nlt.messages'), messages_list_path %> </li> <% end %> <li> <%= link_to t('nlt.profile'), profile_...
<|file_sep|>app/views/users/_tabnav.html.erb.diff original: <%= link_to_unless_current t('nlt.messages'), messages_list_path %> updated: <%= link_to t('nlt.messages'), messages_list_path %> <|file_sep|>app/views/users/_tabnav.html.erb.diff original: <%= link_to_unless request.fullpath =~ /\/profile\//, ...
357205c5d049b7dc36b5a75d6364ba511b5cf4ad
app/views/users/_tabnav.html.erb
app/views/users/_tabnav.html.erb
HTML+ERB
<|file_sep|>original/lib/ideas.rb require "ideas/version" require "ideas/models/feature" require "ideas/models/feature_set" require "ideas/models/idea" require "ideas/scopes/root_scope" require "ideas/scopes/idea_scope" require "ideas/scopes/feature_scope" require "ideas/helpers" require "ideas/loader" <|file_sep|>...
Dir[File.expand_path('../**/*.rb', __FILE__)].each{ |f| require f }
<|file_sep|>original/lib/ideas.rb require "ideas/version" require "ideas/models/feature" require "ideas/models/feature_set" require "ideas/models/idea" require "ideas/scopes/root_scope" require "ideas/scopes/idea_scope" require "ideas/scopes/feature_scope" require "ideas/helpers" require "ideas/loader" <|file_sep|>...
c1dbeceb74020ac89e0ce77d86e6d49ff8d53ddb
lib/ideas.rb
lib/ideas.rb
Ruby
<|file_sep|>original/.travis.yml install: npm install script: npm run-script ci-test language: node_js node_js: - "0.10" <|file_sep|>current/.travis.yml install: npm install script: npm run-script ci-test language: node_js node_js: - "0.10" <|file_sep|>updated/.travis.yml
install: npm install script: npm run-script ci-test language: node_js node_js: - "0.10" env: global: # NPM_KEY - secure: aOHRXELamyzmgttmZszXZER7w4XNrXHvuE4bFB/s3jWs9pk/z4DG72y+33KQN8e+IOcqCgoVmIqV1CnARJCZHh4VkqW1qPTQpKLHDKGf4v1O2wJDM/+DUhVRig+OU2ehZj/xkvnUn05tZ1ptlYlof3Xhb5ads4sVX30INmIgpxw= # NPM Deploy d...
<|file_sep|>original/.travis.yml install: npm install script: npm run-script ci-test language: node_js node_js: - "0.10" <|file_sep|>current/.travis.yml install: npm install script: npm run-script ci-test language: node_js node_js: - "0.10" <|file_sep|>updated/.travis.yml install: npm install script: npm run-script ci-...
bf1c77c9e705ab26d33f14c93c9bf275256f4a4f
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: env: global: MAINRUN=true matrix: - UNDERSCORE=1.4.4 BACKBONE=1.0 - UNDERSCORE=1.5 BACKBONE=1.0 - UNDERSCORE=1.7 BACKBONE=1.1 - UNDERSCORE=1.7 BACKBONE=1.0 - UNDERSCORE=1.6 BACKBONE=1.0 - UNDERSCORE=1.4.4 BACKBONE=1.1.0 - UNDERSCORE=1.5 BA...
matrix: - UNDERSCORE=1.4.4 BACKBONE=1.0 - UNDERSCORE=1.5 BACKBONE=1.0 - UNDERSCORE=1.7 BACKBONE=1.1 - UNDERSCORE=1.7 BACKBONE=1.0 - UNDERSCORE=1.6 BACKBONE=1.0 - UNDERSCORE=1.4.4 BACKBONE=1.1.0 - UNDERSCORE=1.5 BACKBONE=1.1 - LODASH=2.4 BACKBONE=1.1 - LODASH=3.0 BACKBONE=1.1 - ...
<|file_sep|>.travis.yml.diff original: updated: env: global: MAINRUN=true matrix: - UNDERSCORE=1.4.4 BACKBONE=1.0 - UNDERSCORE=1.5 BACKBONE=1.0 - UNDERSCORE=1.7 BACKBONE=1.1 - UNDERSCORE=1.7 BACKBONE=1.0 - UNDERSCORE=1.6 BACKBONE=1.0 - UNDERSCORE=1.4.4 BACKBONE=1.1.0 - UNDERSCORE=1.5 BA...
88debc2aaab3cc372bfbbe5df11eea12a6dde133
.travis.yml
.travis.yml
YAML
<|file_sep|>original/rasterfairy/__init__.py #!/usr/bin/env python # -*- coding: utf-8 -*- """Top-level module for RasterFairy""" from rasterfairy import * from coonswarp import * from rfoptimizer import * from images2gif import * <|file_sep|>current/rasterfairy/__init__.py #!/usr/bin/env python # -*- coding: utf-8 -...
#!/usr/bin/env python # -*- coding: utf-8 -*- """Top-level module for RasterFairy""" from .rasterfairy import * from .coonswarp import * from .rfoptimizer import * # from images2gif import *
<|file_sep|>original/rasterfairy/__init__.py #!/usr/bin/env python # -*- coding: utf-8 -*- """Top-level module for RasterFairy""" from rasterfairy import * from coonswarp import * from rfoptimizer import * from images2gif import * <|file_sep|>current/rasterfairy/__init__.py #!/usr/bin/env python # -*- coding: utf-8 -...
4e3eeba94423399411a763487411b097c4c7972e
rasterfairy/__init__.py
rasterfairy/__init__.py
Python
<|file_sep|>original/test/enum.ts t.throws(() => (l.color = "Blue" as any), /Error while converting `"Blue"` to `Color`/) }) test("should support anonymous enums", t => { const TrafficLight = types.model({ color: types.enumeration(["Red", "Orange", "Green"]) }) const l = TrafficLight.create({ ...
t.throws(() => (l.color = "Blue" as any), /Error while converting `"Blue"` to `Color`/) }) test("should support anonymous enums", t => { const TrafficLight = types.model({ color: types.enumeration(["Red", "Orange", "Green"]) }) const l = TrafficLight.create({ color: "Orange" }) ...
<|file_sep|>original/test/enum.ts t.throws(() => (l.color = "Blue" as any), /Error while converting `"Blue"` to `Color`/) }) test("should support anonymous enums", t => { const TrafficLight = types.model({ color: types.enumeration(["Red", "Orange", "Green"]) }) const l = TrafficLight.create({ ...
48954be484e41a6720fe4bdf139da4d3d292fd21
test/enum.ts
test/enum.ts
TypeScript
<|file_sep|>original/_data/schedule_2014-2015_rub4_4.yml <|file_sep|>current/_data/schedule_2014-2015_rub4_4.yml <|file_sep|>updated/_data/schedule_2014-2015_rub4_4.yml
- date: to 27.11. title: Aloitus, kurssin teemat - date: ma 1.12 title: Del 1 - text 1 - date: ke 3.12. title: Del 1 - text 1 other: lue kotona verbit be-göra(utgöra) - date: to 4.12. title: Del 2 - text 2 uutena grammar: apuverbit - date: ma 8.12. title: Del 2 - Kärlek (s. 40-43) grammar: apuverbit - d...
<|file_sep|>original/_data/schedule_2014-2015_rub4_4.yml <|file_sep|>current/_data/schedule_2014-2015_rub4_4.yml <|file_sep|>updated/_data/schedule_2014-2015_rub4_4.yml - date: to 27.11. title: Aloitus, kurssin teemat - date: ma 1.12 title: Del 1 - text 1 - date: ke 3.12. title: Del 1 - text 1 other: lue koto...
9f7ca44f345d7f5127408ad94dbbc2cc00b77973
_data/schedule_2014-2015_rub4_4.yml
_data/schedule_2014-2015_rub4_4.yml
YAML
<|file_sep|>prettyplotlib/_eventplot.py.diff original: updated: alpha = kwargs.pop('alpha', 1.0) <|file_sep|>original/prettyplotlib/_eventplot.py def eventplot(*args, **kwargs): ax, args, kwargs = maybe_get_ax(*args, **kwargs) show_ticks = kwargs.pop('show_ticks', False) if len(args) > 0: po...
def eventplot(*args, **kwargs): ax, args, kwargs = maybe_get_ax(*args, **kwargs) show_ticks = kwargs.pop('show_ticks', False) alpha = kwargs.pop('alpha', 1.0) if len(args) > 0: positions = args[0] else: positions = kwargs['positions'] if any(iterable(p) for p in positions): ...
<|file_sep|>prettyplotlib/_eventplot.py.diff original: updated: alpha = kwargs.pop('alpha', 1.0) <|file_sep|>original/prettyplotlib/_eventplot.py def eventplot(*args, **kwargs): ax, args, kwargs = maybe_get_ax(*args, **kwargs) show_ticks = kwargs.pop('show_ticks', False) if len(args) > 0: po...
670227590ceaf6eb52d56809f8bcc1b1f6ae6f7f
prettyplotlib/_eventplot.py
prettyplotlib/_eventplot.py
Python
<|file_sep|>original/tests/test_pathutils.py try: from libsass import pathutils except ImportError: from sublime_libsass.libsass import pathutils class TestPathutils(TestCase): def test_subpaths(self): path = join('/foo','bar','baz') exprmt = pathutils.subpaths(path) expect = [ joi...
try: from libsass import pathutils except ImportError: from sublime_libsass.libsass import pathutils class TestPathutils(TestCase): def test_subpaths(self): path = join('/foo','bar','baz') exprmt = pathutils.subpaths(path) expect = [ join('/foo','bar','baz'), join('/foo','bar'), jo...
<|file_sep|>original/tests/test_pathutils.py try: from libsass import pathutils except ImportError: from sublime_libsass.libsass import pathutils class TestPathutils(TestCase): def test_subpaths(self): path = join('/foo','bar','baz') exprmt = pathutils.subpaths(path) expect = [ joi...
ebd9842569201ce0e87827c2031c28c51159c472
tests/test_pathutils.py
tests/test_pathutils.py
Python
<|file_sep|>original/test/test_all.dart library test.event_emitter; import 'event_emitter_test.dart' as event_emitter_test; import 'event_emitter_with_event_objects_test.dart' as event_objects_test; import 'event_handlers_as_classes_test.dart' as event_handlers_test; import 'package:test/test.dart'; void main () { ...
library test.event_emitter; import './event_emitter_test.dart' as event_emitter_test; import './event_emitter_with_event_objects_test.dart' as event_objects_test; import './event_handlers_as_classes_test.dart' as event_handlers_test; import 'package:test/test.dart'; void main () { group('[Event emitter]', event_e...
<|file_sep|>original/test/test_all.dart library test.event_emitter; import 'event_emitter_test.dart' as event_emitter_test; import 'event_emitter_with_event_objects_test.dart' as event_objects_test; import 'event_handlers_as_classes_test.dart' as event_handlers_test; import 'package:test/test.dart'; void main () { ...
9a9bc2624935423c299405a93111e7744934b16c
test/test_all.dart
test/test_all.dart
Dart
<|file_sep|>recipes/smmap2/meta.yaml.diff original: {% set version = "2.0.2" %} updated: {% set version = "2.0.3" %} <|file_sep|>original/recipes/smmap2/meta.yaml {% set name = "smmap2" %} {% set version = "2.0.2" %} package: name: {{ name }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz ...
{% set name = "smmap2" %} {% set version = "2.0.3" %} package: name: {{ name }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: c7530db63f15f09f8251094b22091298e82bf6c699a6b8344aaaef3f2e1...
<|file_sep|>recipes/smmap2/meta.yaml.diff original: {% set version = "2.0.2" %} updated: {% set version = "2.0.3" %} <|file_sep|>original/recipes/smmap2/meta.yaml {% set name = "smmap2" %} {% set version = "2.0.2" %} package: name: {{ name }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz ...
425c48856fef71dc1b74199bede7de97ec3e4394
recipes/smmap2/meta.yaml
recipes/smmap2/meta.yaml
YAML
<|file_sep|>_sections/sponsors.md.diff original: - name: CommitChange logo: commitchange.svg url: commitchange.com updated: - name: Bakesale Betty logo: bakesalebetty.gif url: bakesalebetty <|file_sep|>_sections/sponsors.md.diff original: - name: The D/Style Network updated: - name: Coder Camps ...
url: overlandoakland.com type: other - name: Bakesale Betty logo: bakesalebetty.gif url: bakesalebetty type: headliner - name: Coder Camps logo: dstyle.svg url: codercamps.com type: headliner - name: Beer Revolution logo: beerrev.png url: beer-revolution.com t...
<|file_sep|>_sections/sponsors.md.diff original: - name: CommitChange logo: commitchange.svg url: commitchange.com updated: - name: Bakesale Betty logo: bakesalebetty.gif url: bakesalebetty <|file_sep|>_sections/sponsors.md.diff original: - name: The D/Style Network updated: - name: Coder Camps ...
669540aaef0a7cae55ce0d1d2f7b0e5afc781022
_sections/sponsors.md
_sections/sponsors.md
Markdown
<|file_sep|>original/config/boot.rb require 'rubygems' # Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) <|file_sep|>current/config/boot.rb require 'rubygems' # Set up gems listed in the Gemfile. E...
require 'rubygems' require 'yaml' YAML::ENGINE.yamler= 'syck' # Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
<|file_sep|>original/config/boot.rb require 'rubygems' # Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) <|file_sep|>current/config/boot.rb require 'rubygems' # Set up gems listed in the Gemfile. E...
d804525fe77ece19baa8c729546ea2c3ea0439f9
config/boot.rb
config/boot.rb
Ruby
<|file_sep|>original/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SequentialNumber.java <|file_sep|>current/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SequentialNumber.java <|file_sep|>updated/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
<|file_sep|>original/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SequentialNumber.java <|file_sep|>current/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SequentialNumber.java <|file_sep|>updated/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop...
0af8890b1ad4599668722bc3f9f326bc4cbfe608
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SequentialNumber.java
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SequentialNumber.java
Java
<|file_sep|>.travis.yml.diff original: updated: - 7.0 <|file_sep|>original/.travis.yml - sudo apt-get purge riak - sudo curl https://packagecloud.io/install/repositories/basho/riak/script.deb | sudo bash - sudo apt-get install riak=2.0.0-1 - sudo sed -i -e "s/search = off/search = on/g" /etc/riak/r...
- sudo sed -i -e "s/search = off/search = on/g" /etc/riak/riak.conf - sudo sed -i -e "s/storage_backend = .*/storage_backend = memory/g" /etc/riak/riak.conf - sudo service riak start - composer self-update - composer --prefer-source install before_script: - ./tests/travis/setup-riak.sh script:...
<|file_sep|>.travis.yml.diff original: updated: - 7.0 <|file_sep|>original/.travis.yml - sudo apt-get purge riak - sudo curl https://packagecloud.io/install/repositories/basho/riak/script.deb | sudo bash - sudo apt-get install riak=2.0.0-1 - sudo sed -i -e "s/search = off/search = on/g" /etc/riak/r...
0ef68f879fe0c49749740a8936da8982fe57ac8e
.travis.yml
.travis.yml
YAML
<|file_sep|>countBob.py.diff original: """ Q7- Assume s is a string of lower case characters. Write a program that updated: """ Q7- Assume s is a string of lower case characters. Write a program that <|file_sep|>countBob.py.diff original: updated: <|file_sep|>original/countBob.py def countBob( string ): count = 0 ...
""" def countBob( string ): count = 0 start = 0 while string.find( "bob" ) != -1: start = string.find( "bob" ) # Finds the first character where the substring "bob" first appears. # Strings are immutable. Hence, we store the new string by slicing the existing string from position start + 1 to the last pos...
<|file_sep|>countBob.py.diff original: """ Q7- Assume s is a string of lower case characters. Write a program that updated: """ Q7- Assume s is a string of lower case characters. Write a program that <|file_sep|>countBob.py.diff original: updated: <|file_sep|>original/countBob.py def countBob( string ): count = 0 ...
e543a6e12f34dfdde4f55630fcd1514d7622e0ee
countBob.py
countBob.py
Python
<|file_sep|>.travis.yml.diff original: updated: osx_image: - beta-xcode6.3 - xcode6.4 - xcode7 <|file_sep|>original/.travis.yml sudo: false language: objective-c before_install: - brew update install: - mkdir -p $(brew --repo)/Library/Taps/travis - ln -s $PWD $(brew --repo)/Library/Taps/travis/homebrew-testta...
sudo: false language: objective-c osx_image: - beta-xcode6.3 - xcode6.4 - xcode7 before_install: - brew update install: - mkdir -p $(brew --repo)/Library/Taps/travis - ln -s $PWD $(brew --repo)/Library/Taps/travis/homebrew-testtap - brew tap --repair - gem install rubocop --no-document script: - rubocop ...
<|file_sep|>.travis.yml.diff original: updated: osx_image: - beta-xcode6.3 - xcode6.4 - xcode7 <|file_sep|>original/.travis.yml sudo: false language: objective-c before_install: - brew update install: - mkdir -p $(brew --repo)/Library/Taps/travis - ln -s $PWD $(brew --repo)/Library/Taps/travis/homebrew-testta...
1296f7e01f3851cfc9f2395f3c7c6c102f1d0ac9
.travis.yml
.travis.yml
YAML
<|file_sep|>saleor/static/dashboard-next/hooks/useBulkActions.ts.diff original: import { maybe } from "../misc"; updated: <|file_sep|>original/saleor/static/dashboard-next/hooks/useBulkActions.ts import { useEffect } from "react"; import { maybe } from "../misc"; import useListSelector from "./useListSelector"; inte...
import { useEffect } from "react"; import useListSelector from "./useListSelector"; interface ConnectionNode { id: string; } function useBulkActions(list: ConnectionNode[]) { const listSelectorFuncs = useListSelector(); useEffect(() => listSelectorFuncs.reset, [list === undefined, list === null]); return lis...
<|file_sep|>saleor/static/dashboard-next/hooks/useBulkActions.ts.diff original: import { maybe } from "../misc"; updated: <|file_sep|>original/saleor/static/dashboard-next/hooks/useBulkActions.ts import { useEffect } from "react"; import { maybe } from "../misc"; import useListSelector from "./useListSelector"; inte...
dfb41165a989b798c7840d30cebe8b26ba9929c0
saleor/static/dashboard-next/hooks/useBulkActions.ts
saleor/static/dashboard-next/hooks/useBulkActions.ts
TypeScript
<|file_sep|>original/ca_on_niagara/people.py from __future__ import unicode_literals from utils import CSVScraper COUNCIL_PAGE = 'http://www.niagararegion.ca/test/sherpa-list-to-csv.aspx?list=council-elected-officials-csv' class NiagaraPersonScraper(CSVScraper): csv_url = 'http://www.niagararegion.ca/test/sherpa...
from __future__ import unicode_literals from utils import CSVScraper COUNCIL_PAGE = 'http://www.niagararegion.ca/test/sherpa-list-to-csv.aspx?list=council-elected-officials-csv' class NiagaraPersonScraper(CSVScraper): # The new data file: # * has underscores in headers # * yses "District_ID" instead of "...
<|file_sep|>original/ca_on_niagara/people.py from __future__ import unicode_literals from utils import CSVScraper COUNCIL_PAGE = 'http://www.niagararegion.ca/test/sherpa-list-to-csv.aspx?list=council-elected-officials-csv' class NiagaraPersonScraper(CSVScraper): csv_url = 'http://www.niagararegion.ca/test/sherpa...
94aec9e4a6501e875dbd6b59df57598f742a82da
ca_on_niagara/people.py
ca_on_niagara/people.py
Python
<|file_sep|>original/php/terminus.php <?php // Can be used by plugins/themes to check if Terminus is running or not define( 'Terminus', true ); define( 'TERMINUS_VERSION', '0.3.0-beta' ); date_default_timezone_set('UTC'); include TERMINUS_ROOT . '/php/utils.php'; include TERMINUS_ROOT . '/php/login.php'; include TERMI...
<?php // Can be used by plugins/themes to check if Terminus is running or not define( 'Terminus', true ); define( 'TERMINUS_VERSION', '0.3.1-beta' ); date_default_timezone_set('UTC'); include TERMINUS_ROOT . '/php/utils.php'; include TERMINUS_ROOT . '/php/login.php'; include TERMINUS_ROOT . '/php/FileCache.php'; inclu...
<|file_sep|>original/php/terminus.php <?php // Can be used by plugins/themes to check if Terminus is running or not define( 'Terminus', true ); define( 'TERMINUS_VERSION', '0.3.0-beta' ); date_default_timezone_set('UTC'); include TERMINUS_ROOT . '/php/utils.php'; include TERMINUS_ROOT . '/php/login.php'; include TERMI...
ff0a5b4d37394d47d60a65fafa1413dc51aecf4a
php/terminus.php
php/terminus.php
PHP
<|file_sep|>original/src/Utilities/project.json "Microsoft.NETCore": "5.0.1", "Microsoft.NETCore.Portable.Compatibility": "1.0.1", "System.Runtime.Extensions": "4.1.0", "System.Runtime.Serialization.Xml": "4.1.1", "System.Collections.NonGeneric": "4.0.1", "System.Console"...
"Microsoft.NETCore": "5.0.1", "Microsoft.NETCore.Portable.Compatibility": "1.0.1", "System.Runtime.Extensions": "4.1.0", "System.Runtime.Serialization.Xml": "4.1.1", "System.Collections.NonGeneric": "4.0.1", "System.Console": "4.0.0", "System.Runtime.InteropServic...
<|file_sep|>original/src/Utilities/project.json "Microsoft.NETCore": "5.0.1", "Microsoft.NETCore.Portable.Compatibility": "1.0.1", "System.Runtime.Extensions": "4.1.0", "System.Runtime.Serialization.Xml": "4.1.1", "System.Collections.NonGeneric": "4.0.1", "System.Console"...
cd424414ff50cacae280eec35771d314044c5857
src/Utilities/project.json
src/Utilities/project.json
JSON
<|file_sep|>original/LICENSE.txt The MIT License (MIT) Copyright (c) 2016 Nexmo, Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to...
The MIT License (MIT) Copyright (c) 2016-2018 Nexmo, Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
<|file_sep|>original/LICENSE.txt The MIT License (MIT) Copyright (c) 2016 Nexmo, Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to...
6092040beaedcd7e9fbe011cee5cbe6c858f132c
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>original/lib/sass_spec.rb require 'rubygems/version' module SassSpec SPEC_DIR = File.expand_path('../../spec', __FILE__) LANGUAGE_VERSIONS = %w( 3.5 3.6 4.0 ) MIN_LANGUAGE_VERSION = Gem::Version.new(LANGUAGE_VERSIONS.first) MAX_LANGUAGE_VERSION = Gem::Version.new(LANGUAGE_VERSIONS.las...
require 'rubygems/version' module SassSpec SPEC_DIR = File.expand_path('../../spec', __FILE__) LANGUAGE_VERSIONS = %w( 3.5 3.6 3.7 4.0 ) MIN_LANGUAGE_VERSION = Gem::Version.new(LANGUAGE_VERSIONS.first) MAX_LANGUAGE_VERSION = Gem::Version.new(LANGUAGE_VERSIONS.last) end require_relative 'sass...
<|file_sep|>original/lib/sass_spec.rb require 'rubygems/version' module SassSpec SPEC_DIR = File.expand_path('../../spec', __FILE__) LANGUAGE_VERSIONS = %w( 3.5 3.6 4.0 ) MIN_LANGUAGE_VERSION = Gem::Version.new(LANGUAGE_VERSIONS.first) MAX_LANGUAGE_VERSION = Gem::Version.new(LANGUAGE_VERSIONS.las...
1c16ab795e3ed0229a8b2b052835a9ee1841e765
lib/sass_spec.rb
lib/sass_spec.rb
Ruby
<|file_sep|>mopidy/__init__.py.diff original: import os updated: <|file_sep|>mopidy/__init__.py.diff original: updated: from subprocess import PIPE, Popen <|file_sep|>mopidy/__init__.py.diff original: def is_in_git_repo(): git_dir = os.path.abspath(os.path.join( os.path.dirname(__file__), '../.git')) ...
if version.startswith('v'): version = version[1:] return version def get_plain_version(): return '.'.join(map(str, VERSION)) def get_version(): try: return get_git_version() except Exception: return get_plain_version() class MopidyException(Exception): def __init__(sel...
<|file_sep|>mopidy/__init__.py.diff original: import os updated: <|file_sep|>mopidy/__init__.py.diff original: updated: from subprocess import PIPE, Popen <|file_sep|>mopidy/__init__.py.diff original: def is_in_git_repo(): git_dir = os.path.abspath(os.path.join( os.path.dirname(__file__), '../.git')) ...
242f27f943a107bf7dd2a472f08a71a8382f6467
mopidy/__init__.py
mopidy/__init__.py
Python
<|file_sep|>original/src/APIBundle/Controller/InjectTypeController.php */ public function getInjectTypesAction(Request $request) { $logger = $this->get('logger'); $contracts = array(); try { $url = $this->getParameter('worker_url') . '/cxf/contracts'; $contr...
*/ public function getInjectTypesAction(Request $request) { $logger = $this->get('logger'); $contracts = array(); try { $url = $this->getParameter('worker_url') . '/cxf/contracts'; $contracts = json_decode(file_get_contents($url), true); } catch (\Ex...
<|file_sep|>original/src/APIBundle/Controller/InjectTypeController.php */ public function getInjectTypesAction(Request $request) { $logger = $this->get('logger'); $contracts = array(); try { $url = $this->getParameter('worker_url') . '/cxf/contracts'; $contr...
996c8e0369a955360e585f3b58476eb381974abd
src/APIBundle/Controller/InjectTypeController.php
src/APIBundle/Controller/InjectTypeController.php
PHP
<|file_sep|>original/bootstrap.sh #!/bin/bash set -e set -x add-apt-repository ppa:openjdk-r/ppa apt-get update apt-get install -y wget openjdk-7-jdk openjdk-8-jdk TOMCAT_7=7.0.61 TOMCAT_8=8.0.21 mkdir -p /opt/tomcat cd /opt/tomcat wget https://archive.apache.org/dist/tomcat/tomcat-7/v$TOMCAT_7/bin/apache-tomcat-$...
#!/bin/bash set -e set -x add-apt-repository ppa:openjdk-r/ppa apt-get update apt-get install -y --force-yes wget openjdk-7-jdk openjdk-8-jdk TOMCAT_7=7.0.61 TOMCAT_8=8.0.21 mkdir -p /opt/tomcat cd /opt/tomcat wget https://archive.apache.org/dist/tomcat/tomcat-7/v$TOMCAT_7/bin/apache-tomcat-$TOMCAT_7.tar.gz tar -x...
<|file_sep|>original/bootstrap.sh #!/bin/bash set -e set -x add-apt-repository ppa:openjdk-r/ppa apt-get update apt-get install -y wget openjdk-7-jdk openjdk-8-jdk TOMCAT_7=7.0.61 TOMCAT_8=8.0.21 mkdir -p /opt/tomcat cd /opt/tomcat wget https://archive.apache.org/dist/tomcat/tomcat-7/v$TOMCAT_7/bin/apache-tomcat-$...
acc9fd02a5d127a4af9885fcf325657249275074
bootstrap.sh
bootstrap.sh
Shell
<|file_sep|>original/src/load.js const fs = require('fs') const dsl = require('./dsl') const vm = require('vm') const sandbox = Object.assign({ module, require }, global, dsl) vm.createContext(sandbox, { name: 'PureSpec' }) module.exports = (file) => { return vm.runInContext( fs.readFileSync(file, 'utf8'), ...
const fs = require('fs') const dsl = require('./dsl') const vm = require('vm') const sandbox = Object.assign({ module }, dsl) vm.createContext(sandbox, { name: 'PureSpec' }) module.exports = (file) => { return vm.runInContext( fs.readFileSync(file, 'utf8'), sandbox, { filename: file } ) }
<|file_sep|>original/src/load.js const fs = require('fs') const dsl = require('./dsl') const vm = require('vm') const sandbox = Object.assign({ module, require }, global, dsl) vm.createContext(sandbox, { name: 'PureSpec' }) module.exports = (file) => { return vm.runInContext( fs.readFileSync(file, 'utf8'), ...
20524eb9471450662ae03f72fba41a3cc988ebf7
src/load.js
src/load.js
JavaScript
<|file_sep|>.travis.yml.diff original: # apply-refact doesn't compile with GHC head updated: # apply-refact doesn't compile with GHC head or 8.10 <|file_sep|>original/.travis.yml - env: GHCVER=8.8 - env: GHCVER=8.10 - env: GHCVER=head - os: osx script: - export HLINT_ARGUMENTS=src # - export UNIPLATE_VERBOSE=-...
- env: GHCVER=8.8 - env: GHCVER=8.10 - env: GHCVER=head - os: osx script: - export HLINT_ARGUMENTS=src # - export UNIPLATE_VERBOSE=-1 # apply-refact doesn't compile with GHC head or 8.10 # if you are using ghc-exactprint-0.6.3 you get a compile error - "[ \"$GHCVER\" = \"head\" ] || [ \"$GHCVER\" = \"8.10\" ] ...
<|file_sep|>.travis.yml.diff original: # apply-refact doesn't compile with GHC head updated: # apply-refact doesn't compile with GHC head or 8.10 <|file_sep|>original/.travis.yml - env: GHCVER=8.8 - env: GHCVER=8.10 - env: GHCVER=head - os: osx script: - export HLINT_ARGUMENTS=src # - export UNIPLATE_VERBOSE=-...
62693b66c1ca60d8aa6a5ad52d662d43196966ff
.travis.yml
.travis.yml
YAML
<|file_sep|>original/SwabContentBlocker/blockerList.json [ { "action": { "type": "block" }, "trigger": { "url-filter": "https?://connect.decknetwork.net" } } ] <|file_sep|>current/SwabContentBlocker/blockerList.json [ { "action": { ...
[ { "action": { "type": "block" }, "trigger": { "url-filter": "https?://connect.decknetwork.net--WARNING_REMOVE" } } ]
<|file_sep|>original/SwabContentBlocker/blockerList.json [ { "action": { "type": "block" }, "trigger": { "url-filter": "https?://connect.decknetwork.net" } } ] <|file_sep|>current/SwabContentBlocker/blockerList.json [ { "action": { ...
84ca5618f677692bd4fd5fb72fcce5b5277210b4
SwabContentBlocker/blockerList.json
SwabContentBlocker/blockerList.json
JSON
<|file_sep|>original/codecheck-requirements.txt -r docs/requirements.txt flake8==4.0.1 pylint==2.11.1 pytype==2021.11.2 <|file_sep|>current/codecheck-requirements.txt -r docs/requirements.txt flake8==4.0.1 pylint==2.11.1 pytype==2021.11.2 <|file_sep|>updated/codecheck-requirements.txt
-r docs/requirements.txt flake8==4.0.1 pylint==2.11.1 pytype==2021.11.12
<|file_sep|>original/codecheck-requirements.txt -r docs/requirements.txt flake8==4.0.1 pylint==2.11.1 pytype==2021.11.2 <|file_sep|>current/codecheck-requirements.txt -r docs/requirements.txt flake8==4.0.1 pylint==2.11.1 pytype==2021.11.2 <|file_sep|>updated/codecheck-requirements.txt -r docs/requirements.txt flake8==4...
1b541f1b7f6cd4070ff04b72ca51c36002b1375c
codecheck-requirements.txt
codecheck-requirements.txt
Text
<|file_sep|>original/setup.py from distutils.core import setup import os packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')] if bytes is str: raise Exception("This module is designed for python 3 only. Please install a...
if bytes is str: raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.") setup( name='cle', description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in m...
<|file_sep|>original/setup.py from distutils.core import setup import os packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')] if bytes is str: raise Exception("This module is designed for python 3 only. Please install a...
14a706fe52d3bc316fc5d3a130824b7353e9efed
setup.py
setup.py
Python
<|file_sep|>.travis.yml.diff original: - "3.2" updated: <|file_sep|>original/.travis.yml language: python # TODO: https://docs.travis-ci.com/user/multi-os/ python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "nightly" - "pypy" - "pypy3" install: - pip install coveralls script: nosetests after_success...
language: python # TODO: https://docs.travis-ci.com/user/multi-os/ python: - "2.7" - "3.3" - "3.4" - "3.5" - "nightly" - "pypy" - "pypy3" install: - pip install coveralls script: nosetests after_success: coveralls sudo: false matrix: allow_failures: - python: nightly
<|file_sep|>.travis.yml.diff original: - "3.2" updated: <|file_sep|>original/.travis.yml language: python # TODO: https://docs.travis-ci.com/user/multi-os/ python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "nightly" - "pypy" - "pypy3" install: - pip install coveralls script: nosetests after_success...
3a724aa22d20e3e3e9ec311d36787a440435ac55
.travis.yml
.travis.yml
YAML
<|file_sep|>original/appveyor.yml #- "c:\\sr" # stack root, short paths == fewer problems build: off before_test: # http://help.appveyor.com/discussions/problems/6312-curl-command-not-found - set PATH=C:\Program Files\Git\mingw64\bin;%PATH% - curl -sS -ostack.zip -L --insecure https://get.haskellstack.org/stable/win...
build: off before_test: # http://help.appveyor.com/discussions/problems/6312-curl-command-not-found - set PATH=C:\Program Files\Git\mingw64\bin;%PATH% - curl -sS -ostack.zip -L --insecure https://get.haskellstack.org/stable/windows-i386.zip - 7z x stack.zip stack.exe clone_folder: "c:\\stack" environment: global:...
<|file_sep|>original/appveyor.yml #- "c:\\sr" # stack root, short paths == fewer problems build: off before_test: # http://help.appveyor.com/discussions/problems/6312-curl-command-not-found - set PATH=C:\Program Files\Git\mingw64\bin;%PATH% - curl -sS -ostack.zip -L --insecure https://get.haskellstack.org/stable/win...
4447feea665303ed456a7f78727b723fa5d6610b
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/app/components/Editor/VRComp.jsx import React, { Component } from 'react' import { withRouter } from 'react-router-dom' import firebase from 'APP/fire' class VRComp extends Component { popUp= () => { window.open(`../VR component/VRindex.html?${this.props.obj}?${this.props.mtl}`) } render...
import React, { Component } from 'react' import { withRouter } from 'react-router-dom' import firebase from 'APP/fire' class VRComp extends Component { popUp= () => { window.open(`../../../VR component/VRindex.html?${this.props.obj}?${this.props.mtl}`) } render() { return ( <div className = 'VR-sli...
<|file_sep|>original/app/components/Editor/VRComp.jsx import React, { Component } from 'react' import { withRouter } from 'react-router-dom' import firebase from 'APP/fire' class VRComp extends Component { popUp= () => { window.open(`../VR component/VRindex.html?${this.props.obj}?${this.props.mtl}`) } render...
cfd2e4a52226532b067b9bbec132690b11b80d60
app/components/Editor/VRComp.jsx
app/components/Editor/VRComp.jsx
JSX
<|file_sep|>original/src/search/searchresults.js * * @disable-docs */ const SearchResults = ( page ) => { return ( <div className="container-fluid au-body"> <div className="row"> <div className="col-xs-12 searchresults__list"> <h2 className="au-display-xxl">{ page.heading }</h2> <p><span id...
* * @disable-docs */ const SearchResults = ( page ) => { return ( <div className="container-fluid au-body"> <div className="row"> <div className="col-xs-12 searchresults__list"> <h2 className="au-display-xxl">{ page.heading }</h2> <p><span id="searchresults__count" /> results for <span id="...
<|file_sep|>original/src/search/searchresults.js * * @disable-docs */ const SearchResults = ( page ) => { return ( <div className="container-fluid au-body"> <div className="row"> <div className="col-xs-12 searchresults__list"> <h2 className="au-display-xxl">{ page.heading }</h2> <p><span id...
768796723d6d887f5366965d51cf3e3eecbe9896
src/search/searchresults.js
src/search/searchresults.js
JavaScript
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.6) project(MOZART) set(CMAKE_CXX_FLAGS "-Wall -std=c++0x -O3") add_subdirectory(vm) <|file_sep|>current/CMakeLists.txt cmake_minimum_required(VERSION 2.6) project(MOZART) set(CMAKE_CXX_FLAGS "-Wall -std=c++0x -O3") add_subdirectory(vm) <|file_sep|...
cmake_minimum_required(VERSION 2.6) project(MOZART) set(CMAKE_CXX_FLAGS "-Wall -std=c++0x -O3 -DNDEBUG") add_subdirectory(vm)
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.6) project(MOZART) set(CMAKE_CXX_FLAGS "-Wall -std=c++0x -O3") add_subdirectory(vm) <|file_sep|>current/CMakeLists.txt cmake_minimum_required(VERSION 2.6) project(MOZART) set(CMAKE_CXX_FLAGS "-Wall -std=c++0x -O3") add_subdirectory(vm) <|file_sep|...
4299105a1f424221d96697d29361c37d94e93fd6
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/README.md - Decompress the archive in the `plugins` folder or - Create a folder **plugins/SmsTwoFactor** - Copy all files under this directory Documentation ------------- ### Configure Twilio in Kanboard 1. Go to **Settings > Integrations > SMS Two-Factor Authentication** 2. Enter the Twilio A...
- Decompress the archive in the `plugins` folder or - Create a folder **plugins/SmsTwoFactor** - Copy all files under this directory Documentation ------------- ### Configure Twilio API in Kanboard ![Twilio Settings](https://cloud.githubusercontent.com/assets/323546/12133114/2a89e684-b3f0-11e5-8486-cbbf9edc7c4a.pn...
<|file_sep|>original/README.md - Decompress the archive in the `plugins` folder or - Create a folder **plugins/SmsTwoFactor** - Copy all files under this directory Documentation ------------- ### Configure Twilio in Kanboard 1. Go to **Settings > Integrations > SMS Two-Factor Authentication** 2. Enter the Twilio A...
b714bd63fb80ea99a76c80c2a9835ab8e04e0855
README.md
README.md
Markdown
<|file_sep|>original/docs/sources/NOTES.md <|file_sep|>current/docs/sources/NOTES.md <|file_sep|>updated/docs/sources/NOTES.md
________________________________________________________________________ This file is part of Logtalk <https://logtalk.org/> Copyright 1998-2018 Paulo Moura <pmoura@logtalk.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may o...
<|file_sep|>original/docs/sources/NOTES.md <|file_sep|>current/docs/sources/NOTES.md <|file_sep|>updated/docs/sources/NOTES.md ________________________________________________________________________ This file is part of Logtalk <https://logtalk.org/> Copyright 1998-2018 Paulo Moura <pmoura@logtalk.org> Licensed ...
ce2406e3229c0c6cc7b7225966b3923641692183
docs/sources/NOTES.md
docs/sources/NOTES.md
Markdown
<|file_sep|>original/language/el_GR/theme.lang.php <|file_sep|>current/language/el_GR/theme.lang.php <|file_sep|>updated/language/el_GR/theme.lang.php
<?php // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ // | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | // | C...
<|file_sep|>original/language/el_GR/theme.lang.php <|file_sep|>current/language/el_GR/theme.lang.php <|file_sep|>updated/language/el_GR/theme.lang.php <?php // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +---...
116821521383a6e780ee1ab146f18a5b19526087
language/el_GR/theme.lang.php
language/el_GR/theme.lang.php
PHP
<|file_sep|>original/config/engine-commit-template.txt <backend | restapi | cli | gwt | wpf | tools | history | engine | userportal | webadmin>: short summary under 50 chars (#xxxxxx) https://bugzilla.redhat.com/XXXXXX Longer description using lines' length under 72 chars. With multiple paragraphs if necessary. Ack...
<backend | restapi | cli | gwt | wpf | tools | history | engine | userportal | webadmin>: short summary under 50 chars (#xxxxxx) https://bugzilla.redhat.com/XXXXXX Longer description using lines' length under 72 chars. With multiple paragraphs if necessary.
<|file_sep|>original/config/engine-commit-template.txt <backend | restapi | cli | gwt | wpf | tools | history | engine | userportal | webadmin>: short summary under 50 chars (#xxxxxx) https://bugzilla.redhat.com/XXXXXX Longer description using lines' length under 72 chars. With multiple paragraphs if necessary. Ack...
2dc05b91fa25e56dc4a96a074c73b96714a8fa9a
config/engine-commit-template.txt
config/engine-commit-template.txt
Text
<|file_sep|>.travis.yml.diff original: updated: dist: precise <|file_sep|>original/.travis.yml language: groovy jdk: - openjdk7 - oraclejdk8 env: global: - GRADLE_OPTS="-Xmx1024m" install: - JAVA_HOME=$(jdk_switcher home openjdk8) ./gradlew classes testClasses script: - ./gradlew check uploadArchives -...
language: groovy dist: precise jdk: - openjdk7 - oraclejdk8 env: global: - GRADLE_OPTS="-Xmx1024m" script: - ./gradlew check uploadArchives --full-stacktrace - cd samples/example && ./gradlew clean webResourceCompile --full-stacktrace && cd ../../ after_success: - ./gradlew coveralls --full-stacktrace
<|file_sep|>.travis.yml.diff original: updated: dist: precise <|file_sep|>original/.travis.yml language: groovy jdk: - openjdk7 - oraclejdk8 env: global: - GRADLE_OPTS="-Xmx1024m" install: - JAVA_HOME=$(jdk_switcher home openjdk8) ./gradlew classes testClasses script: - ./gradlew check uploadArchives -...
da174be56bbac82c0bf7d8b5aa5d4486b5a1c98e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/client/app/scripts/charts/node-shape-stack.js const propsNoHighlight = dissoc(props, 'highlighted'); const propsOnlyHighlight = Object.assign({}, props, {onlyHighlight: true}); const Shape = props.shape; const [dx, dy] = [0, 4]; const dsx = (props.size * 2 + (dx * 2)) / (props.size * 2);...
const propsNoHighlight = dissoc(props, 'highlighted'); const propsOnlyHighlight = Object.assign({}, props, {onlyHighlight: true}); const Shape = props.shape; const [dx, dy] = [0, 4]; const dsx = (props.size * 2 + (dx * 2)) / (props.size * 2); const dsy = (props.size * 2 + (dy * 2)) / (props.size * 2); co...
<|file_sep|>original/client/app/scripts/charts/node-shape-stack.js const propsNoHighlight = dissoc(props, 'highlighted'); const propsOnlyHighlight = Object.assign({}, props, {onlyHighlight: true}); const Shape = props.shape; const [dx, dy] = [0, 4]; const dsx = (props.size * 2 + (dx * 2)) / (props.size * 2);...
36e6b2e4a8d19df7a843d45c66723cacdc66b936
client/app/scripts/charts/node-shape-stack.js
client/app/scripts/charts/node-shape-stack.js
JavaScript
<|file_sep|>original/src/org/bitbucket/mlopatkin/android/logviewer/ToolTippedCellRenderer.java @Override protected void setValue(Object value) { this.setToolTipText(formatStringToWidth(value.toString())); super.setValue(value); } private static final int MAX_WIDTH = Configur...
@Override protected void setValue(Object value) { this.setToolTipText(formatStringToWidth(value.toString())); super.setValue(value); } private static final int MAX_WIDTH = Configuration.ui.tooltipMaxWidth(); private static String formatStringToWidth(String src) { ...
<|file_sep|>original/src/org/bitbucket/mlopatkin/android/logviewer/ToolTippedCellRenderer.java @Override protected void setValue(Object value) { this.setToolTipText(formatStringToWidth(value.toString())); super.setValue(value); } private static final int MAX_WIDTH = Configur...
e1b7029b261f7c68ddb444b91ec0ae16eca22bf0
src/org/bitbucket/mlopatkin/android/logviewer/ToolTippedCellRenderer.java
src/org/bitbucket/mlopatkin/android/logviewer/ToolTippedCellRenderer.java
Java
<|file_sep|>original/README.md # Firefox UX Style Guide You probably want to go [here](https://FirefoxUX.github.io/StyleGuide/) Requires: * npm version: 3.5.3 * node version: 5.3.0 To run (with hot-reloading!): ``` $ npm install $ npm run serve ``` To build: ``` $ npm install $ npm run build ``` Pull requests welc...
# Firefox UX Style Guide [![Build Status](https://travis-ci.org/FirefoxUX/StyleGuide.svg?branch=master)](https://travis-ci.org/FirefoxUX/StyleGuide) You probably want to go [here](https://FirefoxUX.github.io/StyleGuide/) Requires: * npm version: 3.5.3 * node version: 5.3.0 To run (with hot-reloading!): ``` $ npm in...
<|file_sep|>original/README.md # Firefox UX Style Guide You probably want to go [here](https://FirefoxUX.github.io/StyleGuide/) Requires: * npm version: 3.5.3 * node version: 5.3.0 To run (with hot-reloading!): ``` $ npm install $ npm run serve ``` To build: ``` $ npm install $ npm run build ``` Pull requests welc...
a9eebd2b4b743b9c19de016d501f558fbcec9813
README.md
README.md
Markdown
<|file_sep|>original/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-310_B000.sql <|file_sep|>current/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-310_B000.sql <|file_sep|>updated/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-310_B000.sql
INSERT INTO NOTIFICATION_TYPE (NOTIFICATION_TYPE_ID, MODULE_CODE, ACTION_CODE, DESCRIPTION, SUBJECT, MESSAGE, PROMPT_USER, SEND_NOTIFICATION, UPDATE_USER, UPDATE_TIMESTAMP, VER_NBR, OBJ_ID) VALUES (SEQ_NOTIFICATION_TYPE_ID.NEXTVAL, (SELECT MODULE_CODE FROM COEUS_MODULE WHERE DESCRIPTION='IACUC Protocol'),'117','...
<|file_sep|>original/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-310_B000.sql <|file_sep|>current/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-310_B000.sql <|file_sep|>updated/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-310_B000.sql INSERT INTO NOTIFICATION_TYPE (NOTIFICATION_TYPE_ID, MOD...
fcced6844aa9e6cc64a77194c1ec8fe8c6c5a765
src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-310_B000.sql
src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-310_B000.sql
SQL
<|file_sep|>.travis.yml.diff original: updated: before_install: - sudo add-apt-repository ppa:masterminds/glide -y - sudo apt-get update -q - sudo apt-get install glide -y - mkdir -p $GOPATH/bin <|file_sep|>original/.travis.yml sudo: required language: go go: - '1.7' install: - go get -v github.com/Masterm...
sudo: required language: go go: - '1.7' before_install: - sudo add-apt-repository ppa:masterminds/glide -y - sudo apt-get update -q - sudo apt-get install glide -y - mkdir -p $GOPATH/bin install: - glide install script: - make
<|file_sep|>.travis.yml.diff original: updated: before_install: - sudo add-apt-repository ppa:masterminds/glide -y - sudo apt-get update -q - sudo apt-get install glide -y - mkdir -p $GOPATH/bin <|file_sep|>original/.travis.yml sudo: required language: go go: - '1.7' install: - go get -v github.com/Masterm...
9cc1a83089f8814156d676a0dd5b38b173fe82e9
.travis.yml
.travis.yml
YAML
<|file_sep|>src/org/irmacard/cardemu/selfenrol/mno/MockupSubscriberDatabase.java.diff original: private Map<String, SubscriberInfo> subscriberDatabase = null; private SimpleDateFormat iso = null; updated: private Map<String, SubscriberInfo> subscriberDatabase = new HashMap<String, SubscriberInfo>(); p...
import java.text.SimpleDateFormat; import java.util.HashMap; import java.util.Map; public class MockupSubscriberDatabase implements SubscriberDatabase { private Map<String, SubscriberInfo> subscriberDatabase = new HashMap<String, SubscriberInfo>(); private SimpleDateFormat iso = new SimpleDateFormat ("yyyyMMd...
<|file_sep|>src/org/irmacard/cardemu/selfenrol/mno/MockupSubscriberDatabase.java.diff original: private Map<String, SubscriberInfo> subscriberDatabase = null; private SimpleDateFormat iso = null; updated: private Map<String, SubscriberInfo> subscriberDatabase = new HashMap<String, SubscriberInfo>(); p...
e0cbf7d384d9bfa2a14fdb75d9a086886ec1b681
src/org/irmacard/cardemu/selfenrol/mno/MockupSubscriberDatabase.java
src/org/irmacard/cardemu/selfenrol/mno/MockupSubscriberDatabase.java
Java
<|file_sep|>original/requirements_dev.txt # # Requirements for wger during development only # # Regular packages -r requirements.txt # Building/installing wheel==0.37.1 # for ingredient import script from OFF pymongo==4.0.1 # Development packages coverage==6.3 django-debug-toolbar==3.2.4 tblib==1.7.0 isort==5.10.1 ...
# # Requirements for wger during development only # # Regular packages -r requirements.txt # Building/installing wheel==0.37.1 # for ingredient import script from OFF pymongo==4.0.1 # Development packages coverage==6.3.1 django-debug-toolbar==3.2.4 tblib==1.7.0 isort==5.10.1
<|file_sep|>original/requirements_dev.txt # # Requirements for wger during development only # # Regular packages -r requirements.txt # Building/installing wheel==0.37.1 # for ingredient import script from OFF pymongo==4.0.1 # Development packages coverage==6.3 django-debug-toolbar==3.2.4 tblib==1.7.0 isort==5.10.1 ...
b7fc00de2bcf8469a57aae62ee8fc0ce5e02dc79
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/clients/4caca.sh <|file_sep|>current/clients/4caca.sh <|file_sep|>updated/clients/4caca.sh
#!/usr/bin/env zsh # Simple inetd-able ANSI image streamer using the JSON-formatted # stream from fountain.hakase.org. # # requires img2txt from libcaca / caca-utils # and jq. BOARD=$1 curl --compressed -s http://fountain.hakase.org/v1/$BOARD/json |\ while read -r line; do if [[ -n "$line" ]]; then (jq -r 'sele...
<|file_sep|>original/clients/4caca.sh <|file_sep|>current/clients/4caca.sh <|file_sep|>updated/clients/4caca.sh #!/usr/bin/env zsh # Simple inetd-able ANSI image streamer using the JSON-formatted # stream from fountain.hakase.org. # # requires img2txt from libcaca / caca-utils # and jq. BOARD=$1 curl --compressed -...
09c90a55352ddd6ada971106f46d14f856960b8a
clients/4caca.sh
clients/4caca.sh
Shell
<|file_sep|>recipes/stellar/build.sh.diff original: BINARY_HOME=$PREFIX/bin PKG_HOME=$PREFIX/opt/$PKG_NAME-$PKG_VERSION updated: <|file_sep|>recipes/stellar/build.sh.diff original: mkdir -p $PKG_HOME updated: <|file_sep|>original/recipes/stellar/build.sh #!/bin/bash BINARY_HOME=$PREFIX/bin PKG_HOME=$PREFIX/opt/$PKG...
#!/bin/bash cd $SRC_DIR/bin binaries="\ stellar \ " mkdir -p $PREFIX/bin for i in $binaries; do cp $SRC_DIR/bin/$i $PREFIX/bin/$i && chmod a+x $PREFIX/bin/$i; done
<|file_sep|>recipes/stellar/build.sh.diff original: BINARY_HOME=$PREFIX/bin PKG_HOME=$PREFIX/opt/$PKG_NAME-$PKG_VERSION updated: <|file_sep|>recipes/stellar/build.sh.diff original: mkdir -p $PKG_HOME updated: <|file_sep|>original/recipes/stellar/build.sh #!/bin/bash BINARY_HOME=$PREFIX/bin PKG_HOME=$PREFIX/opt/$PKG...
117f9726710b4407d3f5e204bf339f6cfa1ee198
recipes/stellar/build.sh
recipes/stellar/build.sh
Shell
<|file_sep|>original/nginx/containerbuddy.json { "consul": "consul:8500", "onStart": [ "consul-template", "-once", "-consul", "consul:8500", "-template", "/etc/containerbuddy/nginx.conf.ctmpl:/etc/nginx/nginx.conf:nginx -s reload" ], "services": [ { "name": "nginx", "port": 80, "in...
{ "consul": "consul:8500", "onStart": [ "consul-template", "-once", "-consul", "consul:8500", "-template", "/etc/containerbuddy/nginx.conf.ctmpl:/etc/nginx/nginx.conf" ], "services": [ { "name": "nginx", "port": 80, "interfaces": ["eth1", "eth0"], "health": "/usr/bin/curl --f...
<|file_sep|>original/nginx/containerbuddy.json { "consul": "consul:8500", "onStart": [ "consul-template", "-once", "-consul", "consul:8500", "-template", "/etc/containerbuddy/nginx.conf.ctmpl:/etc/nginx/nginx.conf:nginx -s reload" ], "services": [ { "name": "nginx", "port": 80, "in...
fd3ba85251d37b82f4fac840f31fab7bd361d444
nginx/containerbuddy.json
nginx/containerbuddy.json
JSON
<|file_sep|>lib/main.js.diff original: updated: var { Cc, Ci } = require("chrome"); <|file_sep|>lib/main.js.diff original: updated: var notifications = require("notifications"); var lastQPress = 0; <|file_sep|>original/lib/main.js // Define keyboard shortcuts for showing and hiding a custom panel. var { Hotkey } =...
// Define keyboard shortcuts for showing and hiding a custom panel. var { Cc, Ci } = require("chrome"); var { Hotkey } = require("hotkeys"); var notifications = require("notifications"); var lastQPress = 0; var showHotKey = Hotkey({ combo: "accel-meta-q", onPress: function() { // TODO: Make delay configurable...
<|file_sep|>lib/main.js.diff original: updated: var { Cc, Ci } = require("chrome"); <|file_sep|>lib/main.js.diff original: updated: var notifications = require("notifications"); var lastQPress = 0; <|file_sep|>original/lib/main.js // Define keyboard shortcuts for showing and hiding a custom panel. var { Hotkey } =...
fc4a755c1739f5940799e834643a0a4c26c19dbf
lib/main.js
lib/main.js
JavaScript
<|file_sep|>original/lmj/sim/base.py '''Base classes for simulations.''' class World(object): '''World is a small base class for simulation worlds.''' def needs_reset(self): '''Return True iff the world needs to be reset.''' return False def reset(self): '''Reset the world state....
'''World is a small base class for simulation worlds.''' def needs_reset(self): '''Return True iff the world needs to be reset.''' return False def reset(self): '''Reset the world state.''' pass def trace(self): '''Return a string containing world state for lat...
<|file_sep|>original/lmj/sim/base.py '''Base classes for simulations.''' class World(object): '''World is a small base class for simulation worlds.''' def needs_reset(self): '''Return True iff the world needs to be reset.''' return False def reset(self): '''Reset the world state....
2db81321de1c506d6b61d8851de9ad4794deba3e
lmj/sim/base.py
lmj/sim/base.py
Python