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/requirements.txt
ansible-lint==4.3.4
docker==4.3.1
flake8==3.8.3
molecule==3.0.8
pytest==6.0.2
testinfra==5.3.1
tox==3.20.0
<|file_sep|>current/requirements.txt
ansible-lint==4.3.4
docker==4.3.1
flake8==3.8.3
molecule==3.0.8
pytest==6.0.2
testinfra==5.3.1
tox==3.20.0
<|file_sep|>updated/requirement... | ansible-lint==4.3.5
docker==4.3.1
flake8==3.8.3
molecule==3.0.8
pytest==6.0.2
testinfra==5.3.1
tox==3.20.0 | <|file_sep|>original/requirements.txt
ansible-lint==4.3.4
docker==4.3.1
flake8==3.8.3
molecule==3.0.8
pytest==6.0.2
testinfra==5.3.1
tox==3.20.0
<|file_sep|>current/requirements.txt
ansible-lint==4.3.4
docker==4.3.1
flake8==3.8.3
molecule==3.0.8
pytest==6.0.2
testinfra==5.3.1
tox==3.20.0
<|file_sep|>updated/requirement... | 819608b0c7cda0afa7cd42c863ed03a2c1e32461 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/sql/008_1.23.00-1.24.00.sql
<|file_sep|>current/sql/008_1.23.00-1.24.00.sql
<|file_sep|>updated/sql/008_1.23.00-1.24.00.sql | BEGIN;
-- Rename the status_usage view to use v_XXXXXX naming convention
ALTER VIEW IF EXISTS stats_usage RENAME TO v_stats_usage;
ALTER VIEW IF EXISTS active_move_requests RENAME TO v_active_move_requests;
ALTER VIEW IF EXISTS active_blocks RENAME TO v_active_blocks;
-- Create Table: tbl_users_api
CREATE TABLE tbl_... | <|file_sep|>original/sql/008_1.23.00-1.24.00.sql
<|file_sep|>current/sql/008_1.23.00-1.24.00.sql
<|file_sep|>updated/sql/008_1.23.00-1.24.00.sql
BEGIN;
-- Rename the status_usage view to use v_XXXXXX naming convention
ALTER VIEW IF EXISTS stats_usage RENAME TO v_stats_usage;
ALTER VIEW IF EXISTS active_move_requests... | 76659513a102e69d6eeea8c3d7a15aa677c1bf78 | sql/008_1.23.00-1.24.00.sql | sql/008_1.23.00-1.24.00.sql | SQL |
<|file_sep|>imap-proto/src/parser/rfc5161.rs.diff
original:
// rustfmt doesn't do a very good job on nom parser invocations.
#![cfg_attr(rustfmt, rustfmt_skip)]
updated:
use nom::{
bytes::streaming::tag_no_case,
character::streaming::char,
combinator::map,
multi::many0,
sequence::{preceded, tuple},
... | use crate::parser::core::atom;
use crate::types::*;
// The ENABLED response lists capabilities that were enabled in response
// to a ENABLE command.
// [RFC5161 - 3.2 The ENABLED Response](https://tools.ietf.org/html/rfc5161#section-3.2)
pub(crate) fn resp_enabled(i: &[u8]) -> IResult<&[u8], Response> {
map(enable... | <|file_sep|>imap-proto/src/parser/rfc5161.rs.diff
original:
// rustfmt doesn't do a very good job on nom parser invocations.
#![cfg_attr(rustfmt, rustfmt_skip)]
updated:
use nom::{
bytes::streaming::tag_no_case,
character::streaming::char,
combinator::map,
multi::many0,
sequence::{preceded, tuple},
... | c5d1f742d8af01285033f3e12cad87d9d27a5572 | imap-proto/src/parser/rfc5161.rs | imap-proto/src/parser/rfc5161.rs | Rust |
<|file_sep|>RELEASE_NOTES.md.diff
original:
* 2015-06-23 0.7.0-M6
updated:
* 0.7.0-M6
<|file_sep|>RELEASE_NOTES.md.diff
original:
* 2015-04-27 0.7.0-p9
updated:
* 0.7.0-p9
<|file_sep|>RELEASE_NOTES.md.diff
original:
* 2015-04-09 0.7.0-p8
updated:
* 0.7.0-p8
<|file_sep|>RELEASE_NOTES.md.diff
original:
* 2015-02-16 0.7.0... |
* 0.7.0-p9
* Fix [#217](https://github.com/msgpack/msgpack-java/issues/217) when reading from SockectInputStream
* 0.7.0-p8
* Support Extension type (defined in MessagePack) in msgpack-jackson
* Support BigDecimal type (defined in Jackson) in msgpack-jackson
* Fix MessageUnpacker#unpackString [#215](https://gith... | <|file_sep|>RELEASE_NOTES.md.diff
original:
* 2015-06-23 0.7.0-M6
updated:
* 0.7.0-M6
<|file_sep|>RELEASE_NOTES.md.diff
original:
* 2015-04-27 0.7.0-p9
updated:
* 0.7.0-p9
<|file_sep|>RELEASE_NOTES.md.diff
original:
* 2015-04-09 0.7.0-p8
updated:
* 0.7.0-p8
<|file_sep|>RELEASE_NOTES.md.diff
original:
* 2015-02-16 0.7.0... | d9a472ddbc5152ecfb5b4c4bcf46c84a94436c29 | RELEASE_NOTES.md | RELEASE_NOTES.md | Markdown |
<|file_sep|>browser.js.diff
original:
xhr.timeout = opts.timeout;
xhr.onerror = doReject;
xhr.ontimeout = doReject;
updated:
<|file_sep|>original/browser.js
xhr.onerror = doReject;
xhr.ontimeout = doReject;
xhr.onload = () => {
const ip = xhr.responseText.trim();
if (!ip || !isIp[version](ip)) {
... | const ip = xhr.responseText.trim();
if (!ip || !isIp[version](ip)) {
doReject();
}
resolve(ip);
};
xhr.open('GET', urls[version]);
xhr.timeout = opts.timeout;
xhr.onerror = doReject;
xhr.ontimeout = doReject;
xhr.send();
});
}
module.exports.v4 = opts => {
opts = Object.assign({}, defa... | <|file_sep|>browser.js.diff
original:
xhr.timeout = opts.timeout;
xhr.onerror = doReject;
xhr.ontimeout = doReject;
updated:
<|file_sep|>original/browser.js
xhr.onerror = doReject;
xhr.ontimeout = doReject;
xhr.onload = () => {
const ip = xhr.responseText.trim();
if (!ip || !isIp[version](ip)) {
... | 77d3124f82c0af43bf7710c04db817471f4ebc15 | browser.js | browser.js | JavaScript |
<|file_sep|>original/pkgs/slatex/info.rkt
#lang info
(define collection "slatex")
(define scribblings '(("slatex-wrap.scrbl" () (tool-library))))
;; (define tools (list (list "slatex-lang.rkt")))
;; (define tool-names (list "SLaTeX Language"))
(define mzscheme-launcher-names '("SLaTeX" "PDF SLaTeX"))
(define mzsche... | #lang info
(define collection "slatex")
(define scribblings '(("slatex-wrap.scrbl" () (tool-library))))
;; (define tools (list (list "slatex-lang.rkt")))
;; (define tool-names (list "SLaTeX Language"))
(define mzscheme-launcher-names '("SLaTeX" "PDF SLaTeX"))
(define mzscheme-launcher-libraries '("slatex-launcher.r... | <|file_sep|>original/pkgs/slatex/info.rkt
#lang info
(define collection "slatex")
(define scribblings '(("slatex-wrap.scrbl" () (tool-library))))
;; (define tools (list (list "slatex-lang.rkt")))
;; (define tool-names (list "SLaTeX Language"))
(define mzscheme-launcher-names '("SLaTeX" "PDF SLaTeX"))
(define mzsche... | 6bda269ae7b42a43a7c90451d085144c2d2b8d41 | pkgs/slatex/info.rkt | pkgs/slatex/info.rkt | Racket |
<|file_sep|>original/test/index.js
var assert = require('assert');
var fs = require('fs');
var procrastinate = require('..');
describe('Procrastinate', function () {
context('with an empty input', function () {
it('returns an empty string', function () {
assert.equal(procrastinate(''), '');
});
});
... | var assert = require('assert');
var fs = require('fs');
var procrastinate = require('..');
xdescribe('Procrastinate', function () {
context('with an empty input', function () {
it('returns an empty string', function () {
assert.equal(procrastinate(''), '');
});
});
context('with an input represent... | <|file_sep|>original/test/index.js
var assert = require('assert');
var fs = require('fs');
var procrastinate = require('..');
describe('Procrastinate', function () {
context('with an empty input', function () {
it('returns an empty string', function () {
assert.equal(procrastinate(''), '');
});
});
... | 7cdd38b50c95ad4278a83d1a0f194b343e7edb7c | test/index.js | test/index.js | JavaScript |
<|file_sep|>original/README.md
# NOTE: This repository is no longer under active development.
I don't use Phaser anymore and I am not tracking its development.
phaser-dash-docset
==================
A Dash Docset for Phaser.
### Features
The current release can index all classes, properties, and methods in the Pha... | # NOTE: This repository is no longer under active development.
I don't use Phaser anymore and I am not tracking its development. However, I am willing to build the docset if you submit a pull request with the phaser module updated to the latest version tag.
phaser-dash-docset
==================
A Dash Docset for Pha... | <|file_sep|>original/README.md
# NOTE: This repository is no longer under active development.
I don't use Phaser anymore and I am not tracking its development.
phaser-dash-docset
==================
A Dash Docset for Phaser.
### Features
The current release can index all classes, properties, and methods in the Pha... | cbdff9902969181e30f524791d2d8ce558ec21bc | README.md | README.md | Markdown |
<|file_sep|>original/whelktool/scripts/cleanups/2020/04/lxl-2142-tgm-fixing.groovy
<|file_sep|>current/whelktool/scripts/cleanups/2020/04/lxl-2142-tgm-fixing.groovy
<|file_sep|>updated/whelktool/scripts/cleanups/2020/04/lxl-2142-tgm-fixing.groovy | PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates")
PrintWriter failedUpdating = getReportWriter("failed-updates")
// Update the terms
String where = "data#>>'{@graph,1,inScheme,@id}' = 'https://id.kb.se/term/gmgpc%2F%2Fswe'"
selectBySqlWhere(where) { data ->
data.graph[1].inScheme["@id"] = "h... | <|file_sep|>original/whelktool/scripts/cleanups/2020/04/lxl-2142-tgm-fixing.groovy
<|file_sep|>current/whelktool/scripts/cleanups/2020/04/lxl-2142-tgm-fixing.groovy
<|file_sep|>updated/whelktool/scripts/cleanups/2020/04/lxl-2142-tgm-fixing.groovy
PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates")... | 7a5fcd1b4e29dc2fb6933685e050b515c8841bdd | whelktool/scripts/cleanups/2020/04/lxl-2142-tgm-fixing.groovy | whelktool/scripts/cleanups/2020/04/lxl-2142-tgm-fixing.groovy | Groovy |
<|file_sep|>original/src/components/modal/useModal.js
setVisible,
mounted,
ref,
trigger: ({ dismiss }) => {
invariant(
dismiss,
"Modal/ModalContext cannot be used with prop 'toggle'. Please use prop 'dismiss' instead.",
);
return {
props: {
... | setVisible,
mounted,
ref,
trigger: ({ dismiss }) => {
invariant(
dismiss,
"Modal/ModalContext cannot be used with prop 'toggle'. Please use prop 'dismiss' instead.",
);
return {
props: {
onPress: () => {
setVisible(... | <|file_sep|>original/src/components/modal/useModal.js
setVisible,
mounted,
ref,
trigger: ({ dismiss }) => {
invariant(
dismiss,
"Modal/ModalContext cannot be used with prop 'toggle'. Please use prop 'dismiss' instead.",
);
return {
props: {
... | 87604e861f29a5c78fe397c8745038bc214debe3 | src/components/modal/useModal.js | src/components/modal/useModal.js | JavaScript |
<|file_sep|>test/src/Ouzo/ControllerFactoryTest.php.diff
original:
updated:
<|file_sep|>test/src/Ouzo/ControllerFactoryTest.php.diff
original:
updated:
<|file_sep|>test/src/Ouzo/ControllerFactoryTest.php.diff
original:
updated:
use Ouzo\Tests\CatchException;
<|file_sep|>original/test/src/Ouzo/ControllerFactoryTest... |
$config = Config::getValue('global');
$_SERVER['REQUEST_URI'] = "{$config['prefix_system']}/simple_test/action1";
//when
$currentController = $factory->createController($routeRule);
//then
$this->assertEquals('action1', $currentController->currentAction);
}
/*... | <|file_sep|>test/src/Ouzo/ControllerFactoryTest.php.diff
original:
updated:
<|file_sep|>test/src/Ouzo/ControllerFactoryTest.php.diff
original:
updated:
<|file_sep|>test/src/Ouzo/ControllerFactoryTest.php.diff
original:
updated:
use Ouzo\Tests\CatchException;
<|file_sep|>original/test/src/Ouzo/ControllerFactoryTest... | 2b7facfd0e62d13d410de8e8cf3a6b669521f48b | test/src/Ouzo/ControllerFactoryTest.php | test/src/Ouzo/ControllerFactoryTest.php | PHP |
<|file_sep|>original/assets/app/widgets/suse-modal/suse-modal.directive.jade
.modal-content
.modal-header
button.close(type='button', ng-click='modalInstance.dismiss()', aria-label='Close')
span(aria-hidden='true') ×
h4.modal-title(ng-if='error.title') {{ (translationPrefix + '.' + error... | .modal-content
.modal-header
button.close(type='button', ng-click='modalInstance.dismiss()', aria-label='Close')
span(aria-hidden='true') ×
h4.modal-title(ng-if='error.title') {{ (translationPrefix + '.' + error.title) | translate }}
h4.modal-title(ng-if='!error.title') {{ (trans... | <|file_sep|>original/assets/app/widgets/suse-modal/suse-modal.directive.jade
.modal-content
.modal-header
button.close(type='button', ng-click='modalInstance.dismiss()', aria-label='Close')
span(aria-hidden='true') ×
h4.modal-title(ng-if='error.title') {{ (translationPrefix + '.' + error... | 54430fd523d9c5b72042eba122d25b4ef816d703 | assets/app/widgets/suse-modal/suse-modal.directive.jade | assets/app/widgets/suse-modal/suse-modal.directive.jade | Jade |
<|file_sep|>original/README.md
Main features
Encoding: models or individuals are represented by trees with unary and binary operations
Selection: tournament out of three individuals selected from elite or whole population
Genetic operators: reproduction (elite), subtree crossover and mutation indipendently applied. ... | Encoding: models or individuals are represented by trees with unary and binary operations
Selection: tournament out of three individuals selected from elite or whole population
Genetic operators: reproduction (elite), subtree crossover and mutation indipendently applied. Mutation is alternatively subtree mutation (ev... | <|file_sep|>original/README.md
Main features
Encoding: models or individuals are represented by trees with unary and binary operations
Selection: tournament out of three individuals selected from elite or whole population
Genetic operators: reproduction (elite), subtree crossover and mutation indipendently applied. ... | e012f81d56e3e64610328603c500d1dd326e964b | README.md | README.md | Markdown |
<|file_sep|>original/assets/javascripts/models/entry.coffee
class app.models.Entry extends app.Model
# Attributes: name, type, path
SEPARATORS_REGEXP = /\:?\ |#|::/g
PARANTHESES_REGEXP = /\(.*?\)$/
constructor: ->
super
@text = @searchValue()
searchValue: ->
@name
.toLowerCase()
.re... | class app.models.Entry extends app.Model
# Attributes: name, type, path
SEPARATORS_REGEXP = /\:?\ |#|::|->/g
PARANTHESES_REGEXP = /\(.*?\)$/
constructor: ->
super
@text = @searchValue()
searchValue: ->
@name
.toLowerCase()
.replace '...', ' '
.replace ' event', ''
.repla... | <|file_sep|>original/assets/javascripts/models/entry.coffee
class app.models.Entry extends app.Model
# Attributes: name, type, path
SEPARATORS_REGEXP = /\:?\ |#|::/g
PARANTHESES_REGEXP = /\(.*?\)$/
constructor: ->
super
@text = @searchValue()
searchValue: ->
@name
.toLowerCase()
.re... | 7cc95dd59c3ab4c0d224e89ae66605abf471effa | assets/javascripts/models/entry.coffee | assets/javascripts/models/entry.coffee | CoffeeScript |
<|file_sep|>original/tests/test_udacity.py
from mooc_aggregator_restful_api import udacity
class UdacityTestCase(unittest.TestCase):
'''
Unit Tests for module udacity
'''
def setUp(self):
self.udacity_test_object = udacity.UdacityAPI()
def test_udacity_api_response(self):
self.... | class UdacityTestCase(unittest.TestCase):
'''
Unit Tests for module udacity
'''
def setUp(self):
self.udacity_test_object = udacity.UdacityAPI()
def test_udacity_api_response(self):
self.assertEqual(self.udacity_test_object.status_code(), 200)
def test_udacity_api_mongofy_cou... | <|file_sep|>original/tests/test_udacity.py
from mooc_aggregator_restful_api import udacity
class UdacityTestCase(unittest.TestCase):
'''
Unit Tests for module udacity
'''
def setUp(self):
self.udacity_test_object = udacity.UdacityAPI()
def test_udacity_api_response(self):
self.... | d565fdab9cefc080ff3127f036c19e95cba73f6e | tests/test_udacity.py | tests/test_udacity.py | Python |
<|file_sep|>original/check_dependencies.sh
debian=true
fi
# Build the list of dependencies.
required="subversion cmake gcc"
if $debian; then
echo "Checking Debian-compatible dependencies:"
required="$required g++"
install_msg="$ sudo apt-get install"
for package in $required; do
echo " - $package"... | debian=true
fi
# Build the list of dependencies.
required="subversion cmake gcc"
if $debian; then
echo "Checking Debian-compatible dependencies:"
required="$required g++"
install_msg="$ sudo apt-get install"
for package in $required; do
if ! dpkg -W $package; then
required_msg
exit 1 # p... | <|file_sep|>original/check_dependencies.sh
debian=true
fi
# Build the list of dependencies.
required="subversion cmake gcc"
if $debian; then
echo "Checking Debian-compatible dependencies:"
required="$required g++"
install_msg="$ sudo apt-get install"
for package in $required; do
echo " - $package"... | ca7be9231b2cdf80d955823c176ab860d14bc9fa | check_dependencies.sh | check_dependencies.sh | Shell |
<|file_sep|>original/app/views/events/user_events.html.erb
<h2>My Events</h2>
<h3>Upcoming Events</h3>
<ul>
<% @upcoming_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
<h3>Past Events</h3>
<ul>
<% @past_events.each do |event| %>
<li><%= link_to event.name, event%></li>
... | <h2>My Events</h2>
<h3>Upcoming Events</h3>
<ul>
<% @upcoming_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
<h3>Past Events</h3>
<ul>
<% @past_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
<%= link_to "Create New Event", new_even... | <|file_sep|>original/app/views/events/user_events.html.erb
<h2>My Events</h2>
<h3>Upcoming Events</h3>
<ul>
<% @upcoming_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
<h3>Past Events</h3>
<ul>
<% @past_events.each do |event| %>
<li><%= link_to event.name, event%></li>
... | 7b0a6c2d7e1e4853ad5036629c26509f543fb80b | app/views/events/user_events.html.erb | app/views/events/user_events.html.erb | HTML+ERB |
<|file_sep|>original/SierraLib.Translation/TranslateExtension.cs
<|file_sep|>current/SierraLib.Translation/TranslateExtension.cs
<|file_sep|>updated/SierraLib.Translation/TranslateExtension.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Markup;
using System.Windows.Data;
namespace SierraLib.Translation
{
public class TranslateExtension : System.Windows.Markup.MarkupExtension
{
private string _key;
private string _default;
public T... | <|file_sep|>original/SierraLib.Translation/TranslateExtension.cs
<|file_sep|>current/SierraLib.Translation/TranslateExtension.cs
<|file_sep|>updated/SierraLib.Translation/TranslateExtension.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Markup;
using System.Windows.Data;
... | 5babfe2728f1426f7c4fe81cc1fabdb58ea5882b | SierraLib.Translation/TranslateExtension.cs | SierraLib.Translation/TranslateExtension.cs | C# |
<|file_sep|>original/appveyor.yml
environment:
matrix:
- MSYSTEM: MINGW64
BASH_PATH: C:\msys64\usr\bin\bash
- BASH_PATH: c:\cygwin\bin\bash
build_script:
- cmd: '%BASH_PATH% -lc "cd $APPVEYOR_BUILD_FOLDER; autoreconf -i && ./configure && make && make check"'
<|file_sep|>current/appveyor.yml
environment:
ma... | environment:
matrix:
- MSYSTEM: MINGW64
BASH_PATH: C:\msys64\usr\bin\bash
# - BASH_PATH: c:\cygwin\bin\bash
build_script:
- cmd: '%BASH_PATH% -lc "cd $APPVEYOR_BUILD_FOLDER; autoreconf -i && ./configure && make && make check"' | <|file_sep|>original/appveyor.yml
environment:
matrix:
- MSYSTEM: MINGW64
BASH_PATH: C:\msys64\usr\bin\bash
- BASH_PATH: c:\cygwin\bin\bash
build_script:
- cmd: '%BASH_PATH% -lc "cd $APPVEYOR_BUILD_FOLDER; autoreconf -i && ./configure && make && make check"'
<|file_sep|>current/appveyor.yml
environment:
ma... | b91841c08b6e071768c64336506bf434811b351e | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/components/DappCardList.vue
align-items: center;
flex-wrap: wrap;
margin: 0 -10px;
}
.component-DappCardListItem {
width: calc(100% - 20px);
@include tweakpoint('min-width', 480px) {
width: calc(50% - 20px);
}
@include tweakpoint('min-width', 775px) {
width: calc(33.33% - 20p... |
.component-DappCardList {
display: flex;
align-items: center;
flex-wrap: wrap;
margin: 0 -10px;
}
.component-DappCardListItem {
width: calc(100% - 20px);
@include tweakpoint('min-width', 480px) {
width: calc(50% - 20px);
}
@include tweakpoint('min-width', 775px) {
width: calc(33.33% - 20px);
... | <|file_sep|>original/components/DappCardList.vue
align-items: center;
flex-wrap: wrap;
margin: 0 -10px;
}
.component-DappCardListItem {
width: calc(100% - 20px);
@include tweakpoint('min-width', 480px) {
width: calc(50% - 20px);
}
@include tweakpoint('min-width', 775px) {
width: calc(33.33% - 20p... | a6b1cc641a3d1a2612481bc5fcdf78f3ce943a20 | components/DappCardList.vue | components/DappCardList.vue | Vue |
<|file_sep|>original/tests/single_star/copy_for_compile.sh
mkdir $1/
mkdir $1/inputs
mkdir $1/model_files
mkdir $1/job_scripts
cp GNUmakefile $1/
cp Make.package $1/
cp *.f90 $1/
cp *.H $1/
cp *.cpp $1/
cp inputs_3d $1
cp probin $1
cp ../../model_files/* $1/model_files/
cp ../../job_scripts/* $1/job_scripts/
<|file_se... | mkdir $1/
mkdir $1/inputs
mkdir $1/model_files
mkdir $1/job_scripts
cp GNUmakefile $1/
cp Make.package $1/
cp *.f90 $1/
cp *.H $1/
cp *.cpp $1/
cp inputs_3d $1
cp probin $1
cp ../../model_files/* $1/model_files/
cp ../../job_scripts/* $1/job_scripts/
cp ../../inputs/* $1/inputs/ | <|file_sep|>original/tests/single_star/copy_for_compile.sh
mkdir $1/
mkdir $1/inputs
mkdir $1/model_files
mkdir $1/job_scripts
cp GNUmakefile $1/
cp Make.package $1/
cp *.f90 $1/
cp *.H $1/
cp *.cpp $1/
cp inputs_3d $1
cp probin $1
cp ../../model_files/* $1/model_files/
cp ../../job_scripts/* $1/job_scripts/
<|file_se... | 6bea4c9020bd10de4066bed8485cdc82c8923d67 | tests/single_star/copy_for_compile.sh | tests/single_star/copy_for_compile.sh | Shell |
<|file_sep|>original/Example.hs
main5 x = show (x :: Int)
main6 = show [()]
-- NOTE: Cannot be firstified
data Wrap a = Wrap (Wrap a) | Value a
f a = Wrap a
main7 = f (Value id)
main8 = putChar 'x'
main9 = read "1" :: Int
main10 = app1 (gen1 ())
<|file_sep|>current/Example.hs
main5 x = show (x :: Int)
m... |
main5 x = show (x :: Int)
main6 = show [()]
-- NOTE: Cannot be firstified
data Wrap a = Wrap (Wrap a) | Value a
f a = f (Wrap a)
main7 = f (Value id)
main8 = putChar 'x'
main9 = read "1" :: Int
main10 = app1 (gen1 ()) | <|file_sep|>original/Example.hs
main5 x = show (x :: Int)
main6 = show [()]
-- NOTE: Cannot be firstified
data Wrap a = Wrap (Wrap a) | Value a
f a = Wrap a
main7 = f (Value id)
main8 = putChar 'x'
main9 = read "1" :: Int
main10 = app1 (gen1 ())
<|file_sep|>current/Example.hs
main5 x = show (x :: Int)
m... | 75ea9e1795c8af51dc63e0ddb6ded38ee787d665 | Example.hs | Example.hs | Haskell |
<|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
- 2.4.0
after_success:
- >
[ "${TRAVIS_PULL_REQUEST}" != "false" ] &&
[ "${TRAVIS_RUBY_VERSION}" = "2.0.0" ] &&
PULL_REQUEST_ID=${TRAVIS_PULL_REQUEST} \
bundle exec pronto run -f github_status git... | sudo: required
before_install: gem update --system
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
- 2.4.0
after_success:
- >
[ "${TRAVIS_PULL_REQUEST}" != "false" ] &&
[ "${TRAVIS_RUBY_VERSION}" = "2.0.0" ] &&
PULL_REQUEST_ID=${TRAVIS_PULL_REQUEST} \
bundle exec pronto run -f github_status ... | <|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
- 2.4.0
after_success:
- >
[ "${TRAVIS_PULL_REQUEST}" != "false" ] &&
[ "${TRAVIS_RUBY_VERSION}" = "2.0.0" ] &&
PULL_REQUEST_ID=${TRAVIS_PULL_REQUEST} \
bundle exec pronto run -f github_status git... | 3c7285fbefec06a5dfd99fe7dae1e3b18de4b8f2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/spec/spec_helper.rb
require 'bundler/setup'
Bundler.require(:default, :test)
require (Pathname.new(__FILE__).dirname + '../lib/suspenders').expand_path
Dir['./spec/support/**/*.rb'].each { |file| require file }
RSpec.configure do |config|
config.include SuspendersTestHelpers
config.example... | require 'bundler/setup'
Bundler.require(:default, :test)
require (Pathname.new(__FILE__).dirname + '../lib/suspenders').expand_path
Dir['./spec/support/**/*.rb'].each { |file| require file }
RSpec.configure do |config|
config.include SuspendersTestHelpers
config.example_status_persistence_file_path = 'tmp/rspe... | <|file_sep|>original/spec/spec_helper.rb
require 'bundler/setup'
Bundler.require(:default, :test)
require (Pathname.new(__FILE__).dirname + '../lib/suspenders').expand_path
Dir['./spec/support/**/*.rb'].each { |file| require file }
RSpec.configure do |config|
config.include SuspendersTestHelpers
config.example... | cd51c3127f6ffd0bad896e4575a0c870a222f59f | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/src/main/resources/data/overloaded/loot_tables/blocks/instant_furnace.json
<|file_sep|>current/src/main/resources/data/overloaded/loot_tables/blocks/instant_furnace.json
<|file_sep|>updated/src/main/resources/data/overloaded/loot_tables/blocks/instant_furnace.json | {
"type": "minecraft:block",
"pools": [
{
"name": "item_interface",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:copy_name",
"source": "block_entity"
}
],
... | <|file_sep|>original/src/main/resources/data/overloaded/loot_tables/blocks/instant_furnace.json
<|file_sep|>current/src/main/resources/data/overloaded/loot_tables/blocks/instant_furnace.json
<|file_sep|>updated/src/main/resources/data/overloaded/loot_tables/blocks/instant_furnace.json
{
"type": "minecraft:block",
... | d6696c23e99149a62a47a49ea055dce0488dcc9e | src/main/resources/data/overloaded/loot_tables/blocks/instant_furnace.json | src/main/resources/data/overloaded/loot_tables/blocks/instant_furnace.json | JSON |
<|file_sep|>original/StreamerAdviceQuestions.md
Questions will be gathered here for a future stream advice stream.
* (TODO: Check if SLOBS can use OBS-WebSocket (Win7 VM) or has its own RC)
* Moderation tools and how/when to use each one:
- Automod
- some of the famous mod bots incl Nightbot
- human mods
- fol... | - Automod
- some of the famous mod bots incl Nightbot
- human mods
- follower-only mode
- sub-only mode
- slow mode
- emote-only mode, although that's usually a toy
* Tips on doing dual streams
- don't bother trying to host the other person's video - just link to kadgar
- set up Discord: have two chan... | <|file_sep|>original/StreamerAdviceQuestions.md
Questions will be gathered here for a future stream advice stream.
* (TODO: Check if SLOBS can use OBS-WebSocket (Win7 VM) or has its own RC)
* Moderation tools and how/when to use each one:
- Automod
- some of the famous mod bots incl Nightbot
- human mods
- fol... | f5ce9a2994238c21bacad2650b804a5c0136ad8d | StreamerAdviceQuestions.md | StreamerAdviceQuestions.md | Markdown |
<|file_sep|>original/gradle.properties
gosuVersion = 1-gosuc_gosudoc-SNAPSHOT
pluginVersion = 0.2.0-SNAPSHOT
testedVersions = 2.9, 2.10, 2.11, 2.12, 2.13, 2.14.1, 3.0
<|file_sep|>current/gradle.properties
gosuVersion = 1-gosuc_gosudoc-SNAPSHOT
pluginVersion = 0.2.0-SNAPSHOT
testedVersions = 2.9, 2.10, 2.11, 2.12, 2.13,... | gosuVersion = 1.13.9-SNAPSHOT
pluginVersion = 0.2.0-SNAPSHOT
testedVersions = 2.9, 2.10, 2.11, 2.12, 2.13, 2.14.1, 3.0 | <|file_sep|>original/gradle.properties
gosuVersion = 1-gosuc_gosudoc-SNAPSHOT
pluginVersion = 0.2.0-SNAPSHOT
testedVersions = 2.9, 2.10, 2.11, 2.12, 2.13, 2.14.1, 3.0
<|file_sep|>current/gradle.properties
gosuVersion = 1-gosuc_gosudoc-SNAPSHOT
pluginVersion = 0.2.0-SNAPSHOT
testedVersions = 2.9, 2.10, 2.11, 2.12, 2.13,... | a35c8f80d1dbb0b0deab9fc9fa611a3f17077273 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/README.md
$ node app.js
```
If you wish to edit the server as it runs and have it immediately reload the new changes, consider using the `nodemon` package:
```sh
$ npm install nodemon
$ nodemon app.js
```
If you have nodejs-tutorme installed system-wide, then use systemd to start the server:
``... | $ node app.js
```
If you wish to edit the server as it runs and have it immediately reload the new changes, consider using the `nodemon` package:
```sh
$ npm install nodemon
$ nodemon app.js
```
If you have nodejs-tutorme installed system-wide, then use systemd to start the server:
```sh
# systemctl start nodejs-tu... | <|file_sep|>original/README.md
$ node app.js
```
If you wish to edit the server as it runs and have it immediately reload the new changes, consider using the `nodemon` package:
```sh
$ npm install nodemon
$ nodemon app.js
```
If you have nodejs-tutorme installed system-wide, then use systemd to start the server:
``... | 522ef6d22dfa07bb4a5b16cbc64a88a8edf2adde | README.md | README.md | Markdown |
<|file_sep|>original/share/mk/bsd.endian.mk
# $FreeBSD$
.if ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "ia64" || \
(${MACHINE_ARCH} == "arm" && !defined(ARM_BIG_ENDIAN))
TARGET_ENDIANNESS= 1234
.elif ${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "sparc64" |... | # $FreeBSD$
.if ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "ia64" || \
(${MACHINE_ARCH} == "arm" && !defined(TARGET_BIG_ENDIAN))
TARGET_ENDIANNESS= 1234
.elif ${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "sparc64" || \
${MACHINE_ARCH} == "arm"
TARGET_E... | <|file_sep|>original/share/mk/bsd.endian.mk
# $FreeBSD$
.if ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "ia64" || \
(${MACHINE_ARCH} == "arm" && !defined(ARM_BIG_ENDIAN))
TARGET_ENDIANNESS= 1234
.elif ${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "sparc64" |... | b6a2f17c263bf3501f950e71fab3fd492aca2ae1 | share/mk/bsd.endian.mk | share/mk/bsd.endian.mk | Makefile |
<|file_sep|>original/README.md
# DateRanger
<|file_sep|>current/README.md
# DateRanger
<|file_sep|>updated/README.md | # DateRanger
[](https://travis-ci.org/obokaman-com/DateRanger) | <|file_sep|>original/README.md
# DateRanger
<|file_sep|>current/README.md
# DateRanger
<|file_sep|>updated/README.md
# DateRanger
[](https://travis-ci.org/obokaman-com/DateRanger) | f915dd4440ee0da9781d79b01b2f5f27a5ca8c2d | README.md | README.md | Markdown |
<|file_sep|>original/package.json
{
"name": "react-native-tab-navigator",
"version": "0.2.13",
"description": "A tab bar that switches between scenes, written in JS for cross-platform support",
"main": "TabNavigator.js",
"repository": {
"type": "git",
"url": "git+https://github.com/exponentjs/react-na... | {
"name": "react-native-tab-navigator",
"version": "0.2.14",
"description": "A tab bar that switches between scenes, written in JS for cross-platform support",
"main": "TabNavigator.js",
"repository": {
"type": "git",
"url": "git+https://github.com/exponentjs/react-native-tab-navigator.git"
},
"ke... | <|file_sep|>original/package.json
{
"name": "react-native-tab-navigator",
"version": "0.2.13",
"description": "A tab bar that switches between scenes, written in JS for cross-platform support",
"main": "TabNavigator.js",
"repository": {
"type": "git",
"url": "git+https://github.com/exponentjs/react-na... | 0e69595c7b1779d2f1e7e83b944cc2f00848091f | package.json | package.json | JSON |
<|file_sep|>original/package.json
"test": "xo",
"demo1": "electron demo1/index.js",
"demo2": "electron demo2/index.js",
"demo3": "electron demo3/index.js",
"demo4": "electron demo4/index.js"
},
"keywords": [
"electron",
"electron-notification-shim",
"demo",
"app",
"dev",
... | "test": "xo",
"demo1": "electron demo1/index.js",
"demo2": "electron demo2/index.js",
"demo3": "electron demo3/index.js",
"demo4": "electron demo4/index.js"
},
"keywords": [
"electron",
"electron-notification-shim",
"demo",
"notification",
"notify",
"toaster",
"shim"
... | <|file_sep|>original/package.json
"test": "xo",
"demo1": "electron demo1/index.js",
"demo2": "electron demo2/index.js",
"demo3": "electron demo3/index.js",
"demo4": "electron demo4/index.js"
},
"keywords": [
"electron",
"electron-notification-shim",
"demo",
"app",
"dev",
... | a3f7760337f344cf443269d24280b58aead1862c | package.json | package.json | JSON |
<|file_sep|>original/requirements/base.txt
# Wheel 0.25+ needed to install certain packages on CPython 3.5+
# like Pillow and psycopg2
# See http://bitly.com/wheel-building-fails-CPython-35
# Verified bug on Python 3.5.1
wheel==0.34.2
# Frontend
django-bootstrap-breadcrumbs==0.9.2
# Resources
Pillow==7.2.0
yattag==1.... | # Wheel 0.25+ needed to install certain packages on CPython 3.5+
# like Pillow and psycopg2
# See http://bitly.com/wheel-building-fails-CPython-35
# Verified bug on Python 3.5.1
wheel==0.35.1
# Frontend
django-bootstrap-breadcrumbs==0.9.2
# Resources
Pillow==7.2.0
yattag==1.12.2
tinycss==0.4
# Markdown
verto==0.10.0... | <|file_sep|>original/requirements/base.txt
# Wheel 0.25+ needed to install certain packages on CPython 3.5+
# like Pillow and psycopg2
# See http://bitly.com/wheel-building-fails-CPython-35
# Verified bug on Python 3.5.1
wheel==0.34.2
# Frontend
django-bootstrap-breadcrumbs==0.9.2
# Resources
Pillow==7.2.0
yattag==1.... | d1a63d22ec583ab9b2b76ea5ddfef21a05643dd3 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/lib/Diversion/FeedArchiveIterator.pm
<|file_sep|>current/lib/Diversion/FeedArchiveIterator.pm
<|file_sep|>updated/lib/Diversion/FeedArchiveIterator.pm | package Diversion::FeedArchiveIterator;
use v5.18;
use Moo;
with 'Diversion::Iterator', 'Diversion::Service';
has object_created_at => (
is => "ro",
default => sub { scalar time }
);
has sql_where_clause => (
is => "ro",
predicate => 1
);
has sql_order_clause => (
is => "ro",
predicate => 1
);... | <|file_sep|>original/lib/Diversion/FeedArchiveIterator.pm
<|file_sep|>current/lib/Diversion/FeedArchiveIterator.pm
<|file_sep|>updated/lib/Diversion/FeedArchiveIterator.pm
package Diversion::FeedArchiveIterator;
use v5.18;
use Moo;
with 'Diversion::Iterator', 'Diversion::Service';
has object_created_at => (
is =... | 1e7a312b892191452e39ebacf977020adc8284e2 | lib/Diversion/FeedArchiveIterator.pm | lib/Diversion/FeedArchiveIterator.pm | Perl |
<|file_sep|>src/chocolatey.package.verifier.host/shell/ChocolateyAction.ps1.diff
original:
$env:PATH +=";$env:SystemDrive\ProgramData\chocolatey\bin"
updated:
$env:PATH +=";$($env:SystemDrive)\ProgramData\chocolatey\bin"
# https://github.com/chocolatey/choco/issues/512
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
<|f... | $env:PATH +=";$($env:SystemDrive)\ProgramData\chocolatey\bin"
# https://github.com/chocolatey/choco/issues/512
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
[[Command]]
$exitCode = $LASTEXITCODE
Write-Host "Exit code was $exitCode"
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode | <|file_sep|>src/chocolatey.package.verifier.host/shell/ChocolateyAction.ps1.diff
original:
$env:PATH +=";$env:SystemDrive\ProgramData\chocolatey\bin"
updated:
$env:PATH +=";$($env:SystemDrive)\ProgramData\chocolatey\bin"
# https://github.com/chocolatey/choco/issues/512
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
<|f... | bb970fdd0f278d0bbce79a7a163ecc9a7c0ebd3f | src/chocolatey.package.verifier.host/shell/ChocolateyAction.ps1 | src/chocolatey.package.verifier.host/shell/ChocolateyAction.ps1 | PowerShell |
<|file_sep|>original/.travis.yml
email:
on_success: never
on_failure: change
php:
- 5.4
- 5.6
- 7.0
env:
- WP_VERSION=latest WP_MULTISITE=0
matrix:
include:
- php: 5.3
env: WP_VERSION=latest WP_MULTISITE=1
before_script:
- composer install
script: phpunit
<|file_sep|>current/.travis... | email:
on_success: never
on_failure: change
php:
- 5.4
- 5.6
- 7.0
env:
- WP_VERSION=latest WP_MULTISITE=0
matrix:
include:
- php: 5.4
env: WP_VERSION=latest WP_MULTISITE=1
before_script:
- composer install
script: phpunit | <|file_sep|>original/.travis.yml
email:
on_success: never
on_failure: change
php:
- 5.4
- 5.6
- 7.0
env:
- WP_VERSION=latest WP_MULTISITE=0
matrix:
include:
- php: 5.3
env: WP_VERSION=latest WP_MULTISITE=1
before_script:
- composer install
script: phpunit
<|file_sep|>current/.travis... | 68f75927c524ec73c59ed440d744eb17a8ff9ebf | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
pyaml==15.8.2
pytest-runner==2.8
pytest==2.9.2
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.10.0
<|file_sep|>current/requirements.txt
pyaml==15.8.2
pytest-runner==2.8
pytest==2.9.2
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.10.0
<|file_sep|>updated/requirements.... | pyaml==15.8.2
pytest-runner==2.9
pytest==2.9.2
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.10.0 | <|file_sep|>original/requirements.txt
pyaml==15.8.2
pytest-runner==2.8
pytest==2.9.2
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.10.0
<|file_sep|>current/requirements.txt
pyaml==15.8.2
pytest-runner==2.8
pytest==2.9.2
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.10.0
<|file_sep|>updated/requirements.... | e731933571b2784def9ce53b4d5752b7892f6ff3 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: android
android:
components:
- build-tools-20.0.0
- android-19
script:
./gradlew -u -p gandalf-library/ clean assembleDebug assembleDebugTest -x lint; ./gradlew -u -p gandalf-plugin/ clean build
<|file_sep|>current/.travis.yml
language: android
android:
compon... | language: android
android:
components:
- build-tools-20.0.0
- android-19
script:
./gradlew -u -p gandalf-library/ clean assembleDebug assembleDebugTest -x lint | <|file_sep|>original/.travis.yml
language: android
android:
components:
- build-tools-20.0.0
- android-19
script:
./gradlew -u -p gandalf-library/ clean assembleDebug assembleDebugTest -x lint; ./gradlew -u -p gandalf-plugin/ clean build
<|file_sep|>current/.travis.yml
language: android
android:
compon... | b649d6ce98a1c6d3d0fab392a04cf217a17c2c4e | .travis.yml | .travis.yml | YAML |
<|file_sep|>init-package/init-popwin.el.diff
original:
(setq display-buffer-function 'popwin:display-buffer)
updated:
(popwin-mode 1)
(push '("*grep*" :dedicated t :position bottom :stick t :noselect t) popwin:special-display-config)
<|file_sep|>original/init-package/init-popwin.el
(use-package popwin
:in... | (use-package popwin
:init
(progn
(popwin-mode 1)
(push '("*grep*" :dedicated t :position bottom :stick t :noselect t) popwin:special-display-config)
;; use popwin with helm
(push '("^\*helm.+\*$" :regexp t :position bottom) popwin:special-display-config)
(push '("^\*helm-.+\*$" :regexp t :positi... | <|file_sep|>init-package/init-popwin.el.diff
original:
(setq display-buffer-function 'popwin:display-buffer)
updated:
(popwin-mode 1)
(push '("*grep*" :dedicated t :position bottom :stick t :noselect t) popwin:special-display-config)
<|file_sep|>original/init-package/init-popwin.el
(use-package popwin
:in... | 37ba24be9dc8408b87cc4ee1c7ada2ec817cb258 | init-package/init-popwin.el | init-package/init-popwin.el | Emacs Lisp |
<|file_sep|>original/Documentation/powerpc/dts-bindings/fsl/cpm_qe/gpio.txt
<|file_sep|>current/Documentation/powerpc/dts-bindings/fsl/cpm_qe/gpio.txt
<|file_sep|>updated/Documentation/powerpc/dts-bindings/fsl/cpm_qe/gpio.txt | Every GPIO controller node must have #gpio-cells property defined,
this information will be used to translate gpio-specifiers.
On CPM1 devices, all ports are using slightly different register layouts.
Ports A, C and D are 16bit ports and Ports B and E are 32bit ports.
On CPM2 devices, all ports are 32bit ports and us... | <|file_sep|>original/Documentation/powerpc/dts-bindings/fsl/cpm_qe/gpio.txt
<|file_sep|>current/Documentation/powerpc/dts-bindings/fsl/cpm_qe/gpio.txt
<|file_sep|>updated/Documentation/powerpc/dts-bindings/fsl/cpm_qe/gpio.txt
Every GPIO controller node must have #gpio-cells property defined,
this information will be ... | ade254d7f05cb74ab0a951ab105bc9ae872f045e | Documentation/powerpc/dts-bindings/fsl/cpm_qe/gpio.txt | Documentation/powerpc/dts-bindings/fsl/cpm_qe/gpio.txt | Text |
<|file_sep|>original/config/base.cfg
extends = versions.cfg assets.cfg
parts += settings django scrapy my.cnf sass ctags
extensions = mr.developer
sources = sources
sources-dir = ${buildout:parts-directory}
auto-checkout = *
develop += .
[sources]
django-sboard = hg https://bitbucket.org/doublemarked/django-sboard
... | extends = versions.cfg assets.cfg
parts += settings django scrapy my.cnf sass ctags
extensions = mr.developer
sources = sources
sources-dir = ${buildout:parts-directory}
auto-checkout = *
develop += .
[sources]
django-sboard = hg https://bitbucket.org/sirex/django-sboard
couchdbkit = git https://github.com/benoitc/co... | <|file_sep|>original/config/base.cfg
extends = versions.cfg assets.cfg
parts += settings django scrapy my.cnf sass ctags
extensions = mr.developer
sources = sources
sources-dir = ${buildout:parts-directory}
auto-checkout = *
develop += .
[sources]
django-sboard = hg https://bitbucket.org/doublemarked/django-sboard
... | 653fbf0c0bc62cb887a2f6c4aadc841b50d18091 | config/base.cfg | config/base.cfg | INI |
<|file_sep|>original/Cargo.toml
[package]
name = "nickel-sqlite"
version = "0.0.1"
authors = ["Simon Persson <simon@flaskpost.org>"]
[lib]
name = "nickel_sqlite"
path = "src/lib.rs"
[dependencies.nickel]
git = "https://github.com/SimonPersson/nickel.rs.git"
[dependencies.rust-sqlite]
git = "https://github.com/dckc/r... | [package]
name = "nickel-sqlite"
version = "0.0.1"
authors = ["Simon Persson <simon@flaskpost.org>"]
[lib]
name = "nickel_sqlite"
path = "src/lib.rs"
[dependencies.nickel]
git = "https://github.com/nickel-org/nickel.rs.git"
[dependencies.rust-sqlite]
git = "https://github.com/dckc/rust-sqlite3.git"
[[example]]
name... | <|file_sep|>original/Cargo.toml
[package]
name = "nickel-sqlite"
version = "0.0.1"
authors = ["Simon Persson <simon@flaskpost.org>"]
[lib]
name = "nickel_sqlite"
path = "src/lib.rs"
[dependencies.nickel]
git = "https://github.com/SimonPersson/nickel.rs.git"
[dependencies.rust-sqlite]
git = "https://github.com/dckc/r... | eaee1b8778495135d7af7497ddecc21935c91c9a | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>README.md.diff
original:
console.log('got first 10 characters', chunks.join(''))
updated:
console.log('got the first 10 characters', chunks.join(''))
})
)
```
### Mix and match
```js
b.lines()(null, function (end, line) {
console.log('got first line with length', line)
var len = parseInt(line... |
### Mix and match
```js
b.lines()(null, function (end, line) {
console.log('got first line with length', line)
var len = parseInt(line, 10)
b.chunks(len)(end, function (end, buf) {
console.log('got chunk with length ' + len + ':', buf)
pull(
b, // Pass-through the rest
pull.collect(function (... | <|file_sep|>README.md.diff
original:
console.log('got first 10 characters', chunks.join(''))
updated:
console.log('got the first 10 characters', chunks.join(''))
})
)
```
### Mix and match
```js
b.lines()(null, function (end, line) {
console.log('got first line with length', line)
var len = parseInt(line... | 5e8c9258366715889342e1d0811c25b0415ef845 | README.md | README.md | Markdown |
<|file_sep|>original/lib/activejob/locking/adapters/redlock.rb
class Redlock < Base
def create_lock_manager
mapped_options = self.options.adapter_options
mapped_options[:retry_count] = 2 # Try to get the lock and then try again when timeout is expiring--
mapped_options[:retry... | class Redlock < Base
def create_lock_manager
mapped_options = self.options.adapter_options
mapped_options[:retry_count] = 2 # Try to get the lock and then try again when timeout is expiring--
mapped_options[:retry_delay] = self.options.lock_acquire_time * 1000 # convert from ... | <|file_sep|>original/lib/activejob/locking/adapters/redlock.rb
class Redlock < Base
def create_lock_manager
mapped_options = self.options.adapter_options
mapped_options[:retry_count] = 2 # Try to get the lock and then try again when timeout is expiring--
mapped_options[:retry... | 0279dc4553625b7c840c6cbd610a64a26a90f764 | lib/activejob/locking/adapters/redlock.rb | lib/activejob/locking/adapters/redlock.rb | Ruby |
<|file_sep|>original/provisioning/requirements.txt
arknoll.selenium
geerlingguy.adminer
geerlingguy.apache
geerlingguy.composer
geerlingguy.daemonize
geerlingguy.drupal-console
geerlingguy.drush
geerlingguy.firewall
geerlingguy.git
geerlingguy.java
geerlingguy.mailhog
geerlingguy.memcached
geerlingguy.mysql
geerlingguy... | arknoll.selenium
geerlingguy.adminer
morten.apache
geerlingguy.composer
geerlingguy.daemonize
geerlingguy.drupal-console
geerlingguy.drush
geerlingguy.firewall
geerlingguy.git
geerlingguy.java
geerlingguy.mailhog
geerlingguy.memcached
geerlingguy.mysql
geerlingguy.php
geerlingguy.php-memcached
geerlingguy.php-mysql
gee... | <|file_sep|>original/provisioning/requirements.txt
arknoll.selenium
geerlingguy.adminer
geerlingguy.apache
geerlingguy.composer
geerlingguy.daemonize
geerlingguy.drupal-console
geerlingguy.drush
geerlingguy.firewall
geerlingguy.git
geerlingguy.java
geerlingguy.mailhog
geerlingguy.memcached
geerlingguy.mysql
geerlingguy... | 3f0cc7a3b25ee3912c750ac8272379d78b01917e | provisioning/requirements.txt | provisioning/requirements.txt | Text |
<|file_sep|>original/main.go
package stellarbase
import "github.com/stellar/go-stellar-base/xdr"
//go:generate rake xdr:update
//go:generate go fmt ./xdr
// AddressToAccountId converts the provided address into a xdr.AccountId
func AddressToAccountId(address string) (result xdr.AccountId, err error) {
bytes, err :=... | package stellarbase
import "github.com/stellar/go-stellar-base/xdr"
//go:generate rake xdr:update
//go:generate go fmt ./xdr
// One is the value of one whole unit of currency. Stellar uses 7 fixed digits
// for fractional values, thus One is 10 million (10^7)
const One = 10000000
// AddressToAccountId converts the... | <|file_sep|>original/main.go
package stellarbase
import "github.com/stellar/go-stellar-base/xdr"
//go:generate rake xdr:update
//go:generate go fmt ./xdr
// AddressToAccountId converts the provided address into a xdr.AccountId
func AddressToAccountId(address string) (result xdr.AccountId, err error) {
bytes, err :=... | 60f167f8d15af3b840802b35d5f9919b0377e4b7 | main.go | main.go | Go |
<|file_sep|>original/PackageExplorer/MefServices/ImageFileViewer.cs
using System.IO;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
using NuGetPackageExplorer.Types;
namespace PackageExplorer {
[PackageContentViewerMetadata(99, ".jpg", ".gif", ".png", ".tif")]
internal class ImageFileViewe... | using System.IO;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
using NuGetPackageExplorer.Types;
namespace PackageExplorer {
[PackageContentViewerMetadata(99, ".jpg", ".gif", ".png", ".tif", ".bmp", ".ico")]
internal class ImageFileViewer : IPackageContentViewer {
public object Ge... | <|file_sep|>original/PackageExplorer/MefServices/ImageFileViewer.cs
using System.IO;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
using NuGetPackageExplorer.Types;
namespace PackageExplorer {
[PackageContentViewerMetadata(99, ".jpg", ".gif", ".png", ".tif")]
internal class ImageFileViewe... | 2b8c4423d732a9d6e856f0e7736a5a6dce1b7e78 | PackageExplorer/MefServices/ImageFileViewer.cs | PackageExplorer/MefServices/ImageFileViewer.cs | C# |
<|file_sep|>original/utility/util.py
db_data = None
if model_name == 'map':
db_data = Map.objects.all()
elif model_name == 'kml':
db_data = KML.objects.all()
id_list = []
for data in db_data:
id_str = str(data.id)
if id_str not in req_data.keys():
id_l... | db_data = None
if model_name == 'map':
db_data = Map.objects.all()
elif model_name == 'kml':
db_data = KML.objects.all()
id_list = []
for data in db_data:
id_str = str(data.id)
if id_str not in req_data.keys():
id_list.append(data.id)
else:
... | <|file_sep|>original/utility/util.py
db_data = None
if model_name == 'map':
db_data = Map.objects.all()
elif model_name == 'kml':
db_data = KML.objects.all()
id_list = []
for data in db_data:
id_str = str(data.id)
if id_str not in req_data.keys():
id_l... | 6934b792deaad42eb8ab856d1e0420b9a88a8c41 | utility/util.py | utility/util.py | Python |
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
- openjdk8
before_install:
- chmod +x gradlew
script:
- java -version
- ./gradlew test
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
- openjdk8
before_install:
- chmod +x gradlew
script:
- java -version
- ./gradlew test
<|fil... | language: java
jdk:
- oraclejdk8
- openjdk8
- oraclejdk9
before_install:
- chmod +x gradlew
script:
- java -version
- ./gradlew test | <|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
- openjdk8
before_install:
- chmod +x gradlew
script:
- java -version
- ./gradlew test
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
- openjdk8
before_install:
- chmod +x gradlew
script:
- java -version
- ./gradlew test
<|fil... | 2f52791e3871328116c6caef44b9f2b410b51dca | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
"version": "2.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/andrew/base62.js.git"
},
"bugs": {
"url": "https://github.com/andrew/base62.js/issues"
},
"homepage": "https://github.com/andrew/base62.js",
"main": "./lib/legacy.js",
"engines... | "version": "2.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/andrew/base62.js.git"
},
"bugs": {
"url": "https://github.com/andrew/base62.js/issues"
},
"homepage": "https://github.com/andrew/base62.js",
"main": "./lib/legacy.js",
"engines": {
"node": ">=6.0.0"
},
... | <|file_sep|>original/package.json
"version": "2.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/andrew/base62.js.git"
},
"bugs": {
"url": "https://github.com/andrew/base62.js/issues"
},
"homepage": "https://github.com/andrew/base62.js",
"main": "./lib/legacy.js",
"engines... | 6f970eb724361fde1c6467af90cb93678356a883 | package.json | package.json | JSON |
<|file_sep|>original/lib/console_game_engine.rb
$: << File.dirname(__FILE__)
class ConsoleGameEngine
attr_reader :gametype, :rules, :comp_player, :ui
def initialize(args)
@gametype = args.fetch(:gametype, nil)
@rules = args.fetch(:rules, nil)
@comp_player = args.fetch(:comp_player, nil)
@ui = arg... | $: << File.dirname(__FILE__)
class ConsoleGameEngine
attr_reader :gametype, :rules, :comp_player, :ui
def initialize(args)
@gametype = args.fetch(:gametype, nil)
@rules = args.fetch(:rules, nil)
@first_player = args.fetch(:first_player, nil)
@comp_player = args.fetch(:comp_player, nil)
@ui = ... | <|file_sep|>original/lib/console_game_engine.rb
$: << File.dirname(__FILE__)
class ConsoleGameEngine
attr_reader :gametype, :rules, :comp_player, :ui
def initialize(args)
@gametype = args.fetch(:gametype, nil)
@rules = args.fetch(:rules, nil)
@comp_player = args.fetch(:comp_player, nil)
@ui = arg... | 64ec92afe81a4015922c2acb45adc90ba8d53816 | lib/console_game_engine.rb | lib/console_game_engine.rb | Ruby |
<|file_sep|>original/tools/stats/zip_track_recall.py
<|file_sep|>current/tools/stats/zip_track_recall.py
<|file_sep|>updated/tools/stats/zip_track_recall.py | #!/usr/bin/env python
from vdetlib.utils.protocol import proto_load, proto_dump, track_box_at_frame
from vdetlib.utils.common import iou
import argparse
import numpy as np
import glob
import cPickle
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('vid_file')
parser.add_ar... | <|file_sep|>original/tools/stats/zip_track_recall.py
<|file_sep|>current/tools/stats/zip_track_recall.py
<|file_sep|>updated/tools/stats/zip_track_recall.py
#!/usr/bin/env python
from vdetlib.utils.protocol import proto_load, proto_dump, track_box_at_frame
from vdetlib.utils.common import iou
import argparse
import ... | 0c2fb46c977d8d8ee03d295fee8ddf37cee8cc06 | tools/stats/zip_track_recall.py | tools/stats/zip_track_recall.py | Python |
<|file_sep|>original/docs/versions/4.1.0.rst
4.1.0
-----
:Breaking Changes:
* None
:New Features:
* Added new overload to ``Teak#IdentifyUser`` which takes a ``Teak.UserConfiguration``, old methods are now ``[Obsolete]`` and will be removed in Teak SDK verison 5.0
* Added ``Teak.Instance.RefreshPushTokenIfA... | 4.1.0
-----
:Breaking Changes:
* None
:New Features:
* Added new overload to ``Teak#IdentifyUser`` which takes a ``Teak.UserConfiguration``, old methods are now ``[Obsolete]`` and will be removed in Teak SDK verison 5.0
* Added ``Teak.Instance.RefreshPushTokenIfAuthorized()`` for manual push token refresh. ... | <|file_sep|>original/docs/versions/4.1.0.rst
4.1.0
-----
:Breaking Changes:
* None
:New Features:
* Added new overload to ``Teak#IdentifyUser`` which takes a ``Teak.UserConfiguration``, old methods are now ``[Obsolete]`` and will be removed in Teak SDK verison 5.0
* Added ``Teak.Instance.RefreshPushTokenIfA... | 945ee5b9a757e62952a802b2d6d6c8d363446d53 | docs/versions/4.1.0.rst | docs/versions/4.1.0.rst | reStructuredText |
<|file_sep|>original/.travis.yml
env:
- GHCVER=7.2.2
- GHCVER=7.4.2
- GHCVER=7.6.3
- GHCVER=7.8.4
- GHCVER=7.10.1
- GHCVER=head
script:
- wget https://raw.github.com/ndmitchell/neil/master/travis.sh -O - --no-check-certificate --quiet | sh
<|file_sep|>current/.travis.yml
env:
- GHCVER=7.2.2
- GHCVER=7.4.2
- ... | env:
- GHCVER=7.2.2
- GHCVER=7.4.2
- GHCVER=7.6.3
- GHCVER=7.8.4
- GHCVER=7.10.1
- GHCVER=head
allow_failures:
- GHCVER=head
script:
- wget https://raw.github.com/ndmitchell/neil/master/travis.sh -O - --no-check-certificate --quiet | sh | <|file_sep|>original/.travis.yml
env:
- GHCVER=7.2.2
- GHCVER=7.4.2
- GHCVER=7.6.3
- GHCVER=7.8.4
- GHCVER=7.10.1
- GHCVER=head
script:
- wget https://raw.github.com/ndmitchell/neil/master/travis.sh -O - --no-check-certificate --quiet | sh
<|file_sep|>current/.travis.yml
env:
- GHCVER=7.2.2
- GHCVER=7.4.2
- ... | e362c3b70511f4643ce21a351790fd7bfc519eab | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/osu.Framework/Platform/Linux/LinuxGameHost.cs
Library.Load("libbass.so", Library.LoadFlags.RTLD_LAZY | Library.LoadFlags.RTLD_GLOBAL);
}
protected override IWindow CreateWindow() =>
!UseSdl ? (IWindow)new LinuxGameWindow() : new Window();
protected ... | : base(gameName, bindIPC, toolkitOptions, portableInstallation, useSdl)
{
}
protected override void SetupForRun()
{
base.SetupForRun();
// required for the time being to address libbass_fx.so load failures (see https://github.com/ppy/osu/issues/2852)... | <|file_sep|>original/osu.Framework/Platform/Linux/LinuxGameHost.cs
Library.Load("libbass.so", Library.LoadFlags.RTLD_LAZY | Library.LoadFlags.RTLD_GLOBAL);
}
protected override IWindow CreateWindow() =>
!UseSdl ? (IWindow)new LinuxGameWindow() : new Window();
protected ... | 2905292d20308fd492135d8d7f2b1d2f883fc250 | osu.Framework/Platform/Linux/LinuxGameHost.cs | osu.Framework/Platform/Linux/LinuxGameHost.cs | C# |
<|file_sep|>original/deploy.sh
#!/bin/sh
cd "`dirname \"$0\"`"
die() {
echo failed
exit 1
}
TODAY=`date +%Y-%m-%d`
C:/Python31/python C:/Python31/Scripts/cxfreeze src/ibb.py --target-name=ibb_server.exe --target-dir=dist --include-modules=ibb || die
cp ibb.exe dist/ibb.exe || die
rm -f ibb-$TODAY.zip || die... | #!/bin/sh
cd "`dirname \"$0\"`"
die() {
echo failed
exit 1
}
TODAY=`date +%Y-%m-%d`
C:/Python31/python C:/Python31/Scripts/cxfreeze src/ibb.py --target-name=ibb_server.exe --target-dir=dist --include-modules=ibb,subprocess || die
cp ibb.exe dist/ibb.exe || die
rm -f ibb-$TODAY.zip || die
zip -r ibb-$TODAY.z... | <|file_sep|>original/deploy.sh
#!/bin/sh
cd "`dirname \"$0\"`"
die() {
echo failed
exit 1
}
TODAY=`date +%Y-%m-%d`
C:/Python31/python C:/Python31/Scripts/cxfreeze src/ibb.py --target-name=ibb_server.exe --target-dir=dist --include-modules=ibb || die
cp ibb.exe dist/ibb.exe || die
rm -f ibb-$TODAY.zip || die... | 8e63149749fd0d204d4c246a1584a40559e9baad | deploy.sh | deploy.sh | Shell |
<|file_sep|>original/.travis.yml
- rvm: jruby
- rvm: rbx-3.2
- rvm: ree
fast_finish: true
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3.3
- 2.4.1
- jruby
- rbx-3.2
- ree
script:
- "bundle exec shindont"
- "bundle exec rake spec[progress]"
sudo: false
<|file_sep|>current/... | - rvm: rbx-3.2
- rvm: ree
fast_finish: true
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- jruby
- rbx-3.2
- ree
script:
- "bundle exec shindont"
- "bundle exec rake spec[progress]"
sudo: false | <|file_sep|>original/.travis.yml
- rvm: jruby
- rvm: rbx-3.2
- rvm: ree
fast_finish: true
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3.3
- 2.4.1
- jruby
- rbx-3.2
- ree
script:
- "bundle exec shindont"
- "bundle exec rake spec[progress]"
sudo: false
<|file_sep|>current/... | 368def4c7f1b4def60b6782f988389e55e667126 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
LAS-Read-Writer-in-Python
=========================
Goal: Create a python read/writer for LAS LIDAR files matching specification 1.0-1.3 using numpy which is compatable with PyPy.
<|file_sep|>current/README.md
LAS-Read-Writer-in-Python
=========================
Goal: Create a python rea... | LAS-Read-Writer-in-Python
=========================
Goal: Create a python read/writer for LAS LIDAR files matching specification 1.0-1.3 using numpy which is compatable with PyPy.
https://github.com/PDAL/PDAL
LAS Specifications:
http://www.asprs.org/a/society/committees/standards/asprs_las_format_v10.pdf
http://w... | <|file_sep|>original/README.md
LAS-Read-Writer-in-Python
=========================
Goal: Create a python read/writer for LAS LIDAR files matching specification 1.0-1.3 using numpy which is compatable with PyPy.
<|file_sep|>current/README.md
LAS-Read-Writer-in-Python
=========================
Goal: Create a python rea... | 500f281be084c4fa7fe2d803d27e5ba1e8f29d78 | README.md | README.md | Markdown |
<|file_sep|>original/src/main/config/sql/current/4.0/tables/KC_TBL_EPS_PROPOSAL.sql
ALTER TABLE EPS_PROPOSAL ADD COLUMN ANTICIPATED_AWARD_TYPE_CODE NUMBER(3)
/
<|file_sep|>current/src/main/config/sql/current/4.0/tables/KC_TBL_EPS_PROPOSAL.sql
ALTER TABLE EPS_PROPOSAL ADD COLUMN ANTICIPATED_AWARD_TYPE_CODE NUMBER(3)
/
... | ALTER TABLE EPS_PROPOSAL ADD COLUMN ANTICIPATED_AWARD_TYPE_CODE NUMBER(3,0)
/
| <|file_sep|>original/src/main/config/sql/current/4.0/tables/KC_TBL_EPS_PROPOSAL.sql
ALTER TABLE EPS_PROPOSAL ADD COLUMN ANTICIPATED_AWARD_TYPE_CODE NUMBER(3)
/
<|file_sep|>current/src/main/config/sql/current/4.0/tables/KC_TBL_EPS_PROPOSAL.sql
ALTER TABLE EPS_PROPOSAL ADD COLUMN ANTICIPATED_AWARD_TYPE_CODE NUMBER(3)
/
... | c0eecdb1325da47a978acc0eff7e6b08542f931b | src/main/config/sql/current/4.0/tables/KC_TBL_EPS_PROPOSAL.sql | src/main/config/sql/current/4.0/tables/KC_TBL_EPS_PROPOSAL.sql | SQL |
<|file_sep|>original/src/Djebbz/TicketBundle/Resources/views/Default/showAll.html.twig
<|file_sep|>current/src/Djebbz/TicketBundle/Resources/views/Default/showAll.html.twig
<|file_sep|>updated/src/Djebbz/TicketBundle/Resources/views/Default/showAll.html.twig | {% extends '::base.html.twig' %}
{% block metaTitle %}
All tickets - {{ parent() }}
{% endblock %}
{% block title %}Viewing all tickets{% endblock %}
{% block content %}
{% for ticket in tickets %}
<div class="row">
<div class="columns small-12">
<h2>{{ ticket.title }}</h2>
<div><span c... | <|file_sep|>original/src/Djebbz/TicketBundle/Resources/views/Default/showAll.html.twig
<|file_sep|>current/src/Djebbz/TicketBundle/Resources/views/Default/showAll.html.twig
<|file_sep|>updated/src/Djebbz/TicketBundle/Resources/views/Default/showAll.html.twig
{% extends '::base.html.twig' %}
{% block metaTitle %}
A... | 67e09ca2febb34e3e3d0b4ee26381608994ec8b9 | src/Djebbz/TicketBundle/Resources/views/Default/showAll.html.twig | src/Djebbz/TicketBundle/Resources/views/Default/showAll.html.twig | Twig |
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode6.4
before_install:
- sudo easy_install cpp-coveralls
script:
- xctool test -project Sample/MockUIAlertControllerSample.xcodeproj -scheme MockUIAlertControllerSample -sdk iphonesimulator8.4 -destination "platform=iOS Simulator,name=iPhone 5,OS... | language: objective-c
osx_image: xcode6.4
before_install:
- sudo easy_install cpp-coveralls
script:
- xctool test -project Sample/MockUIAlertViewActionSheetSample.xcodeproj -scheme MockUIAlertViewActionSheetSample -sdk iphonesimulator8.4 -destination "platform=iOS Simulator,name=iPhone 5,OS=8.4"
- xctool test -... | <|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode6.4
before_install:
- sudo easy_install cpp-coveralls
script:
- xctool test -project Sample/MockUIAlertControllerSample.xcodeproj -scheme MockUIAlertControllerSample -sdk iphonesimulator8.4 -destination "platform=iOS Simulator,name=iPhone 5,OS... | cae3aa2841923b9c444698dc90e798bf9cb919b5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docker/base-5.6.2/Dockerfile
<|file_sep|>current/docker/base-5.6.2/Dockerfile
<|file_sep|>updated/docker/base-5.6.2/Dockerfile | FROM debian:buster
# We switched here to debian, as there seems no ZSH 5.6 in ubuntu.
RUN \
apt-get update && \
echo 'golang-go golang-go/dashboard boolean false' | debconf-set-selections && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
curl \
git \
zsh=5.6.2-1 \
mercurial \
subversion \
gol... | <|file_sep|>original/docker/base-5.6.2/Dockerfile
<|file_sep|>current/docker/base-5.6.2/Dockerfile
<|file_sep|>updated/docker/base-5.6.2/Dockerfile
FROM debian:buster
# We switched here to debian, as there seems no ZSH 5.6 in ubuntu.
RUN \
apt-get update && \
echo 'golang-go golang-go/dashboard boolean false' |... | a8b94e5953948dca87c1308338517d2061327db6 | docker/base-5.6.2/Dockerfile | docker/base-5.6.2/Dockerfile | unknown |
<|file_sep|>package.json.diff
original:
"chalk": "^1.0.0",
"yeoman-generator": "^0.19.0",
"yosay": "^1.0.4",
"lodash": "^3.9.3"
updated:
"chalk": "1.0.0",
"yeoman-generator": "0.19.0",
"yosay": "1.0.4",
"lodash": "3.9.3"
<|file_sep|>original/package.json
"url": "https://github.com/ri... | "url": "https://github.com/rishabhsrao"
},
"scripts": {
"test": "mocha"
},
"files": [
"app"
],
"keywords": [
"yeoman-generator"
],
"dependencies": {
"chalk": "1.0.0",
"yeoman-generator": "0.19.0",
"yosay": "1.0.4",
"lodash": "3.9.3"
},
"devDependencies": {
"mocha"... | <|file_sep|>package.json.diff
original:
"chalk": "^1.0.0",
"yeoman-generator": "^0.19.0",
"yosay": "^1.0.4",
"lodash": "^3.9.3"
updated:
"chalk": "1.0.0",
"yeoman-generator": "0.19.0",
"yosay": "1.0.4",
"lodash": "3.9.3"
<|file_sep|>original/package.json
"url": "https://github.com/ri... | 5f48160fefa3a17f697d4a6a64978dc33fac0cf1 | package.json | package.json | JSON |
<|file_sep|>templates/sample_stubs/infrastructure-aws.yml.diff
original:
updated:
availability_zone: YOUR_AVAILABILITY_ZONE
<|file_sep|>original/templates/sample_stubs/infrastructure-aws.yml
cloud_properties:
instance_type: m3.medium
resource_pools:
- name: redis_z1
stemcell:
name: bosh-aws-xen-hvm-ub... | cloud_properties:
availability_zone: YOUR_AVAILABILITY_ZONE
instance_type: m3.medium
resource_pools:
- name: redis_z1
stemcell:
name: bosh-aws-xen-hvm-ubuntu-trusty-go_agent
version: (( merge || "latest" ))
cloud_properties:
availability_zone: YOUR_AVAILABILITY_ZONE
instance_type: m3.medi... | <|file_sep|>templates/sample_stubs/infrastructure-aws.yml.diff
original:
updated:
availability_zone: YOUR_AVAILABILITY_ZONE
<|file_sep|>original/templates/sample_stubs/infrastructure-aws.yml
cloud_properties:
instance_type: m3.medium
resource_pools:
- name: redis_z1
stemcell:
name: bosh-aws-xen-hvm-ub... | 1fcd89221f8d4287a20be9ef4cddcf6b175bd396 | templates/sample_stubs/infrastructure-aws.yml | templates/sample_stubs/infrastructure-aws.yml | YAML |
<|file_sep|>original/docs/requires.txt
# stuff necessary for docs generation
sphinx>=1.8
sphinx-autodoc-typehints
scanpydoc>=0.3
# dependencies of anndata
pandas~=0.21
scipy
h5py
natsort
<|file_sep|>current/docs/requires.txt
# stuff necessary for docs generation
sphinx>=1.8
sphinx-autodoc-typehints
scanpydoc>=0.3
# dep... | # stuff necessary for docs generation
sphinx>=1.8
sphinx-autodoc-typehints
scanpydoc>=0.3.1
# dependencies of anndata
pandas~=0.21
scipy
h5py
natsort | <|file_sep|>original/docs/requires.txt
# stuff necessary for docs generation
sphinx>=1.8
sphinx-autodoc-typehints
scanpydoc>=0.3
# dependencies of anndata
pandas~=0.21
scipy
h5py
natsort
<|file_sep|>current/docs/requires.txt
# stuff necessary for docs generation
sphinx>=1.8
sphinx-autodoc-typehints
scanpydoc>=0.3
# dep... | d4c9391e7b463c171c89d03351f444f8ce18b85c | docs/requires.txt | docs/requires.txt | Text |
<|file_sep|>features/renalware/events/recording_patient_events.legacy.feature.diff
original:
And Clyde is on Patty's event index
updated:
<|file_sep|>original/features/renalware/events/recording_patient_events.legacy.feature
Feature: A Doctor records a patient event
Background:
Given there are edta causes of de... | Feature: A Doctor records a patient event
Background:
Given there are edta causes of death in the database
And Patty is a patient
And Clyde is a clinician
And Clyde is logged in
Scenario: Clyde records an event for Patty
Given Clyde is on Patty's event index
When Clyde chooses to add an event
An... | <|file_sep|>features/renalware/events/recording_patient_events.legacy.feature.diff
original:
And Clyde is on Patty's event index
updated:
<|file_sep|>original/features/renalware/events/recording_patient_events.legacy.feature
Feature: A Doctor records a patient event
Background:
Given there are edta causes of de... | d3460b8a06209ea4e7c97340bdffd9f47350c440 | features/renalware/events/recording_patient_events.legacy.feature | features/renalware/events/recording_patient_events.legacy.feature | Cucumber |
<|file_sep|>original/core/src/utils/system.js
export const ENDIANNESS = detectEndianness();
export function detectEndianness() {
var buffer = new ArrayBuffer(4);
var u32 = new Uint32Array(buffer);
var u8 = new Uint8Array(buffer);
u32[0] = 0xFF;
return (u8[0] === 0xFF) ? 'LE' : 'BE';
}
export function newByt... | export const ENDIANNESS = detectEndianness();
export function detectEndianness() {
var buffer = new ArrayBuffer(4);
var u32 = new Uint32Array(buffer);
var u8 = new Uint8Array(buffer);
u32[0] = 0xFF;
return (u8[0] === 0xFF) ? 'LE' : 'BE';
}
export function newByteArray(size) {
return new Uint8Array(size);
... | <|file_sep|>original/core/src/utils/system.js
export const ENDIANNESS = detectEndianness();
export function detectEndianness() {
var buffer = new ArrayBuffer(4);
var u32 = new Uint32Array(buffer);
var u8 = new Uint8Array(buffer);
u32[0] = 0xFF;
return (u8[0] === 0xFF) ? 'LE' : 'BE';
}
export function newByt... | d73ee560d6acfb497ac6fbca433b574e86c0399a | core/src/utils/system.js | core/src/utils/system.js | JavaScript |
<|file_sep|>Spraff/project.clj.diff
original:
[org.clojure/clojure "1.2.1"]
updated:
[org.clojure/clojure "1.3.0"]
<|file_sep|>original/Spraff/project.clj
; :mode=clojure:
(defproject spraff "1.0.0-SNAPSHOT"
:description "IRC bot."
:dependencies [
[org.clojure/clojure "1.2.1"]
[i... | ; :mode=clojure:
(defproject spraff "1.0.0-SNAPSHOT"
:description "IRC bot."
:dependencies [
[org.clojure/clojure "1.3.0"]
[irclj "0.4.1-SNAPSHOT"]
]
:main spraff.core)
| <|file_sep|>Spraff/project.clj.diff
original:
[org.clojure/clojure "1.2.1"]
updated:
[org.clojure/clojure "1.3.0"]
<|file_sep|>original/Spraff/project.clj
; :mode=clojure:
(defproject spraff "1.0.0-SNAPSHOT"
:description "IRC bot."
:dependencies [
[org.clojure/clojure "1.2.1"]
[i... | 27970607ebfd9c1bef3b29977eb2a1aac9313bb3 | Spraff/project.clj | Spraff/project.clj | Clojure |
<|file_sep|>original/app/views/backend/deliveries/show.html.haml
= main_state_bar(resource)
= main_informations attachment: true do
= attributes_list do |l|
- l.attribute :number
- l.attribute :mode
- l.attribute :driver, url: true
- l.attribute :transporter, url: true
- l.attribute :reference_nu... | = t.edit resource
= t.destroy
= main_state_bar(resource)
= main_informations attachment: true do
= attributes_list do |l|
- l.attribute :number
- l.attribute :mode
- l.attribute :driver, url: true
- l.attribute :transporter, url: true
- l.attribute :reference_number
- l.attribute :starte... | <|file_sep|>original/app/views/backend/deliveries/show.html.haml
= main_state_bar(resource)
= main_informations attachment: true do
= attributes_list do |l|
- l.attribute :number
- l.attribute :mode
- l.attribute :driver, url: true
- l.attribute :transporter, url: true
- l.attribute :reference_nu... | 422ae87d6fb07c9f301754e6fc5f785de35e9a51 | app/views/backend/deliveries/show.html.haml | app/views/backend/deliveries/show.html.haml | Haml |
<|file_sep|>original/environments/services/neutron-ovn-sriov.yaml
<|file_sep|>current/environments/services/neutron-ovn-sriov.yaml
<|file_sep|>updated/environments/services/neutron-ovn-sriov.yaml | # EXPERIMENTAL: The configuration enabled by this environment is not considered
# production-ready.
#
# A Heat environment that can be used to enable SR-IOV support in neutron with OVN
# mechanism driver.
# This environment file should be included after the main OVN environment
# file - neutron-ovn-ha.yaml/neutron-ovn-... | <|file_sep|>original/environments/services/neutron-ovn-sriov.yaml
<|file_sep|>current/environments/services/neutron-ovn-sriov.yaml
<|file_sep|>updated/environments/services/neutron-ovn-sriov.yaml
# EXPERIMENTAL: The configuration enabled by this environment is not considered
# production-ready.
#
# A Heat environment... | 2e472709620b059ff58d3cc1643b069378dd8f13 | environments/services/neutron-ovn-sriov.yaml | environments/services/neutron-ovn-sriov.yaml | YAML |
<|file_sep|>app/views/runs/_unauthorized.html.haml.diff
original:
.content-hdr
%h2.h2.error Session Timed Out
updated:
%h2.h2.error Session Timed Out
<|file_sep|>original/app/views/runs/_unauthorized.html.haml
.content-hdr
%h2.h2.error Session Timed Out
.intro-mod
.intro-txt
%h4.h4 Sorry, we have lost track ... | %h2.h2.error Session Timed Out
.intro-mod
.intro-txt
%h4.h4 Sorry, we have lost track of who you are.
%p
%ul
%li
Close this window or browser tab.
%li
Go back to the portal from which you launched the activity.
%li
Re-launch the activity.
%p.stu... | <|file_sep|>app/views/runs/_unauthorized.html.haml.diff
original:
.content-hdr
%h2.h2.error Session Timed Out
updated:
%h2.h2.error Session Timed Out
<|file_sep|>original/app/views/runs/_unauthorized.html.haml
.content-hdr
%h2.h2.error Session Timed Out
.intro-mod
.intro-txt
%h4.h4 Sorry, we have lost track ... | b52e6fe6255a09f309d04415737efe1137eee2bc | app/views/runs/_unauthorized.html.haml | app/views/runs/_unauthorized.html.haml | Haml |
<|file_sep|>original/requirements.txt
ply==3.11
enum34==1.1.6
twitter==1.18.0
requests==2.19.1
pytimeparse==1.1.8
pymysql==0.9.2
pycryptodome==3.6.4
pyasn1==0.4.4
isodate==0.6.0
google-api-python-client==1.7.4
pyxDamerauLevenshtein==1.5
numpy==1.15.0
Cython==0.28.5
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=r... | ply==3.11
enum34==1.1.6
twitter==1.18.0
requests==2.19.1
pytimeparse==1.1.8
pymysql==0.9.2
pycryptodome==3.6.4
pyasn1==0.4.4
isodate==0.6.0
google-api-python-client==1.7.4
pyxDamerauLevenshtein==1.5
numpy==1.15.0
Cython==0.28.5
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
parsedatetime==2.4
cryptography==2.... | <|file_sep|>original/requirements.txt
ply==3.11
enum34==1.1.6
twitter==1.18.0
requests==2.19.1
pytimeparse==1.1.8
pymysql==0.9.2
pycryptodome==3.6.4
pyasn1==0.4.4
isodate==0.6.0
google-api-python-client==1.7.4
pyxDamerauLevenshtein==1.5
numpy==1.15.0
Cython==0.28.5
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=r... | d9e311e49dd055fde2232597810ab5ca3f379d89 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/vcversion.sh
if [ -r ./VERSION ]; then
cat ./VERSION
else
cd "$(dirname $0)"
if [ -r ./VERSION ]; then
cat ./VERSION
else
which git >/dev/null
tagname=$(git tag -l 'v[0-9]*' --sort=-v:refname | head -n1)
test "x$tagname" != x
tweaks=$(git rev-list --count HEAD ^$tagname)
if [... |
if [ -r ./VERSION ]; then
cat ./VERSION
else
cd "$(dirname $0)"
if [ -r ./VERSION ]; then
cat ./VERSION
else
which git >/dev/null
tagname=$(git tag -l 'v[0-9]*' --sort=-v:refname | head -n1)
if [ "$tagname" ]; then
tweaks=$(git rev-list --count HEAD ^${tagname})
else
tweaks=$(git rev-lis... | <|file_sep|>original/vcversion.sh
if [ -r ./VERSION ]; then
cat ./VERSION
else
cd "$(dirname $0)"
if [ -r ./VERSION ]; then
cat ./VERSION
else
which git >/dev/null
tagname=$(git tag -l 'v[0-9]*' --sort=-v:refname | head -n1)
test "x$tagname" != x
tweaks=$(git rev-list --count HEAD ^$tagname)
if [... | afaf645dd921afa1fd44fa4817f975e07adf4482 | vcversion.sh | vcversion.sh | Shell |
<|file_sep|>original/node_roles.yaml
standalone-rabbitmq:
name: "RabbitMQ"
description: "Separated RabbitMQ from controller"
has_primary: false # whether has primary role or not
public_ip_required: false # whether requires public net or not
weight: 100 # weight tha... | standalone-rabbitmq:
name: "RabbitMQ"
description: "Separated RabbitMQ from controller"
has_primary: false # whether has primary role or not
public_ip_required: false # whether requires public net or not
weight: 100 # weight that will be used for ordering on fuel u... | <|file_sep|>original/node_roles.yaml
standalone-rabbitmq:
name: "RabbitMQ"
description: "Separated RabbitMQ from controller"
has_primary: false # whether has primary role or not
public_ip_required: false # whether requires public net or not
weight: 100 # weight tha... | 857f5342fd471c141161b58ee65a32f7b09b666f | node_roles.yaml | node_roles.yaml | YAML |
<|file_sep|>README.rst.diff
original:
Not packaged up to pip yet, so to test out, clone the repository:
::
updated:
Not packaged up to pip yet, so to test out, clone the repository::
<|file_sep|>README.rst.diff
original:
To use try one of these:
::
updated:
To use try one of these::
<|file_sep|>original/README.rst
... | This uses the version of Tcl that comes with Python, through Tkinter, so you do not need to install anything else.
Not packaged up to pip yet, so to test out, clone the repository::
pip3 install tcl_kernel
python3 -m tcl_kernel.install
To use try one of these::
jupyter notebook
# Then select the... | <|file_sep|>README.rst.diff
original:
Not packaged up to pip yet, so to test out, clone the repository:
::
updated:
Not packaged up to pip yet, so to test out, clone the repository::
<|file_sep|>README.rst.diff
original:
To use try one of these:
::
updated:
To use try one of these::
<|file_sep|>original/README.rst
... | 62ae17a9c6d85baaa51eab46263c3f15a375a0cb | README.rst | README.rst | reStructuredText |
<|file_sep|>original/obfuscator/ObfuscatorPlugin.php
require_once __DIR__.'/vendor/autoload.php';
}
function getName()
{
return Craft::t('Obfuscator');
}
function getVersion()
{
return '0.1';
}
function getDeveloper()
{
return 'Miranj';
}
f... | require_once __DIR__.'/vendor/autoload.php';
}
function getName()
{
return Craft::t('Obfuscator');
}
function getVersion()
{
return '0.2';
}
function getDeveloper()
{
return 'Miranj';
}
function getDeveloperUrl()
{
return 'http:... | <|file_sep|>original/obfuscator/ObfuscatorPlugin.php
require_once __DIR__.'/vendor/autoload.php';
}
function getName()
{
return Craft::t('Obfuscator');
}
function getVersion()
{
return '0.1';
}
function getDeveloper()
{
return 'Miranj';
}
f... | b54a4be270b874464b7fb3acc7c4e89eee78844d | obfuscator/ObfuscatorPlugin.php | obfuscator/ObfuscatorPlugin.php | PHP |
<|file_sep|>original/modules/round/src/main/RoundNotifier.scala
win = game.winnerColor map (color ==),
perf = perfType.key
)
) toUser userId)
}
isUserPresent(game, userId) foreach {
case false =>
notifyApi.addNotification(
Notification.... | win = game.winnerColor map (color ==),
perf = perfType.key
)
) toUser userId)
}
isUserPresent(game, userId) foreach {
case false =>
notifyApi.addNotification(
Notification.make(
Notification.Notifies(userId),
... | <|file_sep|>original/modules/round/src/main/RoundNotifier.scala
win = game.winnerColor map (color ==),
perf = perfType.key
)
) toUser userId)
}
isUserPresent(game, userId) foreach {
case false =>
notifyApi.addNotification(
Notification.... | 6a52ade9884183ac396a663834ff0b76f8455107 | modules/round/src/main/RoundNotifier.scala | modules/round/src/main/RoundNotifier.scala | Scala |
<|file_sep|>original/ci_helpers_usage.py
<|file_sep|>current/ci_helpers_usage.py
<|file_sep|>updated/ci_helpers_usage.py | import requests
from github import Github
from common import get_credentials
username, password = get_credentials()
gh = Github(username, password)
gh_search_result = gh.search_code('filename:.travis.yml "astropy/ci-helpers"')
gh_repo = []
gh_name = []
for i in gh_search_result:
gh_repo.append(i.repository.full... | <|file_sep|>original/ci_helpers_usage.py
<|file_sep|>current/ci_helpers_usage.py
<|file_sep|>updated/ci_helpers_usage.py
import requests
from github import Github
from common import get_credentials
username, password = get_credentials()
gh = Github(username, password)
gh_search_result = gh.search_code('filename:.tr... | 14759bf0a40025745c11f4110f88e5f58115d2c9 | ci_helpers_usage.py | ci_helpers_usage.py | Python |
<|file_sep|>.travis.yml.diff
original:
- jruby-9.1.2.0
updated:
- jruby
<|file_sep|>original/.travis.yml
language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 2.2.5
- 2.3.1
- jruby-9.1.2.0
- rbx
gemfile:
- Gemfile
- Gemfile-pure
cache: bundler
sudo: false
... | language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 2.2.5
- 2.3.1
- jruby
- rbx
gemfile:
- Gemfile
- Gemfile-pure
cache: bundler
sudo: false
matrix:
allow_failures:
- rvm: rbx
- rvm: jruby | <|file_sep|>.travis.yml.diff
original:
- jruby-9.1.2.0
updated:
- jruby
<|file_sep|>original/.travis.yml
language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 2.2.5
- 2.3.1
- jruby-9.1.2.0
- rbx
gemfile:
- Gemfile
- Gemfile-pure
cache: bundler
sudo: false
... | 4669283815fb7e38aa26f78361cd6248cfad4c8e | .travis.yml | .travis.yml | YAML |
<|file_sep|>project.clj.diff
original:
:dependencies [[org.clojure/clojure "1.4.0"]
updated:
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2227"]
<|file_sep|>original/project.clj
(defproject tttclj "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stu... | (defproject tttclj "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2227"]
[http-kit "2.1.16"]
[compojure "1.1.8"]]
:profiles {:dev {:dependencies [[midje "1.5.0"]... | <|file_sep|>project.clj.diff
original:
:dependencies [[org.clojure/clojure "1.4.0"]
updated:
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2227"]
<|file_sep|>original/project.clj
(defproject tttclj "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stu... | d958b2475dca1d77e3d37ef196b7a9572f0e74b7 | project.clj | project.clj | Clojure |
<|file_sep|>original/requirements.txt
matplotlib==3.1.1
networkx==2.3
pandas==0.25.0
hiveplot==2017.10.17.21.7
nxviz==0.6.1
numpy==1.16.4
jupyter==1.0.0
scipy==1.3.0
python-louvain==0.13
tqdm==4.32.2
<|file_sep|>current/requirements.txt
matplotlib==3.1.1
networkx==2.3
pandas==0.25.0
hiveplot==2017.10.17.21.7
nxviz==0.6... | matplotlib==3.1.1
networkx==2.3
pandas==0.25.0
hiveplot==2017.10.17.21.7
nxviz==0.6.1
numpy==1.17.0
jupyter==1.0.0
scipy==1.3.0
python-louvain==0.13
tqdm==4.32.2 | <|file_sep|>original/requirements.txt
matplotlib==3.1.1
networkx==2.3
pandas==0.25.0
hiveplot==2017.10.17.21.7
nxviz==0.6.1
numpy==1.16.4
jupyter==1.0.0
scipy==1.3.0
python-louvain==0.13
tqdm==4.32.2
<|file_sep|>current/requirements.txt
matplotlib==3.1.1
networkx==2.3
pandas==0.25.0
hiveplot==2017.10.17.21.7
nxviz==0.6... | ab964c8d1f3640933735577f174f291a9394d465 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/README.md
# ProxyPay API Wrapper
An API wrapper for ProxyPay written in Nodejs. ProxyPay is a service that allow payments in ATM by generating custom references used by small, medium and big companies in Angola.
For more information about ProxyPay visit their beatiful site: [https://proxypay.co.a... | # ProxyPay API Wrapper
An API wrapper for ProxyPay written in Nodejs. ProxyPay is a service that allow payments in ATM by generating custom references used by small, medium and big companies in Angola.
For more information about ProxyPay visit their beatiful site: [https://proxypay.co.ao](https://proxypay.co.ao).
# ... | <|file_sep|>original/README.md
# ProxyPay API Wrapper
An API wrapper for ProxyPay written in Nodejs. ProxyPay is a service that allow payments in ATM by generating custom references used by small, medium and big companies in Angola.
For more information about ProxyPay visit their beatiful site: [https://proxypay.co.a... | 4d8c40f1d535eb9cf5e3e4d8ced825cbc5d096f7 | README.md | README.md | Markdown |
<|file_sep|>byceps/typing.py.diff
original:
updated:
from typing import NewType
<|file_sep|>byceps/typing.py.diff
original:
UserID = UUID
updated:
UserID = NewType('UserID', UUID)
<|file_sep|>byceps/typing.py.diff
original:
BrandID = str
updated:
BrandID = NewType('BrandID', str)
<|file_sep|>original/byceps/typing.py
... | """
byceps.typing
~~~~~~~~~~~~~
BYCEPS-specific type aliases for PEP 484 type hints
:Copyright: 2006-2017 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE for details.
"""
from typing import NewType
from uuid import UUID
UserID = NewType('UserID', UUID)
BrandID = NewType('BrandID', str)
PartyID = NewType... | <|file_sep|>byceps/typing.py.diff
original:
updated:
from typing import NewType
<|file_sep|>byceps/typing.py.diff
original:
UserID = UUID
updated:
UserID = NewType('UserID', UUID)
<|file_sep|>byceps/typing.py.diff
original:
BrandID = str
updated:
BrandID = NewType('BrandID', str)
<|file_sep|>original/byceps/typing.py
... | 501bcb9aab561f9155857e1601a303374ae5698c | byceps/typing.py | byceps/typing.py | Python |
<|file_sep|>original/pax-exam-spi/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ops4j.pax... | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ops4j.pax</groupId>
<artifactId>exam</... | <|file_sep|>original/pax-exam-spi/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ops4j.pax... | 992ddeb93d964d3e56cd1d42d15ba9a692277c42 | pax-exam-spi/pom.xml | pax-exam-spi/pom.xml | XML |
<|file_sep|>original/FetchVM.ps1
# Powershell script to pull the VM files from GitHub into the current folder.
# Edit the following to match the version of the VM that is compatible with this image
param
(
[string]$VMversion="v7.0.2.1"
)
Try
{
$scriptDir = Split-Path $script:MyInvocation.MyCommand.Path;
Writ... |
# Powershell script to pull the VM files from GitHub into the current folder.
# Edit the following to match the version of the VM that is compatible with this image
param
(
[string]$VMversion="v7.0.3"
)
Try
{
$scriptDir = Split-Path $script:MyInvocation.MyCommand.Path;
Write-Host "Fetching DolphinVM.zip" $VM... | <|file_sep|>original/FetchVM.ps1
# Powershell script to pull the VM files from GitHub into the current folder.
# Edit the following to match the version of the VM that is compatible with this image
param
(
[string]$VMversion="v7.0.2.1"
)
Try
{
$scriptDir = Split-Path $script:MyInvocation.MyCommand.Path;
Writ... | 7f4dd14cf37cc13b0b783a99d532723fe4095b6f | FetchVM.ps1 | FetchVM.ps1 | PowerShell |
<|file_sep|>original/app.js
npm: __dirname + '/node_modules/',
libraries: {
nodejs: {},
npm: {}
},
directory: __dirname + '/modules/',
modules: {
npm: {
'dragonnodejs-webserver': {
app: { port: process.env.PORT },
bower: {
... | npm: __dirname + '/node_modules/',
libraries: {
nodejs: {},
npm: {}
},
directory: __dirname + '/modules/',
modules: {
npm: {
'dragonnodejs-webserver': {
app: { port: process.env.PORT },
auth: {
realm: process.env... | <|file_sep|>original/app.js
npm: __dirname + '/node_modules/',
libraries: {
nodejs: {},
npm: {}
},
directory: __dirname + '/modules/',
modules: {
npm: {
'dragonnodejs-webserver': {
app: { port: process.env.PORT },
bower: {
... | 994d14b7619ff6997881cb87b0d4653b6aca645c | app.js | app.js | JavaScript |
<|file_sep|>original/package.json
{
"name": "hard-source-webpack-plugin",
"version": "0.0.1",
"description": "Hard cache the source of modules in webpack.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": ... | "name": "hard-source-webpack-plugin",
"version": "0.0.1",
"description": "Hard cache the source of modules in webpack.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"webpack": "^1.13.1",
"web... | <|file_sep|>original/package.json
{
"name": "hard-source-webpack-plugin",
"version": "0.0.1",
"description": "Hard cache the source of modules in webpack.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": ... | ea3f3728469b1601a7e3ca1593f469f100a64510 | package.json | package.json | JSON |
<|file_sep|>original/pkgs/honu/info.rkt
#lang info
(define collection "honu")
(define deps '("macro-debugger"
"base"
"parser-tools-lib"
"rackunit-lib"))
(define build-deps '("scribble-lib"))
<|file_sep|>current/pkgs/honu/info.rkt
#lang info
(define collection "honu")
(defi... | #lang info
(define collection "honu")
(define deps '("macro-debugger"
"base"
"parser-tools-lib"
"rackunit-lib"))
(define build-deps '("scribble-lib"))
;; Make honu.vim easier to find by copying it to the "lib" directory:
(define copy-foreign-libs '("contrib/honu.vim")) | <|file_sep|>original/pkgs/honu/info.rkt
#lang info
(define collection "honu")
(define deps '("macro-debugger"
"base"
"parser-tools-lib"
"rackunit-lib"))
(define build-deps '("scribble-lib"))
<|file_sep|>current/pkgs/honu/info.rkt
#lang info
(define collection "honu")
(defi... | 2192d120984ef38ebc3f2782eb8c8faa0352ee37 | pkgs/honu/info.rkt | pkgs/honu/info.rkt | Racket |
<|file_sep|>app/src/external/java/com/kickstarter/libs/NoopBuildCheck.java.diff
original:
updated:
import android.support.annotation.NonNull;
import com.kickstarter.services.WebClientType;
<|file_sep|>app/src/external/java/com/kickstarter/libs/NoopBuildCheck.java.diff
original:
import com.kickstarter.services.WebClie... | package com.kickstarter.libs;
import android.support.annotation.NonNull;
import com.kickstarter.services.WebClientType;
import com.kickstarter.viewmodels.DiscoveryViewModel;
public class NoopBuildCheck implements BuildCheck {
@Override
public void bind(final @NonNull DiscoveryViewModel viewModel, final @NonNull ... | <|file_sep|>app/src/external/java/com/kickstarter/libs/NoopBuildCheck.java.diff
original:
updated:
import android.support.annotation.NonNull;
import com.kickstarter.services.WebClientType;
<|file_sep|>app/src/external/java/com/kickstarter/libs/NoopBuildCheck.java.diff
original:
import com.kickstarter.services.WebClie... | cb20d53406b806041d30ef8b1a82f5475e1f9c8d | app/src/external/java/com/kickstarter/libs/NoopBuildCheck.java | app/src/external/java/com/kickstarter/libs/NoopBuildCheck.java | Java |
<|file_sep|>original/iOS-FakeWeb.podspec
<|file_sep|>current/iOS-FakeWeb.podspec
<|file_sep|>updated/iOS-FakeWeb.podspec | Pod::Spec.new do |s|
s.name = "iOS-FakeWeb"
s.version = "0.1.1"
s.summary = "Simple HTTP request mocking/interception for testing module."
s.homepage = "https://github.com/dealforest/iOS-FakeWeb"
s.license = 'MIT'
s.author = { "Toshihiro Morimoto" => "dealforest.net@gmail.co... | <|file_sep|>original/iOS-FakeWeb.podspec
<|file_sep|>current/iOS-FakeWeb.podspec
<|file_sep|>updated/iOS-FakeWeb.podspec
Pod::Spec.new do |s|
s.name = "iOS-FakeWeb"
s.version = "0.1.1"
s.summary = "Simple HTTP request mocking/interception for testing module."
s.homepage = "https://github... | 33de1d8a6ee1ce0420f8472d31e2b26b0ecab081 | iOS-FakeWeb.podspec | iOS-FakeWeb.podspec | Ruby |
<|file_sep|>tools/examples/geturl.py.diff
original:
updated:
import os
<|file_sep|>tools/examples/geturl.py.diff
original:
import svn._wc
updated:
import svn.wc
<|file_sep|>original/tools/examples/geturl.py
#!/usr/bin/env python2
#
# USAGE: geturl.py FILE_OR_DIR1 FILE_OR_DIR2 ...
#
# prints out the URL associated wit... | #
import os
import sys
import svn.wc
import svn.util
def main(pool, files):
for f in files:
dirpath = fullpath = os.path.abspath(f)
if not os.path.isdir(dirpath):
dirpath = os.path.dirname(dirpath)
adm_baton = svn.wc.svn_wc_adm_open(None, dirpath, 1, 1, pool)
try:
entry = svn.wc.svn_wc_... | <|file_sep|>tools/examples/geturl.py.diff
original:
updated:
import os
<|file_sep|>tools/examples/geturl.py.diff
original:
import svn._wc
updated:
import svn.wc
<|file_sep|>original/tools/examples/geturl.py
#!/usr/bin/env python2
#
# USAGE: geturl.py FILE_OR_DIR1 FILE_OR_DIR2 ...
#
# prints out the URL associated wit... | 94e8b7bf8b24dfa36f240e601cb0894b10cab21a | tools/examples/geturl.py | tools/examples/geturl.py | Python |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '6'
- '5'
- '4'
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '6'
- '5'
- '4'
<|file_sep|>updated/.travis.yml | sudo: false
language: node_js
node_js:
- 'node'
- '--lts' | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '6'
- '5'
- '4'
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '6'
- '5'
- '4'
<|file_sep|>updated/.travis.yml
sudo: false
language: node_js
node_js:
- 'node'
- '--lts' | b1ff71e8bcb74c179ffe393747d231a20fa8b75b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/trogdir/changeset.rb
class Changeset
include Mongoid::History::Tracker
include Mongoid::Userstamp
mongoid_userstamp user_model: 'Syncinator'
embeds_many :change_syncs
field :modified_by, type: String
index created_at: -1
index 'change_syncs.syncinator_id' => 1
index 'change_... | class Changeset
include Mongoid::History::Tracker
include Mongoid::Userstamp
mongoid_userstamp user_model: 'Syncinator'
embeds_many :change_syncs
field :modified_by, type: String
field :reason, type: String
index created_at: -1
index 'change_syncs.syncinator_id' => 1
index 'change_syncs.run_after'... | <|file_sep|>original/lib/trogdir/changeset.rb
class Changeset
include Mongoid::History::Tracker
include Mongoid::Userstamp
mongoid_userstamp user_model: 'Syncinator'
embeds_many :change_syncs
field :modified_by, type: String
index created_at: -1
index 'change_syncs.syncinator_id' => 1
index 'change_... | e8d66387faa778319e4398c708cf76c21e10e09b | lib/trogdir/changeset.rb | lib/trogdir/changeset.rb | Ruby |
<|file_sep|>original/app/views/common/InfoModal.js
// Modal with text information content and a large button (usually for dismissing the modal)
export default class InfoModal extends React.Component {
_onPress = () => {
if (this.props.onPress) {
this.props.onPress(); //callback when modal is pressed
}
... |
// Modal with text information content and a large button (usually for dismissing the modal)
export default class InfoModal extends React.Component {
_onPress = () => {
if (this.props.onPress) {
this.props.onPress(); //callback when modal is pressed
}
}
render() {
return(
<Modal animation... | <|file_sep|>original/app/views/common/InfoModal.js
// Modal with text information content and a large button (usually for dismissing the modal)
export default class InfoModal extends React.Component {
_onPress = () => {
if (this.props.onPress) {
this.props.onPress(); //callback when modal is pressed
}
... | 7bbfea523b5394c793f31127d9751ccb5a6c189b | app/views/common/InfoModal.js | app/views/common/InfoModal.js | JavaScript |
<|file_sep|>.rubocop.yml.diff
original:
Include:
updated:
Exclude:
- 'test/**/*'
- 'examples/*'
- 'tmp/**/*'
<|file_sep|>original/.rubocop.yml
AllCops:
Include:
- Rakefile
Style/Blocks:
Enabled: false
Style/DotPosition:
EnforcedStyle: trailing
Style/LineLength:
Max: 92
Style/MethodDefPar... | AllCops:
Exclude:
- 'test/**/*'
- 'examples/*'
- 'tmp/**/*'
- Rakefile
- gir_ffi.gemspec
Style/Blocks:
Enabled: false
Style/DotPosition:
EnforcedStyle: trailing
Style/LineLength:
Max: 92
Style/MethodDefParentheses:
EnforcedStyle: require_no_parentheses
Style/SignalException: | <|file_sep|>.rubocop.yml.diff
original:
Include:
updated:
Exclude:
- 'test/**/*'
- 'examples/*'
- 'tmp/**/*'
<|file_sep|>original/.rubocop.yml
AllCops:
Include:
- Rakefile
Style/Blocks:
Enabled: false
Style/DotPosition:
EnforcedStyle: trailing
Style/LineLength:
Max: 92
Style/MethodDefPar... | b28e58a751a00f07bfb32118766e813bede9830c | .rubocop.yml | .rubocop.yml | YAML |
<|file_sep|>synapse/storage/schema/delta/54/drop_legacy_tables.sql.diff
original:
updated:
-- we need to do this first due to foreign constraints
DROP TABLE IF EXISTS application_services_regex;
<|file_sep|>original/synapse/storage/schema/delta/54/drop_legacy_tables.sql
*
* Unless required by applicable law or agre... | * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-- we need to do this first due to foreign constraints
DROP TABLE... | <|file_sep|>synapse/storage/schema/delta/54/drop_legacy_tables.sql.diff
original:
updated:
-- we need to do this first due to foreign constraints
DROP TABLE IF EXISTS application_services_regex;
<|file_sep|>original/synapse/storage/schema/delta/54/drop_legacy_tables.sql
*
* Unless required by applicable law or agre... | 50d2a3059db29e7c9c7ccc9b005cec8497827e4b | synapse/storage/schema/delta/54/drop_legacy_tables.sql | synapse/storage/schema/delta/54/drop_legacy_tables.sql | SQL |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
cache:
directories:
- node_modules
node_js:
- "0.10"
before_install: "npm install -g npm && npm cache clean"
script: "npm run-script travis"
after_success: "<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js"
notifications:
webhooks:
... | language: node_js
sudo: false
cache:
directories:
- node_modules
node_js:
- "0.10"
- "0.12"
before_install: "npm install -g npm && npm cache clean"
script: "npm run-script travis"
after_success: "<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js"
notifications:
webhooks:
urls:
- https:/... | <|file_sep|>original/.travis.yml
language: node_js
sudo: false
cache:
directories:
- node_modules
node_js:
- "0.10"
before_install: "npm install -g npm && npm cache clean"
script: "npm run-script travis"
after_success: "<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js"
notifications:
webhooks:
... | fb53f5349ade03be8bed6020cd23970e14130b7f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.idea/vcs.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
<|file_sep|>current/.idea/vcs.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<compon... | <?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="IssueNavigationConfiguration">
<option name="links">
<list>
<IssueNavigationLink>
<option name="issueRegexp" value="#([0-9]+)" />
<option name="linkRegexp" value="https://github.com/MGaetan89/ShowsRage/... | <|file_sep|>original/.idea/vcs.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
<|file_sep|>current/.idea/vcs.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<compon... | 480b304f3d015c0d0f62850d9d5e129cc9674a7e | .idea/vcs.xml | .idea/vcs.xml | XML |
<|file_sep|>original/src/PhappCommandBase.php
$this->globalConfig = GlobalConfig::discoverConfig();
if ($this->requiresPhappManifest) {
$this->phappManifest = PhappManifest::getInstance();
$this->initShellEnvironment();
}
$this->stopOnFail(TRUE);
}
/**
* Switches the working director... | $this->globalConfig = GlobalConfig::discoverConfig();
if ($this->requiresPhappManifest) {
$this->phappManifest = PhappManifest::getInstance();
$this->initShellEnvironment();
}
$this->stopOnFail(TRUE);
}
/**
* Switches the working directory and adds the composer bin-dir to the path.
... | <|file_sep|>original/src/PhappCommandBase.php
$this->globalConfig = GlobalConfig::discoverConfig();
if ($this->requiresPhappManifest) {
$this->phappManifest = PhappManifest::getInstance();
$this->initShellEnvironment();
}
$this->stopOnFail(TRUE);
}
/**
* Switches the working director... | eda177ce566b22b74d721bf63a6f18a43172a74e | src/PhappCommandBase.php | src/PhappCommandBase.php | PHP |
<|file_sep|>original/package.json
"homepage": "https://github.com/btmills/eslint-config-btmills#readme",
"bugs": {
"url": "https://github.com/btmills/eslint-config-btmills/issues"
},
"author": {
"name": "Brandon Mills",
"email": "mills.brandont@gmail.com",
"url": "https://github.com/btmills"
}... | "homepage": "https://github.com/btmills/eslint-config-btmills#readme",
"bugs": {
"url": "https://github.com/btmills/eslint-config-btmills/issues"
},
"author": {
"name": "Brandon Mills",
"email": "mills.brandont@gmail.com",
"url": "https://github.com/btmills"
},
"scripts": {
"lint": "esli... | <|file_sep|>original/package.json
"homepage": "https://github.com/btmills/eslint-config-btmills#readme",
"bugs": {
"url": "https://github.com/btmills/eslint-config-btmills/issues"
},
"author": {
"name": "Brandon Mills",
"email": "mills.brandont@gmail.com",
"url": "https://github.com/btmills"
}... | f13178a4ccbc0d57a578a1d681b0f54277d10516 | package.json | package.json | JSON |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.