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/README.md username: john secret: password originate: channel: SIP/100 context: internal priority: 1 callerid: ast-call ~~~ Originating calls is now as easy as: $ ast-call '*1' ## Contributing 1. Fork it ( https://github.com/sante-link/ast_call/fork ) 2. Create your feature bran...
channel: SIP/100 context: internal priority: 1 callerid: ast-call ~~~ Originating calls is now as easy as: $ ast-call '*1' ## Browser Integration Register the `tel:` protocol by creating a [Desktop Entry Specification](http://standards.freedesktop.org/desktop-entry-spec/latest/) file (e.g. `/usr/share/a...
<|file_sep|>original/README.md username: john secret: password originate: channel: SIP/100 context: internal priority: 1 callerid: ast-call ~~~ Originating calls is now as easy as: $ ast-call '*1' ## Contributing 1. Fork it ( https://github.com/sante-link/ast_call/fork ) 2. Create your feature bran...
e985412199764d6c9d7ebb825d7157ef74247a94
README.md
README.md
Markdown
<|file_sep|>original/README.md To install: ```javascript npm install hyperdescribe-uber-json ``` To use: ```javascript var uberDoc = require('./examples/uber_example.js'), HyperdescribeUberJSON = require('hyperdescribe-uber-json'), parsed = HyperdescribeUberJSON.parser(uberDoc); ``` ## Browser Version The...
To use: ```javascript var uberDoc = require('./examples/uber_example.js'), HyperdescribeUberJSON = require('hyperdescribe-uber-json'), parsed = HyperdescribeUberJSON.parser(uberDoc); ``` ## Browser Version There is also a browser version in the `dist` directory. * [Development](dist/uberjson.hyperdescribe....
<|file_sep|>original/README.md To install: ```javascript npm install hyperdescribe-uber-json ``` To use: ```javascript var uberDoc = require('./examples/uber_example.js'), HyperdescribeUberJSON = require('hyperdescribe-uber-json'), parsed = HyperdescribeUberJSON.parser(uberDoc); ``` ## Browser Version The...
6a5511b274216d654f1c725a5ac6145e954eeeb1
README.md
README.md
Markdown
<|file_sep|>Modules/Biophotonics/python/iMC/msi/io/spectrometerreader.py.diff original: if ">>>>>Begin Spectral Data<<<<<" in line: updated: if ">>>>>Begin" in line: <|file_sep|>original/Modules/Biophotonics/python/iMC/msi/io/spectrometerreader.py def read(self, file_to_read): # our ...
replacements = {',': '.', '\r\n': ''} with open(file_to_read) as infile: for line in infile: for src, target in replacements.iteritems(): line = line.replace(src, target) transformed = "\n".join([transformed, line]) for num, line i...
<|file_sep|>Modules/Biophotonics/python/iMC/msi/io/spectrometerreader.py.diff original: if ">>>>>Begin Spectral Data<<<<<" in line: updated: if ">>>>>Begin" in line: <|file_sep|>original/Modules/Biophotonics/python/iMC/msi/io/spectrometerreader.py def read(self, file_to_read): # our ...
0f7816676eceb42f13786408f1d1a09527919a1e
Modules/Biophotonics/python/iMC/msi/io/spectrometerreader.py
Modules/Biophotonics/python/iMC/msi/io/spectrometerreader.py
Python
<|file_sep|>original/demo/index-optimized.html <|file_sep|>current/demo/index-optimized.html <|file_sep|>updated/demo/index-optimized.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> 1. Run `npm run optimize` 2. Open console tab in dev tools! <script src="libs/requirejs.min.js"></script> <script src="main-built.js"></script> </body> </html>
<|file_sep|>original/demo/index-optimized.html <|file_sep|>current/demo/index-optimized.html <|file_sep|>updated/demo/index-optimized.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> 1. Run `npm run optimize` 2. Open console tab in dev tools! ...
19ad64cd081406417a449b2e3d4f7004635b95b7
demo/index-optimized.html
demo/index-optimized.html
HTML
<|file_sep|>original/src/nitrogen/actions/action_api.erl -module(action_api). -author('Maxim Sokhatsky'). -include_lib("n2o/include/wf.hrl"). -compile(export_all). render_action(Record) -> Name = Record#api.name, Data = "utf8_toByteArray(JSON.stringify(data))", PostbackScript = wf_event:new(Name, "document...
-module(action_api). -author('Maxim Sokhatsky'). -include_lib("n2o/include/wf.hrl"). -compile(export_all). render_action(Record) -> Name = Record#api.name, Data = "utf8_toByteArray(JSON.stringify(data))", PostbackScript = wf_event:new(Name, "document", Record#api.delegate, api_event, Data, []), wf:f("~...
<|file_sep|>original/src/nitrogen/actions/action_api.erl -module(action_api). -author('Maxim Sokhatsky'). -include_lib("n2o/include/wf.hrl"). -compile(export_all). render_action(Record) -> Name = Record#api.name, Data = "utf8_toByteArray(JSON.stringify(data))", PostbackScript = wf_event:new(Name, "document...
f2fd1e7b7b99f70bca45d5b83649c10cf5c5a05c
src/nitrogen/actions/action_api.erl
src/nitrogen/actions/action_api.erl
Erlang
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: bash env: - DOKKU_VERSION=master - DOKKU_VERSION=v0.7.0 - DOKKU_VERSION=v0.6.0 - DOKKU_VERSION=v0.5.0 - DOKKU_VERSION=v0.4.0 before_install: make setup script: make test <|file_sep|>current/.travis.yml sudo: required dist: trusty language:...
sudo: required dist: trusty language: bash env: - DOKKU_VERSION=master # - DOKKU_VERSION=v0.7.0 # - DOKKU_VERSION=v0.6.0 # - DOKKU_VERSION=v0.5.0 # - DOKKU_VERSION=v0.4.0 before_install: make setup script: make test
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: bash env: - DOKKU_VERSION=master - DOKKU_VERSION=v0.7.0 - DOKKU_VERSION=v0.6.0 - DOKKU_VERSION=v0.5.0 - DOKKU_VERSION=v0.4.0 before_install: make setup script: make test <|file_sep|>current/.travis.yml sudo: required dist: trusty language:...
eee45f78952b92d02a6e35ca0cd5857b03cfe77a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spec/spec_helper.rb require "pry" require "vcr" require "webmock/rspec" RSpec.configure do |config| config.example_status_persistence_file_path = ".rspec_status" config.disable_monkey_patching! config.extend VCR::RSpec::Macros config.expect_with :rspec do |c| c.syntax = :expect end...
require "vcr" require "webmock/rspec" RSpec.configure do |config| config.example_status_persistence_file_path = ".rspec_status" config.disable_monkey_patching! config.extend VCR::RSpec::Macros config.expect_with :rspec do |c| c.syntax = :expect end unless ENV["CI"] config.filter_run focus: true ...
<|file_sep|>original/spec/spec_helper.rb require "pry" require "vcr" require "webmock/rspec" RSpec.configure do |config| config.example_status_persistence_file_path = ".rspec_status" config.disable_monkey_patching! config.extend VCR::RSpec::Macros config.expect_with :rspec do |c| c.syntax = :expect end...
ba14874758cfc10f8da512186187043e5d4b60db
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/package.json "type": "git", "url": "https://github.com/kchung/fullslate.git" }, "engines": { "node": ">= v0.12.0" }, "devDependencies": { "babel": "~5.8.21", "chai": "~3.2.0", "mocha": "~2.2.5" }, "dependencies": { "superagent": "^1.3.0" }, "main": "lib/F...
"type": "git", "url": "https://github.com/kchung/fullslate.git" }, "engines": { "node": ">= v0.12.0" }, "devDependencies": { "babel": "~5.8.21", "chai": "~3.2.0", "mocha": "~2.2.5" }, "dependencies": { "superagent": "^1.3.0" }, "main": "lib/FullSlate", "scripts": { "bui...
<|file_sep|>original/package.json "type": "git", "url": "https://github.com/kchung/fullslate.git" }, "engines": { "node": ">= v0.12.0" }, "devDependencies": { "babel": "~5.8.21", "chai": "~3.2.0", "mocha": "~2.2.5" }, "dependencies": { "superagent": "^1.3.0" }, "main": "lib/F...
cdcd25ceb579babde6bb9a6057643171e2736f6d
package.json
package.json
JSON
<|file_sep|>metadata/com.javiersantos.whatsappbetaupdater.txt.diff original: updated: Build:3.1.1,19 commit=v3.1.1 subdir=app gradle=yes <|file_sep|>original/metadata/com.javiersantos.whatsappbetaupdater.txt Changelog:https://github.com/javiersantos/WhatsAppBetaUpdater/blob/HEAD/CHANGELOG.md Auto Name:Be...
Update the popular, but proprietary instant messenger WhatsApp to the latest beta release. . Repo Type:git Repo:https://github.com/javiersantos/WhatsAppBetaUpdater Build:3.0,13 commit=v3.0 subdir=app gradle=yes Build:3.1.1,19 commit=v3.1.1 subdir=app gradle=yes Auto Update Mode:Version v%v U...
<|file_sep|>metadata/com.javiersantos.whatsappbetaupdater.txt.diff original: updated: Build:3.1.1,19 commit=v3.1.1 subdir=app gradle=yes <|file_sep|>original/metadata/com.javiersantos.whatsappbetaupdater.txt Changelog:https://github.com/javiersantos/WhatsAppBetaUpdater/blob/HEAD/CHANGELOG.md Auto Name:Be...
7ecdf0d699dab4008903456adfe779af2fa7bca5
metadata/com.javiersantos.whatsappbetaupdater.txt
metadata/com.javiersantos.whatsappbetaupdater.txt
Text
<|file_sep|>packages/th/theatre.yaml.diff original: hash: f52a416f91a0f051b7bd29e0e55720209f15bb34e918fdd2189c3011316265e2 updated: hash: a61d0f49cf60632538dbe0e173e93481df6857ec0f96939983592375eac47722 <|file_sep|>packages/th/theatre.yaml.diff original: base-prelude: ! '>=0.1.19 && <2' base: ! '>=4.8 && <5' update...
homepage: https://github.com/nikita-volkov/theatre changelog-type: '' hash: a61d0f49cf60632538dbe0e173e93481df6857ec0f96939983592375eac47722 test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: Minimalistic actor library changelog: '' basic-deps: base: '>=4.9 && <5' slave-thread: ==1.* ...
<|file_sep|>packages/th/theatre.yaml.diff original: hash: f52a416f91a0f051b7bd29e0e55720209f15bb34e918fdd2189c3011316265e2 updated: hash: a61d0f49cf60632538dbe0e173e93481df6857ec0f96939983592375eac47722 <|file_sep|>packages/th/theatre.yaml.diff original: base-prelude: ! '>=0.1.19 && <2' base: ! '>=4.8 && <5' update...
491abbde2652fe0bb6704ecd4cb8a2a4bf7150a3
packages/th/theatre.yaml
packages/th/theatre.yaml
YAML
<|file_sep|>original/schemas/dialogue-revision.yml readOnly: true description: | The revisions's identifier (generated by the API) user_id: type: string readOnly: true description: | The identifier for the user who created this revision. patch: $ref: 'http://json.schemastore.or...
readOnly: true description: | The revisions's identifier (generated by the API) user_id: type: string readOnly: true description: | The identifier for the user who created this revision. created: type: number readOnly: true description: | Timestamp representing wh...
<|file_sep|>original/schemas/dialogue-revision.yml readOnly: true description: | The revisions's identifier (generated by the API) user_id: type: string readOnly: true description: | The identifier for the user who created this revision. patch: $ref: 'http://json.schemastore.or...
1baf7c2c2d76ddce82f316058df5bfb990c00d82
schemas/dialogue-revision.yml
schemas/dialogue-revision.yml
YAML
<|file_sep|>original/spec/jobs/renalware/hd/generate_monthly_statistics_job_spec.rb module Renalware module HD describe GenerateMonthlyStatisticsJob, type: :job do it { is_expected.to respond_to(:queue_name) } describe "#perform" do it "delegates to a service object passing in last month" do...
module HD describe GenerateMonthlyStatisticsJob, type: :job do it { is_expected.to respond_to(:queue_name) } describe "#perform" do it "delegates to a service object passing in last month" do patient = create(:hd_patient) travel_to Date.new(2017, 02, 01) do ...
<|file_sep|>original/spec/jobs/renalware/hd/generate_monthly_statistics_job_spec.rb module Renalware module HD describe GenerateMonthlyStatisticsJob, type: :job do it { is_expected.to respond_to(:queue_name) } describe "#perform" do it "delegates to a service object passing in last month" do...
9b5032dfece7e136830bcb6c909731f5b87beb6a
spec/jobs/renalware/hd/generate_monthly_statistics_job_spec.rb
spec/jobs/renalware/hd/generate_monthly_statistics_job_spec.rb
Ruby
<|file_sep|>original/requirements.txt python-telegram-bot==6.1.0 boltons==17.1.0 plumbum==1.6.3 #transliterate==1.9 scdl==1.6.6 bandcamp-downloader==0.0.8.post6 youtube-dl==2017.7.23 pydub==0.19.0 mutagen==1.38 patool==1.12 pyshorteners==0.6.1 Celery==4.0.2 <|file_sep|>current/requirements.txt python-telegram-bot==6.1....
python-telegram-bot==6.1.0 boltons==17.1.0 plumbum==1.6.3 #transliterate==1.9 scdl==1.6.6 bandcamp-downloader==0.0.8.post6 youtube-dl==2017.7.23 pydub==0.19.0 mutagen==1.38 patool==1.12 pyshorteners==0.6.1 Celery==4.1.0
<|file_sep|>original/requirements.txt python-telegram-bot==6.1.0 boltons==17.1.0 plumbum==1.6.3 #transliterate==1.9 scdl==1.6.6 bandcamp-downloader==0.0.8.post6 youtube-dl==2017.7.23 pydub==0.19.0 mutagen==1.38 patool==1.12 pyshorteners==0.6.1 Celery==4.0.2 <|file_sep|>current/requirements.txt python-telegram-bot==6.1....
99eb40d0c3388d893f522d1cd05978eb06314981
requirements.txt
requirements.txt
Text
<|file_sep|>original/recipes/lunardate/meta.yaml <|file_sep|>current/recipes/lunardate/meta.yaml <|file_sep|>updated/recipes/lunardate/meta.yaml
{% set name = "lunardate" %} {% set version = "0.2.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 6c9c96d9f01522a10ab35df1a9b48707ae64a086f13fd34498b43f465918cc6f build: noarch: pytho...
<|file_sep|>original/recipes/lunardate/meta.yaml <|file_sep|>current/recipes/lunardate/meta.yaml <|file_sep|>updated/recipes/lunardate/meta.yaml {% set name = "lunardate" %} {% set version = "0.2.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[...
01ad8ad327a1e592e6b2fd4d690aace00d45a229
recipes/lunardate/meta.yaml
recipes/lunardate/meta.yaml
YAML
<|file_sep|>.travis.yml.diff original: - DJANGO_VERSION=1.4.10 - DJANGO_VERSION=1.5.5 - DJANGO_VERSION=1.6.2 updated: - DJANGO_VERSION=1.4.12 - DJANGO_VERSION=1.5.7 - DJANGO_VERSION=1.6.4 <|file_sep|>.travis.yml.diff original: env: DJANGO_VERSION=1.4.10 updated: env: DJANGO_VERSION=1.4.12 <|fi...
env: - DJANGO_VERSION=1.4.12 - DJANGO_VERSION=1.5.7 - DJANGO_VERSION=1.6.4 python: - "2.6" - "2.7" - "3.3" - "3.4" - "pypy" matrix: exclude: - python: "3.3" env: DJANGO_VERSION=1.4.12 - python: "3.4" env: DJANGO_VERSION=1.4.12 install: - pip install django==$DJANGO_VERSION no...
<|file_sep|>.travis.yml.diff original: - DJANGO_VERSION=1.4.10 - DJANGO_VERSION=1.5.5 - DJANGO_VERSION=1.6.2 updated: - DJANGO_VERSION=1.4.12 - DJANGO_VERSION=1.5.7 - DJANGO_VERSION=1.6.4 <|file_sep|>.travis.yml.diff original: env: DJANGO_VERSION=1.4.10 updated: env: DJANGO_VERSION=1.4.12 <|fi...
fc58497ca20d0ad03d2af781f3af6be160029a13
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # micromouse-maze Code for manipulating mazes used in the micromouse contest <|file_sep|>current/README.md # micromouse-maze Code for manipulating mazes used in the micromouse contest <|file_sep|>updated/README.md
# micromouse-maze Code for manipulating mazes used in the micromouse contest This is configured for gitflow. Development is through branches from develop. The Netbeans Project is a part of the repository. It remains to be seen how well that works across platforms. It may need a bit of fancy work with .gitignore.
<|file_sep|>original/README.md # micromouse-maze Code for manipulating mazes used in the micromouse contest <|file_sep|>current/README.md # micromouse-maze Code for manipulating mazes used in the micromouse contest <|file_sep|>updated/README.md # micromouse-maze Code for manipulating mazes used in the micromouse contes...
6ed9f7fed44d9720812aabb4dc6c27887a6e3487
README.md
README.md
Markdown
<|file_sep|>04/jjhampton-ch4-linked-list.js.diff original: updated: function nth(list, number) { const array = listToArray(list); return array[number]; } <|file_sep|>04/jjhampton-ch4-linked-list.js.diff original: updated: const theArray3 = [10, 20, 30]; console.log(arrayToList(theArray3)); <|file_sep|>or...
rest: list }; return newList; } function nth(list, number) { const array = listToArray(list); return array[number]; } const theArray = [1, 2, 3, 4, 5, 6, 7, 8]; console.log(arrayToList(theArray)); const theArray3 = [10, 20, 30]; console.log(arrayToList(theArray3)); const theList =...
<|file_sep|>04/jjhampton-ch4-linked-list.js.diff original: updated: function nth(list, number) { const array = listToArray(list); return array[number]; } <|file_sep|>04/jjhampton-ch4-linked-list.js.diff original: updated: const theArray3 = [10, 20, 30]; console.log(arrayToList(theArray3)); <|file_sep|>or...
46d02ecf8604a238f480a189e30f98b6f1fc3372
04/jjhampton-ch4-linked-list.js
04/jjhampton-ch4-linked-list.js
JavaScript
<|file_sep|>original/tests/ZendTest/Cache/Storage/Adapter/KeyListIteratorTest.php <|file_sep|>current/tests/ZendTest/Cache/Storage/Adapter/KeyListIteratorTest.php <|file_sep|>updated/tests/ZendTest/Cache/Storage/Adapter/KeyListIteratorTest.php
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @package Z...
<|file_sep|>original/tests/ZendTest/Cache/Storage/Adapter/KeyListIteratorTest.php <|file_sep|>current/tests/ZendTest/Cache/Storage/Adapter/KeyListIteratorTest.php <|file_sep|>updated/tests/ZendTest/Cache/Storage/Adapter/KeyListIteratorTest.php <?php /** * Zend Framework (http://framework.zend.com/) * * @link ...
9babe9d8d198519345f9713928d6360567251afb
tests/ZendTest/Cache/Storage/Adapter/KeyListIteratorTest.php
tests/ZendTest/Cache/Storage/Adapter/KeyListIteratorTest.php
PHP
<|file_sep|>original/package.json { "name": "alef.js", "version": "1.0.13", "description": "ES6 Immutable Data Structures Library", "main": "./dist/index.js", "scripts": { "test": "ava", "test:watch": "ava --verbose --fail-fast --watch", "build": "babel src --presets babel-preset-env --out-dir dis...
{ "name": "alef.js", "version": "1.0.14", "description": "ES6 Immutable Data Structures Library", "main": "./dist/index.js", "scripts": { "test": "ava", "test:watch": "ava --verbose --fail-fast --watch", "build": "babel src --presets babel-preset-env --out-dir dist", "prepublish": "npm run bui...
<|file_sep|>original/package.json { "name": "alef.js", "version": "1.0.13", "description": "ES6 Immutable Data Structures Library", "main": "./dist/index.js", "scripts": { "test": "ava", "test:watch": "ava --verbose --fail-fast --watch", "build": "babel src --presets babel-preset-env --out-dir dis...
71b0f1412295e64482c38176707881d43a79ffe9
package.json
package.json
JSON
<|file_sep|>original/backend/app/models/statistic/medium.rb module Statistic class Medium < ApplicationRecord translates :name globalize_accessors attribute :name self.primary_key = :id belongs_to :station, class_name: '::Station', foreign_key: :id # this isn't strictly necessary, but it will...
module Statistic class Medium < ApplicationRecord translates :name globalize_accessors attribute :name self.primary_key = :id belongs_to :medium, class_name: '::Medium', foreign_key: :id # this isn't strictly necessary, but it will prevent # rails from calling save, which would fail anywa...
<|file_sep|>original/backend/app/models/statistic/medium.rb module Statistic class Medium < ApplicationRecord translates :name globalize_accessors attribute :name self.primary_key = :id belongs_to :station, class_name: '::Station', foreign_key: :id # this isn't strictly necessary, but it will...
a3dc0e3773c0aad28e5e66953a285c016c4df384
backend/app/models/statistic/medium.rb
backend/app/models/statistic/medium.rb
Ruby
<|file_sep|>php/defines.php.diff original: updated: <|file_sep|>original/php/defines.php <?php /** * Global variables & options */ /** * DATABASE CONNECTION VARIABLES */ $db_hostmame = "localhost"; $db_username = "root"; $db_password = "root"; $db_dbase = "helppy"; /** * BASE URL */ $baseurl = "http://local...
<?php /** * Global variables & options */ /** * DATABASE CONNECTION VARIABLES */ $db_hostmame = "localhost"; $db_username = "root"; $db_password = "root"; $db_dbase = "helppy"; /** * BASE URL */ $baseurl = "http://localhost:8888"; ?>
<|file_sep|>php/defines.php.diff original: updated: <|file_sep|>original/php/defines.php <?php /** * Global variables & options */ /** * DATABASE CONNECTION VARIABLES */ $db_hostmame = "localhost"; $db_username = "root"; $db_password = "root"; $db_dbase = "helppy"; /** * BASE URL */ $baseurl = "http://local...
55d9247553dcdbaec4d43828d0ebfbb71e1f1528
php/defines.php
php/defines.php
PHP
<|file_sep|>apis/Google.Cloud.Firestore/generateprotos.sh.diff original: # Requires that the googleapis repo has already been updated: <|file_sep|>original/apis/Google.Cloud.Firestore/generateprotos.sh #!/bin/bash # Generates internal protos used by Google.Cloud.Firestore. # Requires that the googleapis repo has alr...
#!/bin/bash # Generates internal protos used by Google.Cloud.Firestore. set -e source ../../toolversions.sh install_protoc rm -rf tmp git clone https://github.com/googleapis/googleapis --depth 1 tmp $PROTOC \ --csharp_out=Google.Cloud.Firestore \ --csharp_opt=internal_access=true,file_extension=.g.cs \ -I $P...
<|file_sep|>apis/Google.Cloud.Firestore/generateprotos.sh.diff original: # Requires that the googleapis repo has already been updated: <|file_sep|>original/apis/Google.Cloud.Firestore/generateprotos.sh #!/bin/bash # Generates internal protos used by Google.Cloud.Firestore. # Requires that the googleapis repo has alr...
a1e1c973c8856886197b1b939a5d281af4344ed1
apis/Google.Cloud.Firestore/generateprotos.sh
apis/Google.Cloud.Firestore/generateprotos.sh
Shell
<|file_sep|>original/README.md git clone https://github.com/gyng/rcanary.git cd rcanary cargo run --release my_config.toml Configure settings and the targets to probe in the configuration toml passed in to the program. An example is in `test/fixtures/config.toml`. [SMTP configuration for Gmail can be foun...
git clone https://github.com/gyng/rcanary.git cd rcanary cargo run --release my_config.toml Configure settings and the targets to probe in the configuration toml passed in to the program. An example is in `test/fixtures/config.toml`. [SMTP configuration for Gmail can be found here](https://support.google....
<|file_sep|>original/README.md git clone https://github.com/gyng/rcanary.git cd rcanary cargo run --release my_config.toml Configure settings and the targets to probe in the configuration toml passed in to the program. An example is in `test/fixtures/config.toml`. [SMTP configuration for Gmail can be foun...
810913e5d70e96fbc19e1860387101580918be7b
README.md
README.md
Markdown
<|file_sep|>test/SILOptimizer/mandatory_nil_comparison_inlining.swift.diff original: updated: struct X { } <|file_sep|>test/SILOptimizer/mandatory_nil_comparison_inlining.swift.diff original: func array_func_rhs_nil(x: [Int]?) -> Bool { updated: func array_func_rhs_nil(x: [X]?) -> Bool { <|file_sep|>test/SILOptimizer/...
// CHECK-LABEL: sil {{.*}} @{{.*}}array_func_lhs_nil // CHECK: switch_enum_addr // CHECK: return func array_func_lhs_nil(x: [X]?) -> Bool { return nil == x } // CHECK-LABEL: sil {{.*}} @{{.*}}array_func_rhs_non_nil // CHECK: switch_enum_addr // CHECK: return func array_func_rhs_non_nil(x: [X]?) -> Bool { return x ...
<|file_sep|>test/SILOptimizer/mandatory_nil_comparison_inlining.swift.diff original: updated: struct X { } <|file_sep|>test/SILOptimizer/mandatory_nil_comparison_inlining.swift.diff original: func array_func_rhs_nil(x: [Int]?) -> Bool { updated: func array_func_rhs_nil(x: [X]?) -> Bool { <|file_sep|>test/SILOptimizer/...
80275b91e3ec609103fdba707183bb68c9baf2c1
test/SILOptimizer/mandatory_nil_comparison_inlining.swift
test/SILOptimizer/mandatory_nil_comparison_inlining.swift
Swift
<|file_sep|>original/spec/factories/documents.rb # Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :document do sequence(:title) {|n| "Title #{n}"} sequence(:body) {|n| "MyText #{n}"} versions { [FactoryGirl.build_stubbed(:version)] } project end end...
# Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :document do sequence(:title) {|n| "Title #{n}"} sequence(:body) {|n| "MyText #{n}"} versions { [FactoryGirl.build(:version)] } project end end
<|file_sep|>original/spec/factories/documents.rb # Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :document do sequence(:title) {|n| "Title #{n}"} sequence(:body) {|n| "MyText #{n}"} versions { [FactoryGirl.build_stubbed(:version)] } project end end...
cbc69dea32606cc7c088ffb2f7eb9f60efaf0489
spec/factories/documents.rb
spec/factories/documents.rb
Ruby
<|file_sep|>original/tox.ini envlist = py27,pypy,pep8 minversion = 1.6 skipsdist = True [testenv] setenv = VIRTUAL_ENV={envdir} usedevelop = True install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowes...
envlist = py27,pypy,pep8 minversion = 1.6 skipsdist = True [testenv] setenv = VIRTUAL_ENV={envdir} usedevelop = True install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt whitelist_externals = find commands = find . -type f -name "*.pyc" -...
<|file_sep|>original/tox.ini envlist = py27,pypy,pep8 minversion = 1.6 skipsdist = True [testenv] setenv = VIRTUAL_ENV={envdir} usedevelop = True install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowes...
f0dd4ab87f8463c0f87f29bccf34cb3ed6ba7a64
tox.ini
tox.ini
INI
<|file_sep|>original/.travis.yml language: python python: # Only 2.7 to prevent having to install NumPy and SciPy from source. - "2.7" virtualenv: system_site_packages: true install: - sudo apt-get update - sudo apt-get install cython python-numpy python-scipy - pip install scikit-learn - pip install . ...
language: python python: # Only 2.7 to prevent having to install NumPy and SciPy from source. - "2.7" virtualenv: system_site_packages: true install: - sudo apt-get update - sudo apt-get install cython python-numpy - pip install scipy - pip install scikit-learn - pip install . script: - cd /tmp -...
<|file_sep|>original/.travis.yml language: python python: # Only 2.7 to prevent having to install NumPy and SciPy from source. - "2.7" virtualenv: system_site_packages: true install: - sudo apt-get update - sudo apt-get install cython python-numpy python-scipy - pip install scikit-learn - pip install . ...
dfd87f7dc4c3ace15ac58f20ac1cebde966c8317
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spec/lib/supermarket/authorization_spec.rb require 'spec_helper' class ReadOnly class Policy def initialize(*_) ; end def show? true end def edit? false end end def policy_class Policy end end describe Supermarket::Authorization do <|file_sep|>curren...
require 'spec_helper' class ReadOnly class Policy def initialize(*_); end def show? true end def edit? false end end def policy_class Policy end end describe Supermarket::Authorization do
<|file_sep|>original/spec/lib/supermarket/authorization_spec.rb require 'spec_helper' class ReadOnly class Policy def initialize(*_) ; end def show? true end def edit? false end end def policy_class Policy end end describe Supermarket::Authorization do <|file_sep|>curren...
0078e05e90693796fea0c0879ea71c6dbb326df3
spec/lib/supermarket/authorization_spec.rb
spec/lib/supermarket/authorization_spec.rb
Ruby
<|file_sep|>original/app/assets/stylesheets/partials/_pages.scss } } #landing-page, #signup-success { .jumbotron { background-color: rgba(238, 238, 238, 0.95); .page-header { img { margin-right: 10px; max-width: 20%; } } .lead { font-size: 25px; font-wei...
} } #landing-page, #signup-success { .jumbotron { background-color: rgba(238, 238, 238, 0.95); .page-header { border: 0; img { margin-right: 10px; max-width: 20%; } } .lead { font-size: 25px; font-weight: 400;
<|file_sep|>original/app/assets/stylesheets/partials/_pages.scss } } #landing-page, #signup-success { .jumbotron { background-color: rgba(238, 238, 238, 0.95); .page-header { img { margin-right: 10px; max-width: 20%; } } .lead { font-size: 25px; font-wei...
304fc06ee491a60ca646e99f47f53895f753f3a1
app/assets/stylesheets/partials/_pages.scss
app/assets/stylesheets/partials/_pages.scss
SCSS
<|file_sep|>original/BHCDatabase/app/views/users/show.html.erb <% provide(:title, @user.name) %> <h1> <%= @user.name %><br> <%= @user.telephone %><br> <%= @user.dob %> </h1> <|file_sep|>current/BHCDatabase/app/views/users/show.html.erb <% provide(:title, @user.name) %> <h1> <%= @user.name %><br> <%= @user.tel...
<% provide(:title, @user.name) %> <h1> <%= @user.name %><br> <%= @user.telephone %><br> <%= @user.dob %> <% @user.enrolments.each do |e| %> <p><%= e.initiative.name %></p> <% end %> </h1>
<|file_sep|>original/BHCDatabase/app/views/users/show.html.erb <% provide(:title, @user.name) %> <h1> <%= @user.name %><br> <%= @user.telephone %><br> <%= @user.dob %> </h1> <|file_sep|>current/BHCDatabase/app/views/users/show.html.erb <% provide(:title, @user.name) %> <h1> <%= @user.name %><br> <%= @user.tel...
927033fb608a02494add3648e5285f5f39f75e73
BHCDatabase/app/views/users/show.html.erb
BHCDatabase/app/views/users/show.html.erb
HTML+ERB
<|file_sep|>original/metadata/me.sheimi.sgit.txt gradle=yes Build:1.3.1,109 commit=v1.3.1-rc1 gradle=yes Build:1.3.2,110 commit=v1.3.2 gradle=yes prebuild=echo -e "android { lintOptions { disable 'MissingTranslation' } }" >> build.gradle Build:1.3.3,111 disable=ValidFragment error com...
gradle=yes Build:1.3.1,109 commit=v1.3.1-rc1 gradle=yes Build:1.3.2,110 commit=v1.3.2 gradle=yes prebuild=echo -e "android { lintOptions { disable 'MissingTranslation' } }" >> build.gradle Build:1.3.3,111 disable=ValidFragment error commit=v1.3.3 gradle=yes prebuild=echo -e "a...
<|file_sep|>original/metadata/me.sheimi.sgit.txt gradle=yes Build:1.3.1,109 commit=v1.3.1-rc1 gradle=yes Build:1.3.2,110 commit=v1.3.2 gradle=yes prebuild=echo -e "android { lintOptions { disable 'MissingTranslation' } }" >> build.gradle Build:1.3.3,111 disable=ValidFragment error com...
f2f60c80cee132a1ce03aab564b5c90d398d5167
metadata/me.sheimi.sgit.txt
metadata/me.sheimi.sgit.txt
Text
<|file_sep|>original/riak_test/bin/floppystore-current.sh <|file_sep|>current/riak_test/bin/floppystore-current.sh <|file_sep|>updated/riak_test/bin/floppystore-current.sh
#!/usr/bin/env bash # just bail out if things go south set -e : ${RTEE_DEST_DIR:="$HOME/rt/floppystore"} echo "Making $(pwd) the current release:" cwd=$(pwd) echo -n " - Determining version: " VERSION="current" # if [ -f $cwd/dependency_manifest.git ]; then # VERSION=`cat $cwd/dependency_manifest.git | awk '/^-/...
<|file_sep|>original/riak_test/bin/floppystore-current.sh <|file_sep|>current/riak_test/bin/floppystore-current.sh <|file_sep|>updated/riak_test/bin/floppystore-current.sh #!/usr/bin/env bash # just bail out if things go south set -e : ${RTEE_DEST_DIR:="$HOME/rt/floppystore"} echo "Making $(pwd) the current releas...
1ac5c3b4e0410c3c8bd4b4c1fd302e44c8e00017
riak_test/bin/floppystore-current.sh
riak_test/bin/floppystore-current.sh
Shell
<|file_sep|>package.json.diff original: "description": "My perfect module", updated: "description": "Get the owner of a gist from the CLI, or node.", <|file_sep|>original/package.json }, "scripts": { "test": "mocha" }, "files": [ "index.js", "cli.js" ], "keywords": [ "cli-app", "cli"...
}, "scripts": { "test": "mocha" }, "files": [ "index.js", "cli.js" ], "keywords": [ "cli-app", "cli", "" ], "dependencies": { "meow": "^3.0.0", "sync-request": "^2.0.1" }, "devDependencies": { "mocha": "*" } }
<|file_sep|>package.json.diff original: "description": "My perfect module", updated: "description": "Get the owner of a gist from the CLI, or node.", <|file_sep|>original/package.json }, "scripts": { "test": "mocha" }, "files": [ "index.js", "cli.js" ], "keywords": [ "cli-app", "cli"...
482cb702aa423986f641a9f0a60b8bf7fbd7e05b
package.json
package.json
JSON
<|file_sep|>original/README.md Environment settings -------------------- Before running the Django server locally, you should set some environment- specific values, as defined below: - `BASE_URL` - Main URL where the app will be available - `DATABASE_URL` - Database connection URL (eg. `postgres://user:pass@server:po...
Environment settings -------------------- Before running the Django server locally, you should set some environment- specific values, as defined below: - `BASE_URL` - Main URL where the app will be available - `DATABASE_URL` - Database connection URL (eg. `postgres://user:pass@server:port/db`) - `DEBUG` - Set debug m...
<|file_sep|>original/README.md Environment settings -------------------- Before running the Django server locally, you should set some environment- specific values, as defined below: - `BASE_URL` - Main URL where the app will be available - `DATABASE_URL` - Database connection URL (eg. `postgres://user:pass@server:po...
338f3b33f0a74feb1ee26c55b21710518a82791b
README.md
README.md
Markdown
<|file_sep|>original/concrete/blocks/page_attribute_display/templates/date_time.php <?php defined('C5_EXECUTE') or die('Access Denied.'); $dh = Core::make('helper/date'); /* @var $dh \Concrete\Core\Localization\Service\Date */ echo $this->controller->getOpenTag(); echo $this->controller->getTitle(); try { $format ...
<?php defined('C5_EXECUTE') or die('Access Denied.'); $dh = Core::make('helper/date'); /* @var $dh \Concrete\Core\Localization\Service\Date */ echo $this->controller->getOpenTag(); echo $this->controller->getTitle(); try { if ($this->controller->dateFormat) { echo $dh->formatCustom($format, $this->controll...
<|file_sep|>original/concrete/blocks/page_attribute_display/templates/date_time.php <?php defined('C5_EXECUTE') or die('Access Denied.'); $dh = Core::make('helper/date'); /* @var $dh \Concrete\Core\Localization\Service\Date */ echo $this->controller->getOpenTag(); echo $this->controller->getTitle(); try { $format ...
074f05d0d1bc0220082598dfdd2afbe6a07b0da6
concrete/blocks/page_attribute_display/templates/date_time.php
concrete/blocks/page_attribute_display/templates/date_time.php
PHP
<|file_sep|>README.md.diff original: updated: You will need to add the following environment variables wherever you are running your hubot- <|file_sep|>original/README.md # hubot-teamwork Interact with the teamwork api via your hubot. Supports listing and completing tasks. ## Commands: hubot complete task <id...
# hubot-teamwork Interact with the teamwork api via your hubot. Supports listing and completing tasks. ## Commands: hubot complete task <id> - completes the task and confirms the status hubot tasks (<user-id>) - lists upcoming tasks (pass in the user id for a specific user, otherwise uses the global user) ...
<|file_sep|>README.md.diff original: updated: You will need to add the following environment variables wherever you are running your hubot- <|file_sep|>original/README.md # hubot-teamwork Interact with the teamwork api via your hubot. Supports listing and completing tasks. ## Commands: hubot complete task <id...
be476f080440e5fe209f842e981102405c5a201e
README.md
README.md
Markdown
<|file_sep|>original/config/secrets.yml development: secret_key_base: 6ba3543e41089e927342bf4fa48d2cb695a08087f2431b7ee5a17857b4a010c6b831a598406631e49c223da7924f00b3ff4911e130c13a962b7fd7d722cdb9a0 test: secret_key_base: feb8b387ecb54f93a2d34c5be13283e043bbe34412c35c919ac8e1fe9e60131fc2f320d55700f89c5f0abf14bbfda...
development: secret_key_base: 6ba3543e41089e927342bf4fa48d2cb695a08087f2431b7ee5a17857b4a010c6b831a598406631e49c223da7924f00b3ff4911e130c13a962b7fd7d722cdb9a0 test: secret_key_base: feb8b387ecb54f93a2d34c5be13283e043bbe34412c35c919ac8e1fe9e60131fc2f320d55700f89c5f0abf14bbfda345c93ed3e9f5d0c9683282f25938e190fc pro...
<|file_sep|>original/config/secrets.yml development: secret_key_base: 6ba3543e41089e927342bf4fa48d2cb695a08087f2431b7ee5a17857b4a010c6b831a598406631e49c223da7924f00b3ff4911e130c13a962b7fd7d722cdb9a0 test: secret_key_base: feb8b387ecb54f93a2d34c5be13283e043bbe34412c35c919ac8e1fe9e60131fc2f320d55700f89c5f0abf14bbfda...
291ce34aef60b48d4661a2a8f4afbfabf3cafd45
config/secrets.yml
config/secrets.yml
YAML
<|file_sep|>original/.github/issue_template.md <|file_sep|>current/.github/issue_template.md <|file_sep|>updated/.github/issue_template.md
<!-- PLEASE READ BEFORE DELETING Bugs or Issues? Due to the high number of false positive issues we receive, please do not create a GitHub issue until you have discussed and verified with community support at: https://discourse.drone.io/ -->
<|file_sep|>original/.github/issue_template.md <|file_sep|>current/.github/issue_template.md <|file_sep|>updated/.github/issue_template.md <!-- PLEASE READ BEFORE DELETING Bugs or Issues? Due to the high number of false positive issues we receive, please do not create a GitHub issue until you have discussed and veri...
be3d76fdde8885be85616b516465842015f02f14
.github/issue_template.md
.github/issue_template.md
Markdown
<|file_sep|>lib/generators/irwi_wiki/irwi_wiki_generator.rb.diff original: migration_template 'migrate/create_wiki_pages.rb', 'db/migrate/create_wiki_pages' updated: migration_template 'migrate/create_wiki_pages.rb', 'db/migrate/create_wiki_pages.rb' <|file_sep|>original/lib/generators/irwi_wiki/irwi_wiki_gener...
copy_file 'controllers/wiki_pages_controller.rb', 'app/controllers/wiki_pages_controller.rb' # Helpers copy_file 'helpers/wiki_pages_helper.rb', 'app/helpers/wiki_pages_helper.rb' # Models copy_file 'models/wiki_page.rb', 'app/models/wiki_page.rb' copy_file 'models/wiki_page_version.rb...
<|file_sep|>lib/generators/irwi_wiki/irwi_wiki_generator.rb.diff original: migration_template 'migrate/create_wiki_pages.rb', 'db/migrate/create_wiki_pages' updated: migration_template 'migrate/create_wiki_pages.rb', 'db/migrate/create_wiki_pages.rb' <|file_sep|>original/lib/generators/irwi_wiki/irwi_wiki_gener...
4d231560f9a6de95450c06590fa5b28246eff6af
lib/generators/irwi_wiki/irwi_wiki_generator.rb
lib/generators/irwi_wiki/irwi_wiki_generator.rb
Ruby
<|file_sep|>original/global.json { "sdk": { "version": "7.0.100-preview.1.22110.4", "rollForward": "patch" }, "msbuild-sdks": { "Microsoft.Build.Traversal": "3.1.6" } } <|file_sep|>current/global.json { "sdk": { "version": "7.0.100-preview.1.22110.4", "rollForward": "patch" }, "msbuild...
{ "sdk": { "version": "7.0.100-preview.2.22153.17", "rollForward": "patch" }, "msbuild-sdks": { "Microsoft.Build.Traversal": "3.1.6" } }
<|file_sep|>original/global.json { "sdk": { "version": "7.0.100-preview.1.22110.4", "rollForward": "patch" }, "msbuild-sdks": { "Microsoft.Build.Traversal": "3.1.6" } } <|file_sep|>current/global.json { "sdk": { "version": "7.0.100-preview.1.22110.4", "rollForward": "patch" }, "msbuild...
286751c6ac16ac9e750288c8fe705ef93dcd1723
global.json
global.json
JSON
<|file_sep|>original/README.md A simple script that runs a proxy on your local machine injecting the 4chan X script into 4chan, for use in browsers that don't support userscripts. Download it [here](https://ccd0.github.io/4chan-x-proxy/proxy.py). Requires [Python 3](https://www.python.org/). The script has these com...
A simple script that runs a proxy on your local machine injecting the 4chan X script into 4chan, for use in browsers that don't support userscripts. Only works on http://boards.4chan.org/ (no HTTPS support). Download it [here](https://ccd0.github.io/4chan-x-proxy/proxy.py). Requires [Python 3](https://www.python.org/...
<|file_sep|>original/README.md A simple script that runs a proxy on your local machine injecting the 4chan X script into 4chan, for use in browsers that don't support userscripts. Download it [here](https://ccd0.github.io/4chan-x-proxy/proxy.py). Requires [Python 3](https://www.python.org/). The script has these com...
8bd38811f38bf93c55818e19017bb1720c36f022
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt argcomplete==1.8.2 base58==0.2.4 botocore==1.5.9 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.1 kappa==0.6.0 lambda-packages==0.13.0 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4.1...
argcomplete==1.8.2 base58==0.2.4 botocore==1.5.10 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.1 kappa==0.6.0 lambda-packages==0.13.0 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4.11.2 troposphere>=1.9.0 Werkzeug==0.11...
<|file_sep|>original/requirements.txt argcomplete==1.8.2 base58==0.2.4 botocore==1.5.9 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.1 kappa==0.6.0 lambda-packages==0.13.0 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4.1...
23a4355e02a9cba17026bf83d89826b563431139
requirements.txt
requirements.txt
Text
<|file_sep|>original/CONTRIBUTING.md # Contributing to RxJava If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request (on a branch other than `master`, `0.x`, `1.x`, or `gh-pages`). When submitting code, please make every effort to follow existing convent...
# Contributing to RxJava If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request (on a branch other than `master`, `0.x`, `1.x`, or `gh-pages`). When submitting code, please make every effort to follow existing conventions and style in order to keep the c...
<|file_sep|>original/CONTRIBUTING.md # Contributing to RxJava If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request (on a branch other than `master`, `0.x`, `1.x`, or `gh-pages`). When submitting code, please make every effort to follow existing convent...
e0a2bcbe3caa5d8a64ddee2f179fec5e44cb9dc7
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>original/config/service_change.json { "device": { "url": "https://controlsapp1/conf/rs/v0/component/physical" }, "legacy_traveler": { "api": "https://controls.frib.msu.edu/traveler1/api.php?resource=travelers&", "devices": "https://controls.frib.msu.edu/traveler1/api.php?resource=travelers...
{ "device_application": "devices", "device": { "url": "https://controlsapp1/conf/rs/v0/component/physical" }, "legacy_traveler": { "api": "https://controls.frib.msu.edu/traveler1/api.php?resource=travelers&", "devices": "https://controls.frib.msu.edu/traveler1/api.php?resource=travelers&device=", ...
<|file_sep|>original/config/service_change.json { "device": { "url": "https://controlsapp1/conf/rs/v0/component/physical" }, "legacy_traveler": { "api": "https://controls.frib.msu.edu/traveler1/api.php?resource=travelers&", "devices": "https://controls.frib.msu.edu/traveler1/api.php?resource=travelers...
733e84e56a1d99b87293afdd9d238fc60f35cb78
config/service_change.json
config/service_change.json
JSON
<|file_sep|>run/init.sh.diff original: if [ $USER != "root" ] then updated: if [ $USER != "root" ]; then <|file_sep|>run/init.sh.diff original: if [ -d sandbox ] then echo "sandbox/ exists, bailing" exit 1 fi updated: <|file_sep|>run/init.sh.diff original: cd "${BASH_SOURCE%/*}" updated: <|file_sep|>run/in...
mkdir $dir/dev/shm mknod -m 666 $dir/dev/null c 1 3 mknod -m 644 $dir/dev/urandom c 1 9 arch-chroot $dir useradd -m -u 717 eval rm -rf $dir/usr rm -rf $dir/var mksquashfs $dir playpen.sqfs umount $dir rmdir $dir echo <<EOF made playpen squashfs image: playpen.sqfs remember to mount /usr and /var into the playpen (...
<|file_sep|>run/init.sh.diff original: if [ $USER != "root" ] then updated: if [ $USER != "root" ]; then <|file_sep|>run/init.sh.diff original: if [ -d sandbox ] then echo "sandbox/ exists, bailing" exit 1 fi updated: <|file_sep|>run/init.sh.diff original: cd "${BASH_SOURCE%/*}" updated: <|file_sep|>run/in...
ce8d491631304fe48814e8147a88afc5cce33886
run/init.sh
run/init.sh
Shell
<|file_sep|>original/resources/views/social_links.blade.php $socialLinks = [ 'Facebook' => 'https://www.facebook.com/', 'Twitter' => 'https://twitter.com/', 'Twitch' => 'https://www.twitch.tv/', 'YouTube' => 'https://www.youtube.com/channel/', 'Instagram' => 'https://www.inst...
$socialLinks = [ 'Facebook' => 'https://www.facebook.com/', 'Twitter' => 'https://twitter.com/', 'Twitch' => 'https://www.twitch.tv/', 'YouTube' => 'https://www.youtube.com/channel/', 'Instagram' => 'https://www.instagram.com/', 'Discord' => 'https://www.discord.gg/',...
<|file_sep|>original/resources/views/social_links.blade.php $socialLinks = [ 'Facebook' => 'https://www.facebook.com/', 'Twitter' => 'https://twitter.com/', 'Twitch' => 'https://www.twitch.tv/', 'YouTube' => 'https://www.youtube.com/channel/', 'Instagram' => 'https://www.inst...
f2177f8e2bb38fd07e62a484e826705a2d4a20c6
resources/views/social_links.blade.php
resources/views/social_links.blade.php
PHP
<|file_sep|>README.md.diff original: To upload all the files defined in the `shared_files` capistrano variable to a remote server, you can simply execute: updated: To upload all the files defined in the `shared_files` capistrano variable to a remote server, you can execute: <|file_sep|>README.md.diff original: To downl...
To upload all the files defined in the `shared_files` capistrano variable to a remote server, you can execute: bundle exec cap shared_file:upload ### Download To download all the files defined in the `shared_files` capistrano variable from a remote server, you can execute: bundle exec cap shared_file:downl...
<|file_sep|>README.md.diff original: To upload all the files defined in the `shared_files` capistrano variable to a remote server, you can simply execute: updated: To upload all the files defined in the `shared_files` capistrano variable to a remote server, you can execute: <|file_sep|>README.md.diff original: To downl...
5d83a5129a95aaef35ac65b8189a7f45019045dc
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: go sudo: false matrix: include: - go: "1.8.x" - go: "1.9.x" - go: "1.10.x" - go: "1.11.x" env: GO111MODULE=off - go: "1.11.x" env: GO111MODULE=on - go: tip script: - ./.travis.gogenerate.sh - ./.travis.gofmt.sh - ./.travis....
matrix: include: - go: "1.8.x" - go: "1.9.x" - go: "1.10.x" - go: "1.11.x" env: GO111MODULE=off - go: "1.11.x" env: GO111MODULE=on - go: "1.12.x" env: GO111MODULE=off - go: "1.12.x" env: GO111MODULE=on - go: "1.13.x" env: GO111MODULE=off - go: "1.13.x...
<|file_sep|>original/.travis.yml language: go sudo: false matrix: include: - go: "1.8.x" - go: "1.9.x" - go: "1.10.x" - go: "1.11.x" env: GO111MODULE=off - go: "1.11.x" env: GO111MODULE=on - go: tip script: - ./.travis.gogenerate.sh - ./.travis.gofmt.sh - ./.travis....
1a61f16b447c32089ae2134d3b8f8b4d9c147214
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/workflows/test.yml run: yarn test short: runs-on: ubuntu-latest strategy: matrix: node-version: - 14 - 12 - 10 name: Node.js ${{ matrix.node-version }} Quick steps: - name: Checkout the repository uses: acti...
runs-on: ubuntu-latest strategy: matrix: node-version: - 14 - 12 - 10 name: Node.js ${{ matrix.node-version }} Quick steps: - name: Checkout the repository uses: actions/checkout@v2 - name: Install Node.js ${{ matrix.node-version }} ...
<|file_sep|>original/.github/workflows/test.yml run: yarn test short: runs-on: ubuntu-latest strategy: matrix: node-version: - 14 - 12 - 10 name: Node.js ${{ matrix.node-version }} Quick steps: - name: Checkout the repository uses: acti...
88892154c9215e92fee011ff91c10d4b4ba5f1f6
.github/workflows/test.yml
.github/workflows/test.yml
YAML
<|file_sep|>alexandria/static/html/login.html.diff original: <form name="form"> updated: <form name="form" ng-submit="login()"> <|file_sep|>original/alexandria/static/html/login.html <label>Email: <input type="text" name="email" ng-model="loginForm.email" required server-error> </label> <div class=...
<label>Email: <input type="text" name="email" ng-model="loginForm.email" required server-error> </label> <div class="errors" ng-show="form.email.$dirty && form.email.$invalid"> <span class="error" ng-show="form.email.$error.required">Email is required.</span> <span ng-show="form.ema...
<|file_sep|>alexandria/static/html/login.html.diff original: <form name="form"> updated: <form name="form" ng-submit="login()"> <|file_sep|>original/alexandria/static/html/login.html <label>Email: <input type="text" name="email" ng-model="loginForm.email" required server-error> </label> <div class=...
1b0011c2007135fc695ecc4189c93cb811cd0d0d
alexandria/static/html/login.html
alexandria/static/html/login.html
HTML
<|file_sep|>lib/pong/ball.rb.diff original: setPosition(x, y); updated: setPosition(x, y) <|file_sep|>lib/pong/ball.rb.diff original: @dx = dx @dy = dy updated: setDirection(dx, dy) <|file_sep|>lib/pong/ball.rb.diff original: @x = x; @y = y; updated: @x = x @y = y end def setDirection(dx, dy) @dx...
@radius = radius setDirection(dx, dy) end def setPosition(x, y) @x = x @y = y end def setDirection(dx, dy) @dx = dx @dy = dy end def move setPosition(x + dx, y + dy) end private :setPosition end end
<|file_sep|>lib/pong/ball.rb.diff original: setPosition(x, y); updated: setPosition(x, y) <|file_sep|>lib/pong/ball.rb.diff original: @dx = dx @dy = dy updated: setDirection(dx, dy) <|file_sep|>lib/pong/ball.rb.diff original: @x = x; @y = y; updated: @x = x @y = y end def setDirection(dx, dy) @dx...
1437a85682c9b04e81a113e954af9ac4075097df
lib/pong/ball.rb
lib/pong/ball.rb
Ruby
<|file_sep|>drake/doc/jenkins.rst.diff original: When a new pull request is opened in the project and the author of the pull request is not a member of the GitHub project or whitelisted, the Jenkins GitHub Pull Request Builder will ask "Can one of the admins verify this patch?" updated: When a new pull request is opene...
Respond: * "ok to test" to accept this pull request for testing. * "test this please" for a one time test run. * "add to whitelist" to add the author to the whitelist. If the build fails for other various reasons you can rebuild: * "retest this please" to start a new build. You can also view the `Jenkins UI <https:...
<|file_sep|>drake/doc/jenkins.rst.diff original: When a new pull request is opened in the project and the author of the pull request is not a member of the GitHub project or whitelisted, the Jenkins GitHub Pull Request Builder will ask "Can one of the admins verify this patch?" updated: When a new pull request is opene...
70682220612fe4221aaf110a737e21056b4c02d1
drake/doc/jenkins.rst
drake/doc/jenkins.rst
reStructuredText
<|file_sep|>original/README.md Batch Request ============= A simple library for batching HTTP requests [View Documentation](http://batch-request.socialradar.com) [![Build Status](https://travis-ci.org/socialradar/batch-request.png?branch=master)](https://travis-ci.org/socialradar/batch-request) ## QuickStart Downl...
Batch Request ============= A simple library for batching HTTP requests [View Documentation](http://batch-request.socialradar.com) [![Build Status](https://travis-ci.org/socialradar/batch-request.png?branch=master)](https://travis-ci.org/socialradar/batch-request) [![Built with Grunt](https://cdn.gruntjs.com/builtwi...
<|file_sep|>original/README.md Batch Request ============= A simple library for batching HTTP requests [View Documentation](http://batch-request.socialradar.com) [![Build Status](https://travis-ci.org/socialradar/batch-request.png?branch=master)](https://travis-ci.org/socialradar/batch-request) ## QuickStart Downl...
c8c0af1357c3fd4377092f19f4dc4a3ea08d09b6
README.md
README.md
Markdown
<|file_sep|>original/project.clj (defproject com.stuartsierra/component "0.2.2" :description "Managed lifecycle of stateful objects" :url "https://github.com/stuartsierra/component" :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :min-lein-version "2.1.3" ; added :globa...
(defproject com.stuartsierra/component "0.2.3-SNAPSHOT" :description "Managed lifecycle of stateful objects" :url "https://github.com/stuartsierra/component" :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :min-lein-version "2.1.3" ; added :global-vars :dependencies [...
<|file_sep|>original/project.clj (defproject com.stuartsierra/component "0.2.2" :description "Managed lifecycle of stateful objects" :url "https://github.com/stuartsierra/component" :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :min-lein-version "2.1.3" ; added :globa...
f31d8af3012ddabdd3d786125a3bfeb5e4e1768e
project.clj
project.clj
Clojure
<|file_sep|>original/app.yaml runtime: python vm: true entrypoint: gunicorn -b :$PORT whereismybus230.starter:app runtime_config: python_version: 3 <|file_sep|>current/app.yaml runtime: python vm: true entrypoint: gunicorn -b :$PORT whereismybus230.starter:app runtime_config: python_version: 3 <|file_sep|>updated...
runtime: python env: flex entrypoint: gunicorn -b :$PORT whereismybus230.starter:app runtime_config: python_version: 3
<|file_sep|>original/app.yaml runtime: python vm: true entrypoint: gunicorn -b :$PORT whereismybus230.starter:app runtime_config: python_version: 3 <|file_sep|>current/app.yaml runtime: python vm: true entrypoint: gunicorn -b :$PORT whereismybus230.starter:app runtime_config: python_version: 3 <|file_sep|>updated...
df3d815aa49f6b5ec4c40cdcf9f68efb7853fe90
app.yaml
app.yaml
YAML
<|file_sep|>original/requirements.txt # Requirements required by this package: -r requirements_setup.txt # Requirements needed for development & build & testing pytest==3.0.6 flexmock==0.10.2 coverage==4.3.4 coveralls==1.1 wheel==0.29.0 setuptools==34.2.0 docutils==0.13.1 pygments==2.1.3 flake8==3.3.0 invoke==0.12.2 #...
# Requirements required by this package: -r requirements_setup.txt # Requirements needed for development & build & testing pytest==3.0.6 flexmock==0.10.2 coverage==4.3.4 coveralls==1.1 wheel==0.29.0 setuptools==34.3.0 docutils==0.13.1 pygments==2.1.3 flake8==3.3.0 invoke==0.12.2 # pyup: ignore
<|file_sep|>original/requirements.txt # Requirements required by this package: -r requirements_setup.txt # Requirements needed for development & build & testing pytest==3.0.6 flexmock==0.10.2 coverage==4.3.4 coveralls==1.1 wheel==0.29.0 setuptools==34.2.0 docutils==0.13.1 pygments==2.1.3 flake8==3.3.0 invoke==0.12.2 #...
0565269978dd6eaedb871835c66806f6f9640878
requirements.txt
requirements.txt
Text
<|file_sep|>gulp/tasks/moduleImages.js.diff original: const f = path.parse(file.dirname); const nextBasename = f.dir + "__" + file.basename; const prevFileName = file.basename + file.extname; const nextFileName = nextBasename + file.extname; updated: const { dirname, basename, extname } = file; const dirNam...
function renameFileByModuleName(file) { const { dirname, basename, extname } = file; const dirNameArr = dirname.split(path.sep).filter(i => i !== "images") || []; const newDirname = path.join(...dirNameArr); const prevFileName = path.join(dirname, basename + extname); const nextFileName = path.join(newDirna...
<|file_sep|>gulp/tasks/moduleImages.js.diff original: const f = path.parse(file.dirname); const nextBasename = f.dir + "__" + file.basename; const prevFileName = file.basename + file.extname; const nextFileName = nextBasename + file.extname; updated: const { dirname, basename, extname } = file; const dirNam...
f00d4165feffd60a1c6d32aabb123fd093a0bf3e
gulp/tasks/moduleImages.js
gulp/tasks/moduleImages.js
JavaScript
<|file_sep|>original/test/docker-files/docker-file-DEBIAN-installation-debian9-lang-fr.txt <|file_sep|>current/test/docker-files/docker-file-DEBIAN-installation-debian9-lang-fr.txt <|file_sep|>updated/test/docker-files/docker-file-DEBIAN-installation-debian9-lang-fr.txt
FROM debian:9 MAINTAINER Jean Gabes <naparuba@gmail.com> ADD test/docker-helper/ / RUN /apt_get_install python RUN /apt_get_install locales RUN cp /etc/locale.gen /etc/locale.gen.old RUN sed -i "s/# en_US.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/g" /etc/locale.gen RUN /usr/sbin/local...
<|file_sep|>original/test/docker-files/docker-file-DEBIAN-installation-debian9-lang-fr.txt <|file_sep|>current/test/docker-files/docker-file-DEBIAN-installation-debian9-lang-fr.txt <|file_sep|>updated/test/docker-files/docker-file-DEBIAN-installation-debian9-lang-fr.txt FROM debian:9 MAINTAINER Jean Gabes <naparuba@g...
62bf70d8d8b0454ee9d566aa4e4a0dd3bfe925fd
test/docker-files/docker-file-DEBIAN-installation-debian9-lang-fr.txt
test/docker-files/docker-file-DEBIAN-installation-debian9-lang-fr.txt
Text
<|file_sep|>original/purkinje/static/templates/partial-settings.html <div ng-controller="ServerSettingsController"> <h2>Server</h2> <table> <tr><td>Host:</td><td>{[server.host]}</td></tr> <tr><td>Directory:</td><td>{[server.directory]}</td></tr> <tr><td>User:</td><td>{[server.user]}</td></tr> </table> </div> <|file_se...
<div ng-controller="ServerSettingsController"> <h2>Server</h2> <table class="settings-table table table-responsive"> <tr><td>Host:</td><td>{[server.host]}</td></tr> <tr><td>Directory:</td><td>{[server.directory]}</td></tr> <tr><td>User:</td><td>{[server.user]}</td></tr> </table> </div>
<|file_sep|>original/purkinje/static/templates/partial-settings.html <div ng-controller="ServerSettingsController"> <h2>Server</h2> <table> <tr><td>Host:</td><td>{[server.host]}</td></tr> <tr><td>Directory:</td><td>{[server.directory]}</td></tr> <tr><td>User:</td><td>{[server.user]}</td></tr> </table> </div> <|file_se...
ee98f556a7434a135aaa5785842741571f598e52
purkinje/static/templates/partial-settings.html
purkinje/static/templates/partial-settings.html
HTML
<|file_sep|>original/.travis.yml language: android android: components: - tools - build-tools-23.0.2 - android-23 - extra-android-m2repository before_install: - chmod +x gradlew - echo 'DEBUG -- BEFORE UPDATE SDK' # Comment out the lines below to list suggested Android SDK components. - andro...
language: android android: components: - tools - build-tools-23.0.2 - android-23 - extra-android-m2repository - extra-google-google_play_services - extra-google-m2repository - addon-google_apis-google-19 # Specify at least one system image, # if you need to run emulator(s) during ...
<|file_sep|>original/.travis.yml language: android android: components: - tools - build-tools-23.0.2 - android-23 - extra-android-m2repository before_install: - chmod +x gradlew - echo 'DEBUG -- BEFORE UPDATE SDK' # Comment out the lines below to list suggested Android SDK components. - andro...
0c5d4ef558faa7c6403eedc4562a62b30e7d2b69
.travis.yml
.travis.yml
YAML
<|file_sep|>original/fabric_bolt/web_hooks/tables.py from fabric_bolt.web_hooks import models class HookTable(PaginateTable): """Table used to show the configurations Also provides actions to edit and delete""" actions = ActionsColumn([ {'title': '<i class="glyphicon glyphicon-pencil"></i>', 'ur...
class HookTable(PaginateTable): """Table used to show the configurations Also provides actions to edit and delete""" actions = ActionsColumn([ {'title': '<i class="glyphicon glyphicon-pencil"></i>', 'url': 'hooks_hook_update', 'args': [tables.A('pk')], 'attrs':{'data-toggle': 'tooltip',...
<|file_sep|>original/fabric_bolt/web_hooks/tables.py from fabric_bolt.web_hooks import models class HookTable(PaginateTable): """Table used to show the configurations Also provides actions to edit and delete""" actions = ActionsColumn([ {'title': '<i class="glyphicon glyphicon-pencil"></i>', 'ur...
a1b4526f48fbd9e7f48c8bb6bc1a4763cc710448
fabric_bolt/web_hooks/tables.py
fabric_bolt/web_hooks/tables.py
Python
<|file_sep|>depends/patches/qt/fix_qt_pkgconfig.patch.diff original: @@ -245,7 +245,7 @@ updated: @@ -264,7 +264,7 @@ <|file_sep|>depends/patches/qt/fix_qt_pkgconfig.patch.diff original: +unix|mingw { updated: +if(unix|mingw):!if(darwin:debug_and_release:CONFIG(debug, debug|release)) { <|file_sep|>original/depends/patc...
+++ new/qtbase/mkspecs/features/qt_module.prf @@ -264,7 +264,7 @@ load(qt_targets) # this builds on top of qt_common -!internal_module:!lib_bundle:if(unix|mingw) { +if(unix|mingw):!if(darwin:debug_and_release:CONFIG(debug, debug|release)) { CONFIG += create_pc QMAKE_PKGCONFIG_DESTDIR = pkgconfig host...
<|file_sep|>depends/patches/qt/fix_qt_pkgconfig.patch.diff original: @@ -245,7 +245,7 @@ updated: @@ -264,7 +264,7 @@ <|file_sep|>depends/patches/qt/fix_qt_pkgconfig.patch.diff original: +unix|mingw { updated: +if(unix|mingw):!if(darwin:debug_and_release:CONFIG(debug, debug|release)) { <|file_sep|>original/depends/patc...
492971de35bab26346545f68365872211f458b00
depends/patches/qt/fix_qt_pkgconfig.patch
depends/patches/qt/fix_qt_pkgconfig.patch
Diff
<|file_sep|>tests/runall.bat.diff original: updated: if %1.==runall. goto RunAll <|file_sep|>tests/runall.bat.diff original: echo "usage: runall.bat clean|run" updated: echo "usage: runall.bat clean|run|runall" <|file_sep|>original/tests/runall.bat REM This suite requires https://github.com/inkarkat/runVimTests to run...
goto End :Clean echo Cleaning del /Q *.out 2> nul del /Q *.msgout 2> nul goto End :Run shift echo Running %1 %2 %3 %4 %5 %6 %7 %8 %9 ../../runVimTests/bin/runVimTests.cmd --pure %1 %2 %3 %4 %5 %6 %7 %8 %9 goto End :RunAll echo Running all ../../runVimTests/bin/runVimTests.cmd --pure vimgrep.suite goto End :End
<|file_sep|>tests/runall.bat.diff original: updated: if %1.==runall. goto RunAll <|file_sep|>tests/runall.bat.diff original: echo "usage: runall.bat clean|run" updated: echo "usage: runall.bat clean|run|runall" <|file_sep|>original/tests/runall.bat REM This suite requires https://github.com/inkarkat/runVimTests to run...
95bfcd3282e58861475db97e5f4ce0e5e83c416f
tests/runall.bat
tests/runall.bat
Batchfile
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.2 tox==2.3.1 coverage==4.1 Sphinx==1.4.5 cryptography==1.4 PyYAML==3.11 pandas==0.18.1 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.2 tox...
pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.2 tox==2.3.1 coverage==4.2 Sphinx==1.4.5 cryptography==1.4 PyYAML==3.11 pandas==0.18.1
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.2 tox==2.3.1 coverage==4.1 Sphinx==1.4.5 cryptography==1.4 PyYAML==3.11 pandas==0.18.1 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.2 tox...
edd64403e9ce0686d85aa1960b79e1ed4ca58a8a
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/public/locales/tr/send.ftl <|file_sep|>current/public/locales/tr/send.ftl <|file_sep|>updated/public/locales/tr/send.ftl
// Firefox Send is a brand name and should not be localized. title = Firefox Send siteSubtitle = web deneyi uploadPageHeader = Kişiye özel, şifrelenmiş dosya paylaşımı
<|file_sep|>original/public/locales/tr/send.ftl <|file_sep|>current/public/locales/tr/send.ftl <|file_sep|>updated/public/locales/tr/send.ftl // Firefox Send is a brand name and should not be localized. title = Firefox Send siteSubtitle = web deneyi uploadPageHeader = Kişiye özel, şifrelenmiş dosya paylaşımı
046d4ce14236e618cfa530b96f92d4e4af8e8258
public/locales/tr/send.ftl
public/locales/tr/send.ftl
FreeMarker
<|file_sep|>original/LICENSE.md Copyright 2005-2015 OpenLayers Contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, thi...
Copyright 2005-2016 OpenLayers Contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
<|file_sep|>original/LICENSE.md Copyright 2005-2015 OpenLayers Contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, thi...
52667c1166a6d01db664242aee74f77dd2ee453a
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>packages/un/unliftio-pool.yaml.diff original: hash: 4de658feb1b10051c5af024c20cd7baa369c777716c54a7b3e2888a73286aecf updated: hash: 07cf6a89eed3779122fe9c32b24be119ae73e5489c39f9f2cde4267022897809 <|file_sep|>packages/un/unliftio-pool.yaml.diff original: unliftio-core: ! '>=0.1.1 && <0.2' updated: unlif...
test-bench-deps: {} maintainer: Bardur Arantsson <bardur@scientician.net> synopsis: Data.Pool generalized to MonadUnliftIO. changelog: '' basic-deps: base: ! '>=4.10 && <5' time: ! '>=1.8 && <2' resource-pool: ! '>=0.2.3.2 && <0.3' unliftio-core: ! '>=0.1.1 && <0.3' transformers: ! '>=0.5 && <0.6' all-version...
<|file_sep|>packages/un/unliftio-pool.yaml.diff original: hash: 4de658feb1b10051c5af024c20cd7baa369c777716c54a7b3e2888a73286aecf updated: hash: 07cf6a89eed3779122fe9c32b24be119ae73e5489c39f9f2cde4267022897809 <|file_sep|>packages/un/unliftio-pool.yaml.diff original: unliftio-core: ! '>=0.1.1 && <0.2' updated: unlif...
d64e243b2495b5905893032248d9bf50496acd1c
packages/un/unliftio-pool.yaml
packages/un/unliftio-pool.yaml
YAML
<|file_sep|>original/src/Api/DestroyableInterface.php /** * @file * Contains \Eloqua\Api\DestroyableInterface */ namespace Eloqua\Api; interface DestroyableInterface { /** * Delete a record of this type. * * @param array $id * The ID of the individual record to be destroyed. * * @return nul...
/** * @file * Contains \Eloqua\Api\DestroyableInterface */ namespace Eloqua\Api; interface DestroyableInterface { /** * Delete a record of this type. * * @param array $id * The ID of the individual record to be destroyed. * * @return null */ public function remove($id); }
<|file_sep|>original/src/Api/DestroyableInterface.php /** * @file * Contains \Eloqua\Api\DestroyableInterface */ namespace Eloqua\Api; interface DestroyableInterface { /** * Delete a record of this type. * * @param array $id * The ID of the individual record to be destroyed. * * @return nul...
6de979c7b2dad1777e7773794e6bd309ee7f8477
src/Api/DestroyableInterface.php
src/Api/DestroyableInterface.php
PHP
<|file_sep|>.circleci/config.yml.diff original: - save_cache: paths: - ~/.gradle key: jars-{{ checksum "build.gradle" }}-{{ checksum "android/app/build.gradle" }} updated: <|file_sep|>original/.circleci/config.yml - run: name: Accept licenses command: ye...
name: Download Dependencies command: cd android && ./gradlew androidDependencies - run: name: Run Tests command: cd android && ./gradlew lint test - run: name: Create jacoco report command: cd android && ./gradlew jacocoTestReport - run: ...
<|file_sep|>.circleci/config.yml.diff original: - save_cache: paths: - ~/.gradle key: jars-{{ checksum "build.gradle" }}-{{ checksum "android/app/build.gradle" }} updated: <|file_sep|>original/.circleci/config.yml - run: name: Accept licenses command: ye...
9ee16815435b4b3ae6ba0b7d8d71213a4e8c0f7e
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/.travis.yml artifacts: paths: - maputnik install: - nvm install 6 - nvm use 6 - go get -u golang.org/x/sys/... - go get github.com/fsnotify/fsnotify - go get github.com/gorilla/handlers - go get github.com/gorilla/mux - go get github.com/gorilla/websocket - go get github.com/urfave/cli - ...
artifacts: paths: - maputnik install: - nvm install 6 - nvm use 6 - go get -u golang.org/x/sys/... - go get github.com/fsnotify/fsnotify - go get github.com/gorilla/handlers - go get github.com/gorilla/mux - go get github.com/gorilla/websocket - go get github.com/urfave/cli - go get github.com/elazarl/go-bind...
<|file_sep|>original/.travis.yml artifacts: paths: - maputnik install: - nvm install 6 - nvm use 6 - go get -u golang.org/x/sys/... - go get github.com/fsnotify/fsnotify - go get github.com/gorilla/handlers - go get github.com/gorilla/mux - go get github.com/gorilla/websocket - go get github.com/urfave/cli - ...
004177a3c834ede4101917ed3ff0cc78d5789580
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs <|file_sep|>current/test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs <|file_sep|>updated/test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using FluentAssertions; using Xunit; using Microsoft.DotNet.Cli.Compiler.Common; using Microsoft.DotNet.ProjectModel.Compilation; using System.IO...
<|file_sep|>original/test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs <|file_sep|>current/test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs <|file_sep|>updated/test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs // Copyright (c) .NET Foundation...
e1c5c7a43d8addb3c40a64716978cae385d185f3
test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs
test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs
C#
<|file_sep|>original/spec/unit/virtus/class_methods/attributes_spec.rb describe Virtus::ClassMethods, '#attributes' do subject { object.attributes } before do @original_stderr, $stderr = $stderr, StringIO.new end after do $stderr = @original_stderr end let(:object) { Class.new { extend Virtus::Cl...
describe Virtus::ClassMethods, '#attributes' do subject { object.attributes } before do @original_stderr, $stderr = $stderr, StringIO.new end after do $stderr = @original_stderr end let(:object) { Class.new { extend Virtus::ClassMethods } } it { should be_instance_of(Virtus::AttributeSet) } ...
<|file_sep|>original/spec/unit/virtus/class_methods/attributes_spec.rb describe Virtus::ClassMethods, '#attributes' do subject { object.attributes } before do @original_stderr, $stderr = $stderr, StringIO.new end after do $stderr = @original_stderr end let(:object) { Class.new { extend Virtus::Cl...
afcb223dd3c4b10b9582d0da0a31db20f2fdd7bb
spec/unit/virtus/class_methods/attributes_spec.rb
spec/unit/virtus/class_methods/attributes_spec.rb
Ruby
<|file_sep|>docs/contribute.rst.diff original: updated: Read the Docs follows the standard Contribution Guidelines set forth at `contribution-guide.org`_. Please read that site and follow the instructions to make sure your patches will be accepted. <|file_sep|>original/docs/contribute.rst .. _contributing-to-read-the-...
.. _contributing-to-read-the-docs: Contributing to Read the Docs ============================= Read the Docs follows the standard Contribution Guidelines set forth at `contribution-guide.org`_. Please read that site and follow the instructions to make sure your patches will be accepted. .. _contribution-guide.org: h...
<|file_sep|>docs/contribute.rst.diff original: updated: Read the Docs follows the standard Contribution Guidelines set forth at `contribution-guide.org`_. Please read that site and follow the instructions to make sure your patches will be accepted. <|file_sep|>original/docs/contribute.rst .. _contributing-to-read-the-...
0982860960c277f9c3b7da77a322c26e8ac4a735
docs/contribute.rst
docs/contribute.rst
reStructuredText
<|file_sep|>original/hieradata_aws/class/production/ckan.yaml --- govuk_solr::disable: true govuk_solr6::present: true govuk_solr6::version: 6.4.2-1 govuk::apps::ckan::solr_core: ckan govuk::apps::ckan::solr_core_configset: ckan28 govuk::apps::ckan::enabled: true <|file_sep|>current/hieradata_aws/class/production/ck...
--- govuk_solr::disable: true govuk_solr6::present: true govuk::apps::ckan::solr_core: ckan govuk::apps::ckan::solr_core_configset: ckan28 govuk::apps::ckan::enabled: true
<|file_sep|>original/hieradata_aws/class/production/ckan.yaml --- govuk_solr::disable: true govuk_solr6::present: true govuk_solr6::version: 6.4.2-1 govuk::apps::ckan::solr_core: ckan govuk::apps::ckan::solr_core_configset: ckan28 govuk::apps::ckan::enabled: true <|file_sep|>current/hieradata_aws/class/production/ck...
e43cfb6bffd9652638b6cd00871513bbc6d4ed5f
hieradata_aws/class/production/ckan.yaml
hieradata_aws/class/production/ckan.yaml
YAML
<|file_sep|>original/test/unit.js test('Onionoo is a function', t => { t.is(typeof Onionoo, 'function') }) test('Onionoo cannot be invoked without \'new\'', t => { t.throws(() => Onionoo()) t.notThrows(() => new Onionoo()) }) test('Onionoo instance is an object', t => { t.is(typeof new Onionoo(), 'object') })...
test('Onionoo is a function', t => { t.is(typeof Onionoo, 'function') }) test('Onionoo cannot be invoked without \'new\'', t => { t.throws(() => Onionoo()) t.notThrows(() => new Onionoo()) }) test('Onionoo instance is an object', t => { const onionoo = new Onionoo() t.is(typeof onionoo, 'object') }) test(...
<|file_sep|>original/test/unit.js test('Onionoo is a function', t => { t.is(typeof Onionoo, 'function') }) test('Onionoo cannot be invoked without \'new\'', t => { t.throws(() => Onionoo()) t.notThrows(() => new Onionoo()) }) test('Onionoo instance is an object', t => { t.is(typeof new Onionoo(), 'object') })...
907ade214a4805a983ab78a5f61482184d666571
test/unit.js
test/unit.js
JavaScript
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff original: updated: #Sat Jan 27 20:38:00 CST 2018 <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://ser...
#Sat Jan 27 20:38:00 CST 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-4.5-all.zip
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff original: updated: #Sat Jan 27 20:38:00 CST 2018 <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://ser...
7a15d0143ac0073a8367342a8c09fc7732d56beb
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/spec/unit/mass_assignment_security_spec.rb <|file_sep|>current/spec/unit/mass_assignment_security_spec.rb <|file_sep|>updated/spec/unit/mass_assignment_security_spec.rb
require 'spec_helper' require 'dm-rails/mass_assignment_security' # Because mass-assignment security is based on ActiveModel we just have to # ensure that ActiveModel is called. describe DataMapper::MassAssignmentSecurity do before :all do class Fake super_module = Module.new do def _super_attribut...
<|file_sep|>original/spec/unit/mass_assignment_security_spec.rb <|file_sep|>current/spec/unit/mass_assignment_security_spec.rb <|file_sep|>updated/spec/unit/mass_assignment_security_spec.rb require 'spec_helper' require 'dm-rails/mass_assignment_security' # Because mass-assignment security is based on ActiveModel we...
7fff94c6c4acfe1d19ef4fd13da92cbf115795d1
spec/unit/mass_assignment_security_spec.rb
spec/unit/mass_assignment_security_spec.rb
Ruby
<|file_sep|>original/app/views/application/_header.html.haml .container <!-- Brand and toggle get grouped for better mobile display --> .navbar-header.page-scroll = link_to '#', class: 'navbar-toggle btn', data: {toggle: 'collapse', target: "#bs-example-navbar-collapse-1"} do %span.sr-only Toggl...
.navbar-header.page-scroll = link_to '#', class: 'navbar-toggle btn', data: {toggle: 'collapse', target: "#bs-example-navbar-collapse-1"} do %span.sr-only Toggle Navigation %span.icon-bar %span.icon-bar %span.icon-bar = link_to 'Anil Maurya', '#page-top', class: 'navbar-b...
<|file_sep|>original/app/views/application/_header.html.haml .container <!-- Brand and toggle get grouped for better mobile display --> .navbar-header.page-scroll = link_to '#', class: 'navbar-toggle btn', data: {toggle: 'collapse', target: "#bs-example-navbar-collapse-1"} do %span.sr-only Toggl...
9e9032870115320f7e0b3f752b4d0c8d57ecfbfd
app/views/application/_header.html.haml
app/views/application/_header.html.haml
Haml
<|file_sep|>mesos/state.go.diff original: updated: "strings" <|file_sep|>original/mesos/state.go ) func (sj *StateJSON) GetFollowerById(id string) (string, error) { for _, f := range sj.Followers { if f.Id == id { return f.Hostname, nil } } return "", fmt.Errorf("Follower not found: %s", id) } // Task M...
return "", fmt.Errorf("Follower not found: %s", id) } // Task Methods // GetCheck() // Build a Check structure from the Task labels // func (t *Task) GetCheck() *registry.Check { c := registry.DefaultCheck() for _, l := range t.Labels { k := strings.ToLower(l.Key) switch k { case "consul_http_check": ...
<|file_sep|>mesos/state.go.diff original: updated: "strings" <|file_sep|>original/mesos/state.go ) func (sj *StateJSON) GetFollowerById(id string) (string, error) { for _, f := range sj.Followers { if f.Id == id { return f.Hostname, nil } } return "", fmt.Errorf("Follower not found: %s", id) } // Task M...
57686db26173e59898a68ac9c1631f51d0dd36be
mesos/state.go
mesos/state.go
Go
<|file_sep|>original/opal-activesupport.gemspec Gem::Specification.new do |gem| gem.name = 'opal-activesupport' gem.version = Opal::Activesupport::VERSION gem.authors = ['Elia Schito'] gem.email = ['elia@schito.me'] gem.description = %q{The port of the glorious ActiveSupport fo...
Gem::Specification.new do |gem| gem.name = 'opal-activesupport' gem.version = Opal::Activesupport::VERSION gem.authors = ['Elia Schito'] gem.email = ['elia@schito.me'] gem.description = %q{The port of the glorious ActiveSupport for Opal} gem.summary = %q{The port of the ...
<|file_sep|>original/opal-activesupport.gemspec Gem::Specification.new do |gem| gem.name = 'opal-activesupport' gem.version = Opal::Activesupport::VERSION gem.authors = ['Elia Schito'] gem.email = ['elia@schito.me'] gem.description = %q{The port of the glorious ActiveSupport fo...
8d022caf9a91b77cbb8558f2f0ab620f6fc0d411
opal-activesupport.gemspec
opal-activesupport.gemspec
Ruby
<|file_sep|>original/src/core/operators.pm our multi infix:<~~>($topic, $matcher) { $matcher.ACCEPTS($topic) } <|file_sep|>current/src/core/operators.pm our multi infix:<~~>($topic, $matcher) { $matcher.ACCEPTS($topic) } <|file_sep|>updated/src/core/operators.pm
our multi infix:<~~>($topic, $matcher) { $matcher.ACCEPTS($topic) } our sub undefine($x is rw) { my $undefined; $x = $undefined; }
<|file_sep|>original/src/core/operators.pm our multi infix:<~~>($topic, $matcher) { $matcher.ACCEPTS($topic) } <|file_sep|>current/src/core/operators.pm our multi infix:<~~>($topic, $matcher) { $matcher.ACCEPTS($topic) } <|file_sep|>updated/src/core/operators.pm our multi infix:<~~>($topic, $matcher) { $mat...
b3ebc42d3603552a7a9c246c1784ff2afc9d4421
src/core/operators.pm
src/core/operators.pm
Perl
<|file_sep|>original/php4dvd/test_searchfilm.py <|file_sep|>current/php4dvd/test_searchfilm.py <|file_sep|>updated/php4dvd/test_searchfilm.py
# -*- coding: utf-8 -*- from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.keys import Keys import unittest class searchFilm(unittest.TestCase): def setUp(self): self.driver = webdriver.Firefox() self.driver.implicitly_wait(1...
<|file_sep|>original/php4dvd/test_searchfilm.py <|file_sep|>current/php4dvd/test_searchfilm.py <|file_sep|>updated/php4dvd/test_searchfilm.py # -*- coding: utf-8 -*- from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.keys import Keys import unit...
8dbce56b1b595a761fdc29c8730ad5e11e40a203
php4dvd/test_searchfilm.py
php4dvd/test_searchfilm.py
Python
<|file_sep|>setup.py.diff original: ''' updated: """ <|file_sep|>setup.py.diff original: ''' updated: """ <|file_sep|>original/setup.py Created on Aug 29, 2014 @author: tmahrt ''' from setuptools import setup import io setup(name='praatio', version='4.2.1', author='Tim Mahrt', author_email='timmahrt@...
""" from setuptools import setup import io setup( name="praatio", version="4.2.1", author="Tim Mahrt", author_email="timmahrt@gmail.com", url="https://github.com/timmahrt/praatIO", package_dir={"praatio": "praatio"}, packages=["praatio", "praatio.utilities"], package_data={ "pra...
<|file_sep|>setup.py.diff original: ''' updated: """ <|file_sep|>setup.py.diff original: ''' updated: """ <|file_sep|>original/setup.py Created on Aug 29, 2014 @author: tmahrt ''' from setuptools import setup import io setup(name='praatio', version='4.2.1', author='Tim Mahrt', author_email='timmahrt@...
6988ce27efd98f01776246afe6bd615f23644413
setup.py
setup.py
Python
<|file_sep|>original/Sources/Tabman/Bar/BarIndicator/TMBarIndicatorContainer.swift // MARK: Layout private func layout(indicator: Indicator) { guard indicator.superview == nil else { fatalError("Indicator already has a superview.") } addSubview(indicator) ...
// MARK: Layout private func layout(indicator: Indicator) { guard indicator.superview == nil else { fatalError("Indicator already has a superview.") } addSubview(indicator) indicator.translatesAutoresizingMaskIntoConstraints = false ...
<|file_sep|>original/Sources/Tabman/Bar/BarIndicator/TMBarIndicatorContainer.swift // MARK: Layout private func layout(indicator: Indicator) { guard indicator.superview == nil else { fatalError("Indicator already has a superview.") } addSubview(indicator) ...
400b7f182be18bf89a7d147183f857d46db03e8a
Sources/Tabman/Bar/BarIndicator/TMBarIndicatorContainer.swift
Sources/Tabman/Bar/BarIndicator/TMBarIndicatorContainer.swift
Swift
<|file_sep|>original/Kwc/Statistics/OptBox/Component.js Kwf.onElementReady('.kwcStatisticsOptBox', function(el, config) { if (Kwf.Statistics.getDefaultOptValue() == 'out' && !Kwf.Statistics.issetUserOptValue()) { el.slideIn('t', { duration: 2 }); } }); <|file_sep|>current/Kwc/Statistics/OptBox/Component...
Kwf.onElementReady('.kwcStatisticsOptBox', function(el, config) { if (Kwf.Statistics.getDefaultOptValue() == 'out' && !Kwf.Statistics.issetUserOptValue()) { // el.slideIn('t', { easing: 'linear', duration: 1.25 }); el.show(true); } });
<|file_sep|>original/Kwc/Statistics/OptBox/Component.js Kwf.onElementReady('.kwcStatisticsOptBox', function(el, config) { if (Kwf.Statistics.getDefaultOptValue() == 'out' && !Kwf.Statistics.issetUserOptValue()) { el.slideIn('t', { duration: 2 }); } }); <|file_sep|>current/Kwc/Statistics/OptBox/Component...
bd6eb49a77eee89572b9cb08edc8e276f2b1c178
Kwc/Statistics/OptBox/Component.js
Kwc/Statistics/OptBox/Component.js
JavaScript
<|file_sep|>pyof/v0x04/symmetric/hello.py.diff original: updated: from enum import Enum from pyof.foundation.base import GenericMessage, GenericStruct from pyof.foundation.basic_types import BinaryData, FixedTypeList, UBInt16 from pyof.v0x04.common.header import Header, Type <|file_sep|>original/pyof/v0x04/symmetric...
# System imports from enum import Enum from pyof.foundation.base import GenericMessage, GenericStruct from pyof.foundation.basic_types import BinaryData, FixedTypeList, UBInt16 from pyof.v0x04.common.header import Header, Type # Third-party imports __all__ = ('Hello', 'HelloElemHeader', 'HelloElemType', ...
<|file_sep|>pyof/v0x04/symmetric/hello.py.diff original: updated: from enum import Enum from pyof.foundation.base import GenericMessage, GenericStruct from pyof.foundation.basic_types import BinaryData, FixedTypeList, UBInt16 from pyof.v0x04.common.header import Header, Type <|file_sep|>original/pyof/v0x04/symmetric...
9e3a6190b2dcfd7de03ef5c974b400a51219839e
pyof/v0x04/symmetric/hello.py
pyof/v0x04/symmetric/hello.py
Python
<|file_sep|>original/package.json { "name": "frameworkless", "version": "0.0.1", "description": "Example of a frameworkless project with TypeScript", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/Vtek/framework...
"description": "Example of a frameworkless project with TypeScript", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/Vtek/frameworkless.git" }, "author": "Sylvain PONTOREAU <pontoreau.sylvain@gmail.com>", "lice...
<|file_sep|>original/package.json { "name": "frameworkless", "version": "0.0.1", "description": "Example of a frameworkless project with TypeScript", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/Vtek/framework...
95e203b1e249121f049e42dab98b416c6ce38f42
package.json
package.json
JSON
<|file_sep|>original/src/cal-view/timeline-generator.js import dateUtil from '../common/date-util'; const dateMap = { days: 1, weeks: 7 }; export default function({ referenceDate, back, forward, scale = 'days' }) { // The "1" here accounts for the referenceDate itself. var length = back + forward + 1; // Th...
import dateUtil from '../common/date-util'; const dateMap = { days: 1, weeks: 7 }; export default function({ referenceDate, back, forward, scale }) { // The "1" here accounts for the referenceDate itself. var length = back + forward + 1; // The number of days that we add for the scale var diffUnit = dateM...
<|file_sep|>original/src/cal-view/timeline-generator.js import dateUtil from '../common/date-util'; const dateMap = { days: 1, weeks: 7 }; export default function({ referenceDate, back, forward, scale = 'days' }) { // The "1" here accounts for the referenceDate itself. var length = back + forward + 1; // Th...
2e983162406645b93f1949ebedf088466c532b57
src/cal-view/timeline-generator.js
src/cal-view/timeline-generator.js
JavaScript
<|file_sep|>pagerduty_events_api/pagerduty_incident.py.diff original: updated: self.__send_request_with_event_type('acknowledge') def resolve(self): self.__send_request_with_event_type('resolve') def __send_request_with_event_type(self, event_type): <|file_sep|>pagerduty_events_api/pagerduty_...
self.__service_key = service_key self.__incident_key = incident_key def get_service_key(self): return self.__service_key def get_incident_key(self): return self.__incident_key def acknowledge(self): self.__send_request_with_event_type('acknowledge') def resolv...
<|file_sep|>pagerduty_events_api/pagerduty_incident.py.diff original: updated: self.__send_request_with_event_type('acknowledge') def resolve(self): self.__send_request_with_event_type('resolve') def __send_request_with_event_type(self, event_type): <|file_sep|>pagerduty_events_api/pagerduty_...
dd9f11f36668717ee349b357b2f32a7a52e38863
pagerduty_events_api/pagerduty_incident.py
pagerduty_events_api/pagerduty_incident.py
Python
<|file_sep|>original/pybo/globalopt/__init__.py from .direct import * from .lbfgs import * __all__ = [] __all__ += direct.__all__ __all__ += lbfgsb.__all__ <|file_sep|>current/pybo/globalopt/__init__.py from .direct import * from .lbfgs import * __all__ = [] __all__ += direct.__all__ __all__ += lbfgsb.__all__ <|file_...
from .direct import * from .lbfgs import * __all__ = [] __all__ += direct.__all__ __all__ += lbfgs.__all__
<|file_sep|>original/pybo/globalopt/__init__.py from .direct import * from .lbfgs import * __all__ = [] __all__ += direct.__all__ __all__ += lbfgsb.__all__ <|file_sep|>current/pybo/globalopt/__init__.py from .direct import * from .lbfgs import * __all__ = [] __all__ += direct.__all__ __all__ += lbfgsb.__all__ <|file_...
5835939302048f420bfc91ab027fea8f91e14a02
pybo/globalopt/__init__.py
pybo/globalopt/__init__.py
Python
<|file_sep|>app/controllers/nested_resource_controller.rb.diff original: puts resource.inspect updated: #puts resource.inspect <|file_sep|>app/controllers/nested_resource_controller.rb.diff original: updated: #puts controller_name <|file_sep|>app/controllers/nested_resource_controller.rb.diff original: ...
controller_name = resource.class.name.underscore #puts controller_name if controller_name == 'asset' controller_name = 'inventory' eval("#{controller_name}_url('#{resource.object_key}')") elsif controller_name == 'activity_line_item' capital_project_activity_line_item_path(resource.cap...
<|file_sep|>app/controllers/nested_resource_controller.rb.diff original: puts resource.inspect updated: #puts resource.inspect <|file_sep|>app/controllers/nested_resource_controller.rb.diff original: updated: #puts controller_name <|file_sep|>app/controllers/nested_resource_controller.rb.diff original: ...
fde9541e82b84803b9cde6de31e60676811c0721
app/controllers/nested_resource_controller.rb
app/controllers/nested_resource_controller.rb
Ruby
<|file_sep|>original/.travis.yml sudo: false cache: bundler language: ruby addons: apt: packages: - libgecode-dev rvm: - "2.0" - "2.1" - "2.2" gemfile: - gemfiles/default.gemfile - gemfiles/master.gemfile env: global: - USE_SYSTEM_GECODE=true script: bundle exec rake test <|file_sep|>current/.travis.yml s...
sudo: false cache: bundler language: ruby addons: apt: packages: - libgecode-dev rvm: - "2.0" - "2.1" - "2.2" gemfile: - gemfiles/default.gemfile - gemfiles/master.gemfile env: global: - USE_SYSTEM_GECODE=true before_install: "gem install bundler" script: bundle exec rake test
<|file_sep|>original/.travis.yml sudo: false cache: bundler language: ruby addons: apt: packages: - libgecode-dev rvm: - "2.0" - "2.1" - "2.2" gemfile: - gemfiles/default.gemfile - gemfiles/master.gemfile env: global: - USE_SYSTEM_GECODE=true script: bundle exec rake test <|file_sep|>current/.travis.yml s...
ef71b9755ba248fc15147cede56fa329a408b66d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt mock==2.0.0 sphinx_rtd_theme==0.2.4 numpy==1.13.1 future==0.16.0 networkx==1.11 bokeh==0.12.6 matplotlib==2.0.2 <|file_sep|>current/requirements.txt mock==2.0.0 sphinx_rtd_theme==0.2.4 numpy==1.13.1 future==0.16.0 networkx==1.11 bokeh==0.12.6 matplotlib==2.0.2 <|file_sep|>updated/r...
mock==2.0.0 sphinx_rtd_theme==0.2.4 numpy==1.13.1 future==0.16.0 networkx==1.11 bokeh==0.12.7 matplotlib==2.0.2
<|file_sep|>original/requirements.txt mock==2.0.0 sphinx_rtd_theme==0.2.4 numpy==1.13.1 future==0.16.0 networkx==1.11 bokeh==0.12.6 matplotlib==2.0.2 <|file_sep|>current/requirements.txt mock==2.0.0 sphinx_rtd_theme==0.2.4 numpy==1.13.1 future==0.16.0 networkx==1.11 bokeh==0.12.6 matplotlib==2.0.2 <|file_sep|>updated/r...
30c7a39a7f728aada903e77f969689376f2fb208
requirements.txt
requirements.txt
Text
<|file_sep|>turbustat/statistics/vca_vcs/slice_thickness.py.diff original: updated: from astropy import units as u from spectral_cube import SpectralCube from astropy.convolution import Gaussian1DKernel <|file_sep|>turbustat/statistics/vca_vcs/slice_thickness.py.diff original: def change_slice_thickness(cube, slice_th...
target_resolution = channel_width.to(current_resolution.unit) diff_factor = np.abs(target_resolution / current_resolution).value pixel_scale = np.abs(current_resolution) gaussian_width = ((target_resolution**2 - current_resolution**2)**0.5 / pixel_scale / fwhm_factor) kernel ...
<|file_sep|>turbustat/statistics/vca_vcs/slice_thickness.py.diff original: updated: from astropy import units as u from spectral_cube import SpectralCube from astropy.convolution import Gaussian1DKernel <|file_sep|>turbustat/statistics/vca_vcs/slice_thickness.py.diff original: def change_slice_thickness(cube, slice_th...
155b1e6b8d431f1169a3e71d08d93d76a3414c59
turbustat/statistics/vca_vcs/slice_thickness.py
turbustat/statistics/vca_vcs/slice_thickness.py
Python
<|file_sep|>original/project/build.properties # #Tue May 11 16:44:21 EEST 2010 project.organization= project.name=ccf project.version=0.2.12 scala.version=2.8.0 sbt.version=0.7.4 build.scala.versions=2.8.0 project.initialize=false <|file_sep|>current/project/build.properties # #Tue May 11 16:44:21 EEST 2010 project.org...
# #Tue May 11 16:44:21 EEST 2010 project.organization= project.name=ccf project.version=0.3-SNAPSHOT scala.version=2.8.0 sbt.version=0.7.4 build.scala.versions=2.8.0 project.initialize=false
<|file_sep|>original/project/build.properties # #Tue May 11 16:44:21 EEST 2010 project.organization= project.name=ccf project.version=0.2.12 scala.version=2.8.0 sbt.version=0.7.4 build.scala.versions=2.8.0 project.initialize=false <|file_sep|>current/project/build.properties # #Tue May 11 16:44:21 EEST 2010 project.org...
42a8c2ae8f578d13948a1d37f82d2ba8715abcb4
project/build.properties
project/build.properties
INI
<|file_sep|>index.js.diff original: options.key = options.key || process.env.GAPPS_API_KEY; updated: <|file_sep|>original/index.js module.exports = function scrutinize(url, options, callback) { if (typeof url != 'string') { throw new TypeError('scrutinize expects a url'); } options = options || {}; opt...
module.exports = function scrutinize(url, options, callback) { if (typeof url != 'string') { throw new TypeError('scrutinize expects a url'); } options = options || {}; options.verbose = options.verbose || false; options.url = { url: url }; if (!options.key && process.env.GAPPS_API_KEY) { options...
<|file_sep|>index.js.diff original: options.key = options.key || process.env.GAPPS_API_KEY; updated: <|file_sep|>original/index.js module.exports = function scrutinize(url, options, callback) { if (typeof url != 'string') { throw new TypeError('scrutinize expects a url'); } options = options || {}; opt...
a0d887b87f507cc425aa11e451fc28089847c1a7
index.js
index.js
JavaScript
<|file_sep|>original/changelogs/unreleased/deps-d3361cf-3372207.yml <|file_sep|>current/changelogs/unreleased/deps-d3361cf-3372207.yml <|file_sep|>updated/changelogs/unreleased/deps-d3361cf-3372207.yml
--- title: Update https://git.code.sf.net/p/libpng/code from 1.6.35 to 1.6.37 merge_request: 3800 author: type: other
<|file_sep|>original/changelogs/unreleased/deps-d3361cf-3372207.yml <|file_sep|>current/changelogs/unreleased/deps-d3361cf-3372207.yml <|file_sep|>updated/changelogs/unreleased/deps-d3361cf-3372207.yml --- title: Update https://git.code.sf.net/p/libpng/code from 1.6.35 to 1.6.37 merge_request: 3800 author: type: othe...
2ec8be91bddc8b34eae06b14bbc6dc9365c9af24
changelogs/unreleased/deps-d3361cf-3372207.yml
changelogs/unreleased/deps-d3361cf-3372207.yml
YAML
<|file_sep|>original/README.md pongjs ====== pong.js is a super-simple Pong game in JavaScript and HTML5 Canvas ### Let's a go! [Demo here :)](http://ryanseys.com/pongjs/) ### Disclaimer Sorry if collision detection sucks. Please make it better. :) <|file_sep|>current/README.md pongjs ====== pong.js is a super-sim...
pongjs ====== pong.js is a super-simple Pong game in JavaScript and HTML5 Canvas ### Let's a go! [Demo here :)](http://ryanseys.com/pongjs/) ### Disclaimer Sorry if collision detection sucks. Please make it better. :)
<|file_sep|>original/README.md pongjs ====== pong.js is a super-simple Pong game in JavaScript and HTML5 Canvas ### Let's a go! [Demo here :)](http://ryanseys.com/pongjs/) ### Disclaimer Sorry if collision detection sucks. Please make it better. :) <|file_sep|>current/README.md pongjs ====== pong.js is a super-sim...
6bbb0ae907234fe34124fa49bbd791fb25299be1
README.md
README.md
Markdown
<|file_sep|>examples/rmg/minimal_sensitivity/input.py.diff original: updated: # Constraints on generated species generatedSpeciesConstraints( maximumRadicalElectrons = 2, ) <|file_sep|>original/examples/rmg/minimal_sensitivity/input.py ) # List of species species( label='ethane', reactive=True, struc...
) # Constraints on generated species generatedSpeciesConstraints( maximumRadicalElectrons = 2, ) # List of species species( label='ethane', multiplicity = 1, reactive=True, structure=SMILES("CC"), ) # Reaction systems simpleReactor( temperature=(1350,'K'), pressure=(1.0,'bar'), initia...
<|file_sep|>examples/rmg/minimal_sensitivity/input.py.diff original: updated: # Constraints on generated species generatedSpeciesConstraints( maximumRadicalElectrons = 2, ) <|file_sep|>original/examples/rmg/minimal_sensitivity/input.py ) # List of species species( label='ethane', reactive=True, struc...
7a3863355c36347c691d35166932e83a3f0352ea
examples/rmg/minimal_sensitivity/input.py
examples/rmg/minimal_sensitivity/input.py
Python
<|file_sep|>original/astroid-web.js if (Meteor.isClient) { Template.hello.greeting = function () { return "Welcome to astroid-web."; }; Template.hello.events({ 'click input' : function () { // template data, if any, is available in 'this' if (typeof console !== 'undefined') console.lo...
if (Meteor.isClient) { } if (Meteor.isServer) { Meteor.startup(function () { // code to run on server at startup }); }
<|file_sep|>original/astroid-web.js if (Meteor.isClient) { Template.hello.greeting = function () { return "Welcome to astroid-web."; }; Template.hello.events({ 'click input' : function () { // template data, if any, is available in 'this' if (typeof console !== 'undefined') console.lo...
2098d13fa9d79eb157c904ea605409ff9d75a63e
astroid-web.js
astroid-web.js
JavaScript