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/requirements-dev.txt -r requirements.txt freezegun==0.3.11 pytest==4.4.2 pytest-mock==1.10.4 sphinx==1.8.5 <|file_sep|>current/requirements-dev.txt -r requirements.txt freezegun==0.3.11 pytest==4.4.2 pytest-mock==1.10.4 sphinx==1.8.5 <|file_sep|>updated/requirements-dev.txt
-r requirements.txt freezegun==0.3.11 pytest==4.5.0 pytest-mock==1.10.4 sphinx==1.8.5
<|file_sep|>original/requirements-dev.txt -r requirements.txt freezegun==0.3.11 pytest==4.4.2 pytest-mock==1.10.4 sphinx==1.8.5 <|file_sep|>current/requirements-dev.txt -r requirements.txt freezegun==0.3.11 pytest==4.4.2 pytest-mock==1.10.4 sphinx==1.8.5 <|file_sep|>updated/requirements-dev.txt -r requirements.txt free...
8361a09553366a047acb5b7099028e466dcb8459
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/source/_posts/2016-03-29-integer-code-of-chars.md <|file_sep|>current/source/_posts/2016-03-29-integer-code-of-chars.md <|file_sep|>updated/source/_posts/2016-03-29-integer-code-of-chars.md
--- layout: post title: "Integer code of a character" keywords: "char, character, code" category: "characters" comments: true --- Single-quoted strings in Elixir are represented by a list of integer values, each value representing a character. Get the integer code of a character using `?`: {% highlight elixir %} ie...
<|file_sep|>original/source/_posts/2016-03-29-integer-code-of-chars.md <|file_sep|>current/source/_posts/2016-03-29-integer-code-of-chars.md <|file_sep|>updated/source/_posts/2016-03-29-integer-code-of-chars.md --- layout: post title: "Integer code of a character" keywords: "char, character, code" category: "charact...
d78b2e1a2e4a9611984f3fc19d7355d70ddd3e1e
source/_posts/2016-03-29-integer-code-of-chars.md
source/_posts/2016-03-29-integer-code-of-chars.md
Markdown
<|file_sep|>original/_scripts/all-logos.sh <|file_sep|>current/_scripts/all-logos.sh <|file_sep|>updated/_scripts/all-logos.sh
#!/bin/sh sh ./circular-logo.sh 5840a6848d777f5cdd826ef6 candela.png sh ./circular-logo.sh 5840a5bf8d777f5cdd826ebe girder.png sh ./circular-logo.sh 5840a6638d777f5cdd826eda girder-worker.png sh ./circular-logo.sh 5840a6a68d777f5cdd826f15 tangelo.png
<|file_sep|>original/_scripts/all-logos.sh <|file_sep|>current/_scripts/all-logos.sh <|file_sep|>updated/_scripts/all-logos.sh #!/bin/sh sh ./circular-logo.sh 5840a6848d777f5cdd826ef6 candela.png sh ./circular-logo.sh 5840a5bf8d777f5cdd826ebe girder.png sh ./circular-logo.sh 5840a6638d777f5cdd826eda girder-worker.pn...
97813d28c875a075cac55788fb485b5020ed02b8
_scripts/all-logos.sh
_scripts/all-logos.sh
Shell
<|file_sep|>src/field/phone-number/ask_phone_number.jsx.diff original: const Component = ({focusSubmit, model, t}) => ( updated: const Component = ({focusSubmit, i18n, model}) => ( <|file_sep|>original/src/field/phone-number/ask_phone_number.jsx import Screen from '../../core/screen'; import PhoneNumberPane from './pho...
import Screen from '../../core/screen'; import PhoneNumberPane from './phone_number_pane'; import { renderAskLocation } from './ask_location'; import { cancelSelectPhoneLocation } from './actions'; import { selectingLocation } from './index'; const Component = ({focusSubmit, i18n, model}) => ( <PhoneNumberPane f...
<|file_sep|>src/field/phone-number/ask_phone_number.jsx.diff original: const Component = ({focusSubmit, model, t}) => ( updated: const Component = ({focusSubmit, i18n, model}) => ( <|file_sep|>original/src/field/phone-number/ask_phone_number.jsx import Screen from '../../core/screen'; import PhoneNumberPane from './pho...
a67d307e7f266060f01ada61484662f3f57d145a
src/field/phone-number/ask_phone_number.jsx
src/field/phone-number/ask_phone_number.jsx
JSX
<|file_sep|>original/.travis.yml language: node_js node_js: - "stable" cache: directories: - node_modules script: - npm run lint - npm test <|file_sep|>current/.travis.yml language: node_js node_js: - "stable" cache: directories: - node_modules script: - npm run lint - np...
language: node_js node_js: - "stable" cache: directories: - node_modules script: - npm install - npm run lint - npm test
<|file_sep|>original/.travis.yml language: node_js node_js: - "stable" cache: directories: - node_modules script: - npm run lint - npm test <|file_sep|>current/.travis.yml language: node_js node_js: - "stable" cache: directories: - node_modules script: - npm run lint - np...
d3f3ee523eefc81838a1f8aa5cb78344719a6d64
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/cases/fourslash/completionListInFunctionExpression.ts /// <reference path="fourslash.ts"/> ////interface Number { //// toString(radix?: number): string; //// toFixed(fractionDigits?: number): string; //// toExponential(fractionDigits?: number): string; //// toPrecision(precision:...
/// <reference path="fourslash.ts"/> ////() => { //// var foo = 0; //// /*requestCompletion*/ //// foo./*memberCompletion*/toString; ////}/*editDeclaration*/ goTo.marker("requestCompletion"); verify.memberListContains("foo"); goTo.marker("memberCompletion"); verify.memberListContains("toExponential"); // N...
<|file_sep|>original/tests/cases/fourslash/completionListInFunctionExpression.ts /// <reference path="fourslash.ts"/> ////interface Number { //// toString(radix?: number): string; //// toFixed(fractionDigits?: number): string; //// toExponential(fractionDigits?: number): string; //// toPrecision(precision:...
e5a8592786d503c84d7439fc1aeb8cbec9e0713c
tests/cases/fourslash/completionListInFunctionExpression.ts
tests/cases/fourslash/completionListInFunctionExpression.ts
TypeScript
<|file_sep|>.travis.yml.diff original: - sys-img-x86-android-19 updated: - sys-img-armabi-v7a-android-19 <|file_sep|>original/.travis.yml # if you need to run emulator(s) during your tests - sys-img-x86-android-19 jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.loc...
# if you need to run emulator(s) during your tests - sys-img-armabi-v7a-android-19 jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ before_script: - echo no | android create avd --force -...
<|file_sep|>.travis.yml.diff original: - sys-img-x86-android-19 updated: - sys-img-armabi-v7a-android-19 <|file_sep|>original/.travis.yml # if you need to run emulator(s) during your tests - sys-img-x86-android-19 jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.loc...
54d1d34d90861f44297d75ce6caa87b90021bc5a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt hiredis==2.0.0 itsdangerous==2.0.1 jinja2==3.0.2 markupsafe==2.0.1 marrow.mailer==4.0.3 marrow.util==1.2.3 marshmallow==3.13.0 pendulum==2.1.2 pillow==8.4.0 psycopg2-binary==2.9.1 python-dateutil==2.8.2 pytzdata==2020.1 redis==3.5.3 requests==2.26.0 rq==1.10.0 rq-dashboard==0.6.1 r...
hiredis==2.0.0 itsdangerous==2.0.1 jinja2==3.0.2 markupsafe==2.0.1 marrow.mailer==4.0.3 marrow.util==1.2.3 marshmallow==3.13.0 pendulum==2.1.2 pillow==8.4.0 psycopg2-binary==2.9.1 python-dateutil==2.8.2 pytzdata==2020.1 redis==3.5.3 requests==2.26.0 rq==1.10.0 rq-dashboard==0.6.1 rtoml==0.7.0 sqlalchemy==1.4.26 tenacit...
<|file_sep|>original/requirements.txt hiredis==2.0.0 itsdangerous==2.0.1 jinja2==3.0.2 markupsafe==2.0.1 marrow.mailer==4.0.3 marrow.util==1.2.3 marshmallow==3.13.0 pendulum==2.1.2 pillow==8.4.0 psycopg2-binary==2.9.1 python-dateutil==2.8.2 pytzdata==2020.1 redis==3.5.3 requests==2.26.0 rq==1.10.0 rq-dashboard==0.6.1 r...
959f4cbc16fcda85f532611ca5e224bedf975a40
requirements.txt
requirements.txt
Text
<|file_sep|>.travis.yml.diff original: - '4' updated: <|file_sep|>.travis.yml.diff original: - MAIN_RUN=true - MAIN_RUN=false && REACT_VERSION=0.14 - MAIN_RUN=false && REACT_VERSION=15.0 updated: - REACT_VERSION=0.14.9 - REACT_VERSION=15.0 - REACT_VERSION=16.0 <|file_sep|>.travis.yml.diff original: - n...
language: node_js sudo: false node_js: - '10' - '8' - '6' env: - REACT_VERSION=0.14.9 - REACT_VERSION=15.0 - REACT_VERSION=16.0 before_install: - npm install -g npm@6.4.1 before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - npm install react-dom@^$REACT_VERSION react@^$REACT_VERSIO...
<|file_sep|>.travis.yml.diff original: - '4' updated: <|file_sep|>.travis.yml.diff original: - MAIN_RUN=true - MAIN_RUN=false && REACT_VERSION=0.14 - MAIN_RUN=false && REACT_VERSION=15.0 updated: - REACT_VERSION=0.14.9 - REACT_VERSION=15.0 - REACT_VERSION=16.0 <|file_sep|>.travis.yml.diff original: - n...
3c5a5af34e12b387be86c84235598063423d3cb7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/composer.json { "name": "swarrot/swarrot", "description": "A simple lib to consume RabbitMQ queues", "keywords": ["swarrot","worker"], "type": "library", "license": "MIT", "authors": [ { "name": "Olivier Dolbeau", "homepage": "http://od...
{ "name": "swarrot/swarrot", "description": "A simple lib to consume RabbitMQ queues", "keywords": ["swarrot","worker","queue","amqp"], "type": "library", "license": "MIT", "authors": [ { "name": "Olivier Dolbeau", "homepage": "http://odolbeau.fr/" ...
<|file_sep|>original/composer.json { "name": "swarrot/swarrot", "description": "A simple lib to consume RabbitMQ queues", "keywords": ["swarrot","worker"], "type": "library", "license": "MIT", "authors": [ { "name": "Olivier Dolbeau", "homepage": "http://od...
ef0e667deb48a8c5a1468b82af98925f36fcb51b
composer.json
composer.json
JSON
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "iojs" install: - travis_retry npm install -g grunt-cli@0.1.9 - travis_retry npm install notifications: email: false cache: directories: - node_modules branches: only: - master env: - TEST_CMD: test:unit - TEST_CMD: shell:c...
language: node_js node_js: - "0.10" install: - travis_retry npm install -g grunt-cli@0.1.9 - travis_retry npm install notifications: email: false cache: directories: - node_modules branches: only: - master env: - TEST_CMD: test:unit - TEST_CMD: shell:cheapseats:--range:0..1 # Add back in when we...
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "iojs" install: - travis_retry npm install -g grunt-cli@0.1.9 - travis_retry npm install notifications: email: false cache: directories: - node_modules branches: only: - master env: - TEST_CMD: test:unit - TEST_CMD: shell:c...
2831d0eba9cd5f7435aa62d6b1b4d28c2bc6c413
.travis.yml
.travis.yml
YAML
<|file_sep|>original/openvidu-server/src/main/java/io/openvidu/server/utils/RecordingUtils.java import io.openvidu.java.client.Recording.OutputMode; import io.openvidu.java.client.RecordingProperties; import io.openvidu.server.core.Session; public final class RecordingUtils { public final static boolean IS_COMPOSED...
import io.openvidu.java.client.Recording.OutputMode; import io.openvidu.java.client.RecordingProperties; import io.openvidu.server.core.Session; public final class RecordingUtils { public final static boolean IS_COMPOSED(OutputMode outputMode) { return (OutputMode.COMPOSED.equals(outputMode) || OutputMode.COMPOSE...
<|file_sep|>original/openvidu-server/src/main/java/io/openvidu/server/utils/RecordingUtils.java import io.openvidu.java.client.Recording.OutputMode; import io.openvidu.java.client.RecordingProperties; import io.openvidu.server.core.Session; public final class RecordingUtils { public final static boolean IS_COMPOSED...
fc7c127a4ed7b20aeaa5b2f032e71a952fac8d29
openvidu-server/src/main/java/io/openvidu/server/utils/RecordingUtils.java
openvidu-server/src/main/java/io/openvidu/server/utils/RecordingUtils.java
Java
<|file_sep|>original/frontend/package.json { "devDependencies": { "bower": "^1.3.12", "gulp": "^3.8.10", "gulp-bower": "0.0.10", "gulp-concat": "^2.4.2", "gulp-jshint": "^2.0.2", "gulp-less": "2.0.1", "gulp-livereload": "^3.2.0", "gulp-ng-annotate": "^0.5.2", "gulp-rename": "^1.2.0...
{ "devDependencies": { "bower": "^1.3.12", "gulp": "^3.8.10", "gulp-bower": "0.0.10", "gulp-concat": "^2.4.2", "jshint": "2.x", "gulp-jshint": "^2.0.2", "gulp-less": "2.0.1", "gulp-livereload": "^3.2.0", "gulp-ng-annotate": "^0.5.2", "gulp-rename": "^1.2.0", "gulp-uglify": ...
<|file_sep|>original/frontend/package.json { "devDependencies": { "bower": "^1.3.12", "gulp": "^3.8.10", "gulp-bower": "0.0.10", "gulp-concat": "^2.4.2", "gulp-jshint": "^2.0.2", "gulp-less": "2.0.1", "gulp-livereload": "^3.2.0", "gulp-ng-annotate": "^0.5.2", "gulp-rename": "^1.2.0...
f8950d47a4a34d283e795b4229d855e5528450aa
frontend/package.json
frontend/package.json
JSON
<|file_sep|>app/models/rooms/rooms.py.diff original: from models.people.people import Staff, Fellow from models.rooms.rooms import Office, LivingSpace import random updated: import os import sys from os import path sys.path.append(path.dirname(path.dirname(path.abspath(__file__)))) <|file_sep|>app/models/rooms/rooms.py...
import os import sys from os import path sys.path.append(path.dirname(path.dirname(path.abspath(__file__)))) class Room(object): """Models the kind of rooms available at Andela, It forms the base class Room from which OfficeSpace and LivingRoom inherit""" def __init__(self, room_name, room_type, room_...
<|file_sep|>app/models/rooms/rooms.py.diff original: from models.people.people import Staff, Fellow from models.rooms.rooms import Office, LivingSpace import random updated: import os import sys from os import path sys.path.append(path.dirname(path.dirname(path.abspath(__file__)))) <|file_sep|>app/models/rooms/rooms.py...
8386d7372f9ff8bfad651efe43504746aff19b73
app/models/rooms/rooms.py
app/models/rooms/rooms.py
Python
<|file_sep|>original/src/rotating_seq/core.clj <|file_sep|>current/src/rotating_seq/core.clj <|file_sep|>updated/src/rotating_seq/core.clj
(ns rotating-seq.core) (defn create-r-seq [bucket-lifetime expire-interval] (assert (zero? (mod bucket-lifetime expire-interval)) "Bucket lifetime must divide evenly over expiration interval") (let [n-buckets (int (Math/ceil (/ bucket-lifetime expire-interval)))] (vec (repeat n-buckets (list))))) (defn add-to...
<|file_sep|>original/src/rotating_seq/core.clj <|file_sep|>current/src/rotating_seq/core.clj <|file_sep|>updated/src/rotating_seq/core.clj (ns rotating-seq.core) (defn create-r-seq [bucket-lifetime expire-interval] (assert (zero? (mod bucket-lifetime expire-interval)) "Bucket lifetime must divide evenly over expir...
262e710e6fd1d5aa0c661163922878c46e1a496f
src/rotating_seq/core.clj
src/rotating_seq/core.clj
Clojure
<|file_sep|>original/src/vs/base/common/numbers.ts if (types.isNumber(toOrCallback)) { from = fromOrTo; to = <number>toOrCallback; } else { from = 0; to = fromOrTo; callback = <NumberCallback>toOrCallback; } const op = from <= to ? (i: number) => i + 1 : (i: number) => i - 1; const cmp = from <= to ? (a...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
<|file_sep|>original/src/vs/base/common/numbers.ts if (types.isNumber(toOrCallback)) { from = fromOrTo; to = <number>toOrCallback; } else { from = 0; to = fromOrTo; callback = <NumberCallback>toOrCallback; } const op = from <= to ? (i: number) => i + 1 : (i: number) => i - 1; const cmp = from <= to ? (a...
40a3c1fcd50dd37e97dea316dbc68702858f40b4
src/vs/base/common/numbers.ts
src/vs/base/common/numbers.ts
TypeScript
<|file_sep|>original/container/getPureElkIndex.py __author__ = 'terry' import sys from elasticsearch import Elasticsearch import time if __name__ == '__main__': time.sleep(5) # create a connection to the Elasticsearch database client = Elasticsearch(['pureelk-elasticsearch:9200'], retry_on_timeout=True) ...
__author__ = 'terry' import sys from elasticsearch import Elasticsearch import time if __name__ == '__main__': time.sleep(5) # create a connection to the Elasticsearch database client = Elasticsearch(['pureelk-elasticsearch:9200'], retry_on_timeout=True) if client.exists(index='.kibana', doc_type='i...
<|file_sep|>original/container/getPureElkIndex.py __author__ = 'terry' import sys from elasticsearch import Elasticsearch import time if __name__ == '__main__': time.sleep(5) # create a connection to the Elasticsearch database client = Elasticsearch(['pureelk-elasticsearch:9200'], retry_on_timeout=True) ...
0c803c41fc7a54ddf0b8d1c580c39e7e2c325b8b
container/getPureElkIndex.py
container/getPureElkIndex.py
Python
<|file_sep|>original/lib/server/xhr.js var MyXMLHttpRequest = global.XMLHttpRequest = function() { xhr.apply(this, arguments); var oldOpen = this.open; this.open = function() { var args = Array.prototype.slice.call(arguments); var url = args[1]; if(url && !relative.test(url)) { args[1] = MyXMLHttpRequest....
var oldOpen = this.open; this.open = function() { var args = Array.prototype.slice.call(arguments); var url = args[1]; if(url && !relative.test(url)) { args[1] = MyXMLHttpRequest.base + url; } return oldOpen.apply(this, args); }; // jQuery checks for this property to see if XHR supports CORS this.wi...
<|file_sep|>original/lib/server/xhr.js var MyXMLHttpRequest = global.XMLHttpRequest = function() { xhr.apply(this, arguments); var oldOpen = this.open; this.open = function() { var args = Array.prototype.slice.call(arguments); var url = args[1]; if(url && !relative.test(url)) { args[1] = MyXMLHttpRequest....
d0eeb6149b818b966a0d16113121391a76b99e15
lib/server/xhr.js
lib/server/xhr.js
JavaScript
<|file_sep|>original/api/book_info.php <|file_sep|>current/api/book_info.php <|file_sep|>updated/api/book_info.php
<?php require_once '../admin/php/connection.php'; $index = isset($_GET['index'])? $_GET['index'] : 0; $count = isset($_GET['count'])? $_GET['count'] : 20; $db = open_connection(); $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $query = 'SELECT title, COUNT(reveiw.book_isbn) AS reviews FROM book LEF...
<|file_sep|>original/api/book_info.php <|file_sep|>current/api/book_info.php <|file_sep|>updated/api/book_info.php <?php require_once '../admin/php/connection.php'; $index = isset($_GET['index'])? $_GET['index'] : 0; $count = isset($_GET['count'])? $_GET['count'] : 20; $db = open_connection(); $db->setAttribute(PDO...
a855db5021b9baea3d6f012d3d087449d934fe28
api/book_info.php
api/book_info.php
PHP
<|file_sep|>sample/spec/spec_helper.rb.diff original: config.before(:suite) do updated: config.before(:each) do <|file_sep|>original/sample/spec/spec_helper.rb c.syntax = :expect end config.before(:suite) do DatabaseCleaner.clean_with(:truncation) end # If you're not using ActiveRecord, or you'd p...
c.syntax = :expect end config.before(:each) do DatabaseCleaner.clean_with(:truncation) end # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, comment the following line or assign false # instead of true. config.use_transactional_fixtures ...
<|file_sep|>sample/spec/spec_helper.rb.diff original: config.before(:suite) do updated: config.before(:each) do <|file_sep|>original/sample/spec/spec_helper.rb c.syntax = :expect end config.before(:suite) do DatabaseCleaner.clean_with(:truncation) end # If you're not using ActiveRecord, or you'd p...
9f9e6711fe907ebac6c41ded7b89c2232839193f
sample/spec/spec_helper.rb
sample/spec/spec_helper.rb
Ruby
<|file_sep|>original/scripts/sync-schemas.coffee <|file_sep|>current/scripts/sync-schemas.coffee <|file_sep|>updated/scripts/sync-schemas.coffee
fs = require 'fs-extra' path = require 'path' if process.argv.length <= 2 console.log "Usage: #{__filename} snowplow-schema-dir" process.exit -1 source = path.join __dirname, '..', 'app', 'schemas', 'events' target = process.argv[2] fs.readdir source, (err, items) -> if err? console.log err process.e...
<|file_sep|>original/scripts/sync-schemas.coffee <|file_sep|>current/scripts/sync-schemas.coffee <|file_sep|>updated/scripts/sync-schemas.coffee fs = require 'fs-extra' path = require 'path' if process.argv.length <= 2 console.log "Usage: #{__filename} snowplow-schema-dir" process.exit -1 source = path.join __...
e1ed7e6f6e6cf1be53ecf869c13e8400d30bd35d
scripts/sync-schemas.coffee
scripts/sync-schemas.coffee
CoffeeScript
<|file_sep|>original/lib/git_release_notes/cli.rb banner: "URL", type: :string, default: "https://github.com/cloudfoundry/cf-release", aliases: "-u" method_option :exclude_submodules_without_changes, desc: "Exclude showing submodules in HTML doc if there are 0 commits to it in the given ran...
banner: "URL", type: :string, default: "https://github.com/cloudfoundry/cf-release", aliases: "-u" method_option :exclude_submodules_without_changes, desc: "Exclude showing submodules in HTML doc if there are 0 commits to it in the given range", type: :boolean, default: false, ...
<|file_sep|>original/lib/git_release_notes/cli.rb banner: "URL", type: :string, default: "https://github.com/cloudfoundry/cf-release", aliases: "-u" method_option :exclude_submodules_without_changes, desc: "Exclude showing submodules in HTML doc if there are 0 commits to it in the given ran...
1b51a3157bbfbeb0615de80c9e3e6180f763be56
lib/git_release_notes/cli.rb
lib/git_release_notes/cli.rb
Ruby
<|file_sep|>Source/RxSwift/pausableBuffered.swift.diff original: public func pausableBuffered<P : ObservableType> (_ pauser: P) -> Observable<E> where P.E == Bool { return Observable.combineLatest(self, pauser.distinctUntilChanged()) { ($0, $1) } .filter { (element, paused) in paused } ...
switch event { case .next(let element): if paused { latest = element } else { observer.onNext(element) } case .completed: observer.onCompleted() case .error(let error):...
<|file_sep|>Source/RxSwift/pausableBuffered.swift.diff original: public func pausableBuffered<P : ObservableType> (_ pauser: P) -> Observable<E> where P.E == Bool { return Observable.combineLatest(self, pauser.distinctUntilChanged()) { ($0, $1) } .filter { (element, paused) in paused } ...
363a51efd178aebac67d2ba2387010997dc19658
Source/RxSwift/pausableBuffered.swift
Source/RxSwift/pausableBuffered.swift
Swift
<|file_sep|>original/public/modules/core/views/header.client.view.html <div class="container"> <div class="navbar-header"> <a ng-click="startOver()" class="navbar-brand">Emotion in Motion</a> </div> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle=...
<div class="container"> <div class="navbar-header"> <a ng-click="startOver()" class="navbar-brand">Emotion in Motion</a> </div> <ul class="nav navbar-nav navbar-right"> <!--<li class="dropdown">--> <!--<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ 'Select La...
<|file_sep|>original/public/modules/core/views/header.client.view.html <div class="container"> <div class="navbar-header"> <a ng-click="startOver()" class="navbar-brand">Emotion in Motion</a> </div> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle=...
6b0372e73fccabb2de0bc6ab6333b063e3c40ed1
public/modules/core/views/header.client.view.html
public/modules/core/views/header.client.view.html
HTML
<|file_sep|>original/blog/c1-chefs-kitchen.md <|file_sep|>current/blog/c1-chefs-kitchen.md <|file_sep|>updated/blog/c1-chefs-kitchen.md
# Cultural Blog: Chefs in the Kitchen #### Chef's Kitchen #### 10-12-14 I can't imagine what DBC would be like without this unique culture. I feel like so much of my educational value is coming from the effects of its unique way of thinking and teaching. It is like stepping into a completely different environment, wh...
<|file_sep|>original/blog/c1-chefs-kitchen.md <|file_sep|>current/blog/c1-chefs-kitchen.md <|file_sep|>updated/blog/c1-chefs-kitchen.md # Cultural Blog: Chefs in the Kitchen #### Chef's Kitchen #### 10-12-14 I can't imagine what DBC would be like without this unique culture. I feel like so much of my educational va...
2ee23d966ffff367324df7571ad556070dd05b66
blog/c1-chefs-kitchen.md
blog/c1-chefs-kitchen.md
Markdown
<|file_sep|>original/app/javascript/scoreboard/components/Player.js import React from 'react' export default class Player extends React.Component { render() { const { id, player, onPlayerScored } = this.props return ( <div className="player"> <h1>Player {id + 1}</h1> <div className="sc...
import React from 'react' export default class Player extends React.Component { componentDidMount() { document.addEventListener('keydown', e => { if (e.shiftKey && e.location - 1 === this.props.id) { this.props.onPlayerScored() } }) } render() { const { id, player, onPlayerScored...
<|file_sep|>original/app/javascript/scoreboard/components/Player.js import React from 'react' export default class Player extends React.Component { render() { const { id, player, onPlayerScored } = this.props return ( <div className="player"> <h1>Player {id + 1}</h1> <div className="sc...
e3e928560fedfe6c0941b2326c66b8b7039f223a
app/javascript/scoreboard/components/Player.js
app/javascript/scoreboard/components/Player.js
JavaScript
<|file_sep|>original/Cargo.toml [package] name = "sql-command-line-utilities" version = "0.0.1" authors = [ "s6o" ] [dependencies] clap = "2.19.2" rusqlite = "0.7.3" [lib] name = "sqlcmdlutils" path = "src/lib.rs" [[bin]] name = "sqls" path = "src/sqls/main.rs" [[bin]] name = "sqle" path = "src/sqle/main.rs" <|fil...
[package] name = "sql-command-line-utilities" version = "0.0.1" authors = [ "s6o" ] publish = false [dependencies] clap = "2.19.2" rusqlite = "0.7.3" [lib] name = "sqlcmdlutils" path = "src/lib.rs" [[bin]] name = "sqls" path = "src/sqls/main.rs" [[bin]] name = "sqle" path = "src/sqle/main.rs"
<|file_sep|>original/Cargo.toml [package] name = "sql-command-line-utilities" version = "0.0.1" authors = [ "s6o" ] [dependencies] clap = "2.19.2" rusqlite = "0.7.3" [lib] name = "sqlcmdlutils" path = "src/lib.rs" [[bin]] name = "sqls" path = "src/sqls/main.rs" [[bin]] name = "sqle" path = "src/sqle/main.rs" <|fil...
ba785032b04a6d07d8f1100d0533ef186518509b
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/arch/sh/include/asm/sections.h #ifndef __ASM_SH_SECTIONS_H #define __ASM_SH_SECTIONS_H #include <asm-generic/sections.h> extern void __nosave_begin, __nosave_end; extern long __machvec_start, __machvec_end; extern char __uncached_start, __uncached_end; extern char _ebss[]; extern char __start_eh_...
#ifndef __ASM_SH_SECTIONS_H #define __ASM_SH_SECTIONS_H #include <asm-generic/sections.h> extern long __nosave_begin, __nosave_end; extern long __machvec_start, __machvec_end; extern char __uncached_start, __uncached_end; extern char _ebss[]; extern char __start_eh_frame[], __stop_eh_frame[]; #endif /* __ASM_SH_SECT...
<|file_sep|>original/arch/sh/include/asm/sections.h #ifndef __ASM_SH_SECTIONS_H #define __ASM_SH_SECTIONS_H #include <asm-generic/sections.h> extern void __nosave_begin, __nosave_end; extern long __machvec_start, __machvec_end; extern char __uncached_start, __uncached_end; extern char _ebss[]; extern char __start_eh_...
13c12a4e8ecdf3998cd2d89ade69f6f194819c95
arch/sh/include/asm/sections.h
arch/sh/include/asm/sections.h
C
<|file_sep|>original/.zuul.yml ui: mocha-bdd browserify: - transform: babelify browsers: - name: firefox version: 37..latest platform: Mac 10.10 - name: opera version: latest platform: Mac 10.10 - name: chrome version: 36..latest - name: safari version: 7..latest - name: ie versi...
ui: mocha-bdd browserify: - transform: babelify browsers: - name: firefox version: 37..latest platform: Mac 10.10 - name: opera version: latest platform: Mac 10.10 - name: chrome version: 36..latest - name: safari version: 7..latest - name: ie version: 10..latest - name: androi...
<|file_sep|>original/.zuul.yml ui: mocha-bdd browserify: - transform: babelify browsers: - name: firefox version: 37..latest platform: Mac 10.10 - name: opera version: latest platform: Mac 10.10 - name: chrome version: 36..latest - name: safari version: 7..latest - name: ie versi...
19d3eef21ba8da105014906623a56febcb5235e4
.zuul.yml
.zuul.yml
YAML
<|file_sep|>original/package.json "postinstall": "node index.js" }, "keywords": [ "min-server", "server", "livereload", "sync", "fast" ], "bugs": { "url": "https://github.com/dmitriz/min-server/issues" }, "homepage": "https://github.com/dmitriz/min-server#readme", "dependencies...
"postinstall": "node index.js" }, "keywords": [ "min-server", "server", "livereload", "sync", "fast" ], "bugs": { "url": "https://github.com/dmitriz/min-server/issues" }, "homepage": "https://github.com/dmitriz/min-server#readme", "dependencies": { "gently-copy": "0.x", ...
<|file_sep|>original/package.json "postinstall": "node index.js" }, "keywords": [ "min-server", "server", "livereload", "sync", "fast" ], "bugs": { "url": "https://github.com/dmitriz/min-server/issues" }, "homepage": "https://github.com/dmitriz/min-server#readme", "dependencies...
2c63d4264fe0d9b259b128a999c43ec992220af0
package.json
package.json
JSON
<|file_sep|>original/docs/changelog.rst Change Log ====================================== .. _v0.4.2: v0.4.2 ----------------------------------- - Fixed bug in ``reverse`` call using :ref:`ViewTestMixin` .. _v0.4.1: v0.4.1 ----------------------------------- - Fix issue with :ref:`SSLRedirectMiddleware` when usin...
Change Log ====================================== .. _v0.4.2: v0.4.2 ----------------------------------- - Fixed bug in ``reverse`` call using :ref:`ViewTestMixin` (Thanks kmtracey) .. _v0.4.1: v0.4.1 ----------------------------------- - Fix issue with :ref:`SSLRedirectMiddleware` when using :ref:`SSL_WHITELIST`...
<|file_sep|>original/docs/changelog.rst Change Log ====================================== .. _v0.4.2: v0.4.2 ----------------------------------- - Fixed bug in ``reverse`` call using :ref:`ViewTestMixin` .. _v0.4.1: v0.4.1 ----------------------------------- - Fix issue with :ref:`SSLRedirectMiddleware` when usin...
3077f416280959a97a35beb9e50c59328e12df07
docs/changelog.rst
docs/changelog.rst
reStructuredText
<|file_sep|>original/scripts/prepare.js return JSON.parse(fs.readFileSync(path)); } cp.spawnSync('npm', ['run', 'compile'], { stdio: 'inherit' }); const pkgFiles = readJSON('package.json').files; // Get only negated patterns. const ignorePatterns = pkgFiles .filter(pat => pat.startsWith('!')) // Remove the negat...
return JSON.parse(fs.readFileSync(path)); } cp.spawnSync('npm', ['run', 'compile'], { stdio: 'inherit' }); const pkgFiles = readJSON('package.json').files; // Get only negated patterns. const ignorePatterns = pkgFiles .filter(pat => pat.startsWith('!')) // Remove the negation part and initial slash. Makes microm...
<|file_sep|>original/scripts/prepare.js return JSON.parse(fs.readFileSync(path)); } cp.spawnSync('npm', ['run', 'compile'], { stdio: 'inherit' }); const pkgFiles = readJSON('package.json').files; // Get only negated patterns. const ignorePatterns = pkgFiles .filter(pat => pat.startsWith('!')) // Remove the negat...
e7bded655b8c336b132968930fa60d339be8115b
scripts/prepare.js
scripts/prepare.js
JavaScript
<|file_sep|>original/.github/scripts/update_release.sh echo Commit Id: $commitId # Read asset tags. release=$(curl -sH "$AUTH" "$GH_REPO/releases/tags/_$tag") echo $release releaseId=$(jq .id <(cat <<<"$release")) releaseName=$(jq .name <(cat <<<"$release")) echo Release: $releaseId - $releaseName - $tag - $commitI...
echo Commit Id: $commitId # Read asset tags. release=$(curl -sH "$AUTH" "$GH_REPO/releases/tags/_$tag") echo $release releaseId=$(jq .id <(cat <<<"$release")) releaseName=$(jq .name <(cat <<<"$release")) echo Release: $releaseId - $releaseName - $tag - $commitId releaseData="{\"tag_name\": \"$tag\", \"target_commit...
<|file_sep|>original/.github/scripts/update_release.sh echo Commit Id: $commitId # Read asset tags. release=$(curl -sH "$AUTH" "$GH_REPO/releases/tags/_$tag") echo $release releaseId=$(jq .id <(cat <<<"$release")) releaseName=$(jq .name <(cat <<<"$release")) echo Release: $releaseId - $releaseName - $tag - $commitI...
2e3bacc889e41eab82bd5ba7ad02a96d815efcde
.github/scripts/update_release.sh
.github/scripts/update_release.sh
Shell
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/testing.txt -r base.txt pytest==3.0.4 pytest-django==3.1.1 <|file_sep|>current/{{cookiecutter.repo_name}}/requirements/testing.txt -r base.txt pytest==3.0.4 pytest-django==3.1.1 <|file_sep|>updated/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt pytest==3.0.4 pytest-django==3.1.2
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/testing.txt -r base.txt pytest==3.0.4 pytest-django==3.1.1 <|file_sep|>current/{{cookiecutter.repo_name}}/requirements/testing.txt -r base.txt pytest==3.0.4 pytest-django==3.1.1 <|file_sep|>updated/{{cookiecutter.repo_name}}/requirements/testing.txt -r base...
650e33b12ac9b8137a24ca948a7e5c4dd7e88d1d
{{cookiecutter.repo_name}}/requirements/testing.txt
{{cookiecutter.repo_name}}/requirements/testing.txt
Text
<|file_sep|>original/static.json { "https_only": true, "root": "build/", "proxies": { "/api/": { "origin": "${EMBER_API_DOCS_URL}" } }, "error_page": "404.html", "headers": { "/images/**": { "Cache-Control": "max-age=31536000" }, "/javascripts/**": { "Cache-Control": "m...
{ "https_only": true, "root": "build/", "proxies": { "/api/": { "origin": "${EMBER_API_DOCS_URL}" }, "/statusboard": { "origin": "https://ember-learn.github.io/statusboard/" } }, "error_page": "404.html", "headers": { "/images/**": { "Cache-Control": "max-age=31536000" }, ...
<|file_sep|>original/static.json { "https_only": true, "root": "build/", "proxies": { "/api/": { "origin": "${EMBER_API_DOCS_URL}" } }, "error_page": "404.html", "headers": { "/images/**": { "Cache-Control": "max-age=31536000" }, "/javascripts/**": { "Cache-Control": "m...
fc2506645670e30225df7c4662e0bba4c3eaa1ca
static.json
static.json
JSON
<|file_sep|>webanno-ui-core/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/core/users/ManageUsersPage.properties.diff original: # Technische Universit�t Darmstadt updated: # Technische Universität Darmstadt <|file_sep|>original/webanno-ui-core/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/core/users/ManageUser...
page.help=Help page.help.link=doc/user-guide.html#sect_users selectionForm.create.label=Create selectionForm.delete.label=Delete detailForm.save.label=Save detailForm.cancel.label=Cancel userdetails=User details username=Username username.alreadyExistsError=A user with the name '${name}' already exists. username.cont...
<|file_sep|>webanno-ui-core/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/core/users/ManageUsersPage.properties.diff original: # Technische Universit�t Darmstadt updated: # Technische Universität Darmstadt <|file_sep|>original/webanno-ui-core/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/core/users/ManageUser...
5a5988f62d6384814b3571cefa179ab7394c9c17
webanno-ui-core/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/core/users/ManageUsersPage.properties
webanno-ui-core/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/core/users/ManageUsersPage.properties
INI
<|file_sep|>original/gate-web/config/gate.yml swagger: enabled: true title: Spinnaker API description: contact: patterns: - .*tasks.* - .*applications.* - .*securityGroups.* - /search - .*pipelines.* - .*loadBalancers.* - .*instances.* - .*images.* - .*elasticIps.* - .*...
enabled: true title: Spinnaker API description: contact: patterns: - .*tasks.* - .*applications.* - .*securityGroups.* - /search - .*pipelines.* - .*loadBalancers.* - .*instances.* - .*images.* - .*elasticIps.* - .*credentials.* - .*events.* - .*builds.* - ....
<|file_sep|>original/gate-web/config/gate.yml swagger: enabled: true title: Spinnaker API description: contact: patterns: - .*tasks.* - .*applications.* - .*securityGroups.* - /search - .*pipelines.* - .*loadBalancers.* - .*instances.* - .*images.* - .*elasticIps.* - .*...
8fae52ada2825b31582a32f1c20fb235bdb8dad7
gate-web/config/gate.yml
gate-web/config/gate.yml
YAML
<|file_sep|>original/requirements.txt # Requirements required by this package: -r requirements_test.txt # Requirements needed for development & build & testing coverage==4.2 coveralls==1.1 wheel==0.29.0 setuptools==30.2.0 docutils==0.12 pygments==2.1.3 tox==2.5.0 flake8==3.2.1 invoke==0.12.2 # pyup: ignore <|file_sep|...
# Requirements required by this package: -r requirements_test.txt # Requirements needed for development & build & testing coverage==4.2 coveralls==1.1 wheel==0.29.0 setuptools==30.2.0 docutils==0.13.1 pygments==2.1.3 tox==2.5.0 flake8==3.2.1 invoke==0.12.2 # pyup: ignore
<|file_sep|>original/requirements.txt # Requirements required by this package: -r requirements_test.txt # Requirements needed for development & build & testing coverage==4.2 coveralls==1.1 wheel==0.29.0 setuptools==30.2.0 docutils==0.12 pygments==2.1.3 tox==2.5.0 flake8==3.2.1 invoke==0.12.2 # pyup: ignore <|file_sep|...
4e09d3f522a8a3cc990efe6ba5caf8328b1a8f95
requirements.txt
requirements.txt
Text
<|file_sep|>original/manager/__init__.py assets.register( 'js_all', Bundle( 'jquery/dist/jquery.min.js', 'bootstrap/dist/js/bootstrap.min.js', output='js_all.js' ) ) assets.register( 'css_all', Bundle( 'bootstrap/dist/css/bootstrap.css', 'bootstrap/dist/css/...
] assets.register( 'js_all', Bundle( 'jquery/dist/jquery.min.js', 'bootstrap/dist/js/bootstrap.min.js', output='js_all.js' ) ) assets.register( 'css_all', Bundle( 'bootswatch/sandstone/bootstrap.css', 'css/ignition.css', output='css_all.css' ) ) ...
<|file_sep|>original/manager/__init__.py assets.register( 'js_all', Bundle( 'jquery/dist/jquery.min.js', 'bootstrap/dist/js/bootstrap.min.js', output='js_all.js' ) ) assets.register( 'css_all', Bundle( 'bootstrap/dist/css/bootstrap.css', 'bootstrap/dist/css/...
216a9176ecf395a7461c6f8ec926d48fa1634bad
manager/__init__.py
manager/__init__.py
Python
<|file_sep|>original/wercker.yml - leipert/composer-install@0.0.1 - script: name: npm install code: |- mkdir -p $WERCKER_CACHE_DIR/wercker/npm npm config set cache $WERCKER_CACHE_DIR/wercker/npm sudo npm install - wercker/bundle-install@1.1.1 ...
- leipert/composer-install@0.0.1 - script: name: npm install code: |- mkdir -p $WERCKER_CACHE_DIR/wercker/npm npm config set cache $WERCKER_CACHE_DIR/wercker/npm sudo npm install - wercker/bundle-install@1.1.1 - script: name: buil...
<|file_sep|>original/wercker.yml - leipert/composer-install@0.0.1 - script: name: npm install code: |- mkdir -p $WERCKER_CACHE_DIR/wercker/npm npm config set cache $WERCKER_CACHE_DIR/wercker/npm sudo npm install - wercker/bundle-install@1.1.1 ...
57adb0a1f6b8acdb920e3eaf022e5d574dfd5012
wercker.yml
wercker.yml
YAML
<|file_sep|>original/app/views/schedule.html <th>Суббота</th> </tr> <tr ng-repeat="sequence in [1, 2, 3, 4, 5, 6, 7, 8]"> <td>time</td> <td ng-repeat="record in schedule | sequenceFilter:sequence"> <section ng-repeat="subject in record.subject | parityF...
<th>Четверг</th> <th>Пятница</th> <th>Суббота</th> </tr> <tr ng-repeat="sequence in [1, 2, 3, 4, 5, 6, 7, 8]"> <td>time</td> <td ng-repeat="record in schedule | sequenceFilter:sequence"> <section ng-repeat="subject in record.subj...
<|file_sep|>original/app/views/schedule.html <th>Суббота</th> </tr> <tr ng-repeat="sequence in [1, 2, 3, 4, 5, 6, 7, 8]"> <td>time</td> <td ng-repeat="record in schedule | sequenceFilter:sequence"> <section ng-repeat="subject in record.subject | parityF...
ce6c3cb79a0d42b3311716fc0a787ccb3d79602e
app/views/schedule.html
app/views/schedule.html
HTML
<|file_sep|>original/requirements/base.txt bleach==4.1.0 Django==3.2.10 # pyup: < 3.2 django-allauth==0.47.0 django-autoslug==1.9.8 django-background-tasks==1.2.5 django-ckeditor==6.2.0 django-enumfield==2.0.2 django-filter==21.1 django-multiselectfield==0.1.12 django-widget-tweaks==1.4.9 djangorestframework==3.13.0 ea...
bleach==4.1.0 Django==3.2.10 # pyup: < 3.2 django-allauth==0.47.0 django-autoslug==1.9.8 django-background-tasks==1.2.5 django-ckeditor==6.2.0 django-enumfield==2.0.2 django-filter==21.1 django-multiselectfield==0.1.12 django-widget-tweaks==1.4.9 djangorestframework==3.13.1 easy-thumbnails==2.8 html5lib==1.1 jsonfield=...
<|file_sep|>original/requirements/base.txt bleach==4.1.0 Django==3.2.10 # pyup: < 3.2 django-allauth==0.47.0 django-autoslug==1.9.8 django-background-tasks==1.2.5 django-ckeditor==6.2.0 django-enumfield==2.0.2 django-filter==21.1 django-multiselectfield==0.1.12 django-widget-tweaks==1.4.9 djangorestframework==3.13.0 ea...
af2eddfe691cf1ce9334ba23c0ffbd1eb691c239
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/CHANGELOG_PENDING.md ### SDK Features ### SDK Enhancements ### SDK Bugs <|file_sep|>current/CHANGELOG_PENDING.md ### SDK Features ### SDK Enhancements ### SDK Bugs <|file_sep|>updated/CHANGELOG_PENDING.md
### SDK Features ### SDK Enhancements ### SDK Bugs * `private/model/api`: Fix SDK's unmarshaling of unmodeled response payload ([#2340](https://github.com/aws/aws-sdk-go/pull/2340)) * Fixes the SDK's unmarshaling of API operation response payloads for operations that are unmodeled. Prevents the SDK due to unexpecte...
<|file_sep|>original/CHANGELOG_PENDING.md ### SDK Features ### SDK Enhancements ### SDK Bugs <|file_sep|>current/CHANGELOG_PENDING.md ### SDK Features ### SDK Enhancements ### SDK Bugs <|file_sep|>updated/CHANGELOG_PENDING.md ### SDK Features ### SDK Enhancements ### SDK Bugs * `private/model/api`: Fix SDK's unma...
a0aebf8b6c53ef62a8c1f81a470acb8ab50c3613
CHANGELOG_PENDING.md
CHANGELOG_PENDING.md
Markdown
<|file_sep|>rust/core-lib/Cargo.toml.diff original: version = "1.6" updated: version = "1.7" <|file_sep|>original/rust/core-lib/Cargo.toml [dependencies] serde = "1.0" serde_json = "1.0" serde_derive = "1.0" time = "0.1" xi-rope = { path = "../rope", version = "0.2" } xi-unicode = { path = "../unicode", version = "0.1...
[dependencies] serde = "1.0" serde_json = "1.0" serde_derive = "1.0" time = "0.1" xi-rope = { path = "../rope", version = "0.2" } xi-unicode = { path = "../unicode", version = "0.1.0" } xi-rpc = { path = "../rpc", version = "0.2.0" } [dependencies.syntect] version = "1.7" default-features = false features = ["assets"...
<|file_sep|>rust/core-lib/Cargo.toml.diff original: version = "1.6" updated: version = "1.7" <|file_sep|>original/rust/core-lib/Cargo.toml [dependencies] serde = "1.0" serde_json = "1.0" serde_derive = "1.0" time = "0.1" xi-rope = { path = "../rope", version = "0.2" } xi-unicode = { path = "../unicode", version = "0.1...
53de3acce6562e1d48265dcf31ddbac533d4ba3d
rust/core-lib/Cargo.toml
rust/core-lib/Cargo.toml
TOML
<|file_sep|>original/docker-compose.yml version: '2' services: tests: image: buildkite/plugin-tester:latest@sha256:9fc083858d97a83b44b311e3b9c81333469e683eb292c7df08502ae4dd2732f7 volumes: - ".:/plugin" <|file_sep|>current/docker-compose.yml version: '2' services: tests: image: buildkite/plugin-te...
version: '2' services: tests: image: buildkite/plugin-tester:latest@sha256:476a1024936901889147f53d2a3d8e71e99d76404972d583825514f5608083dc volumes: - ".:/plugin"
<|file_sep|>original/docker-compose.yml version: '2' services: tests: image: buildkite/plugin-tester:latest@sha256:9fc083858d97a83b44b311e3b9c81333469e683eb292c7df08502ae4dd2732f7 volumes: - ".:/plugin" <|file_sep|>current/docker-compose.yml version: '2' services: tests: image: buildkite/plugin-te...
a9e4affe29d7fc5d5c6d5e3dec710e3059847aec
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>server/server.js.diff original: updated: conn.on("error", function(err) { console.log("Connection Closed: " + err); }); <|file_sep|>server/server.js.diff original: app.listen(config.PORT_APP, function() { console.log("Express started"); }); updated: <|file_sep|>original/serve...
{ response: "Hey there client!" } ) ); app.post('/command', function(req, res) { conn.write(JSON.stringify({response: req.body.command})); res.end("yes"); }); }); // Listen for connections server.listen(config.PORT_NET, config.ALLOWED_IPS, config.HOST, function () { ...
<|file_sep|>server/server.js.diff original: updated: conn.on("error", function(err) { console.log("Connection Closed: " + err); }); <|file_sep|>server/server.js.diff original: app.listen(config.PORT_APP, function() { console.log("Express started"); }); updated: <|file_sep|>original/serve...
62aef7e6a14198ce1a33c95d0428620744725efe
server/server.js
server/server.js
JavaScript
<|file_sep|>original/src/app/components/editor/editor.component.ts readOnly: this.config.readOnly, scrollBeyondLastLine: false, theme: this.config.theme }); w.addEventListener('resize', this._updateLayout); this.editor.setModel( ...
w.addEventListener('resize', this._updateLayout); this.editor.setModel( monaco.editor.createModel(this.config.content, this.config.contentType) ) }); } ngOnDestroy(): void { const w: any = <any>window; w.removeEventListener('resize', ...
<|file_sep|>original/src/app/components/editor/editor.component.ts readOnly: this.config.readOnly, scrollBeyondLastLine: false, theme: this.config.theme }); w.addEventListener('resize', this._updateLayout); this.editor.setModel( ...
150b61ad6ca0cee6b567f74499ee9e3cec32d550
src/app/components/editor/editor.component.ts
src/app/components/editor/editor.component.ts
TypeScript
<|file_sep|>original/lib/prepare/index.js var modules = require('./modules') var helper = require('./helper') module.exports = function (config) { return { modules: modules(config.criteria, config.cwd), helper: helper(config.helperPath, config.cwd) } } <|file_sep|>current/lib/prepare/index.js var modules =...
var modules = require('./modules') var helper = require('./helper') module.exports = function (config) { return { helper: helper(config.helperPath, config.cwd), modules: modules(config.criteria, config.cwd) } }
<|file_sep|>original/lib/prepare/index.js var modules = require('./modules') var helper = require('./helper') module.exports = function (config) { return { modules: modules(config.criteria, config.cwd), helper: helper(config.helperPath, config.cwd) } } <|file_sep|>current/lib/prepare/index.js var modules =...
f4228a6968a8be5e8fda27e7ade83b1dd87c0c50
lib/prepare/index.js
lib/prepare/index.js
JavaScript
<|file_sep|>original/script/notification/ifttt.py class Ifttt(object): """ """ def __init__(self, config, packpub_info, upload_info): self.__packpub_info = packpub_info self.__url = "https://maker.ifttt.com/trigger/{eventName}/with/key/{apiKey}".format( eventName=config.get('if...
""" def __init__(self, config, packpub_info, upload_info): self.__packpub_info = packpub_info self.__url = "https://maker.ifttt.com/trigger/{eventName}/with/key/{apiKey}".format( eventName=config.get('ifttt', 'ifttt.event_name'), apiKey=config.get('ifttt', 'ifttt.key') ...
<|file_sep|>original/script/notification/ifttt.py class Ifttt(object): """ """ def __init__(self, config, packpub_info, upload_info): self.__packpub_info = packpub_info self.__url = "https://maker.ifttt.com/trigger/{eventName}/with/key/{apiKey}".format( eventName=config.get('if...
5aca39cef15ea4381b30127b8ded31ec37ffd273
script/notification/ifttt.py
script/notification/ifttt.py
Python
<|file_sep|>original/features/support/env.rb require "fileutils" require "pathname" # Gems require "aruba/cucumber" require "aruba/config/jruby" require "rspec/expectations" Before do |scenario| command_name = if scenario.respond_to?(:feature) # Cucumber < 4 "#{scenario.feature.file} #{scenario.n...
require "fileutils" require "pathname" # Gems require "aruba/cucumber" require "aruba/config/jruby" require "rspec/expectations" Before do |test_case| command_name = "#{test_case.location.file}:#{test_case.location.line} # #{test_case.name}" # Used in simplecov_setup so that each scenario has a different name an...
<|file_sep|>original/features/support/env.rb require "fileutils" require "pathname" # Gems require "aruba/cucumber" require "aruba/config/jruby" require "rspec/expectations" Before do |scenario| command_name = if scenario.respond_to?(:feature) # Cucumber < 4 "#{scenario.feature.file} #{scenario.n...
7a897bd7166f014f47e2ae1ee02ac99c4f745f13
features/support/env.rb
features/support/env.rb
Ruby
<|file_sep|>original/config/help/transcribe_titles.md <|file_sep|>current/config/help/transcribe_titles.md <|file_sep|>updated/config/help/transcribe_titles.md
!['Transcribing a title'](https://cdn.rawgit.com/LibCrowds/project-playbills/b15721d6/assets/transcribe_titles.gif) Type in the title exactly as displayed in the highlighted box on the page, including any subtitles and punctuation. You don't need to include the genre or description. Once the title is transcribed click...
<|file_sep|>original/config/help/transcribe_titles.md <|file_sep|>current/config/help/transcribe_titles.md <|file_sep|>updated/config/help/transcribe_titles.md !['Transcribing a title'](https://cdn.rawgit.com/LibCrowds/project-playbills/b15721d6/assets/transcribe_titles.gif) Type in the title exactly as displayed in...
cd2126405ba15bd11487c82515b2c12b512a1fd3
config/help/transcribe_titles.md
config/help/transcribe_titles.md
Markdown
<|file_sep|>original/composer.json "require": { "php": ">=5.3.3" }, "autoload": { "psr-4": { "Symfony\\Polyfill\\Iconv\\": "" }, "files": [ "bootstrap.php" ] }, "suggest": { "ext-iconv": "For best performance" }, "minimum-stability": "dev", "extra": { ...
"require": { "php": ">=5.3.3" }, "autoload": { "psr-4": { "Symfony\\Polyfill\\Iconv\\": "" }, "files": [ "bootstrap.php" ] }, "suggest": { "ext-iconv": "For best performance" }, "minimum-stability": "dev", "extra": { "branch-alias": { "...
<|file_sep|>original/composer.json "require": { "php": ">=5.3.3" }, "autoload": { "psr-4": { "Symfony\\Polyfill\\Iconv\\": "" }, "files": [ "bootstrap.php" ] }, "suggest": { "ext-iconv": "For best performance" }, "minimum-stability": "dev", "extra": { ...
f46c8fa66773b4ddbceca0138265ecfa07bc4275
composer.json
composer.json
JSON
<|file_sep|>roles/shell/defaults/main.yml.diff original: - fzf updated: <|file_sep|>original/roles/shell/defaults/main.yml --- shell_use_fish: true shell_brew_packages: - name: fish shell_fish_path: /usr/local/bin/fish shell_system_shells_path: /etc/shells shell_fish_functions_dir: "{{ home_dir}}/.config/fish/fun...
--- shell_use_fish: true shell_brew_packages: - name: fish shell_fish_path: /usr/local/bin/fish shell_system_shells_path: /etc/shells shell_fish_functions_dir: "{{ home_dir}}/.config/fish/functions" shell_fisherman_url: "https://git.io/fisher" shell_fisherman_fish_config: "{{ shell_fish_functions_dir}}/fisher.fish" ...
<|file_sep|>roles/shell/defaults/main.yml.diff original: - fzf updated: <|file_sep|>original/roles/shell/defaults/main.yml --- shell_use_fish: true shell_brew_packages: - name: fish shell_fish_path: /usr/local/bin/fish shell_system_shells_path: /etc/shells shell_fish_functions_dir: "{{ home_dir}}/.config/fish/fun...
dfdace53d7299ac167ab374318513b45219bd135
roles/shell/defaults/main.yml
roles/shell/defaults/main.yml
YAML
<|file_sep|>original/masonry-addon/src/main/resources/org/vaadin/alump/masonry/public/masonry/styles.css <|file_sep|>current/masonry-addon/src/main/resources/org/vaadin/alump/masonry/public/masonry/styles.css <|file_sep|>updated/masonry-addon/src/main/resources/org/vaadin/alump/masonry/public/masonry/styles.css
.masonry-layout { background-color: #EFEFEF; } .masonry-layout .masonry-item { border-width: 1px; margin: 10px 10px 10px 10px; width: 280px; border-color: #888; border-style: solid; border-radius: 3px; box-shadow: rgba(0,0,0,0.5) 0px 0px 3px; box-sizing: border-box; background-c...
<|file_sep|>original/masonry-addon/src/main/resources/org/vaadin/alump/masonry/public/masonry/styles.css <|file_sep|>current/masonry-addon/src/main/resources/org/vaadin/alump/masonry/public/masonry/styles.css <|file_sep|>updated/masonry-addon/src/main/resources/org/vaadin/alump/masonry/public/masonry/styles.css .maso...
c3081e2b6d0f03b12400192186259c6b4d2e9e92
masonry-addon/src/main/resources/org/vaadin/alump/masonry/public/masonry/styles.css
masonry-addon/src/main/resources/org/vaadin/alump/masonry/public/masonry/styles.css
CSS
<|file_sep|>original/README.md Because the usages and results of the two implementations differ, and it's nice to normalize the behavior and results. ####How ```javascript var enumerateDevices = require('enumerateDevices'); enumerateDevices(function(err, devices) { if(err) { console.log(err.message); //d...
```javascript var enumerateDevices = require('enumerateDevices'); enumerateDevices(function(err, devices) { if(err) { console.log(err.message); //device enumeration not supported } else { console.log(devices); } }); ``` Test by running `npm start` and visiting [http://localhost:8880/test](...
<|file_sep|>original/README.md Because the usages and results of the two implementations differ, and it's nice to normalize the behavior and results. ####How ```javascript var enumerateDevices = require('enumerateDevices'); enumerateDevices(function(err, devices) { if(err) { console.log(err.message); //d...
d738f479b682ec2354c0305f33cf1318ad00f318
README.md
README.md
Markdown
<|file_sep|>original/Cargo.toml "mitchmindtree <me@michellnordine.com>", "Christiandh", "Apointos", "ccgn", "reem", "TyOverby <ty@pre-alpha.com>"] tags = [] [dependencies.piston] git = "https://github.com/pistondevelopers/piston" [dependencies.glfw-rs] git = "https://github.com/bjz/glfw-rs" ...
"mitchmindtree <me@michellnordine.com>", "Christiandh", "Apointos", "ccgn", "reem", "TyOverby <ty@pre-alpha.com>"] tags = [] [dependencies.piston] git = "https://github.com/PistonDevelopers/piston" [dependencies.glfw-rs] git = "https://github.com/bjz/glfw-rs" [dependencies.gl] git = "https...
<|file_sep|>original/Cargo.toml "mitchmindtree <me@michellnordine.com>", "Christiandh", "Apointos", "ccgn", "reem", "TyOverby <ty@pre-alpha.com>"] tags = [] [dependencies.piston] git = "https://github.com/pistondevelopers/piston" [dependencies.glfw-rs] git = "https://github.com/bjz/glfw-rs" ...
1b8b67c53f7605d156269a0cc0995ecebebee5b8
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/index.html --- layout: default --- <div class="home"> <img src="/images/Profile_Pic_Cropped.png" alt="Profile picture"><br><br> <h1 class="page-heading">About</h1> I am a developer, data/GIS analyst, and designer with particular interests in civic technology, geography, transportation, an...
--- layout: default --- <div class="home"> <img src="/images/Profile_Pic_Cropped.png" alt="Profile picture"><br><br> <h1 class="page-heading">About</h1> I am a developer, data analyst, and designer with particular interests in civic technology, geography, transportation, and open data. A graduate of Brown Uni...
<|file_sep|>original/index.html --- layout: default --- <div class="home"> <img src="/images/Profile_Pic_Cropped.png" alt="Profile picture"><br><br> <h1 class="page-heading">About</h1> I am a developer, data/GIS analyst, and designer with particular interests in civic technology, geography, transportation, an...
4d91722ac8d8adb2b87bb86469edbecdc5f68a5f
index.html
index.html
HTML
<|file_sep|>original/lib/round_robin.rb require 'round_robin/worker' require 'round_robin/job' module RoundRobin def self.add(klass, *args) end def self.remove(klass, *args) end end <|file_sep|>current/lib/round_robin.rb require 'round_robin/worker' require 'round_robin/job' module RoundRobin def self.ad...
require 'round_robin/worker' require 'round_robin/job' module RoundRobin def self.add(klass, *args) json = {:class => klass, :args => args}.to_json RoundRobin::Job.create(:handler => json) end def self.remove(klass, *args) end end
<|file_sep|>original/lib/round_robin.rb require 'round_robin/worker' require 'round_robin/job' module RoundRobin def self.add(klass, *args) end def self.remove(klass, *args) end end <|file_sep|>current/lib/round_robin.rb require 'round_robin/worker' require 'round_robin/job' module RoundRobin def self.ad...
f65d960712ca2b8310fb54434e630ca4ffa11f60
lib/round_robin.rb
lib/round_robin.rb
Ruby
<|file_sep|>original/config/jobs/image-pushing/k8s-staging-provider-azure.yaml <|file_sep|>current/config/jobs/image-pushing/k8s-staging-provider-azure.yaml <|file_sep|>updated/config/jobs/image-pushing/k8s-staging-provider-azure.yaml
postsubmits: # This is the github repo we'll build from. This block needs to be repeated # for each repo. kubernetes-sigs/cloud-provider-azure: # The name should be changed to match the repo name above - name: post-provider-azure-push-images cluster: test-infra-trusted annotations: # T...
<|file_sep|>original/config/jobs/image-pushing/k8s-staging-provider-azure.yaml <|file_sep|>current/config/jobs/image-pushing/k8s-staging-provider-azure.yaml <|file_sep|>updated/config/jobs/image-pushing/k8s-staging-provider-azure.yaml postsubmits: # This is the github repo we'll build from. This block needs to be r...
80e5db83f25a41e5b266987b97463dfeca6e0f77
config/jobs/image-pushing/k8s-staging-provider-azure.yaml
config/jobs/image-pushing/k8s-staging-provider-azure.yaml
YAML
<|file_sep|>original/cmake/scripts/msvc_build.bat REM @call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" @call "C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw-w64.bat" SET PATH=%PROJECT_PATH%\3rdparty\bin;%MYSQL_CONNECTOR_PATH%\lib;%MYSQL_PATH%\bin;%PYTHON_PATH%\...
REM @call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" SET PATH=%PROJECT_PATH%\3rdparty\bin;%MYSQL_CONNECTOR_PATH%\lib;%MYSQL_PATH%\bin;%PYTHON_PATH%\Scripts;C:\OpenSSL-v111-Win64\bin;C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH% cp "%MYSQL_CONNECT...
<|file_sep|>original/cmake/scripts/msvc_build.bat REM @call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" @call "C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw-w64.bat" SET PATH=%PROJECT_PATH%\3rdparty\bin;%MYSQL_CONNECTOR_PATH%\lib;%MYSQL_PATH%\bin;%PYTHON_PATH%\...
de5df74bf2c94d7a194f6e84dd69c915e9da185e
cmake/scripts/msvc_build.bat
cmake/scripts/msvc_build.bat
Batchfile
<|file_sep|>original/_design/hypothesizer/views/by_uri/map.js function (doc) { if ('document' in doc && 'link' in doc.document) { emit(doc.document.link[0].href, 1); } else if ('uri' in doc) { emit(doc.uri); } } <|file_sep|>current/_design/hypothesizer/views/by_uri/map.js function (doc) { if ('document'...
function (doc) { if ('document' in doc && 'link' in doc.document) { emit(doc.document.link[0].href, 1); } else if ('uri' in doc) { emit(doc.uri, 1); } }
<|file_sep|>original/_design/hypothesizer/views/by_uri/map.js function (doc) { if ('document' in doc && 'link' in doc.document) { emit(doc.document.link[0].href, 1); } else if ('uri' in doc) { emit(doc.uri); } } <|file_sep|>current/_design/hypothesizer/views/by_uri/map.js function (doc) { if ('document'...
5dc0b4702795c0aebb3857783e6a6d7dc11696ac
_design/hypothesizer/views/by_uri/map.js
_design/hypothesizer/views/by_uri/map.js
JavaScript
<|file_sep|>original/index.html <!doctype html> <html> <head> <title>Regular expressions hands-on, NICAR 2017</title> </head> <body> <div class="wrapper"> <header> <h1>Regular expressions hands-on, NICAR 2017</h1> </header> <main> <form id="tester" class="tester"></form>...
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Regular expressions hands-on, NICAR 2017</title> </head> <body> <div class="wrapper"> <header> <h1>Regular expressions hands-on, NICAR 2017</h1> </header> <main> <form id="tester" class="tester"></form> ...
<|file_sep|>original/index.html <!doctype html> <html> <head> <title>Regular expressions hands-on, NICAR 2017</title> </head> <body> <div class="wrapper"> <header> <h1>Regular expressions hands-on, NICAR 2017</h1> </header> <main> <form id="tester" class="tester"></form>...
0ef7d4dbc81b156e9da1fa1d714908bd0f12ed72
index.html
index.html
HTML
<|file_sep|>modules/discojuice/www/feed.php.diff original: updated: <|file_sep|>modules/discojuice/www/feed.php.diff original: updated: <|file_sep|>modules/discojuice/www/feed.php.diff original: updated: <|file_sep|>modules/discojuice/www/feed.php.diff original: print_r($data); updated: print_r(json_decode(...
if (!empty($_REQUEST['debug'])) { header('Content-Type: text/plain; charset=utf-8'); print_r(json_decode($data, 'utf-8')); exit; } header('Content-Type: application/json; charset=utf-8'); if(isset($_REQUEST['callback'])) { echo $_REQUEST['callback'] . '(' . $data . ');'; } else { echo $data; }
<|file_sep|>modules/discojuice/www/feed.php.diff original: updated: <|file_sep|>modules/discojuice/www/feed.php.diff original: updated: <|file_sep|>modules/discojuice/www/feed.php.diff original: updated: <|file_sep|>modules/discojuice/www/feed.php.diff original: print_r($data); updated: print_r(json_decode(...
0777f491e551cd92c478fc51af0e5c46fd4c5f79
modules/discojuice/www/feed.php
modules/discojuice/www/feed.php
PHP
<|file_sep|>original/Readme.md ![travis-ci build status](http://travis-ci.org/suchasurge/rjiffy.png) ## Description Ruby Wrapper for jiffybox.de API ## Configuration Rjiffy::Configuration.configure do |conf| conf.token = "somevalidapitoken" end ## Find all boxes boxes = Rjiffy.all ## Find one box ...
[![Build Status](https://secure.travis-ci.org/suchasurge/rjiffy.png)](http://travis-ci.org/suchasurge/rjiffy) ## Description Ruby Wrapper for jiffybox.de API ## Configuration Rjiffy::Configuration.configure do |conf| conf.token = "somevalidapitoken" end ## Find all boxes boxes = Rjiffy.all ## Find...
<|file_sep|>original/Readme.md ![travis-ci build status](http://travis-ci.org/suchasurge/rjiffy.png) ## Description Ruby Wrapper for jiffybox.de API ## Configuration Rjiffy::Configuration.configure do |conf| conf.token = "somevalidapitoken" end ## Find all boxes boxes = Rjiffy.all ## Find one box ...
cbc72ed941fe6b95ef20868ebb015cafbbe87437
Readme.md
Readme.md
Markdown
<|file_sep|>lib/mix/test/mix/tasks/clean_test.exs.diff original: updated: defmodule DepsApp do def project do [ app: :sample, version: "0.1.0", deps: [ { :tidy, "0.1.0", path: "elixir-lang/tidy" } ] ] end end <|file_sep|>original/lib/mix/test/mix/tasks...
end test "compile a project without mixfile" do in_fixture "no_mixfile", fn -> Mix.Tasks.Compile.run [] assert File.regular?("ebin/Elixir.A.beam") Mix.Tasks.Clean.run [] refute File.regular?("ebin/Elixir.A.beam") end end test "cleans all repos" do Mix.Project.push DepsApp ...
<|file_sep|>lib/mix/test/mix/tasks/clean_test.exs.diff original: updated: defmodule DepsApp do def project do [ app: :sample, version: "0.1.0", deps: [ { :tidy, "0.1.0", path: "elixir-lang/tidy" } ] ] end end <|file_sep|>original/lib/mix/test/mix/tasks...
74c3ed0cfbfe917b6c386211fc64ff4925fdc036
lib/mix/test/mix/tasks/clean_test.exs
lib/mix/test/mix/tasks/clean_test.exs
Elixir
<|file_sep|>original/README.md [![](https://travis-ci.org/mkoistinen/aldryn-faq.svg?branch=master)](https://travis-ci.org/mkoistinen/aldryn-faq/) Aldryn FAQ App =============== Simple faq application. It allows you to: - write a questions and answers Installation ============ Aldryn Platrofm Users ---------------...
[![Build Status](https://travis-ci.org/mkoistinen/aldryn-faq.svg?branch=master)](https://travis-ci.org/mkoistinen/aldryn-faq) Aldryn FAQ App =============== Simple faq application. It allows you to: - write a questions and answers Installation ============ Aldryn Platrofm Users --------------------- Choose a sit...
<|file_sep|>original/README.md [![](https://travis-ci.org/mkoistinen/aldryn-faq.svg?branch=master)](https://travis-ci.org/mkoistinen/aldryn-faq/) Aldryn FAQ App =============== Simple faq application. It allows you to: - write a questions and answers Installation ============ Aldryn Platrofm Users ---------------...
2c1037509b477fa3e0e3c18a07b6f9281f29ab7f
README.md
README.md
Markdown
<|file_sep|>original/features/users/call_action.feature <|file_sep|>current/features/users/call_action.feature <|file_sep|>updated/features/users/call_action.feature
@javascript Feature: Do a Call Action An interested member of the community should be able to call Relevant congress members' offices Background: I am not logged in Scenario: An activist creates a call petition and a supporter uses it Given a call petition targeting senate exists When I browse to...
<|file_sep|>original/features/users/call_action.feature <|file_sep|>current/features/users/call_action.feature <|file_sep|>updated/features/users/call_action.feature @javascript Feature: Do a Call Action An interested member of the community should be able to call Relevant congress members' offices Background:...
139e485720ea81cad75a0519a19a49638f909cbb
features/users/call_action.feature
features/users/call_action.feature
Cucumber
<|file_sep|>original/setup.py #!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="bentoo", description="Benchmarking tools", version="0.20.0", packages=find_packages(), scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py", "scrip...
#!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="bentoo", description="Benchmarking tools", version="0.21.dev", packages=find_packages(), scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py", "scripts/bentoo-collector.py", "sc...
<|file_sep|>original/setup.py #!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages setup( name="bentoo", description="Benchmarking tools", version="0.20.0", packages=find_packages(), scripts=["scripts/bentoo-generator.py", "scripts/bentoo-runner.py", "scrip...
d1dda8983bdaa0d25ab10051381e34befe7ed4a8
setup.py
setup.py
Python
<|file_sep|>modules/lang/nim/config.el.diff original: updated: :init <|file_sep|>modules/lang/nim/config.el.diff original: updated: :config (set-lookup-handlers! '(nim-mode nimsuggest-mode) :definition #'+nimsuggest-find-definition :documentation #'nimsuggest-show-doc) <|file_sep|>original/modules/lang...
character that colon is replaced with, which is known to cause issues on windows." :filter-return #'nimsuggest--get-temp-file-name (replace-regexp-in-string "[꞉* |<>\"?*]" "" path))) :config (set-lookup-handlers! '(nim-mode nimsuggest-mode) :definition #'+nimsuggest-find-definition :documentati...
<|file_sep|>modules/lang/nim/config.el.diff original: updated: :init <|file_sep|>modules/lang/nim/config.el.diff original: updated: :config (set-lookup-handlers! '(nim-mode nimsuggest-mode) :definition #'+nimsuggest-find-definition :documentation #'nimsuggest-show-doc) <|file_sep|>original/modules/lang...
fb4f5efb0166b96a640295506c8f42c1fededb2a
modules/lang/nim/config.el
modules/lang/nim/config.el
Emacs Lisp
<|file_sep|>CMakeLists.txt.diff original: updated: <|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.6) # make a project project( lstore-jerasure C ) # Build subdirectories add_subdirectory(src) # Don't build the examples into the main package, just copy the folder into a -dev or -doc package ...
cmake_minimum_required(VERSION 2.6) # make a project project( lstore-jerasure C ) # Build subdirectories add_subdirectory(src) # Don't build the examples into the main package, just copy the folder into a -dev or -doc package if desired #add_subdirectory (Examples) # TODO: automate doxygen documentation rebuild? s...
<|file_sep|>CMakeLists.txt.diff original: updated: <|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.6) # make a project project( lstore-jerasure C ) # Build subdirectories add_subdirectory(src) # Don't build the examples into the main package, just copy the folder into a -dev or -doc package ...
902300d3af51590e681b0efbc97cbe9481bb7607
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/tox.ini [tox] envlist = py26, py27, py32, py33 [testenv] deps = PyCrypto commands = {envpython} setup.py test <|file_sep|>current/tox.ini [tox] envlist = py26, py27, py32, py33 [testenv] deps = PyCrypto commands = {envpython} setup.py test <|file_sep|>updated/tox.ini
[tox] envlist = py26, py27, py32, py33, py34 [testenv] deps = PyCrypto commands = {envpython} setup.py test
<|file_sep|>original/tox.ini [tox] envlist = py26, py27, py32, py33 [testenv] deps = PyCrypto commands = {envpython} setup.py test <|file_sep|>current/tox.ini [tox] envlist = py26, py27, py32, py33 [testenv] deps = PyCrypto commands = {envpython} setup.py test <|file_sep|>updated/tox.ini [tox] envlist = py26, py27, p...
afbeeb837d899fad2b156ab06a15e366e2732dbd
tox.ini
tox.ini
INI
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "0.12" - "4" notifications: irc: channels: - "chat.freenode.net#wikimedia-dev" template: - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}" <|file_sep|>current/.travis.yml sudo...
sudo: false language: node_js node_js: - "0.12" - "4" - "7" notifications: irc: channels: - "chat.freenode.net#wikimedia-dev" template: - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "0.12" - "4" notifications: irc: channels: - "chat.freenode.net#wikimedia-dev" template: - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}" <|file_sep|>current/.travis.yml sudo...
df1082afabc83c519f53b7b3401fbd941202286d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ansible/roles/traefik/defaults/main.yml traefik_container: containous/traefik:latest traefik_domain: gitea.io traefik_email: info@gitea.io traefik_loglevel: INFO <|file_sep|>current/ansible/roles/traefik/defaults/main.yml traefik_container: containous/traefik:latest traefik_domain: gitea.io traefik...
traefik_container: containous/traefik:v1.2.3 traefik_domain: gitea.io traefik_email: info@gitea.io traefik_loglevel: INFO
<|file_sep|>original/ansible/roles/traefik/defaults/main.yml traefik_container: containous/traefik:latest traefik_domain: gitea.io traefik_email: info@gitea.io traefik_loglevel: INFO <|file_sep|>current/ansible/roles/traefik/defaults/main.yml traefik_container: containous/traefik:latest traefik_domain: gitea.io traefik...
0983bc81a2688febf920374882dbb00cc271dfa1
ansible/roles/traefik/defaults/main.yml
ansible/roles/traefik/defaults/main.yml
YAML
<|file_sep|>original/requirements_dev.txt pip==9.0.1 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 coverage==4.4 cryptography==1.8.1 Sphinx==1.5.5 PyYAML==3.12 <|file_sep|>current/requirements_dev.txt pip==9.0.1 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 coverage==4.4 cryptography==1.8.1 Sphinx==1.5.5 PyYAML==3.12 <|f...
pip==9.0.1 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 coverage==4.4 cryptography==1.8.1 Sphinx==1.5.5 PyYAML==3.12
<|file_sep|>original/requirements_dev.txt pip==9.0.1 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 coverage==4.4 cryptography==1.8.1 Sphinx==1.5.5 PyYAML==3.12 <|file_sep|>current/requirements_dev.txt pip==9.0.1 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 coverage==4.4 cryptography==1.8.1 Sphinx==1.5.5 PyYAML==3.12 <|f...
afab87878a343277cebe0b7212382cdccf1f1785
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.forestry/settings.yml --- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: directory path: _includes label: Sayfa İçerikleri create: documents match: "**/*" - type: jekyll-posts label: Posts create: all - type: jekyll-pages label: Pages create:...
--- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: directory path: _data label: Veriler create: documents match: "**/*" - type: directory path: _includes label: Sayfa İçerikleri create: documents match: "**/*" - type: jekyll-posts label: Posts create: all - ty...
<|file_sep|>original/.forestry/settings.yml --- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: directory path: _includes label: Sayfa İçerikleri create: documents match: "**/*" - type: jekyll-posts label: Posts create: all - type: jekyll-pages label: Pages create:...
3d62c6c27b0bf1f685306a612b0135a8ac3998cd
.forestry/settings.yml
.forestry/settings.yml
YAML
<|file_sep|>original/docker-compose.yml broker: image: rabbitmq:3-management ports: - "15672:15672" networks: - back-tier image: build: . web: image: lintreview_image command: bash -c 'gunicorn -c /code/settings.py lintreview.web:app' env_file: lintreview-env ports: ...
broker: image: rabbitmq:3-management ports: - "15672:15672" networks: - back-tier image: build: . web: image: lintreview_image command: 'gunicorn -c /code/settings.py lintreview.web:app' env_file: lintreview-env ports: - "5000:5000" links: - broker net...
<|file_sep|>original/docker-compose.yml broker: image: rabbitmq:3-management ports: - "15672:15672" networks: - back-tier image: build: . web: image: lintreview_image command: bash -c 'gunicorn -c /code/settings.py lintreview.web:app' env_file: lintreview-env ports: ...
2097805df941af393c100990c3774c05a0a5a3f8
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/util/shf/march.sh suffix=`expr $file : '.*\(\..*\)'` ofile=`$makecmd $1/$file $suffix` if test $? != 0 then errors=yes fi OFILES="$OFILES $ofile" done fi if test $errors = no then arch cr $2 $OFILES rm $OFILES else echo $2 not made, due to compilation e...
suffix=`expr $file : '.*\(\..*\)'` ofile=`$makecmd $1/$file $suffix` if test $? != 0 then errors=yes fi OFILES="$OFILES $ofile" done fi if test $errors = no then ${ASAR-arch} cr $2 $OFILES rm $OFILES else echo $2 not made, due to compilation errors exit 1 fi ) e...
<|file_sep|>original/util/shf/march.sh suffix=`expr $file : '.*\(\..*\)'` ofile=`$makecmd $1/$file $suffix` if test $? != 0 then errors=yes fi OFILES="$OFILES $ofile" done fi if test $errors = no then arch cr $2 $OFILES rm $OFILES else echo $2 not made, due to compilation e...
3b991bd1ceb483c320229b1f175cd62f9cd7b2c9
util/shf/march.sh
util/shf/march.sh
Shell
<|file_sep|>original/examples/server-side-react/package.json "name": "server-side-react", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "start": "node index", "test": "standard" }, "author": "Karolis Narkevicius <karolis.n@gmail.com>", "license": "ISC", "devDependenci...
"version": "1.0.0", "description": "", "main": "index.js", "scripts": { "start": "node index", "test": "standard" }, "author": "Karolis Narkevicius <karolis.n@gmail.com>", "license": "ISC", "devDependencies": { "babel": "^5.8.21", "babel-core": "^5.8.20" }, "dependencies": { "che...
<|file_sep|>original/examples/server-side-react/package.json "name": "server-side-react", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "start": "node index", "test": "standard" }, "author": "Karolis Narkevicius <karolis.n@gmail.com>", "license": "ISC", "devDependenci...
901d9bfc172ead50b921b6e0504c483424fda4c1
examples/server-side-react/package.json
examples/server-side-react/package.json
JSON
<|file_sep|>original/app/requirements/prod.txt Flask==0.12.2 MarkupSafe==1.0 Werkzeug==0.12.2 Jinja2==2.9.6 itsdangerous==0.24 click>=5.0 # Database Flask-SQLAlchemy==2.2 psycopg2==2.7.1 SQLAlchemy==1.1.6 # Migrations Flask-Migrate==2.0.3 # Forms Flask-WTF==0.14.2 WTForms==2.1 # Deployment gunicorn>=19.1.1 <|file_s...
Flask==0.12.2 MarkupSafe==1.0 Werkzeug==0.12.2 Jinja2==2.9.6 itsdangerous==0.24 click>=5.0 # Database Flask-SQLAlchemy==2.2 psycopg2==2.7.1 SQLAlchemy==1.1.11 # Migrations Flask-Migrate==2.0.3 # Forms Flask-WTF==0.14.2 WTForms==2.1 # Deployment gunicorn>=19.1.1
<|file_sep|>original/app/requirements/prod.txt Flask==0.12.2 MarkupSafe==1.0 Werkzeug==0.12.2 Jinja2==2.9.6 itsdangerous==0.24 click>=5.0 # Database Flask-SQLAlchemy==2.2 psycopg2==2.7.1 SQLAlchemy==1.1.6 # Migrations Flask-Migrate==2.0.3 # Forms Flask-WTF==0.14.2 WTForms==2.1 # Deployment gunicorn>=19.1.1 <|file_s...
5afbbaf848fb29effea64f3c026ce9713434ce65
app/requirements/prod.txt
app/requirements/prod.txt
Text
<|file_sep|>lib/data/Binary.js.diff original: this.src = path.join(path.dirname(this.file.path), src); updated: if (src.substring(0, 1) === '/') { this.src = path.join(this.file.compiler.base, src.substring(1)); } else { this.src = path.join(path.dirname(this.file.path), src); } <|fil...
this.src = path.join(path.dirname(this.file.path), src); } this.section = section; this.offset = -1; try { this.size = fs.lstatSync(this.src).size; } catch(err) { this.file.fileError(err, 'include binary data', this.src, line, col); } this.section.add(this); } ...
<|file_sep|>lib/data/Binary.js.diff original: this.src = path.join(path.dirname(this.file.path), src); updated: if (src.substring(0, 1) === '/') { this.src = path.join(this.file.compiler.base, src.substring(1)); } else { this.src = path.join(path.dirname(this.file.path), src); } <|fil...
f03eb3d59d77748a8e44173460eadfbc1b91a0d6
lib/data/Binary.js
lib/data/Binary.js
JavaScript
<|file_sep|>original/test/test_helper.rb require 'shoulda' require 'rr' require 'ffi' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) # Since the tests will call Gtk+ functions, Gtk+ must be initialized. module DummyGtk module Lib extend FFI::Library ffi_lib "gtk-x11-2.0" attach_funct...
require 'shoulda' require 'rr' require 'ffi' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) if RUBY_PLATFORM == 'java' require 'java' JRuby.objectspace = true end # Since the tests will call Gtk+ functions, Gtk+ must be initialized. module DummyGtk module Lib extend FFI::Library ffi...
<|file_sep|>original/test/test_helper.rb require 'shoulda' require 'rr' require 'ffi' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) # Since the tests will call Gtk+ functions, Gtk+ must be initialized. module DummyGtk module Lib extend FFI::Library ffi_lib "gtk-x11-2.0" attach_funct...
7c16447a32c55f47dbff215d7725edce202a988e
test/test_helper.rb
test/test_helper.rb
Ruby
<|file_sep|>original/server/views/layout.jade head base(href='/') meta(charset='utf-8') meta(name='viewport', content='width=device-width, initial-scale=1.0') meta(property='og:image', content='https://gokibitz.com#{og.image}') meta(property='og:url', content='https://gokibitz.com#{og.url}') meta(name='twi...
head base(href='/') meta(charset='utf-8') meta(name='viewport', content='width=device-width, initial-scale=1.0') meta(property='og:image', content='https://gokibitz.com#{og.image}') meta(property='og:url', content='https://gokibitz.com#{og.url}') meta(name='twitter:card', content='#{twitter.card}') meta(...
<|file_sep|>original/server/views/layout.jade head base(href='/') meta(charset='utf-8') meta(name='viewport', content='width=device-width, initial-scale=1.0') meta(property='og:image', content='https://gokibitz.com#{og.image}') meta(property='og:url', content='https://gokibitz.com#{og.url}') meta(name='twi...
6808e478aba5516c034f0580a6267516438511c1
server/views/layout.jade
server/views/layout.jade
Jade
<|file_sep|>original/static/deleteAccountPage.js var password = $('#passwordValue').val(); var updateField = '#deleteAccountSubmitMessage'; confirmDelete(userID,verifyCode,password,updateField); }); }); function confirmDelete(userID,verifyCode,password,updateField){ confirmDeleteAjax...
var password = $('#passwordValue').val(); var updateField = '#deleteAccountSubmitMessage'; confirmDelete(userID,verifyCode,password,updateField); }); }); function confirmDelete(userID,verifyCode,password,updateField){ $(updateField).html('Sending delete request...'); confirmDelet...
<|file_sep|>original/static/deleteAccountPage.js var password = $('#passwordValue').val(); var updateField = '#deleteAccountSubmitMessage'; confirmDelete(userID,verifyCode,password,updateField); }); }); function confirmDelete(userID,verifyCode,password,updateField){ confirmDeleteAjax...
fc7831aaa86cf4cf7fb7af253d61ff95a8de339e
static/deleteAccountPage.js
static/deleteAccountPage.js
JavaScript
<|file_sep|>original/learning_journal/scripts/initializedb.py def usage(argv): cmd = os.path.basename(argv[0]) print('usage: %s <config_uri> [var=value]\n' '(example: "%s development.ini")' % (cmd, cmd)) sys.exit(1) with transaction.manager: password = os.environ.get('ADMIN_PASSWORD', 'admi...
def usage(argv): cmd = os.path.basename(argv[0]) print('usage: %s <config_uri> [var=value]\n' '(example: "%s development.ini")' % (cmd, cmd)) sys.exit(1) def main(argv=sys.argv): if len(argv) < 2: usage(argv) config_uri = argv[1] options = parse_vars(argv[2:]) setup_log...
<|file_sep|>original/learning_journal/scripts/initializedb.py def usage(argv): cmd = os.path.basename(argv[0]) print('usage: %s <config_uri> [var=value]\n' '(example: "%s development.ini")' % (cmd, cmd)) sys.exit(1) with transaction.manager: password = os.environ.get('ADMIN_PASSWORD', 'admi...
c252281ab4ba9570c8f54f3fff6e173cf4d60866
learning_journal/scripts/initializedb.py
learning_journal/scripts/initializedb.py
Python
<|file_sep|>.travis.yml.diff original: env: global: updated: <|file_sep|>original/.travis.yml os: linux dist: yaketty sudo: false cache: directories: - $HOME/.m2 addons: apt: packages: - maven - oracle-java8-installer before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb star...
sudo: false cache: directories: - $HOME/.m2 addons: apt: packages: - maven - gtk+3.0 - stalonetray before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 - rm ~/.m2/settings.xml jdk: - oraclejdk8
<|file_sep|>.travis.yml.diff original: env: global: updated: <|file_sep|>original/.travis.yml os: linux dist: yaketty sudo: false cache: directories: - $HOME/.m2 addons: apt: packages: - maven - oracle-java8-installer before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb star...
e91606fb93e4844f4ef6f041de543b45acb974d7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/doc/release/upcoming_changes/16515.improvement.rst <|file_sep|>current/doc/release/upcoming_changes/16515.improvement.rst <|file_sep|>updated/doc/release/upcoming_changes/16515.improvement.rst
NumPy is now typed ------------------ Type annotations have been added for large parts of NumPy. There is also a new `numpy.typing` module that contains useful types for end-users. The currently available types are - ``ArrayLike``: for objects that can be coerced to an array - ``DtypeLike``: for objects that can be co...
<|file_sep|>original/doc/release/upcoming_changes/16515.improvement.rst <|file_sep|>current/doc/release/upcoming_changes/16515.improvement.rst <|file_sep|>updated/doc/release/upcoming_changes/16515.improvement.rst NumPy is now typed ------------------ Type annotations have been added for large parts of NumPy. There i...
7c0d99d99c2034930e558d8b0fb48869964a41f0
doc/release/upcoming_changes/16515.improvement.rst
doc/release/upcoming_changes/16515.improvement.rst
reStructuredText
<|file_sep|>automata/automaton.py.diff original: updated: """an abstract base class for finite automata""" <|file_sep|>automata/automaton.py.diff original: updated: """returns True if the given string is accepted by this automaton; raises the appropriate exception if the string is not accepted""" ...
self.validate_automaton() @abc.abstractmethod def validate_input(self): """returns True if the given string is accepted by this automaton; raises the appropriate exception if the string is not accepted""" pass @abc.abstractmethod def validate_automaton(self): ""...
<|file_sep|>automata/automaton.py.diff original: updated: """an abstract base class for finite automata""" <|file_sep|>automata/automaton.py.diff original: updated: """returns True if the given string is accepted by this automaton; raises the appropriate exception if the string is not accepted""" ...
bf8d9fa8d309a1e1252acdcb8a6cfe785a27c859
automata/automaton.py
automata/automaton.py
Python
<|file_sep|>original/.github/workflows/install_test.yml <|file_sep|>current/.github/workflows/install_test.yml <|file_sep|>updated/.github/workflows/install_test.yml
# Workflow which verifies that the latest stable version can be installed from # pip on all the supported Python versions name: Install stable version using pip on: push: branches: - requests_changes pull_request: branches: - requests_changes schedule: - cron: '0 13 * * *' - cron: '0 ...
<|file_sep|>original/.github/workflows/install_test.yml <|file_sep|>current/.github/workflows/install_test.yml <|file_sep|>updated/.github/workflows/install_test.yml # Workflow which verifies that the latest stable version can be installed from # pip on all the supported Python versions name: Install stable version u...
71f4f1ff6eee19a742424954c3f0764a0a8b3df3
.github/workflows/install_test.yml
.github/workflows/install_test.yml
YAML
<|file_sep|>original/logdna/__init__.py from .logdna import LogDNAHandler __all__ = ['LogDNAHandler'] <|file_sep|>current/logdna/__init__.py from .logdna import LogDNAHandler __all__ = ['LogDNAHandler'] <|file_sep|>updated/logdna/__init__.py
from .logdna import LogDNAHandler __all__ = ['LogDNAHandler'] # Publish this class to the "logging.handlers" module so that it can be use # from a logging config file via logging.config.fileConfig(). import logging.handlers logging.handlers.LogDNAHandler = LogDNAHandler
<|file_sep|>original/logdna/__init__.py from .logdna import LogDNAHandler __all__ = ['LogDNAHandler'] <|file_sep|>current/logdna/__init__.py from .logdna import LogDNAHandler __all__ = ['LogDNAHandler'] <|file_sep|>updated/logdna/__init__.py from .logdna import LogDNAHandler __all__ = ['LogDNAHandler'] # Publish thi...
39c5decd98e8d4feb6c1bbfa487faf35396c8b12
logdna/__init__.py
logdna/__init__.py
Python
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# Python package # Create and test a Python package on multiple Python versions. # Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/python trigger: - master jobs: - job: 'Test' pool: vmI...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # Python package # Create and test a Python package on multiple Python versions. # Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: # ...
b71d227b427cc54c037bdfe5b5b0472c53b52342
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/.vim/userautoload/editor.vim set smarttab au BufRead,BufNewFile,BufReadPre *.coffee set filetype=coffee augroup fileTypeIndent autocmd! autocmd BufNewFile,BufRead *.html setlocal tabstop=2 shiftwidth=2 softtabstop=2 autocmd BufNewFile,BufRead *.coffee setlocal tabstop=2 shiftwidth=2 s...
set smarttab au BufRead,BufNewFile,BufReadPre *.coffee set filetype=coffee augroup fileTypeIndent autocmd! autocmd BufNewFile,BufRead *.html setlocal tabstop=2 shiftwidth=2 softtabstop=2 autocmd BufNewFile,BufRead *.coffee setlocal tabstop=2 shiftwidth=2 softtabstop=2 autocmd BufNewFile,BufRead *.rkt ...
<|file_sep|>original/.vim/userautoload/editor.vim set smarttab au BufRead,BufNewFile,BufReadPre *.coffee set filetype=coffee augroup fileTypeIndent autocmd! autocmd BufNewFile,BufRead *.html setlocal tabstop=2 shiftwidth=2 softtabstop=2 autocmd BufNewFile,BufRead *.coffee setlocal tabstop=2 shiftwidth=2 s...
a0f2efaa568377fe55487788e9198f8e1d0dca4f
.vim/userautoload/editor.vim
.vim/userautoload/editor.vim
VimL
<|file_sep|>original/app/assets/javascripts/legislation_allegations.js.coffee App.LegislationAllegations = toggle_comments: -> $('.draft-allegation').toggleClass('comments-on'); show_comments: -> $('.draft-allegation').addClass('comments-on'); initialize: -> $('.js-toggle-allegations .draft-panel')...
App.LegislationAllegations = toggle_comments: -> $('.draft-allegation').toggleClass('comments-on'); $('#comments-box').html('').hide() show_comments: -> $('.draft-allegation').addClass('comments-on'); initialize: -> $('.js-toggle-allegations .draft-panel').on click: (e) -> e.p...
<|file_sep|>original/app/assets/javascripts/legislation_allegations.js.coffee App.LegislationAllegations = toggle_comments: -> $('.draft-allegation').toggleClass('comments-on'); show_comments: -> $('.draft-allegation').addClass('comments-on'); initialize: -> $('.js-toggle-allegations .draft-panel')...
b0b65f9853935ace09b9e76b47759ed09214694c
app/assets/javascripts/legislation_allegations.js.coffee
app/assets/javascripts/legislation_allegations.js.coffee
CoffeeScript
<|file_sep|>lib/spikor_forge/module.rb.diff original: require 'puppet' require 'puppet/module_tool/metadata' require 'puppet/module_tool/modulefile' require 'tempfile' updated: <|file_sep|>lib/spikor_forge/module.rb.diff original: # Modulefiles are actually ruby code that should be evaluated. # So exctract it ...
@metadata['dependencies'].collect do |dep| [dep['name'], dep['version_requirement'] || '' ] end end def version @metadata['version'] end def name @metadata['name'] end def to_hash { 'file' => @uripath, 'version' => version, 'dependencies' => depend...
<|file_sep|>lib/spikor_forge/module.rb.diff original: require 'puppet' require 'puppet/module_tool/metadata' require 'puppet/module_tool/modulefile' require 'tempfile' updated: <|file_sep|>lib/spikor_forge/module.rb.diff original: # Modulefiles are actually ruby code that should be evaluated. # So exctract it ...
7253b63757560bb04e7b41d7a02f2f9857cd28c6
lib/spikor_forge/module.rb
lib/spikor_forge/module.rb
Ruby
<|file_sep|>original/lib/jellyfish/newrelic.rb module Jellyfish module NewRelic include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation def block_call argument, block path = if argument.respond_to?(:regexp) argument.regexp else argument ...
require 'new_relic/agent/instrumentation/controller_instrumentation' module Jellyfish module NewRelic include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation def block_call argument, block path = if argument.respond_to?(:regexp) argument.regexp else ...
<|file_sep|>original/lib/jellyfish/newrelic.rb module Jellyfish module NewRelic include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation def block_call argument, block path = if argument.respond_to?(:regexp) argument.regexp else argument ...
778245b58d0f579a883c8d301599751dcfa62cb0
lib/jellyfish/newrelic.rb
lib/jellyfish/newrelic.rb
Ruby
<|file_sep|>original/src/SFA.DAS.EAS.Employer_Financial.Database/Script.PreDeployment1.sql -------------------------------------------------------------------------------------- This file contains SQL statements that will be executed before the build script. Use SQLCMD syntax to include a file in the pre-deployment ...
SELECT * FROM [$(TableName)] -------------------------------------------------------------------------------------- */ IF EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'EnglishFraction' and COLUMN_NAME = 'Amount' and NUMERIC_SCALE = 4) BEGIN ALTER TABLE [employer_financial].[...
<|file_sep|>original/src/SFA.DAS.EAS.Employer_Financial.Database/Script.PreDeployment1.sql -------------------------------------------------------------------------------------- This file contains SQL statements that will be executed before the build script. Use SQLCMD syntax to include a file in the pre-deployment ...
b1251ac53e82f5e89e3c3c23a6ac96984a107b89
src/SFA.DAS.EAS.Employer_Financial.Database/Script.PreDeployment1.sql
src/SFA.DAS.EAS.Employer_Financial.Database/Script.PreDeployment1.sql
SQL
<|file_sep|>original/content/articles/2021-07-19-adding-the-ALE-event-detectors.md <|file_sep|>current/content/articles/2021-07-19-adding-the-ALE-event-detectors.md <|file_sep|>updated/content/articles/2021-07-19-adding-the-ALE-event-detectors.md
Title: Adding the Altitude, Latitude, and Eclipse event detectors Date: 2021-07-19 12:00 IST Category: GSOC Tags: GSOC, GSOC21, poliastro slug: adding-ale-event-detectors lang: en Author: Yash It was an engaging first half of GSoC, and it was during this duration, I understood some critical details of executing the ev...
<|file_sep|>original/content/articles/2021-07-19-adding-the-ALE-event-detectors.md <|file_sep|>current/content/articles/2021-07-19-adding-the-ALE-event-detectors.md <|file_sep|>updated/content/articles/2021-07-19-adding-the-ALE-event-detectors.md Title: Adding the Altitude, Latitude, and Eclipse event detectors Date:...
11cf3febda9634a9805f7df5c6b30d53ab1e006e
content/articles/2021-07-19-adding-the-ALE-event-detectors.md
content/articles/2021-07-19-adding-the-ALE-event-detectors.md
Markdown
<|file_sep|>original/LICENSE.txt <|file_sep|>current/LICENSE.txt <|file_sep|>updated/LICENSE.txt
LICENSE Copyright (c) 2006-2008 Kevin Beason (kevin.beason@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mo...
<|file_sep|>original/LICENSE.txt <|file_sep|>current/LICENSE.txt <|file_sep|>updated/LICENSE.txt LICENSE Copyright (c) 2006-2008 Kevin Beason (kevin.beason@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to...
e93a8882dbd50423e336cc8a8551045432515934
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.3 - 2.4 - 2.5 script: bundle exec rake <|file_sep|>current/.travis.yml language: ruby rvm: - 2.3 - 2.4 - 2.5 script: bundle exec rake <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.3 - 2.4 - 2.5 - 2.6 script: bundle exec rake
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.3 - 2.4 - 2.5 script: bundle exec rake <|file_sep|>current/.travis.yml language: ruby rvm: - 2.3 - 2.4 - 2.5 script: bundle exec rake <|file_sep|>updated/.travis.yml language: ruby rvm: - 2.3 - 2.4 - 2.5 - 2.6 script: bundle exec rake
b2dccb4ee28a1b9dcacf1b8c5e53c9e47a4692f4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements-dev.txt -r requirements.txt check-manifest==0.40 pyroma==2.6 pytest==5.3.5 pytest-mock==2.0.0 tox==3.14.3 flake8==3.7.9 twine==3.1.1 coverage==5.0.3 pytest-cov==2.8.1 Sphinx==2.4.0 sphinx-autobuild==0.7.1 sphinx-autodoc-typehints==1.10.3 redis==3.4.0 Cython==0.29.14 happybase==1.2.0 <|...
-r requirements.txt check-manifest==0.40 pyroma==2.6 pytest==5.3.5 pytest-mock==2.0.0 tox==3.14.4 flake8==3.7.9 twine==3.1.1 coverage==5.0.3 pytest-cov==2.8.1 Sphinx==2.4.0 sphinx-autobuild==0.7.1 sphinx-autodoc-typehints==1.10.3 redis==3.4.0 Cython==0.29.14 happybase==1.2.0
<|file_sep|>original/requirements-dev.txt -r requirements.txt check-manifest==0.40 pyroma==2.6 pytest==5.3.5 pytest-mock==2.0.0 tox==3.14.3 flake8==3.7.9 twine==3.1.1 coverage==5.0.3 pytest-cov==2.8.1 Sphinx==2.4.0 sphinx-autobuild==0.7.1 sphinx-autodoc-typehints==1.10.3 redis==3.4.0 Cython==0.29.14 happybase==1.2.0 <|...
5fcc51f55dfc9df281bff332720c3fe34fd75670
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/CMakeLists.txt CMAKE_MINIMUM_REQUIRED (VERSION 3.0.0 FATAL_ERROR) IF (NOT MYPACKAGEBOOTSTRAP_DONE) INCLUDE ("3rdparty/github/cmake-utils-remote/cmake/MyPackageBootstrap.cmake") ENDIF () MYPACKAGESTART (genericLogger 1 0 12) ###################### # Library definition # ###################### FIL...
CMAKE_MINIMUM_REQUIRED (VERSION 3.0.0 FATAL_ERROR) IF (NOT MYPACKAGEBOOTSTRAP_DONE) INCLUDE ("3rdparty/github/cmake-utils-remote/cmake/MyPackageBootstrap.cmake") ENDIF () MYPACKAGESTART (genericLogger 1 0 13) ###################### # Library definition # ###################### FILE (GLOB lib_src src/*.c) MYPACKAGELI...
<|file_sep|>original/CMakeLists.txt CMAKE_MINIMUM_REQUIRED (VERSION 3.0.0 FATAL_ERROR) IF (NOT MYPACKAGEBOOTSTRAP_DONE) INCLUDE ("3rdparty/github/cmake-utils-remote/cmake/MyPackageBootstrap.cmake") ENDIF () MYPACKAGESTART (genericLogger 1 0 12) ###################### # Library definition # ###################### FIL...
8f62e2cca7b39296c714114a4ce016dc9faeefc3
CMakeLists.txt
CMakeLists.txt
Text