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|>devbin/make-executable-zip.sh.diff
original:
set -e -o pipefail
updated:
set -eu -o pipefail
<|file_sep|>devbin/make-executable-zip.sh.diff
original:
virtualenv -p python "$ENVDIR"
updated:
virtualenv -p "$(which python)" "$ENVDIR"
<|file_sep|>original/devbin/make-executable-zip.sh
. "$ENVDIR/bin/activate"
... | . "$ENVDIR/bin/activate"
pip install -r "$ROOTDIR/requirements.txt"
# Set up file structure in our temporary directory
echo 'import px.px; px.px.main()' > "$WORKDIR/__main__.py"
# The main attraction!
cp -a "$ROOTDIR/px" "$WORKDIR/"
# Dependencies, must match list in requirements.txt
cp -a "$ENVDIR"/lib/python*/site... | <|file_sep|>devbin/make-executable-zip.sh.diff
original:
set -e -o pipefail
updated:
set -eu -o pipefail
<|file_sep|>devbin/make-executable-zip.sh.diff
original:
virtualenv -p python "$ENVDIR"
updated:
virtualenv -p "$(which python)" "$ENVDIR"
<|file_sep|>original/devbin/make-executable-zip.sh
. "$ENVDIR/bin/activate"
... | 0df5b90d2159c8c2d26e351f0b137a285c9a9d34 | devbin/make-executable-zip.sh | devbin/make-executable-zip.sh | Shell |
<|file_sep|>original/apps/storage/skins/index.html
### Add a new book
<form action="<% action %>" method="post">
<div><label>Author: </label></div><div><input name="author" size="30"/></div>
<div><label>Title: </label></div><div><input name="title" size="30"/></div>
<p><input type="submit" name="save" v... | ### Add a new book
<form action="<% action %>" method="post">
<div><label>Author: </label></div><div><input name="author" size="30"/></div>
<div><label>Title: </label></div><div><input name="title" size="30"/></div>
<p><input type="submit" name="save" value="Save"/></p>
</form>
### Available Books
<ta... | <|file_sep|>original/apps/storage/skins/index.html
### Add a new book
<form action="<% action %>" method="post">
<div><label>Author: </label></div><div><input name="author" size="30"/></div>
<div><label>Title: </label></div><div><input name="title" size="30"/></div>
<p><input type="submit" name="save" v... | 19f62726625b5402634a7dd17e3a39a8325ba2f7 | apps/storage/skins/index.html | apps/storage/skins/index.html | HTML |
<|file_sep|>original/popit-hosting/tests/utils.js
var utils = require('../lib/utils'),
_ = require('underscore');
exports.test_is_email = function ( test ) {
var good = [
'bob@example.com',
];
var bad = [
'foo',
'foo@',
'@example.com',
'',
null
... | var utils = require('../lib/utils'),
_ = require('underscore');
exports.test_is_email = function ( test ) {
var good = [
'bob@example.com',
'fred@thisdomaindoesnotexist.bogus'
];
var bad = [
'foo',
'foo@',
'@example.com',
'',
null
];... | <|file_sep|>original/popit-hosting/tests/utils.js
var utils = require('../lib/utils'),
_ = require('underscore');
exports.test_is_email = function ( test ) {
var good = [
'bob@example.com',
];
var bad = [
'foo',
'foo@',
'@example.com',
'',
null
... | 138ca503c739faa0b902feddb4154c6295fee3fa | popit-hosting/tests/utils.js | popit-hosting/tests/utils.js | JavaScript |
<|file_sep|>original/.travis.yml
dist: trusty
group: beta
language: node_js
node_js:
- node
addons:
firefox: '49.0.2'
cache:
directories:
- node_modules
- "$HOME/.cache/bower"
before_install:
- "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.v... | dist: trusty
group: beta
language: node_js
node_js:
- node
addons:
firefox: '49.0.2'
cache:
directories:
- node_modules
- "$HOME/.cache/bower"
before_install:
- "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild && ... | <|file_sep|>original/.travis.yml
dist: trusty
group: beta
language: node_js
node_js:
- node
addons:
firefox: '49.0.2'
cache:
directories:
- node_modules
- "$HOME/.cache/bower"
before_install:
- "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.v... | bdb16360d6fc735783e01ea63fd39ee42e1dff74 | .travis.yml | .travis.yml | YAML |
<|file_sep|>components/includes/utilities.py.diff
original:
updated:
print "hey"
<|file_sep|>original/components/includes/utilities.py
sock.connect((a_ip, int(port)))
if not ping(sock):
result = False
sock.shutdown(socket.SHUT_RDWR)
sock.close()
return result
def alive(port, machines=[]):
attempted... | result = False
sock.shutdown(socket.SHUT_RDWR)
sock.close()
return result
def alive(port, machines=[]):
attempted = 0
success = False
while (attempted < conf.tries):
try:
if utilities.multiping(port, machines):
success = True
print "hey"
break
except Exception as e:
print "ouups"
... | <|file_sep|>components/includes/utilities.py.diff
original:
updated:
print "hey"
<|file_sep|>original/components/includes/utilities.py
sock.connect((a_ip, int(port)))
if not ping(sock):
result = False
sock.shutdown(socket.SHUT_RDWR)
sock.close()
return result
def alive(port, machines=[]):
attempted... | 80918b006ddf490096dbe4817162b3c1b8afd0d4 | components/includes/utilities.py | components/includes/utilities.py | Python |
<|file_sep|>app/views/sources/index.html.haml.diff
original:
%ul
- for source in sources
%li= source.name
updated:
<|file_sep|>app/views/sources/index.html.haml.diff
original:
updated:
%th
<|file_sep|>app/views/sources/index.html.haml.diff
original:
- (0...Source.count).to_a.each do |position|... | %p.float-right= link_to 'New Source', new_source_path, { class: 'btn btn-primary' }
%h1 Sources
%table.table
%thead
%tr
%th
- for type in ordered_sources.keys
%th= type.to_s.humanize
%tbody
- (0...Source.count).to_a.each_with_index do |position, index|
%tr
%td #{in... | <|file_sep|>app/views/sources/index.html.haml.diff
original:
%ul
- for source in sources
%li= source.name
updated:
<|file_sep|>app/views/sources/index.html.haml.diff
original:
updated:
%th
<|file_sep|>app/views/sources/index.html.haml.diff
original:
- (0...Source.count).to_a.each do |position|... | fe55a657df9a8bc53ba175f7f85f292000e585a4 | app/views/sources/index.html.haml | app/views/sources/index.html.haml | Haml |
<|file_sep|>original/android-start/app/src/androidTest/java/com/google/firebase/codelab/friendlychat/MainActivityEspressoTest.java
import android.support.test.runner.AndroidJUnit4;
import android.test.suitebuilder.annotation.LargeTest;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
imp... | import org.junit.Test;
import org.junit.runner.RunWith;
import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.assertion.ViewAssertions.matches;
import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
@RunWith(AndroidJUnit4.class)
@LargeTest
publ... | <|file_sep|>original/android-start/app/src/androidTest/java/com/google/firebase/codelab/friendlychat/MainActivityEspressoTest.java
import android.support.test.runner.AndroidJUnit4;
import android.test.suitebuilder.annotation.LargeTest;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
imp... | 5f37ba580dd81477ded027fc5a15bcb4a571505a | android-start/app/src/androidTest/java/com/google/firebase/codelab/friendlychat/MainActivityEspressoTest.java | android-start/app/src/androidTest/java/com/google/firebase/codelab/friendlychat/MainActivityEspressoTest.java | Java |
<|file_sep|>original/lispy.h
<|file_sep|>current/lispy.h
<|file_sep|>updated/lispy.h | #ifndef _LISPY_H
#define _LISPY_H
#include "lib/mpc.h"
/* Compile these functions if we're on Windows */
#ifdef _WIN32
static char buffer[2048];
char* readline(char* prompt) {
fputs(prompt, stdout);
fgets(buffer, 2048, stdin);
char* cpy = malloc(strlen(buffer) + 1);
strcpy(cpy, buffer);
cpy[strlen(cpy) - 1] = ... | <|file_sep|>original/lispy.h
<|file_sep|>current/lispy.h
<|file_sep|>updated/lispy.h
#ifndef _LISPY_H
#define _LISPY_H
#include "lib/mpc.h"
/* Compile these functions if we're on Windows */
#ifdef _WIN32
static char buffer[2048];
char* readline(char* prompt) {
fputs(prompt, stdout);
fgets(buffer, 2048, stdin);
... | 1bd3ca1cda84cf6eb32c99d83961904fe0bbc4b2 | lispy.h | lispy.h | C |
<|file_sep|>original/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWireTapOnCompleteTest.java
<|file_sep|>current/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWireTapOnCompleteTest.java
<|file_sep|>updated/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWireT... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | <|file_sep|>original/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWireTapOnCompleteTest.java
<|file_sep|>current/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWireTapOnCompleteTest.java
<|file_sep|>updated/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWireT... | ac92021b9a68c7d9c76d3eefb33a3ae350376b07 | core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWireTapOnCompleteTest.java | core/camel-core/src/test/java/org/apache/camel/component/seda/SedaWireTapOnCompleteTest.java | Java |
<|file_sep|>.travis.yml.diff
original:
- '0.12'
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.12'
- '4'
- '5'
- '6'
notifications:
email: false
sudo: false
branches:
only:
- master
install:
- npm install
- npm run build
<|file_sep|>current/.travis.yml
language: node_js... | language: node_js
node_js:
- '4'
- '5'
- '6'
- '7'
notifications:
email: false
sudo: false
branches:
only:
- master
install:
- npm install
- npm run build | <|file_sep|>.travis.yml.diff
original:
- '0.12'
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.12'
- '4'
- '5'
- '6'
notifications:
email: false
sudo: false
branches:
only:
- master
install:
- npm install
- npm run build
<|file_sep|>current/.travis.yml
language: node_js... | 09b225aaafd178570a08fbb172e348a9202ed9e2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/activation/GracePeriodSpec.groovy
<|file_sep|>current/omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/activation/GracePeriodSpec.groovy
<|file_sep|>updated/omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/activation/GracePeriodSpec.groovy | package foundation.omni.test.rpc.activation
import foundation.omni.BaseRegTestSpec
import org.junit.internal.AssumptionViolatedException
import spock.lang.Unroll
/**
* Specification for the grace period of feature activations.
*
* Features are activated at specific block heights, which must be within the range of ... | <|file_sep|>original/omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/activation/GracePeriodSpec.groovy
<|file_sep|>current/omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/activation/GracePeriodSpec.groovy
<|file_sep|>updated/omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/activation/GracePeriodSpec.groovy... | c0cc256461a090889f5dcd6e2612408d8fd1134a | omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/activation/GracePeriodSpec.groovy | omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/activation/GracePeriodSpec.groovy | Groovy |
<|file_sep|>original/amq-client.gemspec
#!/usr/bin/env gem build
# encoding: utf-8
require "base64"
Gem::Specification.new do |s|
s.name = "amq-client"
s.version = "0.2.0"
s.authors = ["Jakub Stastny"]
s.homepage = "http://github.com/ruby-amqp/amq-client"
s.summary = "Low-level AMQP 0.9.1 client agnostic to... | #!/usr/bin/env gem build
# encoding: utf-8
require "base64"
Gem::Specification.new do |s|
s.name = "amq-client"
s.version = "0.2.0"
s.authors = ["Jakub Stastny", "Michael S. Klishin"]
s.email = ["michael@novemberain.com"]
s.homepage = "http://github.com/ruby-amqp/amq-client"
s.summary = "Low-level AMQP ... | <|file_sep|>original/amq-client.gemspec
#!/usr/bin/env gem build
# encoding: utf-8
require "base64"
Gem::Specification.new do |s|
s.name = "amq-client"
s.version = "0.2.0"
s.authors = ["Jakub Stastny"]
s.homepage = "http://github.com/ruby-amqp/amq-client"
s.summary = "Low-level AMQP 0.9.1 client agnostic to... | b9f75f59bf1fbb686597f4607dda3066aed015ca | amq-client.gemspec | amq-client.gemspec | Ruby |
<|file_sep|>original/test/models/service_test.rb
require 'test_helper'
class ServiceTest < ActiveSupport::TestCase
def create_valid_service
Service.create!(
organization: organizations(:segpres),
name: 'test-service',
spec_file: StringIO.new(VALID_SPEC)
)
end
test '#last_version retur... | require 'test_helper'
class ServiceTest < ActiveSupport::TestCase
def create_valid_service!
Service.create!(
organization: organizations(:segpres),
name: 'test-service',
spec_file: StringIO.new(VALID_SPEC)
)
end
test '#last_version returns the version number of the last service versio... | <|file_sep|>original/test/models/service_test.rb
require 'test_helper'
class ServiceTest < ActiveSupport::TestCase
def create_valid_service
Service.create!(
organization: organizations(:segpres),
name: 'test-service',
spec_file: StringIO.new(VALID_SPEC)
)
end
test '#last_version retur... | a2c68841fd09ff87a1a9f30340a17447786c57ac | test/models/service_test.rb | test/models/service_test.rb | Ruby |
<|file_sep|>original/README.md
KiMony
======
This is a smart, programmable remote firmware built on the Freedom KL26Z evaluation board, sporting
a Freescale Kinetis KL26Z microcontroller.
It's a 'bare metal' Kinetis Design Studio 2 project; i.e. no Processor Expert or RTOS code, just some system headers.
The hardware... | a Freescale Kinetis KL26Z microcontroller.
It's a 'bare metal' Kinetis Design Studio 2 project; i.e. no Processor Expert or RTOS code, just some system headers.
The hardware required consists of custom PCBs used to route the KL26Z IO pins to various components and to
tactile switches for input.
It uses my I2C-IR mod... | <|file_sep|>original/README.md
KiMony
======
This is a smart, programmable remote firmware built on the Freedom KL26Z evaluation board, sporting
a Freescale Kinetis KL26Z microcontroller.
It's a 'bare metal' Kinetis Design Studio 2 project; i.e. no Processor Expert or RTOS code, just some system headers.
The hardware... | 217f9bcb9406150be7e967ecbf9e9fecb40f6880 | README.md | README.md | Markdown |
<|file_sep|>original/tools/env/base.ts
import { EnvConfig } from './env-config.interface';
const BaseConfig: EnvConfig = {
// Sample API url
API: 'https://demo.com',
RELEASEURL: 'https://github.com/nie-ine/raeber-website/releases/tag/0.8.0',
RELEASEVERSION: '0.8.0'
};
export = BaseConfig;
<|file_sep|>current... | import { EnvConfig } from './env-config.interface';
const BaseConfig: EnvConfig = {
// Sample API url
API: 'https://demo.com',
RELEASEURL: 'https://github.com/nie-ine/raeber-website/releases/tag/0.9.0',
RELEASEVERSION: '0.9.0'
};
export = BaseConfig;
| <|file_sep|>original/tools/env/base.ts
import { EnvConfig } from './env-config.interface';
const BaseConfig: EnvConfig = {
// Sample API url
API: 'https://demo.com',
RELEASEURL: 'https://github.com/nie-ine/raeber-website/releases/tag/0.8.0',
RELEASEVERSION: '0.8.0'
};
export = BaseConfig;
<|file_sep|>current... | 928dfbe439421f61b626f0725f48ca506c763f5a | tools/env/base.ts | tools/env/base.ts | TypeScript |
<|file_sep|>lib/rom/yesql/relation/class_interface.rb.diff
original:
return @dataset if name == Undefined
@dataset = name
updated:
name = relation_name.to_sym if name == Undefined
<|file_sep|>original/lib/rom/yesql/relation/class_interface.rb
module ClassInterface
# Sets data... | module ClassInterface
# Sets dataset name for the relation class
#
# The class will be extended with queries registered under that name.
# By default dataset name is derived from the class name, which doesn't
# have to match the key under which its queries were registered
... | <|file_sep|>lib/rom/yesql/relation/class_interface.rb.diff
original:
return @dataset if name == Undefined
@dataset = name
updated:
name = relation_name.to_sym if name == Undefined
<|file_sep|>original/lib/rom/yesql/relation/class_interface.rb
module ClassInterface
# Sets data... | 272daeaab816a8e18458eab030b1bb89eea3bcb7 | lib/rom/yesql/relation/class_interface.rb | lib/rom/yesql/relation/class_interface.rb | Ruby |
<|file_sep|>library/std/src/os/wasi/io/fd/tests.rs.diff
original:
use std::mem::size_of;
use std::os::wasi::io::RawFd;
updated:
use crate::mem::size_of;
use crate::os::wasi::io::RawFd;
<|file_sep|>original/library/std/src/os/wasi/io/fd/tests.rs
use std::mem::size_of;
use std::os::wasi::io::RawFd;
#[test]
fn test_raw_f... | use crate::mem::size_of;
use crate::os::wasi::io::RawFd;
#[test]
fn test_raw_fd_layout() {
// `OwnedFd` and `BorrowedFd` use `rustc_layout_scalar_valid_range_start`
// and `rustc_layout_scalar_valid_range_end`, with values that depend on
// the bit width of `RawFd`. If this ever changes, those values will ... | <|file_sep|>library/std/src/os/wasi/io/fd/tests.rs.diff
original:
use std::mem::size_of;
use std::os::wasi::io::RawFd;
updated:
use crate::mem::size_of;
use crate::os::wasi::io::RawFd;
<|file_sep|>original/library/std/src/os/wasi/io/fd/tests.rs
use std::mem::size_of;
use std::os::wasi::io::RawFd;
#[test]
fn test_raw_f... | 0377a633520344c6530f21fffee4d31768c9c447 | library/std/src/os/wasi/io/fd/tests.rs | library/std/src/os/wasi/io/fd/tests.rs | Rust |
<|file_sep|>original/data/hostname/grand-palais.softwareheritage.org.yaml
swh::deploy::objstorage_log_checker::conf_directory: /home/qcampos/.config/swh
swh::deploy::objstorage_log_checker::conf_file: /home/qcampos/.config/swh/objstorage/log_checker.yml
swh::deploy::objstorage_log_checker::user: qcampos
swh::deploy::ob... | swh::deploy::objstorage_log_checker::conf_directory: /home/qcampos/.config/swh/objstorage
swh::deploy::objstorage_log_checker::conf_file: /home/qcampos/.config/swh/objstorage/log_checker.yml
swh::deploy::objstorage_log_checker::user: qcampos
swh::deploy::objstorage_log_checker::group: swhdev
swh::deploy::objstorage_log... | <|file_sep|>original/data/hostname/grand-palais.softwareheritage.org.yaml
swh::deploy::objstorage_log_checker::conf_directory: /home/qcampos/.config/swh
swh::deploy::objstorage_log_checker::conf_file: /home/qcampos/.config/swh/objstorage/log_checker.yml
swh::deploy::objstorage_log_checker::user: qcampos
swh::deploy::ob... | cf9fa546bee2ed09a8404d5c0f4c5e3c4defada9 | data/hostname/grand-palais.softwareheritage.org.yaml | data/hostname/grand-palais.softwareheritage.org.yaml | YAML |
<|file_sep|>bin/dev-update-once.sh.diff
original:
#./node_modules/.bin/gulp stylus
#./node_modules/.bin/webpack
updated:
<|file_sep|>bin/dev-update-once.sh.diff
original:
#./node_modules/.bin/webpack
updated:
<|file_sep|>original/bin/dev-update-once.sh
#!/usr/bin/env bash
cd ag-grid
#./node_modules/.bin/gulp stylus
... | #!/usr/bin/env bash
cd ag-grid
gulp webpack
cd ../ag-grid-enterprise
gulp webpack
if [ -d "../ag-grid-angular" ]; then
cd ../ag-grid-angular
npm run clean-build
fi
if [ -d "../ag-grid-react" ]; then
cd ../ag-grid-react
gulp
fi
if [ -d "../ag-grid-vue" ]; then
cd ../ag-grid-vue
gulp | <|file_sep|>bin/dev-update-once.sh.diff
original:
#./node_modules/.bin/gulp stylus
#./node_modules/.bin/webpack
updated:
<|file_sep|>bin/dev-update-once.sh.diff
original:
#./node_modules/.bin/webpack
updated:
<|file_sep|>original/bin/dev-update-once.sh
#!/usr/bin/env bash
cd ag-grid
#./node_modules/.bin/gulp stylus
... | 277a5d0b744fccf958b71e188b09d2fe97adc86e | bin/dev-update-once.sh | bin/dev-update-once.sh | Shell |
<|file_sep|>original/prepare.sh
#!/bin/bash -e
# Update all git submodules
git submodule update --init --recursive
# Update all dependencies
mrt install
# Update all NPM packages
EXIT_ON_STARTUP=1 mrt run --once
<|file_sep|>current/prepare.sh
#!/bin/bash -e
# Update all git submodules
git submodule update --init --... | #!/bin/bash -e
# Update all git submodules
git submodule update --init --recursive
# Update all dependencies
mrt install
# Update all NPM packages
PEERDB_INSTANCES=0 PEERDB_SKIP_MIGRATIONS=1 EXIT_ON_STARTUP=1 mrt run --once | <|file_sep|>original/prepare.sh
#!/bin/bash -e
# Update all git submodules
git submodule update --init --recursive
# Update all dependencies
mrt install
# Update all NPM packages
EXIT_ON_STARTUP=1 mrt run --once
<|file_sep|>current/prepare.sh
#!/bin/bash -e
# Update all git submodules
git submodule update --init --... | 17f4840ddcc5da9f4c0df3804a5dd85ea582b1d2 | prepare.sh | prepare.sh | Shell |
<|file_sep|>original/misc/travis.sh
#!/bin/sh
curl --location --silent https://raw.github.com/ndmitchell/neil/master/misc/travis.sh | sh -s -- hlint $*
<|file_sep|>current/misc/travis.sh
#!/bin/sh
curl --location --silent https://raw.github.com/ndmitchell/neil/master/misc/travis.sh | sh -s -- hlint $*
<|file_sep|>updat... | #!/bin/sh
curl -sL https://raw.github.com/ndmitchell/neil/master/misc/travis.sh | sh -s -- hlint $* | <|file_sep|>original/misc/travis.sh
#!/bin/sh
curl --location --silent https://raw.github.com/ndmitchell/neil/master/misc/travis.sh | sh -s -- hlint $*
<|file_sep|>current/misc/travis.sh
#!/bin/sh
curl --location --silent https://raw.github.com/ndmitchell/neil/master/misc/travis.sh | sh -s -- hlint $*
<|file_sep|>updat... | 108680792ef503af73c37620cca6c532b4ef86a6 | misc/travis.sh | misc/travis.sh | Shell |
<|file_sep|>buildNuget.ps1.diff
original:
updated:
rm -Force -Recurse .\NuGet
<|file_sep|>buildNuget.ps1.diff
original:
nuget pack ".\Domain.EventStore\Domain.EventStore.csproj" -Properties "Configuration=Release;Platform=AnyCPU" -OutputDirectory ".\NuGet"
updated:
<|file_sep|>original/buildNuget.ps1
mkdir NuGet
nuge... | rm -Force -Recurse .\NuGet
mkdir NuGet
nuget pack ".\Domain\Domain.csproj" -Properties "Configuration=Release;Platform=AnyCPU" -OutputDirectory ".\NuGet"
nuget pack ".\Domain.Api\Domain.Api.csproj" -Properties "Configuration=Release;Platform=AnyCPU" -OutputDirectory ".\NuGet"
nuget pack ".\Domain.Sql\Domain.Sql.csproj"... | <|file_sep|>buildNuget.ps1.diff
original:
updated:
rm -Force -Recurse .\NuGet
<|file_sep|>buildNuget.ps1.diff
original:
nuget pack ".\Domain.EventStore\Domain.EventStore.csproj" -Properties "Configuration=Release;Platform=AnyCPU" -OutputDirectory ".\NuGet"
updated:
<|file_sep|>original/buildNuget.ps1
mkdir NuGet
nuge... | b9438d4647c2dc575ca66529a4d669985358f8b1 | buildNuget.ps1 | buildNuget.ps1 | PowerShell |
<|file_sep|>original/.travis.yml
language: csharp
os:
- linux
- osx
mono: none
dotnet: 1.0.4
dist: trusty
before_script: cd neo.UnitTests
script:
- dotnet restore
- dotnet test
<|file_sep|>current/.travis.yml
language: csharp
os:
- linux
- osx
mono: none
dotnet: 1.0.4
dist: trusty
before_script: cd neo.UnitT... | language: csharp
os:
- linux
- osx
mono: none
dotnet: 1.0.4
dist: trusty
before_install:
- cd neo.UnitTests
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ulimit -n 2048; fi
script:
- dotnet restore
- dotnet test | <|file_sep|>original/.travis.yml
language: csharp
os:
- linux
- osx
mono: none
dotnet: 1.0.4
dist: trusty
before_script: cd neo.UnitTests
script:
- dotnet restore
- dotnet test
<|file_sep|>current/.travis.yml
language: csharp
os:
- linux
- osx
mono: none
dotnet: 1.0.4
dist: trusty
before_script: cd neo.UnitT... | 35b3ae0e9643635897fb887c6fe1137bdddc63a5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ruby-head
branches:
only:
- master
- v3
<|file_sep|>current/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ruby-head
branches:
only:
- master
- v3
<|file_sep|>updated/.travis.yml | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ruby-head
branches:
only:
- master
- v3
gemfile:
- gemfiles/rails30.gemfile
- gemfiles/rails31.gemfile
- gemfiles/rails32.gemfile | <|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ruby-head
branches:
only:
- master
- v3
<|file_sep|>current/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ruby-head
branches:
only:
- master
- v3
<|file_sep|>updated/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ruby-h... | d102e2f3e6c1ba2dd51816a5bf4b940ccfbdc0d3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# wmt-metadata
Build the metadata for CSDMS components used in the
Web Modeling Tool (WMT).
Install this package into the Python distribution used by a WMT server.
Then,
build and install component metdata with the hostname of an executor
build-metadata --hostname='siwenna.colorado... |
Build the metadata for CSDMS components used in the
Web Modeling Tool (WMT).
Install this package into the Python distribution used by a WMT server.
Then,
build and install component metdata with the hostname of an executor
build-metadata --hostname='siwenna.colorado.edu'
or with an existing WMT config file fro... | <|file_sep|>original/README.md
# wmt-metadata
Build the metadata for CSDMS components used in the
Web Modeling Tool (WMT).
Install this package into the Python distribution used by a WMT server.
Then,
build and install component metdata with the hostname of an executor
build-metadata --hostname='siwenna.colorado... | 3238b4ed656dfba02a362d8823e3e8145e4952a8 | README.md | README.md | Markdown |
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
| Branch? | master for features / 3.4, 4.4 or 5.1 for bug fixes <!-- see below -->
updated:
| Branch? | 5.x for features / 3.4, 4.4 or 5.1 for bug fixes <!-- see below -->
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
| Q | A
| ... | | Q | A
| ------------- | ---
| Branch? | 5.x for features / 3.4, 4.4 or 5.1 for bug fixes <!-- see below -->
| Bug fix? | yes/no
| New feature? | yes/no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | yes/no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| ... | <|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
| Branch? | master for features / 3.4, 4.4 or 5.1 for bug fixes <!-- see below -->
updated:
| Branch? | 5.x for features / 3.4, 4.4 or 5.1 for bug fixes <!-- see below -->
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
| Q | A
| ... | 25e5fa661146d8b4c626a1ac1464050893ddbded | .github/PULL_REQUEST_TEMPLATE.md | .github/PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>original/.travis.yml
language: java
matrix:
include:
- os: linux
dist: trusty
sudo: false
jdk: oraclejdk8
- os: osx
osx_image: xcode8.3
script:
# test embedded tomcat
- ./gradlew -u -i -S tomcatInstall
- ./gradlew -u -i -S tomcatStart
- ./gradlew -u -i -S tomcatSt... | language: java
matrix:
fast_finish: true
include:
- os: linux
dist: trusty
sudo: false
jdk: oraclejdk8
- os: osx
osx_image: xcode8.3
script:
# test embedded tomcat
- ./gradlew -u -i -S tomcatInstall
- ./gradlew -u -i -S tomcatStart
- ./gradlew -u -i -S tomcatStop
# test H... | <|file_sep|>original/.travis.yml
language: java
matrix:
include:
- os: linux
dist: trusty
sudo: false
jdk: oraclejdk8
- os: osx
osx_image: xcode8.3
script:
# test embedded tomcat
- ./gradlew -u -i -S tomcatInstall
- ./gradlew -u -i -S tomcatStart
- ./gradlew -u -i -S tomcatSt... | ad979bd83f5940fefe59ffe30d3b4a2eae90a6d0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/gradle.properties
BUILD_TOOLS_VERSION=25.0.2
COMPILE_SDK_VERSION=25
MIN_SDK_VERSION=16
TARGET_SDK_VERSION=25
VERSION_NAME=4.0.0
VERSION_CODE=20
org.gradle.jvmargs=-Xmx1536M
<|file_sep|>current/gradle.properties
BUILD_TOOLS_VERSION=25.0.2
COMPILE_SDK_VERSION=25
MIN_SDK_VERSION=16
TARGET_SDK_VERSIO... | BUILD_TOOLS_VERSION=25.0.2
COMPILE_SDK_VERSION=25
MIN_SDK_VERSION=16
TARGET_SDK_VERSION=25
VERSION_NAME=0.0.1-cannonfodder
VERSION_CODE=1
org.gradle.jvmargs=-Xmx1536M | <|file_sep|>original/gradle.properties
BUILD_TOOLS_VERSION=25.0.2
COMPILE_SDK_VERSION=25
MIN_SDK_VERSION=16
TARGET_SDK_VERSION=25
VERSION_NAME=4.0.0
VERSION_CODE=20
org.gradle.jvmargs=-Xmx1536M
<|file_sep|>current/gradle.properties
BUILD_TOOLS_VERSION=25.0.2
COMPILE_SDK_VERSION=25
MIN_SDK_VERSION=16
TARGET_SDK_VERSIO... | ef9a42bcd6ad5a347f9315c34bc7e2176dd73fa8 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/README.md
# PiLighting
Code used for controlling the Raspberry Pi GPIO as a light controller
<|file_sep|>current/README.md
# PiLighting
Code used for controlling the Raspberry Pi GPIO as a light controller
<|file_sep|>updated/README.md | # PiLighting
Code used for controlling the Raspberry Pi GPIO as a light controller
When this program runs, it reads its configuration from Config.xml in the same directory as the program.
You can specify a custom config file with a command line parameter.
An example Config.xml can be found in the PiLighting/PiLighti... | <|file_sep|>original/README.md
# PiLighting
Code used for controlling the Raspberry Pi GPIO as a light controller
<|file_sep|>current/README.md
# PiLighting
Code used for controlling the Raspberry Pi GPIO as a light controller
<|file_sep|>updated/README.md
# PiLighting
Code used for controlling the Raspberry Pi GPIO as... | 4519ec41789607707205e648e2852cd93490a167 | README.md | README.md | Markdown |
<|file_sep|>original/_config.yml
name: Alykhan Kanji
exclude: [README.md, LICENSE.md, CNAME, Gemfile, Gemfile.lock, vendor]
permalink: blog/:categories/:year/:month/:day/:title/
defaults:
-
scope:
path: ""
type: "pages"
values:
layout: "default"
-
scope:
path: ""
type: "pos... | name: Alykhan Kanji
exclude: [README.md, LICENSE.md, CNAME, Gemfile, Gemfile.lock, vendor]
permalink: blog/:categories/:year/:month/:day/:title/
defaults:
-
scope:
path: ""
type: "pages"
values:
layout: "default"
-
scope:
path: ""
type: "posts"
values:
layout: "po... | <|file_sep|>original/_config.yml
name: Alykhan Kanji
exclude: [README.md, LICENSE.md, CNAME, Gemfile, Gemfile.lock, vendor]
permalink: blog/:categories/:year/:month/:day/:title/
defaults:
-
scope:
path: ""
type: "pages"
values:
layout: "default"
-
scope:
path: ""
type: "pos... | 835e312d80bc5c6fc3c2931be66618cec91d0c78 | _config.yml | _config.yml | YAML |
<|file_sep|>original/locales/zh-CN/messages.properties
<|file_sep|>current/locales/zh-CN/messages.properties
<|file_sep|>updated/locales/zh-CN/messages.properties | one_time=一次
monthly=每月
please_select_an_amount=请选择金额
donate_now=现在捐款
amount=金额
payment=支付
next=下一步
# some of these strings are not or will on the page, or some of them will be use for email/snippets only | <|file_sep|>original/locales/zh-CN/messages.properties
<|file_sep|>current/locales/zh-CN/messages.properties
<|file_sep|>updated/locales/zh-CN/messages.properties
one_time=一次
monthly=每月
please_select_an_amount=请选择金额
donate_now=现在捐款
amount=金额
payment=支付
next=下一步
# some of these strings are not or will on the page, or... | 49e233d833f8685ce490c130d007d879e2459e4b | locales/zh-CN/messages.properties | locales/zh-CN/messages.properties | INI |
<|file_sep|>app/views/messages/index.html.erb.diff
original:
<h1> Hey yayayah Hey yayaya</h1>
<%= @other.name %>
<%= link_to "View Profile", @other, class: "btn btn-default wide" %>
<div id="converse">
updated:
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h1> BootMessa... | </div>
<% end %>
<% end %>
</div>
<%=form_for [@conversation, @conversation.messages.new] do |f| %>
<div class="form-group">
<%=f.text_area :content, id: "new_message", placeholder: "Create new message", class: "form-control" %>
</d... | <|file_sep|>app/views/messages/index.html.erb.diff
original:
<h1> Hey yayayah Hey yayaya</h1>
<%= @other.name %>
<%= link_to "View Profile", @other, class: "btn btn-default wide" %>
<div id="converse">
updated:
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h1> BootMessa... | a5e42f68e54d5730bae6f83d8fcbbc9339918847 | app/views/messages/index.html.erb | app/views/messages/index.html.erb | HTML+ERB |
<|file_sep|>example/config.yml.diff
original:
updated:
#broker: 'redis://localhost:6379'
#broker: 'https://sqs.us-west-2.amazonaws.com/123456789012'
<|file_sep|>example/config.yml.diff
original:
result_backend: 'redis://127.0.0.1:6379'
updated:
result_backend: 'redis://localhost:6379'
#result_backend: 'memcache://loc... | ---
broker: 'amqp://guest:guest@localhost:5672/'
#broker: 'redis://localhost:6379'
#broker: 'https://sqs.us-west-2.amazonaws.com/123456789012'
default_queue: machinery_tasks
result_backend: 'redis://localhost:6379'
#result_backend: 'memcache://localhost:11211'
#result_backend: 'mongodb://localhost:27017'
results_expir... | <|file_sep|>example/config.yml.diff
original:
updated:
#broker: 'redis://localhost:6379'
#broker: 'https://sqs.us-west-2.amazonaws.com/123456789012'
<|file_sep|>example/config.yml.diff
original:
result_backend: 'redis://127.0.0.1:6379'
updated:
result_backend: 'redis://localhost:6379'
#result_backend: 'memcache://loc... | 4bc6e935170e4554ac1d7e1250191e745b29f0c6 | example/config.yml | example/config.yml | YAML |
<|file_sep|>core/alsp_src/win32/win32_locate.c.diff
original:
l = GetModuleFileName(NULL, executable_path, IMAGEDIR_MAX);
if (l == 0 || l >= IMAGEDIR_MAX) fatal_error(FE_INFND, 0);
updated:
l = GetModuleFileName(NULL, executable_path, PATH_MAX);
if (l == 0 || l >= PATH_MAX) fatal_error(FE_INFND, 0);
<|f... | HANDLE dll;
#endif
l = GetModuleFileName(NULL, executable_path, PATH_MAX);
if (l == 0 || l >= PATH_MAX) fatal_error(FE_INFND, 0);
#ifdef DLL
dll = GetModuleHandle(DLL_NAME);
if (dll == NULL) fatal_error(FE_INFND, 0);
l = GetModuleFileName(dll, library_path, PATH_MAX);
if (l == 0 || l... | <|file_sep|>core/alsp_src/win32/win32_locate.c.diff
original:
l = GetModuleFileName(NULL, executable_path, IMAGEDIR_MAX);
if (l == 0 || l >= IMAGEDIR_MAX) fatal_error(FE_INFND, 0);
updated:
l = GetModuleFileName(NULL, executable_path, PATH_MAX);
if (l == 0 || l >= PATH_MAX) fatal_error(FE_INFND, 0);
<|f... | 469d2ae14fdeeb192a0f152978f433cd2bed840e | core/alsp_src/win32/win32_locate.c | core/alsp_src/win32/win32_locate.c | C |
<|file_sep|>original/.travis.yml
language: node_js
env:
- TARGET=travis
node_js:
- '6'
- '7'
- '8.7.0'
- '9'
- '10'
matrix:
include:
- name: Lint (8.7.0)
node_js: '8.7.0'
env: TARGET=lint
- name: Jest (8.7.0)
node_js: '8.7.0'
env: TARGET=test-jest
- name: Jasmine (8.... | language: node_js
env:
- TARGET=travis
node_js:
- '6'
- '8.7.0'
- '9'
- '10'
matrix:
include:
- name: Lint (8.7.0)
node_js: '8.7.0'
env: TARGET=lint
- name: Jest (8.7.0)
node_js: '8.7.0'
env: TARGET=test-jest
- name: Jasmine (8.7.0)
node_js: '8.7.0' | <|file_sep|>original/.travis.yml
language: node_js
env:
- TARGET=travis
node_js:
- '6'
- '7'
- '8.7.0'
- '9'
- '10'
matrix:
include:
- name: Lint (8.7.0)
node_js: '8.7.0'
env: TARGET=lint
- name: Jest (8.7.0)
node_js: '8.7.0'
env: TARGET=test-jest
- name: Jasmine (8.... | 0f756d593612d8f243436c2a4c982ba5bb600a74 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/pkgs/servers/radicale/default.nix
pythonPackages.buildPythonApplication rec {
name = "radicale-${version}";
version = "1.1.1";
src = fetchurl {
url = "mirror://pypi/R/Radicale/Radicale-${version}.tar.gz";
sha256 = "1c5lv8qca21mndkx350wxv34qypqh6gb4rhzms4anr642clq3jg2";
};
propa... |
pythonPackages.buildPythonApplication rec {
name = "radicale-${version}";
version = "1.1.1";
src = fetchurl {
url = "mirror://pypi/R/Radicale/Radicale-${version}.tar.gz";
sha256 = "1c5lv8qca21mndkx350wxv34qypqh6gb4rhzms4anr642clq3jg2";
};
propagatedBuildInputs = stdenv.lib.optionals (!pythonPackage... | <|file_sep|>original/pkgs/servers/radicale/default.nix
pythonPackages.buildPythonApplication rec {
name = "radicale-${version}";
version = "1.1.1";
src = fetchurl {
url = "mirror://pypi/R/Radicale/Radicale-${version}.tar.gz";
sha256 = "1c5lv8qca21mndkx350wxv34qypqh6gb4rhzms4anr642clq3jg2";
};
propa... | 8ce337fd965d6089178b9198e235747f82bf5844 | pkgs/servers/radicale/default.nix | pkgs/servers/radicale/default.nix | Nix |
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
<!--
**Do not bump the Request package, it breaks old Node compatiblity. It is used for downloading the binaries.**
Thanks for contibuting otherwise!
-->
<|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md
<!--
**Do not bump the Request package, it breaks old No... | <!--
**Do not bump the Request package, it breaks old Node compatiblity. It is used for downloading the binaries.**
Follow https://github.com/sass/node-sass/issues/2355 for updates on when that will be resolved.
Thanks for contibuting otherwise!
--> | <|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
<!--
**Do not bump the Request package, it breaks old Node compatiblity. It is used for downloading the binaries.**
Thanks for contibuting otherwise!
-->
<|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md
<!--
**Do not bump the Request package, it breaks old No... | 64fdacfe7a7aea7f19da83e1660370c0655d01ad | .github/PULL_REQUEST_TEMPLATE.md | .github/PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>original/taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py
<|file_sep|>current/taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py
<|file_sep|>updated/taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-04-04 09:32
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('users', '0017_auto_20160208_1751'),
]
operations = [
migrations.RunSQL(
... | <|file_sep|>original/taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py
<|file_sep|>current/taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py
<|file_sep|>updated/taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py
# -*- coding: utf-8 -*-
# ... | 8664d781bbbed5753979ff299174efc1906eaaf0 | taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py | taiga/users/migrations/0018_remove_vote_issues_in_roles_permissions_field.py | Python |
<|file_sep|>original/mysite/profile/fixtures/tags.json
<|file_sep|>current/mysite/profile/fixtures/tags.json
<|file_sep|>updated/mysite/profile/fixtures/tags.json | [{"pk": 1, "model": "profile.tag", "fields": {"text": "algol", "tag_type": 1}}, {"pk": 2, "model": "profile.tag", "fields": {"text": "symbolist poetry", "tag_type": 1}}, {"pk": 3, "model": "profile.tag", "fields": {"text": "rails", "tag_type": 1}}, {"pk": 4, "model": "profile.tag", "fields": {"text": "chinese chess", "... | <|file_sep|>original/mysite/profile/fixtures/tags.json
<|file_sep|>current/mysite/profile/fixtures/tags.json
<|file_sep|>updated/mysite/profile/fixtures/tags.json
[{"pk": 1, "model": "profile.tag", "fields": {"text": "algol", "tag_type": 1}}, {"pk": 2, "model": "profile.tag", "fields": {"text": "symbolist poetry", "t... | 6666309f5140e3f6e1d32f0a2cda5f4228174888 | mysite/profile/fixtures/tags.json | mysite/profile/fixtures/tags.json | JSON |
<|file_sep|>spacy/tests/regression/test_issue768.py.diff
original:
from ...fr.language_data import TOKENIZER_EXCEPTIONS, STOP_WORDS
updated:
from ...fr.language_data import get_tokenizer_exceptions, STOP_WORDS
<|file_sep|>original/spacy/tests/regression/test_issue768.py
def fr_tokenizer_w_infix():
SPLIT_INFIX = r'(... | def fr_tokenizer_w_infix():
SPLIT_INFIX = r'(?<=[{a}]\')(?=[{a}])'.format(a=ALPHA)
# create new Language subclass to add to default infixes
class French(Language):
lang = 'fr'
class Defaults(Language.Defaults):
lex_attr_getters = dict(Language.Defaults.lex_attr_getters)
... | <|file_sep|>spacy/tests/regression/test_issue768.py.diff
original:
from ...fr.language_data import TOKENIZER_EXCEPTIONS, STOP_WORDS
updated:
from ...fr.language_data import get_tokenizer_exceptions, STOP_WORDS
<|file_sep|>original/spacy/tests/regression/test_issue768.py
def fr_tokenizer_w_infix():
SPLIT_INFIX = r'(... | 0aaa546435a261a03e27fee53a3c5f334cca6b66 | spacy/tests/regression/test_issue768.py | spacy/tests/regression/test_issue768.py | Python |
<|file_sep|>original/README.md
# ROOTmacro
Some ROOT macro in C++ or Python.
## Package organisation
Each folder contains:
- `macro.*` : the actual code
- `data.*` : data (optional)
- `result.*` : the output (optional)
## PeakFinderHistogram (Python)
Use of a `TSpectrum` to find a second peak in a `TH1F` a... | # ROOTmacro
Some ROOT macro in C++ or Python.
Note that the macros presented here are tested for **`root-6.04.02`**.
## Package organisation
Each folder contains:
- `macro.*` : the actual code
- `data.*` : data (optional)
- `result.*` : the output (optional)
## PeakFinderHistogram (Python)
Use of a `TSp... | <|file_sep|>original/README.md
# ROOTmacro
Some ROOT macro in C++ or Python.
## Package organisation
Each folder contains:
- `macro.*` : the actual code
- `data.*` : data (optional)
- `result.*` : the output (optional)
## PeakFinderHistogram (Python)
Use of a `TSpectrum` to find a second peak in a `TH1F` a... | e4b2e004c8e427f396ecb8c7209422b2c831f0ea | README.md | README.md | Markdown |
<|file_sep|>original/dev-requirements.txt
coverage==4.5.1
jedi==0.12.1
pylint==2.1.0
pytest==3.7.1
pytest-cov==2.5.1
sphinx==1.7.6
sphinx-rtd-theme==0.4.1
tox==3.1.2
rope==0.10.7
mypy==0.620; python_version >= '3.5'
pytest-asyncio==0.9.0; python_version >= '3.5'
<|file_sep|>current/dev-requirements.txt
coverage==4.5.1
... | coverage==4.5.1
jedi==0.12.1
pylint==2.1.0
pytest==3.7.1
pytest-cov==2.5.1
sphinx==1.7.6
sphinx-rtd-theme==0.4.1
tox==3.2.0
rope==0.10.7
mypy==0.620; python_version >= '3.5'
pytest-asyncio==0.9.0; python_version >= '3.5' | <|file_sep|>original/dev-requirements.txt
coverage==4.5.1
jedi==0.12.1
pylint==2.1.0
pytest==3.7.1
pytest-cov==2.5.1
sphinx==1.7.6
sphinx-rtd-theme==0.4.1
tox==3.1.2
rope==0.10.7
mypy==0.620; python_version >= '3.5'
pytest-asyncio==0.9.0; python_version >= '3.5'
<|file_sep|>current/dev-requirements.txt
coverage==4.5.1
... | b44efd29b107055222b61ecbad9432259d1e69c4 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/base.txt
{% if cookiecutter.use_python3 == 'y' -%}
# 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.29.0
{%- endif %}
... | {% if cookiecutter.use_python3 == 'y' -%}
# 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.29.0
{%- endif %}
# Bleeding edge Django
django==1.10.3
# Configuration
django-environ==0... | <|file_sep|>original/{{cookiecutter.project_slug}}/requirements/base.txt
{% if cookiecutter.use_python3 == 'y' -%}
# 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.29.0
{%- endif %}
... | 709d09ce082a01722e91c64cafcdab220eac7c52 | {{cookiecutter.project_slug}}/requirements/base.txt | {{cookiecutter.project_slug}}/requirements/base.txt | Text |
<|file_sep|>original/README.md
The port to Java is *not* complete. Many classes are stubs only and have not
been ported. The main driver was to have a Java implementation of the laszip
utility and be able to unpack LAZ files for
[Canton of Zurich](http://geolion.zh.ch/geodatensatz/show?nbid=2606)
in Switzerland, whi... |
The port to Java is *not* complete. Many classes are stubs only and have not
been ported. The main driver was to have a Java implementation of the laszip
utility and be able to unpack LAZ files for
[Canton of Zurich](http://geolion.zh.ch/geodatensatz/show?nbid=2606)
in Switzerland, which works fine.
Usage is the sa... | <|file_sep|>original/README.md
The port to Java is *not* complete. Many classes are stubs only and have not
been ported. The main driver was to have a Java implementation of the laszip
utility and be able to unpack LAZ files for
[Canton of Zurich](http://geolion.zh.ch/geodatensatz/show?nbid=2606)
in Switzerland, whi... | c21a05d71074530c31a3e02b2fd2238bec26225b | README.md | README.md | Markdown |
<|file_sep|>original/docs/application/index.rst
pure edge applications have standalone chutes, which can be deployed in the
ParaDrop routers. Cloud-edge hybrid applications have both a cloud component
and an edge component. In this section, we will focus on the chute development,
in other words, the edge component.
..... | pure edge applications have standalone chutes, which can be deployed in the
ParaDrop routers. Cloud-edge hybrid applications have both a cloud component
and an edge component. In this section, we will focus on the chute development,
in other words, the edge component.
.. toctree::
:maxdepth: 2
introduction
l... | <|file_sep|>original/docs/application/index.rst
pure edge applications have standalone chutes, which can be deployed in the
ParaDrop routers. Cloud-edge hybrid applications have both a cloud component
and an edge component. In this section, we will focus on the chute development,
in other words, the edge component.
..... | d6f6c4503c4fb13eded1ec1357bae2254b106193 | docs/application/index.rst | docs/application/index.rst | reStructuredText |
<|file_sep|>original/src/RedCard.API/Controllers/StatsController.cs
<|file_sep|>current/src/RedCard.API/Controllers/StatsController.cs
<|file_sep|>updated/src/RedCard.API/Controllers/StatsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using RedCard.API.Contexts;
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace RedCard.API.Controllers
{
[Route("... | <|file_sep|>original/src/RedCard.API/Controllers/StatsController.cs
<|file_sep|>current/src/RedCard.API/Controllers/StatsController.cs
<|file_sep|>updated/src/RedCard.API/Controllers/StatsController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.As... | 72d8bbfc5e7356efbb6bafd0e9b6af115c6d6636 | src/RedCard.API/Controllers/StatsController.cs | src/RedCard.API/Controllers/StatsController.cs | C# |
<|file_sep|>original/.mvn/wrapper/maven-wrapper.properties
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.3/apache-maven-3.3.3-bin.zip
<|file_sep|>current/.mvn/wrapper/maven-wrapper.properties
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.3/apache-mav... | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip | <|file_sep|>original/.mvn/wrapper/maven-wrapper.properties
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.3/apache-maven-3.3.3-bin.zip
<|file_sep|>current/.mvn/wrapper/maven-wrapper.properties
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.3/apache-mav... | d7bc4706cd7a9857e20098a0f56b24dabad2d029 | .mvn/wrapper/maven-wrapper.properties | .mvn/wrapper/maven-wrapper.properties | INI |
<|file_sep|>original/config/aptrust_bag_validation_config.json
{
"AllowMiscTopLevelFiles": true,
"AllowMiscDirectories": true,
"TopLevelDirMustMatchBagName": true,
"FileSpecs": {
"manifest-md5.txt": { "Presence": "required" },
"manifest-sha256.txt": { "Presence": "optional" },
"m... | {
"AllowMiscTopLevelFiles": true,
"AllowMiscDirectories": true,
"TopLevelDirMustMatchBagName": true,
"FileSpecs": {
"manifest-md5.txt": { "Presence": "required" },
"manifest-sha256.txt": { "Presence": "optional" },
"manifest-sha1.txt": { "Presence": "forbidden" },
"tagman... | <|file_sep|>original/config/aptrust_bag_validation_config.json
{
"AllowMiscTopLevelFiles": true,
"AllowMiscDirectories": true,
"TopLevelDirMustMatchBagName": true,
"FileSpecs": {
"manifest-md5.txt": { "Presence": "required" },
"manifest-sha256.txt": { "Presence": "optional" },
"m... | 287e98178c1c0591d9a7dc2ca1b17994799334c7 | config/aptrust_bag_validation_config.json | config/aptrust_bag_validation_config.json | JSON |
<|file_sep|>core-plugins/shared/1/dss/reporting-plugins/shared_create_metaproject/shared_create_metaproject.py.diff
original:
updated:
username = parameters.get("userName")
<|file_sep|>core-plugins/shared/1/dss/reporting-plugins/shared_create_metaproject/shared_create_metaproject.py.diff
original:
username = p... | if metaprojectDescr is None:
metaprojectDescr = ""
# Try retrieving the metaproject (tag)
metaproject = transaction.getMetaproject(metaprojectCode, username)
if metaproject is None:
# Create the metaproject (tag)
metaproject = transaction.createNewMetaproject(metaprojectCode,
... | <|file_sep|>core-plugins/shared/1/dss/reporting-plugins/shared_create_metaproject/shared_create_metaproject.py.diff
original:
updated:
username = parameters.get("userName")
<|file_sep|>core-plugins/shared/1/dss/reporting-plugins/shared_create_metaproject/shared_create_metaproject.py.diff
original:
username = p... | 33fd4bba1f2c44e871051862db8071fadb0e9825 | core-plugins/shared/1/dss/reporting-plugins/shared_create_metaproject/shared_create_metaproject.py | core-plugins/shared/1/dss/reporting-plugins/shared_create_metaproject/shared_create_metaproject.py | Python |
<|file_sep|>app/src/main/java/com/teinproductions/tein/pitrainer/ActivityInterface.java.diff
original:
updated:
<|file_sep|>app/src/main/java/com/teinproductions/tein/pitrainer/ActivityInterface.java.diff
original:
updated:
<|file_sep|>original/app/src/main/java/com/teinproductions/tein/pitrainer/ActivityInterface.... | package com.teinproductions.tein.pitrainer;
import android.widget.EditText;
public interface ActivityInterface {
void preventSoftKeyboardFromShowingUp(EditText et, boolean show);
void vibrate();
void animateToolbarColor(boolean red);
void swapFragment(Class fragmentClass);
} | <|file_sep|>app/src/main/java/com/teinproductions/tein/pitrainer/ActivityInterface.java.diff
original:
updated:
<|file_sep|>app/src/main/java/com/teinproductions/tein/pitrainer/ActivityInterface.java.diff
original:
updated:
<|file_sep|>original/app/src/main/java/com/teinproductions/tein/pitrainer/ActivityInterface.... | 6d53dae5c0a04d52f1118ff25198394405799dfa | app/src/main/java/com/teinproductions/tein/pitrainer/ActivityInterface.java | app/src/main/java/com/teinproductions/tein/pitrainer/ActivityInterface.java | Java |
<|file_sep|>original/basis/tools/deploy/shaker/strip-struct-arrays.factor
USING: kernel stack-checker.transforms struct-arrays.private ;
IN: struct-arrays
: struct-element-constructor ( c-type -- word )
"Struct array usages must be compiled" throw ;
<<
\ struct-element-constructor [
(struct-element-construct... | USING: kernel stack-checker.transforms ;
IN: struct-arrays.private
: struct-element-constructor ( c-type -- word )
"Struct array usages must be compiled" throw ;
<<
\ struct-element-constructor [
(struct-element-constructor) [ ] curry
] 1 define-transform
>> | <|file_sep|>original/basis/tools/deploy/shaker/strip-struct-arrays.factor
USING: kernel stack-checker.transforms struct-arrays.private ;
IN: struct-arrays
: struct-element-constructor ( c-type -- word )
"Struct array usages must be compiled" throw ;
<<
\ struct-element-constructor [
(struct-element-construct... | d8be7240926d25a63d51aeee95632eb35e5c5bb6 | basis/tools/deploy/shaker/strip-struct-arrays.factor | basis/tools/deploy/shaker/strip-struct-arrays.factor | Factor |
<|file_sep|>original/talks/templates/_prevent_form_enter.html
<script type="text/javascript">
$('form').on("keyup keypress", function(e) {
var code = e.keyCode || e.which;
if (code == 13) {
e.preventDefault();
return false;
}
});
</script>
<|file_sep|>current/talks/templates/_prevent_form_enter.html
<scr... | <script type="text/javascript">
$('form').on("keyup keypress", function(e) {
if(!$("textarea").is(":focus")) {
var code = e.keyCode || e.which;
if (code == 13) {
e.preventDefault();
return false;
}
}
});
</script> | <|file_sep|>original/talks/templates/_prevent_form_enter.html
<script type="text/javascript">
$('form').on("keyup keypress", function(e) {
var code = e.keyCode || e.which;
if (code == 13) {
e.preventDefault();
return false;
}
});
</script>
<|file_sep|>current/talks/templates/_prevent_form_enter.html
<scr... | d57150fa74c7111a2526a7c525388ba5b1777fe5 | talks/templates/_prevent_form_enter.html | talks/templates/_prevent_form_enter.html | HTML |
<|file_sep|>original/lib/full_page_at_form.html
<template name="fullPageAtForm">
<div class="at-grid ui center aligned grid">
<div class="at-column middle aligned column">
{{> atForm}}
</div>
</div>
</template>
<|file_sep|>current/lib/full_page_at_form.html
<template name="fullPageAtForm">
<div clas... | <template name="fullPageAtForm">
<div class="at-grid ui container">
{{> atForm}}
</div>
</template> | <|file_sep|>original/lib/full_page_at_form.html
<template name="fullPageAtForm">
<div class="at-grid ui center aligned grid">
<div class="at-column middle aligned column">
{{> atForm}}
</div>
</div>
</template>
<|file_sep|>current/lib/full_page_at_form.html
<template name="fullPageAtForm">
<div clas... | c0c27c339650c84b541117cffacb6c9b8bbf372c | lib/full_page_at_form.html | lib/full_page_at_form.html | HTML |
<|file_sep|>original/.changes/next-release/feature-Config.json
<|file_sep|>current/.changes/next-release/feature-Config.json
<|file_sep|>updated/.changes/next-release/feature-Config.json | {
"category": "Config",
"type": "feature",
"description": "Add ``parameter_validation`` option in config file to disable parameter validation when making API calls (`#905 <https://github.com/boto/botocore/issues/905>`__)"
} | <|file_sep|>original/.changes/next-release/feature-Config.json
<|file_sep|>current/.changes/next-release/feature-Config.json
<|file_sep|>updated/.changes/next-release/feature-Config.json
{
"category": "Config",
"type": "feature",
"description": "Add ``parameter_validation`` option in config file to disable pa... | 3303c5829dd5c2385b979581f4321a96676545b6 | .changes/next-release/feature-Config.json | .changes/next-release/feature-Config.json | JSON |
<|file_sep|>original/.travis.yml
language: objective-c
before_install:
- brew update
- brew upgrade xctool
script: xctool -project "hashtag-warrior.xcodeproj" -scheme "#Warrior"
<|file_sep|>current/.travis.yml
language: objective-c
before_install:
- brew update
- brew upgrade xctool
script: xctool -proj... | language: objective-c
before_install:
- brew update
- brew upgrade xctool
script: xctool -project "hashtag-warrior.xcodeproj" -scheme "#Warrior" -configuration "Release" -sdk "iphonesimulator7.0" test | <|file_sep|>original/.travis.yml
language: objective-c
before_install:
- brew update
- brew upgrade xctool
script: xctool -project "hashtag-warrior.xcodeproj" -scheme "#Warrior"
<|file_sep|>current/.travis.yml
language: objective-c
before_install:
- brew update
- brew upgrade xctool
script: xctool -proj... | 757d8ca8ec2c8ccf37495247470c2e4c57da400d | .travis.yml | .travis.yml | YAML |
<|file_sep|>cmd/bundles/main.go.diff
original:
updated:
"os"
<|file_sep|>original/cmd/bundles/main.go
package main
import (
"fmt"
"github.com/peteretelej/saf"
)
func main() {
b, err := saf.GetBundles()
if err != nil {
fmt.Printf("Failed to get bundles: %v\n", err)
return
}
b.PrettyPrint()
}
<|file_sep|>... | package main
import (
"fmt"
"os"
"github.com/peteretelej/saf"
)
func main() {
b, err := saf.GetBundles()
if err != nil {
fmt.Fprintf(os.Stderr, "Failed to get bundles: %v\n", err)
os.Exit(1)
}
b.PrettyPrint()
} | <|file_sep|>cmd/bundles/main.go.diff
original:
updated:
"os"
<|file_sep|>original/cmd/bundles/main.go
package main
import (
"fmt"
"github.com/peteretelej/saf"
)
func main() {
b, err := saf.GetBundles()
if err != nil {
fmt.Printf("Failed to get bundles: %v\n", err)
return
}
b.PrettyPrint()
}
<|file_sep|>... | 10e3f75b7cae2782ee079b88de26223968fec5b6 | cmd/bundles/main.go | cmd/bundles/main.go | Go |
<|file_sep|>original/.travis.yml
language: ruby
os:
- linux
- osx
osx_image: xcode7.1
rvm:
- 2.2.5
- 2.1.9
- 2.0.0-p648
script:
- bundle exec rake rubocop[yes]
- bundle exec rake jsondoc
- bundle exec rake test:coveralls
- bundle exec rake travis:acceptance
after_success:
- bundle exec rake travis:post
matrix:
includ... | language: ruby
os:
- linux
- osx
osx_image: xcode7.1
rvm:
- 2.2.5
- 2.1.9
- 2.0.0-p648
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm osx-ssl-certs update all; fi
script:
- bundle exec rake rubocop[yes]
- bundle exec rake jsondoc
- bundle exec rake test:coveralls
- bundle exec rake travis:acceptance
af... | <|file_sep|>original/.travis.yml
language: ruby
os:
- linux
- osx
osx_image: xcode7.1
rvm:
- 2.2.5
- 2.1.9
- 2.0.0-p648
script:
- bundle exec rake rubocop[yes]
- bundle exec rake jsondoc
- bundle exec rake test:coveralls
- bundle exec rake travis:acceptance
after_success:
- bundle exec rake travis:post
matrix:
includ... | 88dc7ea181f7c356b101d3c6e45a656dc1750eb6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>clients/android/NewsBlur/assets/dark_reading.css.diff
original:
body {
background-color: #1A1A1A;
color: #FFF;
updated:
body, span {
background-color: #1A1A1A !important;
color: #FFF !important;
<|file_sep|>clients/android/NewsBlur/assets/dark_reading.css.diff
original:
a {
color: #319DC5;
updated:
a, ... | body, span {
background-color: #1A1A1A !important;
color: #FFF !important;
}
a, a span {
color: #319DC5 !important;
}
a:visited, a:visited span {
color: #319DC5 !important;
}
code {
background-color: #4C4C4C;
}
pre, blockquote {
background-color: #4C4C4C;
} | <|file_sep|>clients/android/NewsBlur/assets/dark_reading.css.diff
original:
body {
background-color: #1A1A1A;
color: #FFF;
updated:
body, span {
background-color: #1A1A1A !important;
color: #FFF !important;
<|file_sep|>clients/android/NewsBlur/assets/dark_reading.css.diff
original:
a {
color: #319DC5;
updated:
a, ... | 5d771a6f0ca99e580d2ef1aeaafecb7a9c46a434 | clients/android/NewsBlur/assets/dark_reading.css | clients/android/NewsBlur/assets/dark_reading.css | CSS |
<|file_sep|>original/manual-install.txt
IPVanish VPN
https://www.ipvanish.com/vpn-setup/
orgalorg
https://github.com/reconquest/orgalorg
Java JDK
http://www.oracle.com/technetwork/pt/java/javase/downloads/index.html
<|file_sep|>current/manual-install.txt
IPVanish VPN
https://www.ipvanish.com/vpn-setup/
orgalorg
http... | IPVanish VPN
https://www.ipvanish.com/vpn-setup/
ExpressVPN
https://www.expressvpn.com/vpn-software/vpn-mac
orgalorg
https://github.com/reconquest/orgalorg
Java JDK
http://www.oracle.com/technetwork/pt/java/javase/downloads/index.html | <|file_sep|>original/manual-install.txt
IPVanish VPN
https://www.ipvanish.com/vpn-setup/
orgalorg
https://github.com/reconquest/orgalorg
Java JDK
http://www.oracle.com/technetwork/pt/java/javase/downloads/index.html
<|file_sep|>current/manual-install.txt
IPVanish VPN
https://www.ipvanish.com/vpn-setup/
orgalorg
http... | a2e673f5fd4f405a3807db5a8cdddcb20077b897 | manual-install.txt | manual-install.txt | Text |
<|file_sep|>lib/lightspeed_restaurant/customer.rb.diff
original:
attr_accessor :id,
:city,
:country,
:deliveryCity,
:deliveryCountry,
:deliveryStreet,
:deliveryStreetNumber,
:deliveryZip,
... | [:id,
:city,
:country,
:deliveryCity,
:deliveryCountry,
:deliveryStreet,
:deliveryStreetNumber,
:deliveryZip,
:email,
:firstName,
:lastName,
:street,
:streetNumber,
:telephone,
:zip,
:links].freeze
end
... | <|file_sep|>lib/lightspeed_restaurant/customer.rb.diff
original:
attr_accessor :id,
:city,
:country,
:deliveryCity,
:deliveryCountry,
:deliveryStreet,
:deliveryStreetNumber,
:deliveryZip,
... | 531ad2e423ba3142322f7bc4a3ebfb2565179b59 | lib/lightspeed_restaurant/customer.rb | lib/lightspeed_restaurant/customer.rb | Ruby |
<|file_sep|>creation/web_base/cat_consts.sh.diff
original:
entry_dir=$2
updated:
dir_id=$2
<|file_sep|>creation/web_base/cat_consts.sh.diff
original:
if [ "$entry_dir" == "main" ]; then
###################################
# Find file names
consts_file=`grep "^CONSTS_FILE " $glidein_config | awk '{print $2}... | id_prefix=`get_prefix $dir_id`
###################################
# Find file names
consts_file=`grep "^${id_prefix}CONSTS_FILE " $glidein_config | awk '{print $2}'`
if [ -z "$consts_file" ]; then
warn "Cannot find ${id_prefix}CONSTS_FILE in $glidein_config!"
exit 1
fi
##################################
# Me... | <|file_sep|>creation/web_base/cat_consts.sh.diff
original:
entry_dir=$2
updated:
dir_id=$2
<|file_sep|>creation/web_base/cat_consts.sh.diff
original:
if [ "$entry_dir" == "main" ]; then
###################################
# Find file names
consts_file=`grep "^CONSTS_FILE " $glidein_config | awk '{print $2}... | 627edb8b26ed47605d85c6b3a7c448ff895ea20a | creation/web_base/cat_consts.sh | creation/web_base/cat_consts.sh | Shell |
<|file_sep|>original/test/unit/edu/northwestern/bioinformatics/studycalendar/web/WebTestCase.java
import edu.northwestern.bioinformatics.studycalendar.testing.StudyCalendarTestCase;
import org.springframework.mock.web.MockServletContext;
import org.springframework.mock.web.MockHttpSession;
import org.springframework.m... |
import edu.northwestern.bioinformatics.studycalendar.testing.StudyCalendarTestCase;
import org.springframework.mock.web.MockServletContext;
import org.springframework.mock.web.MockHttpSession;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock.web.MockHttpServletResponse;
/**
... | <|file_sep|>original/test/unit/edu/northwestern/bioinformatics/studycalendar/web/WebTestCase.java
import edu.northwestern.bioinformatics.studycalendar.testing.StudyCalendarTestCase;
import org.springframework.mock.web.MockServletContext;
import org.springframework.mock.web.MockHttpSession;
import org.springframework.m... | 94df3743d0b44ec5549453f7398c76e6158f6995 | test/unit/edu/northwestern/bioinformatics/studycalendar/web/WebTestCase.java | test/unit/edu/northwestern/bioinformatics/studycalendar/web/WebTestCase.java | Java |
<|file_sep|>original/lib/autocomplete.coffee
_ = require 'underscore-plus'
AutocompleteView = require './autocomplete-view'
module.exports =
configDefaults:
includeCompletionsFromAllBuffers: false
autocompleteViews: []
editorSubscription: null
activate: ->
@editorSubscription = atom.workspaceView.eac... | _ = require 'underscore-plus'
AutocompleteView = require './autocomplete-view'
module.exports =
config:
includeCompletionsFromAllBuffers:
type: 'boolean'
default: false
whichPython:
type: 'string'
default: 'python'
autocompleteViews: []
editorSubscription: null
activate: ->
... | <|file_sep|>original/lib/autocomplete.coffee
_ = require 'underscore-plus'
AutocompleteView = require './autocomplete-view'
module.exports =
configDefaults:
includeCompletionsFromAllBuffers: false
autocompleteViews: []
editorSubscription: null
activate: ->
@editorSubscription = atom.workspaceView.eac... | ba036469ba4ac2392724aede5e3059cd4ea73732 | lib/autocomplete.coffee | lib/autocomplete.coffee | CoffeeScript |
<|file_sep|>original/CONTRIBUTING.md
Make sure the tests pass:
make test
Make your change. Add tests for your change. Make the tests pass:
make test
Push to your fork and [submit a pull request][pr].
[pr]: https://github.com/DataDog/kvexpress/compare/
At this point you're waiting on us. We like to at lea... | Make sure the tests pass:
make test
Make your change. Add tests for your change. Make the tests pass:
make test
Push to your fork and [submit a pull request][pr].
[pr]: https://github.com/DataDog/kvexpress/compare/
At this point you're waiting on us. We like to at least comment on pull requests within a f... | <|file_sep|>original/CONTRIBUTING.md
Make sure the tests pass:
make test
Make your change. Add tests for your change. Make the tests pass:
make test
Push to your fork and [submit a pull request][pr].
[pr]: https://github.com/DataDog/kvexpress/compare/
At this point you're waiting on us. We like to at lea... | d01a706d388acc74263eaa2816412fb45ce65319 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/multi-ssh.sh
<|file_sep|>current/multi-ssh.sh
<|file_sep|>updated/multi-ssh.sh | #!/bin/bash
# runs an ssh command on multiple servers
# usage: multi-ssh.sh username command [server1 server2 server3...]
if [ $# -lt 3 ]
then
echo "usage: multi-ssh.sh username command [server1 server2 server3...]"
exit
fi
username=$1
command=$2
#collect the servers
for i in $(seq 3 $#); do
ssh $userna... | <|file_sep|>original/multi-ssh.sh
<|file_sep|>current/multi-ssh.sh
<|file_sep|>updated/multi-ssh.sh
#!/bin/bash
# runs an ssh command on multiple servers
# usage: multi-ssh.sh username command [server1 server2 server3...]
if [ $# -lt 3 ]
then
echo "usage: multi-ssh.sh username command [server1 server2 server3..... | 39f56efc2678b6ac2d6a616b850831f90ee32fb5 | multi-ssh.sh | multi-ssh.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
updated:
- "iojs-v2.1"
- "iojs-v2.0"
- "iojs-v1.8"
- "iojs-v1.7"
<|file_sep|>original/.travis.yml
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6'
matrix:
fast_finish: true
allo... | - "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6'
matrix:
fast_finish: true
allow_failures:
- node_js: "iojs-v2.0"
- node_js: "iojs-v1.7"
- node_js: "iojs-v1.6"
- node_js: "iojs-v1.5"
- node_js: "iojs-v1.4"... | <|file_sep|>.travis.yml.diff
original:
updated:
- "iojs-v2.1"
- "iojs-v2.0"
- "iojs-v1.8"
- "iojs-v1.7"
<|file_sep|>original/.travis.yml
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6'
matrix:
fast_finish: true
allo... | 2a86466a5ab4f5947c1bcdc410bf37d9c9bbba50 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config/csv_migrations.php
<?php
use Cake\Core\Configure;
// CsvMigrations plugin configuration
return [
'CsvMigrations' => [
'api' => [
'auth' => Configure::read('API.auth')
]
]
];
<|file_sep|>current/config/csv_migrations.php
<?php
use Cake\Core\Configure;
// ... | <?php
use Cake\Core\Configure;
// CsvMigrations plugin configuration
return [
'CsvMigrations' => [
'tableValidation' => false,
'api' => [
'auth' => Configure::read('API.auth')
]
]
]; | <|file_sep|>original/config/csv_migrations.php
<?php
use Cake\Core\Configure;
// CsvMigrations plugin configuration
return [
'CsvMigrations' => [
'api' => [
'auth' => Configure::read('API.auth')
]
]
];
<|file_sep|>current/config/csv_migrations.php
<?php
use Cake\Core\Configure;
// ... | 260ec46745eca8012c24604cdee8b740bc8feef6 | config/csv_migrations.php | config/csv_migrations.php | PHP |
<|file_sep|>original/features/android/support/app_installation_hooks.rb
AfterConfiguration do |config|
FeatureMemory.feature = nil
end
Before do |scenario|
##
# Create page objects which allows methods methods to be called in step
# definitions the following way:
#
# @android.wait_for_progress_to_comple... |
AfterConfiguration do |config|
FeatureMemory.feature = nil
end
Before do |scenario|
##
# Create page objects which allows methods methods to be called in step
# definitions the following way:
#
# @platform.wait_for_progress_to_complete
# @app.clear_settings
# @screen.home.await
#
##
@platf... | <|file_sep|>original/features/android/support/app_installation_hooks.rb
AfterConfiguration do |config|
FeatureMemory.feature = nil
end
Before do |scenario|
##
# Create page objects which allows methods methods to be called in step
# definitions the following way:
#
# @android.wait_for_progress_to_comple... | fec5fdd9a9826f6204af848275de4bba30e5987f | features/android/support/app_installation_hooks.rb | features/android/support/app_installation_hooks.rb | Ruby |
<|file_sep|>composer.json.diff
original:
"tarantool/client": "^0.2.0"
updated:
"tarantool/client": "^0.3.0"
<|file_sep|>original/composer.json
"name": "tarantool/mapper",
"description": "PHP Object Mapper for Tarantool.",
"keywords": ["tarantool", "client", "pure", "nosql", "mapper"],
"t... | "name": "tarantool/mapper",
"description": "PHP Object Mapper for Tarantool.",
"keywords": ["tarantool", "client", "pure", "nosql", "mapper"],
"type": "library",
"license": "MIT",
"require": {
"php": "^7.0",
"tarantool/client": "^0.3.0"
},
"suggest": {
"ext-msgpac... | <|file_sep|>composer.json.diff
original:
"tarantool/client": "^0.2.0"
updated:
"tarantool/client": "^0.3.0"
<|file_sep|>original/composer.json
"name": "tarantool/mapper",
"description": "PHP Object Mapper for Tarantool.",
"keywords": ["tarantool", "client", "pure", "nosql", "mapper"],
"t... | 419ce4d43e0ba346a629c3d80be11acfdce5f464 | composer.json | composer.json | JSON |
<|file_sep|>inonemonth/challenges/serializers.py.diff
original:
updated:
from comments.serializers import CommentSerializer
<|file_sep|>inonemonth/challenges/serializers.py.diff
original:
#user = serializers.RelatedField(many=True)
#user = serializers.PrimaryKeyRelatedField()
#user = serializers.Hyperlinke... | from comments.serializers import CommentSerializer
class RoleSerializer(serializers.ModelSerializer):
#user = UserSerializer()
#challenge = serializers.RelatedField()
comment_set = CommentSerializer()
class Meta:
model = Role
fields = ("id", "user", "type", "challenge", "comment_set")... | <|file_sep|>inonemonth/challenges/serializers.py.diff
original:
updated:
from comments.serializers import CommentSerializer
<|file_sep|>inonemonth/challenges/serializers.py.diff
original:
#user = serializers.RelatedField(many=True)
#user = serializers.PrimaryKeyRelatedField()
#user = serializers.Hyperlinke... | 94e070ec33dbc86e38de4839be9461db3a301685 | inonemonth/challenges/serializers.py | inonemonth/challenges/serializers.py | Python |
<|file_sep|>original/Scripts/HowtoPopulatePackages.rst
<|file_sep|>current/Scripts/HowtoPopulatePackages.rst
<|file_sep|>updated/Scripts/HowtoPopulatePackages.rst | Howto Populate Packages
=======================
This document describes how to populate the ``Packages/`` directory structure
with new patches.
Populate Top Level
------------------
Copy new VistA patch files (.TXT/.KID) into the ``Packages/`` directory.
For example, one may move VA patches out of the ``FOIA/`` dire... | <|file_sep|>original/Scripts/HowtoPopulatePackages.rst
<|file_sep|>current/Scripts/HowtoPopulatePackages.rst
<|file_sep|>updated/Scripts/HowtoPopulatePackages.rst
Howto Populate Packages
=======================
This document describes how to populate the ``Packages/`` directory structure
with new patches.
Populate ... | 0c8a57bc60c61e8d0d5e29657174dec5b3882769 | Scripts/HowtoPopulatePackages.rst | Scripts/HowtoPopulatePackages.rst | reStructuredText |
<|file_sep|>original/source/chip/STM32/STM32L4/STM32L4-lowLevelInitialization.cpp
<|file_sep|>current/source/chip/STM32/STM32L4/STM32L4-lowLevelInitialization.cpp
<|file_sep|>updated/source/chip/STM32/STM32L4/STM32L4-lowLevelInitialization.cpp | /**
* \file
* \brief chip::lowLevelInitialization() implementation for STM32L4
*
* \author Copyright (C) 2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not... | <|file_sep|>original/source/chip/STM32/STM32L4/STM32L4-lowLevelInitialization.cpp
<|file_sep|>current/source/chip/STM32/STM32L4/STM32L4-lowLevelInitialization.cpp
<|file_sep|>updated/source/chip/STM32/STM32L4/STM32L4-lowLevelInitialization.cpp
/**
* \file
* \brief chip::lowLevelInitialization() implementation for S... | 78cd9badc11250cae5a1e1ba2ffae345d2eb8cf8 | source/chip/STM32/STM32L4/STM32L4-lowLevelInitialization.cpp | source/chip/STM32/STM32L4/STM32L4-lowLevelInitialization.cpp | C++ |
<|file_sep|>original/_data/versions.yml
"3.6": "devel"
"3.5": "v3.5.0"
"3.4": "v3.4.7"
"3.3": "v3.3.23"
"3.2": "v3.2.18"
"3.1": "v3.1.29"
"3.0": "v3.0.12"
"2.8": "v2.8.11"
<|file_sep|>current/_data/versions.yml
"3.6": "devel"
"3.5": "v3.5.0"
"3.4": "v3.4.7"
"3.3": "v3.3.23"
"3.2": "v3.2.18"
"3.1": "v3.1.29"
"3.0": "v3.... | "3.6": "devel"
"3.5": "v3.5.0"
"3.4": "v3.4.8"
"3.3": "v3.3.23"
"3.2": "v3.2.18"
"3.1": "v3.1.29"
"3.0": "v3.0.12"
"2.8": "v2.8.11" | <|file_sep|>original/_data/versions.yml
"3.6": "devel"
"3.5": "v3.5.0"
"3.4": "v3.4.7"
"3.3": "v3.3.23"
"3.2": "v3.2.18"
"3.1": "v3.1.29"
"3.0": "v3.0.12"
"2.8": "v2.8.11"
<|file_sep|>current/_data/versions.yml
"3.6": "devel"
"3.5": "v3.5.0"
"3.4": "v3.4.7"
"3.3": "v3.3.23"
"3.2": "v3.2.18"
"3.1": "v3.1.29"
"3.0": "v3.... | c986da69c30ee59deb83fcaaabb4019f18c75c73 | _data/versions.yml | _data/versions.yml | YAML |
<|file_sep|>original/spec/features/shibboleth/disabled_shibboleth_features_spec.rb
<|file_sep|>current/spec/features/shibboleth/disabled_shibboleth_features_spec.rb
<|file_sep|>updated/spec/features/shibboleth/disabled_shibboleth_features_spec.rb | require 'spec_helper'
describe 'Disabled shibboleth features' do
subject { page }
before(:all) {
@attrs = FactoryGirl.attributes_for(:user, :email => "user@mconf.org")
}
context "an user account created via shibboleth" do
before {
enable_shib
Site.current.update_attributes :shib_always_new... | <|file_sep|>original/spec/features/shibboleth/disabled_shibboleth_features_spec.rb
<|file_sep|>current/spec/features/shibboleth/disabled_shibboleth_features_spec.rb
<|file_sep|>updated/spec/features/shibboleth/disabled_shibboleth_features_spec.rb
require 'spec_helper'
describe 'Disabled shibboleth features' do
sub... | 58a04a393b9f32dfc2f932e0d6981a6cc5170ca9 | spec/features/shibboleth/disabled_shibboleth_features_spec.rb | spec/features/shibboleth/disabled_shibboleth_features_spec.rb | Ruby |
<|file_sep|>original/requirements.txt
blinker==1.4
certifi==2018.8.13
chardet==3.0.4
dj-database-url==0.5.0
Django==2.1
django-bmemcached==0.2.3
django-meta==1.4.1
django-recaptcha==1.4.0
djangorestframework==3.8.2
feedparser==5.2.1
gunicorn==19.8.1
idna==2.7
psycopg2-binary==2.7.5
python-binary-memcached==0.27.0
pytho... | blinker==1.4
certifi==2018.8.24
chardet==3.0.4
dj-database-url==0.5.0
Django==2.1
django-bmemcached==0.2.3
django-meta==1.4.1
django-recaptcha==1.4.0
djangorestframework==3.8.2
feedparser==5.2.1
gunicorn==19.8.1
idna==2.7
psycopg2-binary==2.7.5
python-binary-memcached==0.27.0
python-twitch-client==0.5.1
pytz==2018.5
re... | <|file_sep|>original/requirements.txt
blinker==1.4
certifi==2018.8.13
chardet==3.0.4
dj-database-url==0.5.0
Django==2.1
django-bmemcached==0.2.3
django-meta==1.4.1
django-recaptcha==1.4.0
djangorestframework==3.8.2
feedparser==5.2.1
gunicorn==19.8.1
idna==2.7
psycopg2-binary==2.7.5
python-binary-memcached==0.27.0
pytho... | 37a907bedd8605033eed1077fc4848e06a8727fb | requirements.txt | requirements.txt | Text |
<|file_sep|>original/openmole/plugins/org.openmole.plugin.environment.desktopgrid/src/main/scala/org/openmole/plugin/environment/desktopgrid/DesktopGridAuthentication.scala
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in th... | * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a... | <|file_sep|>original/openmole/plugins/org.openmole.plugin.environment.desktopgrid/src/main/scala/org/openmole/plugin/environment/desktopgrid/DesktopGridAuthentication.scala
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in th... | 44b8283cd08e32f7ac6db4298715c5e64ce67ee5 | openmole/plugins/org.openmole.plugin.environment.desktopgrid/src/main/scala/org/openmole/plugin/environment/desktopgrid/DesktopGridAuthentication.scala | openmole/plugins/org.openmole.plugin.environment.desktopgrid/src/main/scala/org/openmole/plugin/environment/desktopgrid/DesktopGridAuthentication.scala | Scala |
<|file_sep|>original/.github/workflows/ci.yml
<|file_sep|>current/.github/workflows/ci.yml
<|file_sep|>updated/.github/workflows/ci.yml | name: Integration tests
on: [push, pull_request]
jobs:
format_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: 'ros-industrial/industrial_ci@master'
env:
ROS_DISTRO: melodic
CLANG_FORMAT_CHECK: file
CLANG_FORMAT_VERSION: "9"
build:
runs-on... | <|file_sep|>original/.github/workflows/ci.yml
<|file_sep|>current/.github/workflows/ci.yml
<|file_sep|>updated/.github/workflows/ci.yml
name: Integration tests
on: [push, pull_request]
jobs:
format_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: 'ros-industrial/industrial_... | fa26496e08f9c12a2a01615edc256d3844218bf0 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>packages/ms/mstate.yaml.diff
original:
hash: 10cd009e8414f4d2c641f6314b619a27564809b3a7539beb55b92314ce5ef7b0
updated:
hash: e9e2fb7767f0d2aecaffc0cc45a05576f7ccec013a0dbf1e3793478c27caddac
<|file_sep|>packages/ms/mstate.yaml.diff
original:
updated:
fail: -any
<|file_sep|>packages/ms/mstate.yaml.diff
ori... | - 0.1.1
- 0.1.2
- 0.1.3
- '0.2'
- 0.2.1
- 0.2.2
- 0.2.3
- 0.2.4
- 0.2.7
- 0.2.8
author: Nils Schweinsberg
latest: 0.2.8
description-type: haddock
description: ! 'MState offers a State monad which can be used in concurrent
applications. It also manages new threads and waits until the
whole state monad has been eva... | <|file_sep|>packages/ms/mstate.yaml.diff
original:
hash: 10cd009e8414f4d2c641f6314b619a27564809b3a7539beb55b92314ce5ef7b0
updated:
hash: e9e2fb7767f0d2aecaffc0cc45a05576f7ccec013a0dbf1e3793478c27caddac
<|file_sep|>packages/ms/mstate.yaml.diff
original:
updated:
fail: -any
<|file_sep|>packages/ms/mstate.yaml.diff
ori... | 60254c4f0b72d0927f6573f39ebd07d0cdccecce | packages/ms/mstate.yaml | packages/ms/mstate.yaml | YAML |
<|file_sep|>original/.travis.yml
notifications:
irc:
channels:
- "irc.mozilla.org#talkilla"
use_notice: false
skip_join: false
email:
- talkilla-travis-results@mozilla.com
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
after_success:
- if [[ "$TRAVIS_PULL_RE... |
notifications:
irc:
channels:
- "irc.mozilla.org#talkilla"
use_notice: false
skip_join: false
email:
- talkilla-travis-results@mozilla.com
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
after_success:
- if [[ "$TRAVIS_PULL_REQUEST" == "true" ]]; then
e... | <|file_sep|>original/.travis.yml
notifications:
irc:
channels:
- "irc.mozilla.org#talkilla"
use_notice: false
skip_join: false
email:
- talkilla-travis-results@mozilla.com
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
after_success:
- if [[ "$TRAVIS_PULL_RE... | 8c0cdbafc556c6d466196828580eab864af54ac3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/spec/spec_helper.rb
require 'puppet-lint'
PuppetLint::Plugins.load_spec_helper
<|file_sep|>current/spec/spec_helper.rb
require 'puppet-lint'
PuppetLint::Plugins.load_spec_helper
<|file_sep|>updated/spec/spec_helper.rb | require 'simplecov'
SimpleCov.start do
enable_coverage :branch
end
require 'puppet-lint'
PuppetLint::Plugins.load_spec_helper | <|file_sep|>original/spec/spec_helper.rb
require 'puppet-lint'
PuppetLint::Plugins.load_spec_helper
<|file_sep|>current/spec/spec_helper.rb
require 'puppet-lint'
PuppetLint::Plugins.load_spec_helper
<|file_sep|>updated/spec/spec_helper.rb
require 'simplecov'
SimpleCov.start do
enable_coverage :branch
end
require '... | ed891795dc061b2e990b577aa109827aa8757544 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>src/extension.ts.diff
original:
import { commands } from 'vscode';
updated:
import { commands, window } from 'vscode';
<|file_sep|>src/extension.ts.diff
original:
commands.registerTextEditorCommand(
updated:
commands.registerCommand(
<|file_sep|>src/extension.ts.diff
original:
subwordNavigat... |
commands.registerCommand(
'subwordNavigation.cursorSubwordRight',
() => subwordNavigation.cursorSubwordRight(window.activeTextEditor));
commands.registerCommand(
'subwordNavigation.cursorSubwordLeftSelect',
() => subwordNavigation.cursorSubwordLeftSelect(window.activeTextEditor... | <|file_sep|>src/extension.ts.diff
original:
import { commands } from 'vscode';
updated:
import { commands, window } from 'vscode';
<|file_sep|>src/extension.ts.diff
original:
commands.registerTextEditorCommand(
updated:
commands.registerCommand(
<|file_sep|>src/extension.ts.diff
original:
subwordNavigat... | 808f01f528291852ce8ffe2d0b83e0104da3174a | src/extension.ts | src/extension.ts | TypeScript |
<|file_sep|>original/project/plugins.sbt
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
addSbtPlugin("com.47deg" % "sbt-microsites" % "0.9.1")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.11")
addSbtPlugin("org.scala-js" ... | addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
addSbtPlugin("com.47deg" % "sbt-microsites" % "0.9.1")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.11")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6... | <|file_sep|>original/project/plugins.sbt
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
addSbtPlugin("com.47deg" % "sbt-microsites" % "0.9.1")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.11")
addSbtPlugin("org.scala-js" ... | cf84a00a5eb06bafc13f2bf386cb378f3681bbab | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>original/.travis.yml
language: python
python:
- "pypy"
install:
- pip install -q Sphinx
script:
- cd docs
- make linkcheck
<|file_sep|>current/.travis.yml
language: python
python:
- "pypy"
install:
- pip install -q Sphinx
script:
- cd docs
- make linkcheck
<|file_sep|>u... | language: python
python:
- "pypy"
before_script:
- sudo apt-get -y install python-sphinx
script:
- cd docs
- make linkcheck | <|file_sep|>original/.travis.yml
language: python
python:
- "pypy"
install:
- pip install -q Sphinx
script:
- cd docs
- make linkcheck
<|file_sep|>current/.travis.yml
language: python
python:
- "pypy"
install:
- pip install -q Sphinx
script:
- cd docs
- make linkcheck
<|file_sep|>u... | 26c25aa5165cffb679bdaf2d224266b695a1d208 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/trash.rb
#
def has_trash
extend ClassMethodsMixin
include InstanceMethods
alias_method_chain :destroy, :trash
end
module ClassMethodsMixin
def deleted
unscoped.where("#{self.table_name}.deleted_at IS NOT NULL")
end
end
module Ins... | #
def has_trash
extend ClassMethodsMixin
include InstanceMethods
alias_method_chain :destroy, :trash
end
module ClassMethodsMixin
def deleted
deleted_at = Arel::Table.new(self.table_name)[:deleted_at]
unscoped.where(deleted_at.not_eq(nil))
end
end
... | <|file_sep|>original/lib/trash.rb
#
def has_trash
extend ClassMethodsMixin
include InstanceMethods
alias_method_chain :destroy, :trash
end
module ClassMethodsMixin
def deleted
unscoped.where("#{self.table_name}.deleted_at IS NOT NULL")
end
end
module Ins... | 9eacc5200cd8f720882732fe3bdcd82ba804869e | lib/trash.rb | lib/trash.rb | Ruby |
<|file_sep|>original/source/Host/Config/Scopes.cs
{
Scope.OpenId,
Scope.Profile,
Scope.Email,
Scope.OfflineAccess,
new Scope
{
Name = "roles",
... | {
Scope.OpenId,
Scope.Profile,
Scope.Email,
Scope.OfflineAccess,
new Scope
{
Name = "roles",
DisplayName = "Roles",
... | <|file_sep|>original/source/Host/Config/Scopes.cs
{
Scope.OpenId,
Scope.Profile,
Scope.Email,
Scope.OfflineAccess,
new Scope
{
Name = "roles",
... | 71f4e60a834021af94bdcf9bbbb4631cc290b8ab | source/Host/Config/Scopes.cs | source/Host/Config/Scopes.cs | C# |
<|file_sep|>tests/test_storage.py.diff
original:
path = os.path.join(TEST_DATA_PATH, 'lenna.png')
updated:
path = os.path.join(TEST_DATA_PATH, 'Lenna.png')
<|file_sep|>tests/test_storage.py.diff
original:
storage_data = storage.filesystem.open('images/{}/lenna.png'.format(image_id)).read()
u... |
# Create Image
path = os.path.join(TEST_DATA_PATH, 'Lenna.png')
with open(path, "rb") as image:
resp = admin_client.post('/images/api/new', {"image": image})
assert resp.status_code == 200
image_id = json.loads(resp.content.decode("utf-8"))['id']
... | <|file_sep|>tests/test_storage.py.diff
original:
path = os.path.join(TEST_DATA_PATH, 'lenna.png')
updated:
path = os.path.join(TEST_DATA_PATH, 'Lenna.png')
<|file_sep|>tests/test_storage.py.diff
original:
storage_data = storage.filesystem.open('images/{}/lenna.png'.format(image_id)).read()
u... | c1ab2795152d50de9f535e90b550d033feadf778 | tests/test_storage.py | tests/test_storage.py | Python |
<|file_sep|>original/xchange-binance/api-specification.txt
Binance Exchange API specification
==============================
This api provides access to such information as tickers, trades, orderbooks and common statistics of currency pairs.
Documentation
-------------
https://www.binance.com/restapipub.html
<|file_... | Binance Exchange API specification
==============================
This api provides access to such information as tickers, trades, orderbooks and common statistics of currency pairs.
Documentation
-------------
https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md | <|file_sep|>original/xchange-binance/api-specification.txt
Binance Exchange API specification
==============================
This api provides access to such information as tickers, trades, orderbooks and common statistics of currency pairs.
Documentation
-------------
https://www.binance.com/restapipub.html
<|file_... | be5a6be5cd8373b4f587e83921338988b90386cd | xchange-binance/api-specification.txt | xchange-binance/api-specification.txt | Text |
<|file_sep|>original/README.adoc
= rhq-metrics
Project to implement a MaaS and CaaS
* MaaS: Metrics as a Service
* CaaS: Charts as a Service
<|file_sep|>current/README.adoc
= rhq-metrics
Project to implement a MaaS and CaaS
* MaaS: Metrics as a Service
* CaaS: Charts as a Service
<|file_sep|>updated/README.adoc | = rhq-metrics
Project to implement a MaaS and CaaS
* MaaS: Metrics as a Service
* ChaaS: Charts as a Service | <|file_sep|>original/README.adoc
= rhq-metrics
Project to implement a MaaS and CaaS
* MaaS: Metrics as a Service
* CaaS: Charts as a Service
<|file_sep|>current/README.adoc
= rhq-metrics
Project to implement a MaaS and CaaS
* MaaS: Metrics as a Service
* CaaS: Charts as a Service
<|file_sep|>updated/README.adoc
= r... | 48b554c95aaf4c4554981152227880603a5e2933 | README.adoc | README.adoc | AsciiDoc |
<|file_sep|>original/.travis.yml
---
language: elixir
script:
- bin/fetch-configlet
- bin/configlet .
- mix deps.get
- EXERCISM_TEST_EXAMPLES=true mix test
sudo: false
<|file_sep|>current/.travis.yml
---
language: elixir
script:
- bin/fetch-configlet
- bin/configlet .
- mix deps.get
- EXERCISM_TEST_EXAMPLES=true mix te... | ---
language: elixir
script:
- bin/fetch-configlet
- bin/configlet .
- mix deps.get
- EXERCISM_TEST_EXAMPLES=true mix test --include pending
sudo: false | <|file_sep|>original/.travis.yml
---
language: elixir
script:
- bin/fetch-configlet
- bin/configlet .
- mix deps.get
- EXERCISM_TEST_EXAMPLES=true mix test
sudo: false
<|file_sep|>current/.travis.yml
---
language: elixir
script:
- bin/fetch-configlet
- bin/configlet .
- mix deps.get
- EXERCISM_TEST_EXAMPLES=true mix te... | d1e1e5d91e9297affc458f3ffede8cdadc882b7e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/jujugui/static/gui/src/app/components/profile/bundle-list/_bundle-list.scss
text-align: right;
}
.profile__entity-table-header-column:first-child,
.profile__entity-table-column:first-child {
padding-left: 16px;
}
.expanding-row {
padding-bottom: 0;
}
.profile-expanded-c... | text-align: right;
}
.profile__entity-table-header-column:first-child,
.profile__entity-table-column:first-child {
padding-left: 16px;
}
.expanding-row {
padding-bottom: 0;
&__initial {
min-height: 35px;
}
}
.expanding-row--expanded .expanding-row__initial {
min-height: 0... | <|file_sep|>original/jujugui/static/gui/src/app/components/profile/bundle-list/_bundle-list.scss
text-align: right;
}
.profile__entity-table-header-column:first-child,
.profile__entity-table-column:first-child {
padding-left: 16px;
}
.expanding-row {
padding-bottom: 0;
}
.profile-expanded-c... | 176ee941933f610ee8695857498a98c7c6e69589 | jujugui/static/gui/src/app/components/profile/bundle-list/_bundle-list.scss | jujugui/static/gui/src/app/components/profile/bundle-list/_bundle-list.scss | SCSS |
<|file_sep|>original/src/mercury/inventory/options.py
configuration.add_option('inventory.database.collection',
default='inventory',
help_string='The collection for inventory '
'documents')
configuration.add_opti... | configuration.add_option('inventory.database.collection',
default='inventory',
help_string='The collection for inventory '
'documents')
configuration.add_option('inventory.database.servers',
... | <|file_sep|>original/src/mercury/inventory/options.py
configuration.add_option('inventory.database.collection',
default='inventory',
help_string='The collection for inventory '
'documents')
configuration.add_opti... | 02e41cb74be0c346f43453daad43353a2ee5ca0f | src/mercury/inventory/options.py | src/mercury/inventory/options.py | Python |
<|file_sep|>Entity/Size.php.diff
original:
public function __construct($width = 0, $height = 0, $widthUnit = null, $heightUnit = null)
updated:
public function __construct($width = 1, $height = 1, $widthUnit = null, $heightUnit = null)
<|file_sep|>original/Entity/Size.php
<?php
namespace Ivory\GoogleMapBundle\... | <?php
namespace Ivory\GoogleMapBundle\Entity;
use Ivory\GoogleMapBundle\Model\Base\Size as BaseSize;
/**
* Size entity which describes a google map size
*
* @author GeLo <geloen.eric@gmail.com>
*/
class Size extends BaseSize
{
/**
* Create a size
*/
public function __construct($width = 1, $heig... | <|file_sep|>Entity/Size.php.diff
original:
public function __construct($width = 0, $height = 0, $widthUnit = null, $heightUnit = null)
updated:
public function __construct($width = 1, $height = 1, $widthUnit = null, $heightUnit = null)
<|file_sep|>original/Entity/Size.php
<?php
namespace Ivory\GoogleMapBundle\... | f0ddb42f417c9aba690224e0b898b747b46ed74b | Entity/Size.php | Entity/Size.php | PHP |
<|file_sep|>.travis.yml.diff
original:
updated:
# This one doesn't do the extra work to use v5.8.
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
cache:
directories:
- $HOME/.perlbrew-cache
<|file_sep|>original/.travis.yml
- "5.20"
- "5.22"
- "5.24"
- "5.26"
- "5.28"
- "... | - "5.20"
- "5.22"
- "5.24"
- "5.26"
- "5.28"
- "5.30"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR
install:
- cpanm --quiet --ins... | <|file_sep|>.travis.yml.diff
original:
updated:
# This one doesn't do the extra work to use v5.8.
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
cache:
directories:
- $HOME/.perlbrew-cache
<|file_sep|>original/.travis.yml
- "5.20"
- "5.22"
- "5.24"
- "5.26"
- "5.28"
- "... | b5d1467513ac0c398bb3f59e01d90a22cf0a6f05 | .travis.yml | .travis.yml | YAML |
<|file_sep|>deploy/to.sh.diff
original:
updated:
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do
DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
done
readonly OWN_DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
<|file_sep|>deploy/to.sh.... | while [ -h "$SOURCE" ]; do
DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
done
readonly OWN_DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
function deployTo {
if [ -n "${1-}" ]; then
machine="${1}"
rsync --archive --verbose --delete --... | <|file_sep|>deploy/to.sh.diff
original:
updated:
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do
DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
done
readonly OWN_DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
<|file_sep|>deploy/to.sh.... | ed39ee472412df312efca500d62e8d9591342f90 | deploy/to.sh | deploy/to.sh | Shell |
<|file_sep|>original/setup.py
author = "Clay McClure, Jon Gaulding, Andrew Harris",
author_email = "clay@daemons.net",
url = "https://github.com/claymation/python-builtwith",
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI App... | author = "Clay McClure, Jon Gaulding, Andrew Harris",
author_email = "clay@daemons.net",
url = "https://github.com/claymation/python-builtwith",
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
... | <|file_sep|>original/setup.py
author = "Clay McClure, Jon Gaulding, Andrew Harris",
author_email = "clay@daemons.net",
url = "https://github.com/claymation/python-builtwith",
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI App... | 91489b5a8e940f90c3aa70c6c8ed2dcf98c8ca9c | setup.py | setup.py | Python |
<|file_sep|>portfolio/src/main/java/com/google/sps/servlets/AudioInputServlet.java.diff
original:
updated:
import java.util.*;
<|file_sep|>original/portfolio/src/main/java/com/google/sps/servlets/AudioInputServlet.java
package com.google.sps.servlets;
import java.io.IOException;
import javax.servlet.annotation.WebSe... | import java.io.IOException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/** Servlet that takes in audio stream and retrieves
** user input string to display. */
@WebServlet("/audio-inp... | <|file_sep|>portfolio/src/main/java/com/google/sps/servlets/AudioInputServlet.java.diff
original:
updated:
import java.util.*;
<|file_sep|>original/portfolio/src/main/java/com/google/sps/servlets/AudioInputServlet.java
package com.google.sps.servlets;
import java.io.IOException;
import javax.servlet.annotation.WebSe... | e774a4c152653b5d667a39033b70d6285083897e | portfolio/src/main/java/com/google/sps/servlets/AudioInputServlet.java | portfolio/src/main/java/com/google/sps/servlets/AudioInputServlet.java | Java |
<|file_sep|>original/src/python/utexas/tools/generate_ddl.py
<|file_sep|>current/src/python/utexas/tools/generate_ddl.py
<|file_sep|>updated/src/python/utexas/tools/generate_ddl.py | """
utexas/tools/generate_ddl.py
Print or apply the research data schema.
@author: Bryan Silverthorn <bcs@cargo-cult.org>
"""
if __name__ == "__main__":
from utexas.tools.generate_ddl import main
raise SystemExit(main())
from cargo.flags import (
Flag,
Flags,
)
module_flags = \
Flags(
... | <|file_sep|>original/src/python/utexas/tools/generate_ddl.py
<|file_sep|>current/src/python/utexas/tools/generate_ddl.py
<|file_sep|>updated/src/python/utexas/tools/generate_ddl.py
"""
utexas/tools/generate_ddl.py
Print or apply the research data schema.
@author: Bryan Silverthorn <bcs@cargo-cult.org>
"""
if __nam... | bab5a974c78a2b7042de449c6d3b01f9297809f1 | src/python/utexas/tools/generate_ddl.py | src/python/utexas/tools/generate_ddl.py | Python |
<|file_sep|>original/common/src/main/resources/openecard_config/openecard.properties
## Proxy Settings
# proxy.socks.host = localhost
# proxy.socks.port = 9050
## Notification Settings
notification.omit_show_remove_card = false
## Legacy Behaviour Settings
legacy.tls1 = false
legacy.weak_crypto = true
legacy.s... | ## Proxy Settings
# proxy.socks.host = localhost
# proxy.socks.port = 9050
## Notification Settings
notification.omit_show_remove_card = false
## Legacy Behaviour Settings
legacy.tls1 = false
legacy.weak_crypto = true
legacy.session = false
legacy.car = true
legacy.ignore_ns = true | <|file_sep|>original/common/src/main/resources/openecard_config/openecard.properties
## Proxy Settings
# proxy.socks.host = localhost
# proxy.socks.port = 9050
## Notification Settings
notification.omit_show_remove_card = false
## Legacy Behaviour Settings
legacy.tls1 = false
legacy.weak_crypto = true
legacy.s... | 50bbc521c305f8b5f582df6fc9d741f96a1e7548 | common/src/main/resources/openecard_config/openecard.properties | common/src/main/resources/openecard_config/openecard.properties | INI |
<|file_sep|>original/composer.json
"description": "General purpose authentication module",
"license" : "BSD-2-Clause",
"homepage": "https://github.com/Bacon/BaconAuthentication",
"require": {
"php": ">=5.3.3",
"zendframework/zend-stdlib": ">=2.1.0",
"zendframework/zend-eventmanag... | "description": "General purpose authentication module",
"license" : "BSD-2-Clause",
"homepage": "https://github.com/Bacon/BaconAuthentication",
"require": {
"php": ">=5.3.3",
"zendframework/zend-stdlib": ">=2.1.0",
"zendframework/zend-eventmanager": ">=2.1.0"
},
"require-... | <|file_sep|>original/composer.json
"description": "General purpose authentication module",
"license" : "BSD-2-Clause",
"homepage": "https://github.com/Bacon/BaconAuthentication",
"require": {
"php": ">=5.3.3",
"zendframework/zend-stdlib": ">=2.1.0",
"zendframework/zend-eventmanag... | eeb6448aa99eef5325a41f204bf7951c07977065 | composer.json | composer.json | JSON |
<|file_sep|>luminus/hello/src/hello/routes/home.clj.diff
original:
updated:
(GET "/db" [] (response/json (first (run-queries 1))))
<|file_sep|>original/luminus/hello/src/hello/routes/home.clj
(ns hello.routes.home
(:use compojure.core
hello.models.db)
(:require [hello.views.layout :as layout]
... | (ns hello.routes.home
(:use compojure.core
hello.models.db)
(:require [hello.views.layout :as layout]
[noir.response :as response]))
(defroutes home-routes
(GET "/" [] "Hello, World!")
(GET "/json" [] (response/json {:message "Hello, World!"}))
(GET "/db" [] (response/json (first (run-que... | <|file_sep|>luminus/hello/src/hello/routes/home.clj.diff
original:
updated:
(GET "/db" [] (response/json (first (run-queries 1))))
<|file_sep|>original/luminus/hello/src/hello/routes/home.clj
(ns hello.routes.home
(:use compojure.core
hello.models.db)
(:require [hello.views.layout :as layout]
... | 9cc4e829e457fd23374d5773a0ead3a33362b4bd | luminus/hello/src/hello/routes/home.clj | luminus/hello/src/hello/routes/home.clj | Clojure |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.