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/custom/openclinica/models.py <|file_sep|>current/custom/openclinica/models.py <|file_sep|>updated/custom/openclinica/models.py
from collections import defaultdict from corehq.apps.users.models import CouchUser from custom.openclinica.const import AUDIT_LOGS from custom.openclinica.utils import ( OpenClinicaIntegrationError, is_item_group_repeating, is_study_event_repeating, get_item_measurement_unit, get_question_item, ...
<|file_sep|>original/custom/openclinica/models.py <|file_sep|>current/custom/openclinica/models.py <|file_sep|>updated/custom/openclinica/models.py from collections import defaultdict from corehq.apps.users.models import CouchUser from custom.openclinica.const import AUDIT_LOGS from custom.openclinica.utils import ( ...
25a4c9ba978aef7f648904c654fcc044f429acd4
custom/openclinica/models.py
custom/openclinica/models.py
Python
<|file_sep|>.travis.yml.diff original: - '5.5' updated: <|file_sep|>.travis.yml.diff original: - hhvm updated: - '7.1' - '7.2' <|file_sep|>original/.travis.yml php: - '5.5' - '5.6' - '7.0' - hhvm before_script: - travis_retry curl -s http://getcomposer.org/installer | php - tr...
language: php sudo: false php: - '5.6' - '7.0' - '7.1' - '7.2' before_script: - travis_retry curl -s http://getcomposer.org/installer | php - travis_retry php composer.phar install - mkdir -p build/logs script: - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script...
<|file_sep|>.travis.yml.diff original: - '5.5' updated: <|file_sep|>.travis.yml.diff original: - hhvm updated: - '7.1' - '7.2' <|file_sep|>original/.travis.yml php: - '5.5' - '5.6' - '7.0' - hhvm before_script: - travis_retry curl -s http://getcomposer.org/installer | php - tr...
8b7e442ef6f2198b743475732107354b1ed25e83
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/app/default-view.component.scss // default-view :host { height: 100%; display: block; margin: 0; } <|file_sep|>current/src/app/default-view.component.scss // default-view :host { height: 100%; display: block; margin: 0; } <|file_sep|>updated/src/app/default-view.component.scss
@import '../assets/styles/variables.scss'; :host { height: 100%; display: block; margin: 0; }
<|file_sep|>original/src/app/default-view.component.scss // default-view :host { height: 100%; display: block; margin: 0; } <|file_sep|>current/src/app/default-view.component.scss // default-view :host { height: 100%; display: block; margin: 0; } <|file_sep|>updated/src/app/default-view.component.scss @im...
9e30902e8263ce251dccbb95c94310e251a68b68
src/app/default-view.component.scss
src/app/default-view.component.scss
SCSS
<|file_sep|>original/files/sublimetext/preferences.txt "color_scheme": "Packages/User/Tomorrow_Night (SublimePythonIDE).tmTheme", "ensure_newline_at_eof_on_save": true, "font_options": [ "gray_antialias" ], "font_size": 10, "ignored_packages": [ "Vintage" ], "line...
"ensure_newline_at_eof_on_save": true, "font_options": [ "gray_antialias" ], "font_size": 10, "ignored_packages": [ "Vintage" ], "line_padding_bottom": 3, "line_padding_top": 3, "overlay_scroll_bars": "enabled", "tab_size": 4, "theme": "Material-Theme-...
<|file_sep|>original/files/sublimetext/preferences.txt "color_scheme": "Packages/User/Tomorrow_Night (SublimePythonIDE).tmTheme", "ensure_newline_at_eof_on_save": true, "font_options": [ "gray_antialias" ], "font_size": 10, "ignored_packages": [ "Vintage" ], "line...
7269519607729737e6be1b91f493a93a85adb4f3
files/sublimetext/preferences.txt
files/sublimetext/preferences.txt
Text
<|file_sep|>.travis.yml.diff original: - 1.8.7 - ree - 1.9.2 updated: <|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - ree - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0
<|file_sep|>.travis.yml.diff original: - 1.8.7 - ree - 1.9.2 updated: <|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - ree - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 <|file_sep|>updated/.travis.yml language: ruby r...
b297d0b56c9e82be8fd79625ee36372f20b5dcf6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/froide/publicbody/templates/publicbody/snippets/publicbody_item.html <|file_sep|>current/froide/publicbody/templates/publicbody/snippets/publicbody_item.html <|file_sep|>updated/froide/publicbody/templates/publicbody/snippets/publicbody_item.html
{% load i18n %} <div class="iconed-item clearfix"> <div class="iconed-icon"> <img src="{{ STATIC_URL }}img/topics/{{ object.topic_slug }}.png" alt="{{ object.topic_auto }}" title="{{ object.topic_auto }}"/> </div> <div class="iconed-description"> <a href="{% if object.get_absolute_url %}{{ object.get_abso...
<|file_sep|>original/froide/publicbody/templates/publicbody/snippets/publicbody_item.html <|file_sep|>current/froide/publicbody/templates/publicbody/snippets/publicbody_item.html <|file_sep|>updated/froide/publicbody/templates/publicbody/snippets/publicbody_item.html {% load i18n %} <div class="iconed-item clearfix">...
4c92844cc7c93bde69c357b9f511a45b7f00dc60
froide/publicbody/templates/publicbody/snippets/publicbody_item.html
froide/publicbody/templates/publicbody/snippets/publicbody_item.html
HTML
<|file_sep|>original/spec/firebase_id_token/certificates_spec.rb <|file_sep|>current/spec/firebase_id_token/certificates_spec.rb <|file_sep|>updated/spec/firebase_id_token/certificates_spec.rb
require 'spec_helper' module FirebaseIdToken describe Certificates do describe '#download' do it 'downloads public keys when it have not yet' do end it 'does not downloads public keys when it have already downloaded' do end end describe '#download!' do it 'always downloads...
<|file_sep|>original/spec/firebase_id_token/certificates_spec.rb <|file_sep|>current/spec/firebase_id_token/certificates_spec.rb <|file_sep|>updated/spec/firebase_id_token/certificates_spec.rb require 'spec_helper' module FirebaseIdToken describe Certificates do describe '#download' do it 'downloads publ...
2cac83cf9f38fb8c0ad041ff6d94ab5888e03470
spec/firebase_id_token/certificates_spec.rb
spec/firebase_id_token/certificates_spec.rb
Ruby
<|file_sep|>original/.travis.yml - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary before_install: - export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH - "npm config set spin false" - "npm install -g npm@^...
- EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary before_install: - export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g b...
<|file_sep|>original/.travis.yml - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary before_install: - export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH - "npm config set spin false" - "npm install -g npm@^...
ea12398de74fc11530f76892f9126334323403e0
.travis.yml
.travis.yml
YAML
<|file_sep|>jquality/src/test/groovy/io/gitlab/arturbosch/smartsmells/api/MetricFacadeTest.groovy.diff original: updated: import java.util.concurrent.Executors <|file_sep|>original/jquality/src/test/groovy/io/gitlab/arturbosch/smartsmells/api/MetricFacadeTest.groovy /** * @author Artur Bosch */ class MetricFacadeT...
import java.util.concurrent.Executors /** * @author Artur Bosch */ class MetricFacadeTest extends Specification { def "run metric facade on dummies"() { given: "metric facade" def facade = new MetricFacade(Executors.newSingleThreadExecutor()) when: "running facade with metric processor" def result = facad...
<|file_sep|>jquality/src/test/groovy/io/gitlab/arturbosch/smartsmells/api/MetricFacadeTest.groovy.diff original: updated: import java.util.concurrent.Executors <|file_sep|>original/jquality/src/test/groovy/io/gitlab/arturbosch/smartsmells/api/MetricFacadeTest.groovy /** * @author Artur Bosch */ class MetricFacadeT...
1d5f48fb3fcc4a111744b33f3f94b03d8783c726
jquality/src/test/groovy/io/gitlab/arturbosch/smartsmells/api/MetricFacadeTest.groovy
jquality/src/test/groovy/io/gitlab/arturbosch/smartsmells/api/MetricFacadeTest.groovy
Groovy
<|file_sep|>original/requirements.txt aiohttp==3.7.4 aiosqlite==0.17.0 discord.py==1.7.3 feedparser==6.0.8 flake8==3.8.3 html2text==2020.1.16 in-place==0.5.0 mypy==0.950 pylint==1.6.5 python-dateutil==2.8.2 pytz==2022.1 requests==2.27.1 six==1.15.0 urllib3==1.26.9 ws4py==0.5.1 <|file_sep|>current/requirements.txt aioht...
aiohttp==3.7.4 aiosqlite==0.17.0 discord.py==1.7.3 feedparser==6.0.8 flake8==3.8.3 html2text==2020.1.16 in-place==0.5.0 mypy==0.950 pylint==2.13.7 python-dateutil==2.8.2 pytz==2022.1 requests==2.27.1 six==1.15.0 urllib3==1.26.9 ws4py==0.5.1
<|file_sep|>original/requirements.txt aiohttp==3.7.4 aiosqlite==0.17.0 discord.py==1.7.3 feedparser==6.0.8 flake8==3.8.3 html2text==2020.1.16 in-place==0.5.0 mypy==0.950 pylint==1.6.5 python-dateutil==2.8.2 pytz==2022.1 requests==2.27.1 six==1.15.0 urllib3==1.26.9 ws4py==0.5.1 <|file_sep|>current/requirements.txt aioht...
4f225e40bbe87bba776c66e77880aeac2ae11a6c
requirements.txt
requirements.txt
Text
<|file_sep|>lib/pgquilter/topic.rb.diff original: # 1. Look for '(was $subject) and normalize subject instead # 2. Strip '[HACKERS]' # 3. Replace \W with '-' updated: <|file_sep|>original/lib/pgquilter/topic.rb module PGQuilter class Topic < Sequel::Model one_to_many :patchsets SUBJECT_WA...
module PGQuilter class Topic < Sequel::Model one_to_many :patchsets SUBJECT_WAS_RE = /.*\(\s*was:?\s*([^)]+)\s*\)/ def self.for_subject(subject) normalized_subject = self.normalize(subject) Topic.find_or_create(name: normalized_subject) end def self.normalize(subject) if subj...
<|file_sep|>lib/pgquilter/topic.rb.diff original: # 1. Look for '(was $subject) and normalize subject instead # 2. Strip '[HACKERS]' # 3. Replace \W with '-' updated: <|file_sep|>original/lib/pgquilter/topic.rb module PGQuilter class Topic < Sequel::Model one_to_many :patchsets SUBJECT_WA...
279cca196a4f3938d9b8180d25eaf3545cb3bcfa
lib/pgquilter/topic.rb
lib/pgquilter/topic.rb
Ruby
<|file_sep|>original/Haxe/Externs/Common/unreal/AController_Extra.hx @:thisConst public function GetPawn() : APawn; public function ChangeState(newState:FName) : Void; @:thisConst public function IsInState(state:FName) : Bool; @:thisConst public function GetStateName() : FName; /** * Called from g...
@:thisConst public function GetPawn() : APawn; public function ChangeState(newState:FName) : Void; @:thisConst public function IsInState(state:FName) : Bool; @:thisConst public function GetStateName() : FName; /** spawns and initializes the PlayerState for this Controller */ public function InitPla...
<|file_sep|>original/Haxe/Externs/Common/unreal/AController_Extra.hx @:thisConst public function GetPawn() : APawn; public function ChangeState(newState:FName) : Void; @:thisConst public function IsInState(state:FName) : Bool; @:thisConst public function GetStateName() : FName; /** * Called from g...
a13a5756b3894e3f7188c4abca9ce08584ae21b1
Haxe/Externs/Common/unreal/AController_Extra.hx
Haxe/Externs/Common/unreal/AController_Extra.hx
Haxe
<|file_sep|>package.json.diff original: "version": "0.4.0", updated: "version": "0.4.1", <|file_sep|>original/package.json { "name": "hubiquitus-qos", "version": "0.4.0", "repository": { "type": "git", "url": "https://git@github.com:hubiquitus-addons/hubiquitus-qos" }, "dependencies": { "comma...
{ "name": "hubiquitus-qos", "version": "0.4.1", "repository": { "type": "git", "url": "https://git@github.com:hubiquitus-addons/hubiquitus-qos" }, "dependencies": { "commander": "2.1.*", "hubiquitus-core": "0.8.*", "tv4": "1.2.*", "lodash": "4.5.*", "mongodb": "1.4.*" }, "main"...
<|file_sep|>package.json.diff original: "version": "0.4.0", updated: "version": "0.4.1", <|file_sep|>original/package.json { "name": "hubiquitus-qos", "version": "0.4.0", "repository": { "type": "git", "url": "https://git@github.com:hubiquitus-addons/hubiquitus-qos" }, "dependencies": { "comma...
e71e225593ebd37920ade151ee1fb4fc08ca2e18
package.json
package.json
JSON
<|file_sep|>project.clj.diff original: [org.clojure/test.check "0.6.2"]] updated: ] <|file_sep|>original/project.clj :description "Orion's Belt battle rules" :url "https://github.com/orionsbelt-battlegrounds/obb-rules" :license {:name "The MIT License" :url ...
:url "https://github.com/orionsbelt-battlegrounds/obb-rules" :license {:name "The MIT License" :url "file://LICENSE" :distribution :repo :comments "Copyright 2011-2014 Pedro Santos All Rights Reserved."} :dependencies [[org.clojure/clojure "1.6.0"] ...
<|file_sep|>project.clj.diff original: [org.clojure/test.check "0.6.2"]] updated: ] <|file_sep|>original/project.clj :description "Orion's Belt battle rules" :url "https://github.com/orionsbelt-battlegrounds/obb-rules" :license {:name "The MIT License" :url ...
04965341ee629385ad100f9672f339c928cae661
project.clj
project.clj
Clojure
<|file_sep|>docs/networking.md.diff original: To determine the NodePort for your service, you can use a `kubectl` command like this: updated: To determine the NodePort for your service, you can use a `kubectl` command like this (note that `nodePort` begins with lowercase `n` in JSON output): <|file_sep|>original/docs/n...
## Networking The minikube VM is exposed to the host system via a host-only IP address, that can be obtained with the `minikube ip` command. Any services of type `NodePort` can be accessed over that IP address, on the NodePort. To determine the NodePort for your service, you can use a `kubectl` command like this (not...
<|file_sep|>docs/networking.md.diff original: To determine the NodePort for your service, you can use a `kubectl` command like this: updated: To determine the NodePort for your service, you can use a `kubectl` command like this (note that `nodePort` begins with lowercase `n` in JSON output): <|file_sep|>original/docs/n...
aadeb9656be6224a5d2a12b405ff8e394f70e240
docs/networking.md
docs/networking.md
Markdown
<|file_sep|>pom.yml.diff original: artifactId: noop-compiler updated: artifactId: noop-interpreter <|file_sep|>pom.yml.diff original: name: Noop - Compiler description: The Compiler/Parser for the Noop Language updated: name: Noop - Interpreter description: The Parser/Interpreter for the Noop Language <|file_sep|>pom.y...
name: Noop - Interpreter description: The Parser/Interpreter for the Noop Language dependencies: - { groupId: org.antlr, artifactId: antlr, version: 3.0.1 } - { groupId: org.scala-lang, artifactId: scala-library, version: 2.7.5 } - { groupId: org.scala-tools.testing, artifactId: scalatest, version: 0.9.5, scope: ...
<|file_sep|>pom.yml.diff original: artifactId: noop-compiler updated: artifactId: noop-interpreter <|file_sep|>pom.yml.diff original: name: Noop - Compiler description: The Compiler/Parser for the Noop Language updated: name: Noop - Interpreter description: The Parser/Interpreter for the Noop Language <|file_sep|>pom.y...
bc9b573c64a64dfa5be43dac83cea0ba0a81fd1d
pom.yml
pom.yml
YAML
<|file_sep|>original/x2_export/educators_export.sql STF_ID_STATE, STF_ID_LOCAL, stf_name_view, STF_STAFF_TYPE, STF_HOMEROOM, STF_STATUS, USR_LOGIN_NAME, SKL_SCHOOL_ID FROM staff INNER JOIN school ON staff.STF_SKL_OID=school.SKL_OID INNER JOIN person ON staff.STF_PSN_OID=person.PSN_OID INNER JOIN use...
SELECT STF_ID_STATE, STF_ID_LOCAL, stf_name_view, STF_STAFF_TYPE, STF_HOMEROOM, STF_STATUS, USR_LOGIN_NAME, SKL_SCHOOL_ID FROM staff INNER JOIN school ON staff.STF_SKL_OID=school.SKL_OID INNER JOIN person ON staff.STF_PSN_OID=person.PSN_OID INNER JOIN user_info ON person.PSN_OID=user_info.USR_PSN_...
<|file_sep|>original/x2_export/educators_export.sql STF_ID_STATE, STF_ID_LOCAL, stf_name_view, STF_STAFF_TYPE, STF_HOMEROOM, STF_STATUS, USR_LOGIN_NAME, SKL_SCHOOL_ID FROM staff INNER JOIN school ON staff.STF_SKL_OID=school.SKL_OID INNER JOIN person ON staff.STF_PSN_OID=person.PSN_OID INNER JOIN use...
2c1172450764c4d80eb389c243ba1b9004ea5771
x2_export/educators_export.sql
x2_export/educators_export.sql
SQL
<|file_sep|>versions.properties.diff original: version.junit.junit=4.13-beta-3 ## # available=4.13 updated: version.junit.junit=4.13 <|file_sep|>original/versions.properties plugin.com.github.spotbugs=4.0.5 plugin.org.danilopianini.git-sensitive-semantic-versioning=0.1.0 plugin.org.danilopianini.javadoc.io-link...
## Please, don't put extra comments in that file yet, keeping them is not supported yet. plugin.com.github.spotbugs=4.0.5 plugin.org.danilopianini.git-sensitive-semantic-versioning=0.1.0 plugin.org.danilopianini.javadoc.io-linker=0.1.4 plugin.org.danilopianini.publish-on-central=0.2.0 plugin.org.jlleitschuh.gradle...
<|file_sep|>versions.properties.diff original: version.junit.junit=4.13-beta-3 ## # available=4.13 updated: version.junit.junit=4.13 <|file_sep|>original/versions.properties plugin.com.github.spotbugs=4.0.5 plugin.org.danilopianini.git-sensitive-semantic-versioning=0.1.0 plugin.org.danilopianini.javadoc.io-link...
da014620e36f91e5323198134d06c63dad714c73
versions.properties
versions.properties
INI
<|file_sep|>original/doc/README.md <|file_sep|>current/doc/README.md <|file_sep|>updated/doc/README.md
Generating Documentation ======================== The main project README and man page are automatically generated based on the contents of: * readme_header.md * dssh.1.md Pandoc is required to update the documentation. Use 'make docs' to generate.
<|file_sep|>original/doc/README.md <|file_sep|>current/doc/README.md <|file_sep|>updated/doc/README.md Generating Documentation ======================== The main project README and man page are automatically generated based on the contents of: * readme_header.md * dssh.1.md Pandoc is required to update the document...
e3b3204c337399a52d780c68825d4d353c0d325f
doc/README.md
doc/README.md
Markdown
<|file_sep|>original/buildfs/buildfs.go // Package buildfs allows plugging a VFS into a go/build.Context. package buildfs import ( "go/build" "io" "path" "path/filepath" "strings" "vfs" ) const ( separator = "/" ) // Setup configures a *build.Context to use the given VFS // as its filesystem. func Setup(ctx *...
// Package buildfs allows plugging a VFS into a go/build.Context. package buildfs import ( "go/build" "io" "path" "path/filepath" "strings" "github.com/rainycape/vfs" ) const ( separator = "/" ) // Setup configures a *build.Context to use the given VFS // as its filesystem. func Setup(ctx *build.Context, fs ...
<|file_sep|>original/buildfs/buildfs.go // Package buildfs allows plugging a VFS into a go/build.Context. package buildfs import ( "go/build" "io" "path" "path/filepath" "strings" "vfs" ) const ( separator = "/" ) // Setup configures a *build.Context to use the given VFS // as its filesystem. func Setup(ctx *...
5f480bd2f22ef537d6c218038fd380b36db5446f
buildfs/buildfs.go
buildfs/buildfs.go
Go
<|file_sep|>original/lib/vagrant-vbguest/installers/oracle.rb module VagrantVbguest module Installers class Oracle < RedHat def self.match?(vm) :redhat == self.distro(vm) && communicate_to(vm).test('test -f /etc/oracle-release') end protected def dependencies [...
class Oracle < RedHat def self.match?(vm) :redhat == self.distro(vm) && communicate_to(vm).test('test -f /etc/oracle-release') end protected def dependencies [ 'kernel-`uname -a | grep -q "uek." && echo "uek-"`devel-`uname -r`', 'gcc', ...
<|file_sep|>original/lib/vagrant-vbguest/installers/oracle.rb module VagrantVbguest module Installers class Oracle < RedHat def self.match?(vm) :redhat == self.distro(vm) && communicate_to(vm).test('test -f /etc/oracle-release') end protected def dependencies [...
6f5a7d699b3b18b22905788fd98903e7276551bc
lib/vagrant-vbguest/installers/oracle.rb
lib/vagrant-vbguest/installers/oracle.rb
Ruby
<|file_sep|>original/app/Nova/Metrics/CreateReasonBreakdown.php case 'cas_login': return 'CAS login'; case 'factory': return 'Database\Factories\UserFactory'; case 'nova_action': return 'Nova action'; ...
case 'cas_login': return 'CAS login'; case 'factory': return 'Database\Factories\UserFactory'; case 'nova_action': return 'Nova action'; case 'attendance': return 'Attendance';...
<|file_sep|>original/app/Nova/Metrics/CreateReasonBreakdown.php case 'cas_login': return 'CAS login'; case 'factory': return 'Database\Factories\UserFactory'; case 'nova_action': return 'Nova action'; ...
29356f691ba782f196e1abdd5127be12af1ae580
app/Nova/Metrics/CreateReasonBreakdown.php
app/Nova/Metrics/CreateReasonBreakdown.php
PHP
<|file_sep|>spec/integration/tab_completion_spec.rb.diff original: expect(gitsh).to output_no_errors updated: <|file_sep|>spec/integration/tab_completion_spec.rb.diff original: gitsh.type("br\t") updated: gitsh.type("bra\t") <|file_sep|>original/spec/integration/tab_completion_spec.rb gitsh.typ...
gitsh.type("checko\t -b my-feature") expect(gitsh).to prompt_with 'my-feature@ ' gitsh.type("com\t --allow-empty -m 'Some commit'") expect(gitsh).to output /Some commit/ gitsh.type("bra\t") expect(gitsh).to output /my-feature/ end end it 'completes branch names' do ...
<|file_sep|>spec/integration/tab_completion_spec.rb.diff original: expect(gitsh).to output_no_errors updated: <|file_sep|>spec/integration/tab_completion_spec.rb.diff original: gitsh.type("br\t") updated: gitsh.type("bra\t") <|file_sep|>original/spec/integration/tab_completion_spec.rb gitsh.typ...
ad31760d08550f38efc37f22318af08d8f67efea
spec/integration/tab_completion_spec.rb
spec/integration/tab_completion_spec.rb
Ruby
<|file_sep|>original/isitup/main.py def check(url): try: response = requests.get( "https://isitup.org/{0}.json".format(url), headers={'User-Agent': 'https://github.com/lord63/isitup'}) except requests.exceptions.ConnectionError: return ("A network problem(e.g. you're of...
def check(url): try: response = requests.get( "https://isitup.org/{0}.json".format(url), headers={'User-Agent': 'https://github.com/lord63/isitup'}) except requests.exceptions.ConnectionError: return ("A network problem(e.g. you're offline; refused connection)," ...
<|file_sep|>original/isitup/main.py def check(url): try: response = requests.get( "https://isitup.org/{0}.json".format(url), headers={'User-Agent': 'https://github.com/lord63/isitup'}) except requests.exceptions.ConnectionError: return ("A network problem(e.g. you're of...
078a4d36c1dc088937b242ca63b88b4c03f33fa0
isitup/main.py
isitup/main.py
Python
<|file_sep|>original/source/assets/stylesheets/locastyle/base/_base.sass .ls-main padding-top: $heightTopbar margin-left: 0 z-index: 2 overflow: auto -webkit-overflow-scrolling: touch -moz-overflow-scrolling: touch overflow-scrolling: touch height: calc(100% - $heightTopbar) background-color: #f7f7f7 ...
.ls-main padding-top: $heightTopbar margin-left: 0 z-index: 2 -webkit-overflow-scrolling: touch -moz-overflow-scrolling: touch overflow-scrolling: touch height: calc(100% - $heightTopbar) background-color: #f7f7f7 position: relative z-index: 3 +single-transition(all, .5s) +translate(0, 0) .si...
<|file_sep|>original/source/assets/stylesheets/locastyle/base/_base.sass .ls-main padding-top: $heightTopbar margin-left: 0 z-index: 2 overflow: auto -webkit-overflow-scrolling: touch -moz-overflow-scrolling: touch overflow-scrolling: touch height: calc(100% - $heightTopbar) background-color: #f7f7f7 ...
2189548e5b0968b21d47a1bad8c002a61dbcd5bc
source/assets/stylesheets/locastyle/base/_base.sass
source/assets/stylesheets/locastyle/base/_base.sass
Sass
<|file_sep|>original/tests/CrawlerProcess/asyncio_deferred_signal.py from scrapy.utils.defer import deferred_from_coro from twisted.internet.defer import Deferred class UppercasePipeline: async def _open_spider(self, spider): spider.logger.info("async pipeline opened!") await asyncio.sleep(0.1) ...
from scrapy.utils.defer import deferred_from_coro from twisted.internet.defer import Deferred class UppercasePipeline: async def _open_spider(self, spider): spider.logger.info("async pipeline opened!") await asyncio.sleep(0.1) def open_spider(self, spider): return deferred_from_coro(s...
<|file_sep|>original/tests/CrawlerProcess/asyncio_deferred_signal.py from scrapy.utils.defer import deferred_from_coro from twisted.internet.defer import Deferred class UppercasePipeline: async def _open_spider(self, spider): spider.logger.info("async pipeline opened!") await asyncio.sleep(0.1) ...
b20cfef1e54d9f22769f6d0ec6ae06031bf86ec3
tests/CrawlerProcess/asyncio_deferred_signal.py
tests/CrawlerProcess/asyncio_deferred_signal.py
Python
<|file_sep|>original/_posts/2022-01-09-major-rework-of-the-global-foodsoft-platform.md <|file_sep|>current/_posts/2022-01-09-major-rework-of-the-global-foodsoft-platform.md <|file_sep|>updated/_posts/2022-01-09-major-rework-of-the-global-foodsoft-platform.md
--- title: Major rework of the global Foodsoft platform categories: hosting --- Over the last weeks we updated our global Foodsoft platform to make maintenance and customizations easier. As a side effect there are two new features for our users: - You can now reply directly by e-mail to messages that have been sent ...
<|file_sep|>original/_posts/2022-01-09-major-rework-of-the-global-foodsoft-platform.md <|file_sep|>current/_posts/2022-01-09-major-rework-of-the-global-foodsoft-platform.md <|file_sep|>updated/_posts/2022-01-09-major-rework-of-the-global-foodsoft-platform.md --- title: Major rework of the global Foodsoft platform cat...
b70c7a7c0048696283327c070aaf1244718a1adf
_posts/2022-01-09-major-rework-of-the-global-foodsoft-platform.md
_posts/2022-01-09-major-rework-of-the-global-foodsoft-platform.md
Markdown
<|file_sep|>original/webapp/db/migrate/20120221131302_unique_user_name_index.rb <|file_sep|>current/webapp/db/migrate/20120221131302_unique_user_name_index.rb <|file_sep|>updated/webapp/db/migrate/20120221131302_unique_user_name_index.rb
class UniqueUserNameIndex < ActiveRecord::Migration def self.up execute <<-SQL CREATE UNIQUE INDEX lower_username ON users (LOWER(user_name)); SQL end def self.down execute <<-SQL DROP INDEX lower_username_ix; SQL end end
<|file_sep|>original/webapp/db/migrate/20120221131302_unique_user_name_index.rb <|file_sep|>current/webapp/db/migrate/20120221131302_unique_user_name_index.rb <|file_sep|>updated/webapp/db/migrate/20120221131302_unique_user_name_index.rb class UniqueUserNameIndex < ActiveRecord::Migration def self.up execute <<...
5aad6e90f314079551f73fa62bbae9bb2c4eb079
webapp/db/migrate/20120221131302_unique_user_name_index.rb
webapp/db/migrate/20120221131302_unique_user_name_index.rb
Ruby
<|file_sep|>.github/workflows/workflow.yml.diff original: updated: env: DISPLAY: :99 WDM_GITHUBTOKEN: ${{ secrets.WDM_GITHUBTOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} <|file_sep|>.github/workflows/workflow.yml.diff original: env: DISPLAY: :99 WDM_GITHUBTOKENNAME: ${{ secrets.WDM_GITH...
build: runs-on: ubuntu-latest steps: - name: Checkout GitHub repo uses: actions/checkout@v2 - name: Set up Java uses: actions/setup-java@v1 with: java-version: '11' - name: Start Xvfb run: Xvfb :99 & - name: Run tests run: mvn -B test - name: Upload an...
<|file_sep|>.github/workflows/workflow.yml.diff original: updated: env: DISPLAY: :99 WDM_GITHUBTOKEN: ${{ secrets.WDM_GITHUBTOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} <|file_sep|>.github/workflows/workflow.yml.diff original: env: DISPLAY: :99 WDM_GITHUBTOKENNAME: ${{ secrets.WDM_GITH...
83befb14ca935793845466f2a9e33bb113526c80
.github/workflows/workflow.yml
.github/workflows/workflow.yml
YAML
<|file_sep|>original/docs/developers/twig/action_extension.md <|file_sep|>current/docs/developers/twig/action_extension.md <|file_sep|>updated/docs/developers/twig/action_extension.md
# Action Twig Extension Action extension's purpose is to let developers display a set of action buttons without a hassle. ## Usage ### Button Templates Action extension has a set of button templates available and that makes easy to place some of the common action buttons to your Twigs. Those templates are: * back *...
<|file_sep|>original/docs/developers/twig/action_extension.md <|file_sep|>current/docs/developers/twig/action_extension.md <|file_sep|>updated/docs/developers/twig/action_extension.md # Action Twig Extension Action extension's purpose is to let developers display a set of action buttons without a hassle. ## Usage ...
ef857ae98ff1b43b9021e18310c78eb17e5de903
docs/developers/twig/action_extension.md
docs/developers/twig/action_extension.md
Markdown
<|file_sep|>original/testsuite/test_bogus_feedsize.sh <|file_sep|>current/testsuite/test_bogus_feedsize.sh <|file_sep|>updated/testsuite/test_bogus_feedsize.sh
#! /bin/bash # # Test the e-k parser to make sure that altering the feedsize doesn't change # which tags get recognized. This is really a boundary condition. # NUMTAGS=1000 NUMFEED=1024 echo Generating crazy.page with $NUMTAGS tags python gen_html.py $NUMTAGS 1 > crazy.page feedsize=1 echo "Parsing with $NUMFEED d...
<|file_sep|>original/testsuite/test_bogus_feedsize.sh <|file_sep|>current/testsuite/test_bogus_feedsize.sh <|file_sep|>updated/testsuite/test_bogus_feedsize.sh #! /bin/bash # # Test the e-k parser to make sure that altering the feedsize doesn't change # which tags get recognized. This is really a boundary condition....
485cf5df0d27e0ee97dec5320efe324664965500
testsuite/test_bogus_feedsize.sh
testsuite/test_bogus_feedsize.sh
Shell
<|file_sep|>original/app/controllers/static_controller.rb class StaticController < ApplicationController skip_filter :authenticate_user!, :require_admin, :require_supervisor, :only => [:index, :aboutus, :team, :createchallenge, :challengeguidelines, :universities, :companies, :press, :privacy, :termsofservice] de...
class StaticController < ApplicationController skip_filter :authenticate_user!, :require_admin, :require_supervisor, :only => [:index, :aboutus, :team, :createchallenge, :challengeguidelines, :universities, :companies, :press, :privacy, :termsofservice] def index @highlighted_challenges = Challenge.approved...
<|file_sep|>original/app/controllers/static_controller.rb class StaticController < ApplicationController skip_filter :authenticate_user!, :require_admin, :require_supervisor, :only => [:index, :aboutus, :team, :createchallenge, :challengeguidelines, :universities, :companies, :press, :privacy, :termsofservice] de...
25909b8c10115247b3c1ad121598ccdd64c94706
app/controllers/static_controller.rb
app/controllers/static_controller.rb
Ruby
<|file_sep|>original/jenkins/jobs/deb-openstack-pkg-tools.yaml - build-timeout: timeout: 30 - timestamps builders: - gerrit-git-prep - shell: | #!/bin/bash set -x set -e cp ${WORKSPACE}/build-tools/pkgos-infra-install-sbuild /usr/sbin ...
- build-timeout: timeout: 30 - timestamps builders: - gerrit-git-prep - shell: | #!/bin/bash set -x set -e sudo cp ${WORKSPACE}/build-tools/pkgos-infra-install-sbuild /usr/sbin sudo chmod +x /usr/sbin/pkgos-infra-install-sbuild ...
<|file_sep|>original/jenkins/jobs/deb-openstack-pkg-tools.yaml - build-timeout: timeout: 30 - timestamps builders: - gerrit-git-prep - shell: | #!/bin/bash set -x set -e cp ${WORKSPACE}/build-tools/pkgos-infra-install-sbuild /usr/sbin ...
36bf93183c6dac1629892ddecf71d32411af4894
jenkins/jobs/deb-openstack-pkg-tools.yaml
jenkins/jobs/deb-openstack-pkg-tools.yaml
YAML
<|file_sep|>setup.py.diff original: version="0.1.5", updated: version="0.1.6", <|file_sep|>original/setup.py name="blynkapi", # Version number (initial): version="0.1.5", description="This is a simple blynk HTTP/HTTPS API wrapper.", long_description=long_description, #URL url='htt...
name="blynkapi", # Version number (initial): version="0.1.6", description="This is a simple blynk HTTP/HTTPS API wrapper.", long_description=long_description, #URL url='https://github.com/xandr2/blynkapi', download_url = 'https://github.com/xandr2/blynkapi/archive/0.1.6.tar.gz', ...
<|file_sep|>setup.py.diff original: version="0.1.5", updated: version="0.1.6", <|file_sep|>original/setup.py name="blynkapi", # Version number (initial): version="0.1.5", description="This is a simple blynk HTTP/HTTPS API wrapper.", long_description=long_description, #URL url='htt...
920b8f565580f228abca43b54027fa4ec7247a34
setup.py
setup.py
Python
<|file_sep|>original/spec/sequel_spec.rb <|file_sep|>current/spec/sequel_spec.rb <|file_sep|>updated/spec/sequel_spec.rb
require 'spec_helper' require 'sequel' describe Upsert do describe "Plays nice with Sequel" do config = ActiveRecord::Base.connection.instance_variable_get(:@config) case when 'postgresql' == config[:adapter]; config[:adapter] = 'postgres' when 'sqlite3' == config[:adapter]; config[:adapter] = 's...
<|file_sep|>original/spec/sequel_spec.rb <|file_sep|>current/spec/sequel_spec.rb <|file_sep|>updated/spec/sequel_spec.rb require 'spec_helper' require 'sequel' describe Upsert do describe "Plays nice with Sequel" do config = ActiveRecord::Base.connection.instance_variable_get(:@config) case when 'pos...
6d7eb97709c55e5c6c67ffa0211fa27818efbd39
spec/sequel_spec.rb
spec/sequel_spec.rb
Ruby
<|file_sep|>original/AcmePlumbingSend.py import sublime, sublime_plugin import os from .Mouse import MouseCommand class AcmePlumbingSend(MouseCommand): """ Sends the current selected text to the plumbing """ def run(self, edit): file_name = self.view.file_name() message = { "data": ...
import sublime, sublime_plugin import os from .Mouse import MouseCommand class AcmePlumbingSend(MouseCommand): """ Sends the current selected text to the plumbing """ def run(self, edit): file_name = self.view.file_name() message = { "data": self.view.substr(self.selection_at_cursor...
<|file_sep|>original/AcmePlumbingSend.py import sublime, sublime_plugin import os from .Mouse import MouseCommand class AcmePlumbingSend(MouseCommand): """ Sends the current selected text to the plumbing """ def run(self, edit): file_name = self.view.file_name() message = { "data": ...
62a3ab3409dbc1dd22896fb7c3b5376c1b6432e2
AcmePlumbingSend.py
AcmePlumbingSend.py
Python
<|file_sep|>tests/Blog/Model/Special/NoTypeCollection.php.diff original: updated: use Doctrine\Common\Collections\ArrayCollection; <|file_sep|>original/tests/Blog/Model/Special/NoTypeCollection.php <?php declare(strict_types=1); namespace GraphQLTests\Doctrine\Blog\Model\Special; use Doctrine\Common\Collections\Col...
<?php declare(strict_types=1); namespace GraphQLTests\Doctrine\Blog\Model\Special; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use GraphQLTests\Doctrine\Blog\Model\AbstractModel; /** * @ORM\Entity */ class NoTypeCollection extends A...
<|file_sep|>tests/Blog/Model/Special/NoTypeCollection.php.diff original: updated: use Doctrine\Common\Collections\ArrayCollection; <|file_sep|>original/tests/Blog/Model/Special/NoTypeCollection.php <?php declare(strict_types=1); namespace GraphQLTests\Doctrine\Blog\Model\Special; use Doctrine\Common\Collections\Col...
3ad203e8926ac1e1bfe6444932395ca8c02edf64
tests/Blog/Model/Special/NoTypeCollection.php
tests/Blog/Model/Special/NoTypeCollection.php
PHP
<|file_sep|>original/reconciliation-service/src/main/webapp/WEB-INF/web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/jav...
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" metadata-complete="false"> <env-entry> <description>JNDI logging context, logback will look for logback-concepts-backbone.xml</description> <env-entry-n...
<|file_sep|>original/reconciliation-service/src/main/webapp/WEB-INF/web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/jav...
cf88721bf3f0ab61f951a14bcb94c0e44f0b750a
reconciliation-service/src/main/webapp/WEB-INF/web.xml
reconciliation-service/src/main/webapp/WEB-INF/web.xml
XML
<|file_sep|>original/tox.ini <|file_sep|>current/tox.ini <|file_sep|>updated/tox.ini
; Settings file for flake8: ; http://flake8.readthedocs.org/en/latest/config.html#settings [flake8] exclude = ./tests/*,./*migrations/*,./docs/* filename = *.py
<|file_sep|>original/tox.ini <|file_sep|>current/tox.ini <|file_sep|>updated/tox.ini ; Settings file for flake8: ; http://flake8.readthedocs.org/en/latest/config.html#settings [flake8] exclude = ./tests/*,./*migrations/*,./docs/* filename = *.py
86a393d907e9d8e92b461f7984dfcc00d6d76079
tox.ini
tox.ini
INI
<|file_sep|>original/package.json { "name": "chaplin", "version": "0.3", "description": "An Application Architecture Using Backbone.js", "repository": { "type": "git", "url": "git://github.com/chaplinjs/chaplin.git" }, "engines": { "node": ">=0.4.7" }, "main": "./build/chaplin.js" } <|file_s...
{ "name": "chaplin", "version": "0.3", "description": "An Application Architecture Using Backbone.js", "repository": { "type": "git", "url": "git://github.com/chaplinjs/chaplin.git" }, "engines": { "node": ">=0.4.6" }, "main": "./build/chaplin.js" }
<|file_sep|>original/package.json { "name": "chaplin", "version": "0.3", "description": "An Application Architecture Using Backbone.js", "repository": { "type": "git", "url": "git://github.com/chaplinjs/chaplin.git" }, "engines": { "node": ">=0.4.7" }, "main": "./build/chaplin.js" } <|file_s...
690598e3ec75713c47c6c2aab1343c4cfbc1b4d3
package.json
package.json
JSON
<|file_sep|>original/CONTRIBUTORS.rst Contributors ============ The core contributors for Pinry have been/currently are: * Isaac Bythewood <http://isaacbythewood.com/> * Krzysztof Klimonda <|file_sep|>current/CONTRIBUTORS.rst Contributors ============ The core contributors for Pinry have been/currently are: * Isaa...
Contributors ============ The core contributors for Pinry have been/currently are: * Isaac Bythewood <http://isaacbythewood.com/> * Krzysztof Klimonda For a full list of contributors check out the `GitHub Contributors Graph`_. .. Links .. _GitHub Contributors Graph: https://github.com/pinry/pinry/graphs/contributo...
<|file_sep|>original/CONTRIBUTORS.rst Contributors ============ The core contributors for Pinry have been/currently are: * Isaac Bythewood <http://isaacbythewood.com/> * Krzysztof Klimonda <|file_sep|>current/CONTRIBUTORS.rst Contributors ============ The core contributors for Pinry have been/currently are: * Isaa...
6a755b25b284bc6c8ec290a5c8e66c64153cfeab
CONTRIBUTORS.rst
CONTRIBUTORS.rst
reStructuredText
<|file_sep|>test/.rubocop.yml.diff original: # RuboCop configuration for use on /test files updated: # RuboCop configuration for /test files <|file_sep|>test/.rubocop.yml.diff original: # dafault rules updated: # Use default rules ... <|file_sep|>test/.rubocop.yml.diff original: # with following modifications updated: ...
inherit_from: ../.rubocop.yml # ... with following modifications, disabling metrics which make # less sense in test files and which we routinely ignore Metrics/AbcSize: Enabled: false Metrics/ClassLength: Enabled: false Metrics/CyclomaticComplexity: Enabled: false Metrics/MethodLength: Enabled: false Metri...
<|file_sep|>test/.rubocop.yml.diff original: # RuboCop configuration for use on /test files updated: # RuboCop configuration for /test files <|file_sep|>test/.rubocop.yml.diff original: # dafault rules updated: # Use default rules ... <|file_sep|>test/.rubocop.yml.diff original: # with following modifications updated: ...
a76fa959f4a18523ae6d87160fefe1ada57905ae
test/.rubocop.yml
test/.rubocop.yml
YAML
<|file_sep|>original/requirements/dev.txt # Local development dependencies go here -r base.txt Sphinx==4.3.2 # django-debug-toolbar that works with Django 1.5+ django-debug-toolbar==3.2.4 django-extensions==3.1.5 graphviz==0.19.1 factory-boy==2.12.0 django-coverage-plugin==1.8.0 django-test-plus==2.2.0 vcrpy==4.1.1 ip...
# Local development dependencies go here -r base.txt Sphinx==4.4.0 # django-debug-toolbar that works with Django 1.5+ django-debug-toolbar==3.2.4 django-extensions==3.1.5 graphviz==0.19.1 factory-boy==2.12.0 django-coverage-plugin==1.8.0 django-test-plus==2.2.0 vcrpy==4.1.1 ipdb==0.13.9 pre-commit==2.16.0
<|file_sep|>original/requirements/dev.txt # Local development dependencies go here -r base.txt Sphinx==4.3.2 # django-debug-toolbar that works with Django 1.5+ django-debug-toolbar==3.2.4 django-extensions==3.1.5 graphviz==0.19.1 factory-boy==2.12.0 django-coverage-plugin==1.8.0 django-test-plus==2.2.0 vcrpy==4.1.1 ip...
19d57eccb9b8b40409f4ee385b8981add67706ae
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/package.json "repository": { "type": "git", "url": "git://github.com/js-cookie/js-cookie.git" }, "author": "Klaus Hartl", "license": "MIT", "devDependencies": { "grunt": "1.0.0", "grunt-compare-size": "0.4.2", "grunt-contrib-connect": "1.0.2", "grunt-contrib-jshint...
"repository": { "type": "git", "url": "git://github.com/js-cookie/js-cookie.git" }, "author": "Klaus Hartl", "license": "MIT", "devDependencies": { "grunt": "1.0.0", "grunt-compare-size": "0.4.2", "grunt-contrib-connect": "1.0.2", "grunt-contrib-jshint": "1.1.0", "grunt-contrib-nod...
<|file_sep|>original/package.json "repository": { "type": "git", "url": "git://github.com/js-cookie/js-cookie.git" }, "author": "Klaus Hartl", "license": "MIT", "devDependencies": { "grunt": "1.0.0", "grunt-compare-size": "0.4.2", "grunt-contrib-connect": "1.0.2", "grunt-contrib-jshint...
81e8c0b7f3753c7191eeb709b23ff0efad445203
package.json
package.json
JSON
<|file_sep|>examples/basic-http.yaml.diff original: namespaceSelector: updated: namespaceSelector: {} routeSelector: <|file_sep|>examples/basic-http.yaml.diff original: "": "" updated: "app": "foo" <|file_sep|>original/examples/basic-http.yaml namespaceSelector: matchLabels: ...
namespaceSelector: {} routeSelector: matchLabels: "app": "foo" --- kind: HTTPRoute apiVersion: networking.x.k8s.io/v1alpha1 metadata: name: http-app-1 namespace: default labels: app: foo spec: hosts: - hostnames: - "foo.com" rules: - match: path: /...
<|file_sep|>examples/basic-http.yaml.diff original: namespaceSelector: updated: namespaceSelector: {} routeSelector: <|file_sep|>examples/basic-http.yaml.diff original: "": "" updated: "app": "foo" <|file_sep|>original/examples/basic-http.yaml namespaceSelector: matchLabels: ...
c309fd3de517880eeda83e2c99ee8f25339eb743
examples/basic-http.yaml
examples/basic-http.yaml
YAML
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '6' env: matrix: - GROUP=unit - GROUP=functional - GROUP=lint cache: false before_install: - source scripts/travis_before_install before_script: - export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start script: travis_retry npm run test:$...
sudo: false addons: apt: sources: - ubuntu-toolchain-r-test packages: - gcc-4.9 - g++-4.9 language: node_js node_js: - '6' env: matrix: - GROUP=unit - GROUP=functional - GROUP=lint cache: false before_install: - source scripts/travis_before_install
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '6' env: matrix: - GROUP=unit - GROUP=functional - GROUP=lint cache: false before_install: - source scripts/travis_before_install before_script: - export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start script: travis_retry npm run test:$...
e0469b1f0f7806b87c5ae1387391f6e2176f5ce6
.travis.yml
.travis.yml
YAML
<|file_sep|>app/components/areas/Header/style.scss.diff original: height: 33px; updated: <|file_sep|>original/app/components/areas/Header/style.scss height: 100%; display: flex; align-items: flex-end; li { height: 33px; margin-left: 40px; } } a { he...
height: 100%; display: flex; align-items: flex-end; li { margin-left: 40px; } } a { display: block; padding-bottom: 7px; color: $font-color-2; border-bottom: 6px solid transparent; text-transform: uppercase; } a.active { color:...
<|file_sep|>app/components/areas/Header/style.scss.diff original: height: 33px; updated: <|file_sep|>original/app/components/areas/Header/style.scss height: 100%; display: flex; align-items: flex-end; li { height: 33px; margin-left: 40px; } } a { he...
c6412095aa66d43711182f1c038ce416361e07be
app/components/areas/Header/style.scss
app/components/areas/Header/style.scss
SCSS
<|file_sep|>original/openmc/__init__.py from openmc.lattice import * from openmc.filter import * from openmc.filter_expansion import * from openmc.trigger import * from openmc.tally_derivative import * from openmc.tallies import * from openmc.mgxs_library import * from openmc.executor import * from openmc.statepoint im...
from openmc.lattice import * from openmc.filter import * from openmc.filter_expansion import * from openmc.trigger import * from openmc.tally_derivative import * from openmc.tallies import * from openmc.mgxs_library import * from openmc.executor import * from openmc.statepoint import * from openmc.summary import * from...
<|file_sep|>original/openmc/__init__.py from openmc.lattice import * from openmc.filter import * from openmc.filter_expansion import * from openmc.trigger import * from openmc.tally_derivative import * from openmc.tallies import * from openmc.mgxs_library import * from openmc.executor import * from openmc.statepoint im...
87bd987ebb802200540c23cfccaba2c56a672ed5
openmc/__init__.py
openmc/__init__.py
Python
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli - git clone git://github.com/n1k0/casperjs.git ~/casperjs - cd ~/casperjs - git checkout tags/1.1-beta2 - export PATH=$PATH:`pwd`/bin - cd - before_script: - phantomjs --version - casperjs -...
language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli - git clone git://github.com/n1k0/casperjs.git ~/casperjs - export PATH=$PATH:~/casperjs/bin before_script: - phantomjs --version - casperjs --version
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli - git clone git://github.com/n1k0/casperjs.git ~/casperjs - cd ~/casperjs - git checkout tags/1.1-beta2 - export PATH=$PATH:`pwd`/bin - cd - before_script: - phantomjs --version - casperjs -...
f3ac06fb5390b0f99ff45a5fb9ec8bf678ae03c1
.travis.yml
.travis.yml
YAML
<|file_sep|>mkdocs.yml.diff original: updated: repo_url: https://github.com/qiuwch/unrealcv/ edit_uri: edit/doc/docs/ markdown_extensions: - markdown.extensions.admonition <|file_sep|>original/mkdocs.yml site_name: UnrealCV theme: readthedocs pages: - Home: index.md - "Use a game binary": - "Getting ...
edit_uri: edit/doc/docs/ markdown_extensions: - markdown.extensions.admonition pages: - Home: index.md - "Use UnrealCV game binaries": - "Getting started": binary/getting-started.md - "Tutorial: Generate images": ipynb/generate.md - "Tutorial: Use Faster-RCNN": binary/tutorial/faster-rcnn.md - "Re...
<|file_sep|>mkdocs.yml.diff original: updated: repo_url: https://github.com/qiuwch/unrealcv/ edit_uri: edit/doc/docs/ markdown_extensions: - markdown.extensions.admonition <|file_sep|>original/mkdocs.yml site_name: UnrealCV theme: readthedocs pages: - Home: index.md - "Use a game binary": - "Getting ...
5942a910331edbe39f1d204a8a0432fc4d5b7178
mkdocs.yml
mkdocs.yml
YAML
<|file_sep|>original/config/routes.rb Soshigal::Application.routes.draw do root to: 'albums#index' resources :albums, except: [:index], shallow: true do get 'page/:page', action: :show, on: :member resources :images, only: [:create, :destroy] resources :comments, only: [:create, :destroy, :update] ...
Soshigal::Application.routes.draw do root to: 'albums#index' resources :albums, except: [:index], shallow: true do get 'page/:page', action: :show, on: :member, as: :paginated resources :images, only: [:create, :destroy] resources :comments, only: [:create, :destroy, :update] resources :favorites,...
<|file_sep|>original/config/routes.rb Soshigal::Application.routes.draw do root to: 'albums#index' resources :albums, except: [:index], shallow: true do get 'page/:page', action: :show, on: :member resources :images, only: [:create, :destroy] resources :comments, only: [:create, :destroy, :update] ...
a7b46208e3f5b5a5061a0287a7feb8ecd8ccd66b
config/routes.rb
config/routes.rb
Ruby
<|file_sep|>original/images/bazel/variants.yaml variants: kubernetes: CONFIG: kubernetes-master # Used by the kubernetes repo master branch NEW_VERSION: 2.2.0 OLD_VERSION: 0.25.2 test-infra: CONFIG: test-infra # Used by test-infra repo NEW_VERSION: 3.0.0 OLD_VERSION: 2.2.0 <|file_sep|>curren...
variants: kubernetes: CONFIG: kubernetes-master # Used by the kubernetes repo master branch NEW_VERSION: 2.2.0 OLD_VERSION: 0.25.2 org: CONFIG: org # Used by org repo NEW_VERSION: 3.0.0 OLD_VERSION: 0.29.1 test-infra: CONFIG: test-infra # Used by test-infra repo NEW_VERSION: 3.0.0 ...
<|file_sep|>original/images/bazel/variants.yaml variants: kubernetes: CONFIG: kubernetes-master # Used by the kubernetes repo master branch NEW_VERSION: 2.2.0 OLD_VERSION: 0.25.2 test-infra: CONFIG: test-infra # Used by test-infra repo NEW_VERSION: 3.0.0 OLD_VERSION: 2.2.0 <|file_sep|>curren...
5b1db6c408d0386f3c6926b0b65e16d3aae274e0
images/bazel/variants.yaml
images/bazel/variants.yaml
YAML
<|file_sep|>static/components.yaml.diff original: full: 1.1.0-dev updated: full: 1.4.0-alpha <|file_sep|>static/components.yaml.diff original: minor: 1 updated: minor: 4 <|file_sep|>original/static/components.yaml components: - name: Account Manager git: account description: Ma...
components: - name: Account Manager git: account description: Manage user account version: head: full: 1.4.0-alpha major: 1 minor: 4 patch: 0 status: alpha deploy: full: 1.3.1-alpha major: 1 minor: 3 patch: 1 statu...
<|file_sep|>static/components.yaml.diff original: full: 1.1.0-dev updated: full: 1.4.0-alpha <|file_sep|>static/components.yaml.diff original: minor: 1 updated: minor: 4 <|file_sep|>original/static/components.yaml components: - name: Account Manager git: account description: Ma...
a6d3314432a9172396cedbba2addb99d63643c9d
static/components.yaml
static/components.yaml
YAML
<|file_sep|>original/bugminer-server/src/main/java/de/unistuttgart/iste/rss/bugminer/api/TaskController.java <|file_sep|>current/bugminer-server/src/main/java/de/unistuttgart/iste/rss/bugminer/api/TaskController.java <|file_sep|>updated/bugminer-server/src/main/java/de/unistuttgart/iste/rss/bugminer/api/TaskControlle...
package de.unistuttgart.iste.rss.bugminer.api; import de.unistuttgart.iste.rss.bugminer.api.exceptions.NotFoundException; import de.unistuttgart.iste.rss.bugminer.model.entities.Bug; import de.unistuttgart.iste.rss.bugminer.model.entities.IssueTracker; import de.unistuttgart.iste.rss.bugminer.model.entities.LineChange...
<|file_sep|>original/bugminer-server/src/main/java/de/unistuttgart/iste/rss/bugminer/api/TaskController.java <|file_sep|>current/bugminer-server/src/main/java/de/unistuttgart/iste/rss/bugminer/api/TaskController.java <|file_sep|>updated/bugminer-server/src/main/java/de/unistuttgart/iste/rss/bugminer/api/TaskControlle...
a3fb3e58c5d21d99c9d88b35674ac723efa77be5
bugminer-server/src/main/java/de/unistuttgart/iste/rss/bugminer/api/TaskController.java
bugminer-server/src/main/java/de/unistuttgart/iste/rss/bugminer/api/TaskController.java
Java
<|file_sep|>.travis.yml.diff original: updated: - os: osx env: CABALVER="1.24" GHCVER="8.0.2" compiler: ": #GHC 8.0.2" <|file_sep|>original/.travis.yml matrix: include: - env: CABALVER="1.24" GHCVER="8.0.2" compiler: ": #GHC 8.0.2" addons: {apt: {packages: [cabal-install-1.24,ghc-8.0...
matrix: include: - env: CABALVER="1.24" GHCVER="8.0.2" compiler: ": #GHC 8.0.2" addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.2], sources: [hvr-ghc]}} - os: osx env: CABALVER="1.24" GHCVER="8.0.2" compiler: ": #GHC 8.0.2" before_install: - if [[ $TRAVIS_OS_NAME == 'linux' ]];...
<|file_sep|>.travis.yml.diff original: updated: - os: osx env: CABALVER="1.24" GHCVER="8.0.2" compiler: ": #GHC 8.0.2" <|file_sep|>original/.travis.yml matrix: include: - env: CABALVER="1.24" GHCVER="8.0.2" compiler: ": #GHC 8.0.2" addons: {apt: {packages: [cabal-install-1.24,ghc-8.0...
e8a8b5292b0a2de2a46ee9fb18a835db7024ab09
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/ravelin/pre_transaction.rb module Ravelin class PreTransaction < RavelinObject attr_accessor :transaction_id, :email, :currency, :debit, :credit, :gateway, :custom attr_required :transaction_id, :currency, :debit, :credit, :gateway end end <|file...
module Ravelin class PreTransaction < RavelinObject attr_accessor :transaction_id, :email, :currency, :debit, :credit, :gateway, :type, :time, :custom attr_required :transaction_id, :currency, :debit, :credit, :gateway end end
<|file_sep|>original/lib/ravelin/pre_transaction.rb module Ravelin class PreTransaction < RavelinObject attr_accessor :transaction_id, :email, :currency, :debit, :credit, :gateway, :custom attr_required :transaction_id, :currency, :debit, :credit, :gateway end end <|file...
06dc8c6a0d2601fcc4446ae8aec3d5b651c3f67c
lib/ravelin/pre_transaction.rb
lib/ravelin/pre_transaction.rb
Ruby
<|file_sep|>original/project.clj (defproject org.onyxplatform/onyx-datomic "0.10.0.0-alpha4" :description "Onyx plugin for Datomic" :url "https://github.com/onyx-platform/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshot...
(defproject org.onyxplatform/onyx-datomic "0.10.0.0-SNAPSHOT" :description "Onyx plugin for Datomic" :url "https://github.com/onyx-platform/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars.org/r...
<|file_sep|>original/project.clj (defproject org.onyxplatform/onyx-datomic "0.10.0.0-alpha4" :description "Onyx plugin for Datomic" :url "https://github.com/onyx-platform/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshot...
b8564a1938541206f4fbd9e3c875b1da46be639a
project.clj
project.clj
Clojure
<|file_sep|>original/generate-stackbrew-library.sh fullVersion="${fullVersion%[.-]*}" done versionAliases+=( $version ${aliases[$version]} ) echo for va in "${versionAliases[@]}"; do echo "$va: ${url}@${commit} $version" done for variant in onbuild; do commit="$(git log -1 --format='format:%H' "$version...
fullVersion="${fullVersion%[.-]*}" done versionAliases+=( $version ${aliases[$version]} ) echo for va in "${versionAliases[@]}"; do echo "$va: ${url}@${commit} $version" done for variant in onbuild; do commit="$(git log -1 --format='format:%H' -- "$version/$variant")" echo for va in "${versionAliase...
<|file_sep|>original/generate-stackbrew-library.sh fullVersion="${fullVersion%[.-]*}" done versionAliases+=( $version ${aliases[$version]} ) echo for va in "${versionAliases[@]}"; do echo "$va: ${url}@${commit} $version" done for variant in onbuild; do commit="$(git log -1 --format='format:%H' "$version...
11c3063c1a7bec3801231bf9593950af29eeba4c
generate-stackbrew-library.sh
generate-stackbrew-library.sh
Shell
<|file_sep|>original/copy-rpms-out.sh #!/bin/sh #Copy the RPMs out and back to the shared folder cd /vagrant rsync --no-relative -vahu ~/rpmbuild/RPMS/* . <|file_sep|>current/copy-rpms-out.sh #!/bin/sh #Copy the RPMs out and back to the shared folder cd /vagrant rsync --no-relative -vahu ~/rpmbuild/RPMS/* . <|file_...
#!/bin/sh #Copy the RPMs out and back to the shared folder cd /vagrant rsync --no-relative -vahu ~/rpmbuild/RPMS ~/rpmbuild/SRPMS .
<|file_sep|>original/copy-rpms-out.sh #!/bin/sh #Copy the RPMs out and back to the shared folder cd /vagrant rsync --no-relative -vahu ~/rpmbuild/RPMS/* . <|file_sep|>current/copy-rpms-out.sh #!/bin/sh #Copy the RPMs out and back to the shared folder cd /vagrant rsync --no-relative -vahu ~/rpmbuild/RPMS/* . <|file_...
0542c1169c6b4186d8d337a661602c339a09d79d
copy-rpms-out.sh
copy-rpms-out.sh
Shell
<|file_sep|>original/setup.py longDesc = "" if os.path.exists("README.rst"): longDesc = open("README.rst").read().strip() setup( name = "pytesseract", version = "0.1.6", author = "Samuel Hoffstaetter", author_email="", maintainer = "Matthias Lee", maintainer_email = "pytesseract@madmaze.net"...
longDesc = "" if os.path.exists("README.rst"): longDesc = open("README.rst").read().strip() setup( name = "pytesseract", version = "0.1.6", author = "Samuel Hoffstaetter", author_email="pytesseract@madmaze.net", maintainer = "Matthias Lee", maintainer_email = "pytesseract@madmaze.net", d...
<|file_sep|>original/setup.py longDesc = "" if os.path.exists("README.rst"): longDesc = open("README.rst").read().strip() setup( name = "pytesseract", version = "0.1.6", author = "Samuel Hoffstaetter", author_email="", maintainer = "Matthias Lee", maintainer_email = "pytesseract@madmaze.net"...
b78c634069354565cf749ed139cade244415b5a4
setup.py
setup.py
Python
<|file_sep|>.travis.yml.diff original: updated: - 2.4.1 <|file_sep|>.travis.yml.diff original: - rbx-2 updated: <|file_sep|>original/.travis.yml script: "bundle exec rake ci" rvm: - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.5 - 2.3.1 - ruby-head - jruby-9000 - jruby-head - rbx-2 matrix: allow_failures: ...
cache: bundler script: "bundle exec rake ci" rvm: - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.5 - 2.3.1 - 2.4.1 - ruby-head - jruby-9000 - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head fast_finish: true branches: only: master notifications: email: false
<|file_sep|>.travis.yml.diff original: updated: - 2.4.1 <|file_sep|>.travis.yml.diff original: - rbx-2 updated: <|file_sep|>original/.travis.yml script: "bundle exec rake ci" rvm: - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.5 - 2.3.1 - ruby-head - jruby-9000 - jruby-head - rbx-2 matrix: allow_failures: ...
b1e8bc386953745f7c897aa95bf6329052262ab7
.travis.yml
.travis.yml
YAML
<|file_sep|>src/Forum/Actions/LoginAction.php.diff original: updated: $response = $this->success(); $response->getBody()->write(json_encode($data)); <|file_sep|>original/src/Forum/Actions/LoginAction.php public function __construct(UserRepositoryInterface $users, Client $apiClient) { $...
$this->apiClient = $apiClient; } public function handle(Request $request, $routeParams = []) { $params = array_only($request->getAttributes(), ['identification', 'password']); $data = $this->apiClient->send('Flarum\Api\Actions\TokenAction', $params); event(new UserLoggedIn...
<|file_sep|>src/Forum/Actions/LoginAction.php.diff original: updated: $response = $this->success(); $response->getBody()->write(json_encode($data)); <|file_sep|>original/src/Forum/Actions/LoginAction.php public function __construct(UserRepositoryInterface $users, Client $apiClient) { $...
5151a5aef5805716829b42e330af5d72cbb2a199
src/Forum/Actions/LoginAction.php
src/Forum/Actions/LoginAction.php
PHP
<|file_sep|>original/prometheus/client_integration_test.sh #!/bin/bash set -eu OUT="$(mktemp -p "${TEST_TMPDIR?}")" SORTED_OUT="$(mktemp -p "${TEST_TMPDIR?}")" SORTED_REF="$(mktemp -p "${TEST_TMPDIR?}")" REF="prometheus/testdata/ref.txt" prometheus/client_demo > "${OUT?}" sort "${OUT?}" > "${SORTED_OUT?}" sort "${R...
set -eu OUT="$(mktemp -p "${TEST_TMPDIR?}")" SORTED_OUT="$(mktemp -p "${TEST_TMPDIR?}")" SORTED_REF="$(mktemp -p "${TEST_TMPDIR?}")" REF="prometheus/testdata/ref.txt" prometheus/client_demo > "${OUT?}" sort "${OUT?}" > "${SORTED_OUT?}" sort "${REF?}" > "${SORTED_REF?}" echo "Original output can be found at ${OUT?}"...
<|file_sep|>original/prometheus/client_integration_test.sh #!/bin/bash set -eu OUT="$(mktemp -p "${TEST_TMPDIR?}")" SORTED_OUT="$(mktemp -p "${TEST_TMPDIR?}")" SORTED_REF="$(mktemp -p "${TEST_TMPDIR?}")" REF="prometheus/testdata/ref.txt" prometheus/client_demo > "${OUT?}" sort "${OUT?}" > "${SORTED_OUT?}" sort "${R...
cc3ee2f3d76e5b1d4191b6df7a697d01170163f2
prometheus/client_integration_test.sh
prometheus/client_integration_test.sh
Shell
<|file_sep|>original/.travis.yml language: php php: - '5.6' - '7.0' script: composer test <|file_sep|>current/.travis.yml language: php php: - '5.6' - '7.0' script: composer test <|file_sep|>updated/.travis.yml
language: php php: - '5.6' - '7.0' before_script: composer install script: composer test
<|file_sep|>original/.travis.yml language: php php: - '5.6' - '7.0' script: composer test <|file_sep|>current/.travis.yml language: php php: - '5.6' - '7.0' script: composer test <|file_sep|>updated/.travis.yml language: php php: - '5.6' - '7.0' before_script: composer install script: composer test
8612f0f07416efbec3b5eac2efe6bac7fc260c13
.travis.yml
.travis.yml
YAML
<|file_sep|>original/hltv.js var request = require( 'request' ); module.exports = { baseUrl : 'http://www.hltv.org/?pageid=255&res=5&team=1&term=', search : function( searchPhrase, callback ){ var _this = this, rawTeamList = false, teamList = [], i; request(...
var request = require( 'request' ); module.exports = { baseUrl : 'http://www.hltv.org/?pageid=255&res=5&team=1&term=', search : function( searchPhrase, callback ){ var _this = this, rawTeamList = false, teamList = [], i; request( _this.baseUrl + encodeURICom...
<|file_sep|>original/hltv.js var request = require( 'request' ); module.exports = { baseUrl : 'http://www.hltv.org/?pageid=255&res=5&team=1&term=', search : function( searchPhrase, callback ){ var _this = this, rawTeamList = false, teamList = [], i; request(...
13a7f5efe533dcccd0da751b3bda8ae869ae71ef
hltv.js
hltv.js
JavaScript
<|file_sep|>original/cr8/__main__.py #!/usr/bin/env python # -*- coding: utf-8 -*- import argh import argparse from cr8 import __version__ from cr8.timeit import timeit from cr8.insert_json import insert_json from cr8.insert_fake_data import insert_fake_data from cr8.insert_blob import insert_blob from cr8.run_spec i...
#!/usr/bin/env python # -*- coding: utf-8 -*- # PYTHON_ARGCOMPLETE_OK import argh import argparse from cr8 import __version__ from cr8.timeit import timeit from cr8.insert_json import insert_json from cr8.insert_fake_data import insert_fake_data from cr8.insert_blob import insert_blob from cr8.run_spec import run_spe...
<|file_sep|>original/cr8/__main__.py #!/usr/bin/env python # -*- coding: utf-8 -*- import argh import argparse from cr8 import __version__ from cr8.timeit import timeit from cr8.insert_json import insert_json from cr8.insert_fake_data import insert_fake_data from cr8.insert_blob import insert_blob from cr8.run_spec i...
621337bd685a200a37bcbbd5fe3441d2090aab54
cr8/__main__.py
cr8/__main__.py
Python
<|file_sep|>original/docs/src/main/sphinx/static/trino.css } .md-typeset a { color: #DD00A1; } .md-typeset a:active, .md-typeset a:hover { color: #F57C00; } .md-typeset h1 { color: rgba(0, 0, 0, .80); } .sig-name, .sig-paren { font-weight: bold; } .md-typeset code { padding: 0 0.3em; } <|file_s...
} .md-typeset a { color: #DD00A1; } .md-typeset a:active, .md-typeset a:hover { color: #F57C00; } .md-nav__button img { height: 48px; } .md-typeset h1 { color: rgba(0, 0, 0, .80); } .sig-name, .sig-paren { font-weight: bold; }
<|file_sep|>original/docs/src/main/sphinx/static/trino.css } .md-typeset a { color: #DD00A1; } .md-typeset a:active, .md-typeset a:hover { color: #F57C00; } .md-typeset h1 { color: rgba(0, 0, 0, .80); } .sig-name, .sig-paren { font-weight: bold; } .md-typeset code { padding: 0 0.3em; } <|file_s...
fda1f3291cc63cc9873750234103ecb6cbe6eeb1
docs/src/main/sphinx/static/trino.css
docs/src/main/sphinx/static/trino.css
CSS
<|file_sep|>original/src/main/java/com/elmakers/mine/bukkit/api/spell/Spell.java * com.elmakers.mine.bukkit.plugins.magic.spell.Spell. * * To create a new custom spell from scratch, you must also * implement the MageSpell interface. */ public interface Spell extends SpellTemplate { public boolean cast(); ...
* * To create a new custom spell from scratch, you must also * implement the MageSpell interface. */ public interface Spell extends SpellTemplate { public boolean cast(); public boolean cast(String[] parameters); public boolean cast(String[] parameters, Location defaultLocation); public Location ge...
<|file_sep|>original/src/main/java/com/elmakers/mine/bukkit/api/spell/Spell.java * com.elmakers.mine.bukkit.plugins.magic.spell.Spell. * * To create a new custom spell from scratch, you must also * implement the MageSpell interface. */ public interface Spell extends SpellTemplate { public boolean cast(); ...
9352d93d471b57bd68826c9b14981c9aacbf342a
src/main/java/com/elmakers/mine/bukkit/api/spell/Spell.java
src/main/java/com/elmakers/mine/bukkit/api/spell/Spell.java
Java
<|file_sep|>scaling-manager/tests/test-loader.sh.diff original: # Loop 20 times, start one pod every 15 seconds. for i in $(seq 1 20); do updated: # Loop 15 times, start one pod every ~20 seconds. for i in $(seq 1 15); do <|file_sep|>original/scaling-manager/tests/test-loader.sh # You may obtain a copy of the License a...
# You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the Li...
<|file_sep|>scaling-manager/tests/test-loader.sh.diff original: # Loop 20 times, start one pod every 15 seconds. for i in $(seq 1 20); do updated: # Loop 15 times, start one pod every ~20 seconds. for i in $(seq 1 15); do <|file_sep|>original/scaling-manager/tests/test-loader.sh # You may obtain a copy of the License a...
1c8e0e83b330adfa6ed624270b77d25cd17c4967
scaling-manager/tests/test-loader.sh
scaling-manager/tests/test-loader.sh
Shell
<|file_sep|>original/rust/proverb/src/lib.rs <|file_sep|>current/rust/proverb/src/lib.rs <|file_sep|>updated/rust/proverb/src/lib.rs
pub fn build_proverb(text: Vec<&str>) -> String { let mut result = String::new(); let mut iter = text.iter().peekable(); let last = if text.len() < 3 { "" } else { "horseshoe " }; while let Some(c) = iter.next() { if let Some(n) = iter.peek() { result += &format!("For want of a {} ...
<|file_sep|>original/rust/proverb/src/lib.rs <|file_sep|>current/rust/proverb/src/lib.rs <|file_sep|>updated/rust/proverb/src/lib.rs pub fn build_proverb(text: Vec<&str>) -> String { let mut result = String::new(); let mut iter = text.iter().peekable(); let last = if text.len() < 3 { "" } else { "horsesh...
85a55afb412ee479830882fa9420b0c513bff5e9
rust/proverb/src/lib.rs
rust/proverb/src/lib.rs
Rust
<|file_sep|>circle.yml.diff original: updated: services: - docker <|file_sep|>circle.yml.diff original: # Work around who knows what ld.bfd bug. - sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20 - sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10 - mkdir...
- docker checkout: post: - git submodule update --recursive --init dependencies: cache_directories: - "~/.stack" override: - mkdir -p ~/.local/bin - curl -L --retry 3 https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' - docker build -t sp...
<|file_sep|>circle.yml.diff original: updated: services: - docker <|file_sep|>circle.yml.diff original: # Work around who knows what ld.bfd bug. - sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20 - sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10 - mkdir...
5921336a8d7647c39b346619c7f4ba228e4af567
circle.yml
circle.yml
YAML
<|file_sep|>original/hiera/common.yaml --- homebrew_root: /opt/boxen/homebrew boxen::environment::relative_bin_on_path: false dotfiles::source: https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf ssh::package: halyard/formulae/openssh-halyard ruby::build::ensure: v20150818 ruby::rbenv::ensure: v0.4....
--- homebrew_root: /opt/boxen/homebrew boxen::environment::relative_bin_on_path: false dotfiles::source: https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf ssh::package: halyard/formulae/openssh-halyard python::pyenv::ensure: v20151006 ruby::build::ensure: v20150818 ruby::rbenv::ensure: v0.4.0 ruby...
<|file_sep|>original/hiera/common.yaml --- homebrew_root: /opt/boxen/homebrew boxen::environment::relative_bin_on_path: false dotfiles::source: https://raw.githubusercontent.com/akerl/dotfiles/master/.dotdotdot.conf ssh::package: halyard/formulae/openssh-halyard ruby::build::ensure: v20150818 ruby::rbenv::ensure: v0.4....
15d3e58c5dbb3baac373f6f97e6c48b97caf1ba0
hiera/common.yaml
hiera/common.yaml
YAML
<|file_sep|>pkgs/development/compilers/openjdk/default.nix.diff original: {stdenv, fetchurl, unzip}: updated: {stdenv, fetchurl, unzip, procps}: <|file_sep|>original/pkgs/development/compilers/openjdk/default.nix {stdenv, fetchurl, unzip}: stdenv.mkDerivation { name = "openjdk-7b127"; src = fetchurl { url = h...
{stdenv, fetchurl, unzip, procps}: stdenv.mkDerivation { name = "openjdk-7b127"; src = fetchurl { url = http://www.java.net/download/openjdk/jdk7/promoted/b147/openjdk-7-fcs-src-b147-27_jun_2011.zip; sha256 = "1qhwlz9y5qmwmja4qnxg6sn3pgsg1i11fb9j41w8l26acyhk34rs"; }; buildInputs = [ unzip procps ]; }
<|file_sep|>pkgs/development/compilers/openjdk/default.nix.diff original: {stdenv, fetchurl, unzip}: updated: {stdenv, fetchurl, unzip, procps}: <|file_sep|>original/pkgs/development/compilers/openjdk/default.nix {stdenv, fetchurl, unzip}: stdenv.mkDerivation { name = "openjdk-7b127"; src = fetchurl { url = h...
11f0ca932042b0e9097580106bb09958c581bd8c
pkgs/development/compilers/openjdk/default.nix
pkgs/development/compilers/openjdk/default.nix
Nix
<|file_sep|>original/c/README.markdown <|file_sep|>current/c/README.markdown <|file_sep|>updated/c/README.markdown
Mandelbrot in C =============== This is a simple C programme to print the Mandelbrot set as ASCII or as a .pbm (Portable Bitmap). ASCII can be read in a console and the .pbm can be viewed in something like GIMP. The [original code](http://benchmarksgame.alioth.debian.org/u64q/program.php?test=mandelbrot&lang=gcc&id=2...
<|file_sep|>original/c/README.markdown <|file_sep|>current/c/README.markdown <|file_sep|>updated/c/README.markdown Mandelbrot in C =============== This is a simple C programme to print the Mandelbrot set as ASCII or as a .pbm (Portable Bitmap). ASCII can be read in a console and the .pbm can be viewed in something l...
a70fb4f979ecb2e9787e3d1a3cae7b4252e579ca
c/README.markdown
c/README.markdown
Markdown
<|file_sep|>original/docs/requirements.txt breathe==4.13.1 docutils==0.14 Pygments==2.3.1 pyparsing==2.4.2 Sphinx==2.1.2 sphinxcontrib-bibtex==0.4.2 <|file_sep|>current/docs/requirements.txt breathe==4.13.1 docutils==0.14 Pygments==2.3.1 pyparsing==2.4.2 Sphinx==2.1.2 sphinxcontrib-bibtex==0.4.2 <|file_sep|>updated/doc...
breathe==4.15.0 docutils==0.14 Pygments==2.3.1 pyparsing==2.4.2 Sphinx==2.1.2 sphinxcontrib-bibtex==0.4.2
<|file_sep|>original/docs/requirements.txt breathe==4.13.1 docutils==0.14 Pygments==2.3.1 pyparsing==2.4.2 Sphinx==2.1.2 sphinxcontrib-bibtex==0.4.2 <|file_sep|>current/docs/requirements.txt breathe==4.13.1 docutils==0.14 Pygments==2.3.1 pyparsing==2.4.2 Sphinx==2.1.2 sphinxcontrib-bibtex==0.4.2 <|file_sep|>updated/doc...
b6f7181bca951b32bc7113560af953dccc7ab661
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>original/docs/requirements.txt -r ../requirements.txt sphinx==3.3.0 sphinx_rtd_theme==0.5.0 sphinxcontrib-svg2pdfconverter <|file_sep|>current/docs/requirements.txt -r ../requirements.txt sphinx==3.3.0 sphinx_rtd_theme==0.5.0 sphinxcontrib-svg2pdfconverter <|file_sep|>updated/docs/requirements.txt
-r ../requirements.txt sphinx==3.3.1 sphinx_rtd_theme==0.5.0 sphinxcontrib-svg2pdfconverter
<|file_sep|>original/docs/requirements.txt -r ../requirements.txt sphinx==3.3.0 sphinx_rtd_theme==0.5.0 sphinxcontrib-svg2pdfconverter <|file_sep|>current/docs/requirements.txt -r ../requirements.txt sphinx==3.3.0 sphinx_rtd_theme==0.5.0 sphinxcontrib-svg2pdfconverter <|file_sep|>updated/docs/requirements.txt -r ../req...
695a43c76fbaf59a539177c814b583b7c2cad720
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>original/.travis.yml language: rust rust: - stable - nightly script: - cargo build - cargo build --features=stream - cargo test - cargo test --features=stream <|file_sep|>current/.travis.yml language: rust rust: - stable - nightly script: - cargo build - cargo build --features=stream - cargo test - cargo ...
language: rust rust: - stable - nightly jobs: include: - stage: test env: TARGET="x86_64-unknown-linux-gnu" script: - cargo build - cargo build --features=stream - cargo test - cargo test --features=stream - stage: test env: TARGET="x86_64-unknown-linux-musl"...
<|file_sep|>original/.travis.yml language: rust rust: - stable - nightly script: - cargo build - cargo build --features=stream - cargo test - cargo test --features=stream <|file_sep|>current/.travis.yml language: rust rust: - stable - nightly script: - cargo build - cargo build --features=stream - cargo test - cargo ...
1cc350270a428f4731395dd80474f94a985ecfaf
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/uk/org/ponder/rsf/components/ELReference.java /** A special class to hold EL references so they may be detected in the * component tree. When held in this member, it is devoid of the packaging #{..} * characters - they are removed and replaced by the parser in transit from * XML form. * @a...
* XML form. * @author Antranig Basman (amb26@ponder.org.uk) * */ // TODO: in RSF 0.8 this class will be deprecated in favour of the version // in PUC. public class ELReference { public ELReference() {} public ELReference(String value) { String stripped = BeanUtil.stripEL(value); this.value = stripped ==...
<|file_sep|>original/src/uk/org/ponder/rsf/components/ELReference.java /** A special class to hold EL references so they may be detected in the * component tree. When held in this member, it is devoid of the packaging #{..} * characters - they are removed and replaced by the parser in transit from * XML form. * @a...
42d8f021735343c689655f8f2dc13565a5cc1af7
src/uk/org/ponder/rsf/components/ELReference.java
src/uk/org/ponder/rsf/components/ELReference.java
Java
<|file_sep|>DobbyTests/MockSpec.swift.diff original: updated: var failureMessageSent = false <|file_sep|>DobbyTests/MockSpec.swift.diff original: updated: failureMessageSent = true <|file_sep|>original/DobbyTests/MockSpec.swift mock.verify() } ...
mock.verify() } it("fails if an expectation is not matched") { var failureMessageSent = false mock.expect(matches((any(), equals(3)))) mock.verify { (message, _, _) in failureMessageSent = true ...
<|file_sep|>DobbyTests/MockSpec.swift.diff original: updated: var failureMessageSent = false <|file_sep|>DobbyTests/MockSpec.swift.diff original: updated: failureMessageSent = true <|file_sep|>original/DobbyTests/MockSpec.swift mock.verify() } ...
3b992f1c56c509dd954721e2dcbfc605ac95fc1c
DobbyTests/MockSpec.swift
DobbyTests/MockSpec.swift
Swift
<|file_sep|>original/install-insomnia-rest-client-deb.sh <|file_sep|>current/install-insomnia-rest-client-deb.sh <|file_sep|>updated/install-insomnia-rest-client-deb.sh
#!/bin/bash cd /tmp && wget https://builds.insomnia.rest/downloads/ubuntu/latest -O \ insomnia-rest-client.deb && sudo dpkg -i ./insomnia-rest-client.deb
<|file_sep|>original/install-insomnia-rest-client-deb.sh <|file_sep|>current/install-insomnia-rest-client-deb.sh <|file_sep|>updated/install-insomnia-rest-client-deb.sh #!/bin/bash cd /tmp && wget https://builds.insomnia.rest/downloads/ubuntu/latest -O \ insomnia-rest-client.deb && sudo dpkg -i ./insomnia-rest-client...
08b5cc81927dd1a39704236753529cb8ca08876f
install-insomnia-rest-client-deb.sh
install-insomnia-rest-client-deb.sh
Shell
<|file_sep|>wercker.yml.diff original: updated: services: - wercker/postgresql <|file_sep|>original/wercker.yml # http://devcenter.wercker.com/docs/services/mongodb.html # This is the build pipeline. Pipelines are the core of wercker # Read more about pipelines on our dev center # http://devcenter.wercker.com/d...
# Read more about pipelines on our dev center # http://devcenter.wercker.com/docs/pipelines/index.html services: - wercker/postgresql build: # Steps make up the actions in your pipeline # Read more about steps on our dev center: # http://devcenter.wercker.com/docs/steps/index.html steps: - bun...
<|file_sep|>wercker.yml.diff original: updated: services: - wercker/postgresql <|file_sep|>original/wercker.yml # http://devcenter.wercker.com/docs/services/mongodb.html # This is the build pipeline. Pipelines are the core of wercker # Read more about pipelines on our dev center # http://devcenter.wercker.com/d...
2e2815f96f44d57e2133e4f8c87c832e1118ea19
wercker.yml
wercker.yml
YAML
<|file_sep|>original/core/src/main/java/com/threerings/nexus/util/Callback.java public void onFailure (Throwable cause) { _onFailure.onFailure(cause); } protected Callback<?> _onFailure; } public static class NoOp<T> implements Callback<T> { @Override public void onS...
public void onFailure (Throwable cause) { _onFailure.onFailure(cause); } protected Callback<?> _onFailure; } /** A callback that does nothing, including nothing in the event of failure. Don't use this if * doing so will result in the suppression of errors! */ public...
<|file_sep|>original/core/src/main/java/com/threerings/nexus/util/Callback.java public void onFailure (Throwable cause) { _onFailure.onFailure(cause); } protected Callback<?> _onFailure; } public static class NoOp<T> implements Callback<T> { @Override public void onS...
465959f52573d4396e0d471e197e0dec09ab591a
core/src/main/java/com/threerings/nexus/util/Callback.java
core/src/main/java/com/threerings/nexus/util/Callback.java
Java
<|file_sep|>.github/workflows/copy-pr-template-to-dependabot-prs.yaml.diff original: updated: <|file_sep|>.github/workflows/copy-pr-template-to-dependabot-prs.yaml.diff original: updated: permissions: contents: read pull-requests: write <|file_sep|>.github/workflows/copy-pr-template-to-dependabot-prs.yaml.diff...
- uses: actions/checkout@v3 - name: Post PR template as a comment uses: actions/github-script@v6 with: script: | const fs = require('fs') const body = [ "pull_request_template.md", ".github/pull_request_template.md", ...
<|file_sep|>.github/workflows/copy-pr-template-to-dependabot-prs.yaml.diff original: updated: <|file_sep|>.github/workflows/copy-pr-template-to-dependabot-prs.yaml.diff original: updated: permissions: contents: read pull-requests: write <|file_sep|>.github/workflows/copy-pr-template-to-dependabot-prs.yaml.diff...
b7969c8211c092cc5d8377b4da29b5e376cbba0f
.github/workflows/copy-pr-template-to-dependabot-prs.yaml
.github/workflows/copy-pr-template-to-dependabot-prs.yaml
YAML
<|file_sep|>test/elm-package.json.diff original: "deadfoxygrandpa/Elm-Test": "1.0.4 <= v < 2.0.0" updated: "avh4/elm-test": "1.0.0 <= v < 2.0.0" <|file_sep|>original/test/elm-package.json { "version": "5.2.1", "summary": "Tests for elm-signal-extra", "repository": "https://github.com/Apanats...
{ "version": "5.2.1", "summary": "Tests for elm-signal-extra", "repository": "https://github.com/Apanatshka/elm-signal-extra.git", "license": "MIT", "source-directories": [ ".", "../src" ], "exposed-modules": [ ], "native-modules": true, "dependencies": { ...
<|file_sep|>test/elm-package.json.diff original: "deadfoxygrandpa/Elm-Test": "1.0.4 <= v < 2.0.0" updated: "avh4/elm-test": "1.0.0 <= v < 2.0.0" <|file_sep|>original/test/elm-package.json { "version": "5.2.1", "summary": "Tests for elm-signal-extra", "repository": "https://github.com/Apanats...
2a9c514b0ba77e972b0a93d47811a3566b9c0482
test/elm-package.json
test/elm-package.json
JSON
<|file_sep|>stdlib/uri.rb.diff original: def self.decode_www_form(str, separator: '&', isindex: false) %x{ var str = #{str}; var ary = []; if (str.length == 0) { return ary; } var parts = str.split(#{separator}); for (var i = 0; i < parts.length; i++) { var string = parts[i]; var comps ...
var key = comps[0]; var val = comps[1]; if (#{isindex}) { if (comps.length < 2) { val = key; key = ''; } } key = decodeURIComponent(key.replace(/\+/g, ' ')); if (val) { val = decodeURIComponent(val.replace(/\+/g, ' ')...
<|file_sep|>stdlib/uri.rb.diff original: def self.decode_www_form(str, separator: '&', isindex: false) %x{ var str = #{str}; var ary = []; if (str.length == 0) { return ary; } var parts = str.split(#{separator}); for (var i = 0; i < parts.length; i++) { var string = parts[i]; var comps ...
21a2df6e28bc46db584de09bfd0e981548ca9b9a
stdlib/uri.rb
stdlib/uri.rb
Ruby
<|file_sep|>original/django_excel_tools/exceptions.py class BaseExcelError(Exception): def __init__(self, message): super(BaseExcelError, self).__init__() self.message = message class ValidationError(BaseExcelError): pass class ColumnNotEqualError(BaseExcelError): pass class FieldNotE...
class BaseExcelError(Exception): def __init__(self, message): super(BaseExcelError, self).__init__() self.message = message class ValidationError(BaseExcelError): pass class ColumnNotEqualError(BaseExcelError): pass class FieldNotExist(BaseExcelError): pass class SerializerConfi...
<|file_sep|>original/django_excel_tools/exceptions.py class BaseExcelError(Exception): def __init__(self, message): super(BaseExcelError, self).__init__() self.message = message class ValidationError(BaseExcelError): pass class ColumnNotEqualError(BaseExcelError): pass class FieldNotE...
dae9d7d67aaf2ab8d39b232d243d860d9597bbd2
django_excel_tools/exceptions.py
django_excel_tools/exceptions.py
Python
<|file_sep|>original/README.md A PHP client library for the [Datatrans Payment XML API](https://www.datatrans.ch/showcase/). TODO ---- - Documentation - Authorisation API - Settlement API - Unit tests - Travis CI integration - Scrutinizer CI integration - Logger integration Similar Projects ---------------- Datatra...
TODO ---- - Documentation - Authorisation API - Settlement API - Unit tests - Travis CI integration - Scrutinizer CI integration - Logger integration - Support for "Digital signature" (sign & sign2) Similar Projects ---------------- Datatrans Authorisation by Ibrows https://github.com/ibrows/datatrans Datatrans Sy...
<|file_sep|>original/README.md A PHP client library for the [Datatrans Payment XML API](https://www.datatrans.ch/showcase/). TODO ---- - Documentation - Authorisation API - Settlement API - Unit tests - Travis CI integration - Scrutinizer CI integration - Logger integration Similar Projects ---------------- Datatra...
4889287a60e3d503bdf4dbd0b57c0ec359474fe4
README.md
README.md
Markdown
<|file_sep|>original/comics/comics/sequentialart.py from comics.core.comic_data import ComicDataBase class ComicData(ComicDataBase): name = "Sequential Art" language = "en" url = "http://www.collectedcurios.com/" start_date = "2005-06-13" rights = "Phillip M. Jackson" class Crawler(CrawlerBase):...
from comics.core.comic_data import ComicDataBase class ComicData(ComicDataBase): name = "Sequential Art" language = "en" url = "http://www.collectedcurios.com/" start_date = "2005-06-13" rights = "Phillip M. Jackson" class Crawler(CrawlerBase): schedule = "We" time_zone = "Europe/London"...
<|file_sep|>original/comics/comics/sequentialart.py from comics.core.comic_data import ComicDataBase class ComicData(ComicDataBase): name = "Sequential Art" language = "en" url = "http://www.collectedcurios.com/" start_date = "2005-06-13" rights = "Phillip M. Jackson" class Crawler(CrawlerBase):...
b36da5a46137fc1d6fdad4a2ffbb62ad8a284046
comics/comics/sequentialart.py
comics/comics/sequentialart.py
Python
<|file_sep|>original/CHANGELOG.md <|file_sep|>current/CHANGELOG.md <|file_sep|>updated/CHANGELOG.md
# Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/). ## Unreleased ### Added - [TT-1392] Changelog file
<|file_sep|>original/CHANGELOG.md <|file_sep|>current/CHANGELOG.md <|file_sep|>updated/CHANGELOG.md # Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). This changelog adheres to [Keep a CHANGELOG](http://keepachangelo...
bf7e2a14172c1662fc289aa31f0e30f79ef85776
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: # optional <|file_sep|>.travis.yml.diff original: # - rbx-2 updated: - rbx-2 <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2 - jruby-19mode - rbx-19mode # - rbx-2 matrix: allow_failures: - rvm: jruby-19mode script: bun...
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2 # optional - jruby-19mode - rbx-19mode - rbx-2 matrix: allow_failures: - rvm: jruby-19mode - rvm: rbx-19mode - rvm: rbx-2 script: bundle exec rake
<|file_sep|>.travis.yml.diff original: updated: # optional <|file_sep|>.travis.yml.diff original: # - rbx-2 updated: - rbx-2 <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2 - jruby-19mode - rbx-19mode # - rbx-2 matrix: allow_failures: - rvm: jruby-19mode script: bun...
6bd5369d6ec273058460eb907ab8ebf74a5ce797
.travis.yml
.travis.yml
YAML
<|file_sep|>src/test/java/guitests/HelpWindowTest.java.diff original: updated: import seedu.taskitty.model.task.Task; <|file_sep|>src/test/java/guitests/HelpWindowTest.java.diff original: /* updated: <|file_sep|>src/test/java/guitests/HelpWindowTest.java.diff original: taskListPanel.clickOnListView(); update...
public class HelpWindowTest extends TaskManagerGuiTest { @Test public void openHelpWindow() { //click anywhere on the app taskListPanel.clickOnListView(Task.TASK_COMPONENT_COUNT); assertHelpWindowOpen(mainMenu.openHelpWindowUsingAccelerator()); assertHelpWindowOpen(mainMenu.o...
<|file_sep|>src/test/java/guitests/HelpWindowTest.java.diff original: updated: import seedu.taskitty.model.task.Task; <|file_sep|>src/test/java/guitests/HelpWindowTest.java.diff original: /* updated: <|file_sep|>src/test/java/guitests/HelpWindowTest.java.diff original: taskListPanel.clickOnListView(); update...
41a98a7ef664fafc801a3985a56ed15959b10831
src/test/java/guitests/HelpWindowTest.java
src/test/java/guitests/HelpWindowTest.java
Java
<|file_sep|>Modules/TubeGraph/CMakeLists.txt.diff original: updated: set(disable_module 0) if(GCC_VERSION VERSION_GREATER 0 AND GCC_VERSION VERSION_LESS 4.7) # The Boost Graph library at least up to version 1.57 does not # compile with gcc < 4.7 and -std=c++0x, see # http://stackoverflow.com/questions/2539580...
set(disable_module 0) if(GCC_VERSION VERSION_GREATER 0 AND GCC_VERSION VERSION_LESS 4.7) # The Boost Graph library at least up to version 1.57 does not # compile with gcc < 4.7 and -std=c++0x, see # http://stackoverflow.com/questions/25395805/compile-error-with-boost-graph-1-56-0-and-g-4-6-4 set(disable_modu...
<|file_sep|>Modules/TubeGraph/CMakeLists.txt.diff original: updated: set(disable_module 0) if(GCC_VERSION VERSION_GREATER 0 AND GCC_VERSION VERSION_LESS 4.7) # The Boost Graph library at least up to version 1.57 does not # compile with gcc < 4.7 and -std=c++0x, see # http://stackoverflow.com/questions/2539580...
51a11b61451ab94d6606c66fffd5485c04c8f91f
Modules/TubeGraph/CMakeLists.txt
Modules/TubeGraph/CMakeLists.txt
Text
<|file_sep|>src/renderer/app/components/HistoryItem/index.tsx.diff original: const onClick = (data: HistoryItem) => (e: React.MouseEvent) => { updated: const onClick = (item: HistoryItem) => (e: React.MouseEvent) => { <|file_sep|>src/renderer/app/components/HistoryItem/index.tsx.diff original: data.selected = !data...
}; const onRemoveClick = (item: HistoryItem) => () => { store.historyStore.removeItem(item._id); }; export default observer(({ data }: { data: HistoryItem }) => { return ( <Item key={data._id} onClick={onClick(data)} selected={data.selected}> <Favicon style={{ backgroundImage: `url(${s...
<|file_sep|>src/renderer/app/components/HistoryItem/index.tsx.diff original: const onClick = (data: HistoryItem) => (e: React.MouseEvent) => { updated: const onClick = (item: HistoryItem) => (e: React.MouseEvent) => { <|file_sep|>src/renderer/app/components/HistoryItem/index.tsx.diff original: data.selected = !data...
5adfda2e3598f29bf64e50a907301f339d11e367
src/renderer/app/components/HistoryItem/index.tsx
src/renderer/app/components/HistoryItem/index.tsx
TypeScript
<|file_sep|>original/public/scripts/app/testsiteconfig.js // Includes file dependencies define([ ], function () { var ConfigPubstorm = { serverURL: "https://stagingapi.undergroundtheater.org/parse", facebookAppId: "1606746326305984", redirect_uri: "https://stagingpatron.undergroundtheater.o...
// Includes file dependencies define([ ], function () { var ConfigPubstorm = { serverURL: "https://stagingapi.undergroundtheater.org/parse", facebookAppId: "1606746326305984", redirect_uri: "https://stagingpatron.undergroundtheater.org/index.html", SAMPLE_TROUPE_ID: "WOad4CBTsG" ...
<|file_sep|>original/public/scripts/app/testsiteconfig.js // Includes file dependencies define([ ], function () { var ConfigPubstorm = { serverURL: "https://stagingapi.undergroundtheater.org/parse", facebookAppId: "1606746326305984", redirect_uri: "https://stagingpatron.undergroundtheater.o...
6cef27fb8a0b6eccfd04e6ad061716fdc51bbb5f
public/scripts/app/testsiteconfig.js
public/scripts/app/testsiteconfig.js
JavaScript
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.2 - 2.1.1 - 2.1.0 - 1.9.3-p392 - 1.9.3-p429 - 1.9.3-p448 script: "bundle exec rake spec:with_coveralls" notifications: slack: sachin21dev:3pEyff2UFnoCgl4NI0uxbsER <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.2 - 2.1.1 - 2.1....
language: ruby rvm: - ruby-2.3.0 - 2.1.2 - 2.1.1 - 2.1.0 - 1.9.3-p392 - 1.9.3-p429 - 1.9.3-p448 script: "bundle exec rake spec:with_coveralls" notifications: slack: sachin21dev:3pEyff2UFnoCgl4NI0uxbsER
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.2 - 2.1.1 - 2.1.0 - 1.9.3-p392 - 1.9.3-p429 - 1.9.3-p448 script: "bundle exec rake spec:with_coveralls" notifications: slack: sachin21dev:3pEyff2UFnoCgl4NI0uxbsER <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.2 - 2.1.1 - 2.1....
b5ccf27a34f19f165ece0fc9cabe87aebc9f62e2
.travis.yml
.travis.yml
YAML
<|file_sep|>articles/auth0-hooks/extensibility-points/post-user-registration.md.diff original: ```js module.exports = function (user, context, cb) { // Send message to Slack etc. cb(null, { slack_notified: true }); }; ``` updated: <|file_sep|>original/articles/auth0-hooks/extensibility-points/post-user-registrati...
--- description: The post-user-registration extensibility point for use with Auth0 Hooks --- # Extensibility Point: Post-User Registration The `post-user-registration` extensibility point allows you to implement custom actions that execute after a new user registers and is added to the database. Hooks associated with...
<|file_sep|>articles/auth0-hooks/extensibility-points/post-user-registration.md.diff original: ```js module.exports = function (user, context, cb) { // Send message to Slack etc. cb(null, { slack_notified: true }); }; ``` updated: <|file_sep|>original/articles/auth0-hooks/extensibility-points/post-user-registrati...
ccf4e415bb2ad36380f5d8cfa541784e44bebeb7
articles/auth0-hooks/extensibility-points/post-user-registration.md
articles/auth0-hooks/extensibility-points/post-user-registration.md
Markdown
<|file_sep|>original/recipes/ansible-core/meta.yaml <|file_sep|>current/recipes/ansible-core/meta.yaml <|file_sep|>updated/recipes/ansible-core/meta.yaml
{% set name = "ansible-core" %} {% set version = "2.11.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 9470ceb710711eacd75f1bcae802af036ab2a6c2cd5a13bfcb50b2d89667c9c5 build: number: ...
<|file_sep|>original/recipes/ansible-core/meta.yaml <|file_sep|>current/recipes/ansible-core/meta.yaml <|file_sep|>updated/recipes/ansible-core/meta.yaml {% set name = "ansible-core" %} {% set version = "2.11.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/s...
7533410ed07f09b2fc02d66bb496bf68b12e3f59
recipes/ansible-core/meta.yaml
recipes/ansible-core/meta.yaml
YAML
<|file_sep|>original/boardinghouse/tests/test_sql.py <|file_sep|>current/boardinghouse/tests/test_sql.py <|file_sep|>updated/boardinghouse/tests/test_sql.py
""" Tests for the RAW sql functions. """ from django.conf import settings from django.test import TestCase from django.db.models import connection from boardinghouse.models import Schema class TestRejectSchemaColumnChange(TestCase): def test_exception_is_raised(self): Schema.objects.mass_create('a') ...
<|file_sep|>original/boardinghouse/tests/test_sql.py <|file_sep|>current/boardinghouse/tests/test_sql.py <|file_sep|>updated/boardinghouse/tests/test_sql.py """ Tests for the RAW sql functions. """ from django.conf import settings from django.test import TestCase from django.db.models import connection from boardin...
7aac6f1b6407300033e5ba46b61b9b8f0ae089c3
boardinghouse/tests/test_sql.py
boardinghouse/tests/test_sql.py
Python
<|file_sep|>original/event/timeout_queue.h #ifndef TIMEOUT_QUEUE_H #define TIMEOUT_QUEUE_H #include <map> class TimeoutQueue { typedef std::map<NanoTime, CallbackQueue> timeout_map_t; LogHandle log_; timeout_map_t timeout_queue_; public: TimeoutQueue(void) : log_("/event/timeout/queue"), timeout_queue_() { ...
#ifndef TIMEOUT_QUEUE_H #define TIMEOUT_QUEUE_H #include <map> #include <common/time/time.h> class TimeoutQueue { typedef std::map<NanoTime, CallbackQueue> timeout_map_t; LogHandle log_; timeout_map_t timeout_queue_; public: TimeoutQueue(void) : log_("/event/timeout/queue"), timeout_queue_() { } ~Timeout...
<|file_sep|>original/event/timeout_queue.h #ifndef TIMEOUT_QUEUE_H #define TIMEOUT_QUEUE_H #include <map> class TimeoutQueue { typedef std::map<NanoTime, CallbackQueue> timeout_map_t; LogHandle log_; timeout_map_t timeout_queue_; public: TimeoutQueue(void) : log_("/event/timeout/queue"), timeout_queue_() { ...
fae7949017389ee7c127883fdfcd3672f98e2fc3
event/timeout_queue.h
event/timeout_queue.h
C
<|file_sep|>original/app/assets/stylesheets/modules/generic.sass html background: $body-bg ::selection background: $primary-color color: white .flash .alert-box text-align: center margin-bottom: 0 ul.no-style list-style: none .reveal-modal border-radius: 4px z-index: 101 .reveal-modal-bg z-...
html background: $body-bg ::selection, ::-moz-selection background: $primary-color color: white .flash .alert-box text-align: center margin-bottom: 0 ul.no-style list-style: none .reveal-modal border-radius: 4px z-index: 101 .reveal-modal-bg z-index: 100
<|file_sep|>original/app/assets/stylesheets/modules/generic.sass html background: $body-bg ::selection background: $primary-color color: white .flash .alert-box text-align: center margin-bottom: 0 ul.no-style list-style: none .reveal-modal border-radius: 4px z-index: 101 .reveal-modal-bg z-...
e76a0c04ba6df00428700e441d7a6cdeedc07586
app/assets/stylesheets/modules/generic.sass
app/assets/stylesheets/modules/generic.sass
Sass