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/buildSrc/src/main/kotlin/Android.kt object Android { const val VERSION_CODE = 65 const val VERSION_NAME = "1.13" const val APP_NAME = "de.devisnik.android.mine" const val MIN_SDK = 23 const val TARGET_SDK = 31 const val COMPILE_SDK = 31 const val BUILD_TOOLS = "32.0.0"...
object Android { const val VERSION_CODE = 66 const val VERSION_NAME = "1.13.1" const val APP_NAME = "de.devisnik.android.mine" const val MIN_SDK = 23 const val TARGET_SDK = 31 const val COMPILE_SDK = 31 const val BUILD_TOOLS = "32.0.0" }
<|file_sep|>original/buildSrc/src/main/kotlin/Android.kt object Android { const val VERSION_CODE = 65 const val VERSION_NAME = "1.13" const val APP_NAME = "de.devisnik.android.mine" const val MIN_SDK = 23 const val TARGET_SDK = 31 const val COMPILE_SDK = 31 const val BUILD_TOOLS = "32.0.0"...
fc344767ed9a77b2badad741ee4080de5e599a67
buildSrc/src/main/kotlin/Android.kt
buildSrc/src/main/kotlin/Android.kt
Kotlin
<|file_sep|>original/p2_build/feature/main/com.liferay.blade.tools/feature.xml </url> <plugin id="com.liferay.blade.api" download-size="0" install-size="0" version="0.0.0" unpack="false"/> <plugin id="com.liferay.blade.eclipse.provider" download-...
</url> <plugin id="com.liferay.blade.api" download-size="0" install-size="0" version="0.0.0" unpack="false"/> <plugin id="com.liferay.blade.gradle" download-size="0" install-size="0" version="0.0.0" unpack="false"/> ...
<|file_sep|>original/p2_build/feature/main/com.liferay.blade.tools/feature.xml </url> <plugin id="com.liferay.blade.api" download-size="0" install-size="0" version="0.0.0" unpack="false"/> <plugin id="com.liferay.blade.eclipse.provider" download-...
6eb550df0beeabe21493679d57f8b7e0bc5cc80c
p2_build/feature/main/com.liferay.blade.tools/feature.xml
p2_build/feature/main/com.liferay.blade.tools/feature.xml
XML
<|file_sep|>slave/run_webserver.bat.diff original: @echo on updated: :RESTART echo Starting %lighttpd_dir%\lighttpd_server.exe -f %~dp0\lighttpd.conf -m %lighttpd_dir%\lib <|file_sep|>original/slave/run_webserver.bat @echo off set lighttpd_dir=%~dp0..\third_party\lighttpd\win REM copy lighttpd.exe to lighttpd_server.e...
@echo off set lighttpd_dir=%~dp0..\third_party\lighttpd\win REM copy lighttpd.exe to lighttpd_server.exe, because we don't want it to be REM killed by taskkill. xcopy /D %lighttpd_dir%\lighttpd.exe %lighttpd_dir%\lighttpd_server.exe REM copy the cygwin dll to the lighttpd folder because otherwise it wont work. xcop...
<|file_sep|>slave/run_webserver.bat.diff original: @echo on updated: :RESTART echo Starting %lighttpd_dir%\lighttpd_server.exe -f %~dp0\lighttpd.conf -m %lighttpd_dir%\lib <|file_sep|>original/slave/run_webserver.bat @echo off set lighttpd_dir=%~dp0..\third_party\lighttpd\win REM copy lighttpd.exe to lighttpd_server.e...
de35e87e5d4ea377293e46198044e73aa6c0f43d
slave/run_webserver.bat
slave/run_webserver.bat
Batchfile
<|file_sep|>original/capstone-project/src/main/webapp/map/map.component.js $scope.gMap = new google.maps.Map(document.getElementById('map-container'), googleMapOption); // Add a marker to the map const addMarker = function(marker) { new google.maps.Marker({ map: $sc...
zoom: 4, center: new google.maps.LatLng(25, 80) }; $scope.gMap = new google.maps.Map(document.getElementById('map-container'), googleMapOption); // Add a marker to the map const addMarker = function(marker) { new google.maps.Marker({ ...
<|file_sep|>original/capstone-project/src/main/webapp/map/map.component.js $scope.gMap = new google.maps.Map(document.getElementById('map-container'), googleMapOption); // Add a marker to the map const addMarker = function(marker) { new google.maps.Marker({ map: $sc...
31fe3f1b56b5f17266165c77aaf93bf62c4d0595
capstone-project/src/main/webapp/map/map.component.js
capstone-project/src/main/webapp/map/map.component.js
JavaScript
<|file_sep|>original/config/initializers/secret_token.rb # Be sure to restart your server when you modify this file. # Your secret key for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # ...
# Be sure to restart your server when you modify this file. # Your secret key for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attac...
<|file_sep|>original/config/initializers/secret_token.rb # Be sure to restart your server when you modify this file. # Your secret key for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # ...
60c45e0b9430bb62802dd829bc7c6ea807424f3d
config/initializers/secret_token.rb
config/initializers/secret_token.rb
Ruby
<|file_sep|>original/examples/react/package.json "babel-polyfill": "6.26.0", "concurrently": "4.1.1", "pouchdb-adapter-http": "7.0.0", "pouchdb-adapter-idb": "7.0.0", "pouchdb-replication": "7.0.0", "pouchdb-server": "4.1.0", "react": "16.9.0", "react-dom": "16.9.0" }, "devDependenci...
"babel-polyfill": "6.26.0", "concurrently": "4.1.1", "pouchdb-adapter-http": "7.0.0", "pouchdb-adapter-idb": "7.0.0", "pouchdb-replication": "7.0.0", "pouchdb-server": "4.1.0", "react": "16.9.0", "react-dom": "16.9.0" }, "devDependencies": { "react-scripts": "3.1.0", "rimraf"...
<|file_sep|>original/examples/react/package.json "babel-polyfill": "6.26.0", "concurrently": "4.1.1", "pouchdb-adapter-http": "7.0.0", "pouchdb-adapter-idb": "7.0.0", "pouchdb-replication": "7.0.0", "pouchdb-server": "4.1.0", "react": "16.9.0", "react-dom": "16.9.0" }, "devDependenci...
fd163ab8757517384b25ee38f873ac71d0c3657f
examples/react/package.json
examples/react/package.json
JSON
<|file_sep|>dist/bin/SimRunner.sh.diff original: # directory will point to this script's parent directory. updated: # directory will point to the parent directory of "bin". <|file_sep|>dist/bin/SimRunner.sh.diff original: if [ -L $WORKING_DIRECTORY ]; updated: if [ -L "${WORKING_DIRECTORY}" ]; <|file_sep|>dist/bin/Si...
# application's distribution. Consequently, the application's working # directory will point to the parent directory of "bin". WORKING_DIRECTORY=$0 if [ -L "${WORKING_DIRECTORY}" ]; then WORKING_DIRECTORY=`readlink $0` fi WORKING_DIRECTORY=`dirname "${WORKING_DIRECTORY}"` WORKING_DIRECTORY=`readlink -f "${WORKI...
<|file_sep|>dist/bin/SimRunner.sh.diff original: # directory will point to this script's parent directory. updated: # directory will point to the parent directory of "bin". <|file_sep|>dist/bin/SimRunner.sh.diff original: if [ -L $WORKING_DIRECTORY ]; updated: if [ -L "${WORKING_DIRECTORY}" ]; <|file_sep|>dist/bin/Si...
761c89634366dce427a408616f8d316985e8a620
dist/bin/SimRunner.sh
dist/bin/SimRunner.sh
Shell
<|file_sep|>original/server.js }; var helperUrl = config.helper.host + config.helper.endpoint; r.post({ url: helperUrl, form: { media: config.sampleImageUrl, eventsUrl: config.eventsUrl } }, function(error, response, body) { if (error !== null) { throw error; } var ...
}; var helperUrl = config.helper.host + config.helper.endpoint; r.post({ url: helperUrl, body: { media: { type: "url", content: config.sampleImageUrl }, eventsURL: config.eventsUrl }, json: true }, function(error, response, body) { if (error !== n...
<|file_sep|>original/server.js }; var helperUrl = config.helper.host + config.helper.endpoint; r.post({ url: helperUrl, form: { media: config.sampleImageUrl, eventsUrl: config.eventsUrl } }, function(error, response, body) { if (error !== null) { throw error; } var ...
ad744eeaba1413832dabd3df0e1e7becb08baed3
server.js
server.js
JavaScript
<|file_sep|>original/depends/packages/bdb.mk $(package)_sha256_hash=12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef $(package)_build_subdir=build_unix define $(package)_set_vars $(package)_config_opts=--disable-shared --enable-cxx --disable-replication $(package)_config_opts_mingw32=--enable-mingw $(p...
$(package)_sha256_hash=12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef $(package)_build_subdir=build_unix define $(package)_set_vars $(package)_config_opts=--disable-shared --enable-cxx --disable-replication $(package)_config_opts_mingw32=--enable-mingw $(package)_config_opts_linux=--with-pic endef d...
<|file_sep|>original/depends/packages/bdb.mk $(package)_sha256_hash=12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef $(package)_build_subdir=build_unix define $(package)_set_vars $(package)_config_opts=--disable-shared --enable-cxx --disable-replication $(package)_config_opts_mingw32=--enable-mingw $(p...
3640ae74ce2770041dcdf87fe193ab575efc7079
depends/packages/bdb.mk
depends/packages/bdb.mk
Makefile
<|file_sep|>original/composer.json { "name": "th/fileuploader", "description": "Small library to help upload files", "require": { "php": ">=5.0.0" }, "autoload": { "psr-4": { "Th\\FileUploader\\": "src" } } } <|file_sep|>current/composer.json { "name": "th/fileuploader", "description":...
{ "name": "th/fileuploader", "description": "Small library to help upload files", "require": { "php": ">=5.3.0" }, "autoload": { "psr-4": { "Th\\FileUploader\\": "src" } } }
<|file_sep|>original/composer.json { "name": "th/fileuploader", "description": "Small library to help upload files", "require": { "php": ">=5.0.0" }, "autoload": { "psr-4": { "Th\\FileUploader\\": "src" } } } <|file_sep|>current/composer.json { "name": "th/fileuploader", "description":...
f2b68bd9f71e2407dc83151ce54a6687ca224acb
composer.json
composer.json
JSON
<|file_sep|>original/test-requirements.txt # Install bounded pep8/pyflakes first, then let flake8 install pep8==1.4.5 pyflakes>=0.7.2,<0.7.4 flake8==2.0 hacking>=0.8.0,<0.9 discover fixtures>=0.3.14 mock>=1.0 mox>=0.5.3 python-subunit testrepository>=0.0.17 testscenarios>=0.4 testtools>=0.9.32 # for test_rabbit kombu...
# Hacking already pins down pep8, pyflakes and flake8 hacking>=0.8.0,<0.9 discover fixtures>=0.3.14 mock>=1.0 mox>=0.5.3 python-subunit testrepository>=0.0.17 testscenarios>=0.4 testtools>=0.9.32 # for test_rabbit kombu>=2.4.8 # when we can require tox>= 1.4, this can go into tox.ini: # [testenv:cover] # deps = {[...
<|file_sep|>original/test-requirements.txt # Install bounded pep8/pyflakes first, then let flake8 install pep8==1.4.5 pyflakes>=0.7.2,<0.7.4 flake8==2.0 hacking>=0.8.0,<0.9 discover fixtures>=0.3.14 mock>=1.0 mox>=0.5.3 python-subunit testrepository>=0.0.17 testscenarios>=0.4 testtools>=0.9.32 # for test_rabbit kombu...
f5df5cb17787a82b8671cb72cfa1a93538340878
test-requirements.txt
test-requirements.txt
Text
<|file_sep|>original/config-provisioning/src/main/java/com/yahoo/config/provision/security/NodeIdentifier.java // Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config.provision.security; import java.security.cert.X509Certificate; import ...
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config.provision.security; import java.security.cert.X509Certificate; import java.util.List; /** * Identifies Vespa nodes from the their X509 certificate. * * @author bjorncs */ publi...
<|file_sep|>original/config-provisioning/src/main/java/com/yahoo/config/provision/security/NodeIdentifier.java // Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config.provision.security; import java.security.cert.X509Certificate; import ...
db8f8cfcbfaf5b976a1550ff09953f251890f836
config-provisioning/src/main/java/com/yahoo/config/provision/security/NodeIdentifier.java
config-provisioning/src/main/java/com/yahoo/config/provision/security/NodeIdentifier.java
Java
<|file_sep|>original/package.json <|file_sep|>current/package.json <|file_sep|>updated/package.json
{ "name": "driverstation", "version": "0.1.0", "author": "Brandon Cheng <gluxon@gluxon.com>", "description": "Node.js API for the client-side FRC Driver Station", "repository": { "type": "git", "url": "https://github.com/gluxon/node-driverstation.git" }, "main": "./lib/driverstation", "dependenc...
<|file_sep|>original/package.json <|file_sep|>current/package.json <|file_sep|>updated/package.json { "name": "driverstation", "version": "0.1.0", "author": "Brandon Cheng <gluxon@gluxon.com>", "description": "Node.js API for the client-side FRC Driver Station", "repository": { "type": "git", "url":...
c59b219f3007a08e375560adf10bba176552a57e
package.json
package.json
JSON
<|file_sep|>original/README.md # jargs **Simple node arg parser with explicit JSON config** Coming soon <|file_sep|>current/README.md # jargs **Simple node arg parser with explicit JSON config** Coming soon <|file_sep|>updated/README.md
# jargs **Simple node arg parser with explicit JSON config** ## About Unlike other arg parsers, jargs allows you to define your commands, arguments, etc in a tree structure. This way you can have, for example, nested sub-commands, or arguments that are attached to a specific command. ## Installation ```shell npm in...
<|file_sep|>original/README.md # jargs **Simple node arg parser with explicit JSON config** Coming soon <|file_sep|>current/README.md # jargs **Simple node arg parser with explicit JSON config** Coming soon <|file_sep|>updated/README.md # jargs **Simple node arg parser with explicit JSON config** ## About Unlike ot...
9dffd342b12603ad34eee6b0e7bb915110c95083
README.md
README.md
Markdown
<|file_sep|>original/src/main/java/mealplaner/io/xml/model/v3/RecipeXml.java import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlRootElement;...
import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public class RecipeXm...
<|file_sep|>original/src/main/java/mealplaner/io/xml/model/v3/RecipeXml.java import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlRootElement;...
e7a0bde118fe962b3b5f3787e9b4421c7b5e1cec
src/main/java/mealplaner/io/xml/model/v3/RecipeXml.java
src/main/java/mealplaner/io/xml/model/v3/RecipeXml.java
Java
<|file_sep|>original/test/CodeGen/AArch64/paired-load.ll ; RUN: llc < %s | FileCheck %s target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" target triple = "arm64-apple-ios5.0.0" ; Ensure we're generating ldp instructions instead of ldr Q. ; CHECK: ldp ; CHECK: stp define void @f(i64* %p, i64* %q) { %addr2 = get...
; RUN: llc < %s | FileCheck %s target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" target triple = "aarch64-linux-gnu" ; Ensure we're generating ldp instructions instead of ldr Q. ; CHECK: ldp ; CHECK: stp define void @f(i64* %p, i64* %q) { %addr2 = getelementptr i64* %q, i32 1 %addr = getelementptr i64* %p, i...
<|file_sep|>original/test/CodeGen/AArch64/paired-load.ll ; RUN: llc < %s | FileCheck %s target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" target triple = "arm64-apple-ios5.0.0" ; Ensure we're generating ldp instructions instead of ldr Q. ; CHECK: ldp ; CHECK: stp define void @f(i64* %p, i64* %q) { %addr2 = get...
14d596a382a84c57811457f427b7d2ca60348fb5
test/CodeGen/AArch64/paired-load.ll
test/CodeGen/AArch64/paired-load.ll
LLVM
<|file_sep|>original/.travis.yml language: elixir elixir: - 1.4.5 - 1.5.1 otp_release: - 18.3 - 19.1 - 19.3 - 20.0 cache: directories: - _build - deps before_script: - MIX_ENV=test mix compile --warnings-as-errors - MIX_ENV=test mix dialyzer --plt script: - mix test - MIX_ENV=test mix dial...
language: elixir elixir: - 1.4.5 - 1.5.1 otp_release: - 19.1 - 19.3 - 20.0 cache: directories: - _build - deps before_script: - MIX_ENV=test mix compile --warnings-as-errors - MIX_ENV=test mix dialyzer --plt script: - mix test - MIX_ENV=test mix dialyzer --halt-exit-status
<|file_sep|>original/.travis.yml language: elixir elixir: - 1.4.5 - 1.5.1 otp_release: - 18.3 - 19.1 - 19.3 - 20.0 cache: directories: - _build - deps before_script: - MIX_ENV=test mix compile --warnings-as-errors - MIX_ENV=test mix dialyzer --plt script: - mix test - MIX_ENV=test mix dial...
9094e29d4d27de5d27d9d132902aadb425eb59a2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/java/com/dnmaze/dncli/util/JsUtil.java * @return the script engine * @throws FileNotFoundException if file was not found * @throws ScriptException if cannot eval the javascript file */ public static Invocable compileAndEval(File script) throws ScriptException, Fil...
* @return the script engine * @throws FileNotFoundException if file was not found * @throws ScriptException if cannot eval the javascript file */ public static Invocable compileAndEval(File script) throws ScriptException, FileNotFoundException { File scriptDir = script.getParentFile(); ...
<|file_sep|>original/src/main/java/com/dnmaze/dncli/util/JsUtil.java * @return the script engine * @throws FileNotFoundException if file was not found * @throws ScriptException if cannot eval the javascript file */ public static Invocable compileAndEval(File script) throws ScriptException, Fil...
6d1dded4e0c97641bb9d115f5ac71e5ebd400316
src/main/java/com/dnmaze/dncli/util/JsUtil.java
src/main/java/com/dnmaze/dncli/util/JsUtil.java
Java
<|file_sep|>roles/hostapd/tasks/main.yml.diff original: when: ansible_architecture == 'x86_64' or ansible_architecture == 'armv7l' updated: when: ansible_architecture == 'x86_64' <|file_sep|>original/roles/hostapd/tasks/main.yml command: rfkill unblock wlan when: ansible_architecture == 'x86_64' ignore_errors...
command: rfkill unblock wlan when: ansible_architecture == 'x86_64' ignore_errors: yes - name: Install hostapd apt: name=hostapd state=latest when: ansible_architecture == 'x86_64' - name: Remove sysVinit startup file file: path=/etc/init.d/hostapd state=absent when: ansible_architecture == 'armhf' or a...
<|file_sep|>roles/hostapd/tasks/main.yml.diff original: when: ansible_architecture == 'x86_64' or ansible_architecture == 'armv7l' updated: when: ansible_architecture == 'x86_64' <|file_sep|>original/roles/hostapd/tasks/main.yml command: rfkill unblock wlan when: ansible_architecture == 'x86_64' ignore_errors...
9623118a90134c5ae26e67d4c5a5feb03b29097d
roles/hostapd/tasks/main.yml
roles/hostapd/tasks/main.yml
YAML
<|file_sep|>README.md.diff original: updated: There is an ABI tracker for this project at [ABI Laboratory]. <|file_sep|>original/README.md This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; ver...
License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more detai...
<|file_sep|>README.md.diff original: updated: There is an ABI tracker for this project at [ABI Laboratory]. <|file_sep|>original/README.md This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; ver...
01d37d200f66d4792a806595bfe144c26ca87953
README.md
README.md
Markdown
<|file_sep|>original/test/HelloCoreClrApp.Test/Program.cs <|file_sep|>current/test/HelloCoreClrApp.Test/Program.cs <|file_sep|>updated/test/HelloCoreClrApp.Test/Program.cs
using System; namespace HelloCoreClrApp.Test { public static class Program { // Entry point for the application. public static void Main(string[] args) { Console.WriteLine("Please use 'dotnet test' or 'dotnet xunit' to run unit tests."); } } }
<|file_sep|>original/test/HelloCoreClrApp.Test/Program.cs <|file_sep|>current/test/HelloCoreClrApp.Test/Program.cs <|file_sep|>updated/test/HelloCoreClrApp.Test/Program.cs using System; namespace HelloCoreClrApp.Test { public static class Program { // Entry point for the application. public ...
0e50c1ec2fad93efad5f2dcbd49cc8b1df2a120d
test/HelloCoreClrApp.Test/Program.cs
test/HelloCoreClrApp.Test/Program.cs
C#
<|file_sep|>resources/public/js/monitor.js.diff original: var columns = 3 var itemPadding = 10 updated: var maxColumns = 3 var buildStatusPadding = 10 var fontResizeFactor = 1.6 function buildStatusCount() { return $('li').size() } <|file_sep|>resources/public/js/monitor.js.diff original: var buildStatusCount ...
function scaleFontToContainerSize() { $(".outerContainer").fitText(fontResizeFactor) } function styleListItems() { $('.outerContainer').height(buildStatusHeight()).width(buildStatusWidth()) scaleFontToContainerSize() } function addBuildStatusToScreen(project) { var buildStatus = project.lastBuildStat...
<|file_sep|>resources/public/js/monitor.js.diff original: var columns = 3 var itemPadding = 10 updated: var maxColumns = 3 var buildStatusPadding = 10 var fontResizeFactor = 1.6 function buildStatusCount() { return $('li').size() } <|file_sep|>resources/public/js/monitor.js.diff original: var buildStatusCount ...
94597bb79c01fb3287e19ab72389c5faa264954e
resources/public/js/monitor.js
resources/public/js/monitor.js
JavaScript
<|file_sep|>original/STANDARDS.md <|file_sep|>current/STANDARDS.md <|file_sep|>updated/STANDARDS.md
1. Use `cargo +nightly fmt` before comitting for consistency. It enforces 100-character lines, and some other stuf that's .. perhaps a bit on the agressively terse side. 2. It's okay for comments to ask questions that the author of the code ought to have known the answer to. 3. Everything else on this list...
<|file_sep|>original/STANDARDS.md <|file_sep|>current/STANDARDS.md <|file_sep|>updated/STANDARDS.md 1. Use `cargo +nightly fmt` before comitting for consistency. It enforces 100-character lines, and some other stuf that's .. perhaps a bit on the agressively terse side. 2. It's okay for comments to ask questio...
bade5aab3296ea181890750bd85a6432414220f9
STANDARDS.md
STANDARDS.md
Markdown
<|file_sep|>original/README.md # steal [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bitovi/steal?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/bitovi/steal.svg?branch=master)](https://travis-ci.org/bitovi/steal) `steal` is...
# steal [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bitovi/steal?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/bitovi/steal.svg?branch=master)](https://travis-ci.org/bitovi/steal) `steal` is a JavaScript module loader. `s...
<|file_sep|>original/README.md # steal [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bitovi/steal?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/bitovi/steal.svg?branch=master)](https://travis-ci.org/bitovi/steal) `steal` is...
3492dbdd543448591467412411456157de0fc60c
README.md
README.md
Markdown
<|file_sep|>original/db/migrate/20090827081458_migration_merge_request_proposals_to_summery.rb <|file_sep|>current/db/migrate/20090827081458_migration_merge_request_proposals_to_summery.rb <|file_sep|>updated/db/migrate/20090827081458_migration_merge_request_proposals_to_summery.rb
# encoding: utf-8 class MigrationMergeRequestProposalsToSummery < ActiveRecord::Migration def self.up transaction do MergeRequest.all.each do |mr| if mr.proposal.blank? mr.summary = "..." mr.save! next end mr.summary = mr.proposal.encode("utf-8", ...
<|file_sep|>original/db/migrate/20090827081458_migration_merge_request_proposals_to_summery.rb <|file_sep|>current/db/migrate/20090827081458_migration_merge_request_proposals_to_summery.rb <|file_sep|>updated/db/migrate/20090827081458_migration_merge_request_proposals_to_summery.rb # encoding: utf-8 class MigrationM...
eac3061899584a4ea9564135e80be7a316630a84
db/migrate/20090827081458_migration_merge_request_proposals_to_summery.rb
db/migrate/20090827081458_migration_merge_request_proposals_to_summery.rb
Ruby
<|file_sep|>original/setup.py if (os.name == "nt"): compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE'] else: compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default', '-Wno-deprecated', '-Wno-parentheses'] extensions = [Extension("*", ["Chandra/_axTime3.pyx"], ...
if (os.name == "nt"): compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE'] else: compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default', '-Wno-deprecated', '-Wno-parentheses'] extensions = [Extension("*", ["Chandra/_axTime3.pyx"], extra_compile_arg...
<|file_sep|>original/setup.py if (os.name == "nt"): compile_args = ['/EHs', '/D_CRT_SECURE_NO_DEPRECATE'] else: compile_args = ['-Wno-switch-enum', '-Wno-switch', '-Wno-switch-default', '-Wno-deprecated', '-Wno-parentheses'] extensions = [Extension("*", ["Chandra/_axTime3.pyx"], ...
a09ac33998debcfa502e650e72e59acb265ffeac
setup.py
setup.py
Python
<|file_sep|>original/.travis.yml language: node_js sudo: false addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 node_js: - "node" env: - CC=gcc-4.8 CXX=g++-4.8 git: depth: 10 branches: <|file_sep|>current/.travis.yml language: node_js sudo: false addons: apt: sou...
language: node_js sudo: false addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 - libx11-dev - libxkbfile-dev node_js: - "node" env: - CC=gcc-4.8 CXX=g++-4.8 git: depth: 10
<|file_sep|>original/.travis.yml language: node_js sudo: false addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 node_js: - "node" env: - CC=gcc-4.8 CXX=g++-4.8 git: depth: 10 branches: <|file_sep|>current/.travis.yml language: node_js sudo: false addons: apt: sou...
a39c4dffe74fc677257f257ff0e2c5c4852595c2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/DependencyInjection/Configuration.php ->defaultFalse() ->end() ->booleanNode('ssl') ->defaultFalse() ->end() ->integerNode('max_queue_size') ...
->defaultFalse() ->end() ->integerNode('max_queue_size') ->defaultValue(10000) ->end() ->integerNode('batch_size') ->defaultValue(100) ...
<|file_sep|>original/DependencyInjection/Configuration.php ->defaultFalse() ->end() ->booleanNode('ssl') ->defaultFalse() ->end() ->integerNode('max_queue_size') ...
b22188a650da9118ae256cda77ded9a1acbbcfa6
DependencyInjection/Configuration.php
DependencyInjection/Configuration.php
PHP
<|file_sep|>original/website/_posts/2018-12-13-React-Abstract-Component.md <|file_sep|>current/website/_posts/2018-12-13-React-Abstract-Component.md <|file_sep|>updated/website/_posts/2018-12-13-React-Abstract-Component.md
--- title: "Supporting React.forwardRef and Beyond" short-title: "Supporting React.forwardRef" author: "Jordan Brown" medium-link: "https://medium.com/flow-type/supporting-react-forwardref-and-beyond-f8dd88f35544" --- We made some major changes to our React model to better model new React components. Let's talk about ...
<|file_sep|>original/website/_posts/2018-12-13-React-Abstract-Component.md <|file_sep|>current/website/_posts/2018-12-13-React-Abstract-Component.md <|file_sep|>updated/website/_posts/2018-12-13-React-Abstract-Component.md --- title: "Supporting React.forwardRef and Beyond" short-title: "Supporting React.forwardRef" ...
504b24190acfe1970ce8fb8a72bde2786e095441
website/_posts/2018-12-13-React-Abstract-Component.md
website/_posts/2018-12-13-React-Abstract-Component.md
Markdown
<|file_sep|>README.md.diff original: name Z N color label updated: name Z N color_label <|file_sep|>README.md.diff original: color label R G B updated: color_label R G B <|file_sep|>original/README.md ``` name Z N color label ``` ### Color File This file contains a list of colors and their definitions. ``` color label...
``` name Z N color_label ``` ### Color File This file contains a list of colors and their definitions. ``` color_label R G B ``` ### Element File This file contains a list of elements and their atomic numbers. ``` Z name ``` ### Magic Number File This file contains a list of magic numbers. ``` magic_number ```
<|file_sep|>README.md.diff original: name Z N color label updated: name Z N color_label <|file_sep|>README.md.diff original: color label R G B updated: color_label R G B <|file_sep|>original/README.md ``` name Z N color label ``` ### Color File This file contains a list of colors and their definitions. ``` color label...
83d97c797bace1d36c49e2e5a6fd37e7315de506
README.md
README.md
Markdown
<|file_sep|>ciBuildOnMaster.sh.diff original: currentVersion=`cat version.sbt | grep "version in ThisBuild :=" | grep -Po '\K([^"]*)(?=-SNAPSHOT)'` updated: currentVersion=`cat version.sbt | grep "version in ThisBuild :=" | grep -Po '= "\K[^"]*'` <|file_sep|>ciBuildOnMaster.sh.diff original: # ./sbtwrapper clean test m...
fi if [ -z "$nexusHost" ]; then echo "nexusHost missing"; exit -1 fi echo publishing nussknacker version: $version ./sbtwrapper clean test management/it:test ./sbtwrapper -DnexusPassword=${nexusPassword} -DnexusHost=${nexusHost} "set version in ThisBuild := \"$version\"" publish if [[ ! -z $githubToken ]]; then ...
<|file_sep|>ciBuildOnMaster.sh.diff original: currentVersion=`cat version.sbt | grep "version in ThisBuild :=" | grep -Po '\K([^"]*)(?=-SNAPSHOT)'` updated: currentVersion=`cat version.sbt | grep "version in ThisBuild :=" | grep -Po '= "\K[^"]*'` <|file_sep|>ciBuildOnMaster.sh.diff original: # ./sbtwrapper clean test m...
1941df5faf5482ab165df4905327e19bdb9112f0
ciBuildOnMaster.sh
ciBuildOnMaster.sh
Shell
<|file_sep|>original/.travis.yml - python: 3.4 # Remove this once aldryn-boilerplates is compatible with Django 1.7 - env: DJANGO=1.7 CMD=./test - env: DJANGO=1.7 CMD="flake8 aldryn_newsblog" exclude: - python: 2.6 env: DJANGO=1.7 CMD=./test fast_finish: true include: - python: 2.7 ...
- python: 3.4 # Remove this once aldryn-boilerplates is compatible with Django 1.7 - env: DJANGO=1.7 CMD=./test - env: DJANGO=1.7 CMD="flake8 aldryn_newsblog" exclude: - python: 2.6 env: DJANGO=1.7 CMD=./test fast_finish: true include: - python: 2.7 env: DJANGO=1.6 CMD="flake8 ...
<|file_sep|>original/.travis.yml - python: 3.4 # Remove this once aldryn-boilerplates is compatible with Django 1.7 - env: DJANGO=1.7 CMD=./test - env: DJANGO=1.7 CMD="flake8 aldryn_newsblog" exclude: - python: 2.6 env: DJANGO=1.7 CMD=./test fast_finish: true include: - python: 2.7 ...
f64d7fc5c12779b20fe620d3f094f232af6614fc
.travis.yml
.travis.yml
YAML
<|file_sep|>test/fixtures/tolk_translations.yml.diff original: text: Hello World updated: text: | --- Hello World ... <|file_sep|>test/fixtures/tolk_translations.yml.diff original: text: Hej Verden updated: text: | --- Hej Verden ... <|file_sep|>test/fixtures/tolk_translations.yml.diff original:...
id: 8 phrase_id: 5 locale_id: 1 text: | --- '1' number_currency_format_significant_en: id: 9 phrase_id: 6 locale_id: 1 text: | --- false ... number_currency_format_significant_da: id: 10 phrase_id: 6 locale_id: 2 text: | --- true ...
<|file_sep|>test/fixtures/tolk_translations.yml.diff original: text: Hello World updated: text: | --- Hello World ... <|file_sep|>test/fixtures/tolk_translations.yml.diff original: text: Hej Verden updated: text: | --- Hej Verden ... <|file_sep|>test/fixtures/tolk_translations.yml.diff original:...
68aa25297215738d4ce3f4574eae52a7ead1384c
test/fixtures/tolk_translations.yml
test/fixtures/tolk_translations.yml
YAML
<|file_sep|>radar/radar/models/user_sessions.py.diff original: from sqlalchemy.orm import relationship updated: from sqlalchemy.orm import relationship, backref <|file_sep|>original/radar/radar/models/user_sessions.py from radar.models.users import User, AnonymousUser from radar.models.logs import log_changes @log_ch...
from radar.models.users import User, AnonymousUser from radar.models.logs import log_changes @log_changes class UserSession(db.Model): __tablename__ = 'user_sessions' id = Column(Integer, primary_key=True) user_id = Column(Integer, ForeignKey('users.id', onupdate='CASCADE', ondelete='CASCADE'), nullable...
<|file_sep|>radar/radar/models/user_sessions.py.diff original: from sqlalchemy.orm import relationship updated: from sqlalchemy.orm import relationship, backref <|file_sep|>original/radar/radar/models/user_sessions.py from radar.models.users import User, AnonymousUser from radar.models.logs import log_changes @log_ch...
42c7b4c7b74a3aeccca73f368a16a2f96295ff3b
radar/radar/models/user_sessions.py
radar/radar/models/user_sessions.py
Python
<|file_sep|>README.txt.diff original: on the website of the project at http://www.zorba-xquery.com/doc/zorba-latest/zorba/html/. updated: on the website of the project at http://www.zorba-xquery.org/html/documentation <|file_sep|>original/README.txt Licensing --------- Please see the file called LICENSE.txt...
Licensing --------- Please see the file called LICENSE.txt. Contacts -------- o If you want to be informed about new code releases, bug fixes and general news and information about the Zorba XQuery Processor subscribe to the Zorba Users mailing list as described under <zorba-users@lists.sourcefor...
<|file_sep|>README.txt.diff original: on the website of the project at http://www.zorba-xquery.com/doc/zorba-latest/zorba/html/. updated: on the website of the project at http://www.zorba-xquery.org/html/documentation <|file_sep|>original/README.txt Licensing --------- Please see the file called LICENSE.txt...
fd2c0f6a86a0bd821443c6262736d35cb42d1278
README.txt
README.txt
Text
<|file_sep|>original/.travis.yml language: ruby sudo: false before_install: - gem install bundler -v '~> 1.13' rvm: - 2.0.0 - 2.1.10 - 2.2.5 - 2.3.1 gemfile: - gemfiles/rails_4.0.gemfile - gemfiles/rails_4.1.gemfile - gemfiles/rails_4.2.gemfile <|file_sep|>current/.travis.yml language: ruby sudo: false ...
language: ruby sudo: false before_install: - gem install bundler -v '~> 1.13' rvm: - 2.0.0 - 2.1.10 - 2.2.6 - 2.3.3 gemfile: - gemfiles/rails_4.0.gemfile - gemfiles/rails_4.1.gemfile - gemfiles/rails_4.2.gemfile
<|file_sep|>original/.travis.yml language: ruby sudo: false before_install: - gem install bundler -v '~> 1.13' rvm: - 2.0.0 - 2.1.10 - 2.2.5 - 2.3.1 gemfile: - gemfiles/rails_4.0.gemfile - gemfiles/rails_4.1.gemfile - gemfiles/rails_4.2.gemfile <|file_sep|>current/.travis.yml language: ruby sudo: false ...
2741c6692b3a871482878c54730aeb5fe8cc149e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tox.ini [tox] envlist = py34, py27, pypy, pypy3 recreate = False [testenv] downloadcache = {homedir}/.pipcache setenv = PYLAST_USERNAME={env:PYLAST_USERNAME:} PYLAST_PASSWORD_HASH={env:PYLAST_PASSWORD_HASH:} PYLAST_API_KEY={env:PYLAST_API_KEY:} PYLAST_API_SECRET={env:PYLAST_API_SEC...
[tox] envlist = py34, py27, pypy, pypy3 recreate = False [testenv] setenv = PYLAST_USERNAME={env:PYLAST_USERNAME:} PYLAST_PASSWORD_HASH={env:PYLAST_PASSWORD_HASH:} PYLAST_API_KEY={env:PYLAST_API_KEY:} PYLAST_API_SECRET={env:PYLAST_API_SECRET:} deps = pyyaml pytest mock ipdb pyt...
<|file_sep|>original/tox.ini [tox] envlist = py34, py27, pypy, pypy3 recreate = False [testenv] downloadcache = {homedir}/.pipcache setenv = PYLAST_USERNAME={env:PYLAST_USERNAME:} PYLAST_PASSWORD_HASH={env:PYLAST_PASSWORD_HASH:} PYLAST_API_KEY={env:PYLAST_API_KEY:} PYLAST_API_SECRET={env:PYLAST_API_SEC...
1732ca66861566334cabda1e72551f48fe40500f
tox.ini
tox.ini
INI
<|file_sep|>original/src/main/kotlin/jp/nephy/penicillin/extensions/LikeCompatibility.kt <|file_sep|>current/src/main/kotlin/jp/nephy/penicillin/extensions/LikeCompatibility.kt <|file_sep|>updated/src/main/kotlin/jp/nephy/penicillin/extensions/LikeCompatibility.kt
package jp.nephy.penicillin.extensions import jp.nephy.penicillin.models.Status val Status.likeCount: Int get() = favoriteCount val Status.liked: Boolean get() = favorited
<|file_sep|>original/src/main/kotlin/jp/nephy/penicillin/extensions/LikeCompatibility.kt <|file_sep|>current/src/main/kotlin/jp/nephy/penicillin/extensions/LikeCompatibility.kt <|file_sep|>updated/src/main/kotlin/jp/nephy/penicillin/extensions/LikeCompatibility.kt package jp.nephy.penicillin.extensions import jp.nep...
4c13c134e1047939aec3b90a67d95b9e3682635a
src/main/kotlin/jp/nephy/penicillin/extensions/LikeCompatibility.kt
src/main/kotlin/jp/nephy/penicillin/extensions/LikeCompatibility.kt
Kotlin
<|file_sep|>original/source/collections/CMakeLists.txt add_subdirectory(collections_test) set (SOURCES "collections_dummy.cpp" ) set (HEADERS "concurrent_auto_map.hpp" "coherent_map.hpp" "coherent_queue.hpp" "coherent_set.hpp" "concurrent_forward_list.hpp" "mover.hpp" ) add_library(collections ${HEADE...
add_subdirectory(collections_test) set (SOURCES "collections_dummy.cpp" ) set (HEADERS "concurrent_auto_map.hpp" "coherent_map.hpp" "coherent_queue.hpp" "coherent_set.hpp" "concurrent_forward_list.hpp" "mover.hpp" ) add_library(collections ${HEADERS} ${SOURCES}) source_group("src" FILES ${SOURCES}) so...
<|file_sep|>original/source/collections/CMakeLists.txt add_subdirectory(collections_test) set (SOURCES "collections_dummy.cpp" ) set (HEADERS "concurrent_auto_map.hpp" "coherent_map.hpp" "coherent_queue.hpp" "coherent_set.hpp" "concurrent_forward_list.hpp" "mover.hpp" ) add_library(collections ${HEADE...
536a3588059dfdcc1c9aa985c27dcfb13c7f80b4
source/collections/CMakeLists.txt
source/collections/CMakeLists.txt
Text
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0.3 PyYAML==3.12 pytest==3.2.0 pytest-runner==2.11.1 requests>=2.1 PySocks>=1.5.8 pyOpenSSL>=0.14 selectors34>=1.1 <|file_sep|>current/requirements...
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 tox==2.8.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0.3 PyYAML==3.12 pytest==3.2.0 pytest-runner==2.11.1 requests>=2.1 PySocks>=1.5.8 pyOpenSSL>=0.14 selectors34>=1.1
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0.3 PyYAML==3.12 pytest==3.2.0 pytest-runner==2.11.1 requests>=2.1 PySocks>=1.5.8 pyOpenSSL>=0.14 selectors34>=1.1 <|file_sep|>current/requirements...
9e098987eabbe50e8c2c1404dd429adce11dd78a
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>.travis.yml.diff original: updated: - 7.2 <|file_sep|>original/.travis.yml php: - 5.6 - 7 - 7.1 env: matrix: - DB=mysql - DB=sqlite - DB=pgsql before_install: # copy sprinkles.json - cp app/sprinkles.example.json app/sprinkles.json # set up db - bash build/before_install....
php: - 5.6 - 7 - 7.1 - 7.2 env: matrix: - DB=mysql - DB=sqlite - DB=pgsql before_install: # copy sprinkles.json - cp app/sprinkles.example.json app/sprinkles.json # set up db - bash build/before_install.sh $DB before_script: # install deps and UF
<|file_sep|>.travis.yml.diff original: updated: - 7.2 <|file_sep|>original/.travis.yml php: - 5.6 - 7 - 7.1 env: matrix: - DB=mysql - DB=sqlite - DB=pgsql before_install: # copy sprinkles.json - cp app/sprinkles.example.json app/sprinkles.json # set up db - bash build/before_install....
29e4c2602242252db437e01fdc4c15f4f5551983
.travis.yml
.travis.yml
YAML
<|file_sep|>mem_textproto_test.go.diff original: updated: "github.com/stretchr/testify/assert" <|file_sep|>mem_textproto_test.go.diff original: func TestHandleServerError(t *testing.T) { updated: func TestServerError(t *testing.T) { <|file_sep|>original/mem_textproto_test.go "strings" "testing" ) func TestHandleS...
c := &Client{rw: serverReadWriter} err := c.Set("foo", []byte("bar")) e, ok := err.(ServerError) if ok && strings.Contains(e.Error(), "server error: "+errorMessage) { return } t.Fatalf("set(foo): Error = %v, want ServerError: test fake", err) } func TestClientError(t *testing.T) { errorMessage := "test fake...
<|file_sep|>mem_textproto_test.go.diff original: updated: "github.com/stretchr/testify/assert" <|file_sep|>mem_textproto_test.go.diff original: func TestHandleServerError(t *testing.T) { updated: func TestServerError(t *testing.T) { <|file_sep|>original/mem_textproto_test.go "strings" "testing" ) func TestHandleS...
4912d9036a1b970b5bc6ceb0298e4b7307004b27
mem_textproto_test.go
mem_textproto_test.go
Go
<|file_sep|>original/test/SemaCXX/composite-pointer-type.cpp if (d1 == d2) // expected-error{{comparison of distinct}} return; } // PR4691 int ptrcmp1(void *a, int *b) { return a < b; } int ptrcmp2(long *a, int *b) { return a < b; // expected-error{{distinct}} } // PR5509 - Multi-level pointers int f2() { ...
} int ptrcmp2(long *a, int *b) { return a < b; // expected-error{{distinct}} } // PR5509 - Multi-level pointers int f2() { typedef int *IntPtr; typedef IntPtr *IntPtrPtr; typedef IntPtr const *IntPtrConstPtr; IntPtrConstPtr i = 0; IntPtrPtr j = 0; return i != j; } // PR5763 typedef double Matrix4[4][4];...
<|file_sep|>original/test/SemaCXX/composite-pointer-type.cpp if (d1 == d2) // expected-error{{comparison of distinct}} return; } // PR4691 int ptrcmp1(void *a, int *b) { return a < b; } int ptrcmp2(long *a, int *b) { return a < b; // expected-error{{distinct}} } // PR5509 - Multi-level pointers int f2() { ...
b4a89998b2c8945ccb05d5d1ab7b93e98d695057
test/SemaCXX/composite-pointer-type.cpp
test/SemaCXX/composite-pointer-type.cpp
C++
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.2.1 tox==2.5.0 coverage==4.2 Sphinx==1.5.1 cryptography==1.7.1 PyYAML==3.12 pytest==3.0.5 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.2.1 tox...
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.2.1 tox==2.5.0 coverage==4.3.1 Sphinx==1.5.1 cryptography==1.7.1 PyYAML==3.12 pytest==3.0.5
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.2.1 tox==2.5.0 coverage==4.2 Sphinx==1.5.1 cryptography==1.7.1 PyYAML==3.12 pytest==3.0.5 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.2.1 tox...
6cd9465ac00f36b556509873f63c1d5762e1d2f4
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/tests/facts/find_in_file/no_matches.json { "arg": ["/home/pyinfra/mylink", "test"], "output": [ "_exists_/home/pyinfra/mylink" ], "fact": [] } <|file_sep|>current/tests/facts/find_in_file/no_matches.json { "arg": ["/home/pyinfra/mylink", "test"], "output": [ ...
{ "arg": ["/home/pyinfra/mylink", "test"], "output": [ "/home/pyinfra/mylink", "_exists_/home/pyinfra/mylink" ], "fact": [] }
<|file_sep|>original/tests/facts/find_in_file/no_matches.json { "arg": ["/home/pyinfra/mylink", "test"], "output": [ "_exists_/home/pyinfra/mylink" ], "fact": [] } <|file_sep|>current/tests/facts/find_in_file/no_matches.json { "arg": ["/home/pyinfra/mylink", "test"], "output": [ ...
9d242e566c4dcea00a2e64d33ef46ca45a9b05bc
tests/facts/find_in_file/no_matches.json
tests/facts/find_in_file/no_matches.json
JSON
<|file_sep|>.travis.yml.diff original: - "2.6" updated: <|file_sep|>.travis.yml.diff original: - DJANGO=1.5 updated: <|file_sep|>original/.travis.yml - "2.6" - "2.7" env: - DJANGO=1.5 - DJANGO=1.6 - DJANGO=1.7 - DJANGO=1.8 - DJANGO=1.9 matrix: exclude: - python: "2.6" env: DJANGO=1.7 ...
language: python python: - "2.7" env: - DJANGO=1.6 - DJANGO=1.7 - DJANGO=1.8 - DJANGO=1.9 install: - pip install -q Django==$DJANGO --use-mirrors - pip install pep8 --use-mirrors - pip install https://github.com/dcramer/pyflakes/tarball/master - pip install -q -e . --use-mirrors - pip install -r pi...
<|file_sep|>.travis.yml.diff original: - "2.6" updated: <|file_sep|>.travis.yml.diff original: - DJANGO=1.5 updated: <|file_sep|>original/.travis.yml - "2.6" - "2.7" env: - DJANGO=1.5 - DJANGO=1.6 - DJANGO=1.7 - DJANGO=1.8 - DJANGO=1.9 matrix: exclude: - python: "2.6" env: DJANGO=1.7 ...
3c705ca8341b39c308c3b3cf26b00ea7f1e6462a
.travis.yml
.travis.yml
YAML
<|file_sep|>.github/workflows/frontend.yml.diff original: node-version: [10.x, 12.x] updated: node-version: [13.x, 14.x] <|file_sep|>original/.github/workflows/frontend.yml jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x] steps: - uses: ...
jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [13.x, 14.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: npm install...
<|file_sep|>.github/workflows/frontend.yml.diff original: node-version: [10.x, 12.x] updated: node-version: [13.x, 14.x] <|file_sep|>original/.github/workflows/frontend.yml jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x] steps: - uses: ...
ac5806238136bca7113a0f80ace6852ae76f396d
.github/workflows/frontend.yml
.github/workflows/frontend.yml
YAML
<|file_sep|>original/.github/workflows/ci.yml matrix: os: [ubuntu-latest] ghc: ['8.10', '8.8', '8.6'] include: - os: windows-latest - os: macOS-latest steps: - run: git config --global core.autocrlf false - uses: actions/checkout@v2 - uses: actions/setup-ha...
ghc: ['8.10', '8.8', '8.6'] include: - os: windows-latest - os: macOS-latest steps: - run: git config --global core.autocrlf false - uses: actions/checkout@v2 - uses: actions/setup-haskell@v1 id: setup-haskell with: ghc-version: ${{ matrix.ghc }} ...
<|file_sep|>original/.github/workflows/ci.yml matrix: os: [ubuntu-latest] ghc: ['8.10', '8.8', '8.6'] include: - os: windows-latest - os: macOS-latest steps: - run: git config --global core.autocrlf false - uses: actions/checkout@v2 - uses: actions/setup-ha...
dfb7a7c4cdce964e7632a3444ea2ee12389ef67b
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/package.json "email": "fabiojose@gmail.com", "url": "https://github.com/fabiojose" }, "license": "Apache-2.0", "bugs": { "url": "https://github.com/cloudevents/sdk-javascript/issues" }, "homepage": "https://github.com/cloudevents/sdk-javascript#readme", "dependencies": { ...
"license": "Apache-2.0", "bugs": { "url": "https://github.com/cloudevents/sdk-javascript/issues" }, "homepage": "https://github.com/cloudevents/sdk-javascript#readme", "dependencies": { "axios": "0.18.0", "is-empty": "1.2.0", "uri-js": "4.2.2", "uuid": "3.3.2" }, "devDependencies": { ...
<|file_sep|>original/package.json "email": "fabiojose@gmail.com", "url": "https://github.com/fabiojose" }, "license": "Apache-2.0", "bugs": { "url": "https://github.com/cloudevents/sdk-javascript/issues" }, "homepage": "https://github.com/cloudevents/sdk-javascript#readme", "dependencies": { ...
da8f2f430d1e35c6d601a8bbadfae8621c579ebc
package.json
package.json
JSON
<|file_sep|>elm-package.json.diff original: updated: "native-modules": true, <|file_sep|>elm-package.json.diff original: "evancz/elm-html": "3.0.0 <= v < 4.0.0" updated: "evancz/elm-effects": "1.0.0 <= v < 2.0.0", "evancz/elm-html": "3.0.0 <= v < 4.0.0", "evancz/start-app": "2.0.0 <...
{ "version": "1.0.0", "summary": "Codename Nickel Havana is a refuge from plug.dj.", "repository": "https://github.com/akeeton/nickel-havana.git", "license": "BSD2", "source-directories": [ "src", "elmfire/src" ], "exposed-modules": [], "native-modules": true, "depend...
<|file_sep|>elm-package.json.diff original: updated: "native-modules": true, <|file_sep|>elm-package.json.diff original: "evancz/elm-html": "3.0.0 <= v < 4.0.0" updated: "evancz/elm-effects": "1.0.0 <= v < 2.0.0", "evancz/elm-html": "3.0.0 <= v < 4.0.0", "evancz/start-app": "2.0.0 <...
6013bc28da90742edc68dfa0d30fe4952bb58ce0
elm-package.json
elm-package.json
JSON
<|file_sep|>original/test/Transforms/ConstProp/2006-11-30-vector-cast.ll ; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | grep 4294967295 && ; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep zeroinitializer < 4 x uint> %test() { %tmp40 = bitcast <2 x long> bitcast (<4 x int> <...
; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | grep 'uint -1' && ; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep zeroinitializer < 4 x uint> %test() { %tmp40 = bitcast <2 x long> bitcast (<4 x int> < int 0, int 0, int -1, int 0 > to <2 x long>) to <4 x uint> ret <4 x uin...
<|file_sep|>original/test/Transforms/ConstProp/2006-11-30-vector-cast.ll ; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | grep 4294967295 && ; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep zeroinitializer < 4 x uint> %test() { %tmp40 = bitcast <2 x long> bitcast (<4 x int> <...
13b017c1f9b755e3bb8fb02f6a43f7294a20e9c0
test/Transforms/ConstProp/2006-11-30-vector-cast.ll
test/Transforms/ConstProp/2006-11-30-vector-cast.ll
LLVM
<|file_sep|>.travis.yml.diff original: updated: rust: - nightly - beta <|file_sep|>original/.travis.yml language: rust script: - cargo test - cargo doc --no-deps after_success: - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && ./.travis/update_docs.sh env: global: secure: NSG8W5HJAKj0j...
language: rust rust: - nightly - beta script: - cargo test - cargo doc --no-deps after_success: - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && test $TRAVIS_RUST_VERSION == "nightly" && ./.travis/update_docs.sh env: global: secure: NSG8W5HJAKj0jpYLtnnC4WyXSwbo3BT+ufX3U+/7+ria/vMy5xzOQ...
<|file_sep|>.travis.yml.diff original: updated: rust: - nightly - beta <|file_sep|>original/.travis.yml language: rust script: - cargo test - cargo doc --no-deps after_success: - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && ./.travis/update_docs.sh env: global: secure: NSG8W5HJAKj0j...
f164f1bb3374f88f942e0109051086bec852567e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/_posts/2019-05-15-nowsecure-connect-2019.markdown <|file_sep|>current/_posts/2019-05-15-nowsecure-connect-2019.markdown <|file_sep|>updated/_posts/2019-05-15-nowsecure-connect-2019.markdown
--- layout: news_item title: 'NowSecure Connect 2019' date: 2019-05-15 23:00:01 +0200 author: oleavr categories: [conference] --- Please do make sure to check out the [NowSecure Connect 2019][] conference that's happening June 2019 in Washington DC. It will feature multiple Frida-related presentations, and I am super-...
<|file_sep|>original/_posts/2019-05-15-nowsecure-connect-2019.markdown <|file_sep|>current/_posts/2019-05-15-nowsecure-connect-2019.markdown <|file_sep|>updated/_posts/2019-05-15-nowsecure-connect-2019.markdown --- layout: news_item title: 'NowSecure Connect 2019' date: 2019-05-15 23:00:01 +0200 author: oleavr catego...
7077f5384438cca66b6b9a20ad68da6655a25593
_posts/2019-05-15-nowsecure-connect-2019.markdown
_posts/2019-05-15-nowsecure-connect-2019.markdown
Markdown
<|file_sep|>original/wuvt/templates/admin/index.html {% extends "admin/base.html" %} {% block nav_admin_index %}<li class="active"><a href="{{ url_for('admin.index') }}">Home</a></li>{% endblock %} {% block content %} <h1>{{ config.STATION_NAME }}</h1> <p>Please select an option in the menu above.</p> {% endblock %} <...
{% extends "admin/base.html" %} {% block nav_admin_index %}<li class="active"><a href="{{ url_for('admin.index') }}">Home</a></li>{% endblock %} {% block content %} <h1>{{ config.STATION_NAME }}</h1> <p>Please select an option in the menu above.</p> <h2>Can't find something?</h2> <p>Trackman has been moved to a separ...
<|file_sep|>original/wuvt/templates/admin/index.html {% extends "admin/base.html" %} {% block nav_admin_index %}<li class="active"><a href="{{ url_for('admin.index') }}">Home</a></li>{% endblock %} {% block content %} <h1>{{ config.STATION_NAME }}</h1> <p>Please select an option in the menu above.</p> {% endblock %} <...
8335cf3913713b07d2cbdbadbad55f9a494608c5
wuvt/templates/admin/index.html
wuvt/templates/admin/index.html
HTML
<|file_sep|>vendor/pliny/lib/pliny/commands/common.rb.diff original: updated: break elsif File.exists?(File.expand_path(".env.test", Dir.pwd)) <|file_sep|>original/vendor/pliny/lib/pliny/commands/common.rb end def display(msg) stream.puts msg end def envs %w(.env .env.te...
end display "Root is #{root}" end def display(msg) stream.puts msg end def envs %w(.env .env.test).map { |env_file| env_path = File.expand_path(env_file, root) if File.exists?(env_path) [env_file, Pliny::Utils.parse_env(env_path)] else ...
<|file_sep|>vendor/pliny/lib/pliny/commands/common.rb.diff original: updated: break elsif File.exists?(File.expand_path(".env.test", Dir.pwd)) <|file_sep|>original/vendor/pliny/lib/pliny/commands/common.rb end def display(msg) stream.puts msg end def envs %w(.env .env.te...
3403b79391716ae0da92010bb7f65bd451a6ca23
vendor/pliny/lib/pliny/commands/common.rb
vendor/pliny/lib/pliny/commands/common.rb
Ruby
<|file_sep|>original/applications/storybook/src/app/index.scss // include components that are shared across all Proton Products @import '~react-components/styles/index'; // project specific components // stuff for responsive @import '~design-system/_sass/reusable-components/design-system-responsive'; @import '~design...
// include components that are shared across all Proton Products @import '~react-components/styles/index'; // project specific components // stuff for responsive @import '~design-system/_sass/reusable-components/design-system-responsive'; @import '~design-system/_sass/design-system-website/responsive'; // others @im...
<|file_sep|>original/applications/storybook/src/app/index.scss // include components that are shared across all Proton Products @import '~react-components/styles/index'; // project specific components // stuff for responsive @import '~design-system/_sass/reusable-components/design-system-responsive'; @import '~design...
7981e4a940dbb125b952ea499b49f84c744d2684
applications/storybook/src/app/index.scss
applications/storybook/src/app/index.scss
SCSS
<|file_sep|>original/derrida/__init__.py __version_info__ = (1, 2, 0, None) # Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processo...
__version_info__ = (1, 3, 0, 'dev') # Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the template environ...
<|file_sep|>original/derrida/__init__.py __version_info__ = (1, 2, 0, None) # Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processo...
194449e880bf50cde799a1853474c8075e4cf5d4
derrida/__init__.py
derrida/__init__.py
Python
<|file_sep|>original/ca_on_school_boards_english_public/__init__.py from utils import CanadianJurisdiction from opencivicdata.divisions import Division from pupa.scrape import Organization class OntarioEnglishPublicSchoolBoards(CanadianJurisdiction): classification = 'legislature' # just to avoid clash divis...
from utils import CanadianJurisdiction from opencivicdata.divisions import Division from pupa.scrape import Organization class OntarioEnglishPublicSchoolBoards(CanadianJurisdiction): classification = 'legislature' # just to avoid clash division_id = 'ocd-division/country:ca/province:on' division_name = '...
<|file_sep|>original/ca_on_school_boards_english_public/__init__.py from utils import CanadianJurisdiction from opencivicdata.divisions import Division from pupa.scrape import Organization class OntarioEnglishPublicSchoolBoards(CanadianJurisdiction): classification = 'legislature' # just to avoid clash divis...
1ea4e06fb3dc08a27a37b379e9ba2fffd5303625
ca_on_school_boards_english_public/__init__.py
ca_on_school_boards_english_public/__init__.py
Python
<|file_sep|>original/package.json }, "engines" : { "node" : ">=4.8.0" }, "repository": { "type": "git", "url": "https://github.com/maxwellhadley/node-red-contrib-rfxcom.git" }, "license": "BSD-2-Clause", "keywords": [ "node-red", "rfxcom", "RFXtrx433" ], "node-red": { "nodes": { ...
}, "engines" : { "node" : ">=4.8.0" }, "repository": { "type": "git", "url": "https://github.com/maxwellhadley/node-red-contrib-rfxcom.git" }, "license": "BSD-2-Clause", "keywords": [ "node-red", "rfxcom", "RFXtrx433" ], "node-red": { "nodes": { "rfxcom": "rfxcom.js" } ...
<|file_sep|>original/package.json }, "engines" : { "node" : ">=4.8.0" }, "repository": { "type": "git", "url": "https://github.com/maxwellhadley/node-red-contrib-rfxcom.git" }, "license": "BSD-2-Clause", "keywords": [ "node-red", "rfxcom", "RFXtrx433" ], "node-red": { "nodes": { ...
a510998a43e677a82ba42bafea65dd6093710896
package.json
package.json
JSON
<|file_sep|>original/bundles/ch.elexis.core.jpa/db/elexisdb_master_initial.xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbch...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelo...
<|file_sep|>original/bundles/ch.elexis.core.jpa/db/elexisdb_master_initial.xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbch...
4073a487df7c2c93b438a35d118cd7263822441c
bundles/ch.elexis.core.jpa/db/elexisdb_master_initial.xml
bundles/ch.elexis.core.jpa/db/elexisdb_master_initial.xml
XML
<|file_sep|>bin/failover_watch.pl.diff original: updated: system('rc-service nutcracker_socket restart'); <|file_sep|>bin/failover_watch.pl.diff original: updated: system('rc-service adjust_server2 restart'); <|file_sep|>original/bin/failover_watch.pl ); unless ( defined($file) ) { say "u...
unless ( defined($file) ) { say "usage: $PROGNAME --file <file_to_watch>"; exit(1); } my $inotify = new Linux::Inotify2; while (1) { $inotify->watch( $file, IN_MODIFY, sub { my $e = shift; ## TODO: alarm somehow system('rc-service nutcracker restart'); syste...
<|file_sep|>bin/failover_watch.pl.diff original: updated: system('rc-service nutcracker_socket restart'); <|file_sep|>bin/failover_watch.pl.diff original: updated: system('rc-service adjust_server2 restart'); <|file_sep|>original/bin/failover_watch.pl ); unless ( defined($file) ) { say "u...
d9d49f014781aec86be00245d3b39381a8442ede
bin/failover_watch.pl
bin/failover_watch.pl
Perl
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.2 - 1.9.3 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.2 - 1.9.3 <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.2 - 1.9.3 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.2 - 1.9.3 <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0
1adede1b30273d72303a8635ffd1ebc9b1c37a99
.travis.yml
.travis.yml
YAML
<|file_sep|>original/appveyor.yml # Nightly channel - TARGET: x86_64-pc-windows-msvc CHANNEL: nightly install: - ps: >- $Env:PATH += ';C:\msys64\usr\bin' - curl -sSf -o rustup-init.exe https://win.rustup.rs/ - rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION% - s...
# Nightly channel - TARGET: x86_64-pc-windows-msvc CHANNEL: nightly install: - ps: >- $Env:PATH += ';C:\msys64\usr\bin' - curl -sSf -o rustup-init.exe https://win.rustup.rs/ - rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION% - set PATH=%PATH%;C:\Users\appveyor\....
<|file_sep|>original/appveyor.yml # Nightly channel - TARGET: x86_64-pc-windows-msvc CHANNEL: nightly install: - ps: >- $Env:PATH += ';C:\msys64\usr\bin' - curl -sSf -o rustup-init.exe https://win.rustup.rs/ - rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION% - s...
17f9cddd02bf6115f96f10a643dac97fd3759f38
appveyor.yml
appveyor.yml
YAML
<|file_sep|>app/main/errors.py.diff original: updated: print(e.message) <|file_sep|>app/main/errors.py.diff original: updated: print(e.message) <|file_sep|>app/main/errors.py.diff original: updated: print(e.message) <|file_sep|>original/app/main/errors.py @main.app_errorhandler(500) def exception(e): ...
@main.app_errorhandler(500) def exception(e): print(e.message) return _render_error_page(500) @main.app_errorhandler(503) def service_unavailable(e): print(e.message) return _render_error_page(503) def _render_error_page(status_code): template_map = { 404: "errors/404.html", 50...
<|file_sep|>app/main/errors.py.diff original: updated: print(e.message) <|file_sep|>app/main/errors.py.diff original: updated: print(e.message) <|file_sep|>app/main/errors.py.diff original: updated: print(e.message) <|file_sep|>original/app/main/errors.py @main.app_errorhandler(500) def exception(e): ...
68b0f560322884967b817ad87cef8c1db9600dbd
app/main/errors.py
app/main/errors.py
Python
<|file_sep|>original/README.md BeagleBone USB bootloader as a Google Chrome app Based on the [BBBlfs](https://github.com/ungureanuvladvictor/BBBlfs) work of Vlad V. Ungureanu <ungureanuvladvictor@gmail.com> done as a [Google Summer of Code project](http://beagleboard.org/gsoc) <|file_sep|>current/README.md BeagleBon...
BeagleBone USB bootloader as a Google Chrome app Based on the [BBBlfs](https://github.com/ungureanuvladvictor/BBBlfs) work of Vlad V. Ungureanu <ungureanuvladvictor@gmail.com> done as a [Google Summer of Code project](http://beagleboard.org/gsoc) Before this can be developed, host operating systems will need to rele...
<|file_sep|>original/README.md BeagleBone USB bootloader as a Google Chrome app Based on the [BBBlfs](https://github.com/ungureanuvladvictor/BBBlfs) work of Vlad V. Ungureanu <ungureanuvladvictor@gmail.com> done as a [Google Summer of Code project](http://beagleboard.org/gsoc) <|file_sep|>current/README.md BeagleBon...
de0bcbbbded10d376ed0aa4a911c108c0e1f1327
README.md
README.md
Markdown
<|file_sep|>original/.rubocop.yml Style/FormatString: Enabled: false Style/GuardClause: Enabled: false Style/IfUnlessModifier: Enabled: false Style/MultilineBlockChain: Enabled: false Style/PercentLiteralDelimiters: Enabled: false Style/PredicateName: Enabled: false Style/RegexpLiteral: MaxSlashes:...
Style/FormatString: Enabled: false Style/GuardClause: Enabled: false Style/IfUnlessModifier: Enabled: false Style/Lambda: Enabled: false Style/MultilineBlockChain: Enabled: false Style/PercentLiteralDelimiters: Enabled: false Style/PredicateName: Enabled: false
<|file_sep|>original/.rubocop.yml Style/FormatString: Enabled: false Style/GuardClause: Enabled: false Style/IfUnlessModifier: Enabled: false Style/MultilineBlockChain: Enabled: false Style/PercentLiteralDelimiters: Enabled: false Style/PredicateName: Enabled: false Style/RegexpLiteral: MaxSlashes:...
ab1134a12eac6b61fe280ce4ee998caf34c45394
.rubocop.yml
.rubocop.yml
YAML
<|file_sep|>original/tempates/index.md curldu.mp is a free and open-source service to exchange small files with cURL. # Usage : * To upload a file : `curl -T /home/myfile curldu.mp` or `curl -File=@/home/myfile curldu.mp` * To upload multiple files : `curl -T {/home/myfile, file2} curldu.mp` or `curl -File=@/...
# Usage : * To upload a file : `curl -T /home/myfile curldu.mp` or `curl -File=@/home/myfile curldu.mp` * To upload multiple files : `curl -T {/home/myfile, file2} curldu.mp` or `curl -File=@/home/myfile -File1=@myfile curldu.mp` * To upload a stream : `curl http://curldu.mp | curl -T - curldu.mp` curldu.m...
<|file_sep|>original/tempates/index.md curldu.mp is a free and open-source service to exchange small files with cURL. # Usage : * To upload a file : `curl -T /home/myfile curldu.mp` or `curl -File=@/home/myfile curldu.mp` * To upload multiple files : `curl -T {/home/myfile, file2} curldu.mp` or `curl -File=@/...
c99fb3828c5c381029f3b7fad8a8105ad1a691ab
tempates/index.md
tempates/index.md
Markdown
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" install: "pip install -r requirements.txt" script: "python runtests.py" <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.3" install: "pip install -r requirements.txt" script: "python runtests.py" <|file_sep|>updated/....
language: python python: - "2.7" - "3.3" install: "pip install -r requirements.txt" script: "LANGUAGE=en_GB:en python runtests.py"
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" install: "pip install -r requirements.txt" script: "python runtests.py" <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.3" install: "pip install -r requirements.txt" script: "python runtests.py" <|file_sep|>updated/....
24bc7f426dcc944da544e2c9d93fb9c8bfdb5309
.travis.yml
.travis.yml
YAML
<|file_sep|>original/plugins/symfony2/symfony2.plugin.zsh # Symfony2 basic command completion _symfony2_get_command_list () { php app/console --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }' } _symfony2 () { if [ -f app/console ]; then compadd `_symfony2_get_command_list` fi } comp...
_symfony2_get_command_list () { php app/console --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }' } _symfony2 () { if [ -f app/console ]; then compadd `_symfony2_get_command_list` fi } compdef _symfony2 app/console compdef _symfony2 sf #Alias alias sf='php app/console' alias sfcl='...
<|file_sep|>original/plugins/symfony2/symfony2.plugin.zsh # Symfony2 basic command completion _symfony2_get_command_list () { php app/console --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }' } _symfony2 () { if [ -f app/console ]; then compadd `_symfony2_get_command_list` fi } comp...
df1dc9e53bb5d5a17a16a030ac310307fd7c63d2
plugins/symfony2/symfony2.plugin.zsh
plugins/symfony2/symfony2.plugin.zsh
Shell
<|file_sep|>original/sources/us/nd/city_of_bismarck.json "country": "us", "state": "nd", "city": "Bismarck" }, "data": "ftp://nddotgis:public99@ftp.state.nd.us/GIS Data_12_2015.zip", "type": "http", "compression": "zip", "conform": { "type": "shapefile", "srs"...
"country": "us", "state": "nd", "city": "Bismarck" }, "data": "ftp://nddotgis:public99@ftp.state.nd.us/GIS Data_12_2015.zip", "type": "http", "compression": "zip", "conform": { "type": "shapefile", "srs": "EPSG:2910", "file": "GIS Data_12_2015/Address_...
<|file_sep|>original/sources/us/nd/city_of_bismarck.json "country": "us", "state": "nd", "city": "Bismarck" }, "data": "ftp://nddotgis:public99@ftp.state.nd.us/GIS Data_12_2015.zip", "type": "http", "compression": "zip", "conform": { "type": "shapefile", "srs"...
bdd9db676d981e0af1d49317d45cbda8d78e10da
sources/us/nd/city_of_bismarck.json
sources/us/nd/city_of_bismarck.json
JSON
<|file_sep|>requirements.txt.diff original: updated: -e git+git://github.com/suchow/psiTurk.git@wallace#egg=psiturk <|file_sep|>original/requirements.txt click==3.3 coverage==3.7.1 coveralls==0.4.2 -e git+git://github.com/suchow/psiTurk.git@wallace#egg=psiturk nose==1.3.4 pexpect==3.3 psycopg2==2.5.4 <|file_sep|>curre...
-e git+git://github.com/suchow/psiTurk.git@wallace#egg=psiturk click==3.3 coverage==3.7.1 coveralls==0.4.2 nose==1.3.4 pexpect==3.3 psycopg2==2.5.4
<|file_sep|>requirements.txt.diff original: updated: -e git+git://github.com/suchow/psiTurk.git@wallace#egg=psiturk <|file_sep|>original/requirements.txt click==3.3 coverage==3.7.1 coveralls==0.4.2 -e git+git://github.com/suchow/psiTurk.git@wallace#egg=psiturk nose==1.3.4 pexpect==3.3 psycopg2==2.5.4 <|file_sep|>curre...
b1d32736cb2a3541f5cc38011ae5d369554753aa
requirements.txt
requirements.txt
Text
<|file_sep|>original/Resources/views/CRUD/list_field_string.html.twig {# SfsAdminBundle - Symfony2 project (c) Ramine AGOUNE <ramine.agoune@solidlynx.com> #} <td> {% if field.relation is defined and field.relation %} {% set relatedObject = admin_get_property(object, key) %} <a target="_blank" href="{{ admin_url...
{# SfsAdminBundle - Symfony2 project (c) Ramine AGOUNE <ramine.agoune@solidlynx.com> #} <td> {% if field.relation is defined and field.relation %} {% set value = admin_get_property(object, key) %} {% if field.relation is same as(true) %} {% set relatedObject = admin_get_property(object, key) %} {% else %} ...
<|file_sep|>original/Resources/views/CRUD/list_field_string.html.twig {# SfsAdminBundle - Symfony2 project (c) Ramine AGOUNE <ramine.agoune@solidlynx.com> #} <td> {% if field.relation is defined and field.relation %} {% set relatedObject = admin_get_property(object, key) %} <a target="_blank" href="{{ admin_url...
42c5caee5d6c5388686d4fedfde8be2198cb4acb
Resources/views/CRUD/list_field_string.html.twig
Resources/views/CRUD/list_field_string.html.twig
Twig
<|file_sep|>original/Target.cpp //------------------------------------- // TODO: CALIBRATE THESE FOR SERVOS const int servoOffPosition = 150; const int servoOnPosition = 400; //------------------------------------- const String showingStr = "Showing target #"; const String hidingStr = "Hiding target #"; Target::Targe...
//------------------------------------- // TODO: CALIBRATE THESE FOR SERVOS const int servoOffPosition = 150; const int servoOnPosition = 400; //------------------------------------- const String showingStr = "Showing target #"; const String hidingStr = "Hiding target #"; Target::Target(int targetNumber, Adafruit_PWM...
<|file_sep|>original/Target.cpp //------------------------------------- // TODO: CALIBRATE THESE FOR SERVOS const int servoOffPosition = 150; const int servoOnPosition = 400; //------------------------------------- const String showingStr = "Showing target #"; const String hidingStr = "Hiding target #"; Target::Targe...
cfbfcaeb36274102bfe3a8c03297ef9f5540058a
Target.cpp
Target.cpp
C++
<|file_sep|>original/lib/core/Search/Formatter/ValueFormatter/Snippet.php } } function render($name, $value, array $entry) { $snippet = TikiLib::lib('tiki')->get_snippet($value, 'n', '', $this->length + 1); if (function_exists('mb_strlen')) { if (mb_strlen($snippet) > $this->length) { $snippet = mb_su...
} } function render($name, $value, array $entry) { $snippet = TikiLib::lib('tiki')->get_snippet($value, 'n', '', $this->length + 1); if (function_exists('mb_strlen')) { if (mb_strlen($snippet) > $this->length) { $snippet = mb_substr($snippet, 0, -1) . $this->suffix; } } else { if (strlen($snip...
<|file_sep|>original/lib/core/Search/Formatter/ValueFormatter/Snippet.php } } function render($name, $value, array $entry) { $snippet = TikiLib::lib('tiki')->get_snippet($value, 'n', '', $this->length + 1); if (function_exists('mb_strlen')) { if (mb_strlen($snippet) > $this->length) { $snippet = mb_su...
3c604997d549a25b14ef790e72f014d703854deb
lib/core/Search/Formatter/ValueFormatter/Snippet.php
lib/core/Search/Formatter/ValueFormatter/Snippet.php
PHP
<|file_sep|>original/ansible/vars/common_vars.yml jenkins_group: 'jenkins' jenkins_home: "/var/lib/{{jenkins_user}}" jenkins_workspace: "{{jenkins_home}}/workspace" jenkins_hostname: 10.10.10.10 jenkins_http_port: 8080 jenkins_url_prefix: / jenkins_full_url: "http://{{ jenkins_hostname }}:{{ jenkins_http_port }}{{ je...
jenkins_group: 'jenkins' jenkins_home: "/var/lib/{{jenkins_user}}" jenkins_workspace: "{{jenkins_home}}/workspace" jenkins_hostname: 10.10.10.10 jenkins_http_port: 8080 jenkins_url_prefix: / jenkins_full_url: "http://{{ jenkins_hostname }}:{{ jenkins_http_port }}{{ jenkins_url_prefix }}" jenkins_plugins: [swarm, git...
<|file_sep|>original/ansible/vars/common_vars.yml jenkins_group: 'jenkins' jenkins_home: "/var/lib/{{jenkins_user}}" jenkins_workspace: "{{jenkins_home}}/workspace" jenkins_hostname: 10.10.10.10 jenkins_http_port: 8080 jenkins_url_prefix: / jenkins_full_url: "http://{{ jenkins_hostname }}:{{ jenkins_http_port }}{{ je...
ae851a5a8f14cca4ff2a85c1ed5102e14d4efb06
ansible/vars/common_vars.yml
ansible/vars/common_vars.yml
YAML
<|file_sep|>original/dev.txt python_http_client==3.1.0 # install all base requirements -r requirements.txt invoke==1.2.0 pre-commit==1.16.1 <|file_sep|>current/dev.txt python_http_client==3.1.0 # install all base requirements -r requirements.txt invoke==1.2.0 pre-commit==1.16.1 <|file_sep|>updated/dev.txt
python_http_client==3.1.0 # install all base requirements -r requirements.txt invoke==1.2.0 pre-commit==1.17.0
<|file_sep|>original/dev.txt python_http_client==3.1.0 # install all base requirements -r requirements.txt invoke==1.2.0 pre-commit==1.16.1 <|file_sep|>current/dev.txt python_http_client==3.1.0 # install all base requirements -r requirements.txt invoke==1.2.0 pre-commit==1.16.1 <|file_sep|>updated/dev.txt python_http...
834804fd2b66a86b4d01f33b03a70bd6331ceece
dev.txt
dev.txt
Text
<|file_sep|>original/scripts/drive/client_secrets.js define({ "web": { "client_id": "745152835189.apps.googleusercontent.com", "client_secret": "notasecret", "redirect_uris": [], "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://accounts.google.co...
define({"web":{"auth_uri":"https://accounts.google.com/o/oauth2/auth","client_secret":"L-55q-H0NDlkjyUpQ2_dHcwF","token_uri":"https://accounts.google.com/o/oauth2/token","client_email":"745152835189-97gjss3kf3139dabkt102p6ofa2okic3@developer.gserviceaccount.com","redirect_uris":["http://dev.billbill-caminito.appspot.co...
<|file_sep|>original/scripts/drive/client_secrets.js define({ "web": { "client_id": "745152835189.apps.googleusercontent.com", "client_secret": "notasecret", "redirect_uris": [], "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://accounts.google.co...
40721cc5c3077d5511095c8de3f55eb82c6c0c37
scripts/drive/client_secrets.js
scripts/drive/client_secrets.js
JavaScript
<|file_sep|>original/drudge/drs.py <|file_sep|>current/drudge/drs.py <|file_sep|>updated/drudge/drs.py
"""Support for drudge scripts.""" import collections from sympy import Symbol, Indexed, IndexedBase # # Special classes for SymPy objects # --------------------------------- # class DrsSymbol(Symbol): """Symbols used in drudge scripts. The drudge symbol needs to behave as similar to the actual symbol as ...
<|file_sep|>original/drudge/drs.py <|file_sep|>current/drudge/drs.py <|file_sep|>updated/drudge/drs.py """Support for drudge scripts.""" import collections from sympy import Symbol, Indexed, IndexedBase # # Special classes for SymPy objects # --------------------------------- # class DrsSymbol(Symbol): """Sy...
8c0689decb6953f04b059f9b7838c69f6d41c8b0
drudge/drs.py
drudge/drs.py
Python
<|file_sep|>velcro.gemspec.diff original: gem.authors = ['vanstee'] updated: gem.authors = ['vanstee', 'tomelm'] <|file_sep|>original/velcro.gemspec # encoding: utf-8 require File.expand_path('../lib/velcro/version', __FILE__) Gem::Specification.new do |gem| gem.name = 'velcro' gem.version...
# encoding: utf-8 require File.expand_path('../lib/velcro/version', __FILE__) Gem::Specification.new do |gem| gem.name = 'velcro' gem.version = Velcro::VERSION gem.authors = ['vanstee', 'tomelm'] gem.email = ['vanstee@highgroove.com'] gem.description = %q{Manage your dependenci...
<|file_sep|>velcro.gemspec.diff original: gem.authors = ['vanstee'] updated: gem.authors = ['vanstee', 'tomelm'] <|file_sep|>original/velcro.gemspec # encoding: utf-8 require File.expand_path('../lib/velcro/version', __FILE__) Gem::Specification.new do |gem| gem.name = 'velcro' gem.version...
fa0ca61ec7272723fb746e077601afa10d991b89
velcro.gemspec
velcro.gemspec
Ruby
<|file_sep|>app/views/admin/index.html.haml.diff original: %ul#admin_links %li= link_to "Account types", account_types_path %li= link_to "Alternate names", alternate_names_path %li= link_to "Scientific names", scientific_names_path %li= link_to "Products", products_path %li= link_to "Roles", roles_path %li=...
%ul %li= link_to "Account types", account_types_path %li= link_to "Products", products_path %li= link_to "Roles", roles_path %li= link_to "Forums", forums_path %li= link_to "CMS", comfy_admin_cms_path .col-md-4 %h2 Crop data admin %ul %li= link_to "Alternate names", al...
<|file_sep|>app/views/admin/index.html.haml.diff original: %ul#admin_links %li= link_to "Account types", account_types_path %li= link_to "Alternate names", alternate_names_path %li= link_to "Scientific names", scientific_names_path %li= link_to "Products", products_path %li= link_to "Roles", roles_path %li=...
406b2dbf046e6d0af0184a65289a640d3e77349f
app/views/admin/index.html.haml
app/views/admin/index.html.haml
Haml
<|file_sep|>setup.py.diff original: packages=find_packages(), install_requires=[ updated: packages = find_packages(), install_requires = [ <|file_sep|>original/setup.py See the License for the specific language governing permissions and limitations under the License. """ # Support setuptools on...
See the License for the specific language governing permissions and limitations under the License. """ # Support setuptools only, distutils has a divergent and more annoying API from setuptools import setup, find_packages setup( packages = find_packages(), install_requires = [ 'invoke' ], ...
<|file_sep|>setup.py.diff original: packages=find_packages(), install_requires=[ updated: packages = find_packages(), install_requires = [ <|file_sep|>original/setup.py See the License for the specific language governing permissions and limitations under the License. """ # Support setuptools on...
ae97d45456854c2e584840bcefe598f889dcb737
setup.py
setup.py
Python
<|file_sep|>original/src/methods.py <|file_sep|>current/src/methods.py <|file_sep|>updated/src/methods.py
""" Integration methods """ import numpy as np import matplotlib.pyplot as plt def euler(at, vt, xt, dt): vtpdt = vt + at * dt xtpdt = xt + vt * dt return vtpdt, xtpdt def test_euler(): # test with a spring force F = -kx x0 = 0 v0 = 1 k = 100 dt = .01 t = np.arange(0, 5, dt)
<|file_sep|>original/src/methods.py <|file_sep|>current/src/methods.py <|file_sep|>updated/src/methods.py """ Integration methods """ import numpy as np import matplotlib.pyplot as plt def euler(at, vt, xt, dt): vtpdt = vt + at * dt xtpdt = xt + vt * dt return vtpdt, xtpdt def test_euler(): # tes...
4ba0e32ca02567204cf8d219c212f6f14e36ad9c
src/methods.py
src/methods.py
Python
<|file_sep|>original/core/src/main/kotlin/cyberpunk/core/state/StateAdapter.kt /* State methods that absolutely must be overridden. */ override abstract fun update(delta: Float) override abstract fun render(batch: Batch) override abstract fun dispose() /* State methods that may or may not be overridden. */...
/* State methods that absolutely must be overridden. */ override abstract fun update(delta: Float) override abstract fun render(batch: Batch) override abstract fun dispose() /* State methods that may or may not be overridden. */ override fun resize(width: Int, height: Int) = Unit override fun hide() =...
<|file_sep|>original/core/src/main/kotlin/cyberpunk/core/state/StateAdapter.kt /* State methods that absolutely must be overridden. */ override abstract fun update(delta: Float) override abstract fun render(batch: Batch) override abstract fun dispose() /* State methods that may or may not be overridden. */...
5981cf19e99fb3a859b24bb96f6a6ce8f8dabe3e
core/src/main/kotlin/cyberpunk/core/state/StateAdapter.kt
core/src/main/kotlin/cyberpunk/core/state/StateAdapter.kt
Kotlin
<|file_sep|>original/design.txt <|file_sep|>current/design.txt <|file_sep|>updated/design.txt
Syntax Tree In Remora, expressions and array elements are syntactically separated. Every expression must represent an array, whereas array elements may be non-array values (such as base data and functions). This is normally described with two mutually recursive tree types, one for expressions and one for elements. Here...
<|file_sep|>original/design.txt <|file_sep|>current/design.txt <|file_sep|>updated/design.txt Syntax Tree In Remora, expressions and array elements are syntactically separated. Every expression must represent an array, whereas array elements may be non-array values (such as base data and functions). This is normally ...
f398320d880dd1afdd7c512c8e8881503135e5ae
design.txt
design.txt
Text
<|file_sep|>build-cutline-map.py.diff original: srs.ImportFromEPSG(4326) updated: srs.ImportFromEPSG(26915) cutline_srs = osr.SpatialReference() cutline_srs.ImportFromEPSG(4326) coord_trans = osr.CoordinateTransformation(cutline_srs, srs) <|file_sep|>original/build-cutline-map.py for fn in glob("cutlines/*.json"): ...
layer.CreateField(field_name) for fn in glob("cutlines/*.json"): tile_id = os.path.splitext(os.path.basename(fn))[0] cutline_ds = ogr.Open(fn) cutline_layer = cutline_ds.GetLayerByIndex(0) cutline_feature = cutline_layer.GetNextFeature() while cutline_feature: poly = cutline_feature.GetGeo...
<|file_sep|>build-cutline-map.py.diff original: srs.ImportFromEPSG(4326) updated: srs.ImportFromEPSG(26915) cutline_srs = osr.SpatialReference() cutline_srs.ImportFromEPSG(4326) coord_trans = osr.CoordinateTransformation(cutline_srs, srs) <|file_sep|>original/build-cutline-map.py for fn in glob("cutlines/*.json"): ...
e09d60380f626502532e78494314f9ed97eca7c8
build-cutline-map.py
build-cutline-map.py
Python
<|file_sep|>original/ansible/roles/packages-glusterfs/tasks/main.yaml when: ansible_os_family == 'RedHat' - name: add Gluster deb repository apt_repository: repo: ppa:gluster/glusterfs-3.8 update_cache: yes when: ansible_os_family == 'Debian' - name: install glusterfs-server package pack...
- name: add EPEL repository yum: name: http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm state: present when: ansible_os_family == 'RedHat' - name: add Gluster yum repository yum_repository: name: gluster description: Gluster 3.8 baseurl: "http://buildlo...
<|file_sep|>original/ansible/roles/packages-glusterfs/tasks/main.yaml when: ansible_os_family == 'RedHat' - name: add Gluster deb repository apt_repository: repo: ppa:gluster/glusterfs-3.8 update_cache: yes when: ansible_os_family == 'Debian' - name: install glusterfs-server package pack...
fd9359f05fcfe69dafab45c4943317e2390d53e2
ansible/roles/packages-glusterfs/tasks/main.yaml
ansible/roles/packages-glusterfs/tasks/main.yaml
YAML
<|file_sep|>original/client/js/util/eventemitter.js EventEmitter.prototype.on = EventEmitter.prototype.addEventListener; EventEmitter.prototype.removeEventListener = function(event, handler) { if (!this.eventHandlers[event]) { return false; } var handlerIdx = this.eventHandlers[event].indexOf(handler); if ...
EventEmitter.prototype.on = EventEmitter.prototype.addEventListener; EventEmitter.prototype.removeEventListener = function(event, handler) { if (!this.eventHandlers[event]) { return false; } var handlerIdx = this.eventHandlers[event].indexOf(handler); if (handlerIdx !== -1) { this.eventHandlers[event]....
<|file_sep|>original/client/js/util/eventemitter.js EventEmitter.prototype.on = EventEmitter.prototype.addEventListener; EventEmitter.prototype.removeEventListener = function(event, handler) { if (!this.eventHandlers[event]) { return false; } var handlerIdx = this.eventHandlers[event].indexOf(handler); if ...
6f745237265e5c9e8996676111bd6e89b04f7e33
client/js/util/eventemitter.js
client/js/util/eventemitter.js
JavaScript
<|file_sep|>original/AnimalHope/AnimalHope.Web/App_Start/FilterConfig.cs namespace AnimalHope.Web { using System.Web; using System.Web.Mvc; public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttr...
namespace AnimalHope.Web { using System.Web; using System.Web.Mvc; public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); filters.Add(new ValidateInputAttribute(false)); ...
<|file_sep|>original/AnimalHope/AnimalHope.Web/App_Start/FilterConfig.cs namespace AnimalHope.Web { using System.Web; using System.Web.Mvc; public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttr...
b519218f55efce641b7053140a9caa60c6ac89fc
AnimalHope/AnimalHope.Web/App_Start/FilterConfig.cs
AnimalHope/AnimalHope.Web/App_Start/FilterConfig.cs
C#
<|file_sep|>original/requirements_test.txt # Requirements required by this package: django==1.10.5 django-classy-tags==0.8.0 <|file_sep|>current/requirements_test.txt # Requirements required by this package: django==1.10.5 django-classy-tags==0.8.0 <|file_sep|>updated/requirements_test.txt
# Requirements required by this package: django==1.11 django-classy-tags==0.8.0
<|file_sep|>original/requirements_test.txt # Requirements required by this package: django==1.10.5 django-classy-tags==0.8.0 <|file_sep|>current/requirements_test.txt # Requirements required by this package: django==1.10.5 django-classy-tags==0.8.0 <|file_sep|>updated/requirements_test.txt # Requirements required by th...
4f888d23686f6366737fc72728c007de2b90cd7f
requirements_test.txt
requirements_test.txt
Text
<|file_sep|>original/.github/workflows/build_on_push.yml <|file_sep|>current/.github/workflows/build_on_push.yml <|file_sep|>updated/.github/workflows/build_on_push.yml
name: build_on_push on: [push] env: BUILD_TYPE: Release jobs: #--------------------------------------------------------------------- # MacOS CI build_MacOS: runs-on: macOS-latest steps: - uses: actions/checkout@v2 - name: Install dependencies run: brew install SDL2
<|file_sep|>original/.github/workflows/build_on_push.yml <|file_sep|>current/.github/workflows/build_on_push.yml <|file_sep|>updated/.github/workflows/build_on_push.yml name: build_on_push on: [push] env: BUILD_TYPE: Release jobs: #--------------------------------------------------------------------- # MacO...
51372e852df8600247166025efcec8782910a84a
.github/workflows/build_on_push.yml
.github/workflows/build_on_push.yml
YAML
<|file_sep|>src/test/java/com/bungleton/yarrgs/cp.java.diff original: updated: @Usage("Should subdirectories of directores in sourceFiles be copied") <|file_sep|>src/test/java/com/bungleton/yarrgs/cp.java.diff original: @Positional(0) @Unmatched updated: @Usage("Files and directories to be copied") @Positi...
import java.util.List; public class cp { @Usage("Should subdirectories of directores in sourceFiles be copied") public boolean recursive; @Usage("Files and directories to be copied") @Positional(0) @Unmatched public List<File> sourceFiles; @Usage("Directory to which sourceFiles should be copied")...
<|file_sep|>src/test/java/com/bungleton/yarrgs/cp.java.diff original: updated: @Usage("Should subdirectories of directores in sourceFiles be copied") <|file_sep|>src/test/java/com/bungleton/yarrgs/cp.java.diff original: @Positional(0) @Unmatched updated: @Usage("Files and directories to be copied") @Positi...
eb25ca2080ee704c6bd8380f0bb4e3abf8fb3b19
src/test/java/com/bungleton/yarrgs/cp.java
src/test/java/com/bungleton/yarrgs/cp.java
Java
<|file_sep|>Cargo.toml.diff original: description = "ByteSize is an utility that easily makes bytes size representation and helps its arithmetic operations." version = "0.2.0" authors = ["Hyunsik Choi <hyunsik.choi@apache.org>"] updated: description = "an utility to represent human-readable byte-size representation" ve...
[package] name = "bytesize" description = "an utility to represent human-readable byte-size representation" version = "0.2.1" authors = ["Hyunsik Choi <hyunsik.choi@gmail.com>"] homepage = "https://github.com/hyunsik/bytesize/" documentation = "https://docs.rs/bytesize/" repository = "https://github.com/hyunsik/bytesi...
<|file_sep|>Cargo.toml.diff original: description = "ByteSize is an utility that easily makes bytes size representation and helps its arithmetic operations." version = "0.2.0" authors = ["Hyunsik Choi <hyunsik.choi@apache.org>"] updated: description = "an utility to represent human-readable byte-size representation" ve...
3b21f4706c213561acc2870bb32b3b0c83398c0c
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/core/src/main/java/org/jeeventstore/core/notifier/SyncEventStoreCommitNotifier.java <|file_sep|>current/core/src/main/java/org/jeeventstore/core/notifier/SyncEventStoreCommitNotifier.java <|file_sep|>updated/core/src/main/java/org/jeeventstore/core/notifier/SyncEventStoreCommitNotifier.java
/* * Copyright (c) 2013 Red Rainbow IT Solutions GmbH, Germany * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, c...
<|file_sep|>original/core/src/main/java/org/jeeventstore/core/notifier/SyncEventStoreCommitNotifier.java <|file_sep|>current/core/src/main/java/org/jeeventstore/core/notifier/SyncEventStoreCommitNotifier.java <|file_sep|>updated/core/src/main/java/org/jeeventstore/core/notifier/SyncEventStoreCommitNotifier.java /* *...
e8727f7488a28d66359d9acf0a4ead5ef7a774c0
core/src/main/java/org/jeeventstore/core/notifier/SyncEventStoreCommitNotifier.java
core/src/main/java/org/jeeventstore/core/notifier/SyncEventStoreCommitNotifier.java
Java
<|file_sep|>original/.travis.yml language: php php: - 5.6 - 7.0 - 7.1 cache: directories: - ~/.composer/cache/files before_script: - phpenv config-add travis.php.ini - composer install --no-interaction script: - ant branches: only: - master <|file_sep|>current/.travis.yml language: php php...
php: - 5.6 - 7.0 - 7.1 cache: directories: - ~/.composer/cache/files before_script: - phpenv config-add travis.php.ini - composer install --no-interaction script: - ant branches: only: - develop - master
<|file_sep|>original/.travis.yml language: php php: - 5.6 - 7.0 - 7.1 cache: directories: - ~/.composer/cache/files before_script: - phpenv config-add travis.php.ini - composer install --no-interaction script: - ant branches: only: - master <|file_sep|>current/.travis.yml language: php php...
9bca1b0df77c409d9d5b1289eddb5b572dc220e8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/models/authentication.rb belongs_to :user attr_accessible :provider, :uid attr_accessor :auth_info [ :name, :image, :email ].each do |_method| define_method _method do auth_info[_method.to_s] end end def create_user user = User.new(name: name, remote_photo_url: i...
class Authentication < ActiveRecord::Base belongs_to :user attr_accessible :provider, :uid attr_accessor :auth_info [ :name, :image, :email ].each do |_method| define_method _method do auth_info[_method.to_s] end end def create_user user = User.new(name: name, remote_photo_url: image, em...
<|file_sep|>original/app/models/authentication.rb belongs_to :user attr_accessible :provider, :uid attr_accessor :auth_info [ :name, :image, :email ].each do |_method| define_method _method do auth_info[_method.to_s] end end def create_user user = User.new(name: name, remote_photo_url: i...
e611ca567dc1bb17e8ba99bcaf5ebc20f6308433
app/models/authentication.rb
app/models/authentication.rb
Ruby
<|file_sep|>original/.travis.yml - PROJECT="geomancer" - PROJECT="hierarchical_probabilistic_unet" - PROJECT="iodine" - PROJECT="kfac_ferminet_alpha" - PROJECT="learning_to_simulate" - PROJECT="nfnets" - PROJECT="noise_covariance" - PROJECT="option_keyboard" # - PROJECT="polygen" # ...
- PROJECT="hierarchical_probabilistic_unet" - PROJECT="iodine" - PROJECT="kfac_ferminet_alpha" - PROJECT="learning_to_simulate" - PROJECT="nfnets" - PROJECT="noise_covariance" - PROJECT="option_keyboard" # - PROJECT="polygen" # TODO(b/184847339): Fix and re-enable # - PROJECT="scrat...
<|file_sep|>original/.travis.yml - PROJECT="geomancer" - PROJECT="hierarchical_probabilistic_unet" - PROJECT="iodine" - PROJECT="kfac_ferminet_alpha" - PROJECT="learning_to_simulate" - PROJECT="nfnets" - PROJECT="noise_covariance" - PROJECT="option_keyboard" # - PROJECT="polygen" # ...
b37b4ec209fc9961642c7950f512187979e80b87
.travis.yml
.travis.yml
YAML
<|file_sep|>src/Sajari/Engine/Exception/NamespaceExceptionFactory.php.diff original: 1 === preg_match('/Duplicate document #(\d+)/', $parts['message'], $matches) && updated: 1 === preg_match('/Duplicate document #(\d+-\d+)/', $parts['message'], $matches) && <|file_sep|>original/src/Sajari/Engine...
protected function createException($className, Response $response, array $parts) { $ex = new $className($parts['message']); if ($ex instanceof ServiceResponseException) { $ex->setExceptionCode($parts['code']); $ex->setExceptionType($parts['type']); $ex->setRe...
<|file_sep|>src/Sajari/Engine/Exception/NamespaceExceptionFactory.php.diff original: 1 === preg_match('/Duplicate document #(\d+)/', $parts['message'], $matches) && updated: 1 === preg_match('/Duplicate document #(\d+-\d+)/', $parts['message'], $matches) && <|file_sep|>original/src/Sajari/Engine...
3f446be5b7d96b401989ceafc13088583cc578a1
src/Sajari/Engine/Exception/NamespaceExceptionFactory.php
src/Sajari/Engine/Exception/NamespaceExceptionFactory.php
PHP
<|file_sep|>Documentation/index.rst.diff original: updated: <|file_sep|>original/Documentation/index.rst ionEngine is a C++ 3D application engine that aims to provide the utility of a game engine without raising the level of abstraction at which developers work. ionEngine is divided into a number of modules. Each mo...
ionEngine is a C++ 3D application engine that aims to provide the utility of a game engine without raising the level of abstraction at which developers work. ionEngine is divided into a number of modules. Each module is a collection of classes, functions, and types which may be dependant on other modules and is typic...
<|file_sep|>Documentation/index.rst.diff original: updated: <|file_sep|>original/Documentation/index.rst ionEngine is a C++ 3D application engine that aims to provide the utility of a game engine without raising the level of abstraction at which developers work. ionEngine is divided into a number of modules. Each mo...
8bf7cc26e32738d370cf6423275bb8cbecd9c9d3
Documentation/index.rst
Documentation/index.rst
reStructuredText
<|file_sep|>original/app/views/plantings/_actions.html.haml - if can?(:edit, planting) .btn-group.planting-actions = render 'shared/buttons/edit', path: edit_planting_path(planting) = render 'shared/buttons/add_photo', path: new_photo_path(id: planting.id, type: 'planting') - if planting.active? = ...
- if can?(:edit, planting) .btn-group.planting-actions = render 'shared/buttons/edit', path: edit_planting_path(planting) = render 'shared/buttons/add_photo', path: new_photo_path(id: planting.id, type: 'planting') - if planting.active? = render 'shared/buttons/finish_planting', planting: planting ...
<|file_sep|>original/app/views/plantings/_actions.html.haml - if can?(:edit, planting) .btn-group.planting-actions = render 'shared/buttons/edit', path: edit_planting_path(planting) = render 'shared/buttons/add_photo', path: new_photo_path(id: planting.id, type: 'planting') - if planting.active? = ...
87d43f1eb23884ac4723d2199c67863537890474
app/views/plantings/_actions.html.haml
app/views/plantings/_actions.html.haml
Haml
<|file_sep|>original/shopping_list.py shopping_list = [] def show_help(): print("What should we pick up at the store?") print("Enter DONE to stop. Enter HELP for this help. Enter SHOW to see your current list.") <|file_sep|>current/shopping_list.py shopping_list = [] def show_help(): print("What should we pick...
shopping_list = [] def show_help(): print("What should we pick up at the store?") print("Enter DONE to stop. Enter HELP for this help. Enter SHOW to see your current list.") def add_to_list(item): shopping_list.append(item) print("Added! List has {} items.".format(len(shopping_list)))
<|file_sep|>original/shopping_list.py shopping_list = [] def show_help(): print("What should we pick up at the store?") print("Enter DONE to stop. Enter HELP for this help. Enter SHOW to see your current list.") <|file_sep|>current/shopping_list.py shopping_list = [] def show_help(): print("What should we pick...
429c2548835aef1cb1655229ee11f42ccf189bd1
shopping_list.py
shopping_list.py
Python