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/src/hyperdeck/hyperdeck.js var HyperdeckCore = require("./hyperdeck-core.js"); var Hyperdeck = function(ip) { //Start by connecting to Hyperdeck via HypderdeckCore var Core = new HyperdeckCore(ip); //Publicise functions from Core this.getNotifier = Core.getNotifier(); this.makeRequest...
var HyperdeckCore = require("./hyperdeck-core.js"); var Hyperdeck = function(ip) { //Start by connecting to Hyperdeck via HypderdeckCore var Core = new HyperdeckCore(ip); Core.makeRequest("notify: remote: true"); Core.makeRequest("notify: transport: true"); Core.makeRequest("notify: slot: true"); Core.mak...
<|file_sep|>original/src/hyperdeck/hyperdeck.js var HyperdeckCore = require("./hyperdeck-core.js"); var Hyperdeck = function(ip) { //Start by connecting to Hyperdeck via HypderdeckCore var Core = new HyperdeckCore(ip); //Publicise functions from Core this.getNotifier = Core.getNotifier(); this.makeRequest...
a81404f524095b29288303070e73b554af09c2a2
src/hyperdeck/hyperdeck.js
src/hyperdeck/hyperdeck.js
JavaScript
<|file_sep|>original/sort/insertion_sort/java/InsertionSortTest.java <|file_sep|>current/sort/insertion_sort/java/InsertionSortTest.java <|file_sep|>updated/sort/insertion_sort/java/InsertionSortTest.java
import org.junit.Test; import java.util.Arrays; public class InsertionSortTest { @Test public void test() { int list[] = { -5, 8, 0, 12, 55, 1, -66, 35, 3 }; InsertionSort insertionSort = new InsertionSort(); insertionSort.sort(list); for (int i = 0; i < list.length - 1; i++) {...
<|file_sep|>original/sort/insertion_sort/java/InsertionSortTest.java <|file_sep|>current/sort/insertion_sort/java/InsertionSortTest.java <|file_sep|>updated/sort/insertion_sort/java/InsertionSortTest.java import org.junit.Test; import java.util.Arrays; public class InsertionSortTest { @Test public void test...
75d948df06ca2fa4f51c85deea0672999a7bcb39
sort/insertion_sort/java/InsertionSortTest.java
sort/insertion_sort/java/InsertionSortTest.java
Java
<|file_sep|>original/spec/models/protected_branch_spec.rb it 'call update_repository after destroy' do subject.should_receive(:update_repository) subject.destroy end end describe '#update_repository' do let(:gitolite) { mock } subject { ProtectedBranch.new(:project => project) } i...
it 'call update_repository after save' do subject.should_receive(:update_repository) subject.save end it 'call update_repository after destroy' do subject.should_receive(:update_repository) subject.destroy end end describe '#commit' do subject { ProtectedBranch.new(:pro...
<|file_sep|>original/spec/models/protected_branch_spec.rb it 'call update_repository after destroy' do subject.should_receive(:update_repository) subject.destroy end end describe '#update_repository' do let(:gitolite) { mock } subject { ProtectedBranch.new(:project => project) } i...
4a437cdf860880e45614f8afaeb6156f1c917f79
spec/models/protected_branch_spec.rb
spec/models/protected_branch_spec.rb
Ruby
<|file_sep|>compose/cli/docker_client.py.diff original: updated: api_version = os.environ.get('COMPOSE_API_VERSION', '1.18') <|file_sep|>original/compose/cli/docker_client.py base_url = os.environ.get('DOCKER_HOST') tls_config = None if os.environ.get('DOCKER_TLS_VERIFY', '') != '': parts = ...
api_version = os.environ.get('COMPOSE_API_VERSION', '1.18') tls_config = None if os.environ.get('DOCKER_TLS_VERIFY', '') != '': parts = base_url.split('://', 1) base_url = '%s://%s' % ('https', parts[1]) client_cert = (os.path.join(cert_path, 'cert.pem'), os.path.join(cert_path, '...
<|file_sep|>compose/cli/docker_client.py.diff original: updated: api_version = os.environ.get('COMPOSE_API_VERSION', '1.18') <|file_sep|>original/compose/cli/docker_client.py base_url = os.environ.get('DOCKER_HOST') tls_config = None if os.environ.get('DOCKER_TLS_VERIFY', '') != '': parts = ...
fc203d643aa9a69c835aebee0de9b17851ef7a58
compose/cli/docker_client.py
compose/cli/docker_client.py
Python
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/lromerio/cothority-mobile.svg?branch=master)](https://travis-ci.org/lromerio/cothority-mobile) # CothorityMobile A mobile application to perform distributed tasks using the [cothority-framework][cothority]. [cothority]: https://github.com/dedis/co...
[![Build Status](https://travis-ci.org/lromerio/cothority-mobile.svg?branch=master)](https://travis-ci.org/lromerio/cothority-mobile) [![Coverage Status](https://coveralls.io/repos/github/lromerio/cothority-mobile/badge.svg?branch=master)](https://coveralls.io/github/lromerio/cothority-mobile?branch=master) # Cothorit...
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/lromerio/cothority-mobile.svg?branch=master)](https://travis-ci.org/lromerio/cothority-mobile) # CothorityMobile A mobile application to perform distributed tasks using the [cothority-framework][cothority]. [cothority]: https://github.com/dedis/co...
ad231f2d49a04add1f7b857eee0267fdc7a8001a
README.md
README.md
Markdown
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md labels: bug --- <!-- Thank your for your input! Before you submit your issue, please make sure you followed our checklist and check the appropriate boxes by putting an x in the [ ]: [x] --> ### Checklist: - [ ] I am using the latest release - [ ] I searched f...
labels: bug --- <!-- Thank your for your input! Before you submit your issue, please make sure you followed our checklist and check the appropriate boxes by putting an x in the [ ]: [x] --> ### Checklist: - [ ] I am using the latest release - [ ] I searched for [existing GitHub issues](https://github.com/openid/AppA...
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md labels: bug --- <!-- Thank your for your input! Before you submit your issue, please make sure you followed our checklist and check the appropriate boxes by putting an x in the [ ]: [x] --> ### Checklist: - [ ] I am using the latest release - [ ] I searched f...
ca508b8caf3100221675bfe3efdf4ce6d7d34444
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/bug_report.md
Markdown
<|file_sep|>original/packages/pi/pixela.yaml <|file_sep|>current/packages/pi/pixela.yaml <|file_sep|>updated/packages/pi/pixela.yaml
homepage: https://github.com/kakkun61/pixela#readme changelog-type: markdown hash: 841c60c659cb833e6f8386e69782b433caf24bd8cc2476d38310e35074b085d3 test-bench-deps: http-client: -any bytestring: -any split: -any base: ! '>=4.7 && <5' unordered-containers: -any text: -any data-default: -any http-client-t...
<|file_sep|>original/packages/pi/pixela.yaml <|file_sep|>current/packages/pi/pixela.yaml <|file_sep|>updated/packages/pi/pixela.yaml homepage: https://github.com/kakkun61/pixela#readme changelog-type: markdown hash: 841c60c659cb833e6f8386e69782b433caf24bd8cc2476d38310e35074b085d3 test-bench-deps: http-client: -any ...
bb7cd990faf7ecb02d4a89df1a5187837fc48631
packages/pi/pixela.yaml
packages/pi/pixela.yaml
YAML
<|file_sep|>storm/db.py.diff original: from random import randrange updated: <|file_sep|>storm/db.py.diff original: updated: from tornado import gen <|file_sep|>storm/db.py.diff original: self.db_connections = []; updated: <|file_sep|>original/storm/db.py self.lifetime = lifetime self.db_conn...
def __init__(self, connection, count=10, lifetime=3600): self.connection = connection self.count = count self.lifetime = lifetime @gen.coroutine def get_db(self, callback=None): raise NotImplementedError('The "get_db" method is not implemented') def get_db_class(self): ...
<|file_sep|>storm/db.py.diff original: from random import randrange updated: <|file_sep|>storm/db.py.diff original: updated: from tornado import gen <|file_sep|>storm/db.py.diff original: self.db_connections = []; updated: <|file_sep|>original/storm/db.py self.lifetime = lifetime self.db_conn...
634e389ed260b404327e303afb4f5a1dc931ee36
storm/db.py
storm/db.py
Python
<|file_sep|>original/stockflux-bitflux/src/assets/js/data/stockflux/historic/feedAdaptor.js import d3 from 'd3'; import fcRebind from 'd3fc-rebind'; import {getStockFluxData} from '../../../../../../node_modules/stockflux-core/src/services/StockFluxService'; export default function() { var historicFeed = getStockF...
import d3 from 'd3'; import fcRebind from 'd3fc-rebind'; import {getStockFluxData} from 'stockflux-core/src/services/StockFluxService'; export default function() { var historicFeed = getStockFluxData(), granularity, candles; var allowedPeriods = d3.map(); allowedPeriods.set(60 * 60 * 24, '...
<|file_sep|>original/stockflux-bitflux/src/assets/js/data/stockflux/historic/feedAdaptor.js import d3 from 'd3'; import fcRebind from 'd3fc-rebind'; import {getStockFluxData} from '../../../../../../node_modules/stockflux-core/src/services/StockFluxService'; export default function() { var historicFeed = getStockF...
2a8ce12c4a02ad5295e7422f5278fced3b443172
stockflux-bitflux/src/assets/js/data/stockflux/historic/feedAdaptor.js
stockflux-bitflux/src/assets/js/data/stockflux/historic/feedAdaptor.js
JavaScript
<|file_sep|>original/app/assets/javascripts/transactions.js $(document).ready(function () { var $container = $('section.more'); if ($container.find('.js-tabs').length) { $container.tabs(); } }); <|file_sep|>current/app/assets/javascripts/transactions.js $(document).ready(function () { var $container = $('s...
$(document).ready(function () { var $container = $('section.more'); if ($container.find('.js-tabs').length) { $container.tabs(); } $('#get-started a.toolbar-disabled').click(function(e) { window.open($(this).attr('href'), 'govuk_transaction_window', 'toolbar=no') e.preventDefault(); }); });
<|file_sep|>original/app/assets/javascripts/transactions.js $(document).ready(function () { var $container = $('section.more'); if ($container.find('.js-tabs').length) { $container.tabs(); } }); <|file_sep|>current/app/assets/javascripts/transactions.js $(document).ready(function () { var $container = $('s...
ebd39471326620bf454e6002cedf2117d2b43ad3
app/assets/javascripts/transactions.js
app/assets/javascripts/transactions.js
JavaScript
<|file_sep|>original/chrome-app/manifest.json "manifest_version": 2, "name": "Readium", "description": "EPUB reader for Chrome", "version": "2.14.2", "default_locale" : "en_US", "app": { "launch": { "local_path": "index.html" } }, "content_security_policy": "script-src 'self' 'unsaf...
"manifest_version": 2, "name": "Readium", "description": "EPUB reader for Chrome", "version": "2.14.2", "default_locale" : "en_US", "app": { "launch": { "local_path": "index.html" } }, "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'"...
<|file_sep|>original/chrome-app/manifest.json "manifest_version": 2, "name": "Readium", "description": "EPUB reader for Chrome", "version": "2.14.2", "default_locale" : "en_US", "app": { "launch": { "local_path": "index.html" } }, "content_security_policy": "script-src 'self' 'unsaf...
8db47df59aad194b0de23273954a2d21719d3cf4
chrome-app/manifest.json
chrome-app/manifest.json
JSON
<|file_sep|>appveyor.yml.diff original: JAVA_OPTS: -XX:+CMSClassUnloadingEnabled -Xmx2g MAVEN_OPTS: -XX:+CMSClassUnloadingEnabled -Xmx2g updated: JAVA_HOME: C:\Program Files\Java\jdk1.8.0 JAVA_OPTS: -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx2g MAVEN_OPTS: -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx2g <|file_...
version: '{build}' skip_tags: true environment: JAVA_HOME: C:\Program Files\Java\jdk1.8.0 JAVA_OPTS: -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx2g MAVEN_OPTS: -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx2g PATH: C:\maven\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH% install: - ps: | Add-Type -Assembly...
<|file_sep|>appveyor.yml.diff original: JAVA_OPTS: -XX:+CMSClassUnloadingEnabled -Xmx2g MAVEN_OPTS: -XX:+CMSClassUnloadingEnabled -Xmx2g updated: JAVA_HOME: C:\Program Files\Java\jdk1.8.0 JAVA_OPTS: -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx2g MAVEN_OPTS: -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx2g <|file_...
e45a391e99d629683897be07f45133e98a7aa2af
appveyor.yml
appveyor.yml
YAML
<|file_sep|>packages/re/resolve-trivial-conflicts.yaml.diff original: hash: 8751196b2f51f916e9241cde93f5cbe38e9f6b0077befbe193211716e2aab03c updated: hash: 35d15ecacf5e6cee5bc22ba669deaa589635e691c9077c55511e23ff3ff38e29 <|file_sep|>packages/re/resolve-trivial-conflicts.yaml.diff original: updated: optparse-applicat...
ansi-terminal: ! '>=0.6.2' base-compat: ! '>=0.8.2 && <0.9' mtl: ! '>=2.1' optparse-applicative: ! '>=0.11 && <0.13' directory: ! '>=1.2' all-versions: - '0.2' - '0.2.0.1' - '0.2.0.2' - '0.3' - '0.3.0.1' - '0.3.0.2' - '0.3.1' - '0.3.1.1' - '0.3.1.2' - '0.3.2' author: Eyal Lotem latest: '0.3.2' description-typ...
<|file_sep|>packages/re/resolve-trivial-conflicts.yaml.diff original: hash: 8751196b2f51f916e9241cde93f5cbe38e9f6b0077befbe193211716e2aab03c updated: hash: 35d15ecacf5e6cee5bc22ba669deaa589635e691c9077c55511e23ff3ff38e29 <|file_sep|>packages/re/resolve-trivial-conflicts.yaml.diff original: updated: optparse-applicat...
7a78b21a1400e083972ff6dd095469b43abf307e
packages/re/resolve-trivial-conflicts.yaml
packages/re/resolve-trivial-conflicts.yaml
YAML
<|file_sep|>original/spec/cli_spec.rb require "spec_helper" require "bower2gem/cli" describe Bower2Gem::CLI do it "does something useful" do expect { Bower2Gem::CLI.new }.to output("dist/rome.js\n").to_stdout end end <|file_sep|>current/spec/cli_spec.rb require "spec_helper" require "bower2gem/cli" describe B...
require "spec_helper" require "bower2gem/cli" describe Bower2Gem::CLI do it "downloads javascript file" do Bower2Gem::CLI.new expect(File).to exist("vendor/assets/rome.js") end end
<|file_sep|>original/spec/cli_spec.rb require "spec_helper" require "bower2gem/cli" describe Bower2Gem::CLI do it "does something useful" do expect { Bower2Gem::CLI.new }.to output("dist/rome.js\n").to_stdout end end <|file_sep|>current/spec/cli_spec.rb require "spec_helper" require "bower2gem/cli" describe B...
3de1b4e121d0ac5113e263c05cf95ea03cfa9a3b
spec/cli_spec.rb
spec/cli_spec.rb
Ruby
<|file_sep|>Client/AbstractClient.php.diff original: $queryStringSuffix = (!empty($parameters)) ? '?' . http_build_query($parameters) : ''; updated: <|file_sep|>original/Client/AbstractClient.php /** * A superclass for client implementations. */ abstract class AbstractClient implements ClientInterface { /...
* * @param ProviderInterface $provider * @param string $mediaId * @param array $parameters * @return string **/ protected function resolveOEmbedUrl(ProviderInterface $provider, $mediaId, array $parameters = array()) { $mediaUrl = str_replace('$ID$'...
<|file_sep|>Client/AbstractClient.php.diff original: $queryStringSuffix = (!empty($parameters)) ? '?' . http_build_query($parameters) : ''; updated: <|file_sep|>original/Client/AbstractClient.php /** * A superclass for client implementations. */ abstract class AbstractClient implements ClientInterface { /...
21b3584ac2b5d85323806ff1fa2d9224fca9f644
Client/AbstractClient.php
Client/AbstractClient.php
PHP
<|file_sep|>original/app/views/charge_booking_templates/_form.html.haml = semantic_form_for resource do |f| = f.semantic_errors = f.inputs do = f.input :amount, :input_html => {"data-autofocus" => true, :size => 12, :style => 'text-align: right'} = f.input :amount_relates_to, :collection => amount_relations...
= semantic_form_for resource do |f| = f.semantic_errors = f.inputs do = f.input :amount_relates_to, :collection => amount_relations_as_collection = f.input :code = f.input :title = f.input :charge_rate_code = f.input :credit_account = f.input :debit_account = f.input :comments, :input_ht...
<|file_sep|>original/app/views/charge_booking_templates/_form.html.haml = semantic_form_for resource do |f| = f.semantic_errors = f.inputs do = f.input :amount, :input_html => {"data-autofocus" => true, :size => 12, :style => 'text-align: right'} = f.input :amount_relates_to, :collection => amount_relations...
8dbfdf18abef36ba2301e03f93b16c844dee03e8
app/views/charge_booking_templates/_form.html.haml
app/views/charge_booking_templates/_form.html.haml
Haml
<|file_sep|>original/scripts/build_dist.sh <|file_sep|>current/scripts/build_dist.sh <|file_sep|>updated/scripts/build_dist.sh
#!/usr/bin/env bash set -euo pipefail # This script is used to build the distribution archives for SolidInvoice. export SOLIDINVOICE_ENV=prod export SOLIDINVOICE_DEBUG=0 NODE_ENVIRONMENT=production REPO=https://github.com/SolidInvoice/SolidInvoice.git BRANCH=${1:-} VERSION=${2:-} if [ -z $BRANCH ] then echo "E...
<|file_sep|>original/scripts/build_dist.sh <|file_sep|>current/scripts/build_dist.sh <|file_sep|>updated/scripts/build_dist.sh #!/usr/bin/env bash set -euo pipefail # This script is used to build the distribution archives for SolidInvoice. export SOLIDINVOICE_ENV=prod export SOLIDINVOICE_DEBUG=0 NODE_ENVIRONMENT=...
8e41a22d83ed663f8f71756559efb6b0a8d830a2
scripts/build_dist.sh
scripts/build_dist.sh
Shell
<|file_sep|>django/santropolFeast/meal/models.py.diff original: verbose_name_plural = _('Meals') updated: verbose_name_plural = _('meals') <|file_sep|>django/santropolFeast/meal/models.py.diff original: nom = models.CharField(max_length=50, verbose_name=_('Name')) description = models.TextFields(verbose_name=_('D...
#Meal information nom = models.CharField(max_length=50, verbose_name=_('name')) description = models.TextFields(verbose_name=_('description')) ingredients = models.ManyToManyField(Ingredient, related_name='related_meals')) class Ingredient(models.Model): class Meta: verbose_name_plural = _(...
<|file_sep|>django/santropolFeast/meal/models.py.diff original: verbose_name_plural = _('Meals') updated: verbose_name_plural = _('meals') <|file_sep|>django/santropolFeast/meal/models.py.diff original: nom = models.CharField(max_length=50, verbose_name=_('Name')) description = models.TextFields(verbose_name=_('D...
a75f415c9795fd4b3caf28cb1f6b8d708f4a4672
django/santropolFeast/meal/models.py
django/santropolFeast/meal/models.py
Python
<|file_sep|>original/README.md # dray Node SQL ORM written in TypeScript - let the squirrels deal with your data! ## Goals Write a simple to use SQL ORM for Node applications (particularly those written in TypeScript). This is currently at the POC stage and will be updated with status when it progresses. <|file_sep|>...
# dray [![npm](https://img.shields.io/npm/v/dray.svg)](https://www.npmjs.com/dray) Node SQL ORM written in TypeScript - let the squirrels deal with your data! ## Goals Write a simple to use SQL ORM for Node applications (particularly those written in TypeScript). This is currently at the POC stage and will be updated...
<|file_sep|>original/README.md # dray Node SQL ORM written in TypeScript - let the squirrels deal with your data! ## Goals Write a simple to use SQL ORM for Node applications (particularly those written in TypeScript). This is currently at the POC stage and will be updated with status when it progresses. <|file_sep|>...
d6d37e133c49cf0ad280ccd941b835140bc23676
README.md
README.md
Markdown
<|file_sep|>vendor/engines/c2po/app/models/purchase_order_account.rb.diff original: updated: <|file_sep|>original/vendor/engines/c2po/app/models/purchase_order_account.rb belongs_to :facility validates_presence_of :account_number def to_s(with_owner = false) desc = super desc += " / #{facility.nam...
validates_presence_of :account_number def to_s(with_owner = false) desc = super desc += " / #{facility.name}" if facility desc end def self.need_reconciling(facility) where(id: OrderDetail .joins(:order, :account) .select('DISTINCT(order_details.account_id) AS account_id') ...
<|file_sep|>vendor/engines/c2po/app/models/purchase_order_account.rb.diff original: updated: <|file_sep|>original/vendor/engines/c2po/app/models/purchase_order_account.rb belongs_to :facility validates_presence_of :account_number def to_s(with_owner = false) desc = super desc += " / #{facility.nam...
c7f9bb7aa0fc12480fc2bdd32640ec7592c07a54
vendor/engines/c2po/app/models/purchase_order_account.rb
vendor/engines/c2po/app/models/purchase_order_account.rb
Ruby
<|file_sep|>original/README.rst <|file_sep|>current/README.rst <|file_sep|>updated/README.rst
Greenmine Backend ================= Setup development environment. ------------------------------ .. code-block:: console pip install -r requirements.txt python manage.py syncdb --migrate --noinput python manage.py loaddata initial_user python manage.py sample_data
<|file_sep|>original/README.rst <|file_sep|>current/README.rst <|file_sep|>updated/README.rst Greenmine Backend ================= Setup development environment. ------------------------------ .. code-block:: console pip install -r requirements.txt python manage.py syncdb --migrate --noinput python man...
125470778853c4c9df04d93b27b0df8317a8b0ff
README.rst
README.rst
reStructuredText
<|file_sep|>sandbox_template.asm.diff original: global _start updated: global _start <|file_sep|>original/sandbox_template.asm ; Sandbox asm file template to start experimenting from SECTION .data SECTION .text global _start _start: nop mov eax,1 ; Code for Exit Syscall mov ebx,0 ; Return a code of zer...
; Sandbox asm file template to start experimenting from SECTION .data SECTION .text global _start _start: nop mov eax,1 ; Code for Exit Syscall mov ebx,0 ; Return a code of zero int 80H ; Make kernel call SECTION .bss
<|file_sep|>sandbox_template.asm.diff original: global _start updated: global _start <|file_sep|>original/sandbox_template.asm ; Sandbox asm file template to start experimenting from SECTION .data SECTION .text global _start _start: nop mov eax,1 ; Code for Exit Syscall mov ebx,0 ; Return a code of zer...
3a6dfd0e5dfe9fc531f5802b1aa68215f92e352e
sandbox_template.asm
sandbox_template.asm
Assembly
<|file_sep|>qmake.build/config.pri.diff original: TARGET_SUFFIX = .debug updated: TARGET_SUFFIX = _d <|file_sep|>original/qmake.build/config.pri include(compiler_config.pri) CONFIG(debug, debug|release) { TARGET_SUFFIX = .debug } else { TARGET_SUFFIX = .release } CONFIG *= build_all debug_and_release <|file_sep...
include(compiler_config.pri) CONFIG(debug, debug|release) { TARGET_SUFFIX = _d } else { TARGET_SUFFIX = } CONFIG *= build_all debug_and_release
<|file_sep|>qmake.build/config.pri.diff original: TARGET_SUFFIX = .debug updated: TARGET_SUFFIX = _d <|file_sep|>original/qmake.build/config.pri include(compiler_config.pri) CONFIG(debug, debug|release) { TARGET_SUFFIX = .debug } else { TARGET_SUFFIX = .release } CONFIG *= build_all debug_and_release <|file_sep...
efbb6d1211f7303037110c55b90aff452564e93d
qmake.build/config.pri
qmake.build/config.pri
QMake
<|file_sep|>original/app/controllers/application_controller.rb class ApplicationController < ActionController::Base protect_from_forgery with: :exception before_action :authenticate_user! private def check_admin return if current_user.admin? redirect_to root_url end end <|file_sep|>current/app/contr...
class ApplicationController < ActionController::Base protect_from_forgery with: :exception before_action :authenticate_user! private def check_admin return if current_user.admin? redirect_to root_url end end
<|file_sep|>original/app/controllers/application_controller.rb class ApplicationController < ActionController::Base protect_from_forgery with: :exception before_action :authenticate_user! private def check_admin return if current_user.admin? redirect_to root_url end end <|file_sep|>current/app/contr...
bd5e2fb2cd4e01e2337364409a710d1840a7d34f
app/controllers/application_controller.rb
app/controllers/application_controller.rb
Ruby
<|file_sep|>original/bombdefusalmanual/pages/templates/morsecode.html <th>Code</th> <th>Word</th> <th>Frequency</th> </tr> </thead> <tbody> {%- for codes, word, frequency in codes_words_frequencies %} <tr> <td> {%- for code in codes %} {%- if...
<th>Code</th> <th>Word</th> <th>Frequency</th> </tr> </thead> <tbody> {%- for codes, word, frequency in codes_words_frequencies %} <tr> <td> {%- for code in codes %} {%- if not loop.first %} <span class="delimiter">|</span> {% endif -%} ...
<|file_sep|>original/bombdefusalmanual/pages/templates/morsecode.html <th>Code</th> <th>Word</th> <th>Frequency</th> </tr> </thead> <tbody> {%- for codes, word, frequency in codes_words_frequencies %} <tr> <td> {%- for code in codes %} {%- if...
d30b04eebcbd5fbb1127effb6ae7a0a32c697817
bombdefusalmanual/pages/templates/morsecode.html
bombdefusalmanual/pages/templates/morsecode.html
HTML
<|file_sep|>.travis.yml.diff original: updated: install: - npm install -g tap kanso <|file_sep|>.travis.yml.diff original: - npm install kanso -g updated: <|file_sep|>original/.travis.yml language: node_js node_js: - 0.10 env: DB=couchdb before_script: - curl -X PUT localhost:5984/kanso-example-app - npm...
language: node_js node_js: - 0.10 install: - npm install -g tap kanso env: DB=couchdb before_script: - curl -X PUT localhost:5984/kanso-example-app script: "kanso install; kanso push http://localhost:5984/kanso-example-app; tap test"
<|file_sep|>.travis.yml.diff original: updated: install: - npm install -g tap kanso <|file_sep|>.travis.yml.diff original: - npm install kanso -g updated: <|file_sep|>original/.travis.yml language: node_js node_js: - 0.10 env: DB=couchdb before_script: - curl -X PUT localhost:5984/kanso-example-app - npm...
3476917d1daa6267cd77d321aab82f7818508aac
.travis.yml
.travis.yml
YAML
<|file_sep|>mopidy/backends/gstreamer.py.diff original: updated: def _play(self): if self._current_track is None: return False <|file_sep|>mopidy/backends/gstreamer.py.diff original: def _play_current_track(self): updated: <|file_sep|>original/mopidy/backends/gstreamer.py player.s...
playlist = [] player = gst.element_factory_make("playbin2", "player") fakesink = gst.element_factory_make("fakesink", "fakesink") player.set_property("video-sink", fakesink) self.player = player def _play(self): if self._current_track is None: return Fa...
<|file_sep|>mopidy/backends/gstreamer.py.diff original: updated: def _play(self): if self._current_track is None: return False <|file_sep|>mopidy/backends/gstreamer.py.diff original: def _play_current_track(self): updated: <|file_sep|>original/mopidy/backends/gstreamer.py player.s...
c21fe453911af190f3cbd93356396d4f5e65195e
mopidy/backends/gstreamer.py
mopidy/backends/gstreamer.py
Python
<|file_sep|>Engine/Game/Controllers/ThirdPersonPushBodies.cs.diff original: updated: #if NETWORK_PHOTON <|file_sep|>original/Engine/Game/Controllers/ThirdPersonPushBodies.cs if (body == null || body.isKinematic) return; // Ignore pushing those rigidbodies int bodyLa...
return; // Ignore pushing those rigidbodies int bodyLayerMask = 1 << body.gameObject.layer; if ((bodyLayerMask & pushLayers.value) == 0) return; // We dont want to push objects below us if (hit.moveDirection.y < -0.3) ...
<|file_sep|>Engine/Game/Controllers/ThirdPersonPushBodies.cs.diff original: updated: #if NETWORK_PHOTON <|file_sep|>original/Engine/Game/Controllers/ThirdPersonPushBodies.cs if (body == null || body.isKinematic) return; // Ignore pushing those rigidbodies int bodyLa...
9f8019c8881d5b0ba5317ce83f0daae786aef370
Engine/Game/Controllers/ThirdPersonPushBodies.cs
Engine/Game/Controllers/ThirdPersonPushBodies.cs
C#
<|file_sep|>original/proctor/include/pcl/proctor/proposer.h #include "proctor/database_entry.h" namespace pcl { namespace proctor { struct Candidate { std::string id; float votes; }; class Proposer { public: typedef boost::shared_ptr<Proposer> Ptr; typedef boost::sh...
#include "proctor/database_entry.h" namespace pcl { namespace proctor { struct Candidate { std::string id; double votes; }; class Proposer { public: typedef boost::shared_ptr<Proposer> Ptr; typedef boost::shared_ptr<const Proposer> ConstPtr; typedef boost::...
<|file_sep|>original/proctor/include/pcl/proctor/proposer.h #include "proctor/database_entry.h" namespace pcl { namespace proctor { struct Candidate { std::string id; float votes; }; class Proposer { public: typedef boost::shared_ptr<Proposer> Ptr; typedef boost::sh...
82941052dcbfa55dc20a02e0bb329e693d546477
proctor/include/pcl/proctor/proposer.h
proctor/include/pcl/proctor/proposer.h
C
<|file_sep|>original/packages/components/containers/payments/AmountButton.tsx interface Props extends Omit<ButtonProps, 'onSelect' | 'onClick'> { value?: number; amount?: number; currency?: Currency; onSelect: (value: number) => void; } const AmountButton = ({ value = 0, amount = 0, currency, onSelect,...
interface Props extends Omit<ButtonProps, 'onSelect' | 'onClick'> { value?: number; amount?: number; currency?: Currency; onSelect: (value: number) => void; } const AmountButton = ({ value = 0, amount = 0, currency, onSelect, className = '', ...rest }: Props) => { return ( <Button ...
<|file_sep|>original/packages/components/containers/payments/AmountButton.tsx interface Props extends Omit<ButtonProps, 'onSelect' | 'onClick'> { value?: number; amount?: number; currency?: Currency; onSelect: (value: number) => void; } const AmountButton = ({ value = 0, amount = 0, currency, onSelect,...
dd7b0e5357640756ee39b2acbc356e3cec2063e5
packages/components/containers/payments/AmountButton.tsx
packages/components/containers/payments/AmountButton.tsx
TypeScript
<|file_sep|>src/Users/Users.php.diff original: updated: // The API will throw a 400 response if you include properly encoded spaces, // but underscores work as a substitute. $query = str_replace(' ', '_', $query); <|file_sep|>src/Users/Users.php.diff original: updated: // Co...
foreach ($response->user as $data) { // Contacts without a primary identifier will have the primary_id // field populated with something weird like "no primary id (123456789023)". // We ignore those. // See: https://github.com/scriptotek/php-...
<|file_sep|>src/Users/Users.php.diff original: updated: // The API will throw a 400 response if you include properly encoded spaces, // but underscores work as a substitute. $query = str_replace(' ', '_', $query); <|file_sep|>src/Users/Users.php.diff original: updated: // Co...
ac51a8ef1b367627c062954d62df0c884d4a85f0
src/Users/Users.php
src/Users/Users.php
PHP
<|file_sep|>original/requirements.txt Flask-WTF==0.14.2 Flask-RQ==0.2 git+https://github.com/hasgeek/baseframe git+https://github.com/hasgeek/coaster git+https://github.com/hasgeek/flask-lastuser jsmin==2.2.2 pytz==2018.5 psycopg2==2.7.5 wtforms_json==0.3.3 rq==0.12.0 itsdangerous==0.24 html2text==2018.1.9 premailer==3...
Flask-WTF==0.14.2 Flask-RQ==0.2 git+https://github.com/hasgeek/baseframe git+https://github.com/hasgeek/coaster git+https://github.com/hasgeek/flask-lastuser jsmin==2.2.2 pytz==2018.5 psycopg2==2.7.5 wtforms_json==0.3.3 rq==0.12.0 itsdangerous==0.24 html2text==2018.1.9 premailer==3.2.0 python-dateutil==2.7.3 tabulate==...
<|file_sep|>original/requirements.txt Flask-WTF==0.14.2 Flask-RQ==0.2 git+https://github.com/hasgeek/baseframe git+https://github.com/hasgeek/coaster git+https://github.com/hasgeek/flask-lastuser jsmin==2.2.2 pytz==2018.5 psycopg2==2.7.5 wtforms_json==0.3.3 rq==0.12.0 itsdangerous==0.24 html2text==2018.1.9 premailer==3...
d0b3312cbcf2c6a34be4b7f398c2f5e49331944a
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: c script: cmake . && make && make test compiler: clang before_install: - sudo apt-get -qq update - sudo apt-get install -y libconfig-dev <|file_sep|>current/.travis.yml language: c script: cmake . && make && make test compiler: clang before_install: - sudo apt-get -qq up...
language: c script: cmake . && make VERBOSE=1 && make test compiler: clang before_install: - sudo apt-get -qq update - sudo apt-get install -y libconfig-dev
<|file_sep|>original/.travis.yml language: c script: cmake . && make && make test compiler: clang before_install: - sudo apt-get -qq update - sudo apt-get install -y libconfig-dev <|file_sep|>current/.travis.yml language: c script: cmake . && make && make test compiler: clang before_install: - sudo apt-get -qq up...
84562d27aa380e26feed9fd36446dce0930b60d1
.travis.yml
.travis.yml
YAML
<|file_sep|>tests/test_dispatch.py.diff original: import accordian updated: <|file_sep|>tests/test_dispatch.py.diff original: def test_unknown_event(loop): updated: def test_start_idempotent(loop, dispatch): loop.run_until_complete(dispatch.start()) assert dispatch.running loop.run_until_complete(dispatch...
def test_register_running(dispatch, loop): event = "my-event" params = ["x", "y", "z"] loop.run_until_complete(dispatch.start()) with pytest.raises(RuntimeError): dispatch.register(event, params) loop.run_until_complete(dispatch.stop()) def test_unregister_unknown(dispatch): assert ...
<|file_sep|>tests/test_dispatch.py.diff original: import accordian updated: <|file_sep|>tests/test_dispatch.py.diff original: def test_unknown_event(loop): updated: def test_start_idempotent(loop, dispatch): loop.run_until_complete(dispatch.start()) assert dispatch.running loop.run_until_complete(dispatch...
573d3d8b652527e0293321e09474f7a6e5b243f4
tests/test_dispatch.py
tests/test_dispatch.py
Python
<|file_sep|>original/blog/atom.xml <|file_sep|>current/blog/atom.xml <|file_sep|>updated/blog/atom.xml
--- layout: feed --- <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>Francois Genolini's Blog</title> <link href="http://fgenolini.github.io/blog/atom.xml" rel="self"/> <link href="http://fgenolini.github.io/blog"/> <updated>{{ site.time | date_to_xmlschema }}</updated> <i...
<|file_sep|>original/blog/atom.xml <|file_sep|>current/blog/atom.xml <|file_sep|>updated/blog/atom.xml --- layout: feed --- <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>Francois Genolini's Blog</title> <link href="http://fgenolini.github.io/blog/atom.xml" rel="self"/> <...
18a00c458c68c758acbb4f3d418c521bf553685a
blog/atom.xml
blog/atom.xml
XML
<|file_sep|>original/playbooks/base-test/pre.yaml - hosts: localhost roles: - role: emit-job-header zuul_log_url: "http://logs.openstack.org" - hosts: all roles: - add-build-sshkey - start-zuul-console - validate-host - use-cached-repos - mirror-workspace-git-repos - mirror-info ...
- hosts: localhost roles: - role: emit-job-header zuul_log_url: "http://logs.openstack.org" - hosts: all roles: - add-build-sshkey - start-zuul-console - configure-unbound - validate-host - use-cached-repos - mirror-workspace-git-repos - mirror-info - configure-mirrors ...
<|file_sep|>original/playbooks/base-test/pre.yaml - hosts: localhost roles: - role: emit-job-header zuul_log_url: "http://logs.openstack.org" - hosts: all roles: - add-build-sshkey - start-zuul-console - validate-host - use-cached-repos - mirror-workspace-git-repos - mirror-info ...
2d528f14105d3386cf4d5f64b041d2fb09079411
playbooks/base-test/pre.yaml
playbooks/base-test/pre.yaml
YAML
<|file_sep|>original/app/assets/stylesheets/_variables.scss // these variables override bootstrap defaults $baseFontFamily: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; $textColor: #333; <|file_sep|>current/app/assets/stylesheets/_variables.scss // these variables override bootst...
// these variables override bootstrap defaults $baseFontFamily: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; $textColor: #333; @mixin font-family-sans-serif() { font-family: $baseFontFamily; }
<|file_sep|>original/app/assets/stylesheets/_variables.scss // these variables override bootstrap defaults $baseFontFamily: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; $textColor: #333; <|file_sep|>current/app/assets/stylesheets/_variables.scss // these variables override bootst...
795426bd94d165fdf310b164c550d4996bc37beb
app/assets/stylesheets/_variables.scss
app/assets/stylesheets/_variables.scss
SCSS
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" env: - DJANGO=1.4 DJANGO_VERSION_MIN=1.4 DJANGO_VERSION_MAX=1.5 - DJANGO=1.6 DJANGO_VERSION_MIN=1.6 DJANGO_VERSION_MAX=1.7 - DJANGO=1.7 DJANGO_VERSION_MIN=1.7 DJANGO_VERSION_MAX=1.8 matrix: exclude: - python: "2.6" env: DJAN...
language: python python: - "2.6" - "2.7" env: - DJANGO=1.4 DJANGO_VERSION_MIN=1.4 DJANGO_VERSION_MAX=1.5 - DJANGO=1.6 DJANGO_VERSION_MIN=1.6 DJANGO_VERSION_MAX=1.7 - DJANGO=1.7 DJANGO_VERSION_MIN=1.7 DJANGO_VERSION_MAX=1.8 matrix: exclude: - python: "2.6" env: DJANGO=1.7 DJANGO_VERSION_MIN=1.7 DJA...
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" env: - DJANGO=1.4 DJANGO_VERSION_MIN=1.4 DJANGO_VERSION_MAX=1.5 - DJANGO=1.6 DJANGO_VERSION_MIN=1.6 DJANGO_VERSION_MAX=1.7 - DJANGO=1.7 DJANGO_VERSION_MIN=1.7 DJANGO_VERSION_MAX=1.8 matrix: exclude: - python: "2.6" env: DJAN...
95ceabe3a50465b4f138c7c7a7cdca50c910b388
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: julia os: - linux - osx julia: - release - nightly notifications: email: false before_install: - sudo apt-get install gfortran -y script: - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("Lass...
language: julia os: - linux - osx julia: - release - nightly notifications: email: false before_install: - if [ `uname` = "Linux" ]; then sudo apt-get install gfortran -y elif [ `uname` = "Darwin" ]; then brew install gcc fi script: - if [[ -a .git/shallow ]]; then git fetch --unshallo...
<|file_sep|>original/.travis.yml language: julia os: - linux - osx julia: - release - nightly notifications: email: false before_install: - sudo apt-get install gfortran -y script: - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("Lass...
02b9ec9db48b1a52667c4165809271b6b8ece873
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/shared/_deactivatable_links.html.slim - if (can? :activate, location) && location.activated? = link_to t('shared.deactivate'), "/manage/#{location.model_name.route_key}/#{location.id}/deactivate", method: :patch, class: 'button -secondary' - if (can? :deactivate, location) && location.d...
- if (can? :activate, location) && location.activated? = link_to t('shared.deactivate'), "/manage/#{location.model_name.route_key}/#{location.id}/deactivate", method: :patch, class: 'button -secondary' - if (can? :deactivate, location) && location.deactivated? = link_to t('shared.activate'), "/manage/#{location.mod...
<|file_sep|>original/app/views/shared/_deactivatable_links.html.slim - if (can? :activate, location) && location.activated? = link_to t('shared.deactivate'), "/manage/#{location.model_name.route_key}/#{location.id}/deactivate", method: :patch, class: 'button -secondary' - if (can? :deactivate, location) && location.d...
090e4276b3453d7249b3082237a64f894aa30965
app/views/shared/_deactivatable_links.html.slim
app/views/shared/_deactivatable_links.html.slim
Slim
<|file_sep|>src/main/groovy/swing/factory/ComponentFactory.groovy.diff original: updated: import javax.swing.JTabbedPane <|file_sep|>original/src/main/groovy/swing/factory/ComponentFactory.groovy public ComponentFactory(Class beanClass) { super(beanClass) } public ComponentFactory(Class beanClass...
class ComponentFactory extends BeanFactory { public ComponentFactory(Class beanClass) { super(beanClass) } public ComponentFactory(Class beanClass, boolean leaf) { super(beanClass, leaf) } public void setParent(FactoryBuilderSupport builder, Object parent, Object child) { ...
<|file_sep|>src/main/groovy/swing/factory/ComponentFactory.groovy.diff original: updated: import javax.swing.JTabbedPane <|file_sep|>original/src/main/groovy/swing/factory/ComponentFactory.groovy public ComponentFactory(Class beanClass) { super(beanClass) } public ComponentFactory(Class beanClass...
5b77adb99fa0e9c45fa84a75b817beaa12eb6260
src/main/groovy/swing/factory/ComponentFactory.groovy
src/main/groovy/swing/factory/ComponentFactory.groovy
Groovy
<|file_sep|>src/client/utils/ua.js.diff original: const ua = typeof navigator === 'undefined'? '' : navigator.userAgent; updated: const ua = typeof navigator === 'undefined'? '' : navigator.userAgent, platform = typeof navigator === 'undefined'? '' : navigator.platform; <|file_sep|>original/src/client/utils/ua.js c...
const ua = typeof navigator === 'undefined'? '' : navigator.userAgent, platform = typeof navigator === 'undefined'? '' : navigator.platform; export const isTrident = ua.indexOf('Trident') > -1; export const isEdge = ua.indexOf('Edge') > -1; export const isIos = /iPad|iPhone|iPod/.test(platform);
<|file_sep|>src/client/utils/ua.js.diff original: const ua = typeof navigator === 'undefined'? '' : navigator.userAgent; updated: const ua = typeof navigator === 'undefined'? '' : navigator.userAgent, platform = typeof navigator === 'undefined'? '' : navigator.platform; <|file_sep|>original/src/client/utils/ua.js c...
1a48a1b83fb10aa44e9bb02f89eedc0fd93588cb
src/client/utils/ua.js
src/client/utils/ua.js
JavaScript
<|file_sep|>setup.sh.diff original: /n98-magerun.phar install \ updated: php -dmemory_limit=1024M -f /n98-magerun.phar install \ <|file_sep|>original/setup.sh --dbHost=db \ --dbUser=magento ...
--installSampleData=no \ --dbHost=db \ --dbUser=magento \ --dbPass=magento \ --dbName=magento \ --...
<|file_sep|>setup.sh.diff original: /n98-magerun.phar install \ updated: php -dmemory_limit=1024M -f /n98-magerun.phar install \ <|file_sep|>original/setup.sh --dbHost=db \ --dbUser=magento ...
be63f2d64e8c67418933f796367107f810a320eb
setup.sh
setup.sh
Shell
<|file_sep|>original/src/test/resources/logback-test.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- Declare the 'CONSOLE' ConsoleAppender. --> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <!-- encoders are assigned the type ch.qos.logback.classic.encoder.Patte...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- Declare the 'CONSOLE' ConsoleAppender. --> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> <encoder> ...
<|file_sep|>original/src/test/resources/logback-test.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- Declare the 'CONSOLE' ConsoleAppender. --> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <!-- encoders are assigned the type ch.qos.logback.classic.encoder.Patte...
1c6d91ac35c994d6f5c249259b7f6076a9402320
src/test/resources/logback-test.xml
src/test/resources/logback-test.xml
XML
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.3" - "2.2.0" before_install: - wget -P ~ http://mafft.cbrc.jp/alignment/software/mafft-7.205-with-extensions-src.tgz - tar -zxvf ~/mafft-7.205-with-extensions-src.tgz -C ~ - mkdir ~/mafft - ruby -pi -e "gsub(/^PREFIX = \/usr...
rvm: - "1.9.3" - "2.0.0" - "2.1.3" - "2.2.0" before_install: - wget -P ~ http://mafft.cbrc.jp/alignment/software/mafft-7.205-with-extensions-src.tgz - tar -zxvf ~/mafft-7.205-with-extensions-src.tgz -C ~ - mkdir ~/mafft - ruby -pi -e "gsub(/^PREFIX = \/usr\/local/, 'PREFIX = ~/mafft/')" ~/mafft-7.205-wi...
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.3" - "2.2.0" before_install: - wget -P ~ http://mafft.cbrc.jp/alignment/software/mafft-7.205-with-extensions-src.tgz - tar -zxvf ~/mafft-7.205-with-extensions-src.tgz -C ~ - mkdir ~/mafft - ruby -pi -e "gsub(/^PREFIX = \/usr...
2350d2f14fb06fa8e1b43bffad11ecacce2e1b4b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/t/formatted_escaping.t <|file_sep|>current/t/formatted_escaping.t <|file_sep|>updated/t/formatted_escaping.t
use v6; use lib <blib/lib lib>; use Test; use Pod::To::Markdown; plan 1; my $markdown = Q:to/ENDing/; Here is a single backtick `` ` ``. Here is two backticks ``` `` ```. Here is one ```` ```perl6```` with three. ENDing is pod2markdown($=pod).trim, $markdown.chomp, 'Properly deals with code that contains backt...
<|file_sep|>original/t/formatted_escaping.t <|file_sep|>current/t/formatted_escaping.t <|file_sep|>updated/t/formatted_escaping.t use v6; use lib <blib/lib lib>; use Test; use Pod::To::Markdown; plan 1; my $markdown = Q:to/ENDing/; Here is a single backtick `` ` ``. Here is two backticks ``` `` ```. Here is one `...
01339c543a4347c7da755c0022179ecc467d87ec
t/formatted_escaping.t
t/formatted_escaping.t
Perl
<|file_sep|>original/gusset/colortable.py <|file_sep|>current/gusset/colortable.py <|file_sep|>updated/gusset/colortable.py
""" Pretty table generation. """ from itertools import cycle from string import capwords from fabric.colors import red, green, blue, magenta, white, yellow class ColorRow(dict): """ Ordered collection of column values. """ def __init__(self, table, **kwargs): super(ColorRow, self).__init__(sel...
<|file_sep|>original/gusset/colortable.py <|file_sep|>current/gusset/colortable.py <|file_sep|>updated/gusset/colortable.py """ Pretty table generation. """ from itertools import cycle from string import capwords from fabric.colors import red, green, blue, magenta, white, yellow class ColorRow(dict): """ Or...
e426afbe9ccbc72a1aa0d00032144e8b9b2b8cdc
gusset/colortable.py
gusset/colortable.py
Python
<|file_sep|>README.md.diff original: `npm run client-start` updated: <|file_sep|>original/README.md # ambits Mobile-first web application for habit tracking and location-based accountability # How to Run the App in Dev Environment: `npm install` `npm run client-start` `npm start` <|file_sep|>current/README.md...
# ambits Mobile-first web application for habit tracking and location-based accountability # How to Run the App in Dev Environment: `npm install` `npm start` # How to set up the app for deployment 1. Set up an account on MongoLab 2. Set up a Heroku account 3. Create a MongoLab database for the app 4. Set a user ...
<|file_sep|>README.md.diff original: `npm run client-start` updated: <|file_sep|>original/README.md # ambits Mobile-first web application for habit tracking and location-based accountability # How to Run the App in Dev Environment: `npm install` `npm run client-start` `npm start` <|file_sep|>current/README.md...
81b38685004cdb5eb67ceb25a2dd0f3afca57f12
README.md
README.md
Markdown
<|file_sep|>original/.idea/templates/JavaScript.xml <|file_sep|>current/.idea/templates/JavaScript.xml <|file_sep|>updated/.idea/templates/JavaScript.xml
<templateSet group="JavaScript"> <template name="aeach" value="$ARRAY$.forEach(function(element, i, collection){&#10; $END$&#9;&#9;&#9;&#9;&#10;});" description="Invoke callback on elements of array" toReformat="true" toShortenFQNames="true"> <variable name="ARRAY" expression="" defaultValue="" alwaysStopAt="tru...
<|file_sep|>original/.idea/templates/JavaScript.xml <|file_sep|>current/.idea/templates/JavaScript.xml <|file_sep|>updated/.idea/templates/JavaScript.xml <templateSet group="JavaScript"> <template name="aeach" value="$ARRAY$.forEach(function(element, i, collection){&#10; $END$&#9;&#9;&#9;&#9;&#10;});" description=...
3d5a210ef57577aa2c302c46c4d9386f9b143017
.idea/templates/JavaScript.xml
.idea/templates/JavaScript.xml
XML
<|file_sep|>original/build/doAll.sh cd /home/ubuntu/genome ./doGetChr20.sh cd /home/ubuntu/bwa ./doBWA.sh cd /home/ubuntu/hisat ./doHISAT.sh cd /home/ubuntu/star ./doSTAR.sh cd /home/ubuntu/blastmapper ./doBlastmapper.sh cd /home/ubuntu/csaw Rscript runCsaw.R ../blastmapper/blastmapper.sorted.bam ../hisat/hisat.s...
cd /home/ubuntu/genome ./doGetChr20.sh cd /home/ubuntu/bwa ./doBWA.sh cd /home/ubuntu/hisat ./doHISAT.sh cd /home/ubuntu/star ./doSTAR.sh cd /home/ubuntu/blastmapper ./doBlastmapper.sh cd /home/ubuntu/csaw Rscript runCsaw.R ../blastmapper/blastmapper.sorted.bam ../hisat/hisat.sorted.bam ../star/star.sorted.bam .....
<|file_sep|>original/build/doAll.sh cd /home/ubuntu/genome ./doGetChr20.sh cd /home/ubuntu/bwa ./doBWA.sh cd /home/ubuntu/hisat ./doHISAT.sh cd /home/ubuntu/star ./doSTAR.sh cd /home/ubuntu/blastmapper ./doBlastmapper.sh cd /home/ubuntu/csaw Rscript runCsaw.R ../blastmapper/blastmapper.sorted.bam ../hisat/hisat.s...
37c65be9ef90c59baea4167d18371e314261e311
build/doAll.sh
build/doAll.sh
Shell
<|file_sep|>original/summon.rb VERSION = "0.3.3" SHA = "6d8eedcc6141d425d9107fe639e229f145044d840662eb793344958e7c845968" class Summon < Formula desc "Tool to make working with secrets easier" homepage "https://github.com/conjurinc/summon" url "https://github.com/conjurinc/summon/releases/download/v#{VERSION}/su...
VERSION = "0.3.3" SHA = "6d8eedcc6141d425d9107fe639e229f145044d840662eb793344958e7c845968" class Summon < Formula desc "Tool to make working with secrets easier" homepage "https://github.com/conjurinc/summon" url "https://github.com/conjurinc/summon/releases/download/v#{VERSION}/summon_v#{VERSION}_darwin_amd64.t...
<|file_sep|>original/summon.rb VERSION = "0.3.3" SHA = "6d8eedcc6141d425d9107fe639e229f145044d840662eb793344958e7c845968" class Summon < Formula desc "Tool to make working with secrets easier" homepage "https://github.com/conjurinc/summon" url "https://github.com/conjurinc/summon/releases/download/v#{VERSION}/su...
fd65a830896cde740c4aef5c0e6153fcf038c8ac
summon.rb
summon.rb
Ruby
<|file_sep|>build/tasks/output-build-filetypes.coffee.diff original: types[extension] ?= 0 types[extension]++ updated: types[extension] ?= [] types[extension].push(filePath) <|file_sep|>build/tasks/output-build-filetypes.coffee.diff original: diff = types[extension2] - types[extension1] up...
if extension is '.asar' asar.listPackage(filePath).forEach (archivePath) -> archivePath = archivePath.substring(1) unless asar.statFile(filePath, archivePath, true).files registerFile(archivePath) grunt.file.recurse shellAppDir, (absolutePath, rootPath, relativePath, f...
<|file_sep|>build/tasks/output-build-filetypes.coffee.diff original: types[extension] ?= 0 types[extension]++ updated: types[extension] ?= [] types[extension].push(filePath) <|file_sep|>build/tasks/output-build-filetypes.coffee.diff original: diff = types[extension2] - types[extension1] up...
2d575808817782a71a75f71949a12e894e5b5dc8
build/tasks/output-build-filetypes.coffee
build/tasks/output-build-filetypes.coffee
CoffeeScript
<|file_sep|>public/scripts/config.js.diff original: fallback: true, updated: <|file_sep|>original/public/scripts/config.js /* global define, socket */ define('plugins/smoothshorts/config', ['translator'], function(i18n) { var ssConfig = { fallback: true, // modifier key (ctrl, alt or shift) to enable ur...
/* global define, socket */ define('plugins/smoothshorts/config', ['translator'], function(i18n) { var ssConfig = { // modifier key (ctrl, alt or shift) to enable uri replacement modKey: '', // Short URLs will use this domain, if set forcedDomain: '' }; ssConfig.load = function(cb) { socket....
<|file_sep|>public/scripts/config.js.diff original: fallback: true, updated: <|file_sep|>original/public/scripts/config.js /* global define, socket */ define('plugins/smoothshorts/config', ['translator'], function(i18n) { var ssConfig = { fallback: true, // modifier key (ctrl, alt or shift) to enable ur...
7afb0f58512baae9ac93943d1412f12b35750902
public/scripts/config.js
public/scripts/config.js
JavaScript
<|file_sep|>website/templates/emails/invite.txt.mako.diff original: updated: <%! from website import settings %> <|file_sep|>original/website/templates/emails/invite.txt.mako Hello ${fullname}, You have been added by ${referrer.fullname} as a contributor to the project "${node.title}" on the Open Science Framewo...
<%! from website import settings %> Hello ${fullname}, You have been added by ${referrer.fullname} as a contributor to the project "${node.title}" on the Open Science Framework. To set a password for your account, visit: ${claim_url} Once you have set a password, you will be able to make contributions to ${node...
<|file_sep|>website/templates/emails/invite.txt.mako.diff original: updated: <%! from website import settings %> <|file_sep|>original/website/templates/emails/invite.txt.mako Hello ${fullname}, You have been added by ${referrer.fullname} as a contributor to the project "${node.title}" on the Open Science Framewo...
132fca4a58e81d394ab1b9c4ff4041d12de3a9ac
website/templates/emails/invite.txt.mako
website/templates/emails/invite.txt.mako
Mako
<|file_sep|>original/plugins/cumulus_frontend/web_client/stylesheets/cumulus.styl button.m-add-resource-type >label padding-left 10px #compute-resource-detail-widget pre max-height 350px overflow auto <|file_sep|>current/plugins/cumulus_frontend/web_client/stylesheets/cumulus.styl button.m-add-resource-t...
button.m-add-resource-type >label padding-left 10px #compute-resource-detail-widget pre max-height 350px overflow auto .m-cluster-details cursor pointer
<|file_sep|>original/plugins/cumulus_frontend/web_client/stylesheets/cumulus.styl button.m-add-resource-type >label padding-left 10px #compute-resource-detail-widget pre max-height 350px overflow auto <|file_sep|>current/plugins/cumulus_frontend/web_client/stylesheets/cumulus.styl button.m-add-resource-t...
fae9b0744b544debfef632d76f9f121ccf776424
plugins/cumulus_frontend/web_client/stylesheets/cumulus.styl
plugins/cumulus_frontend/web_client/stylesheets/cumulus.styl
Stylus
<|file_sep|>original/_posts/2015-02-27-how-to-authorize-arcsde-geodatabases-on-sql-server.md <|file_sep|>current/_posts/2015-02-27-how-to-authorize-arcsde-geodatabases-on-sql-server.md <|file_sep|>updated/_posts/2015-02-27-how-to-authorize-arcsde-geodatabases-on-sql-server.md
--- layout: post title: How to authorize ArcSDE geodatabases on SQL Server date: 2015-02-27 08:55 tags: [ArcGIS, ArcSDE, keycodes, SQL] --- ArcSDE stores authorization/license info in a table called `SDE_server_config`. Use the template below to update this table when a new authorization is needed: {% highlight sql %...
<|file_sep|>original/_posts/2015-02-27-how-to-authorize-arcsde-geodatabases-on-sql-server.md <|file_sep|>current/_posts/2015-02-27-how-to-authorize-arcsde-geodatabases-on-sql-server.md <|file_sep|>updated/_posts/2015-02-27-how-to-authorize-arcsde-geodatabases-on-sql-server.md --- layout: post title: How to authorize ...
b24cf39f4369b62b875ea59f556fe46b920ea879
_posts/2015-02-27-how-to-authorize-arcsde-geodatabases-on-sql-server.md
_posts/2015-02-27-how-to-authorize-arcsde-geodatabases-on-sql-server.md
Markdown
<|file_sep|>original/vsftpd/metadata.rb name 'vsftpd' maintainer 'Sebastian Grewe' maintainer_email 'sebastian.grewe@gmail.com' issues_url 'https://github.com/TheSerapher/chef-vsftpd/issues' source_url 'https://github.com/TheSerapher/chef-vsftpd' license 'Apache 2.0' descrip...
name 'vsftpd' maintainer 'Sebastian Grewe' maintainer_email 'sebastian.grewe@gmail.com' issues_url 'https://github.com/TheSerapher/chef-vsftpd/issues' source_url 'https://github.com/TheSerapher/chef-vsftpd' license 'Apache 2.0' description 'Installs/configures vsftpd' ...
<|file_sep|>original/vsftpd/metadata.rb name 'vsftpd' maintainer 'Sebastian Grewe' maintainer_email 'sebastian.grewe@gmail.com' issues_url 'https://github.com/TheSerapher/chef-vsftpd/issues' source_url 'https://github.com/TheSerapher/chef-vsftpd' license 'Apache 2.0' descrip...
f2108d0916213bb6d79e72d221f479979ad0d2c0
vsftpd/metadata.rb
vsftpd/metadata.rb
Ruby
<|file_sep|>original/test/SILOptimizer/devirt_bound_generic.swift // RUN: %target-swift-frontend -emit-sil -O -emit-object %s // We used to crash on this when trying to devirtualize a.doSomething(), // because a is A<Int> and B is a subclass of A<String>, but not a // subclass A<Int>. And we were not filtring the res...
// RUN: %target-swift-frontend -emit-sil -O -emit-object %s // We used to crash on this when trying to devirtualize a.doSomething(), // because a is A<Int> and B is a subclass of A<String>, but not a // subclass A<Int>. And we were not filtering the results of the // ClassHierarchyAnalysis to handle such cases proper...
<|file_sep|>original/test/SILOptimizer/devirt_bound_generic.swift // RUN: %target-swift-frontend -emit-sil -O -emit-object %s // We used to crash on this when trying to devirtualize a.doSomething(), // because a is A<Int> and B is a subclass of A<String>, but not a // subclass A<Int>. And we were not filtring the res...
6852c2627d8c67f0c31550698be45e44c49eee0d
test/SILOptimizer/devirt_bound_generic.swift
test/SILOptimizer/devirt_bound_generic.swift
Swift
<|file_sep|>src/App.vue.diff original: <div id="app"> <img src="./assets/logo.png"> updated: <div id="app"> <div class="columns"> <div class="column"> <div class="card"> <header class="card-header"> <p class="card-header-title">Onse...
</template> <script> import Hello from './components/Hello'; export default { name: 'app', components: { Hello, }, }; </script> <style> #app { } .is-disabled { opacity: 0.5; } </style>
<|file_sep|>src/App.vue.diff original: <div id="app"> <img src="./assets/logo.png"> updated: <div id="app"> <div class="columns"> <div class="column"> <div class="card"> <header class="card-header"> <p class="card-header-title">Onse...
a50256ba684afea2c6a1353536165b74de3ab3eb
src/App.vue
src/App.vue
Vue
<|file_sep|>packages/articles/public/assets/css/articles.css.diff original: updated: } ul.articles li { list-style: none; padding: 15px 0; } ul.articles li:first-child { padding-top: 0; } ul.articles li:last-child { padding-bottom: 0; <|file_sep|>original/packages/articles/public/assets/css/articles.css h1 { text...
h1 { text-align: center } ul.articles li { list-style: none; padding: 15px 0; } ul.articles li:first-child { padding-top: 0; } ul.articles li:last-child { padding-bottom: 0; } ul.articles li:not(:last-child) { border-bottom: 1px solid #ccc }
<|file_sep|>packages/articles/public/assets/css/articles.css.diff original: updated: } ul.articles li { list-style: none; padding: 15px 0; } ul.articles li:first-child { padding-top: 0; } ul.articles li:last-child { padding-bottom: 0; <|file_sep|>original/packages/articles/public/assets/css/articles.css h1 { text...
8f616318f22f2a930cf95f98db99a21ede0a7ef6
packages/articles/public/assets/css/articles.css
packages/articles/public/assets/css/articles.css
CSS
<|file_sep|>app.rb.diff original: updated: error do 503 end <|file_sep|>original/app.rb end def all_scripts scripts = [] $redis.keys('scripts:*').each do |key| scripts << $redis.hgetall(key).merge('name' => key.split(':').last) end scripts.sort_by { |s| s['name'] } end get '/' do @scripts = al...
$redis.keys('scripts:*').each do |key| scripts << $redis.hgetall(key).merge('name' => key.split(':').last) end scripts.sort_by { |s| s['name'] } end error do 503 end get '/' do raise 'herp' @scripts = all_scripts @last_updated = Time.parse($redis['last_updated']) erb :index end get '/styleshee...
<|file_sep|>app.rb.diff original: updated: error do 503 end <|file_sep|>original/app.rb end def all_scripts scripts = [] $redis.keys('scripts:*').each do |key| scripts << $redis.hgetall(key).merge('name' => key.split(':').last) end scripts.sort_by { |s| s['name'] } end get '/' do @scripts = al...
ceb3ae7b3d37405b18fc968dd025668983d5c26b
app.rb
app.rb
Ruby
<|file_sep|>original/app/controllers/streams_controller.rb class StreamsController < ApplicationController skip_before_filter :authenticate_user, :only => %w(show) before_filter :authenticate_user_with_code_or_session, :only => %w(show) def show unless fragment_exist?(:controller => 'streams', :action => 's...
class StreamsController < ApplicationController skip_before_filter :authenticate_user, :only => %w(show) before_filter :authenticate_user_with_code_or_session, :only => %w(show) def show unless [nil, 'html'].include?(params[:format]) and fragment_exist?(:controller => 'streams', :action => 'show', :for => @...
<|file_sep|>original/app/controllers/streams_controller.rb class StreamsController < ApplicationController skip_before_filter :authenticate_user, :only => %w(show) before_filter :authenticate_user_with_code_or_session, :only => %w(show) def show unless fragment_exist?(:controller => 'streams', :action => 's...
57fd75bf30802e176ef90b7e64dc84e664440219
app/controllers/streams_controller.rb
app/controllers/streams_controller.rb
Ruby
<|file_sep|>app/questionnaires/questionnaireNewController.js.diff original: function ($scope, $cacheFactory) { updated: '$location', function ($scope, $cacheFactory, $location) { <|file_sep|>app/questionnaires/questionnaireNewController.js.diff original: updated: var questionnaire ...
.controller('questionnaireNewController', [ '$scope', '$cacheFactory', '$location', function ($scope, $cacheFactory, $location) { $scope.action = 'New'; var questionnaire = $cacheFactory.get('data').get('questionnaire'); if (questionnaire !== unde...
<|file_sep|>app/questionnaires/questionnaireNewController.js.diff original: function ($scope, $cacheFactory) { updated: '$location', function ($scope, $cacheFactory, $location) { <|file_sep|>app/questionnaires/questionnaireNewController.js.diff original: updated: var questionnaire ...
f670aac33de5325293dc2400a928a36329bdaa6f
app/questionnaires/questionnaireNewController.js
app/questionnaires/questionnaireNewController.js
JavaScript
<|file_sep|>original/meta-gnome/recipes-gnome/yelp/yelp_41.1.bb DEPENDS += " \ libxml2-native \ glib-2.0-native \ gtk+3 \ appstream-glib \ libxslt \ sqlite3 \ webkitgtk \ yelp-xsl \ " do_configure:prepend() { export ITSTOOL=${STAGING_BINDIR_NATIVE}/itstool } FILES:${PN} += " \ ...
DEPENDS += " \ libxml2-native \ glib-2.0-native \ gtk+3 \ appstream-glib \ libxslt \ sqlite3 \ webkitgtk \ yelp-xsl \ " PACKAGECONFIG ?= "" # Enable if soup3 is enabled in webkit recipe PACKAGECONFIG[soup3] = ",--with-webkit2gtk-4-0," do_configure:prepend() { export ITSTOOL=${STAGI...
<|file_sep|>original/meta-gnome/recipes-gnome/yelp/yelp_41.1.bb DEPENDS += " \ libxml2-native \ glib-2.0-native \ gtk+3 \ appstream-glib \ libxslt \ sqlite3 \ webkitgtk \ yelp-xsl \ " do_configure:prepend() { export ITSTOOL=${STAGING_BINDIR_NATIVE}/itstool } FILES:${PN} += " \ ...
abea11781a677011cbebb42582b2cde8e527bdfe
meta-gnome/recipes-gnome/yelp/yelp_41.1.bb
meta-gnome/recipes-gnome/yelp/yelp_41.1.bb
BitBake
<|file_sep|>original/packages/python/README.md # Theia - Python Extension See [here](https://github.com/theia-ide/theia) for a detailed documentation. ## License [Apache-2.0](https://github.com/theia-ide/theia/blob/master/LICENSE) <|file_sep|>current/packages/python/README.md # Theia - Python Extension See [here](ht...
# Theia - Python Extension This extension uses [Python Language Server](https://github.com/sourcegraph/python-langserver) to provide LSP features. To install Python Language Server on Ubuntu 16.04: ``` sudo apt-get update && sudo apt-get install -y python python-pip sudo pip install python-language-server ``` ## Li...
<|file_sep|>original/packages/python/README.md # Theia - Python Extension See [here](https://github.com/theia-ide/theia) for a detailed documentation. ## License [Apache-2.0](https://github.com/theia-ide/theia/blob/master/LICENSE) <|file_sep|>current/packages/python/README.md # Theia - Python Extension See [here](ht...
1f1446e556f7a2d7b2d3e280b1ac0527418338c8
packages/python/README.md
packages/python/README.md
Markdown
<|file_sep|>original/resources/assets/sass/partials/mobile.scss top: 0px; bottom: 0px; right: 0px; width: 70%; background-color: #2bb673; z-index: 999; } } @media only screen and (max-width: 992px) { a.services { height: 70px; } } @media only screen...
right: 0px; width: 70%; background-color: #2bb673; z-index: 999; } } @media only screen and (max-width: 992px) { a.services { height: 90px; } } @media only screen and (max-width: 500px) { a.services { height: auto; } h1 { word-wrap: bre...
<|file_sep|>original/resources/assets/sass/partials/mobile.scss top: 0px; bottom: 0px; right: 0px; width: 70%; background-color: #2bb673; z-index: 999; } } @media only screen and (max-width: 992px) { a.services { height: 70px; } } @media only screen...
e94fc483bf1851b549a1f876d7d20bb414798092
resources/assets/sass/partials/mobile.scss
resources/assets/sass/partials/mobile.scss
SCSS
<|file_sep|>original/requirements/base.txt git+git://github.com/liqd/adhocracy4.git@master#egg=adhocracy4 bcrypt==3.1.3 django-capture-tag==1.0 # django multiform (released version 0.1 was too old) # commit points to PR with 1.9 compatibility git+git://github.com/encolpe/django-multiform.git@django-1.9#egg=django-multi...
git+git://github.com/liqd/adhocracy4.git@master#egg=adhocracy4 bcrypt==3.1.3 django-capture-tag==1.0 # django multiform (released version 0.1 was too old) # commit points to PR with 1.9 compatibility git+git://github.com/encolpe/django-multiform.git@django-1.9#egg=django-multiform html5lib==0.999999999 wagtail==1.12 Xl...
<|file_sep|>original/requirements/base.txt git+git://github.com/liqd/adhocracy4.git@master#egg=adhocracy4 bcrypt==3.1.3 django-capture-tag==1.0 # django multiform (released version 0.1 was too old) # commit points to PR with 1.9 compatibility git+git://github.com/encolpe/django-multiform.git@django-1.9#egg=django-multi...
45afe714a9e46b8383478a0454759990400c0b09
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/.github/workflows/codecoverage.yml on: [push, pull_request] jobs: code-coverage: runs-on: ubuntu-latest steps: - name: Check out source repository uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} environment uses: actions/setup-pyth...
jobs: code-coverage: runs-on: ubuntu-latest steps: - name: Check out source repository uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} environment uses: actions/setup-python@v2 with: python-version: "3.9" - name: Run test cases f...
<|file_sep|>original/.github/workflows/codecoverage.yml on: [push, pull_request] jobs: code-coverage: runs-on: ubuntu-latest steps: - name: Check out source repository uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} environment uses: actions/setup-pyth...
1d991dd2c8fa19fe3196c30b3e46870b10b2a90f
.github/workflows/codecoverage.yml
.github/workflows/codecoverage.yml
YAML
<|file_sep|>metadata/com.simplemobiletools.notes.txt.diff original: updated: Build:1.10,10 commit=1.10 subdir=app gradle=yes <|file_sep|>original/metadata/com.simplemobiletools.notes.txt gradle=yes Build:1.7,7 commit=1.7 subdir=app gradle=yes Build:1.8,8 commit=1.8 subdir=app ...
gradle=yes Build:1.8,8 commit=1.8 subdir=app gradle=yes Build:1.9,9 commit=1.9 subdir=app gradle=yes Build:1.10,10 commit=1.10 subdir=app gradle=yes Auto Update Mode:Version %v Update Check Mode:Tags Current Version:1.10 Current Version Code:10
<|file_sep|>metadata/com.simplemobiletools.notes.txt.diff original: updated: Build:1.10,10 commit=1.10 subdir=app gradle=yes <|file_sep|>original/metadata/com.simplemobiletools.notes.txt gradle=yes Build:1.7,7 commit=1.7 subdir=app gradle=yes Build:1.8,8 commit=1.8 subdir=app ...
e64bdeba63dfe7354d1e1b75fb34c27d10b77362
metadata/com.simplemobiletools.notes.txt
metadata/com.simplemobiletools.notes.txt
Text
<|file_sep|>original/QUICKSTART.md # ## Pre-requisites # # 1. Apache Hadoop 1.0 # 2. jackson-core-asl-1.5.2.jar AND jackson-mapper-asl-1.5.2.jar installed into $HADOOP_HOME/lib # 3. git command line program # mkdir tap_0.2.0 git clone -b tap_0.2.0 git@github.com:tap-git/tap.git cd tap mvn clean install cd samples mvn...
# ## Pre-requisites # # 1. Apache Hadoop 1.0 # 2. jackson-core-asl-1.5.2.jar AND jackson-mapper-asl-1.5.2.jar installed into $HADOOP_HOME/lib # 3. git command line program # mkdir tap_0.2.0 git clone -b tap_0.2.0 git@github.com:tap-git/tap.git cd tap mvn clean install cd samples mvn clean install hadoop fs -mkdir /t...
<|file_sep|>original/QUICKSTART.md # ## Pre-requisites # # 1. Apache Hadoop 1.0 # 2. jackson-core-asl-1.5.2.jar AND jackson-mapper-asl-1.5.2.jar installed into $HADOOP_HOME/lib # 3. git command line program # mkdir tap_0.2.0 git clone -b tap_0.2.0 git@github.com:tap-git/tap.git cd tap mvn clean install cd samples mvn...
f2e43ebc40c2ec565a395d4321939fd9d88f49ec
QUICKSTART.md
QUICKSTART.md
Markdown
<|file_sep|>tests/spec/transformers/valid/ReorderHeadTransformer/supports_esm/expected_output.html.diff original: updated: <link as="script" crossorigin="anonymous" href="https://cdn.ampproject.org/v0.mjs" rel="modulepreload"> <|file_sep|>original/tests/spec/transformers/valid/ReorderHeadTransformer/supports_esm/exp...
<!doctype html> <html ⚡> <head> <link as="script" crossorigin="anonymous" href="https://cdn.ampproject.org/v0.mjs" rel="modulepreload"> <link rel="preload" href="https://cdn.ampproject.org/v0.css" as="style"> <link rel="stylesheet" href="https://cdn.ampproject.org/v0.css"> <script async src="https://cdn.ampproj...
<|file_sep|>tests/spec/transformers/valid/ReorderHeadTransformer/supports_esm/expected_output.html.diff original: updated: <link as="script" crossorigin="anonymous" href="https://cdn.ampproject.org/v0.mjs" rel="modulepreload"> <|file_sep|>original/tests/spec/transformers/valid/ReorderHeadTransformer/supports_esm/exp...
5ac47b9f2e4a8801d18399c811313163b3ec1443
tests/spec/transformers/valid/ReorderHeadTransformer/supports_esm/expected_output.html
tests/spec/transformers/valid/ReorderHeadTransformer/supports_esm/expected_output.html
HTML
<|file_sep|>original/package.json "description": "watch events of a file", "version": "0.1.5", "repository": { "type": "git", "url": "https://github.com/atom/node-pathwatcher.git" }, "bugs": { "url": "https://github.com/atom/node-pathwatcher/issues" }, "scripts": { "test": "jasmine-node --...
"description": "watch events of a file", "version": "0.1.5", "repository": { "type": "git", "url": "https://github.com/atom/node-pathwatcher.git" }, "bugs": { "url": "https://github.com/atom/node-pathwatcher/issues" }, "scripts": { "prepublish": "grunt coffee", "test": "jasmine-node --...
<|file_sep|>original/package.json "description": "watch events of a file", "version": "0.1.5", "repository": { "type": "git", "url": "https://github.com/atom/node-pathwatcher.git" }, "bugs": { "url": "https://github.com/atom/node-pathwatcher/issues" }, "scripts": { "test": "jasmine-node --...
5c8879b223b51f717c9ee623c2d93a2a252a90f6
package.json
package.json
JSON
<|file_sep|>original/morenines/ignores.py import os from fnmatch import fnmatchcase import click class Ignores(object): def __init__(self, default_patterns=[]): self.patterns = default_patterns def read(cls, path): with open(path, 'r') as stream: self.patterns.extend([line.strip()...
import os from fnmatch import fnmatchcase import click class Ignores(object): def __init__(self, default_patterns=[]): self.patterns = default_patterns def read(self, path): with open(path, 'r') as stream: self.patterns.extend([line.strip() for line in stream]) def match(...
<|file_sep|>original/morenines/ignores.py import os from fnmatch import fnmatchcase import click class Ignores(object): def __init__(self, default_patterns=[]): self.patterns = default_patterns def read(cls, path): with open(path, 'r') as stream: self.patterns.extend([line.strip()...
9982c25f3fade2cd411277f92761b8c560d36b61
morenines/ignores.py
morenines/ignores.py
Python
<|file_sep|>original/frontend/app/controllers/application_controller.rb end def signed_in? !!current_user end helper_method :current_user, :signed_in? def current_user=(user) @current_user = user session[:user_id] = user.uid end private def paginate_by_set(printings, page) printings...
end def signed_in? !!current_user end helper_method :current_user, :signed_in? def current_user=(user) @current_user = user if user.nil? session.delete(:user_id) else session[:user_id] = user.uid end end private def paginate_by_set(printings, page) printings
<|file_sep|>original/frontend/app/controllers/application_controller.rb end def signed_in? !!current_user end helper_method :current_user, :signed_in? def current_user=(user) @current_user = user session[:user_id] = user.uid end private def paginate_by_set(printings, page) printings...
f47fc5552678e0abf3b9182e247876dd691133cb
frontend/app/controllers/application_controller.rb
frontend/app/controllers/application_controller.rb
Ruby
<|file_sep|>original/tests/scripts/dash-m3u8-byterange.sh <|file_sep|>current/tests/scripts/dash-m3u8-byterange.sh <|file_sep|>updated/tests/scripts/dash-m3u8-byterange.sh
#!/bin/sh test_begin "dash-m3u8-byterange" do_test "$MP4BOX -add $EXTERNAL_MEDIA_DIR/counter/counter_30s_I25_baseline_1280x720_512kbps.264 -add $EXTERNAL_MEDIA_DIR/counter/counter_30s_audio.aac -new $TEMP_DIR/file.mp4" "input-preparation" do_hash_test "$TEMP_DIR/file.mp4" "input-preparation" do_test "$MP4BOX -dash-s...
<|file_sep|>original/tests/scripts/dash-m3u8-byterange.sh <|file_sep|>current/tests/scripts/dash-m3u8-byterange.sh <|file_sep|>updated/tests/scripts/dash-m3u8-byterange.sh #!/bin/sh test_begin "dash-m3u8-byterange" do_test "$MP4BOX -add $EXTERNAL_MEDIA_DIR/counter/counter_30s_I25_baseline_1280x720_512kbps.264 -add ...
6e52854e5f49ef15b183f3defe6aba8fbe1ea1b6
tests/scripts/dash-m3u8-byterange.sh
tests/scripts/dash-m3u8-byterange.sh
Shell
<|file_sep|>original/README.md vdash ===== Rootstrikers volunteer dashboard <|file_sep|>current/README.md vdash ===== Rootstrikers volunteer dashboard <|file_sep|>updated/README.md
vdash ===== Rootstrikers volunteer dashboard Local Setup ============= Install Postgres, start psqld createuser -s vdash rake db:create db:migrate db:test:prepare To run tests: autotest
<|file_sep|>original/README.md vdash ===== Rootstrikers volunteer dashboard <|file_sep|>current/README.md vdash ===== Rootstrikers volunteer dashboard <|file_sep|>updated/README.md vdash ===== Rootstrikers volunteer dashboard Local Setup ============= Install Postgres, start psqld createuser -s vdash rake db:creat...
4e168832605ed9dcc355c242bd7969c1cead37f1
README.md
README.md
Markdown
<|file_sep|>original/setup.cfg [metadata] description-file = README.rst [bdist_wheel] universal=1 [tool:pytest] pep8ignore = E121 E126 E127 E501 pytac/__init__.py E402 docs/conf.py ALL flakes-ignore = pytac/__init__.py UnusedImport docs/conf.py ALL <|file_sep|>current/setup.cfg [metadata] descri...
[metadata] description-file = README.rst [bdist_wheel] universal=1 [tool:pytest] pep8ignore = E121 E126 E127 E128 E501 pytac/__init__.py E402 docs/conf.py ALL flakes-ignore = pytac/__init__.py UnusedImport docs/conf.py ALL
<|file_sep|>original/setup.cfg [metadata] description-file = README.rst [bdist_wheel] universal=1 [tool:pytest] pep8ignore = E121 E126 E127 E501 pytac/__init__.py E402 docs/conf.py ALL flakes-ignore = pytac/__init__.py UnusedImport docs/conf.py ALL <|file_sep|>current/setup.cfg [metadata] descri...
a32715725a4c498f1f17871f5fc5f9e202fc0850
setup.cfg
setup.cfg
INI
<|file_sep|>original/synapse/tests/test_config.py ('fooval',{'type':'int','doc':'what is foo val?','defval':99}), ('enabled',{'type':'bool','doc':'is thing enabled?','defval':0}), ) data = {} def callback(v): data['woot'] = v with s_config.Config(def...
('fooval',{'type':'int','doc':'what is foo val?','defval':99}), ('enabled',{'type':'bool','doc':'is thing enabled?','defval':0}), ) data = {} def callback(v): data['woot'] = v with s_config.Config(defs=defs) as conf: self.eq(conf.getConf...
<|file_sep|>original/synapse/tests/test_config.py ('fooval',{'type':'int','doc':'what is foo val?','defval':99}), ('enabled',{'type':'bool','doc':'is thing enabled?','defval':0}), ) data = {} def callback(v): data['woot'] = v with s_config.Config(def...
dbb223d64d1058e34c35867dcca2665766d0edbf
synapse/tests/test_config.py
synapse/tests/test_config.py
Python
<|file_sep|>README.rst.diff original: The default behaviour can be prevented and overridden entirely. updated: Keys can be observed with no side effects, or have their default behaviours overridden entirely. <|file_sep|>README.rst.diff original: Supported keys are: updated: Installation ------------ To install osxmmke...
tap.on('play_pause', handler) tap.start() try: while True: time.sleep(1) except (KeyboardInterrupt, SystemExit): tap.stop() Supported key names: - ``play_pause`` - ``next_track`` - ``prev_track`` - ``mute`` - ``volume_down`` - ``volume_up`` - ``backlight_down`` - ``backlig...
<|file_sep|>README.rst.diff original: The default behaviour can be prevented and overridden entirely. updated: Keys can be observed with no side effects, or have their default behaviours overridden entirely. <|file_sep|>README.rst.diff original: Supported keys are: updated: Installation ------------ To install osxmmke...
dac6ee5150b0b303eeb241a922c98d8100a2658a
README.rst
README.rst
reStructuredText
<|file_sep|>app/views/dashboard/index.html.erb.diff original: other_hosts_p = "<p>Please also visit #{other_hosts.map{|host| updated: other_hosts_p = "<p>Please also visit - #{other_hosts.map{|host| <|file_sep|>original/app/views/dashboard/index.html.erb function(lag){$("#ping_result_lag_ms").val(lag);} ...
function(lag){$("#ping_result_lag_ms").val(lag);} )}); <% end %> <% other_hosts = apps_hosts if other_hosts.empty? other_hosts_p = "" else other_hosts_p = "<p>Please also visit - #{other_hosts.map{|host| link_to(host, request.protocol + host) }.join(" ")}.</p>" end %> <h1>Ping Cloud...
<|file_sep|>app/views/dashboard/index.html.erb.diff original: other_hosts_p = "<p>Please also visit #{other_hosts.map{|host| updated: other_hosts_p = "<p>Please also visit - #{other_hosts.map{|host| <|file_sep|>original/app/views/dashboard/index.html.erb function(lag){$("#ping_result_lag_ms").val(lag);} ...
483bea648a07df61c95411744c53db1c560abc9d
app/views/dashboard/index.html.erb
app/views/dashboard/index.html.erb
HTML+ERB
<|file_sep|>original/src/VividStore/Utilities/ProductFinder.php if (!$u->isLoggedIn()) { echo "Access Denied"; exit; } if(!$_POST['query']){ echo "Access Denied"; exit; } else { $query = $_POST['query']; $db = Database::...
if (!$u->isLoggedIn()) { echo "Access Denied"; exit; } if(!$_POST['query']){ echo "Access Denied"; exit; } else { $query = $_POST['query']; $db = Database::get(); $results = $db->query('SELECT * FROM VividSto...
<|file_sep|>original/src/VividStore/Utilities/ProductFinder.php if (!$u->isLoggedIn()) { echo "Access Denied"; exit; } if(!$_POST['query']){ echo "Access Denied"; exit; } else { $query = $_POST['query']; $db = Database::...
98dbfb998c21252d93b565e955c4294ab3190a10
src/VividStore/Utilities/ProductFinder.php
src/VividStore/Utilities/ProductFinder.php
PHP
<|file_sep|>original/addon/classes/row.js import Ember from 'ember'; const { assign } = Ember; /** * @class Row * @extends Ember.ObjectProxy * @namespace SemanticUI */ const Row = Ember.ObjectProxy.extend({ /** * Whether the row is currently selected. * * @property selected * @type Boolean * @def...
import Ember from 'ember'; const assign = Ember.assign || Ember.merge; /** * @class Row * @extends Ember.ObjectProxy * @namespace SemanticUI */ const Row = Ember.ObjectProxy.extend({ /** * Whether the row is currently selected. * * @property selected * @type Boolean * @default false * @public ...
<|file_sep|>original/addon/classes/row.js import Ember from 'ember'; const { assign } = Ember; /** * @class Row * @extends Ember.ObjectProxy * @namespace SemanticUI */ const Row = Ember.ObjectProxy.extend({ /** * Whether the row is currently selected. * * @property selected * @type Boolean * @def...
883be7f817efe9835dc039ed67946d8fa7069ac0
addon/classes/row.js
addon/classes/row.js
JavaScript
<|file_sep|>original/irrigator_pro/notifications/models.py ### NotificationsRule ### ### Connect notification info with a Field, CropSeason ######################################################## class NotificationsRule(Comment, Audit): # from Comment: comment # from Audit: cdate, cuser, mdate, muser NO...
### NotificationsRule ### ### Connect notification info with a Field, CropSeason ######################################################## class NotificationsRule(Comment, Audit): # from Comment: comment # from Audit: cdate, cuser, mdate, muser NOTIFICATION_TYPE_VALUES = ['Email', 'SMS'] LEVEL_CHOI...
<|file_sep|>original/irrigator_pro/notifications/models.py ### NotificationsRule ### ### Connect notification info with a Field, CropSeason ######################################################## class NotificationsRule(Comment, Audit): # from Comment: comment # from Audit: cdate, cuser, mdate, muser NO...
6a5ffc12a16c0795716d1a316f051541e674fd75
irrigator_pro/notifications/models.py
irrigator_pro/notifications/models.py
Python
<|file_sep|>original/pull_request_template.md Each PR must conform to [Developer's Guide](http://gettaurus.org/docs/DeveloperGuide/#Rules-for-Contributing). Quick checklist: - [ ] Description of PR explains the context of change - [ ] Unit tests cover the change, no broken tests - [ ] No static analysis warnings (Coda...
Each PR must conform to [Developer's Guide](http://gettaurus.org/docs/DeveloperGuide/#Rules-for-Contributing). Quick checklist: - [ ] Description of PR explains the context of change - [ ] Unit tests cover the change, no broken tests - [ ] No static analysis warnings (Codacy etc.) - [ ] Documentation update ('availabl...
<|file_sep|>original/pull_request_template.md Each PR must conform to [Developer's Guide](http://gettaurus.org/docs/DeveloperGuide/#Rules-for-Contributing). Quick checklist: - [ ] Description of PR explains the context of change - [ ] Unit tests cover the change, no broken tests - [ ] No static analysis warnings (Coda...
9a040669480091a61c5af29a1e0c08815e36e22a
pull_request_template.md
pull_request_template.md
Markdown
<|file_sep|>original/ipython/profile_default/startup/00-imports.py import inspect pyprint = print mores = [] try: from rich.console import Console console = Console(color_system="standard") print = console.print mores += ["rich"] except ImportError: pass try: from importlib import reload exce...
import inspect pyprint = print mores = [] try: from rich.console import Console console = Console(color_system="standard") print = console.print mores += ["rich"] from rich import pretty pretty.install() except ImportError: pass try: from importlib import reload except ImportError: ...
<|file_sep|>original/ipython/profile_default/startup/00-imports.py import inspect pyprint = print mores = [] try: from rich.console import Console console = Console(color_system="standard") print = console.print mores += ["rich"] except ImportError: pass try: from importlib import reload exce...
c00a55b8337dbc354921c195dfa4becc7ee1346a
ipython/profile_default/startup/00-imports.py
ipython/profile_default/startup/00-imports.py
Python
<|file_sep|>LICENSE.txt.diff original: Copyright (C) 2011 by RemObjects Software updated: Copyright (c) 2011, RemObjects Software All rights reserved. <|file_sep|>LICENSE.txt.diff original: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form mus...
<|file_sep|>LICENSE.txt.diff original: Copyright (C) 2011 by RemObjects Software updated: Copyright (c) 2011, RemObjects Software All rights reserved. <|file_sep|>LICENSE.txt.diff original: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
4f7f8e8a1861e46564cc05f260e0e2f0bcc58d89
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>original/src/Plugin/RpcHandler/RpcSpecTrait.php */ trait RpcSpecTrait { private $name; private $sync; private $pluginPath; /** * @inheritDoc */ public function getName() : string { return $this->name; } /** * @inheritDoc */ public function g...
*/ trait RpcSpecTrait { private $name; private $sync; private $pluginPath; /** * @inheritDoc */ abstract public function getType() : string; /** * @inheritDoc */ public function getName() : string { return $this->name; } /**
<|file_sep|>original/src/Plugin/RpcHandler/RpcSpecTrait.php */ trait RpcSpecTrait { private $name; private $sync; private $pluginPath; /** * @inheritDoc */ public function getName() : string { return $this->name; } /** * @inheritDoc */ public function g...
e4b6aee270d9504b07f34bbc598cfc897b591774
src/Plugin/RpcHandler/RpcSpecTrait.php
src/Plugin/RpcHandler/RpcSpecTrait.php
PHP
<|file_sep|>original/events/templates/events/time_table.html <h2>{{ self.caption }}</h2> {% for day, events in grouped_events %} <h4>{{ day|date:"j E Y" }}</h4> <dl class="dl-horizontal"> {% for event in events %} <dt>{{ event.starts_at|date:"H:i" }}</dt> <dd> {%...
<h2>{{ self.caption }}</h2> {% for day, events in grouped_events %} <h4>{{ day|date:"j E Y" }}</h4> <dl class="dl-horizontal"> {% for event in events %} <dt>{{ event.starts_at|date:"H:i" }}</dt> <dd> {% if event.program.live %} <a href="{{ request.schem...
<|file_sep|>original/events/templates/events/time_table.html <h2>{{ self.caption }}</h2> {% for day, events in grouped_events %} <h4>{{ day|date:"j E Y" }}</h4> <dl class="dl-horizontal"> {% for event in events %} <dt>{{ event.starts_at|date:"H:i" }}</dt> <dd> {%...
c9230bfaf56a2ab9419ab71b204483f10e958b31
events/templates/events/time_table.html
events/templates/events/time_table.html
HTML
<|file_sep|>original/README.md source-code-watermark ===================== Utility to add release number to source code files <|file_sep|>current/README.md source-code-watermark ===================== Utility to add release number to source code files <|file_sep|>updated/README.md
source-code-watermark ===================== Utility to add release number to source code files. Supported comment symbols and file extensions are contained inside `src/CommentSymbols.txt`. Files are processed using the [Parallel Loop pattern link](http://msdn.microsoft.com/en-us/library/ff963552.aspx).
<|file_sep|>original/README.md source-code-watermark ===================== Utility to add release number to source code files <|file_sep|>current/README.md source-code-watermark ===================== Utility to add release number to source code files <|file_sep|>updated/README.md source-code-watermark ===============...
2d14befa273b08dc78470f2804cc37727f07b987
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml addons: postgresql: 10 script: bundle exec rake test before_install: - createdb searchkick_test || true - ./test/ci/install_elasticsearch.sh cache: directories: - $HOME/elasticsearch env: - ELASTICSEARCH_VERSION=7.9.0 jdk: openjdk11 jobs: include: - rvm: 2.7 ge...
addons: postgresql: 10 script: bundle exec rake test before_install: - createdb searchkick_test || true - ./test/ci/install_elasticsearch.sh cache: directories: - $HOME/elasticsearch env: - ELASTICSEARCH_VERSION=7.9.1 jdk: openjdk11 jobs: include: - rvm: 2.7 gemfile: Gemfile - rvm: 2.6 ...
<|file_sep|>original/.travis.yml addons: postgresql: 10 script: bundle exec rake test before_install: - createdb searchkick_test || true - ./test/ci/install_elasticsearch.sh cache: directories: - $HOME/elasticsearch env: - ELASTICSEARCH_VERSION=7.9.0 jdk: openjdk11 jobs: include: - rvm: 2.7 ge...
e97325a0dc380e0b7d83851745fc12d1eb881477
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md <!-- How did you expect Typedoc to work? --> ## Actual Behavior <!-- What does Typedoc fail to do? --> ## Steps to reproduce the bug <!-- If possible, please create a *minimal* repo reproducing your problem and link it. If this is not possible, include at l...
<!-- How did you expect Typedoc to work? --> ## Actual Behavior <!-- What does Typedoc fail to do? --> ## Steps to reproduce the bug <!-- If possible, please create a *minimal* repo reproducing your problem and link it. You can easily do this by submitting a pull request to https://github.com/TypeStrong/typedoc-rep...
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md <!-- How did you expect Typedoc to work? --> ## Actual Behavior <!-- What does Typedoc fail to do? --> ## Steps to reproduce the bug <!-- If possible, please create a *minimal* repo reproducing your problem and link it. If this is not possible, include at l...
4367d51ed7764c995b69cd73c64bafab20228f9d
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/bug_report.md
Markdown
<|file_sep|>original/tools/Jupyter/README.md C++ Kernel for Jupyter with Cling. Requires ipykernel ≥ 4.0 ## Install To install the kernel with sources in src/tools/cling: export PATH=/cling-install-prefix/bin:$PATH cd /cling-install-prefix/tools/Jupyter/kernel pip install -e . # or: pip3 install -...
C++ Kernel for Jupyter with Cling. Requires ipykernel ≥ 4.0 ## Install To install the kernel with sources in src/tools/cling: export PATH=/cling-install-prefix/bin:$PATH cd /cling-install-prefix/share/cling/Jupyter/kernel pip install -e . # or: pip3 install -e . # register the kernelspec for ...
<|file_sep|>original/tools/Jupyter/README.md C++ Kernel for Jupyter with Cling. Requires ipykernel ≥ 4.0 ## Install To install the kernel with sources in src/tools/cling: export PATH=/cling-install-prefix/bin:$PATH cd /cling-install-prefix/tools/Jupyter/kernel pip install -e . # or: pip3 install -...
a2cc4528e688f75664626bd92b6e0c283172ac3c
tools/Jupyter/README.md
tools/Jupyter/README.md
Markdown
<|file_sep|>original/global.json { "projects": [ "src", "test" ], "sdk": { "version": "" } } <|file_sep|>current/global.json { "projects": [ "src", "test" ], "sdk": { "version": "" } } <|file_sep|>updated/global.json
{ "projects": [ "src", "test" ], "sdk": {"version": "1.0.0-preview2-003131"} }
<|file_sep|>original/global.json { "projects": [ "src", "test" ], "sdk": { "version": "" } } <|file_sep|>current/global.json { "projects": [ "src", "test" ], "sdk": { "version": "" } } <|file_sep|>updated/global.json { "projects": [ "src", "test" ], "sdk": {"version": "1.0.0-preview2-003131"}...
61a3becac71cabcf9e93a16f9f0df69fee871ac1
global.json
global.json
JSON
<|file_sep|>original/lib/Resmon/Module/NEWFILES.pm # } my $minutes; my $newcount = 0; sub handler { my $arg = shift; my $dir = $arg->{'object'}; $minutes = $arg->{'minutes'}; my $filecount = $arg->{'filecount'} || 1; # Then look for new files find(\&wanted, $dir); if ($newcount >= $fileco...
# } my $minutes; my $newcount = 0; sub handler { my $arg = shift; my $dir = $arg->{'object'}; $minutes = $arg->{'minutes'}; my $filecount = $arg->{'filecount'} || 1; $newcount = 0; # Then look for new files find(\&wanted, $dir); if ($newcount >= $filecount) { return "OK", "$ne...
<|file_sep|>original/lib/Resmon/Module/NEWFILES.pm # } my $minutes; my $newcount = 0; sub handler { my $arg = shift; my $dir = $arg->{'object'}; $minutes = $arg->{'minutes'}; my $filecount = $arg->{'filecount'} || 1; # Then look for new files find(\&wanted, $dir); if ($newcount >= $fileco...
cf07ed3d4457f4a49ed46b0a1e0185c9dd502ca9
lib/Resmon/Module/NEWFILES.pm
lib/Resmon/Module/NEWFILES.pm
Perl
<|file_sep|>original/app/views/examples/blank-page.html {{<govuk_template}} {{$head}} {{>includes/head}} {{/head}} {{$propositionHeader}} {{>includes/propositional_navigation}} {{/propositionHeader}} {{$headerClass}}with-proposition{{/headerClass}} {{$content}} <p>Default page</p> {{/content}} {{/govuk_templat...
{{<govuk_template}} {{$head}} {{>includes/head}} {{/head}} {{$propositionHeader}} {{>includes/propositional_navigation}} {{/propositionHeader}} {{$headerClass}}with-proposition{{/headerClass}} {{$content}} <main id="page-container" role="main"> <p>Default page</p> </main> {{/content}} {{/govuk_template}}
<|file_sep|>original/app/views/examples/blank-page.html {{<govuk_template}} {{$head}} {{>includes/head}} {{/head}} {{$propositionHeader}} {{>includes/propositional_navigation}} {{/propositionHeader}} {{$headerClass}}with-proposition{{/headerClass}} {{$content}} <p>Default page</p> {{/content}} {{/govuk_templat...
cd798922e31743efc6a3803aeba8ee3d0356a9f2
app/views/examples/blank-page.html
app/views/examples/blank-page.html
HTML
<|file_sep|>original/tests/test_run_all_doctests.py <|file_sep|>current/tests/test_run_all_doctests.py <|file_sep|>updated/tests/test_run_all_doctests.py
# -*- coding: utf-8 -*- # # Copyright (c) 2007-2013 Parisson SARL # This file is part of TimeSide. # TimeSide is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your op...
<|file_sep|>original/tests/test_run_all_doctests.py <|file_sep|>current/tests/test_run_all_doctests.py <|file_sep|>updated/tests/test_run_all_doctests.py # -*- coding: utf-8 -*- # # Copyright (c) 2007-2013 Parisson SARL # This file is part of TimeSide. # TimeSide is free software: you can redistribute it and/or mod...
fb123e3751bd0736fbc44098ff435199ece3b849
tests/test_run_all_doctests.py
tests/test_run_all_doctests.py
Python
<|file_sep|>app/controllers/projects/prometheus_controller.rb.diff original: updated: before_action :require_prometheus_metrics! <|file_sep|>app/controllers/projects/prometheus_controller.rb.diff original: return render_404 unless has_prometheus_metrics? updated: <|file_sep|>app/controllers/projects/prometheus_...
if matched_metrics render json: matched_metrics, status: :ok else head :no_content end end private def prometheus_service project.monitoring_service end def has_prometheus_metrics? prometheus_service&.respond_to?(:reactive_query) end def require_prometheus_metrics! ...
<|file_sep|>app/controllers/projects/prometheus_controller.rb.diff original: updated: before_action :require_prometheus_metrics! <|file_sep|>app/controllers/projects/prometheus_controller.rb.diff original: return render_404 unless has_prometheus_metrics? updated: <|file_sep|>app/controllers/projects/prometheus_...
4d8f3978a254f33d959de65dbf7b20a1d41a058d
app/controllers/projects/prometheus_controller.rb
app/controllers/projects/prometheus_controller.rb
Ruby
<|file_sep|>src/components/PVLink/PVLink.tsx.diff original: updated: import { useRouter } from 'next/router' <|file_sep|>src/components/PVLink/PVLink.tsx.diff original: updated: const router = useRouter() <|file_sep|>src/components/PVLink/PVLink.tsx.diff original: updated: /* If already on the same page, forc...
export const PVLink = ({ children, className, href, onClick }: Props) => { const router = useRouter() const linkClassName = classnames(className ? className : '') /* If already on the same page, force the page to reload with onClick + router.replace */ let isCurrentPage = href === router.pathname let fina...
<|file_sep|>src/components/PVLink/PVLink.tsx.diff original: updated: import { useRouter } from 'next/router' <|file_sep|>src/components/PVLink/PVLink.tsx.diff original: updated: const router = useRouter() <|file_sep|>src/components/PVLink/PVLink.tsx.diff original: updated: /* If already on the same page, forc...
d9aed8b1f193e2b51308745778af5b5c619e4c51
src/components/PVLink/PVLink.tsx
src/components/PVLink/PVLink.tsx
TypeScript
<|file_sep|>stream_django/templatetags/activity_tags.py.diff original: from django.template import Context, loader updated: from django.template import loader <|file_sep|>original/stream_django/templatetags/activity_tags.py def render_activity(context, activity, template_prefix='', missing_data_policy=LOG): if has...
def render_activity(context, activity, template_prefix='', missing_data_policy=LOG): if hasattr(activity, 'enriched') and not activity.enriched: handle_not_enriched_data(activity, missing_data_policy) return '' if template_prefix != '': template_prefix = '%s_' % template_prefix i...
<|file_sep|>stream_django/templatetags/activity_tags.py.diff original: from django.template import Context, loader updated: from django.template import loader <|file_sep|>original/stream_django/templatetags/activity_tags.py def render_activity(context, activity, template_prefix='', missing_data_policy=LOG): if has...
8c819a1cb9df54c00b7246a07e2ba832b763876d
stream_django/templatetags/activity_tags.py
stream_django/templatetags/activity_tags.py
Python
<|file_sep|>original/app/Callback.php <?php namespace App; use Illuminate\Database\Eloquent\Model; class Callback extends Model { /** * Callback -> customers relation. * * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany */ public function customers() { return $th...
{ /** * Callback -> customers relation. * * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany */ public function customers() { return $this->belongsToMany('App\Customer'); } /** * Callback -> Departments relation. * * @return \Illuminate\Databa...
<|file_sep|>original/app/Callback.php <?php namespace App; use Illuminate\Database\Eloquent\Model; class Callback extends Model { /** * Callback -> customers relation. * * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany */ public function customers() { return $th...
52c86af791290d992317a73c8773505585a18e89
app/Callback.php
app/Callback.php
PHP