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/spec/routing/interstate_line_route_spec.rb <|file_sep|>current/spec/routing/interstate_line_route_spec.rb <|file_sep|>updated/spec/routing/interstate_line_route_spec.rb
require 'spec_helper' describe "routing to interstate_lines" do it { {:get, "/game/1/interstate_lines"}.should route_to(:action => :index, :game => 1, :controller => "interstate_lines") } it { {:get, "/game/1/region/2/interstate_lines"}.should route_to( :action => :index, :game => 1, :region => 2, ...
<|file_sep|>original/spec/routing/interstate_line_route_spec.rb <|file_sep|>current/spec/routing/interstate_line_route_spec.rb <|file_sep|>updated/spec/routing/interstate_line_route_spec.rb require 'spec_helper' describe "routing to interstate_lines" do it { {:get, "/game/1/interstate_lines"}.should route_to(:acti...
0780513a17721df158205179334c165705155124
spec/routing/interstate_line_route_spec.rb
spec/routing/interstate_line_route_spec.rb
Ruby
<|file_sep|>original/import_export.html <|file_sep|>current/import_export.html <|file_sep|>updated/import_export.html
<!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <meta charset="utf-8"> <title>{{userName}}'s Latitude (Import / Export)</title> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link href='http://fonts.googleapis.com/css?family=R...
<|file_sep|>original/import_export.html <|file_sep|>current/import_export.html <|file_sep|>updated/import_export.html <!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <meta charset="utf-8"> <title>{{userName}}'s Latitude (Import / Export)</title> <link...
ebcfad3bff1710456f1988a8e2a388c2a679db5d
import_export.html
import_export.html
HTML
<|file_sep|>original/package.json { "name": "export-163-blog", "version": "0.1.0", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/rainyjune/export-163-blog" }, "bugs": { "url": "https://github.com/rainyjune/export-163-blog/issues" }, "devDependencies": { "ico...
{ "name": "export-163-blog", "version": "0.1.0", "description": "Export a copy of your blog's posts from NetEase Blog right now!", "main": "fire.js", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/rainyjune/export-163-blog" }, "bugs": { "url": "https://github.com...
<|file_sep|>original/package.json { "name": "export-163-blog", "version": "0.1.0", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/rainyjune/export-163-blog" }, "bugs": { "url": "https://github.com/rainyjune/export-163-blog/issues" }, "devDependencies": { "ico...
095606e62f709595104ead55757d4a79bb01d06d
package.json
package.json
JSON
<|file_sep|>original/usr.sbin/lpr/Makefile # $FreeBSD$ SUBDIR= common_source chkprintcap lp lpc lpd lpq lpr lprm lptest pac \ filters filters.ru SMM.doc MAINTAINER= wollman@FreeBSD.org MAINTAINER+= drosih@rpi.edu .include <bsd.subdir.mk> <|file_sep|>current/usr.sbin/lpr/Makefile # $FreeBSD$ SUBDIR= common_source ...
# $FreeBSD$ SUBDIR= common_source chkprintcap lp lpc lpd lpq lpr lprm lptest pac \ filters filters.ru SMM.doc MAINTAINER= wollman@FreeBSD.org MAINTAINER+= gad@FreeBSD.org .include <bsd.subdir.mk>
<|file_sep|>original/usr.sbin/lpr/Makefile # $FreeBSD$ SUBDIR= common_source chkprintcap lp lpc lpd lpq lpr lprm lptest pac \ filters filters.ru SMM.doc MAINTAINER= wollman@FreeBSD.org MAINTAINER+= drosih@rpi.edu .include <bsd.subdir.mk> <|file_sep|>current/usr.sbin/lpr/Makefile # $FreeBSD$ SUBDIR= common_source ...
bd3cb54e6c8469e9aaa63a1a415be4507ac7cf10
usr.sbin/lpr/Makefile
usr.sbin/lpr/Makefile
unknown
<|file_sep|>api/composer.json.diff original: updated: "require-dev": { "phpunit/phpunit": "5.7.9" }, <|file_sep|>original/api/composer.json { "name": "mike-koch/Mods-for-HESK", "description": "New UI and features for HESK, a free helpdesk solution", "minimum-stability": "dev", "license": "MIT", "auth...
"description": "New UI and features for HESK, a free helpdesk solution", "minimum-stability": "dev", "license": "MIT", "authors": [ { "name": "Mike Koch", "email": "mkoch227@gmail.com" } ], "require-dev": { "phpunit/phpunit": "5.7.9" }, "require": { "phpmailer/phpmailer": "^5...
<|file_sep|>api/composer.json.diff original: updated: "require-dev": { "phpunit/phpunit": "5.7.9" }, <|file_sep|>original/api/composer.json { "name": "mike-koch/Mods-for-HESK", "description": "New UI and features for HESK, a free helpdesk solution", "minimum-stability": "dev", "license": "MIT", "auth...
991c5cb87c93443462bbbedf4a77023a2f7c364c
api/composer.json
api/composer.json
JSON
<|file_sep|>original/paypal/base.py request_params = urlparse.parse_qs(self.raw_request) return self._as_table(request_params) request.allow_tags = True def response(self): return self._as_table(self.context) response.allow_tags = True def _as_table(self, params): rows ...
request_params = urlparse.parse_qs(self.raw_request) return self._as_table(request_params) request.allow_tags = True def response(self): return self._as_table(self.context) response.allow_tags = True def _as_table(self, params): rows = [] for k, v in sorted(para...
<|file_sep|>original/paypal/base.py request_params = urlparse.parse_qs(self.raw_request) return self._as_table(request_params) request.allow_tags = True def response(self): return self._as_table(self.context) response.allow_tags = True def _as_table(self, params): rows ...
a7083c3c70142f744ace0055c537d9217ed9cbfe
paypal/base.py
paypal/base.py
Python
<|file_sep|>buildconf.sh.diff original: # $Id: buildconf.sh,v 1.15 2003-05-06 11:37:18 adam Exp $ updated: # $Id: buildconf.sh,v 1.16 2003-05-06 12:09:10 adam Exp $ <|file_sep|>original/buildconf.sh #!/bin/sh # $Id: buildconf.sh,v 1.15 2003-05-06 11:37:18 adam Exp $ set -x aclocal libtoolize --automake --force automak...
#!/bin/sh # $Id: buildconf.sh,v 1.16 2003-05-06 12:09:10 adam Exp $ set -x aclocal libtoolize --automake --force automake --add-missing automake --add-missing autoconf if [ -f config.cache ]; then rm config.cache fi
<|file_sep|>buildconf.sh.diff original: # $Id: buildconf.sh,v 1.15 2003-05-06 11:37:18 adam Exp $ updated: # $Id: buildconf.sh,v 1.16 2003-05-06 12:09:10 adam Exp $ <|file_sep|>original/buildconf.sh #!/bin/sh # $Id: buildconf.sh,v 1.15 2003-05-06 11:37:18 adam Exp $ set -x aclocal libtoolize --automake --force automak...
0d224465e46c5886cfdd5002b34cd3b239043fb5
buildconf.sh
buildconf.sh
Shell
<|file_sep|>original/skel/containers/source/Dockerfile.mo #FROM busybox FROM dmp1ce/php-fpm-drupal MAINTAINER David Parrish <daveparrish@tutanota.com> # Source directory. Will be deleted on rebuilds to refresh source. # Copy source COPY {{PROJECT_SOURCE_PATH}} {{PROJECT_SOURCE_CONTAINER_PATH}} # Use make.sh script f...
FROM dmp1ce/php-fpm-drupal:5 MAINTAINER David Parrish <daveparrish@tutanota.com> # Source directory. Will be deleted on rebuilds to refresh source. # Copy source COPY {{PROJECT_SOURCE_PATH}} {{PROJECT_SOURCE_CONTAINER_PATH}} # Use make.sh script for setting up source COPY make.sh /srv/http/make.sh RUN chmod +rx /srv...
<|file_sep|>original/skel/containers/source/Dockerfile.mo #FROM busybox FROM dmp1ce/php-fpm-drupal MAINTAINER David Parrish <daveparrish@tutanota.com> # Source directory. Will be deleted on rebuilds to refresh source. # Copy source COPY {{PROJECT_SOURCE_PATH}} {{PROJECT_SOURCE_CONTAINER_PATH}} # Use make.sh script f...
472f2aee9920263d3a05036d4277a9ab91fa1406
skel/containers/source/Dockerfile.mo
skel/containers/source/Dockerfile.mo
Modelica
<|file_sep|>original/.travis.yml language: python python: - "3.3" install: - pip install -e .[dev] script: - cd .. - > py.test --ignore tangled/setup.py --ignore tangled/tangled/__main__.py --cov tangled/tangled --doctest-modules tangled/tangled <|file_sep|>current/.travis.yml language: ...
language: python python: - "3.3" install: - pip install -e .[dev] script: - cd .. - > py.test --ignore tangled/setup.py --ignore tangled/tangled/__main__.py --cov tangled/tangled --doctest-modules tangled/tangled - sphinx-build -E ./tangled/docs docs
<|file_sep|>original/.travis.yml language: python python: - "3.3" install: - pip install -e .[dev] script: - cd .. - > py.test --ignore tangled/setup.py --ignore tangled/tangled/__main__.py --cov tangled/tangled --doctest-modules tangled/tangled <|file_sep|>current/.travis.yml language: ...
e71c06b5c5b7b907bbbc5f988cc1759915aaa613
.travis.yml
.travis.yml
YAML
<|file_sep|>original/MsgPack-RPC.nuspec.xml <?xml version="1.0"?> <package> <metadata> <version>0.2-beta1</version> <authors>FUJIWARA, Yusuke</authors> <owners>FUJIWARA, Yusuke</owners> <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl> <projectUrl>https://github.com/msgpack/msgpa...
<?xml version="1.0"?> <package> <metadata> <version>0.2-beta1</version> <authors>FUJIWARA, Yusuke</authors> <owners>FUJIWARA, Yusuke</owners> <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl> <projectUrl>https://github.com/yfakariya/msgpack-rpc-cli</projectUrl> <requireLicens...
<|file_sep|>original/MsgPack-RPC.nuspec.xml <?xml version="1.0"?> <package> <metadata> <version>0.2-beta1</version> <authors>FUJIWARA, Yusuke</authors> <owners>FUJIWARA, Yusuke</owners> <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl> <projectUrl>https://github.com/msgpack/msgpa...
bc1ae252285f75dac3e2844448e37b63c62e7df0
MsgPack-RPC.nuspec.xml
MsgPack-RPC.nuspec.xml
XML
<|file_sep|>original/gradle.properties #Tue Aug 19 17:42:53 CEST 2014 version=0.1.1-SNAPSHOT group=com.rapidminer.gradle <|file_sep|>current/gradle.properties #Tue Aug 19 17:42:53 CEST 2014 version=0.1.1-SNAPSHOT group=com.rapidminer.gradle <|file_sep|>updated/gradle.properties
#Tue Aug 19 17:42:53 CEST 2014 version=0.1.1 group=com.rapidminer.gradle
<|file_sep|>original/gradle.properties #Tue Aug 19 17:42:53 CEST 2014 version=0.1.1-SNAPSHOT group=com.rapidminer.gradle <|file_sep|>current/gradle.properties #Tue Aug 19 17:42:53 CEST 2014 version=0.1.1-SNAPSHOT group=com.rapidminer.gradle <|file_sep|>updated/gradle.properties #Tue Aug 19 17:42:53 CEST 2014 version=0....
b4accf537abe976f8f9b4ef73c133aea90e19f3a
gradle.properties
gradle.properties
INI
<|file_sep|>original/examples/23-delete-customer.php <|file_sep|>current/examples/23-delete-customer.php <|file_sep|>updated/examples/23-delete-customer.php
<?php /* Example 23 - Delete a customer from mollie api. */ try { /* * Initialize the Mollie API library with your API key or OAuth access token. */ require "initialize.php"; $mollie->customers->delete("customer_id"); echo "Customer deleted!"; } catch (\Mollie\Api\Exceptions\ApiException $e) { ...
<|file_sep|>original/examples/23-delete-customer.php <|file_sep|>current/examples/23-delete-customer.php <|file_sep|>updated/examples/23-delete-customer.php <?php /* Example 23 - Delete a customer from mollie api. */ try { /* * Initialize the Mollie API library with your API key or OAuth access token. */ r...
dc3fb4ba23ef9592f1262ab82147c6ef61b566aa
examples/23-delete-customer.php
examples/23-delete-customer.php
PHP
<|file_sep|>original/README.md # Welgam Welgam is a Weight Loss Gamification programme for people wanting to lose (or gain, actually) weight. ## Usecases supported Those marked in bold have been implemented: * **Competition add** * **Competition edit** * **Competition delete** * Racer add * Racer edit * Racer...
# Welgam Welgam is a Weight Loss Gamification programme for people wanting to lose (or gain, actually) weight. ## Usecases supported Those marked in bold have been implemented: * **Competition add** * **Competition edit** * **Competition delete** * **Racer add** * Racer edit * Racer delete * Racer award * U...
<|file_sep|>original/README.md # Welgam Welgam is a Weight Loss Gamification programme for people wanting to lose (or gain, actually) weight. ## Usecases supported Those marked in bold have been implemented: * **Competition add** * **Competition edit** * **Competition delete** * Racer add * Racer edit * Racer...
a9b203ab13198c2be4b779a207426f645fddaf01
README.md
README.md
Markdown
<|file_sep|>original/PMD/static/js/file-upload-helper.js fileReader.onerror = function(event) { $.bootstrapGrowl('Something went wrong', { type: 'danger' }); $('#inputFile').val(null); $('#inputFileResult').hide(); } }); $('#fileUp...
$.bootstrapGrowl('Something went wrong', { type: 'danger' }); $('#inputFile').val(null); $('#inputFileResult').hide(); } }); $('#fileUploadSubmit').click(function() { if (fileText == null) { $.bootstrapGrowl('Choose a f...
<|file_sep|>original/PMD/static/js/file-upload-helper.js fileReader.onerror = function(event) { $.bootstrapGrowl('Something went wrong', { type: 'danger' }); $('#inputFile').val(null); $('#inputFileResult').hide(); } }); $('#fileUp...
366fd0d352684e96b2fb04520206933ab75fea42
PMD/static/js/file-upload-helper.js
PMD/static/js/file-upload-helper.js
JavaScript
<|file_sep|>original/.travis.yml sudo: false language: go go: - "1.13" - "1.14" - tip os: - linux - osx matrix: allow_failures: - go: tip fast_finish: true script: - go build -v ./... - go test -count=1 -cover -race -v ./... <|file_sep|>current/.travis.yml sudo: false language: go go: - "1...
language: go go: - "1.13" - "1.14" - tip os: - linux - osx matrix: allow_failures: - go: tip fast_finish: true script: - go build -v ./... - go test -count=1 -cover -race -v ./... - go vet ./... - FILES=$(gofmt -s -l . zipfs sftpfs mem); if [[ -n "${FILES}" ]]; then echo "You have go form...
<|file_sep|>original/.travis.yml sudo: false language: go go: - "1.13" - "1.14" - tip os: - linux - osx matrix: allow_failures: - go: tip fast_finish: true script: - go build -v ./... - go test -count=1 -cover -race -v ./... <|file_sep|>current/.travis.yml sudo: false language: go go: - "1...
d66a0674cac8fb987e6ec8762726fcf8a28b6b6e
.travis.yml
.travis.yml
YAML
<|file_sep|>_posts/continuous-integration/2014-09-03-using-subdomains.md.diff original: title: Using Subdomains updated: title: Custom DNS Resolution <|file_sep|>_posts/continuous-integration/2014-09-03-using-subdomains.md.diff original: - subdomains updated: - subdomain <|file_sep|>_posts/continuous-integration/20...
tags: - subdomain - testing - dns - xip.io - lvh.me categories: - continuous-integration --- Sometimes you need to access your application at a specific URL during the build. As it is not possible to modify the `/etc/hosts` file or run your own DNS server on the build VMs, we recommend you use a wildcard ...
<|file_sep|>_posts/continuous-integration/2014-09-03-using-subdomains.md.diff original: title: Using Subdomains updated: title: Custom DNS Resolution <|file_sep|>_posts/continuous-integration/2014-09-03-using-subdomains.md.diff original: - subdomains updated: - subdomain <|file_sep|>_posts/continuous-integration/20...
bc0b01ef8533bce627a7b0cf82d3b0d6ec277503
_posts/continuous-integration/2014-09-03-using-subdomains.md
_posts/continuous-integration/2014-09-03-using-subdomains.md
Markdown
<|file_sep|>original/MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalDataImport.h extern NSString * const kMagicalRecordImportUnixTimeString; extern NSString * const kMagicalRecordImportAttributeKeyMapKey; extern NSString * const kMagicalRecordImportAttributeValueClassNameKey; extern NSString * const k...
extern NSString * const kMagicalRecordImportUnixTimeString; extern NSString * const kMagicalRecordImportAttributeKeyMapKey; extern NSString * const kMagicalRecordImportAttributeValueClassNameKey; extern NSString * const kMagicalRecordImportRelationshipMapKey; extern NSString * const kMagicalRecordImportRelationshipLin...
<|file_sep|>original/MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalDataImport.h extern NSString * const kMagicalRecordImportUnixTimeString; extern NSString * const kMagicalRecordImportAttributeKeyMapKey; extern NSString * const kMagicalRecordImportAttributeValueClassNameKey; extern NSString * const k...
47f47c7d5a7c9bf8d222a1b6ecb62ebaa28617fc
MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalDataImport.h
MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalDataImport.h
C
<|file_sep|>original/composer.json "name": "Taylor Otwell", "email": "taylorotwell@gmail.com" }, { "name": "Tom Shafer", "email": "tj@tjshafer.com" } ], "require": { "php": ">=7.0.0", "illuminate/support": "5.5.*", "...
"name": "Taylor Otwell", "email": "taylorotwell@gmail.com" }, { "name": "Tom Shafer", "email": "tj@tjshafer.com" } ], "require": { "php": ">=7.0.0", "illuminate/support": "5.5.*|5.6.*", "illuminate/filesystem": "5.5....
<|file_sep|>original/composer.json "name": "Taylor Otwell", "email": "taylorotwell@gmail.com" }, { "name": "Tom Shafer", "email": "tj@tjshafer.com" } ], "require": { "php": ">=7.0.0", "illuminate/support": "5.5.*", "...
c3767049a83ad751a11c63bb7921c5752855e88e
composer.json
composer.json
JSON
<|file_sep|>src/wikicurses/__init__.py.diff original: from enum import Enum updated: from enum import IntEnum <|file_sep|>original/src/wikicurses/__init__.py from enum import Enum class BitEnum(int, Enum): def __new__(cls, *args): value = 1 << len(cls.__members__) return int.__new__(cls, value) fo...
from enum import IntEnum class formats(IntEnum): i, b, blockquote = (1<<i for i in range(3))
<|file_sep|>src/wikicurses/__init__.py.diff original: from enum import Enum updated: from enum import IntEnum <|file_sep|>original/src/wikicurses/__init__.py from enum import Enum class BitEnum(int, Enum): def __new__(cls, *args): value = 1 << len(cls.__members__) return int.__new__(cls, value) fo...
1edf69ac029bf8e35cd897fa123ad4e0943d6bc9
src/wikicurses/__init__.py
src/wikicurses/__init__.py
Python
<|file_sep|>KeyboardKit.podspec.diff original: s.swift_versions = ['5.2'] updated: s.swift_versions = ['5.3'] <|file_sep|>original/KeyboardKit.podspec Pod::Spec.new do |s| s.name = 'KeyboardKit' s.version = '3.1.1' s.swift_versions = ['5.2'] s.summary = 'KeyboardKit help...
Pod::Spec.new do |s| s.name = 'KeyboardKit' s.version = '3.1.1' s.swift_versions = ['5.3'] s.summary = 'KeyboardKit helps you create iOS keyboard extensions.' s.description = <<-DESC KeyboardKit is a Swift library that can be used to create iOS keyboard extensions. ...
<|file_sep|>KeyboardKit.podspec.diff original: s.swift_versions = ['5.2'] updated: s.swift_versions = ['5.3'] <|file_sep|>original/KeyboardKit.podspec Pod::Spec.new do |s| s.name = 'KeyboardKit' s.version = '3.1.1' s.swift_versions = ['5.2'] s.summary = 'KeyboardKit help...
65a1bf04062c5fda29c2d5bd49d21d0a29bf21ec
KeyboardKit.podspec
KeyboardKit.podspec
Ruby
<|file_sep|>original/message_template.html Received <a href="{{ search_link }}">{{ num_hits }}</a> log entries from <a href="{{ edit_alert_link }}">{{ alert_name }}</a> between {{ start_time }} and {{ end_time }} UTC. <|file_sep|>current/message_template.html Received <a href="{{ search_link }}">{{ num_hits }}</a> log ...
Received <a href="{{ search_link }}">{{ num_hits }} log entries</a> from <a href="{{ edit_alert_link }}">{{ alert_name }}</a> between {{ start_time }} and {{ end_time }} UTC.
<|file_sep|>original/message_template.html Received <a href="{{ search_link }}">{{ num_hits }}</a> log entries from <a href="{{ edit_alert_link }}">{{ alert_name }}</a> between {{ start_time }} and {{ end_time }} UTC. <|file_sep|>current/message_template.html Received <a href="{{ search_link }}">{{ num_hits }}</a> log ...
c9582d741ec60fa1c35bbecd2138df0393da4681
message_template.html
message_template.html
HTML
<|file_sep|>original/ukelonn.web.frontend/src/main/resources/index.html <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Ukel&oslash;nn</title> </head> <body> <div id="root"></div> <script src="/ukelonn/bundle.js" type="application/javascript"></script> <noscript>Thi...
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Ukel&oslash;nn</title> </head> <body> <div id="root"></div> <script src="/ukelonn/bundle.js" type="application/javascript" charset="utf-8"></script> <noscript>This webpage requires javascript in the browser!</noscript>...
<|file_sep|>original/ukelonn.web.frontend/src/main/resources/index.html <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Ukel&oslash;nn</title> </head> <body> <div id="root"></div> <script src="/ukelonn/bundle.js" type="application/javascript"></script> <noscript>Thi...
c4d8fa40bfa028c0a5720ffb1564a1ca85b1f005
ukelonn.web.frontend/src/main/resources/index.html
ukelonn.web.frontend/src/main/resources/index.html
HTML
<|file_sep|>original/README.md Installation: ```bash curl --silent https://raw.githubusercontent.com/adius/dotfiles/master/install.sh | bash ``` ## Structure * `bin` — custom scripts * `home` — files that are symlinked to `$HOME` directory * `terminal` — terminal config ## Steps 1. Install Command Line Develope...
* `home` — files that are symlinked to `$HOME` directory * `terminal` — terminal config ## Steps 1. Install Command Line Developer Tools 1. Run install script 1. Enable Shiftit (System Preferences > Security & Privacy > Privacy > Accessibility) ## Scripts Jxa macOS automation scripts are symlinked from `~/dot...
<|file_sep|>original/README.md Installation: ```bash curl --silent https://raw.githubusercontent.com/adius/dotfiles/master/install.sh | bash ``` ## Structure * `bin` — custom scripts * `home` — files that are symlinked to `$HOME` directory * `terminal` — terminal config ## Steps 1. Install Command Line Develope...
60d7e962c31a62c3cb6c17c3a650de3028dc5767
README.md
README.md
Markdown
<|file_sep|>original/pdisk-server/war/src/main/resources/json/disks.ftl [ <#list disks as disk> { "uuid": "${disk.uuid}", <#if disk.tag?has_content> "tag": "${disk.tag?j_string}", <#else> "tag": "", </#if> <#if disk.quarantine?has_content> "quarantine": "${disk.quarantine}", </#if...
[ <#list disks as disk> { "uuid": "${disk.uuid}", <#if disk.tag?has_content> "tag": "${disk.tag?j_string}", <#else> "tag": "", </#if> <#if disk.quarantine?has_content> "quarantine": "${disk.quarantine}", </#if> "count": "${disk.usersCount}", "owner": "${disk.owner}", <...
<|file_sep|>original/pdisk-server/war/src/main/resources/json/disks.ftl [ <#list disks as disk> { "uuid": "${disk.uuid}", <#if disk.tag?has_content> "tag": "${disk.tag?j_string}", <#else> "tag": "", </#if> <#if disk.quarantine?has_content> "quarantine": "${disk.quarantine}", </#if...
2759a98b17a0f92ac7c0df71ed04441d74514878
pdisk-server/war/src/main/resources/json/disks.ftl
pdisk-server/war/src/main/resources/json/disks.ftl
FreeMarker
<|file_sep|>js/controllers/paymentIntent.js.diff original: angular.module('copayApp.controllers').controller('PaymentIntentController', function($rootScope, $scope, $modal, $location, balanceService) { updated: angular.module('copayApp.controllers').controller('PaymentIntentController', function($rootScope, $scope, $mo...
// Please note that $modalInstance represents a modal window (instance) dependency. // It is not the same as the $modal service used above. var ModalInstanceCtrl = function($scope, $modalInstance, identityService) { $scope.loading = true; $scope.setWallets = function() { if (!$rootScope.iden) retur...
<|file_sep|>js/controllers/paymentIntent.js.diff original: angular.module('copayApp.controllers').controller('PaymentIntentController', function($rootScope, $scope, $modal, $location, balanceService) { updated: angular.module('copayApp.controllers').controller('PaymentIntentController', function($rootScope, $scope, $mo...
39ea2a226b96df0cbd99fb693601d847cd6254be
js/controllers/paymentIntent.js
js/controllers/paymentIntent.js
JavaScript
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff original: ### Docs & changelog written? Yes/No updated: ### Merge requirements satisfied? **[NOTICE] Bug fixes or features added to Salt require tests.** <!-- Please review the [test documentation](https://docs.saltstack.com/en/master/topics/tutorials/writing_tests.htm...
Fixes: ### Previous Behavior Remove this section if not relevant ### New Behavior Remove this section if not relevant ### Merge requirements satisfied? **[NOTICE] Bug fixes or features added to Salt require tests.** <!-- Please review the [test documentation](https://docs.saltstack.com/en/master/topics/tutorials/wri...
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff original: ### Docs & changelog written? Yes/No updated: ### Merge requirements satisfied? **[NOTICE] Bug fixes or features added to Salt require tests.** <!-- Please review the [test documentation](https://docs.saltstack.com/en/master/topics/tutorials/writing_tests.htm...
c4ee1ebdd39994e8c2a4d381545475b7d7cbc7e7
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/spec/lib/mock_spec.rb <|file_sep|>current/spec/lib/mock_spec.rb <|file_sep|>updated/spec/lib/mock_spec.rb
require 'spec_helper' describe "Using mocks" do # Note: These specs don't test any application code # They merely are here to illustrate how mocks, stub methods and partial mocks work. it 'with inline stub methods' do m = mock("A Mock", :foo => 'hello') m.should respond_to(:foo) m.foo.should == "h...
<|file_sep|>original/spec/lib/mock_spec.rb <|file_sep|>current/spec/lib/mock_spec.rb <|file_sep|>updated/spec/lib/mock_spec.rb require 'spec_helper' describe "Using mocks" do # Note: These specs don't test any application code # They merely are here to illustrate how mocks, stub methods and partial mocks work. ...
f5e7af5f125dd9eb13676b64aaf2c5aca1b7a8e6
spec/lib/mock_spec.rb
spec/lib/mock_spec.rb
Ruby
<|file_sep|>original/bio/sources/huge-gwas/resources/huge-gwas_keys.properties DataSet.key = name DataSource.key = name SOTerm.key = name, ontology Organism.key = taxonId Ontology.key = name Publication.key = pubMedId <|file_sep|>current/bio/sources/huge-gwas/resources/huge-gwas_keys.properties DataSet.key = name DataS...
DataSet.key = name DataSource.key = name SOTerm.key = name, ontology Organism.key = taxonId Ontology.key = name Publication.key = pubMedId Gene.key = symbol, organism SNP.key = primaryIdentifier
<|file_sep|>original/bio/sources/huge-gwas/resources/huge-gwas_keys.properties DataSet.key = name DataSource.key = name SOTerm.key = name, ontology Organism.key = taxonId Ontology.key = name Publication.key = pubMedId <|file_sep|>current/bio/sources/huge-gwas/resources/huge-gwas_keys.properties DataSet.key = name DataS...
994c45a7b92c6a2a8a73954ea3f2af5a453c24da
bio/sources/huge-gwas/resources/huge-gwas_keys.properties
bio/sources/huge-gwas/resources/huge-gwas_keys.properties
INI
<|file_sep|>original/run-local-no-inappconf.sh sbt -jvm-debug 5005 "run 9222" -Dapplication.router=testOnlyDoNotUseInAppConf.Routes <|file_sep|>current/run-local-no-inappconf.sh sbt -jvm-debug 5005 "run 9222" -Dapplication.router=testOnlyDoNotUseInAppConf.Routes <|file_sep|>updated/run-local-no-inappconf.sh
sbt -jvm-debug 5005 -Dapplication.router=testOnlyDoNotUseInAppConf.Routes "run 9222"
<|file_sep|>original/run-local-no-inappconf.sh sbt -jvm-debug 5005 "run 9222" -Dapplication.router=testOnlyDoNotUseInAppConf.Routes <|file_sep|>current/run-local-no-inappconf.sh sbt -jvm-debug 5005 "run 9222" -Dapplication.router=testOnlyDoNotUseInAppConf.Routes <|file_sep|>updated/run-local-no-inappconf.sh sbt -jvm-de...
5dbadc69dff09f2fcf359e8362f42a8ee542e6eb
run-local-no-inappconf.sh
run-local-no-inappconf.sh
Shell
<|file_sep|>original/examples/ex1-ckeditor.js root_http: openshift + '/server-side/writable', server_http: openshift + '/server-side/filebrowser.php', }) ; CKEDITOR.plugins.addExternal(browser_plugin, plugin_dir + browser_plugin + '/'); window.showUploadDialog = function(){ browser.show(); ...
server_http: openshift + '/server-side/filebrowser.php', }) ; CKEDITOR.plugins.addExternal(browser_plugin, plugin_dir + browser_plugin + '/'); window.showUploadDialog = function(){ browser.show(); }; var ckeditor = CKEDITOR.replace('editor', { extraPlugins: 'filebrowser_upload', extraAl...
<|file_sep|>original/examples/ex1-ckeditor.js root_http: openshift + '/server-side/writable', server_http: openshift + '/server-side/filebrowser.php', }) ; CKEDITOR.plugins.addExternal(browser_plugin, plugin_dir + browser_plugin + '/'); window.showUploadDialog = function(){ browser.show(); ...
ee8a0128d80cbbf7e2a17b5c0c42cf26710bde31
examples/ex1-ckeditor.js
examples/ex1-ckeditor.js
JavaScript
<|file_sep|>original/openstack/tests/functional/network/v2/test_quota.py <|file_sep|>current/openstack/tests/functional/network/v2/test_quota.py <|file_sep|>updated/openstack/tests/functional/network/v2/test_quota.py
# 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
<|file_sep|>original/openstack/tests/functional/network/v2/test_quota.py <|file_sep|>current/openstack/tests/functional/network/v2/test_quota.py <|file_sep|>updated/openstack/tests/functional/network/v2/test_quota.py # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except ...
5b15efa07d9e619ead833d1ef0056a3c2b5df930
openstack/tests/functional/network/v2/test_quota.py
openstack/tests/functional/network/v2/test_quota.py
Python
<|file_sep|>original/src/System.Private.ServiceModel/src/System/ServiceModel/Channels/ServiceModelHttpMessageHandler.cs public bool PreAuthenticate { get { return _innerHandler.PreAuthenticate; } set { _innerHandler.PreAuthenticate = value; } } public CookieConta...
} public CookieContainer CookieContainer { get { return _innerHandler.CookieContainer; } set { _innerHandler.CookieContainer = value; } } protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellat...
<|file_sep|>original/src/System.Private.ServiceModel/src/System/ServiceModel/Channels/ServiceModelHttpMessageHandler.cs public bool PreAuthenticate { get { return _innerHandler.PreAuthenticate; } set { _innerHandler.PreAuthenticate = value; } } public CookieConta...
0e0f015ad0a09c9565dc92cbd9146deed5ffa5f6
src/System.Private.ServiceModel/src/System/ServiceModel/Channels/ServiceModelHttpMessageHandler.cs
src/System.Private.ServiceModel/src/System/ServiceModel/Channels/ServiceModelHttpMessageHandler.cs
C#
<|file_sep|>wsgi_intercept/requests_intercept.py.diff original: from . import WSGI_HTTPConnection, wsgi_fake_socket updated: from . import WSGI_HTTPConnection, WSGI_HTTPSConnection, wsgi_fake_socket <|file_sep|>wsgi_intercept/requests_intercept.py.diff original: InterceptorMixin = WSGI_HTTPConnection updated: <|file_s...
HTTPSConnection) wsgi_fake_socket.settimeout = lambda self, timeout: None class HTTP_WSGIInterceptor(WSGI_HTTPConnection, HTTPConnection): pass class HTTPS_WSGIInterceptor(WSGI_HTTPSConnection, HTTPSConnection): pass def install(): HTTPConnectionPool.ConnectionCls = HTTP_WSGIInterceptor ...
<|file_sep|>wsgi_intercept/requests_intercept.py.diff original: from . import WSGI_HTTPConnection, wsgi_fake_socket updated: from . import WSGI_HTTPConnection, WSGI_HTTPSConnection, wsgi_fake_socket <|file_sep|>wsgi_intercept/requests_intercept.py.diff original: InterceptorMixin = WSGI_HTTPConnection updated: <|file_s...
ae8a91dbfb657ba2ac4f1ef9aa89c8b8ba25cde2
wsgi_intercept/requests_intercept.py
wsgi_intercept/requests_intercept.py
Python
<|file_sep|>original/modules/core/breadcrumb/app/models/breadcrumb_conf.rb class BreadcrumbConf < Conf acts_as_configurable do |c| c.string :prefix, :default => I18n.t('breadcrumb_conf.default.prefix') c.string :separator, :default => '&raquo;' c.boolean :last_one_included, :default =...
class BreadcrumbConf < Conf acts_as_configurable do |c| c.string :prefix, :default => '' c.string :separator, :default => '&raquo;' c.boolean :last_one_included, :default => true end end
<|file_sep|>original/modules/core/breadcrumb/app/models/breadcrumb_conf.rb class BreadcrumbConf < Conf acts_as_configurable do |c| c.string :prefix, :default => I18n.t('breadcrumb_conf.default.prefix') c.string :separator, :default => '&raquo;' c.boolean :last_one_included, :default =...
56ea2eb0091cc5eccca67c2809201c8bae057a8d
modules/core/breadcrumb/app/models/breadcrumb_conf.rb
modules/core/breadcrumb/app/models/breadcrumb_conf.rb
Ruby
<|file_sep|>.travis.yml.diff original: # ~~ last updated 15 Jul 2013 updated: # ~~ last updated 23 Dec 2014 <|file_sep|>original/.travis.yml #- Travis CI configuration file #- .travis.yml ~~ # ...
#- Travis CI configuration file #- .travis.yml ~~ # ~~ (c) SRW, 15 Jul 2013 # ~~ last updated 23 Dec 2014 language: node_js node_js: - '0.10' - '0.8' - '0.6' sudo: false #- vim:set syntax=ya...
<|file_sep|>.travis.yml.diff original: # ~~ last updated 15 Jul 2013 updated: # ~~ last updated 23 Dec 2014 <|file_sep|>original/.travis.yml #- Travis CI configuration file #- .travis.yml ~~ # ...
f3dbee59d49086c100bf7bb7554ab229c8b58c30
.travis.yml
.travis.yml
YAML
<|file_sep|>original/pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.entreri</groupId> <art...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.entreri</groupId> <artifactId>entreri</artifactId> ...
<|file_sep|>original/pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.entreri</groupId> <art...
923f4bd885423d0b89cf86704d4c013eaf56dac7
pom.xml
pom.xml
XML
<|file_sep|>original/azure-pipelines.yml # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permission...
# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ...
<|file_sep|>original/azure-pipelines.yml # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permission...
c2e164c5098b6bcf982ca9f5f0998e6f5133404d
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/shared/templates/shared/default_form.html {% load widget_tweaks %} {% for field in form %} <div class="form-group"> <label class="col-sm-2 control-label" for="{{ field.auto_id }}">{{ field.help_text }}: </label> <div class="col-sm-10{% if field.errors %} has-error{% endif %}"> ...
{% load widget_tweaks %} {% for field in form %} <div class="form-group"> <label class="col-sm-3 col-md-2 control-label" for="{{ field.auto_id }}">{{ field.help_text }}: </label> <div class="col-sm-9 col-md-10{% if field.errors %} has-error{% endif %}"> {{ field|add_class:"form-control" ...
<|file_sep|>original/shared/templates/shared/default_form.html {% load widget_tweaks %} {% for field in form %} <div class="form-group"> <label class="col-sm-2 control-label" for="{{ field.auto_id }}">{{ field.help_text }}: </label> <div class="col-sm-10{% if field.errors %} has-error{% endif %}"> ...
0173cbab0e9f92b40bacc186ec5cfff4c7ed6a24
shared/templates/shared/default_form.html
shared/templates/shared/default_form.html
HTML
<|file_sep|>original/spec/atom_style_tweaks_web/page_metadata_spec.exs <|file_sep|>current/spec/atom_style_tweaks_web/page_metadata_spec.exs <|file_sep|>updated/spec/atom_style_tweaks_web/page_metadata_spec.exs
defmodule AtomStyleTweaksWeb.PageMetadata.Spec do use ESpec.Phoenix use Phoenix.HTML alias AtomStyleTweaksWeb.PageMetadata import Phoenix.ConnTest @endpoint AtomStyleTweaksWeb.Endpoint describe "set" do let! :original_site_name, do: Application.get_env(:atom_style_tweaks, :site_name) let :addit...
<|file_sep|>original/spec/atom_style_tweaks_web/page_metadata_spec.exs <|file_sep|>current/spec/atom_style_tweaks_web/page_metadata_spec.exs <|file_sep|>updated/spec/atom_style_tweaks_web/page_metadata_spec.exs defmodule AtomStyleTweaksWeb.PageMetadata.Spec do use ESpec.Phoenix use Phoenix.HTML alias AtomStyle...
d1036a77a45986f8ea30fc355fc5cac873dbe200
spec/atom_style_tweaks_web/page_metadata_spec.exs
spec/atom_style_tweaks_web/page_metadata_spec.exs
Elixir
<|file_sep|>original/deployment/operations/custom-release-name.yml <|file_sep|>current/deployment/operations/custom-release-name.yml <|file_sep|>updated/deployment/operations/custom-release-name.yml
--- - path: /releases/name=cassandra type: replace value: ((cassandra_release)) - path: /instance_groups/name=cassandra-seeds/jobs/name=cassandra/release type: replace value: ((cassandra_release)) - path: /instance_groups/name=cassandra-servers/jobs/name=cassandra/release type: replace value: ((cassandra...
<|file_sep|>original/deployment/operations/custom-release-name.yml <|file_sep|>current/deployment/operations/custom-release-name.yml <|file_sep|>updated/deployment/operations/custom-release-name.yml --- - path: /releases/name=cassandra type: replace value: ((cassandra_release)) - path: /instance_groups/name=cas...
1821fd1fdd34e714d12e61c02f8328a525fa607e
deployment/operations/custom-release-name.yml
deployment/operations/custom-release-name.yml
YAML
<|file_sep|>original/Casks/beaker-electron.rb <|file_sep|>current/Casks/beaker-electron.rb <|file_sep|>updated/Casks/beaker-electron.rb
cask 'beaker-electron' do version '1.4.2-0-ge55c059' sha256 '32d6ecf6a1ebfc32c3e1b2dfc1edb33eaeab6f83d3f9d74dd9b64e08bd24e3e6' # cloudfront.net is the official download host per the vendor homepage url "https://d299yghl10frh5.cloudfront.net/beaker-notebook-#{version}-electron-mac.dmg" name 'Beaker Electron' ...
<|file_sep|>original/Casks/beaker-electron.rb <|file_sep|>current/Casks/beaker-electron.rb <|file_sep|>updated/Casks/beaker-electron.rb cask 'beaker-electron' do version '1.4.2-0-ge55c059' sha256 '32d6ecf6a1ebfc32c3e1b2dfc1edb33eaeab6f83d3f9d74dd9b64e08bd24e3e6' # cloudfront.net is the official download host p...
4341fa7308d11d41eece99cdb287bff1981ca824
Casks/beaker-electron.rb
Casks/beaker-electron.rb
Ruby
<|file_sep|>src/test/java/org/webbitserver/netty/NettyWebServerTest.java.diff original: updated: import java.util.concurrent.Executors; <|file_sep|>original/src/test/java/org/webbitserver/netty/NettyWebServerTest.java import static org.junit.Assert.assertEquals; public class NettyWebServerTest { @Test publi...
import org.junit.Test; import static org.junit.Assert.assertEquals; public class NettyWebServerTest { @Test public void stopsServerCleanlyNotLeavingResourcesHanging() throws Exception { int threadCountStart = getCurrentThreadCount(); NettyWebServer server = new NettyWebServer(Executors.newSin...
<|file_sep|>src/test/java/org/webbitserver/netty/NettyWebServerTest.java.diff original: updated: import java.util.concurrent.Executors; <|file_sep|>original/src/test/java/org/webbitserver/netty/NettyWebServerTest.java import static org.junit.Assert.assertEquals; public class NettyWebServerTest { @Test publi...
8baae27412887eb3147f92c6b609e95eb93a3375
src/test/java/org/webbitserver/netty/NettyWebServerTest.java
src/test/java/org/webbitserver/netty/NettyWebServerTest.java
Java
<|file_sep|>original/spec/config_spec.rb require 'spec_helper' describe Tracking::CLI do before(:all) { backup_data } after(:all) { restore_data } it 'reads a value from the config file' do Tracking::Config[:lines].should == Tracking::Config.defaults[:lines] end it 'writes a value to the config file' do T...
require 'spec_helper' describe Tracking::Config do before(:all) { backup_data } after(:all) { restore_data } it 'reads a value from the config file' do Tracking::Config[:lines].should == Tracking::Config.defaults[:lines] end it 'writes a value to the config file' do Tracking::Config[:lines] = 9001 Track...
<|file_sep|>original/spec/config_spec.rb require 'spec_helper' describe Tracking::CLI do before(:all) { backup_data } after(:all) { restore_data } it 'reads a value from the config file' do Tracking::Config[:lines].should == Tracking::Config.defaults[:lines] end it 'writes a value to the config file' do T...
045a3fb81bdb7eab8b419da0513b13663115db3e
spec/config_spec.rb
spec/config_spec.rb
Ruby
<|file_sep|>original/.travis.yml # Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-stable-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default befor...
# Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-current-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefd...
<|file_sep|>original/.travis.yml # Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-stable-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default befor...
e98ee681ddf36fd73ce8a06fa544fbde8334ed52
.travis.yml
.travis.yml
YAML
<|file_sep|>package_name/module.py.diff original: def cubic_rectification(x): updated: def cubic_rectification(x, verbose=False): <|file_sep|>package_name/module.py.diff original: updated: verbose : bool, optional Whether to print out details. Default is ``False``. <|file_sep|>original/package_name/module....
Input array. verbose : bool, optional Whether to print out details. Default is ``False``. Returns ------- numpy.ndarray Elementwise, the cube of `x` where it is positive and ``0`` otherwise. Note ---- This is a sample function, using a numpy docstring format. N...
<|file_sep|>package_name/module.py.diff original: def cubic_rectification(x): updated: def cubic_rectification(x, verbose=False): <|file_sep|>package_name/module.py.diff original: updated: verbose : bool, optional Whether to print out details. Default is ``False``. <|file_sep|>original/package_name/module....
027e9dabb3270a3b9e3135f8a399ae4eb114a217
package_name/module.py
package_name/module.py
Python
<|file_sep|>original/src/app/duels/game.component.ts import { Component, EventEmitter, Input, Output } from '@angular/core'; import { Game } from './game'; @Component({ selector: 'duel-game', templateUrl: './game.component.html', styleUrls: ['./game.component.css'], }) export class GameComponent { @Input() ga...
@Component({ selector: 'duel-game', templateUrl: './game.component.html', styleUrls: ['./game.component.css'], }) export class GameComponent { @Input() game: Game; @Output() onPicked = new EventEmitter<string>(); pick(team: string): void { if (this.game.selectedTeam === team) { this.game.selected...
<|file_sep|>original/src/app/duels/game.component.ts import { Component, EventEmitter, Input, Output } from '@angular/core'; import { Game } from './game'; @Component({ selector: 'duel-game', templateUrl: './game.component.html', styleUrls: ['./game.component.css'], }) export class GameComponent { @Input() ga...
af6f355f086102c7119eb52d51275160fb33c487
src/app/duels/game.component.ts
src/app/duels/game.component.ts
TypeScript
<|file_sep|>original/.travis.yml language: ruby dist: xenial cache: bundler: true rvm: - 2.4 - 2.5 - 2.6 branches: only: - master <|file_sep|>current/.travis.yml language: ruby dist: xenial cache: bundler: true rvm: - 2.4 - 2.5 - 2.6 branches: only: - master <|file_sep|>updated/.trav...
language: ruby dist: xenial cache: bundler: true rvm: - 2.4 - 2.5 - 2.6 - 2.7 branches: only: - master
<|file_sep|>original/.travis.yml language: ruby dist: xenial cache: bundler: true rvm: - 2.4 - 2.5 - 2.6 branches: only: - master <|file_sep|>current/.travis.yml language: ruby dist: xenial cache: bundler: true rvm: - 2.4 - 2.5 - 2.6 branches: only: - master <|file_sep|>updated/.trav...
69ce964014e2a80d37e2635cb3db0740a0192d87
.travis.yml
.travis.yml
YAML
<|file_sep|>original/php/WP_CLI/PackageManagerEventSubscriber.php <?php namespace WP_CLI; use \Composer\DependencyResolver\Rule; use \Composer\EventDispatcher\Event; use \Composer\EventDispatcher\EventSubscriberInterface; use \Composer\Script\PackageEvent; use \Composer\Script\ScriptEvents; use \WP_CLI; /** * A Com...
<?php namespace WP_CLI; use \Composer\DependencyResolver\Rule; use \Composer\EventDispatcher\Event; use \Composer\EventDispatcher\EventSubscriberInterface; use \Composer\Installer\PackageEvent; use \Composer\Script\ScriptEvents; use \WP_CLI; /** * A Composer Event subscriber so we can keep track of what's happening...
<|file_sep|>original/php/WP_CLI/PackageManagerEventSubscriber.php <?php namespace WP_CLI; use \Composer\DependencyResolver\Rule; use \Composer\EventDispatcher\Event; use \Composer\EventDispatcher\EventSubscriberInterface; use \Composer\Script\PackageEvent; use \Composer\Script\ScriptEvents; use \WP_CLI; /** * A Com...
a03f0a1a36c165ed02e03fde9e9ebabc8772ffcc
php/WP_CLI/PackageManagerEventSubscriber.php
php/WP_CLI/PackageManagerEventSubscriber.php
PHP
<|file_sep|>original/.travis.yml dist: trusty language: node_js node_js: - "10.16.0" script: # this is a condensed version of the default PATH that puts ./node_modules/.bin at the end - export PATH=/usr/bin:/home/travis/.nvm/versions/node/v6.5.0/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/phantomjs/bi...
dist: trusty language: node_js node_js: - "10.16.0" script: # this is a condensed version of the default PATH that puts ./node_modules/.bin at the end #- export PATH=/usr/bin:/home/travis/.nvm/versions/node/v6.5.0/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/phantomjs/bin:/usr/local/clang-3.4/bin:/usr/...
<|file_sep|>original/.travis.yml dist: trusty language: node_js node_js: - "10.16.0" script: # this is a condensed version of the default PATH that puts ./node_modules/.bin at the end - export PATH=/usr/bin:/home/travis/.nvm/versions/node/v6.5.0/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/phantomjs/bi...
73cdf291939a537ef2a2204d2ee7252d0c0dd9b4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Cargo.toml homepage = "https://github.com/BurntSushi/byteorder" repository = "https://github.com/BurntSushi/byteorder" readme = "README.md" categories = ["encoding", "parsing"] keywords = ["byte", "endian", "big-endian", "little-endian", "binary"] license = "Unlicense/MIT" [lib] name = "byteorder"...
keywords = ["byte", "endian", "big-endian", "little-endian", "binary"] license = "Unlicense/MIT" [lib] name = "byteorder" bench = false [dev-dependencies] quickcheck = "0.4" rand = "0.3" [features] default = ["std"] std = [] [profile.bench] opt-level = 3 [badges] travis-ci = { repository = "https://github.com/Bur...
<|file_sep|>original/Cargo.toml homepage = "https://github.com/BurntSushi/byteorder" repository = "https://github.com/BurntSushi/byteorder" readme = "README.md" categories = ["encoding", "parsing"] keywords = ["byte", "endian", "big-endian", "little-endian", "binary"] license = "Unlicense/MIT" [lib] name = "byteorder"...
e7cb5abf22b7acc99bc7becc1572615f6cb6662f
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/doc/bmc.txt <|file_sep|>current/doc/bmc.txt <|file_sep|>updated/doc/bmc.txt
OPAL <--> BMC interactions ========================== This document provides information about some of the user-visible interactions that skiboot performs with the BMC. IPMI sensors ------------ OPAL will interact with a few IPMI sensors during the boot process. These are: * Boot Count [type 0xc3: OEM reserved] ...
<|file_sep|>original/doc/bmc.txt <|file_sep|>current/doc/bmc.txt <|file_sep|>updated/doc/bmc.txt OPAL <--> BMC interactions ========================== This document provides information about some of the user-visible interactions that skiboot performs with the BMC. IPMI sensors ------------ OPAL will interact with...
448eea9037e8ddfd28b409f6db2330cf17013031
doc/bmc.txt
doc/bmc.txt
Text
<|file_sep|>original/lib/assets/javascripts/cartodb/new_common/url_shortener.js var $ = require('jquery'); var LocalStorage = require('./local_storage'); var LOGIN = 'vizzuality'; var KEY = 'R_de188fd61320cb55d359b2fecd3dad4b'; var UrlShortener = function() { this.localStorage = new LocalStorage('cartodb_urls'); };...
var $ = require('jquery'); var LocalStorage = require('./local_storage'); var LOGIN = 'vizzuality'; var KEY = 'R_de188fd61320cb55d359b2fecd3dad4b'; var UrlShortener = function() { this.localStorage = new LocalStorage('cartodb_urls2'); // to not clash with old local storage cache, they're incompatible }; UrlShorten...
<|file_sep|>original/lib/assets/javascripts/cartodb/new_common/url_shortener.js var $ = require('jquery'); var LocalStorage = require('./local_storage'); var LOGIN = 'vizzuality'; var KEY = 'R_de188fd61320cb55d359b2fecd3dad4b'; var UrlShortener = function() { this.localStorage = new LocalStorage('cartodb_urls'); };...
ea89c8e3f4068f775cca71dbfd6c2d8410addecb
lib/assets/javascripts/cartodb/new_common/url_shortener.js
lib/assets/javascripts/cartodb/new_common/url_shortener.js
JavaScript
<|file_sep|>original/source/_header.erb <h1><a href="http://fmrchallenge.org">The First Challenge on Formal Methods for Robotics</a></h1> <div id="toc"> <a href="index.html#summary" class="button">about</a> <a href="index.html#problems" class="button">domains</a> <a href="index.html#events" class="button">events</a> <...
<h1><a href="http://fmrchallenge.org">The First Challenge on Formal Methods for Robotics</a></h1> <div id="toc"> <a href="/index.html#summary" class="button">about</a> <a href="/index.html#problems" class="button">domains</a> <a href="http://docs.fmrchallenge.org" class="button">documentation</a> <a href="/index.html#...
<|file_sep|>original/source/_header.erb <h1><a href="http://fmrchallenge.org">The First Challenge on Formal Methods for Robotics</a></h1> <div id="toc"> <a href="index.html#summary" class="button">about</a> <a href="index.html#problems" class="button">domains</a> <a href="index.html#events" class="button">events</a> <...
d48fb8a507608a5055987fa8317d7054dbfe1be4
source/_header.erb
source/_header.erb
HTML+ERB
<|file_sep|>scripts/prepared_json_to_fasta.py.diff original: # Add the reference to output sequences if it isn't already included. updated: # Write sequences to standard out. <|file_sep|>scripts/prepared_json_to_fasta.py.diff original: if not sequences.reference_in_dataset: output_sequences.append(s...
with open(args.json, "r") as fh: data = json.load(fh) # Prepare a sequence set. sequences = sequence_set( logger, data["sequences"], data["reference"], data["info"]["date_format"] ) # Write sequences to standard out. output_sequences = sequences.seqs.val...
<|file_sep|>scripts/prepared_json_to_fasta.py.diff original: # Add the reference to output sequences if it isn't already included. updated: # Write sequences to standard out. <|file_sep|>scripts/prepared_json_to_fasta.py.diff original: if not sequences.reference_in_dataset: output_sequences.append(s...
21f234aa20a1315f2106218a402ab230e2d1a1a9
scripts/prepared_json_to_fasta.py
scripts/prepared_json_to_fasta.py
Python
<|file_sep|>.travis.yml.diff original: - 5.6 - 7.0 updated: <|file_sep|>.travis.yml.diff original: - hhvm updated: - 7.3 - nightly <|file_sep|>.travis.yml.diff original: - php: 7.2 updated: - php: 7.3 <|file_sep|>original/.travis.yml - 7.2 - hhvm sudo: false matrix: include: - php: 7.2 ...
- nightly sudo: false matrix: include: - php: 7.3 env: - CARBON_PRE_RELEASE='yes' before_install: - travis_retry composer self-update install: - if [[ $CARBON_PRE_RELEASE == "yes" ]]; then travis_retry composer require nesbot/carbon=dev-master; fi; - travis_retry composer update --dev --...
<|file_sep|>.travis.yml.diff original: - 5.6 - 7.0 updated: <|file_sep|>.travis.yml.diff original: - hhvm updated: - 7.3 - nightly <|file_sep|>.travis.yml.diff original: - php: 7.2 updated: - php: 7.3 <|file_sep|>original/.travis.yml - 7.2 - hhvm sudo: false matrix: include: - php: 7.2 ...
bff1c6163714453bb400eeb77ab615519bf109c2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/admin/neurons/contents/_show.html.slim - formatted_contents.fetch(level).fetch(kind).each do |content| .neuron-content div = content.title .content-description = content.description_spellchecked = content.keywords = content.source - if content.can_be_approved?...
- formatted_contents.fetch(level).fetch(kind).each do |content| .neuron-content div = content.title .content-description = content.description = content.keywords = content.source - if content.can_be_approved? .neuron-moderate-actions = content.toggle_approved = content.me...
<|file_sep|>original/app/views/admin/neurons/contents/_show.html.slim - formatted_contents.fetch(level).fetch(kind).each do |content| .neuron-content div = content.title .content-description = content.description_spellchecked = content.keywords = content.source - if content.can_be_approved?...
b980f85bd2335537d2f0bdfffe6149587e1c2bd3
app/views/admin/neurons/contents/_show.html.slim
app/views/admin/neurons/contents/_show.html.slim
Slim
<|file_sep|>_includes/mathsjax.html.diff original: updated: jax: ['input/TeX', 'output/HTML-CSS'], <|file_sep|>_includes/mathsjax.html.diff original: updated: <|file_sep|>_includes/mathsjax.html.diff original: processEnvironments: false updated: processEnvironments: true <|file_se...
"HTML-CSS": { fonts: ["TeX"] , minScaleAdjust: 100, matchFontHeight: false, linebreaks: { width: "100% container" } }, TeX: { equationNumbers: { autoNumber: "AMS" }, extensions: ["color.js"],...
<|file_sep|>_includes/mathsjax.html.diff original: updated: jax: ['input/TeX', 'output/HTML-CSS'], <|file_sep|>_includes/mathsjax.html.diff original: updated: <|file_sep|>_includes/mathsjax.html.diff original: processEnvironments: false updated: processEnvironments: true <|file_se...
76ac762ea73232293cd02c53f5d794d8f1536062
_includes/mathsjax.html
_includes/mathsjax.html
HTML
<|file_sep|>original/src/org/usfirst/frc/team3335/robot/commands/GateUpFlapperDown.java <|file_sep|>current/src/org/usfirst/frc/team3335/robot/commands/GateUpFlapperDown.java <|file_sep|>updated/src/org/usfirst/frc/team3335/robot/commands/GateUpFlapperDown.java
package org.usfirst.frc.team3335.robot.commands; import edu.wpi.first.wpilibj.command.CommandGroup; public class GateUpFlapperDown extends CommandGroup { public GateUpFlapperDown() { addSequential(new GateControl(true)); addSequential(new FlapperControl(true)); } }
<|file_sep|>original/src/org/usfirst/frc/team3335/robot/commands/GateUpFlapperDown.java <|file_sep|>current/src/org/usfirst/frc/team3335/robot/commands/GateUpFlapperDown.java <|file_sep|>updated/src/org/usfirst/frc/team3335/robot/commands/GateUpFlapperDown.java package org.usfirst.frc.team3335.robot.commands; import...
73ac2e5137936fd58e9377846f7c9e5c42c43527
src/org/usfirst/frc/team3335/robot/commands/GateUpFlapperDown.java
src/org/usfirst/frc/team3335/robot/commands/GateUpFlapperDown.java
Java
<|file_sep|>original/src/aphront/response/304/Aphront304Response.php * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific...
* See the License for the specific language governing permissions and * limitations under the License. */ /** * @group aphront */ class Aphront304Response extends AphrontResponse { public function getHTTPResponseCode() { return 304; } public function buildResponseString() { // IMPORTANT! According...
<|file_sep|>original/src/aphront/response/304/Aphront304Response.php * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific...
80698aba6fff5ffd6dab5617107a9947cf538a11
src/aphront/response/304/Aphront304Response.php
src/aphront/response/304/Aphront304Response.php
PHP
<|file_sep|>original/templater.rb require File.join(File.dirname(__FILE__), 'core_extensions.rb') initialize_templater required_recipes = %w(default jquery mongoid haml rspec factory_girl remarkable) required_recipes.each {|required_recipe| apply recipe(required_recipe)} load_options apply(recipe('cucumber')) if yes...
require File.join(File.dirname(__FILE__), 'core_extensions.rb') initialize_templater required_recipes = %w(default mongoid jquery haml rspec factory_girl remarkable) required_recipes.each {|required_recipe| apply recipe(required_recipe)} load_options apply(recipe('cucumber')) if yes?("Would you like to add integrati...
<|file_sep|>original/templater.rb require File.join(File.dirname(__FILE__), 'core_extensions.rb') initialize_templater required_recipes = %w(default jquery mongoid haml rspec factory_girl remarkable) required_recipes.each {|required_recipe| apply recipe(required_recipe)} load_options apply(recipe('cucumber')) if yes...
a2111b75063ec464f475199d5ea449026b119000
templater.rb
templater.rb
Ruby
<|file_sep|>original/src/utils/info.js /* @flow strict-local */ import { Alert } from 'react-native'; import Toast from '@remobile/react-native-toast'; export const showToast = (message: string) => { Toast.show(message, Toast.SHORT); }; export const showErrorAlert = (message: string, title: string) => Alert.alert...
/* @flow strict-local */ import { Alert } from 'react-native'; import Toast from '@remobile/react-native-toast'; export const showToast = (message: string) => { Toast.show(message); }; export const showErrorAlert = (message: string, title: string) => Alert.alert(title, message, [{ text: 'OK', onPress: () => {} }]...
<|file_sep|>original/src/utils/info.js /* @flow strict-local */ import { Alert } from 'react-native'; import Toast from '@remobile/react-native-toast'; export const showToast = (message: string) => { Toast.show(message, Toast.SHORT); }; export const showErrorAlert = (message: string, title: string) => Alert.alert...
c88a7bda652c851446a29fd73ba426d9a588cd21
src/utils/info.js
src/utils/info.js
JavaScript
<|file_sep|>tests/test_client.py.diff original: updated: import logging import os from opendiamond.client.search import DiamondSearch from opendiamond.client.rpc import ControlConnection, BlastConnection from opendiamond.client.util import get_default_rgb_filter, get_default_scopecookies <|file_sep|>tests/test_clien...
class TestClientRPC(unittest.TestCase): def test_connection_pair_nonce(self): control = ControlConnection() blast = BlastConnection() nonce = control.connect(TEST_HOST) blast.connect(TEST_HOST, nonce) class TestClientUtil(unittest.TestCase): def test_get_default_rgb_filter(se...
<|file_sep|>tests/test_client.py.diff original: updated: import logging import os from opendiamond.client.search import DiamondSearch from opendiamond.client.rpc import ControlConnection, BlastConnection from opendiamond.client.util import get_default_rgb_filter, get_default_scopecookies <|file_sep|>tests/test_clien...
4313578e48f0cae111a73c9cdabc29b12c423856
tests/test_client.py
tests/test_client.py
Python
<|file_sep|>original/builds/freenas-9.10-freebsd11/freenas.cfg # Which FreeNAS git URL to clone GITFNASURL="https://github.com/freenas/freenas-build.git" export GITFNASURL # Branch of the FreeNAS repo to build with # Available (freenas10) GITFNASBRANCH="master" export GITFNASBRANCH # Set location for release to be s...
# Which FreeNAS git URL to clone GITFNASURL="https://github.com/freenas/freenas-build.git" export GITFNASURL # Branch of the FreeNAS repo to build with # Available (freenas10) GITFNASBRANCH="master" export GITFNASBRANCH # Set location for release to be stored TARGETREL="freenas-9.10-freebsd11" export TARGETREL # Th...
<|file_sep|>original/builds/freenas-9.10-freebsd11/freenas.cfg # Which FreeNAS git URL to clone GITFNASURL="https://github.com/freenas/freenas-build.git" export GITFNASURL # Branch of the FreeNAS repo to build with # Available (freenas10) GITFNASBRANCH="master" export GITFNASBRANCH # Set location for release to be s...
55c8d2c165a3124fee380188704c620aeb8c1ecc
builds/freenas-9.10-freebsd11/freenas.cfg
builds/freenas-9.10-freebsd11/freenas.cfg
INI
<|file_sep|>original/.github/workflows/ccpp.yml name: C/C++ CI on: [push] jobs: build-linux: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v1 - name: apt update run: sudo apt update - name: apt run: sudo apt install ninja-build lua5.1 pasmo libz80ex-dev flex libbsd-dev librea...
name: C/C++ CI on: [push] jobs: build-linux: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v1 - name: apt update run: sudo apt update - name: apt run: sudo apt install ninja-build lua5.1 pasmo libz80ex-dev flex libbsd-dev libreadline-dev bison binutils-arm-linux-gnueabihf bin...
<|file_sep|>original/.github/workflows/ccpp.yml name: C/C++ CI on: [push] jobs: build-linux: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v1 - name: apt update run: sudo apt update - name: apt run: sudo apt install ninja-build lua5.1 pasmo libz80ex-dev flex libbsd-dev librea...
82a6f6f61925ee543b519f7d50eaa292e21371bf
.github/workflows/ccpp.yml
.github/workflows/ccpp.yml
YAML
<|file_sep|>original/python/yaml_tester.py <|file_sep|>current/python/yaml_tester.py <|file_sep|>updated/python/yaml_tester.py
import sys import pprint import time import yaml import ygp try: from yaml import CSafeLoader as SafeLoader except: from yaml import SafeLoader path = sys.argv[1] ygp_time = 0 yaml_time = 0 for path in sys.argv[1:]: print 'checking', path src = open(path).read()
<|file_sep|>original/python/yaml_tester.py <|file_sep|>current/python/yaml_tester.py <|file_sep|>updated/python/yaml_tester.py import sys import pprint import time import yaml import ygp try: from yaml import CSafeLoader as SafeLoader except: from yaml import SafeLoader path = sys.argv[1] ygp_time = 0 yaml...
fbb79398a9a6ddf5ffd850b2594b44066329bd98
python/yaml_tester.py
python/yaml_tester.py
Python
<|file_sep|>app/templates/sorry.html.diff original: <h1 class="info-heading">Sign Up Now</h1> <p class="info-text">You will need to sign up and be approved in order to gain access to BadgeKit. Today, BadgeKit is designed for organizations that have access to technology resources and are looking to implement...
{% endblock %} {% block header %} <a href="http://www.mozilla.org" id="tabzilla">Mozilla</a> {{ super() }} {% endblock %} {% block content %} <div class="container"> <section class="info"> <h1 class="info-heading">Sign Ups Closed</h1> <p class="info-text">Thank you for your interest in BadgeKit. ...
<|file_sep|>app/templates/sorry.html.diff original: <h1 class="info-heading">Sign Up Now</h1> <p class="info-text">You will need to sign up and be approved in order to gain access to BadgeKit. Today, BadgeKit is designed for organizations that have access to technology resources and are looking to implement...
499810b79ffc595a97f62f96310f6ef745b9d08e
app/templates/sorry.html
app/templates/sorry.html
HTML
<|file_sep|>original/composer.json { "name": "johnkary/skeleton", "description": "Base project skeleton for a PSR-0 compliant PHP 5.3 project", "keywords": ["skeleton"], "homepage": "https://github.com/johnkary/skeleton", "license": "MIT", "authors": [ { "name": "John Kary", ...
{ "name": "johnkary/php-skeleton", "description": "Base project skeleton for a PSR-0 compliant PHP 5.3 project", "keywords": ["skeleton"], "homepage": "https://github.com/johnkary/skeleton", "license": "MIT", "authors": [ { "name": "John Kary", "email": "john@john...
<|file_sep|>original/composer.json { "name": "johnkary/skeleton", "description": "Base project skeleton for a PSR-0 compliant PHP 5.3 project", "keywords": ["skeleton"], "homepage": "https://github.com/johnkary/skeleton", "license": "MIT", "authors": [ { "name": "John Kary", ...
8d323cc6703232ff47690ddf8cce566ed66f9180
composer.json
composer.json
JSON
<|file_sep|>original/backends/mongoose.js module.exports = function(Model, options) { options || (options = {}) options.idAttribute || (options.idAttribute = '_id') var idQuery = function(model) { var query = {}; query[options.idAttribute] = model[options.idAttribute]; }; this.crea...
module.exports = function(Model, options) { options || (options = {}) options.idAttribute || (options.idAttribute = '_id') var idQuery = function(model) { var query = {}; query[options.idAttribute] = model[options.idAttribute]; return query; }; this.create = function(model,...
<|file_sep|>original/backends/mongoose.js module.exports = function(Model, options) { options || (options = {}) options.idAttribute || (options.idAttribute = '_id') var idQuery = function(model) { var query = {}; query[options.idAttribute] = model[options.idAttribute]; }; this.crea...
7273e0c87852e1209416c77ffee31ca4623718e0
backends/mongoose.js
backends/mongoose.js
JavaScript
<|file_sep|>original/openstack_dashboard/dashboards/project/security_groups/templates/security_groups/detail.html {% extends 'base.html' %} {% block page_header %} {% include "horizon/common/_detail_header.html" %} {% endblock %} {% block main %} <div class="row"> <div class="col-sm-12"> {{ table.render }} </...
{% extends 'base.html' %} {% block title %}{{ page_title }}{% endblock %} {% block page_header %} {% include "horizon/common/_detail_header.html" %} {% endblock %} {% block main %} <div class="row"> <div class="col-sm-12"> {{ table.render }} </div> </div> {% endblock %}
<|file_sep|>original/openstack_dashboard/dashboards/project/security_groups/templates/security_groups/detail.html {% extends 'base.html' %} {% block page_header %} {% include "horizon/common/_detail_header.html" %} {% endblock %} {% block main %} <div class="row"> <div class="col-sm-12"> {{ table.render }} </...
76bdf040cccb1820c0e1527ab43560e9c97cd66b
openstack_dashboard/dashboards/project/security_groups/templates/security_groups/detail.html
openstack_dashboard/dashboards/project/security_groups/templates/security_groups/detail.html
HTML
<|file_sep|>original/k9mail/src/main/res/values-v21/themes.xml <|file_sep|>current/k9mail/src/main/res/values-v21/themes.xml <|file_sep|>updated/k9mail/src/main/res/values-v21/themes.xml
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="Theme.K9.Dark.Base" parent="Theme.AppCompat"> <item name="android:navigationBarColor">#000000</item> </style> </resources>
<|file_sep|>original/k9mail/src/main/res/values-v21/themes.xml <|file_sep|>current/k9mail/src/main/res/values-v21/themes.xml <|file_sep|>updated/k9mail/src/main/res/values-v21/themes.xml <?xml version="1.0" encoding="utf-8"?> <resources> <style name="Theme.K9.Dark.Base" parent="Theme.AppCompat"> <item nam...
5d7c55dff29d47f862e824d0391e57478654409e
k9mail/src/main/res/values-v21/themes.xml
k9mail/src/main/res/values-v21/themes.xml
XML
<|file_sep|>original/tools/test/toolchains/api.py <|file_sep|>current/tools/test/toolchains/api.py <|file_sep|>updated/tools/test/toolchains/api.py
import sys import os ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..")) sys.path.insert(0, ROOT) from tools.toolchains import TOOLCHAIN_CLASSES, LEGACY_TOOLCHAIN_NAMES from tools.targets import TARGET_MAP def test_instantiation(): for name, Class in TOOLCHAIN_CLASSES.items(): ...
<|file_sep|>original/tools/test/toolchains/api.py <|file_sep|>current/tools/test/toolchains/api.py <|file_sep|>updated/tools/test/toolchains/api.py import sys import os ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..")) sys.path.insert(0, ROOT) from tools.toolchains import TOOLCHAIN_C...
f6b8cf05b025bec12e8fe82f8bfdb56558ca1b14
tools/test/toolchains/api.py
tools/test/toolchains/api.py
Python
<|file_sep|>app/controllers/kennedy/posts_controller.rb.diff original: updated: include Georgia::Concerns::Searchable <|file_sep|>original/app/controllers/kennedy/posts_controller.rb module Kennedy class PostsController < Kennedy::ApplicationController include Georgia::Concerns::Pageable include Georgia...
module Kennedy class PostsController < Kennedy::ApplicationController include Georgia::Concerns::Pageable include Georgia::Concerns::Publishable include Georgia::Concerns::Searchable load_and_authorize_resource class: Kennedy::Post private # Adds to search block called from Concerns::Searc...
<|file_sep|>app/controllers/kennedy/posts_controller.rb.diff original: updated: include Georgia::Concerns::Searchable <|file_sep|>original/app/controllers/kennedy/posts_controller.rb module Kennedy class PostsController < Kennedy::ApplicationController include Georgia::Concerns::Pageable include Georgia...
1255dd584505c75380ddc696ae8e11bf7adcc99a
app/controllers/kennedy/posts_controller.rb
app/controllers/kennedy/posts_controller.rb
Ruby
<|file_sep|>original/src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs using NUnit.Framework; namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers { public class MyDatabaseSettings : IMyDatabaseSettings { public string ConnectionString { get; }...
using NUnit.Framework; namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers { public class MyDatabaseSettings : IMyDatabaseSettings { public string ConnectionString { get; } = $@"Data Source={TestContext.CurrentContext.TestDirectory}\IoCTests.db;Version=3;New=True;BinaryGUID=Fa...
<|file_sep|>original/src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs using NUnit.Framework; namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers { public class MyDatabaseSettings : IMyDatabaseSettings { public string ConnectionString { get; }...
cbbad7c74affdbeeea2927df5246df7fb0990cb7
src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs
src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs
C#
<|file_sep|>original/vumi/workers/vas2nets/workers.py <|file_sep|>current/vumi/workers/vas2nets/workers.py <|file_sep|>updated/vumi/workers/vas2nets/workers.py
# -*- test-case-name: vumi.workers.vas2nets.test_vas2nets -*- # -*- encoding: utf-8 -*- from twisted.python import log from twisted.internet.defer import inlineCallbacks, Deferred from vumi.message import Message from vumi.service import Worker class EchoWorker(Worker): @inlineCallbacks def startWorker(sel...
<|file_sep|>original/vumi/workers/vas2nets/workers.py <|file_sep|>current/vumi/workers/vas2nets/workers.py <|file_sep|>updated/vumi/workers/vas2nets/workers.py # -*- test-case-name: vumi.workers.vas2nets.test_vas2nets -*- # -*- encoding: utf-8 -*- from twisted.python import log from twisted.internet.defer import inl...
7219cea7d4480739e39ac3e4c3c431002b786241
vumi/workers/vas2nets/workers.py
vumi/workers/vas2nets/workers.py
Python
<|file_sep|>original/.dependabot/config.yml # https://dependabot.com/docs/config-file/ version: 1 update_configs: - default_assignees: - "localheinz" default_reviewers: - "localheinz" directory: "/" package_manager: "php:composer" update_schedule: "live" version_requirement_updates: ...
# https://dependabot.com/docs/config-file/ version: 1 update_configs: - default_assignees: - "localheinz" default_reviewers: - "localheinz" directory: "/" ignored_updates: - match: dependency_name: "phpunit/phpunit" package_manager: "php:composer" update_schedule: "li...
<|file_sep|>original/.dependabot/config.yml # https://dependabot.com/docs/config-file/ version: 1 update_configs: - default_assignees: - "localheinz" default_reviewers: - "localheinz" directory: "/" package_manager: "php:composer" update_schedule: "live" version_requirement_updates: ...
6ec0d2537b1401db3c7bc65d76bc5d9a09a5407e
.dependabot/config.yml
.dependabot/config.yml
YAML
<|file_sep|>original/docs/r/sumologic_polling_source.md <|file_sep|>current/docs/r/sumologic_polling_source.md <|file_sep|>updated/docs/r/sumologic_polling_source.md
# sumologic_polling_source Provides a Sumologic Polling source. This source is used to import data from AWS S3 buckets. __IMPORTANT:__ The AWS credentials are stored in plain-text in the state. This is a potential security issue. ## Example Usage ```hcl resource "sumologic_polling_source" "s3_audit" { name = "Am...
<|file_sep|>original/docs/r/sumologic_polling_source.md <|file_sep|>current/docs/r/sumologic_polling_source.md <|file_sep|>updated/docs/r/sumologic_polling_source.md # sumologic_polling_source Provides a Sumologic Polling source. This source is used to import data from AWS S3 buckets. __IMPORTANT:__ The AWS credent...
7704d56b1fe7b6381d7ce4e5c5cf17caa43b7fd6
docs/r/sumologic_polling_source.md
docs/r/sumologic_polling_source.md
Markdown
<|file_sep|>original/src/CodeBlocks/Collection/CollectionEvery.php * * @author Aurimas Niekis <aurimas.niekis@gmail.com> * * @param array $collection * @param callable $callback * * @return bool */ function collection_every($collection, callable $callback = null) { if (null($callback)) { $callbac...
* * @author Aurimas Niekis <aurimas.niekis@gmail.com> * * @param array $collection * @param callable $callback * * @return bool */ function collection_every($collection, callable $callback = null) { if (null === $callback) { $callback = function ($item) use ($callback) { return (true ...
<|file_sep|>original/src/CodeBlocks/Collection/CollectionEvery.php * * @author Aurimas Niekis <aurimas.niekis@gmail.com> * * @param array $collection * @param callable $callback * * @return bool */ function collection_every($collection, callable $callback = null) { if (null($callback)) { $callbac...
503d645f4d3dbd4550341f419169d048008057cc
src/CodeBlocks/Collection/CollectionEvery.php
src/CodeBlocks/Collection/CollectionEvery.php
PHP
<|file_sep|>original/src/test/resources/cars.csv year,make,model,comment "2012","Tesla","S", "No comment" 1997,Ford,E350,"Go get one now they are going fast" <|file_sep|>current/src/test/resources/cars.csv year,make,model,comment "2012","Tesla","S", "No comment" 1997,Ford,E350,"Go get one now they are going fast" <|fil...
year,make,model,comment "2012","Tesla","S", "No comment" 1997,Ford,E350,"Go get one now they are going fast"
<|file_sep|>original/src/test/resources/cars.csv year,make,model,comment "2012","Tesla","S", "No comment" 1997,Ford,E350,"Go get one now they are going fast" <|file_sep|>current/src/test/resources/cars.csv year,make,model,comment "2012","Tesla","S", "No comment" 1997,Ford,E350,"Go get one now they are going fast" <|fil...
4846af999592c54f102bd28222425c2b01dbfa7a
src/test/resources/cars.csv
src/test/resources/cars.csv
CSV
<|file_sep|>original/scripts/settings/fieldnames.py ProvName = 'ProvName' #Providers Colloquial = 'Colloquial' Code = 'Code' URL = 'URL' #Utilities PROVIDER = 'PROVIDER' WEBLINK = 'WEBLINK' #Roads CARTOCODE = 'CARTOCODE' FULLNAME = 'FULLNAME' #Drive Times ToBreak = 'ToBreak' Name = 'Name' #BB UTProvCode = 'UTProvC...
ProvName = 'ProvName' #Providers Colloquial = 'Colloquial' Code = 'Code' URL = 'URL' #Utilities PROVIDER = 'PROVIDER' WEBLINK = 'WEBLINK' #Roads CARTOCODE = 'CARTOCODE' FULLNAME = 'HWYNAME' #Drive Times ToBreak = 'ToBreak' Name = 'Name' #BB UTProvCode = 'UTProvCode'
<|file_sep|>original/scripts/settings/fieldnames.py ProvName = 'ProvName' #Providers Colloquial = 'Colloquial' Code = 'Code' URL = 'URL' #Utilities PROVIDER = 'PROVIDER' WEBLINK = 'WEBLINK' #Roads CARTOCODE = 'CARTOCODE' FULLNAME = 'FULLNAME' #Drive Times ToBreak = 'ToBreak' Name = 'Name' #BB UTProvCode = 'UTProvC...
6ca85774de9532676b784646ecad3ef62b09ed5e
scripts/settings/fieldnames.py
scripts/settings/fieldnames.py
Python
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' before_script: - mysql -e 'create database \'feathers-orm-service\'' <|file_sep|>current/.travis.yml language: node_js node_js: - '0.10' before_script: - mysql -e 'create database \'feathers-orm-service\'' <|file_sep|>updated/.travis.y...
language: node_js node_js: - '0.10' before_script: - mysql -e 'create database "feathers-orm-service"'
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' before_script: - mysql -e 'create database \'feathers-orm-service\'' <|file_sep|>current/.travis.yml language: node_js node_js: - '0.10' before_script: - mysql -e 'create database \'feathers-orm-service\'' <|file_sep|>updated/.travis.y...
483e87de703ba24d5ad424bcbdc317b39dfc73c0
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: matrix: updated: install: pip install -U tox script: tox -v jobs: <|file_sep|>.travis.yml.diff original: - python: 3.4 updated: - stage: test python: 3.4 <|file_sep|>.travis.yml.diff original: updated: - stage: deploy python: 3.4 install: skip ...
env: TOXENV=py - python: 3.5 env: TOXENV=py - python: 3.6 env: TOXENV=py - stage: deploy python: 3.4 install: skip script: skip deploy: provider: pypi user: renatahodovan password: secure: yZ+6IWtgS0t0AhP8TCZCPAlZ/ZhY1kLCE95U67bFfW...
<|file_sep|>.travis.yml.diff original: matrix: updated: install: pip install -U tox script: tox -v jobs: <|file_sep|>.travis.yml.diff original: - python: 3.4 updated: - stage: test python: 3.4 <|file_sep|>.travis.yml.diff original: updated: - stage: deploy python: 3.4 install: skip ...
723db193402ba19601599d39787238fb3e2bcbe1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/assets/javascripts/hyper_admin/angularjs/controllers/form_ctrl.js.coffee target = "admin/#{$scope.resourceClass.plural}" successMessage = "#{$scope.resourceClass.singular_human} created successfully." else method = "patch" target = "admin/#{$scope.resourceClass.plura...
target = "admin/#{$scope.resourceClass.plural}" successMessage = "#{$scope.resourceClass.singular_human} created successfully." else method = "patch" target = "admin/#{$scope.resourceClass.plural}/#{$state.params.id}" successMessage = "#{$scope.resourceClass.singular_human} updated suc...
<|file_sep|>original/app/assets/javascripts/hyper_admin/angularjs/controllers/form_ctrl.js.coffee target = "admin/#{$scope.resourceClass.plural}" successMessage = "#{$scope.resourceClass.singular_human} created successfully." else method = "patch" target = "admin/#{$scope.resourceClass.plura...
2658d9e6663f892064da5ff904c2b85fd863f2d0
app/assets/javascripts/hyper_admin/angularjs/controllers/form_ctrl.js.coffee
app/assets/javascripts/hyper_admin/angularjs/controllers/form_ctrl.js.coffee
CoffeeScript
<|file_sep|>original/data/hostname/scheduler0.internal.staging.swh.network.yaml networks: default: interface: eth0 address: 192.168.128.4 netmask: 255.255.255.0 gateway: 192.168.128.1 dar::backup::exclude: - var/lib/rabbitmq swh::deploy::scheduler::remote::backend::listen::host: 0.0.0.0 swh::deplo...
networks: default: interface: eth0 address: 192.168.128.4 netmask: 255.255.255.0 gateway: 192.168.128.1 dar::backup::exclude: - var/lib/rabbitmq swh::postgres::service::users: - swhscheduler swh::deploy::scheduler::remote::backend::listen::host: 0.0.0.0 swh::deploy::scheduler::task_broker: "amq...
<|file_sep|>original/data/hostname/scheduler0.internal.staging.swh.network.yaml networks: default: interface: eth0 address: 192.168.128.4 netmask: 255.255.255.0 gateway: 192.168.128.1 dar::backup::exclude: - var/lib/rabbitmq swh::deploy::scheduler::remote::backend::listen::host: 0.0.0.0 swh::deplo...
8dfeb5ae5d6604b39424116a885af41e69bc2159
data/hostname/scheduler0.internal.staging.swh.network.yaml
data/hostname/scheduler0.internal.staging.swh.network.yaml
YAML
<|file_sep|>original/docs/requirements.txt graphenelib==1.2.0 bitshares==0.4.0 autobahn>=0.14 pycryptodome==3.9.1 appdirs==1.4.3 <|file_sep|>current/docs/requirements.txt graphenelib==1.2.0 bitshares==0.4.0 autobahn>=0.14 pycryptodome==3.9.1 appdirs==1.4.3 <|file_sep|>updated/docs/requirements.txt
graphenelib==1.2.0 bitshares==0.4.0 autobahn>=0.14 pycryptodome==3.9.7 appdirs==1.4.3
<|file_sep|>original/docs/requirements.txt graphenelib==1.2.0 bitshares==0.4.0 autobahn>=0.14 pycryptodome==3.9.1 appdirs==1.4.3 <|file_sep|>current/docs/requirements.txt graphenelib==1.2.0 bitshares==0.4.0 autobahn>=0.14 pycryptodome==3.9.1 appdirs==1.4.3 <|file_sep|>updated/docs/requirements.txt graphenelib==1.2.0 bi...
57060baa327b0af11fd4d71cc5c688598cad66bd
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>src/AuthyMessage.php.diff original: * updated: <|file_sep|>original/src/AuthyMessage.php public function force() { $this->force = true; return $this; } /** * Indicate that the notification is not forced over cellphone network. * * @return $this */ ...
public function force() { $this->force = true; return $this; } /** * Set the method of the Authy message. * * @param string $method * * @return $this */ public function method($method) { $this->method = $method === 'call' ? 'call' : 'sms'; ...
<|file_sep|>src/AuthyMessage.php.diff original: * updated: <|file_sep|>original/src/AuthyMessage.php public function force() { $this->force = true; return $this; } /** * Indicate that the notification is not forced over cellphone network. * * @return $this */ ...
466a3448bf6a328741961686ad8dca4eba0ccc46
src/AuthyMessage.php
src/AuthyMessage.php
PHP
<|file_sep|>original/uber/templates/emails/accounts/new_account.txt {{ account.attendee.full_name }}, {{ creator }} has created an admin account for you on the {{ c.EVENT_NAME }} registration system. Use the following link to log in: {{ c.URL_BASE }}/accounts/login/ {% if c.ATTENDEE_ACCOUNTS_ENABLED %}Please note thi...
{{ account.attendee.full_name }}, {{ creator }} has created an admin account for you on the {{ c.EVENT_NAME }} registration system. Use the following link to log in: {{ c.URL_BASE }}/accounts/login {% if c.ATTENDEE_ACCOUNTS_ENABLED %}Please note this is NOT the account you use to manage your personal registration inf...
<|file_sep|>original/uber/templates/emails/accounts/new_account.txt {{ account.attendee.full_name }}, {{ creator }} has created an admin account for you on the {{ c.EVENT_NAME }} registration system. Use the following link to log in: {{ c.URL_BASE }}/accounts/login/ {% if c.ATTENDEE_ACCOUNTS_ENABLED %}Please note thi...
5388cdf8c5160cd3f83e8e7a871840bed99ede86
uber/templates/emails/accounts/new_account.txt
uber/templates/emails/accounts/new_account.txt
Text
<|file_sep|>original/composer.json "name": "Claudio Zizza", "email": "claudio@budgegeria.de" } ], "require": { "php": "^8.0", "ext-intl": "*" }, "require-dev": { "infection/infection": "^0.18", "doctrine/coding-standard": "^8.2", "phpunit/phpunit": "^9.5", "phpstan/phpsta...
"name": "Claudio Zizza", "email": "claudio@budgegeria.de" } ], "require": { "php": "^8.0", "ext-intl": "*" }, "require-dev": { "infection/infection": "^0.18", "doctrine/coding-standard": "^9.0", "phpunit/phpunit": "^9.5", "phpstan/phpstan": "^1.1", "phpstan/phpstan-ph...
<|file_sep|>original/composer.json "name": "Claudio Zizza", "email": "claudio@budgegeria.de" } ], "require": { "php": "^8.0", "ext-intl": "*" }, "require-dev": { "infection/infection": "^0.18", "doctrine/coding-standard": "^8.2", "phpunit/phpunit": "^9.5", "phpstan/phpsta...
24967453e90d568056618ab23f1dcdae7ba48241
composer.json
composer.json
JSON
<|file_sep|>api-ref/src/wadls/orchestration-api/src/v1/samples/stack_create.json.diff original: updated: "parameters": { "flavor": "m1.heat" }, <|file_sep|>original/api-ref/src/wadls/orchestration-api/src/v1/samples/stack_create.json "parameters": { "flavor": { "defa...
"heat_template_version": "2013-05-23", "description": "Simple template to test heat commands", "parameters": { "flavor": { "default": "m1.tiny", "type": "string" } }, "resources": { "hello_world": { ...
<|file_sep|>api-ref/src/wadls/orchestration-api/src/v1/samples/stack_create.json.diff original: updated: "parameters": { "flavor": "m1.heat" }, <|file_sep|>original/api-ref/src/wadls/orchestration-api/src/v1/samples/stack_create.json "parameters": { "flavor": { "defa...
75e792a3a44ba0e3b950fa3a5f7c562b79f38b1e
api-ref/src/wadls/orchestration-api/src/v1/samples/stack_create.json
api-ref/src/wadls/orchestration-api/src/v1/samples/stack_create.json
JSON
<|file_sep|>app/services/shop/order_cycles_list.rb.diff original: new(distributor, customer).call(ready_for_checkout: false) updated: new(distributor, customer).call <|file_sep|>app/services/shop/order_cycles_list.rb.diff original: new(distributor, customer).call(ready_for_checkout: true) updated: ...
new(distributor, customer).call end def initialize(distributor, customer) @distributor = distributor @customer = customer end def call order_cycles = OrderCycle.with_distributor(@distributor).active .order(@distributor.preferred_shopfront_order_cycle_order).to_a ...
<|file_sep|>app/services/shop/order_cycles_list.rb.diff original: new(distributor, customer).call(ready_for_checkout: false) updated: new(distributor, customer).call <|file_sep|>app/services/shop/order_cycles_list.rb.diff original: new(distributor, customer).call(ready_for_checkout: true) updated: ...
61bbf0714efadf929f3fdcc221f7f236d8c4acff
app/services/shop/order_cycles_list.rb
app/services/shop/order_cycles_list.rb
Ruby
<|file_sep|>original/acceptance/tests/commands/list-sub-commands.rb <|file_sep|>current/acceptance/tests/commands/list-sub-commands.rb <|file_sep|>updated/acceptance/tests/commands/list-sub-commands.rb
test_name "list sub-commands" do step "running puppetdb on its own should list all sub-commands" do result = on database, "/usr/sbin/puppetdb" ["ssl-setup", "import", "export", "anonymize"].each do |k| assert_match(/#{k}/, result.stdout, "puppetdb command should list #{k} as a sub-command") end en...
<|file_sep|>original/acceptance/tests/commands/list-sub-commands.rb <|file_sep|>current/acceptance/tests/commands/list-sub-commands.rb <|file_sep|>updated/acceptance/tests/commands/list-sub-commands.rb test_name "list sub-commands" do step "running puppetdb on its own should list all sub-commands" do result = o...
ae81173cf34abefba5f44eae8a379190eef4e38c
acceptance/tests/commands/list-sub-commands.rb
acceptance/tests/commands/list-sub-commands.rb
Ruby
<|file_sep|>original/spec/models/question_content_text_spec.rb <|file_sep|>current/spec/models/question_content_text_spec.rb <|file_sep|>updated/spec/models/question_content_text_spec.rb
require 'spec_helper.rb' describe QuestionContentText do it "should prepare proper new anser of user" do recruit = Factory(:recruit) q = Factory(:question) Factory(:question_content_text, :question => q) q.reload ans = q.content.new_answer_of(recruit) ans.owner_is?(recruit).should be_tru...
<|file_sep|>original/spec/models/question_content_text_spec.rb <|file_sep|>current/spec/models/question_content_text_spec.rb <|file_sep|>updated/spec/models/question_content_text_spec.rb require 'spec_helper.rb' describe QuestionContentText do it "should prepare proper new anser of user" do recruit = Factory(:r...
8f7dc185ca1f3d48cfae5b9c26f3717d0c042fbf
spec/models/question_content_text_spec.rb
spec/models/question_content_text_spec.rb
Ruby
<|file_sep|>original/rgb_color_k_nearest.py <|file_sep|>current/rgb_color_k_nearest.py <|file_sep|>updated/rgb_color_k_nearest.py
#!/usr/bin/env python # rgb2_color_k_nearest.py # by wilsonmar@gmail.com, ayush.original@gmail.com, paarth.n@gmail.com # This is not the complete/correct approach. This is just the framework possibly of using ML import numpy as np from sklearn import preprocessing, cross_validation, neighbors import pandas as pd df = ...
<|file_sep|>original/rgb_color_k_nearest.py <|file_sep|>current/rgb_color_k_nearest.py <|file_sep|>updated/rgb_color_k_nearest.py #!/usr/bin/env python # rgb2_color_k_nearest.py # by wilsonmar@gmail.com, ayush.original@gmail.com, paarth.n@gmail.com # This is not the complete/correct approach. This is just the framewo...
fe3a40caf31aa1eaff4e1b6ce7dba3e01a27eec7
rgb_color_k_nearest.py
rgb_color_k_nearest.py
Python
<|file_sep|>doc/manual/installation/upgrading.xml.diff original: Multi-user Nix users on macOS can upgrade Nix by running <command>sudo -i sh -c 'nix-channel --update &amp;&amp; nix-env -iA nixpkgs.nix'; sudo launchctl stop org.nixos.nix-daemon; sudo launchctl start org.nixos.nix-daemon</command>. updat...
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0" xml:id="ch-upgrading-nix"> <title>Upgrading Nix</title> <para> Multi-user Nix users on macOS can upgrade Nix by running: <command>sudo -i sh -c 'nix-channel --update &amp;&amp; n...
<|file_sep|>doc/manual/installation/upgrading.xml.diff original: Multi-user Nix users on macOS can upgrade Nix by running <command>sudo -i sh -c 'nix-channel --update &amp;&amp; nix-env -iA nixpkgs.nix'; sudo launchctl stop org.nixos.nix-daemon; sudo launchctl start org.nixos.nix-daemon</command>. updat...
1915862767331dba33bc0f40bc09a3c32a22ebea
doc/manual/installation/upgrading.xml
doc/manual/installation/upgrading.xml
XML
<|file_sep|>original/test/XmlStringTest.php <?php /** * @file */ namespace CultuurNet\UDB3; class XmlStringTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function it_does_not_accept_invalid_xml() { $this->setExpectedException(XMLSyntaxException::class); new ...
<?php /** * @file */ namespace CultuurNet\UDB3; class XmlStringTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function it_does_not_accept_invalid_xml() { $this->setExpectedException(XMLSyntaxException::class); new XmlString('this is not xml'); } }
<|file_sep|>original/test/XmlStringTest.php <?php /** * @file */ namespace CultuurNet\UDB3; class XmlStringTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function it_does_not_accept_invalid_xml() { $this->setExpectedException(XMLSyntaxException::class); new ...
8953c9af482afc8dd60c97282c504a8162d3d3a6
test/XmlStringTest.php
test/XmlStringTest.php
PHP
<|file_sep|>original/.gitlab-ci.yml ####################################### # Check the project code quality with Sonar, make sure your Gitlab project has a secret variable (project -> settings -> CI/CD) defined called SONAR_TOKEN ####################################### codequality: stage: test script: - apt-ge...
####################################### # Check the project code quality with Sonar, make sure your Gitlab project has a secret variable (project -> settings -> CI/CD) defined called SONAR_TOKEN ####################################### codequality: stage: test script: - apt-get update; apt-get -y install wget; a...
<|file_sep|>original/.gitlab-ci.yml ####################################### # Check the project code quality with Sonar, make sure your Gitlab project has a secret variable (project -> settings -> CI/CD) defined called SONAR_TOKEN ####################################### codequality: stage: test script: - apt-ge...
9072e436de87305bcb1c5a2f8ba5afb04f22b785
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderNGTest.java <|file_sep|>current/raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderNGTest.java <|file_sep|>updated/raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderNGTest.java
package net.kencochrane.raven.log4j; import mockit.Expectations; import mockit.Injectable; import mockit.Mocked; import mockit.Verifications; import net.kencochrane.raven.Raven; import net.kencochrane.raven.event.Event; import net.kencochrane.raven.event.EventBuilder; import org.apache.log4j.Level; import org.apache.l...
<|file_sep|>original/raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderNGTest.java <|file_sep|>current/raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderNGTest.java <|file_sep|>updated/raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderNGTest.java package net.kenco...
d6065330396ee9f7ceeabdabfbf508db0ddd0ded
raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderNGTest.java
raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderNGTest.java
Java
<|file_sep|>src/components/notify-settings.jsx.diff original: updated: import * as firebase from 'firebase/app' const messaging = firebase.messaging() <|file_sep|>src/components/notify-settings.jsx.diff original: permission: Notification.permission updated: permission: Notification.permission, error:...
} } render() { const {supported, permission, error} = this.state if (!supported) { return <span>Push notification is not supported.</span> } if (permission === 'denied') { return <span>Notification is denied. Check <a href="https://support.google.com/chrome/answer/3220216?co=GENIE.P...
<|file_sep|>src/components/notify-settings.jsx.diff original: updated: import * as firebase from 'firebase/app' const messaging = firebase.messaging() <|file_sep|>src/components/notify-settings.jsx.diff original: permission: Notification.permission updated: permission: Notification.permission, error:...
d2a3143fd1dd418c4abdf7975dfe99fd97126d6e
src/components/notify-settings.jsx
src/components/notify-settings.jsx
JSX
<|file_sep|>confluent_osdeploy/el8/profiles/default/initprofile.sh.diff original: updated: sed -i s/centos/CentOS/ "s/rhel/Red Hat Enterprise Linux/" $2/profile.yaml <|file_sep|>original/confluent_osdeploy/el8/profiles/default/initprofile.sh #!/bin/sh ln -s $1/images/pxeboot/vmlinuz $2/boot/kernel && \ ln -s $1/images...
#!/bin/sh sed -i s/centos/CentOS/ "s/rhel/Red Hat Enterprise Linux/" $2/profile.yaml ln -s $1/images/pxeboot/vmlinuz $2/boot/kernel && \ ln -s $1/images/pxeboot/initrd.img $2/boot/initramfs/distribution mkdir -p $2/boot/media/EFI/BOOT && \ ln -s $1/EFI/BOOT/BOOTX64.EFI $1/1/EFI/BOOT/grubx64.efi $2/boot/media/EFI/BOOT/
<|file_sep|>confluent_osdeploy/el8/profiles/default/initprofile.sh.diff original: updated: sed -i s/centos/CentOS/ "s/rhel/Red Hat Enterprise Linux/" $2/profile.yaml <|file_sep|>original/confluent_osdeploy/el8/profiles/default/initprofile.sh #!/bin/sh ln -s $1/images/pxeboot/vmlinuz $2/boot/kernel && \ ln -s $1/images...
e4bea785c3001fec941cfda0251c5627c2df229a
confluent_osdeploy/el8/profiles/default/initprofile.sh
confluent_osdeploy/el8/profiles/default/initprofile.sh
Shell
<|file_sep|>original/pubspec.yaml name: dart_services author: Dart Team <misc@dartlang.org> description: The server backend for a web based interactive Dart service. homepage: https://github.com/dart-lang/dart-services environment: sdk: '>=2.0.0-dev.54 <2.0.0' dependencies: analysis_server_lib: ^0.1.2+2 appengi...
name: dart_services author: Dart Team <misc@dartlang.org> description: The server backend for a web based interactive Dart service. homepage: https://github.com/dart-lang/dart-services environment: sdk: '>=2.0.0-dev.59 <2.0.0' dependencies: analysis_server_lib: ^0.1.2+2 appengine: 0.4.0-flex.alpha.0+3 archive...
<|file_sep|>original/pubspec.yaml name: dart_services author: Dart Team <misc@dartlang.org> description: The server backend for a web based interactive Dart service. homepage: https://github.com/dart-lang/dart-services environment: sdk: '>=2.0.0-dev.54 <2.0.0' dependencies: analysis_server_lib: ^0.1.2+2 appengi...
02eb6fe1b76e976ce03dd81ee2298da76aa1df13
pubspec.yaml
pubspec.yaml
YAML
<|file_sep|>original/src/shared/components/tooltip/Tooltip.js animation={ finalAnimation } { ...props }> { this.props.children } </RcTooltip> ); } } Tooltip.defaultProps = { animation: 'zoom', theme: 'default', mouseLeaveDelay: 0.1, }...
{ ...props }> { this.props.children } </RcTooltip> ); } } Tooltip.defaultProps = { animation: 'zoom', theme: 'default', mouseLeaveDelay: 0.1, trigger: ['hover', 'click'], }; Tooltip.propTypes = { ...RcTooltip.propTypes, theme: PropTypes....
<|file_sep|>original/src/shared/components/tooltip/Tooltip.js animation={ finalAnimation } { ...props }> { this.props.children } </RcTooltip> ); } } Tooltip.defaultProps = { animation: 'zoom', theme: 'default', mouseLeaveDelay: 0.1, }...
2f1f8de03bdf77c67f3f9b6f566d8c5944fcd47c
src/shared/components/tooltip/Tooltip.js
src/shared/components/tooltip/Tooltip.js
JavaScript