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/metadata/com.markuspage.android.atimetracker.txt Build:0.17,17 commit=v0.17 subdir=android-timetracker Build:0.19,19 commit=v0.19 subdir=android-timetracker Build:0.20,20 commit=v0.20 subdir=android-timetracker Build:0.21,21 commit=v0.21 subdir=android-timetracke...
Build:0.17,17 commit=v0.17 subdir=android-timetracker Build:0.19,19 commit=v0.19 subdir=android-timetracker Build:0.20,20 commit=v0.20 subdir=android-timetracker Build:0.21,21 commit=v0.21 subdir=android-timetracker Auto Update Mode:None Update Check Mode:Tags Current Version:0.23 C...
<|file_sep|>original/metadata/com.markuspage.android.atimetracker.txt Build:0.17,17 commit=v0.17 subdir=android-timetracker Build:0.19,19 commit=v0.19 subdir=android-timetracker Build:0.20,20 commit=v0.20 subdir=android-timetracker Build:0.21,21 commit=v0.21 subdir=android-timetracke...
51f7dbf69808abc1228545838d93927c2334cd9c
metadata/com.markuspage.android.atimetracker.txt
metadata/com.markuspage.android.atimetracker.txt
Text
<|file_sep|>original/app/jobs/promo/email_breakdowns_job.rb sidekiq_options queue: :default, retry: true def perform(publisher_id) referral_codes = PromoRegistration.where(publisher_id: publisher_id).pluck(:referral_code) csv = CSV.parse(Promo::RegistrationStatsReportGenerator.new( referral_codes: re...
def perform(publisher_id) referral_codes = PromoRegistration.where(publisher_id: publisher_id).pluck(:referral_code) csv = CSV.parse(Promo::RegistrationStatsReportGenerator.new( referral_codes: referral_codes, start_date: 1.days.ago.to_date, end_date: 1.days.ago.to_date, reporting_int...
<|file_sep|>original/app/jobs/promo/email_breakdowns_job.rb sidekiq_options queue: :default, retry: true def perform(publisher_id) referral_codes = PromoRegistration.where(publisher_id: publisher_id).pluck(:referral_code) csv = CSV.parse(Promo::RegistrationStatsReportGenerator.new( referral_codes: re...
1466757beef5edc48b641df09640a39ff4c670b3
app/jobs/promo/email_breakdowns_job.rb
app/jobs/promo/email_breakdowns_job.rb
Ruby
<|file_sep|>templates/zerver/help/verify-that-your-message-has-been-successfully-sent.md.diff original: 1. Send a message by following the instructions located [here](/help/send-a-stream-message) for public streams or [here](/help/send-a-private-message) for private messages. updated: When you send a message in a chat ...
1. Disconnect your computer from the Internet. 2. Send a message by following the instructions located [here](/help/send-a-stream-message) for public streams or [here](/help/send-a-private-message) for private messages. 3. After you send your message, it will appear below all the previous messages, but with no timest...
<|file_sep|>templates/zerver/help/verify-that-your-message-has-been-successfully-sent.md.diff original: 1. Send a message by following the instructions located [here](/help/send-a-stream-message) for public streams or [here](/help/send-a-private-message) for private messages. updated: When you send a message in a chat ...
a6ba6432eb592355b4b10d9cf2963953b19a2030
templates/zerver/help/verify-that-your-message-has-been-successfully-sent.md
templates/zerver/help/verify-that-your-message-has-been-successfully-sent.md
Markdown
<|file_sep|>original/src/modules/it/test/java/it/ModuleSystemTests.java <|file_sep|>current/src/modules/it/test/java/it/ModuleSystemTests.java <|file_sep|>updated/src/modules/it/test/java/it/ModuleSystemTests.java
/* * Bach - Java Shell Builder * Copyright (C) 2019 Christian Stein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
<|file_sep|>original/src/modules/it/test/java/it/ModuleSystemTests.java <|file_sep|>current/src/modules/it/test/java/it/ModuleSystemTests.java <|file_sep|>updated/src/modules/it/test/java/it/ModuleSystemTests.java /* * Bach - Java Shell Builder * Copyright (C) 2019 Christian Stein * * Licensed under the Apache Li...
f369c3c1d5115c30055e51205f9d550e55279846
src/modules/it/test/java/it/ModuleSystemTests.java
src/modules/it/test/java/it/ModuleSystemTests.java
Java
<|file_sep|>include/swift/Basic/Algorithm.h.diff original: constexpr const T& min(const T &a, const T &b) { updated: constexpr const T &min(const T &a, const T &b) { <|file_sep|>original/include/swift/Basic/Algorithm.h // //===----------------------------------------------------------------------===// #ifndef SWIF...
// //===----------------------------------------------------------------------===// #ifndef SWIFT_BASIC_ALGORITHM_H #define SWIFT_BASIC_ALGORITHM_H namespace swift { /// Returns the minimum of `a` and `b`, or `a` if they are equivalent. template <typename T> constexpr const T &min(const T &a, const T &b) { ...
<|file_sep|>include/swift/Basic/Algorithm.h.diff original: constexpr const T& min(const T &a, const T &b) { updated: constexpr const T &min(const T &a, const T &b) { <|file_sep|>original/include/swift/Basic/Algorithm.h // //===----------------------------------------------------------------------===// #ifndef SWIF...
0c84db950784ba4dd56f92220419490faff1f915
include/swift/Basic/Algorithm.h
include/swift/Basic/Algorithm.h
C
<|file_sep|>original/tox.ini [tox] # Test with the version in Debian Stable and the latest Python version envlist = py37,py38 recreate = True [testenv] commands = pytest --cov=src --cov-report=term --cov-report=html:{envlogdir}/htmlcov --basetemp={envtmpdir} {posargs} tests deps = pytest pytest-cov psyco...
[tox] # Test with the version in Debian Stable and the latest Python version envlist = py39,py310 recreate = True [testenv] commands = pytest --cov=src --cov-report=term --cov-report=html:{envlogdir}/htmlcov --basetemp={envtmpdir} {posargs} tests deps = pytest pytest-cov psycopg2-binary # Yep, this rea...
<|file_sep|>original/tox.ini [tox] # Test with the version in Debian Stable and the latest Python version envlist = py37,py38 recreate = True [testenv] commands = pytest --cov=src --cov-report=term --cov-report=html:{envlogdir}/htmlcov --basetemp={envtmpdir} {posargs} tests deps = pytest pytest-cov psyco...
6a930e05796189590563c2c0d1f19de5c52d84ec
tox.ini
tox.ini
INI
<|file_sep|>recipes/xlrd/meta.yaml.diff original: {% set version = "1.0.0" %} updated: {% set version = "1.1.0" %} <|file_sep|>recipes/xlrd/meta.yaml.diff original: {% set sha256 = "0ff87dd5d50425084f7219cb6f86bb3eb5aa29063f53d50bf270ed007e941069" %} updated: {% set sha256 = "8a21885513e6d915fe33a8ee5fdfa675433b61405ba...
source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} patches: # patch required to add the license at the top level - patch build: number: 0 noarch: python script: python setup.py install --singl...
<|file_sep|>recipes/xlrd/meta.yaml.diff original: {% set version = "1.0.0" %} updated: {% set version = "1.1.0" %} <|file_sep|>recipes/xlrd/meta.yaml.diff original: {% set sha256 = "0ff87dd5d50425084f7219cb6f86bb3eb5aa29063f53d50bf270ed007e941069" %} updated: {% set sha256 = "8a21885513e6d915fe33a8ee5fdfa675433b61405ba...
317ba1f635746324946dc7b13864dd693f5dce5e
recipes/xlrd/meta.yaml
recipes/xlrd/meta.yaml
YAML
<|file_sep|>original/default.nix mkDerivation rec { pname = "Tides"; version = "0.1.0.0"; src = ./.; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base ]; executableHaskellDepends = [ base HSH random time time-locale-compat tz QuickCheck ]; executableSystemDepends = ...
mkDerivation rec { pname = "Tides"; version = "0.1.0.0"; src = ./.; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base ]; executableHaskellDepends = [ base HSH random time time-locale-compat tz QuickCheck ]; executableSystemDepends = [ tcd ]; testHaskellDepends =...
<|file_sep|>original/default.nix mkDerivation rec { pname = "Tides"; version = "0.1.0.0"; src = ./.; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base ]; executableHaskellDepends = [ base HSH random time time-locale-compat tz QuickCheck ]; executableSystemDepends = ...
934e1802693f9f3ddea6387e335a9e1e71576f99
default.nix
default.nix
Nix
<|file_sep|>packages/core/src/store.ts.diff original: updated: import { ValidationState } from './reducers/validation'; <|file_sep|>original/packages/core/src/store.ts export interface JsonFormsStore extends Store<any> { } export interface JsonFormsState { jsonforms: { common: { data: any; schema?: J...
export interface JsonFormsStore extends Store<any> { } export interface JsonFormsState { jsonforms: { common: { data: any; schema?: JsonSchema; uischema?: UISchemaElement; }; validation?: ValidationState, renderers?: any[]; fields?: any[]; // allow additional state for JSONF...
<|file_sep|>packages/core/src/store.ts.diff original: updated: import { ValidationState } from './reducers/validation'; <|file_sep|>original/packages/core/src/store.ts export interface JsonFormsStore extends Store<any> { } export interface JsonFormsState { jsonforms: { common: { data: any; schema?: J...
9c3e2db094d06ddc4a7dc3c8a9de899140e4ff7d
packages/core/src/store.ts
packages/core/src/store.ts
TypeScript
<|file_sep|>original/.github/workflows/main.yml strategy: matrix: arch: [i686, x86_64] fail-fast: false env: ARCH: ${{ matrix.arch }} steps: - uses: actions/checkout@v2 - name: Install toolchain dependencies run: sudo apt-get -qy install bison flex libgmp-dev l...
strategy: matrix: arch: [i686, x86_64] fail-fast: false env: ARCH: ${{ matrix.arch }} steps: - uses: actions/checkout@v2 - name: Install toolchain dependencies run: sudo apt-get -qy install bison flex libgmp-dev libmpfr-dev libmpc-dev texinfo grub-pc-bin xorris...
<|file_sep|>original/.github/workflows/main.yml strategy: matrix: arch: [i686, x86_64] fail-fast: false env: ARCH: ${{ matrix.arch }} steps: - uses: actions/checkout@v2 - name: Install toolchain dependencies run: sudo apt-get -qy install bison flex libgmp-dev l...
ebc98cf436b8fa95fbac641c17a393c2bef859f5
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>original/spec/logger_spec.rb <|file_sep|>current/spec/logger_spec.rb <|file_sep|>updated/spec/logger_spec.rb
require 'spec_helper' describe Alephant::LogSystem do before(:each) do sequencer = double() queue = double() cache = double() renderer = double() Alephant::Sequencer.any_instance.stub(:initialize).and_return(sequencer) Alephant::Queue.any_instance.stub(:initialize).and_return(queue)...
<|file_sep|>original/spec/logger_spec.rb <|file_sep|>current/spec/logger_spec.rb <|file_sep|>updated/spec/logger_spec.rb require 'spec_helper' describe Alephant::LogSystem do before(:each) do sequencer = double() queue = double() cache = double() renderer = double() Alephant::Sequence...
8092a31f47c87ca1368146c1aa5366992d263554
spec/logger_spec.rb
spec/logger_spec.rb
Ruby
<|file_sep|>src/controllers.php.diff original: Symfony\Component\HttpKernel\Exception\HttpException; updated: Symfony\Component\HttpKernel\Exception\HttpException, Symfony\Component\HttpKernel\HttpKernelInterface; <|file_sep|>original/src/controllers.php use Symfony\Component\HttpFoundation\Request, Sy...
use Symfony\Component\HttpFoundation\Request, Symfony\Component\HttpKernel\Exception\HttpException, Symfony\Component\HttpKernel\HttpKernelInterface; $app->get('/', function () use ($app) { return $app->handle(Request::create('/_index'), HttpKernelInterface::SUB_REQUEST, false); }) ->bind('homepage') ; $...
<|file_sep|>src/controllers.php.diff original: Symfony\Component\HttpKernel\Exception\HttpException; updated: Symfony\Component\HttpKernel\Exception\HttpException, Symfony\Component\HttpKernel\HttpKernelInterface; <|file_sep|>original/src/controllers.php use Symfony\Component\HttpFoundation\Request, Sy...
8708cc23bfe80f3121eccecbe394974f04fddbb4
src/controllers.php
src/controllers.php
PHP
<|file_sep|>original/package.json { "name": "pkginfo", "version": "0.3.0", "license": "MIT", "description": "An easy way to expose properties on a module from a package.json", "author": "Charlie Robbins <charlie.robbins@gmail.com>", "repository": { "type": "git", "url": "http://github.com/indexzero/...
{ "name": "pkginfo", "version": "0.3.0", "license": "MIT", "description": "An easy way to expose properties on a module from a package.json", "author": "Charlie Robbins <charlie.robbins@gmail.com>", "repository": { "type": "git", "url": "http://github.com/indexzero/node-pkginfo.git" }, "bugs": ...
<|file_sep|>original/package.json { "name": "pkginfo", "version": "0.3.0", "license": "MIT", "description": "An easy way to expose properties on a module from a package.json", "author": "Charlie Robbins <charlie.robbins@gmail.com>", "repository": { "type": "git", "url": "http://github.com/indexzero/...
0762a11393a9302d3196622b9dfb1934e6e17fb0
package.json
package.json
JSON
<|file_sep|>gitpress/building.py.diff original: def build(directory=None, out_directory=None): updated: def build(content_directory=None, out_directory=None): <|file_sep|>gitpress/building.py.diff original: directory = directory or '.' updated: content_directory = content_directory or '.' <|file_sep|>gitpress/b...
def build(content_directory=None, out_directory=None): """Builds the site from its content and presentation repository.""" content_directory = content_directory or '.' out_directory = os.path.abspath(out_directory or default_out_directory) repo = require_repo(content_directory) # Prevent user mist...
<|file_sep|>gitpress/building.py.diff original: def build(directory=None, out_directory=None): updated: def build(content_directory=None, out_directory=None): <|file_sep|>gitpress/building.py.diff original: directory = directory or '.' updated: content_directory = content_directory or '.' <|file_sep|>gitpress/b...
ac9bde334394b05f24f1d3398662192e66328328
gitpress/building.py
gitpress/building.py
Python
<|file_sep|>original/package.json "type": "Apache-2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "repository": { "type": "git", "url": "https://github.com/Two-Screen/bogus.js.git" }, "dependencies": { "hogan.js": "1.0.5-dev" }, "devDependencies": { "tap": "0.2", "...
"type": "Apache-2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "repository": { "type": "git", "url": "https://github.com/Two-Screen/bogus.js.git" }, "dependencies": { "hogan.js": "2.0.0" }, "devDependencies": { "tap": "0.2", "backbone": ">=0.5" }, "main": "bo...
<|file_sep|>original/package.json "type": "Apache-2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "repository": { "type": "git", "url": "https://github.com/Two-Screen/bogus.js.git" }, "dependencies": { "hogan.js": "1.0.5-dev" }, "devDependencies": { "tap": "0.2", "...
e1bae3337363be70f00e88d4492977f6b3b40289
package.json
package.json
JSON
<|file_sep|>original/src/dna.css /* dna.js ~~ MIT License */ .dna-template, .dna-panels >*, [data-placeholder], .dna-hide { display: none; } .dna-menu .menu-item, [data-click], [data-href] { cursor: pointer; } [data-format-currency], [data-format-currency100], [data-format-percent], [data-format-number] { text-align: ...
/* dna.js ~~ MIT License */ .dna-template, .dna-panels >*:not(.displayed), [data-placeholder], .dna-hide { display: none; } .dna-menu .menu-item, [data-click], [data-href] { cursor: pointer; } [data-format-currency], [data-format-currency100], [data-format-percent], [data-format-number] { text-align: right; }
<|file_sep|>original/src/dna.css /* dna.js ~~ MIT License */ .dna-template, .dna-panels >*, [data-placeholder], .dna-hide { display: none; } .dna-menu .menu-item, [data-click], [data-href] { cursor: pointer; } [data-format-currency], [data-format-currency100], [data-format-percent], [data-format-number] { text-align: ...
2eed929c38fdd6519595d25f504492bc3851a82e
src/dna.css
src/dna.css
CSS
<|file_sep|>codebrag-ui/src/main/webapp/views/secured/followups/followupDetails.html.diff original: <div ng-controller="FollowupDetailsCtrl"> <div> <div class="row"> <div class="span7"> <h4 ng-bind-html-unsafe="currentCommit.commit.message"></h4> <p>{{currentCommi...
<div class="diff-container clearfix" ng-controller="FollowupDetailsCtrl"> <div class="toggle-diff-container-btn"><i class="icon-chevron-left"></i></div> <div class="authored-box"> <div class="author-box"><img src="images/avatar.png"></div> <div class="info-box"> <div class="commit-na...
<|file_sep|>codebrag-ui/src/main/webapp/views/secured/followups/followupDetails.html.diff original: <div ng-controller="FollowupDetailsCtrl"> <div> <div class="row"> <div class="span7"> <h4 ng-bind-html-unsafe="currentCommit.commit.message"></h4> <p>{{currentCommi...
02e095b6a462ffd2d73c7f484430489edb247aa7
codebrag-ui/src/main/webapp/views/secured/followups/followupDetails.html
codebrag-ui/src/main/webapp/views/secured/followups/followupDetails.html
HTML
<|file_sep|>original/tox.ini [tox] envlist = py27-flake8, {py27,py33,py34}-django{1.8}-drf{2.3,2.4,3.0,3.1} [testenv] commands = ./runtests.py --stop deps = django1.8: Django==1.8.2 drf2.3: djangorestframework==2.3.8 drf2.4: djangorestframework==2.4.5 drf3.0: djangorestframework==3.0.5 drf3...
[tox] envlist = py27-flake8, {py27,py33,py34}-django{1.8}-drf{2.3,2.4,3.0,3.1} [testenv] commands = ./runtests.py --stop deps = django1.8: Django>=1.8,<1.9 drf2.3: djangorestframework>=2.3,<2.4 drf2.4: djangorestframework>=2.4,<2.5 drf3.0: djangorestframework>=3.0,<3.1 drf3.1: djangorestfra...
<|file_sep|>original/tox.ini [tox] envlist = py27-flake8, {py27,py33,py34}-django{1.8}-drf{2.3,2.4,3.0,3.1} [testenv] commands = ./runtests.py --stop deps = django1.8: Django==1.8.2 drf2.3: djangorestframework==2.3.8 drf2.4: djangorestframework==2.4.5 drf3.0: djangorestframework==3.0.5 drf3...
923dd396edf4a44b3df3519a9e646c1cfc368c72
tox.ini
tox.ini
INI
<|file_sep|>original/test/fixtures/testScaled50PercentWithJs.html padding: 0; vertical-align: top; } div.test { float: left; width: 50px; height: 50px; } .webfont { font-size: 50px; line-height: 50px; ...
} div.test { float: left; width: 50px; height: 50px; } .webfont { font-size: 50px; line-height: 50px; } html { /* Force rendering on same line, esp. for Firefox on Linux */ width: 100px; ...
<|file_sep|>original/test/fixtures/testScaled50PercentWithJs.html padding: 0; vertical-align: top; } div.test { float: left; width: 50px; height: 50px; } .webfont { font-size: 50px; line-height: 50px; ...
fe51ae4423629bf348f19f34e3a3dd2d5f1c9d8f
test/fixtures/testScaled50PercentWithJs.html
test/fixtures/testScaled50PercentWithJs.html
HTML
<|file_sep|>init.php.diff original: $__envoyPath = $__container->writeCompiledEnvoyFile( updated: $__PackageEnvoyPath = $__container->writeCompiledEnvoyFile( <|file_sep|>init.php.diff original: include $__envoyPath; updated: include $__PackageEnvoyPath; <|file_sep|>original/init.php <?php $__current_cwd = getcwd(); ch...
<?php $__current_cwd = getcwd(); chdir(__DIR__); $__data['__current_cwd'] = $__current_cwd; $__PackageEnvoyPath = $__container->writeCompiledEnvoyFile( $__compiler, __DIR__.'/Envoy.blade.php', $__serversOnly ) ?: getcwd().'/Envoy.php'; include $__PackageEnvoyPath; @unlink($__PackageEnvoyPath); chdir($__current_c...
<|file_sep|>init.php.diff original: $__envoyPath = $__container->writeCompiledEnvoyFile( updated: $__PackageEnvoyPath = $__container->writeCompiledEnvoyFile( <|file_sep|>init.php.diff original: include $__envoyPath; updated: include $__PackageEnvoyPath; <|file_sep|>original/init.php <?php $__current_cwd = getcwd(); ch...
e70ea45a820d3a5863a146030607da1041af6f39
init.php
init.php
PHP
<|file_sep|>original/app/controllers/peoplefinder/information_requests_controller.rb module Peoplefinder class InformationRequestsController < ApplicationController before_action :set_recipient def new @information_request = InformationRequest.new( recipient: @person, message: I18n.t('p...
module Peoplefinder class InformationRequestsController < ApplicationController before_action :set_recipient def new @information_request = InformationRequest.new( recipient: @person, message: I18n.t( 'peoplefinder.controllers.information_requests.default_message', r...
<|file_sep|>original/app/controllers/peoplefinder/information_requests_controller.rb module Peoplefinder class InformationRequestsController < ApplicationController before_action :set_recipient def new @information_request = InformationRequest.new( recipient: @person, message: I18n.t('p...
399d87354afe1a94d34741e9d163d62a2cda7e2d
app/controllers/peoplefinder/information_requests_controller.rb
app/controllers/peoplefinder/information_requests_controller.rb
Ruby
<|file_sep|>original/composer.json }, "require-dev": { "mockery/mockery": "^0.9", "satooshi/php-coveralls": "^1.0", "phpunit/phpunit": "^5.0", "squizlabs/php_codesniffer": "^2.0" }, "autoload": { "psr-4": { "Mongolid\\": "src/Mongolid" }, ...
}, "require-dev": { "mockery/mockery": "^0.9", "satooshi/php-coveralls": "^1.0", "phpunit/phpunit": "^5.0", "squizlabs/php_codesniffer": "^2.0" }, "autoload": { "psr-4": { "Mongolid\\": "src/Mongolid" }, "classmap": [ "tests...
<|file_sep|>original/composer.json }, "require-dev": { "mockery/mockery": "^0.9", "satooshi/php-coveralls": "^1.0", "phpunit/phpunit": "^5.0", "squizlabs/php_codesniffer": "^2.0" }, "autoload": { "psr-4": { "Mongolid\\": "src/Mongolid" }, ...
4fdfd60c45e4c590979aa6e2da40cd076128bd46
composer.json
composer.json
JSON
<|file_sep|>src/main/resources/ca/corefacility/bioinformatics/irida/database/changesets/3.3.0/fix-workflow-id-column-type.xml.diff original: <modifyDataType tableName="workflow_named_parameters" columnName="workflow_id" newDataType="varchar(255)" /> updated: <modifyDataType tableName="workflow_named_par...
<?xml version="1.0" encoding="UTF-8"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/...
<|file_sep|>src/main/resources/ca/corefacility/bioinformatics/irida/database/changesets/3.3.0/fix-workflow-id-column-type.xml.diff original: <modifyDataType tableName="workflow_named_parameters" columnName="workflow_id" newDataType="varchar(255)" /> updated: <modifyDataType tableName="workflow_named_par...
6d914db1c122c65c5487aadaaaea0a0a48cf5c25
src/main/resources/ca/corefacility/bioinformatics/irida/database/changesets/3.3.0/fix-workflow-id-column-type.xml
src/main/resources/ca/corefacility/bioinformatics/irida/database/changesets/3.3.0/fix-workflow-id-column-type.xml
XML
<|file_sep|>original/deployments/stat89a/config/common.yaml # Professor - mahoneymw # GSIs - krinsman - theisen # UGSI - wqixuan singleuser: memory: guarantee: 512M limit: 1G image: name: gcr.io/ucb-datahub-2018/stat89a-u...
# Professor - mahoneymw # GSIs - krinsman - theisen # UGSI - wqixuan singleuser: memory: guarantee: 512M limit: 1G image: name: gcr.io/ucb-datahub-2018/stat89a-user-image storage: type: hostPath defaultUrl: ...
<|file_sep|>original/deployments/stat89a/config/common.yaml # Professor - mahoneymw # GSIs - krinsman - theisen # UGSI - wqixuan singleuser: memory: guarantee: 512M limit: 1G image: name: gcr.io/ucb-datahub-2018/stat89a-u...
61091a9bb23f58fac01cd200ee94c8ac42ee8fd6
deployments/stat89a/config/common.yaml
deployments/stat89a/config/common.yaml
YAML
<|file_sep|>build/azure-pipelines/common/computeNodeModulesCacheKey.ts.diff original: // Add `yarn.lock` files updated: // Add `package.json` and `yarn.lock` files <|file_sep|>original/build/azure-pipelines/common/computeNodeModulesCacheKey.ts const ROOT = path.join(__dirname, '../../../'); const shasum = crypto.crea...
const ROOT = path.join(__dirname, '../../../'); const shasum = crypto.createHash('sha1'); shasum.update(fs.readFileSync(path.join(ROOT, 'build/.cachesalt'))); shasum.update(fs.readFileSync(path.join(ROOT, '.yarnrc'))); shasum.update(fs.readFileSync(path.join(ROOT, 'remote/.yarnrc'))); // Add `package.json` and `yarn...
<|file_sep|>build/azure-pipelines/common/computeNodeModulesCacheKey.ts.diff original: // Add `yarn.lock` files updated: // Add `package.json` and `yarn.lock` files <|file_sep|>original/build/azure-pipelines/common/computeNodeModulesCacheKey.ts const ROOT = path.join(__dirname, '../../../'); const shasum = crypto.crea...
67d35ad418c818ad7556f2d3d35ceaf13356b06c
build/azure-pipelines/common/computeNodeModulesCacheKey.ts
build/azure-pipelines/common/computeNodeModulesCacheKey.ts
TypeScript
<|file_sep|>original/files/jquery.leanmodal2/2.3/jQuery.leanModal2.min.js <|file_sep|>current/files/jquery.leanmodal2/2.3/jQuery.leanModal2.min.js <|file_sep|>updated/files/jquery.leanmodal2/2.3/jQuery.leanModal2.min.js
// jQuery.leanModal2.min.js v2.3 - MIT Licensed by eustasy http://eustasy.org (function($){function leanModal_Close(modal_id){$('.js-target-jquery-leanmodal-overlay').fadeOut(300);$(modal_id).fadeOut(200);}$.fn.extend({leanModal:function(options){var defaults={top:100,overlayOpacity:0.5,closeButton:false,disableCloseOn...
<|file_sep|>original/files/jquery.leanmodal2/2.3/jQuery.leanModal2.min.js <|file_sep|>current/files/jquery.leanmodal2/2.3/jQuery.leanModal2.min.js <|file_sep|>updated/files/jquery.leanmodal2/2.3/jQuery.leanModal2.min.js // jQuery.leanModal2.min.js v2.3 - MIT Licensed by eustasy http://eustasy.org (function($){functio...
8a3599bf87bcb5dbf621f669f27d7c498cb37f2e
files/jquery.leanmodal2/2.3/jQuery.leanModal2.min.js
files/jquery.leanmodal2/2.3/jQuery.leanModal2.min.js
JavaScript
<|file_sep|>original/.travis.yml language: clojure lein: lein2 script: "lein2 test" jdk: - oraclejdk8 branches: only: - master - development # Handle git submodules manually git: submodules: false # Replace the authenticated SSH URL with the public URL, then initialize submodules before_install: - s...
sudo: false language: clojure lein: lein2 script: "lein2 test" jdk: - oraclejdk8 branches: only: - master - development # Handle git submodules manually git: submodules: false # Replace the authenticated SSH URL with the public URL, then initialize submodules before_install: - sed -i 's/git@github.c...
<|file_sep|>original/.travis.yml language: clojure lein: lein2 script: "lein2 test" jdk: - oraclejdk8 branches: only: - master - development # Handle git submodules manually git: submodules: false # Replace the authenticated SSH URL with the public URL, then initialize submodules before_install: - s...
2f98c5c01490b0e7f1b75ae4d3d9451fac272e10
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/assets/javascripts/cartodb/common/dialogs/georeference/steps_view.js.diff original: this._createChooseGeometryView(); updated: this._renderChooseGeometry(); <|file_sep|>lib/assets/javascripts/cartodb/common/dialogs/georeference/steps_view.js.diff original: this._createHeaderView(); ...
}, _renderRows: function() { this._appendView( new RowsView({ model: this.model }) ); }, _renderChooseGeometry: function() { this._appendView( new ChooseGeometryView({ model: this.model }) ); }, _appendView: function(view) { this.addView(view); ...
<|file_sep|>lib/assets/javascripts/cartodb/common/dialogs/georeference/steps_view.js.diff original: this._createChooseGeometryView(); updated: this._renderChooseGeometry(); <|file_sep|>lib/assets/javascripts/cartodb/common/dialogs/georeference/steps_view.js.diff original: this._createHeaderView(); ...
e26cd1f1e965a5ae2a613151eb782a766d4215ba
lib/assets/javascripts/cartodb/common/dialogs/georeference/steps_view.js
lib/assets/javascripts/cartodb/common/dialogs/georeference/steps_view.js
JavaScript
<|file_sep|>original/.github/workflows/automerge.yml jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 's...
jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Merge me! uses: ride...
<|file_sep|>original/.github/workflows/automerge.yml jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 's...
7ab872ea9754fe21651c92c54f1a6190fe3c0458
.github/workflows/automerge.yml
.github/workflows/automerge.yml
YAML
<|file_sep|>original/README.md # svn-scm-vscode SVN SCM provider for vscode ## Dependencies ### Windows Under Windows [TortoiseSVN](https://tortoisesvn.net/) **with option "Command-line tools** should be installed and svn.exe available in PATH. <|file_sep|>current/README.md # svn-scm-vscode SVN SCM provider for vscod...
# svn-scm-vscode SVN SCM provider for vscode ## Dependencies ### Windows Under Windows [TortoiseSVN](https://tortoisesvn.net/) **with option "Command-line tools** should be installed and svn.exe available in PATH. ### Linux SVN must be installed and available in PATH.
<|file_sep|>original/README.md # svn-scm-vscode SVN SCM provider for vscode ## Dependencies ### Windows Under Windows [TortoiseSVN](https://tortoisesvn.net/) **with option "Command-line tools** should be installed and svn.exe available in PATH. <|file_sep|>current/README.md # svn-scm-vscode SVN SCM provider for vscod...
21f21f09f27a8eceae3bf9728abdf553cea19eef
README.md
README.md
Markdown
<|file_sep|>original/builder/run.sh #!/bin/bash haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid /usr/bin/supervisord <|file_sep|>current/builder/run.sh #!/bin/bash haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid /usr/bin/supervisord <|file_sep|>updated/builder/run.sh
#!/bin/bash if [[ -n $AUTO_BAMBOO_HOST ]]; then sed -i "s/^.*Endpoint\": \"\(http:\/\/haproxy-ip-address:8000\)\".*$/ \"EndPoint\": \"$HOST\",/" \ ${CONFIG_PATH:=config/production.example.json} fi haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid /usr/bin/supervisord
<|file_sep|>original/builder/run.sh #!/bin/bash haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid /usr/bin/supervisord <|file_sep|>current/builder/run.sh #!/bin/bash haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid /usr/bin/supervisord <|file_sep|>updated/builder/run.sh #!/bin/bash if [[ -n $AUTO_B...
f447676091a365791e56893018e81b3da9cceffa
builder/run.sh
builder/run.sh
Shell
<|file_sep|>osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs.diff original: #nullable disable updated: <|file_sep|>osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs.diff original: foreach (var mod in modInstances) updated: foreach (var modToCheck in modInstances) <|file_sep|>...
IEnumerable<Mod> modInstances = mods.Select(mod => mod.CreateInstance()); foreach (var modToCheck in modInstances) { var incompatibleMods = modToCheck.IncompatibleMods; foreach (var incompatible in incompatibleMods) ...
<|file_sep|>osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs.diff original: #nullable disable updated: <|file_sep|>osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs.diff original: foreach (var mod in modInstances) updated: foreach (var modToCheck in modInstances) <|file_sep|>...
5ef8e26ebe894322c8aaba026051c3bba5ab15f7
osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs
osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs
C#
<|file_sep|>original/src/test/java/com/pm/server/utils/JsonUtilsTest.java <|file_sep|>current/src/test/java/com/pm/server/utils/JsonUtilsTest.java <|file_sep|>updated/src/test/java/com/pm/server/utils/JsonUtilsTest.java
package com.pm.server.utils; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import org.junit.Before; import org.junit.Test; public class JsonUtilsTest { private DummyObject dummyObject; @Before public void setUp() { dummyObject = new DummyObject(); } @Test
<|file_sep|>original/src/test/java/com/pm/server/utils/JsonUtilsTest.java <|file_sep|>current/src/test/java/com/pm/server/utils/JsonUtilsTest.java <|file_sep|>updated/src/test/java/com/pm/server/utils/JsonUtilsTest.java package com.pm.server.utils; import static org.junit.Assert.assertTrue; import java.util.ArrayLi...
1b028279664a3a1892fb7a4ef7e17183af21d2bd
src/test/java/com/pm/server/utils/JsonUtilsTest.java
src/test/java/com/pm/server/utils/JsonUtilsTest.java
Java
<|file_sep|>original/packer_templates/freebsd/scripts/postinstall.sh #!/bin/sh -eux # Set the time correctly ntpdate -v -b 0.freebsd.pool.ntp.org # Install curl and ca_root_nss pkg install -y curl ca_root_nss; # Emulate the ETCSYMLINK behavior of ca_root_nss; this is for FreeBSD 10, # where fetch(1) was massively re...
#!/bin/sh -eux # Set the time correctly ntpdate -v -b 0.freebsd.pool.ntp.org # Install curl and ca_root_nss pkg install -y curl ca_root_nss dmidecode; # Emulate the ETCSYMLINK behavior of ca_root_nss; this is for FreeBSD 10, # where fetch(1) was massively refactored and doesn't come with # SSL CAcerts anymore ln -sf...
<|file_sep|>original/packer_templates/freebsd/scripts/postinstall.sh #!/bin/sh -eux # Set the time correctly ntpdate -v -b 0.freebsd.pool.ntp.org # Install curl and ca_root_nss pkg install -y curl ca_root_nss; # Emulate the ETCSYMLINK behavior of ca_root_nss; this is for FreeBSD 10, # where fetch(1) was massively re...
f8227b1e3ebebc3557930035a055b1f823eb6ad2
packer_templates/freebsd/scripts/postinstall.sh
packer_templates/freebsd/scripts/postinstall.sh
Shell
<|file_sep|>original/test/SemaObjCXX/abstract-class-type-ivar.mm }; class CppConcreteSub : public CppAbstractBase { virtual void testA() { } }; @interface Objc { CppConcreteSub _concrete; // expected-error{{instance variable type 'CppConcreteSub' is an abstract class}} } - (CppAbstractBase*)abstract; @proper...
}; class CppConcreteSub : public CppAbstractBase { virtual void testA() { } }; @interface Objc { CppConcreteSub _concrete; // expected-error{{instance variable type 'CppConcreteSub' is an abstract class}} } - (CppAbstractBase*)abstract; @property (nonatomic, readonly) const CppConcreteSub Prop; // expected-...
<|file_sep|>original/test/SemaObjCXX/abstract-class-type-ivar.mm }; class CppConcreteSub : public CppAbstractBase { virtual void testA() { } }; @interface Objc { CppConcreteSub _concrete; // expected-error{{instance variable type 'CppConcreteSub' is an abstract class}} } - (CppAbstractBase*)abstract; @proper...
454ab9742daec2a2ab4d294c82b5d68ff7041c1d
test/SemaObjCXX/abstract-class-type-ivar.mm
test/SemaObjCXX/abstract-class-type-ivar.mm
Objective-C++
<|file_sep|>original/packages/ember-views/tests/compat/attrs_proxy_test.js teardown() { runDestroy(view); } }); QUnit.skip('works with properties setup in root of view', function() { registry.register('view:foo', View.extend({ bar: 'qux', template: compile('{{bar}}') })); view = View.extend({ ...
teardown() { runDestroy(view); } }); QUnit.skip('works with properties setup in root of view', function() { registry.register('view:foo', View.extend({ bar: 'qux', template: compile('{{view.bar}}') })); view = View.extend({ container: registry.container(), template: compile('{{view "fo...
<|file_sep|>original/packages/ember-views/tests/compat/attrs_proxy_test.js teardown() { runDestroy(view); } }); QUnit.skip('works with properties setup in root of view', function() { registry.register('view:foo', View.extend({ bar: 'qux', template: compile('{{bar}}') })); view = View.extend({ ...
ad7e5373322aa618b2e7374a8699c054b84b2d64
packages/ember-views/tests/compat/attrs_proxy_test.js
packages/ember-views/tests/compat/attrs_proxy_test.js
JavaScript
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml
language: python python: - 2.6 - 2.7 - pypy before_install: - sudo service elasticsearch start - sleep 3 script: python setup.py test
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml language: python python: - 2.6 - 2.7 - pypy before_install: - sudo service elasticsearch start - sleep 3 script: python setup.py test
21df288e3c5bae6f2b791d9ed57eb0a5185188df
.travis.yml
.travis.yml
YAML
<|file_sep|>original/misc/workenvsetup.sh <|file_sep|>current/misc/workenvsetup.sh <|file_sep|>updated/misc/workenvsetup.sh
# Set it up. ORIGINAL_DIR = `pwd` BASE_DIR = workenv/ cd ~ # Link and copy files. ln -nfs $BASE_DIR/bin/ bin ln -nfs $BASE_DIR/bash/gitignore_global .gitignore_global ln -nfs $BASE_DIR/bash/profile .profile ln -nfs $BASE_DIR/bash/bashrc .bashrc cp -iv $BASE_DIR/bash/gitconfig .gitconfig ln -nfs $BASE_DI...
<|file_sep|>original/misc/workenvsetup.sh <|file_sep|>current/misc/workenvsetup.sh <|file_sep|>updated/misc/workenvsetup.sh # Set it up. ORIGINAL_DIR = `pwd` BASE_DIR = workenv/ cd ~ # Link and copy files. ln -nfs $BASE_DIR/bin/ bin ln -nfs $BASE_DIR/bash/gitignore_global .gitignore_global ln -nfs $BASE_DI...
52cc758cb5a7f2f0079f73d7c6a2b0a4fb3d3f97
misc/workenvsetup.sh
misc/workenvsetup.sh
Shell
<|file_sep|>original/web-react/tslint.json { "extends": "../tslint.json", "rules": {}, "linterOptions": { "exclude": ["src/**/*.spec.ts", "src/generated/**"] } } <|file_sep|>current/web-react/tslint.json { "extends": "../tslint.json", "rules": {}, "linterOptions": { "exclude": ["src/**/*.spec.ts",...
{ "extends": "../tslint.json", "rules": { "strict-boolean-expressions": [true, "ignore-rhs"] }, "linterOptions": { "exclude": ["src/**/*.spec.ts", "src/generated/**"] } }
<|file_sep|>original/web-react/tslint.json { "extends": "../tslint.json", "rules": {}, "linterOptions": { "exclude": ["src/**/*.spec.ts", "src/generated/**"] } } <|file_sep|>current/web-react/tslint.json { "extends": "../tslint.json", "rules": {}, "linterOptions": { "exclude": ["src/**/*.spec.ts",...
415037caa7f4dea90c1087165c7354b238bd5b09
web-react/tslint.json
web-react/tslint.json
JSON
<|file_sep|>src/core/urls.py.diff original: if settings.DEBUG or settings.IN_TEST_RUNNER: import debug_toolbar updated: try: if settings.DEBUG or settings.IN_TEST_RUNNER: import debug_toolbar <|file_sep|>original/src/core/urls.py from press import views as press_views include('events.registration') ur...
urlpatterns = [ url(r'^$', press_views.index, name='website_index'), url(r'^admin/', include(admin.site.urls)), url(r'^summernote/', include('django_summernote.urls')), url(r'', include('core.include_urls')), ] try: if settings.DEBUG or settings.IN_TEST_RUNNER: import debug_toolbar ...
<|file_sep|>src/core/urls.py.diff original: if settings.DEBUG or settings.IN_TEST_RUNNER: import debug_toolbar updated: try: if settings.DEBUG or settings.IN_TEST_RUNNER: import debug_toolbar <|file_sep|>original/src/core/urls.py from press import views as press_views include('events.registration') ur...
a8e7f1161afa313e25e678a1a2c1cdc1bc443f25
src/core/urls.py
src/core/urls.py
Python
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-bin.zip <|file_sep|>current/gradle/wrapper/gradle-wrapper.proper...
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-all.zip
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-bin.zip <|file_sep|>current/gradle/wrapper/gradle-wrapper.proper...
f9755c7802ec49cc189904dbe595e06cd3203b5f
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2 env: DATABASE_URL=postgres://postgres@localhost/timeoverflow_test before_script: - psql -c 'create database timeoverflow_test;' -U postgres - RAILS_ENV=test bundle exec rake db:migrate <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2 env: DATAB...
language: ruby rvm: - 2.2 env: DATABASE_URL=postgres://postgres@localhost/timeoverflow_test before_script: - psql -c 'create database timeoverflow_test;' -U postgres - RAILS_ENV=test bundle exec rake db:migrate sudo: false cache: bundler
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2 env: DATABASE_URL=postgres://postgres@localhost/timeoverflow_test before_script: - psql -c 'create database timeoverflow_test;' -U postgres - RAILS_ENV=test bundle exec rake db:migrate <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2 env: DATAB...
08a67a47534db961c87530ceb88317c382ed7aec
.travis.yml
.travis.yml
YAML
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt // This file should almost always be empty. Normally Chromium test expectations // are found in // src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt // // Only add expectations here to temporarily suppress messages on the bots...
// This file should almost always be empty. Normally Chromium test expectations // are found in // src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt // // Only add expectations here to temporarily suppress messages on the bots // until the changes can be landed upstream. BUG_LOISLO WIN RELEASE...
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt // This file should almost always be empty. Normally Chromium test expectations // are found in // src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt // // Only add expectations here to temporarily suppress messages on the bots...
5fa5a00f0a427d41f212c99abfaf428603804c78
webkit/tools/layout_tests/test_expectations.txt
webkit/tools/layout_tests/test_expectations.txt
Text
<|file_sep|>server/config/config.js.diff original: baseUrl: 'http://localhost:3008', updated: baseUrl: 'http://localhost:3030', <|file_sep|>original/server/config/config.js var path = require('path'); var rootPath = path.normalize(__dirname + '/../../'); module.exports = { local: { base...
var path = require('path'); var rootPath = path.normalize(__dirname + '/../../'); module.exports = { local: { baseUrl: 'http://localhost:3030', db: 'mongodb://localhost/rp_local', rootPath: rootPath, port: process.env.PORT || 3030 }, staging : { baseUrl: 'http://...
<|file_sep|>server/config/config.js.diff original: baseUrl: 'http://localhost:3008', updated: baseUrl: 'http://localhost:3030', <|file_sep|>original/server/config/config.js var path = require('path'); var rootPath = path.normalize(__dirname + '/../../'); module.exports = { local: { base...
6dbce6b3b6c6e25efbba9a6fc0927e994dfe37c0
server/config/config.js
server/config/config.js
JavaScript
<|file_sep|>original/setup.py cpp_args = ['-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7'] ext_modules = [ Extension( 'make_asym', ['make_asym.cc'], include_dirs=['include'], language='c++', extra_compile_args=cpp_args, ), ] setup( name='make_asym', ...
cpp_args = ['-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7'] ext_modules = [ Extension( 'make_asym', ['make_asym.cc'], include_dirs=['include'], language='c++', extra_compile_args=cpp_args, ), ] setup( name='make_asym', version='0.1', author='Na...
<|file_sep|>original/setup.py cpp_args = ['-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7'] ext_modules = [ Extension( 'make_asym', ['make_asym.cc'], include_dirs=['include'], language='c++', extra_compile_args=cpp_args, ), ] setup( name='make_asym', ...
c4e1059b387269b6098d05d2227c085e7931b140
setup.py
setup.py
Python
<|file_sep|>original/templates/search.php <h2 class="govuk-heading-l">Search results for <?php the_search_query(); ?> </h2> <?php if (have_posts()) { ?> <?php while (have_posts()) : the_post() ?> <article <?php post_class() ?>> <header> <h3 class=govuk-heading-m"><a href="<?php the_permalink() ?...
<hr class="govuk-section-break govuk-section-break--l govuk-section-break--visible"> <h2 class="govuk-heading-l">Search results for <?php the_search_query(); ?> </h2> <?php if (have_posts()) { ?> <?php while (have_posts()) : the_post() ?> <article <?php post_class() ?>> <header> <h3 class=govuk-...
<|file_sep|>original/templates/search.php <h2 class="govuk-heading-l">Search results for <?php the_search_query(); ?> </h2> <?php if (have_posts()) { ?> <?php while (have_posts()) : the_post() ?> <article <?php post_class() ?>> <header> <h3 class=govuk-heading-m"><a href="<?php the_permalink() ?...
4d6a3b00595860f990e6d549bfc41e2fbaf0a8cf
templates/search.php
templates/search.php
PHP
<|file_sep|>original/requirements.txt aiohttp==3.7.4 aiosqlite==0.17.0 discord.py==1.7.3 feedparser==6.0.1 flake8==3.8.3 html2text==2020.1.16 in-place==0.4.0 mypy==0.780 pylint==1.6.5 python-dateutil==2.8.1 pytz==2020.1 requests==2.23.0 six==1.15.0 ws4py==0.5.1 <|file_sep|>current/requirements.txt aiohttp==3.7.4 aiosql...
aiohttp==3.7.4 aiosqlite==0.17.0 discord.py==1.7.3 feedparser==6.0.1 flake8==3.8.3 html2text==2020.1.16 in-place==0.4.0 mypy==0.780 pylint==1.6.5 python-dateutil==2.8.1 pytz==2020.5 requests==2.23.0 six==1.15.0 ws4py==0.5.1
<|file_sep|>original/requirements.txt aiohttp==3.7.4 aiosqlite==0.17.0 discord.py==1.7.3 feedparser==6.0.1 flake8==3.8.3 html2text==2020.1.16 in-place==0.4.0 mypy==0.780 pylint==1.6.5 python-dateutil==2.8.1 pytz==2020.1 requests==2.23.0 six==1.15.0 ws4py==0.5.1 <|file_sep|>current/requirements.txt aiohttp==3.7.4 aiosql...
e7bb51aeb3afbe56c86663d8a6c7fe552ee28472
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/neural_networks/neural_networks.jl <|file_sep|>current/src/neural_networks/neural_networks.jl <|file_sep|>updated/src/neural_networks/neural_networks.jl
include("abstract_neural_networks.jl") function zero!(nn::NeuralNetworkStorage) # Zeroes out all of the arrays in the neural network type names = names(nn) types = nn.types for t,n in zip(types, names) if isa(t, Weights) fill!(nn.(n), 0) end end end
<|file_sep|>original/src/neural_networks/neural_networks.jl <|file_sep|>current/src/neural_networks/neural_networks.jl <|file_sep|>updated/src/neural_networks/neural_networks.jl include("abstract_neural_networks.jl") function zero!(nn::NeuralNetworkStorage) # Zeroes out all of the arrays in the neural network ty...
3d7e9b8cb22427254576a5dd8a4bc1721cc9774d
src/neural_networks/neural_networks.jl
src/neural_networks/neural_networks.jl
Julia
<|file_sep|>original/doc/release-notes.md Bitcoin ABC version 0.20.1 is now available from: <https://download.bitcoinabc.org/0.20.1/> This release includes the following features and fixes: - From 0.20.1 onwards macOS <10.10 is no longer supported. 0.20.1 is built using Qt 5.9.6, which doesn't support versio...
Bitcoin ABC version 0.20.1 is now available from: <https://download.bitcoinabc.org/0.20.1/> This release includes the following features and fixes: - From 0.20.1 onwards macOS <10.10 is no longer supported. 0.20.1 is built using Qt 5.9.6, which doesn't support versions of macOS older than 10.10. - `sendmany...
<|file_sep|>original/doc/release-notes.md Bitcoin ABC version 0.20.1 is now available from: <https://download.bitcoinabc.org/0.20.1/> This release includes the following features and fixes: - From 0.20.1 onwards macOS <10.10 is no longer supported. 0.20.1 is built using Qt 5.9.6, which doesn't support versio...
f8d829e3e8a4f0df13df3d290b9ddaaa5911e09d
doc/release-notes.md
doc/release-notes.md
Markdown
<|file_sep|>original/teknologr/members/lookups.py from django.db.models import Q args = [] for word in q.split(): args.append(Q(given_names__icontains=word) | Q(surname__icontains=word)) if not args: return [] # No words in query (only spaces?) retur...
from django.db.models import Q args = [] for word in q.split(): args.append(Q(given_names__icontains=word) | Q(surname__icontains=word)) if not args: return [] # No words in query (only spaces?) return Member.objects.filter(*args).order_by('surname', ...
<|file_sep|>original/teknologr/members/lookups.py from django.db.models import Q args = [] for word in q.split(): args.append(Q(given_names__icontains=word) | Q(surname__icontains=word)) if not args: return [] # No words in query (only spaces?) retur...
faf8f70128d70696707f073181f9ce8d08629fd2
teknologr/members/lookups.py
teknologr/members/lookups.py
Python
<|file_sep|>original/node_modules/oae-core/deleteresources/css/deleteresources.css */ /* Resource list */ #deleteresources-modal #deleteresources-overview-container ul { margin-bottom: 15px; max-height: 240px; overflow: auto; } /* Add an IE9 fallback for threedots */ .ie-lt10 #deleteresources-modal #del...
*/ /* Resource list */ #deleteresources-modal #deleteresources-overview-container ul { margin-bottom: 15px; max-height: 240px; overflow: auto; } #deleteresources-modal #deleteresources-overview-container ul .oae-listitem h3 { -webkit-flex: initial; -moz-flex: initial; -ms-flex: initia...
<|file_sep|>original/node_modules/oae-core/deleteresources/css/deleteresources.css */ /* Resource list */ #deleteresources-modal #deleteresources-overview-container ul { margin-bottom: 15px; max-height: 240px; overflow: auto; } /* Add an IE9 fallback for threedots */ .ie-lt10 #deleteresources-modal #del...
c35bd45a1285f55e9b2ec14ea5222e828d03fece
node_modules/oae-core/deleteresources/css/deleteresources.css
node_modules/oae-core/deleteresources/css/deleteresources.css
CSS
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 before_install: - sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml # fire up a IBM MQ container to run the integration tests against - docker-compose ...
services: - docker language: java jdk: - oraclejdk8 before_install: - sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml # fire up a IBM MQ container to run the integration tests against - docker-compose -f src/etc/...
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 before_install: - sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml # fire up a IBM MQ container to run the integration tests against - docker-compose ...
9925637f81eb66e10ac0860e2be1606542d008d9
.travis.yml
.travis.yml
YAML
<|file_sep|>neutron/tests/functional/contrib/gate_hook.sh.diff original: # Ideally devstack would only install dependencies # rather than starting services, but for now unstack is # a cheap way of accomplishing the same result. $BASE/new/devstack/unstack.sh updated: <|file_sep|>original/neutron/tests/functional/contr...
#!/bin/bash set -ex $BASE/new/devstack-gate/devstack-vm-gate.sh # Add a rootwrap filter to support test-only # configuration (e.g. a KillFilter for processes that # use the python installed in a tox env). FUNC_FILTER=$BASE/new/neutron/neutron/tests/functional/contrib/filters.template sed -e "s+\$BASE_PATH+$BASE/new/...
<|file_sep|>neutron/tests/functional/contrib/gate_hook.sh.diff original: # Ideally devstack would only install dependencies # rather than starting services, but for now unstack is # a cheap way of accomplishing the same result. $BASE/new/devstack/unstack.sh updated: <|file_sep|>original/neutron/tests/functional/contr...
1cdeb17c04819a6fa0a39c599af818f06b66f145
neutron/tests/functional/contrib/gate_hook.sh
neutron/tests/functional/contrib/gate_hook.sh
Shell
<|file_sep|>original/requirements/base.txt bleach==3.1.5 Django==2.2.14 # pyup: <2.3 django-allauth==0.42.0 django-autoslug==1.9.7 django-background-tasks==1.2.5 django-ckeditor==5.9.0 django-filter==2.3.0 django-multiselectfield==0.1.12 django-widget-tweaks==1.4.8 djangorestframework==3.11.0 easy-thumbnails==2.7 html5...
bleach==3.1.5 Django==2.2.14 # pyup: <2.3 django-allauth==0.42.0 django-autoslug==1.9.7 django-background-tasks==1.2.5 django-ckeditor==5.9.0 django-filter==2.3.0 django-multiselectfield==0.1.12 django-widget-tweaks==1.4.8 djangorestframework==3.11.0 easy-thumbnails==2.7 html5lib==1.1 jsonfield==3.1.0 psycopg2-binary==...
<|file_sep|>original/requirements/base.txt bleach==3.1.5 Django==2.2.14 # pyup: <2.3 django-allauth==0.42.0 django-autoslug==1.9.7 django-background-tasks==1.2.5 django-ckeditor==5.9.0 django-filter==2.3.0 django-multiselectfield==0.1.12 django-widget-tweaks==1.4.8 djangorestframework==3.11.0 easy-thumbnails==2.7 html5...
c44ab031bccc2494e5b8a3855268867bdd0cd555
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/requirements/base.txt zeep==3.4.0 # Inherited a4-core requirements bleach==3.1.5 Django==2.2.16 # pyup: <2.3 django-allauth==0.42.0 django-autoslug==1.9.8 django-background-tasks==1.2.5 django-ckeditor==6.0.0 django-filter==2.3.0 django-multiselectfield==0.1.12 django-widget-tweaks==1.4.8 djangore...
zeep==3.4.0 # Inherited a4-core requirements bleach==3.1.5 Django==2.2.16 # pyup: <2.3 django-allauth==0.42.0 django-autoslug==1.9.8 django-background-tasks==1.2.5 django-ckeditor==6.0.0 django-filter==2.3.0 django-multiselectfield==0.1.12 django-widget-tweaks==1.4.8 djangorestframework==3.11.1 easy-thumbnails==2.7 ht...
<|file_sep|>original/requirements/base.txt zeep==3.4.0 # Inherited a4-core requirements bleach==3.1.5 Django==2.2.16 # pyup: <2.3 django-allauth==0.42.0 django-autoslug==1.9.8 django-background-tasks==1.2.5 django-ckeditor==6.0.0 django-filter==2.3.0 django-multiselectfield==0.1.12 django-widget-tweaks==1.4.8 djangore...
06cbe63537125444a3dbb21d02f77ef63a40b607
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/app/views/booking_requests/_booking_request_confirmation.html.erb <div class="l-grid-row"> <div class="l-column-two-thirds"> <div class="govuk-box-highlight"> <h1 class="bold-large govuk-box-highlight__header">We’ve received<br>your booking request</h1> </div> <h2>What happens ...
<div class="l-grid-row"> <div class="l-column-two-thirds"> <div class="govuk-box-highlight"> <h1 class="bold-large govuk-box-highlight__header">We’ve received<br>your booking request</h1> </div> <h2>What happens next?</h2> <p>We’ll email you within 2 working days to confirm the date and time o...
<|file_sep|>original/app/views/booking_requests/_booking_request_confirmation.html.erb <div class="l-grid-row"> <div class="l-column-two-thirds"> <div class="govuk-box-highlight"> <h1 class="bold-large govuk-box-highlight__header">We’ve received<br>your booking request</h1> </div> <h2>What happens ...
68743cc410f60fd79130cd318ad3efe3cb954ebc
app/views/booking_requests/_booking_request_confirmation.html.erb
app/views/booking_requests/_booking_request_confirmation.html.erb
HTML+ERB
<|file_sep|>original/app/views/families/_form_fields.erb <%= form.label :name, 'Family Name' %> <%= form.text_field :name %> <em>John Doe</em> or <em>John &amp; Jane Doe</em><br/> <%= form.label :last_name, 'Family Last Name' %> <%= form.text_field :last_name %> <em>Doe</em><br/> <%= form.label :home_phone %>...
<%= form.label :name, 'Family Name' %> <%= form.text_field :name %> <em>John Doe</em> or <em>John &amp; Jane Doe</em><br/> <%= form.label :last_name, 'Family Last Name' %> <%= form.text_field :last_name %> <em>Doe</em><br/> <%= form.label :home_phone %> <%= form.phone_field :home_phone %><b...
<|file_sep|>original/app/views/families/_form_fields.erb <%= form.label :name, 'Family Name' %> <%= form.text_field :name %> <em>John Doe</em> or <em>John &amp; Jane Doe</em><br/> <%= form.label :last_name, 'Family Last Name' %> <%= form.text_field :last_name %> <em>Doe</em><br/> <%= form.label :home_phone %>...
4fb58ead0703a73fe5b377f79b29c83d7f5ba10d
app/views/families/_form_fields.erb
app/views/families/_form_fields.erb
HTML+ERB
<|file_sep|>run.php.diff original: '--ignore-ssl-errors=true', // @todo This seems to be necessary on main account home updated: <|file_sep|>original/run.php // Work out script location $script = $root . '/accounts/' . $configData['country'] . '/' . $configData['provider'] . '.js'; // Set up the parameters string i...
'username' => $configData['username'], 'password' => $configData['password'], ); $line = escapeshellarg(json_encode($args)); // Set up command options $options = array( '--load-images=false', '--cookies-file=cookies.txt', ); // Add in SSL config if ($configData['ignore_ssl_errors']) { $options[] = '--ignore-ssl...
<|file_sep|>run.php.diff original: '--ignore-ssl-errors=true', // @todo This seems to be necessary on main account home updated: <|file_sep|>original/run.php // Work out script location $script = $root . '/accounts/' . $configData['country'] . '/' . $configData['provider'] . '.js'; // Set up the parameters string i...
c31c2a27676603b4dddc26c0abfe45089596984c
run.php
run.php
PHP
<|file_sep|>original/src/HaskellWorks/Data/Succinct/BalancedParens/Internal.hs import HaskellWorks.Data.Succinct.RankSelect.Internal class BalancedParens v where findOpen :: v -> Position -> Position findClose :: v -> Position -> Position enclose :: v -> Position -> Position firstChild :: v -> Position -> Posit...
import HaskellWorks.Data.Succinct.RankSelect.Internal class BalancedParens v where findOpen :: v -> Position -> Position findClose :: v -> Position -> Position enclose :: v -> Position -> Position firstChild :: v -> Position -> Position firstChild _ = (+ 1) nextSibling :: (BalancedParens v) => v -> Position ->...
<|file_sep|>original/src/HaskellWorks/Data/Succinct/BalancedParens/Internal.hs import HaskellWorks.Data.Succinct.RankSelect.Internal class BalancedParens v where findOpen :: v -> Position -> Position findClose :: v -> Position -> Position enclose :: v -> Position -> Position firstChild :: v -> Position -> Posit...
5da4815aa9de2c2a243bc60e2ee22f8c8bc9e584
src/HaskellWorks/Data/Succinct/BalancedParens/Internal.hs
src/HaskellWorks/Data/Succinct/BalancedParens/Internal.hs
Haskell
<|file_sep|>src/app/components/InfiniteScrollComponent.js.diff original: updated: var alias = Ember.computed.alias; <|file_sep|>src/app/components/InfiniteScrollComponent.js.diff original: errorBinding: "targetObject.fetchError", updated: error: alias( "targetObject.fetchError" ), <|file_sep|>original/src/app/com...
return Ember.Component.extend({ layout: Ember.HTMLBars.compile( template ), tagName: "button", classNameBindings: [ ":btn", ":btn-with-icon", ":infinitescroll", "hasFetchedAll:hidden" ], attributeBindings: [ "type", "disabled" ], type: "button", disabled: or( "isFetching", "hasFetchedAll" ), error: ali...
<|file_sep|>src/app/components/InfiniteScrollComponent.js.diff original: updated: var alias = Ember.computed.alias; <|file_sep|>src/app/components/InfiniteScrollComponent.js.diff original: errorBinding: "targetObject.fetchError", updated: error: alias( "targetObject.fetchError" ), <|file_sep|>original/src/app/com...
65d6c308f4fe4b1be26dcbed9eac04d07334aa61
src/app/components/InfiniteScrollComponent.js
src/app/components/InfiniteScrollComponent.js
JavaScript
<|file_sep|>original/osu.Game/Tests/Visual/Spectator/TestSpectatorStreamingClient.cs <|file_sep|>current/osu.Game/Tests/Visual/Spectator/TestSpectatorStreamingClient.cs <|file_sep|>updated/osu.Game/Tests/Visual/Spectator/TestSpectatorStreamingClient.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Bindables; using osu.Framework.Utils; using osu.Game.Online; using osu.Game.Online.Spectator; using osu.Game.Replays...
<|file_sep|>original/osu.Game/Tests/Visual/Spectator/TestSpectatorStreamingClient.cs <|file_sep|>current/osu.Game/Tests/Visual/Spectator/TestSpectatorStreamingClient.cs <|file_sep|>updated/osu.Game/Tests/Visual/Spectator/TestSpectatorStreamingClient.cs // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the...
9b09361cc9a5b3ef1fb9cecf34e28f6401ae9def
osu.Game/Tests/Visual/Spectator/TestSpectatorStreamingClient.cs
osu.Game/Tests/Visual/Spectator/TestSpectatorStreamingClient.cs
C#
<|file_sep|>original/composer.json { "name": "tomkyle/database-servicelocator", "replace": {"tomkyle/databases": "self.version"}, "type": "library", "description": "A nifty Database ServiceLocator, Pimple-style", "keywords": ["dependency injection", "database", "service locator", "...
{ "name": "tomkyle/databases", "replace": {"tomkyle/databases": "self.version"}, "type": "library", "description": "A nifty Database ServiceLocator, Pimple-style", "keywords": ["dependency injection", "database", "service locator", "mysql", "aura", "sql"], "license": "MIT", ...
<|file_sep|>original/composer.json { "name": "tomkyle/database-servicelocator", "replace": {"tomkyle/databases": "self.version"}, "type": "library", "description": "A nifty Database ServiceLocator, Pimple-style", "keywords": ["dependency injection", "database", "service locator", "...
7b57656633836b48a0565a2559a9c3709d93ce5b
composer.json
composer.json
JSON
<|file_sep|>original/test/DebugInfo/ASTSection_linker.swift // Run test ASTSection.swift, with separate compile and link steps. // RUN: rm -rf %t // RUN: mkdir %t // RUN: %swift -c -emit-module -o %t %S/ASTSection.swift // RUN: %ld %t/ASTSection.o -sectcreate __SWIFT __ast %t/ASTSection.swiftmodule -o %t/ASTSection.d...
// Run test ASTSection.swift, with separate compile and link steps. // RUN: rm -rf %t // RUN: mkdir %t // RUN: %swift -c -emit-module -o %t %S/ASTSection.swift // RUN: ld %t/ASTSection.o -sectcreate __SWIFT __ast %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -L%libdir/swift/macosx -dylib -lSystem // RUN: lldb-modu...
<|file_sep|>original/test/DebugInfo/ASTSection_linker.swift // Run test ASTSection.swift, with separate compile and link steps. // RUN: rm -rf %t // RUN: mkdir %t // RUN: %swift -c -emit-module -o %t %S/ASTSection.swift // RUN: %ld %t/ASTSection.o -sectcreate __SWIFT __ast %t/ASTSection.swiftmodule -o %t/ASTSection.d...
c72fe37e4854e6f2e50b898d17490d182e3082b8
test/DebugInfo/ASTSection_linker.swift
test/DebugInfo/ASTSection_linker.swift
Swift
<|file_sep|>original/wtf.sh <|file_sep|>current/wtf.sh <|file_sep|>updated/wtf.sh
#!/bin/bash TARGET=$1 if [ -z "$TARGET" ] || ! (pgrep $TARGET &>/dev/null) ; then echo "Process not found" exit 1 fi total_memory() { ps aux | # List everyt process using BSD syntax grep $TARGET | # Filter matched processes grep -v grep | # Ignore grep proc...
<|file_sep|>original/wtf.sh <|file_sep|>current/wtf.sh <|file_sep|>updated/wtf.sh #!/bin/bash TARGET=$1 if [ -z "$TARGET" ] || ! (pgrep $TARGET &>/dev/null) ; then echo "Process not found" exit 1 fi total_memory() { ps aux | # List everyt process using BSD syntax grep $TARGET | ...
04b8ef80c84435ffa6f0c505a84dfee680e04957
wtf.sh
wtf.sh
Shell
<|file_sep|>original/package.json { "name": "build-gulp", "version": "0.2.0", "description": "Runs gulp targets", "repository": "https://github.com/noseglid/atom-build-gulp", "license": "MIT", "engines": { "atom": "^1.0.0" }, "providedServices": { "builder": { "description": "Runs gulp tar...
{ "name": "build-gulp", "version": "0.2.0", "description": "Runs gulp targets", "repository": "https://github.com/AtomBuild/atom-build-gulp", "license": "MIT", "engines": { "atom": "^1.0.0" }, "providedServices": { "builder": { "description": "Runs gulp targets", "versions": { ...
<|file_sep|>original/package.json { "name": "build-gulp", "version": "0.2.0", "description": "Runs gulp targets", "repository": "https://github.com/noseglid/atom-build-gulp", "license": "MIT", "engines": { "atom": "^1.0.0" }, "providedServices": { "builder": { "description": "Runs gulp tar...
03e7d04cce13b124f2dc2908f394ebc8b6d8e5b3
package.json
package.json
JSON
<|file_sep|>original/docs/package.json }, "devDependencies": { "apollo-hexo-config": "1.0.5", "chexo": "1.0.4", "handlebars": "4.0.11", "hexo": "3.6.0", "hexo-renderer-ejs": "0.3.1", "hexo-renderer-less": "0.2.0", "hexo-renderer-marked": "0.3.2", "hexo-server": "0.3.1", "lodash":...
}, "devDependencies": { "apollo-hexo-config": "1.0.5", "chexo": "1.0.4", "handlebars": "4.0.11", "hexo": "3.6.0", "hexo-renderer-ejs": "0.3.1", "hexo-renderer-less": "0.2.0", "hexo-renderer-marked": "0.3.2", "hexo-server": "0.3.1", "meteor-theme-hexo": "1.0.3" }, "scripts": {...
<|file_sep|>original/docs/package.json }, "devDependencies": { "apollo-hexo-config": "1.0.5", "chexo": "1.0.4", "handlebars": "4.0.11", "hexo": "3.6.0", "hexo-renderer-ejs": "0.3.1", "hexo-renderer-less": "0.2.0", "hexo-renderer-marked": "0.3.2", "hexo-server": "0.3.1", "lodash":...
2340003bf2b888e1e11fb8815a0f4d987ccc0e08
docs/package.json
docs/package.json
JSON
<|file_sep|>src/index.coffee.diff original: # Obtiene el nombre de la persona o empresa del RUT consultado updated: # Obtiene el nombre de la persona o empresa del RUT consultado y viceversa # # Dependencies: # "info-rut": "^1.0.0" <|file_sep|>src/index.coffee.diff original: # hubot info rut <rut> -> RUT: <rut>...
# # Author: # lgaticaq infoRut = require("info-rut") module.exports = (robot) -> robot.respond /info-rut rut (.*)/i, (res) -> rut = res.match[1] infoRut.getFullName(rut) .then (fullName) -> res.send "RUT: #{rut}, Nombre: #{fullName}" .catch (err) -> res.reply "ocurrio un error ...
<|file_sep|>src/index.coffee.diff original: # Obtiene el nombre de la persona o empresa del RUT consultado updated: # Obtiene el nombre de la persona o empresa del RUT consultado y viceversa # # Dependencies: # "info-rut": "^1.0.0" <|file_sep|>src/index.coffee.diff original: # hubot info rut <rut> -> RUT: <rut>...
c86c31e8804c96b8574f82b8612ff7d89be1647b
src/index.coffee
src/index.coffee
CoffeeScript
<|file_sep|>integration-test/1106-merge-ocean-earth.py.diff original: # There should be a single (merged) ocean feature in this tile updated: # There should be a single, merged feature in each of these tiles # Natural Earth assert_less_than_n_features(5, 11, 11, 'water', {'kind': 'ocean'}, 2) assert_less_than_n_featur...
# There should be a single, merged feature in each of these tiles # Natural Earth assert_less_than_n_features(5, 11, 11, 'water', {'kind': 'ocean'}, 2) assert_less_than_n_features(5, 8, 11, 'earth', {'kind': 'earth'}, 2) # OpenStreetMap assert_less_than_n_features(9, 167, 186, 'water', {'kind': 'ocean'}, 2) assert_le...
<|file_sep|>integration-test/1106-merge-ocean-earth.py.diff original: # There should be a single (merged) ocean feature in this tile updated: # There should be a single, merged feature in each of these tiles # Natural Earth assert_less_than_n_features(5, 11, 11, 'water', {'kind': 'ocean'}, 2) assert_less_than_n_featur...
749aa35a85b6482cfba9dec7d37473a787d73c32
integration-test/1106-merge-ocean-earth.py
integration-test/1106-merge-ocean-earth.py
Python
<|file_sep|>original/roles/quarkslab.virustotal/tasks/main.yml --- # As the repositories are not cloned yet, we cannot use requirements.txt - name: "Installing dependencies with pip system-wide" pip: name: "{{ item }}" state: "latest" with_items: - virustotal-api <|file_sep|>current/roles/quarkslab.vi...
--- # As the repositories are not cloned yet, we cannot use requirements.txt - name: "Installing dependencies with pip system-wide" pip: name: "{{ item }}" state: "latest" with_items: - virustotal-api
<|file_sep|>original/roles/quarkslab.virustotal/tasks/main.yml --- # As the repositories are not cloned yet, we cannot use requirements.txt - name: "Installing dependencies with pip system-wide" pip: name: "{{ item }}" state: "latest" with_items: - virustotal-api <|file_sep|>current/roles/quarkslab.vi...
0fe7b6cb01ecdaf7bcf76b27b0e4f9505eeef295
roles/quarkslab.virustotal/tasks/main.yml
roles/quarkslab.virustotal/tasks/main.yml
YAML
<|file_sep|>original/contrib/kakoune.rb <|file_sep|>current/contrib/kakoune.rb <|file_sep|>updated/contrib/kakoune.rb
require "formula" class Kakoune < Formula homepage "https://github.com/mawww/kakoune" head "https://github.com/mawww/kakoune.git" depends_on 'boost' def install cd 'src' do system "make", "install", "PREFIX=#{prefix}" end end end
<|file_sep|>original/contrib/kakoune.rb <|file_sep|>current/contrib/kakoune.rb <|file_sep|>updated/contrib/kakoune.rb require "formula" class Kakoune < Formula homepage "https://github.com/mawww/kakoune" head "https://github.com/mawww/kakoune.git" depends_on 'boost' def install cd 'src' do system...
904f08940b30def639bb4187d5534186acd8990d
contrib/kakoune.rb
contrib/kakoune.rb
Ruby
<|file_sep|>original/ci/keystone/install.sh #!/usr/bin/env sh set -ex pip install .[keystone-auth-backend] # The exact commit we use here is somewhat arbitrary, but we want # something that (a) won't change out from under our feet, and (b) # works with our existing tests. keystone_commit=stable/pike ./ci/keystone/key...
#!/usr/bin/env sh set -ex pip install .[keystone-auth-backend, keystone-client] # The exact commit we use here is somewhat arbitrary, but we want # something that (a) won't change out from under our feet, and (b) # works with our existing tests. keystone_commit=stable/pike ./ci/keystone/keystone.sh setup
<|file_sep|>original/ci/keystone/install.sh #!/usr/bin/env sh set -ex pip install .[keystone-auth-backend] # The exact commit we use here is somewhat arbitrary, but we want # something that (a) won't change out from under our feet, and (b) # works with our existing tests. keystone_commit=stable/pike ./ci/keystone/key...
6fdd63a1cf4d5fd7c423a64e7ca35b10f28d7a94
ci/keystone/install.sh
ci/keystone/install.sh
Shell
<|file_sep|>original/bin/gorun-on-container.sh <|file_sep|>current/bin/gorun-on-container.sh <|file_sep|>updated/bin/gorun-on-container.sh
#!/bin/bash set -e if [ -z "$1" ]; then echo "path of project is required" exit 1 fi path=$(realpath "$1") name=$(basename "$path") project=$(echo "$path" | sed -e "s;^$GOPATH/;;") echo "running $name > $project > $path on container" docker run \ --rm \ --name "$name" \ -v "$path":"/go/$project" \ -w "/go/$p...
<|file_sep|>original/bin/gorun-on-container.sh <|file_sep|>current/bin/gorun-on-container.sh <|file_sep|>updated/bin/gorun-on-container.sh #!/bin/bash set -e if [ -z "$1" ]; then echo "path of project is required" exit 1 fi path=$(realpath "$1") name=$(basename "$path") project=$(echo "$path" | sed -e "s;^$GOPAT...
435e25f067b660de95fc20e257cf9ec81b44c53a
bin/gorun-on-container.sh
bin/gorun-on-container.sh
Shell
<|file_sep|>original/src/coffee/cilantro/utils.coffee # Convenience method for setting a value using the dot-notion for # accessing nested structures. setDotProp = (obj, key, value) -> if typeof key is 'object' # Second argument is a boolean to whether or not to replace # th...
setDotProp = (obj, key, value) -> if typeof key is 'object' # Second argument is a boolean to whether or not to replace # the options if value is true return $.extend(true, {}, key) return $.extend(true, obj, key) toks = key.split('.')...
<|file_sep|>original/src/coffee/cilantro/utils.coffee # Convenience method for setting a value using the dot-notion for # accessing nested structures. setDotProp = (obj, key, value) -> if typeof key is 'object' # Second argument is a boolean to whether or not to replace # th...
88f4eb3f5a5026beb5490de71aa9197472268adf
src/coffee/cilantro/utils.coffee
src/coffee/cilantro/utils.coffee
CoffeeScript
<|file_sep|>templates/etc/cron.daily/puppet-apply.erb.diff original: PUPPET_OPTS="--detailed-exitcodes --color=false --confdir=<%= @conf_dir %>" updated: PUPPET_OPTS="--detailed-exitcodes --color=false" <|file_sep|>original/templates/etc/cron.daily/puppet-apply.erb LOG_FILE="<%= @log_file %>" TEMP_FILE=$(mktemp tmp.pup...
LOG_FILE="<%= @log_file %>" TEMP_FILE=$(mktemp tmp.puppet-XXXXXXXXXX) if [ "$EUID" -ne "0" ]; then echo "This script must be run as root." 1>&2 exit 1 fi chmod 600 $TEMP_FILE apt-get -qq update cd "<%= @conf_dir %>" puppet apply $PUPPET_OPTS $PUPPET_MANIFEST 2>&1 \ | gawk '{ print strftime("%Y-%m-%d %H:%M:%S"),...
<|file_sep|>templates/etc/cron.daily/puppet-apply.erb.diff original: PUPPET_OPTS="--detailed-exitcodes --color=false --confdir=<%= @conf_dir %>" updated: PUPPET_OPTS="--detailed-exitcodes --color=false" <|file_sep|>original/templates/etc/cron.daily/puppet-apply.erb LOG_FILE="<%= @log_file %>" TEMP_FILE=$(mktemp tmp.pup...
3c36fdae61a47d5db731952bd6ea5b49b8b661a4
templates/etc/cron.daily/puppet-apply.erb
templates/etc/cron.daily/puppet-apply.erb
HTML+ERB
<|file_sep|>webpack.config.babel.js.diff original: 'NODE_ENV': 'development' updated: 'NODE_ENV': 'development', <|file_sep|>original/webpack.config.babel.js } const prodConfig = { ...baseConfig, output: { ...baseConfig.output, filename: './dist/redux-most.min.js', }, plugins: [ new web...
} const prodConfig = { ...baseConfig, output: { ...baseConfig.output, filename: './dist/redux-most.min.js', }, plugins: [ new webpack.EnvironmentPlugin({ 'NODE_ENV': 'production', }), new webpack.optimize.UglifyJsPlugin({ compress: { screw_ie8: true, warnings: fa...
<|file_sep|>webpack.config.babel.js.diff original: 'NODE_ENV': 'development' updated: 'NODE_ENV': 'development', <|file_sep|>original/webpack.config.babel.js } const prodConfig = { ...baseConfig, output: { ...baseConfig.output, filename: './dist/redux-most.min.js', }, plugins: [ new web...
af2827c0ce2fdca4c095fb160d3fa1437fb400a6
webpack.config.babel.js
webpack.config.babel.js
JavaScript
<|file_sep|>original/src/gameroom/readme.md [&#8249; Facebook Gameroom Doc Home](./) <h1>Facebook Gameroom Integration Guide</h1> <<[../../shared/-VERSION-/version.md] ## Integration with Cocos Project ### Using SDKBOX Installer (recommend) - With SDKBOX Installer, you can install Gameroom Plugin in **Windows** ...
[&#8249; Facebook Gameroom Doc Home](./) <h1>Facebook Gameroom Integration Guide</h1> <<[../../shared/-VERSION-/version.md] ## Precondition Please follow [the guide](https://developers.facebook.com/docs/games/gameroom) from Facebook to setup a Facebook application with Gameroom configurations. ## Integration with C...
<|file_sep|>original/src/gameroom/readme.md [&#8249; Facebook Gameroom Doc Home](./) <h1>Facebook Gameroom Integration Guide</h1> <<[../../shared/-VERSION-/version.md] ## Integration with Cocos Project ### Using SDKBOX Installer (recommend) - With SDKBOX Installer, you can install Gameroom Plugin in **Windows** ...
a610be2a3ae3dfef91353a473b5db9dce81ed1a2
src/gameroom/readme.md
src/gameroom/readme.md
Markdown
<|file_sep|>original/.travis.yml fast_finish: true include: - rvm: 1.8.7 gemfile: Gemfile.1.8.7 - rvm: 1.9.3 gemfile: Gemfile - rvm: 2.0.0 gemfile: Gemfile - rvm: 2.1.0 gemfile: Gemfile env: COVERAGE=true - rvm: jruby-18mode gemfile: Gemfile.1.8.7 - rvm: j...
fast_finish: true include: - rvm: 1.8.7 gemfile: Gemfile.1.8.7 - rvm: 1.9.3 gemfile: Gemfile - rvm: 2.0.0 gemfile: Gemfile - rvm: 2.1.0 gemfile: Gemfile - rvm: 2.1.1 gemfile: Gemfile env: COVERAGE=true - rvm: jruby-18mode gemfile: Gemfile.1.8.7 -...
<|file_sep|>original/.travis.yml fast_finish: true include: - rvm: 1.8.7 gemfile: Gemfile.1.8.7 - rvm: 1.9.3 gemfile: Gemfile - rvm: 2.0.0 gemfile: Gemfile - rvm: 2.1.0 gemfile: Gemfile env: COVERAGE=true - rvm: jruby-18mode gemfile: Gemfile.1.8.7 - rvm: j...
fd98cb2c7341c5bd671771670012454bb4dc2f66
.travis.yml
.travis.yml
YAML
<|file_sep|>original/development-vm/replication/fetch-recent-mysql-backups.sh DIR=$OPTARG ;; u ) SSH_USER=$OPTARG ;; esac done shift $(($OPTIND-1)) MYSQL_SRC="mysql-slave-1.backend.preview:/var/lib/automysqlbackup/latest.tbz2" MYSQL_DIR="$DIR/mysql" mkdir -...
DIR=$OPTARG ;; u ) SSH_USER=$OPTARG ;; esac done shift $(($OPTIND-1)) MYSQL_SRC="mysql-backup-1.backend.preview:/var/lib/automysqlbackup/latest.tbz2" MYSQL_DIR="$DIR/mysql" mkdir -p $MYSQL_DIR if [[ -n $SSH_CONFIG ]]; then SSH_OPTIONS="-F $SSH_CONFIG" ...
<|file_sep|>original/development-vm/replication/fetch-recent-mysql-backups.sh DIR=$OPTARG ;; u ) SSH_USER=$OPTARG ;; esac done shift $(($OPTIND-1)) MYSQL_SRC="mysql-slave-1.backend.preview:/var/lib/automysqlbackup/latest.tbz2" MYSQL_DIR="$DIR/mysql" mkdir -...
7f2ad3d4d55c664ebb16862dc881973467ea57e8
development-vm/replication/fetch-recent-mysql-backups.sh
development-vm/replication/fetch-recent-mysql-backups.sh
Shell
<|file_sep|>original/Casks/phpstorm-eap.rb cask :v1 => 'phpstorm-eap' do version '139.873' sha256 '8405a198ee9720e05f0b589367514ae4b86bb28064cd7d2a9cc9a015b30a53c3' url "http://download.jetbrains.com/webide/PhpStorm-EAP-#{version}.dmg" homepage 'http://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+A...
cask :v1 => 'phpstorm-eap' do version '139.1226' sha256 '7f9e55d3f5070fb5869eb7053566f21067600d11f93435074fad9cf399ea1626' url "http://download.jetbrains.com/webide/PhpStorm-EAP-#{version}.dmg" homepage 'http://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program' license :commercial ap...
<|file_sep|>original/Casks/phpstorm-eap.rb cask :v1 => 'phpstorm-eap' do version '139.873' sha256 '8405a198ee9720e05f0b589367514ae4b86bb28064cd7d2a9cc9a015b30a53c3' url "http://download.jetbrains.com/webide/PhpStorm-EAP-#{version}.dmg" homepage 'http://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+A...
4c9725f323e7182dde8ebcd22308e49152ee32df
Casks/phpstorm-eap.rb
Casks/phpstorm-eap.rb
Ruby
<|file_sep|>blaze/compute/pytables.py.diff original: updated: import numpy as np <|file_sep|>blaze/compute/pytables.py.diff original: from blaze.expr import * updated: from blaze.expr import Selection, Head, Column, ColumnWise, Projection from blaze.expr import eval_str <|file_sep|>blaze/compute/pytables.py.diff origi...
for c in columns: out[c] = t.col(c) return out @dispatch(Head, tb.Table) def compute_one(h, t, **kwargs): return t[:h.n] @dispatch(Column, tb.Table) def compute_one(c, t, **kwargs): return t.col(c.column) @dispatch(ColumnWise, tb.Table) def compute_one(c, t, **kwargs): columns = c.acti...
<|file_sep|>blaze/compute/pytables.py.diff original: updated: import numpy as np <|file_sep|>blaze/compute/pytables.py.diff original: from blaze.expr import * updated: from blaze.expr import Selection, Head, Column, ColumnWise, Projection from blaze.expr import eval_str <|file_sep|>blaze/compute/pytables.py.diff origi...
2654812e66ad7388a4dd7f1e53dbdf6511f74908
blaze/compute/pytables.py
blaze/compute/pytables.py
Python
<|file_sep|>simple-cipher/simple_cipher.py.diff original: def encode(self, s): updated: def encode(self, s, dirn=1): <|file_sep|>simple-cipher/simple_cipher.py.diff original: return "".join(self._shift(c, k) for c, k in zip(chars, key)) updated: return "".join(self._shift(c, dirn*k) for c, k in ...
self.key = key self._key = [ord(k)-97 for k in key] def encode(self, s, dirn=1): key = self._key * math.ceil(len(s)/len(self._key)) chars = [c for c in s.lower() if c in ascii_lowercase] return "".join(self._shift(c, dirn*k) for c, k in zip(chars, key)) def decode(self,...
<|file_sep|>simple-cipher/simple_cipher.py.diff original: def encode(self, s): updated: def encode(self, s, dirn=1): <|file_sep|>simple-cipher/simple_cipher.py.diff original: return "".join(self._shift(c, k) for c, k in zip(chars, key)) updated: return "".join(self._shift(c, dirn*k) for c, k in ...
3a86ea268b7cb9f00968e7dcb228d6821dafda99
simple-cipher/simple_cipher.py
simple-cipher/simple_cipher.py
Python
<|file_sep|>original/src/utils/index.ts } export function getDiagonals(grid: Grid): Diagonal[] { // TODO: Make it work return []; } function getArray(length: number) { return Array.apply(null, { length }).map(Number.call, Number); } export function transpose<T>(grid: Array<T>): Array<T> { const size = Math.s...
} export function getDiagonals(grid: Grid): Diagonal[] { // TODO: Make it work return []; } function getArray(length: number) { return Array.apply(null, { length }).map(Number.call, Number); } export function transpose<T>(grid: Array<T>): Array<T> { const size = Math.sqrt(grid.length); const transposed = g...
<|file_sep|>original/src/utils/index.ts } export function getDiagonals(grid: Grid): Diagonal[] { // TODO: Make it work return []; } function getArray(length: number) { return Array.apply(null, { length }).map(Number.call, Number); } export function transpose<T>(grid: Array<T>): Array<T> { const size = Math.s...
d2f47826315dbeb9f8fc712f41bb18599e5d5caf
src/utils/index.ts
src/utils/index.ts
TypeScript
<|file_sep|>original/zuul.d/layout.yaml <|file_sep|>current/zuul.d/layout.yaml <|file_sep|>updated/zuul.d/layout.yaml
--- - project: name: openstack/tripleo-image-elements templates: - tripleo-multinode-baremetal-minimal - tripleo-multinode-container-minimal - tripleo-ovb-check - tripleo-ovb-experimental
<|file_sep|>original/zuul.d/layout.yaml <|file_sep|>current/zuul.d/layout.yaml <|file_sep|>updated/zuul.d/layout.yaml --- - project: name: openstack/tripleo-image-elements templates: - tripleo-multinode-baremetal-minimal - tripleo-multinode-container-minimal - tripleo-ovb-check - trip...
90b9a25af76c3bb6a0d4141171a0f6ae09180779
zuul.d/layout.yaml
zuul.d/layout.yaml
YAML
<|file_sep|>sample_app/forms.py.diff original: from wtforms.validators import Required updated: from wtforms.validators import Required, Email <|file_sep|>original/sample_app/forms.py from flask_wtf import Form from wtforms.fields import (TextField, SubmitField, BooleanField, DateField, Date...
from flask_wtf import Form from wtforms.fields import (TextField, SubmitField, BooleanField, DateField, DateTimeField) from wtforms.validators import Required, Email class SignupForm(Form): name = TextField(u'Your name', validators=[Required()]) email = TextField(u'Your email addre...
<|file_sep|>sample_app/forms.py.diff original: from wtforms.validators import Required updated: from wtforms.validators import Required, Email <|file_sep|>original/sample_app/forms.py from flask_wtf import Form from wtforms.fields import (TextField, SubmitField, BooleanField, DateField, Date...
0200c03f8f6232965f924a765c5ebb0f9c439f4d
sample_app/forms.py
sample_app/forms.py
Python
<|file_sep|>original/examples/models.rb end class Post < ActiveRecord::Base belongs_to :author, class_name: "User" has_many :comments has_many :comments_author, through: :comments # Easy and powerful scope examples scope :by_admin, -> { where_assoc_exists(:author, &:admins) } scope :commented_on_by_admin,...
end class Post < ActiveRecord::Base belongs_to :author, class_name: "User" has_many :comments has_many :comments_author, through: :comments # Easy and powerful scope examples scope :by_admin, -> { where_assoc_exists(:author, &:admins) } scope :commented_on_by_admin, -> { where_assoc_exists(:comments, &:by...
<|file_sep|>original/examples/models.rb end class Post < ActiveRecord::Base belongs_to :author, class_name: "User" has_many :comments has_many :comments_author, through: :comments # Easy and powerful scope examples scope :by_admin, -> { where_assoc_exists(:author, &:admins) } scope :commented_on_by_admin,...
32713d14fc003fb1e2f036a534225dd4ee95a221
examples/models.rb
examples/models.rb
Ruby
<|file_sep|>original/sunpy/util/map_manager.py import weakref import sunpy class MapManager(weakref.WeakSet): """Weak referenced set of maps created using functions decorated by manage_maps.""" def __repr__(self): return str(self.data) def manage_maps(fn): """Maps returned by functions decorated ...
import weakref import sunpy class MapManager(weakref.WeakSet): """Weak referenced set of maps created using functions decorated by manage_maps.""" pass def manage_maps(fn): """Maps returned by functions decorated with manage_maps (eg. sunpy.make_map) will be registered in the sunpy.map_manager list.""...
<|file_sep|>original/sunpy/util/map_manager.py import weakref import sunpy class MapManager(weakref.WeakSet): """Weak referenced set of maps created using functions decorated by manage_maps.""" def __repr__(self): return str(self.data) def manage_maps(fn): """Maps returned by functions decorated ...
0b41bdf6897bb070fc3d90aa5d90228e744dee60
sunpy/util/map_manager.py
sunpy/util/map_manager.py
Python
<|file_sep|>original/lib/logstash-logger/device/socket.rb require 'socket' module LogStashLogger module Device class Socket < Connectable DEFAULT_HOST = '0.0.0.0' attr_reader :host, :port def initialize(opts) super @port = opts[:port] || fail(ArgumentError, "Port is required")...
require 'socket' module LogStashLogger module Device class Socket < Connectable DEFAULT_HOST = '0.0.0.0' attr_reader :host, :port def initialize(opts) super @port = opts[:port] || fail(ArgumentError, "Port is required") @host = opts[:host] || DEFAULT_HOST end ...
<|file_sep|>original/lib/logstash-logger/device/socket.rb require 'socket' module LogStashLogger module Device class Socket < Connectable DEFAULT_HOST = '0.0.0.0' attr_reader :host, :port def initialize(opts) super @port = opts[:port] || fail(ArgumentError, "Port is required")...
eb6fb04697015fbcf8e05854d7c97a130b2ceeb0
lib/logstash-logger/device/socket.rb
lib/logstash-logger/device/socket.rb
Ruby
<|file_sep|>client/modules/core/components/poll_list_screen.jsx.diff original: import { Button } from 'rebass'; updated: <|file_sep|>original/client/modules/core/components/poll_list_screen.jsx import React, { PropTypes } from 'react'; import PollList from '../containers/poll_list.js'; import { Button } from 'rebass';...
import React, { PropTypes } from 'react'; import PollList from '../containers/poll_list.js'; const PollListScreen = ({newPoll}) => ( <div style={{paddingTop: 48}}> <PollList /> </div> ); PollListScreen.propTypes = { newPoll: PropTypes.func }; export default PollListScreen;
<|file_sep|>client/modules/core/components/poll_list_screen.jsx.diff original: import { Button } from 'rebass'; updated: <|file_sep|>original/client/modules/core/components/poll_list_screen.jsx import React, { PropTypes } from 'react'; import PollList from '../containers/poll_list.js'; import { Button } from 'rebass';...
c4e33d6b6426dba0961c13350cb0f1bd69d8753c
client/modules/core/components/poll_list_screen.jsx
client/modules/core/components/poll_list_screen.jsx
JSX
<|file_sep|>original/config.ru require File.expand_path("../init", __FILE__) if ENV['ADMIN_USERNAME'] && ENV['ADMIN_PASSWORD'] use Rack::Auth::Basic do |user, pass| user == ENV['ADMIN_USERNAME'] && pass == ENV['ADMIN_PASSWORD'] end end run Integrity.app <|file_sep|>current/config.ru require File.expand_path(".....
require File.expand_path("../init", __FILE__) if ENV['ADMIN_USERNAME'] && ENV['ADMIN_PASSWORD'] use Rack::Auth::Basic do |username, password| username == ENV['ADMIN_USERNAME'] && password == ENV['ADMIN_PASSWORD'] end end run Integrity.app
<|file_sep|>original/config.ru require File.expand_path("../init", __FILE__) if ENV['ADMIN_USERNAME'] && ENV['ADMIN_PASSWORD'] use Rack::Auth::Basic do |user, pass| user == ENV['ADMIN_USERNAME'] && pass == ENV['ADMIN_PASSWORD'] end end run Integrity.app <|file_sep|>current/config.ru require File.expand_path(".....
bc21a941769e59b453a7057b25ca22734d6a514a
config.ru
config.ru
Ruby
<|file_sep|>typescript.js.diff original: '@typescript-eslint/parser': ['.ts', '.tsx'] updated: '@typescript-eslint/parser': ['.ts', '.tsx'], <|file_sep|>typescript.js.diff original: 'node': { 'extensions': ['.js', '.ts', '.tsx'], updated: node: { extensions: ['.js', '.ts', '.tsx'...
'prettier/@typescript-eslint', ], parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint'], settings: { 'import/extensions': ['.js', '.ts', '.tsx'], 'import/parsers': { '@typescript-eslint/parser': ['.ts', '.tsx'], }, 'import/resolver': { node: { extensions: [...
<|file_sep|>typescript.js.diff original: '@typescript-eslint/parser': ['.ts', '.tsx'] updated: '@typescript-eslint/parser': ['.ts', '.tsx'], <|file_sep|>typescript.js.diff original: 'node': { 'extensions': ['.js', '.ts', '.tsx'], updated: node: { extensions: ['.js', '.ts', '.tsx'...
563d1450e1848e2c34f3bf14b66474ca1dfb4f6d
typescript.js
typescript.js
JavaScript
<|file_sep|>original/meetings/osf_oauth2_adapter/provider.py class OSFProvider(OAuth2Provider): id = 'osf' name = 'Open Science Framework' account_class = OSFAccount def extract_common_fields(self, data): attributes = data.get('data').get('attributes') return dict( # we coul...
class OSFProvider(OAuth2Provider): id = 'osf' name = 'Open Science Framework' account_class = OSFAccount def extract_common_fields(self, data): attributes = data.get('data').get('attributes') return dict( # we could put more fields here later # the api has much m...
<|file_sep|>original/meetings/osf_oauth2_adapter/provider.py class OSFProvider(OAuth2Provider): id = 'osf' name = 'Open Science Framework' account_class = OSFAccount def extract_common_fields(self, data): attributes = data.get('data').get('attributes') return dict( # we coul...
e5f4627845a6874aa983d2d8ea02d5bea0fab8e2
meetings/osf_oauth2_adapter/provider.py
meetings/osf_oauth2_adapter/provider.py
Python
<|file_sep|>src/main/java/net/floodlightcontroller/prediction/TopologyGraphResource.java.diff original: updated: import org.json.JSONObject; import org.restlet.resource.Get; import org.restlet.resource.Post; import org.restlet.resource.ServerResource; <|file_sep|>src/main/java/net/floodlightcontroller/prediction/Topo...
public class TopologyGraphResource extends ServerResource { @Get("json") public String retrieve() throws FileNotFoundException, UnsupportedEncodingException { INetTopologyService pihr = (INetTopologyService)getContext().getAttributes().get(INetTopologyService.class.getCanonicalName()); return pihr.getTo...
<|file_sep|>src/main/java/net/floodlightcontroller/prediction/TopologyGraphResource.java.diff original: updated: import org.json.JSONObject; import org.restlet.resource.Get; import org.restlet.resource.Post; import org.restlet.resource.ServerResource; <|file_sep|>src/main/java/net/floodlightcontroller/prediction/Topo...
14b193bfc795857d359c7f9df2c996446f71e82f
src/main/java/net/floodlightcontroller/prediction/TopologyGraphResource.java
src/main/java/net/floodlightcontroller/prediction/TopologyGraphResource.java
Java
<|file_sep|>original/windows_base_dir/readme.md <|file_sep|>current/windows_base_dir/readme.md <|file_sep|>updated/windows_base_dir/readme.md
To make an ISO to attach to the vSphere VM, run from the root agent directory on OSX: `hdiutil makehybrid -o cd-rom.iso windows_base_dir/ -iso -joliet`
<|file_sep|>original/windows_base_dir/readme.md <|file_sep|>current/windows_base_dir/readme.md <|file_sep|>updated/windows_base_dir/readme.md To make an ISO to attach to the vSphere VM, run from the root agent directory on OSX: `hdiutil makehybrid -o cd-rom.iso windows_base_dir/ -iso -joliet`
de00aeaed6458964da3489820ad33f63a00be3fc
windows_base_dir/readme.md
windows_base_dir/readme.md
Markdown
<|file_sep|>original/package.json "keywords": [ "coinbase", "paypal" ], "author": "Jon Buckley <jon@jbuckley.ca>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/jbuck/mofo-transaction-storage/issues" }, "homepage": "https://github.com/jbuck/mofo-transaction-storage", "depende...
"keywords": [ "coinbase", "paypal" ], "author": "Jon Buckley <jon@jbuckley.ca>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/jbuck/mofo-transaction-storage/issues" }, "homepage": "https://github.com/jbuck/mofo-transaction-storage", "dependencies": { "async": "1.5.0", ...
<|file_sep|>original/package.json "keywords": [ "coinbase", "paypal" ], "author": "Jon Buckley <jon@jbuckley.ca>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/jbuck/mofo-transaction-storage/issues" }, "homepage": "https://github.com/jbuck/mofo-transaction-storage", "depende...
d0451e9c767819e33d62445298d560c0a7b504e7
package.json
package.json
JSON
<|file_sep|>original/bower.json "Dennis Morhardt <info@dennismorhardt.de>" ], "description": "", "private": true, "ignore": [ "**/.*", "node_modules", "bower_components", "application/components", "test", "tests" ], "dependencies": { "jquery": "~2.1.0", "bootstrap": "~3.2...
], "description": "", "private": true, "ignore": [ "**/.*", "node_modules", "bower_components", "application/components", "test", "tests" ], "dependencies": { "jquery": "~2.1.0", "bootstrap": "~3.2.0", "requirejs": "~2.1.0", "retina.js": "~1.3.0", "mustache.js": "...
<|file_sep|>original/bower.json "Dennis Morhardt <info@dennismorhardt.de>" ], "description": "", "private": true, "ignore": [ "**/.*", "node_modules", "bower_components", "application/components", "test", "tests" ], "dependencies": { "jquery": "~2.1.0", "bootstrap": "~3.2...
3ed6caaacee77a9d6a39a4f1b66fe52674fd1ee2
bower.json
bower.json
JSON
<|file_sep|>setup.py.diff original: updated: import io <|file_sep|>original/setup.py #!/usr/bin/env python import os import re from setuptools import setup setup_dir = os.path.dirname(__file__) readme_contents = open(os.path.join(setup_dir, 'README.rst')).read() faucet_version = re.match(r'.+version: ([0-9\.]+)', r...
#!/usr/bin/env python import io import os import re from setuptools import setup setup_dir = os.path.dirname(__file__) readme_contents = io.open(os.path.join(setup_dir, 'README.rst'), encoding="utf-8").read() faucet_version = re.match(r'.+version: ([0-9\.]+)', readme_contents).group(1) os.environ["PBR_VERSION"] = fa...
<|file_sep|>setup.py.diff original: updated: import io <|file_sep|>original/setup.py #!/usr/bin/env python import os import re from setuptools import setup setup_dir = os.path.dirname(__file__) readme_contents = open(os.path.join(setup_dir, 'README.rst')).read() faucet_version = re.match(r'.+version: ([0-9\.]+)', r...
02b4f6a9513aa5213de0573b6a514a7221e7d625
setup.py
setup.py
Python
<|file_sep|>original/ui/src/shared/components/FeatureFlag.tsx import {SFC} from 'react' interface Props { children?: any } const FeatureFlag: SFC<Props> = props => { if (process.env.NODE_ENV === 'development') { return props.children } return null } export default FeatureFlag <|file_sep|>current/ui/src/...
import {SFC} from 'react' interface Props { name?: string children?: any } const FeatureFlag: SFC<Props> = props => { if (process.env.NODE_ENV === 'development') { return props.children } return null } export default FeatureFlag
<|file_sep|>original/ui/src/shared/components/FeatureFlag.tsx import {SFC} from 'react' interface Props { children?: any } const FeatureFlag: SFC<Props> = props => { if (process.env.NODE_ENV === 'development') { return props.children } return null } export default FeatureFlag <|file_sep|>current/ui/src/...
dedd2fd7f3c49c36e0d4ad3b21b0546c2bc4a429
ui/src/shared/components/FeatureFlag.tsx
ui/src/shared/components/FeatureFlag.tsx
TypeScript
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" matrix: allow_failures: - node_js: "0.11" install: # Install jscs before other modules to prevent race conditions - npm install jscs # Install dependencies and dev dependencies - npm install notifications: email: false ...
language: node_js node_js: - "0.11" - "0.10" matrix: allow_failures: - node_js: "0.11" notifications: email: false
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" matrix: allow_failures: - node_js: "0.11" install: # Install jscs before other modules to prevent race conditions - npm install jscs # Install dependencies and dev dependencies - npm install notifications: email: false ...
ec7301c84ad9f8490954d4413589eb6cd44ec033
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/directives/page-size.html <ul> <li ng-repeat="pageSize in pagesList.pageSizes"> <a href="{{pagesHref}}" ng-click="pagesList.changePageSize(pageSize)" ng-class="{active: pageSize === pagesList.currentPageSize}">{{pageSize}}</a> </li> </ul> <|file_sep|>current/app...
<li ng-repeat="pageSize in pagesList.pageSizes"> <a href="{{pagesHref}}" ng-click="pagesList.changePageSize(pageSize)" ng-class="{active: pageSize === pagesList.currentPageSize}">{{pageSize}}</a> </li>
<|file_sep|>original/app/views/directives/page-size.html <ul> <li ng-repeat="pageSize in pagesList.pageSizes"> <a href="{{pagesHref}}" ng-click="pagesList.changePageSize(pageSize)" ng-class="{active: pageSize === pagesList.currentPageSize}">{{pageSize}}</a> </li> </ul> <|file_sep|>current/app...
810fc627a9c39949372af2274f7a8d4d1a9ac146
app/views/directives/page-size.html
app/views/directives/page-size.html
HTML
<|file_sep|>android_mobile/src/main/res/menu/menu_nav_drawer.xml.diff original: <group> updated: <group android:id="@+id/import_events"> <|file_sep|>android_mobile/src/main/res/menu/menu_nav_drawer.xml.diff original: updated: <group android:id="@+id/open_source"> <item android:id="@+id/nav_github_link"...
<item android:id="@+id/nav_github_link" android:icon="@drawable/ic_github" android:title="@string/Memento_on_Github" /> </group> <group android:id="@+id/memento"> <item android:id="@+id/nav_donate" android:icon="@drawable/ic_donate" android:title="@string/Donate_Remove_a...
<|file_sep|>android_mobile/src/main/res/menu/menu_nav_drawer.xml.diff original: <group> updated: <group android:id="@+id/import_events"> <|file_sep|>android_mobile/src/main/res/menu/menu_nav_drawer.xml.diff original: updated: <group android:id="@+id/open_source"> <item android:id="@+id/nav_github_link"...
3225adcf77215395921c7ae36e69df3f9d4d4345
android_mobile/src/main/res/menu/menu_nav_drawer.xml
android_mobile/src/main/res/menu/menu_nav_drawer.xml
XML