prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/lib/maildrop/client.rb
# message.attachments.each do |name, attachment|
# attachment_path = "#{now}/#{name}"
# @client.put_file(attachment_path, attachment.to_s)
# end
end
def underscoreize(string)
string.downcase.gsub(" ", "_")
end
def share(path... | # message.attachments.each do |name, attachment|
# attachment_path = "#{now}/#{name}"
# @client.put_file(attachment_path, attachment.to_s)
# end
end
def underscoreize(string)
string.downcase.gsub(" ", "_")
end
def share(path)
@client.shares(path)
end
pr... | <|file_sep|>original/lib/maildrop/client.rb
# message.attachments.each do |name, attachment|
# attachment_path = "#{now}/#{name}"
# @client.put_file(attachment_path, attachment.to_s)
# end
end
def underscoreize(string)
string.downcase.gsub(" ", "_")
end
def share(path... | 17c9129ff0e4fcdbf6922f4c1cc3a9c757090675 | lib/maildrop/client.rb | lib/maildrop/client.rb | Ruby |
<|file_sep|>original/layouts/partials/footer.html
<footer id="footer">
{{ if .Site.Social }}
{{ partial "social.html" . }}
{{ end }}
<p class="small">
{{ with .Site.Params.copyright }}
{{ . | markdownify }}
{{ else }}
© Copyright {{.Now.Format "2006"}} {{ .Site.Params.name }}... | <footer id="footer">
{{ if .Site.Social }}
{{ partial "social.html" . }}
{{ end }}
<p class="small">
{{ with .Site.Params.copyright }}
{{ . | markdownify }}
{{ else }}
© Copyright {{ now.Format "2006" }} {{ .Site.Params.name }}
{{ end }}
</p>
</footer> | <|file_sep|>original/layouts/partials/footer.html
<footer id="footer">
{{ if .Site.Social }}
{{ partial "social.html" . }}
{{ end }}
<p class="small">
{{ with .Site.Params.copyright }}
{{ . | markdownify }}
{{ else }}
© Copyright {{.Now.Format "2006"}} {{ .Site.Params.name }}... | fa3c87d0f70fe5d380abf36cd95718b514c99e99 | layouts/partials/footer.html | layouts/partials/footer.html | HTML |
<|file_sep|>scripts/wall_stop.py.diff
original:
rospy.Subscriber('/lightsensors', LightSensorValues, self.callback_lightsensors)
updated:
rospy.Subscriber('/lightsensors', LightSensorValues, self.callback)
<|file_sep|>original/scripts/wall_stop.py
from std_srvs.srv import Trigger, TriggerResponse
from p... | from std_srvs.srv import Trigger, TriggerResponse
from pimouse_ros.msg import LightSensorValues
class WallStop():
def __init__(self):
self.cmd_vel = rospy.Publisher('/cmd_vel',Twist,queue_size=1)
self.sensor_values = LightSensorValues()
rospy.Subscriber('/lightsensors', LightSensorValues, ... | <|file_sep|>scripts/wall_stop.py.diff
original:
rospy.Subscriber('/lightsensors', LightSensorValues, self.callback_lightsensors)
updated:
rospy.Subscriber('/lightsensors', LightSensorValues, self.callback)
<|file_sep|>original/scripts/wall_stop.py
from std_srvs.srv import Trigger, TriggerResponse
from p... | ddb3bcf4e5d5eb5dc4f8bb74313f333e54c385d6 | scripts/wall_stop.py | scripts/wall_stop.py | Python |
<|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==1.6.5
alagitpull==0.0.14
releases==1.4.0 # updated from 1.3.1
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==1.6.5
alagitpull==0.0.14
releases==1.4.0 # updated from 1.3.1
<|file_sep|>updated/requirements/doc.txt | -r ./base.txt
sphinx==1.6.6
alagitpull==0.0.14
releases==1.4.0 # updated from 1.3.1 | <|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==1.6.5
alagitpull==0.0.14
releases==1.4.0 # updated from 1.3.1
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==1.6.5
alagitpull==0.0.14
releases==1.4.0 # updated from 1.3.1
<|file_sep|>updated/requirements/doc.txt
-r ./base.txt
sphinx==1.6.... | a7c0cece6f9eb99c060be560ffeaeaf3111cb58b | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>original/scripts/travis_prebuild.sh
SCRIPT_DIR=$(dirname "$0")
set -e
# We have tests that deal with git. They need to have this set to pass
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
# decrypt ssh key to access test-gitlab:
if [ -z "${encrypted_766accd273... | SCRIPT_DIR=$(dirname "$0")
set -e
# We have tests that deal with git. They need to have this set to pass
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
# decrypt ssh key to access test-gitlab:
if [ -z "${encrypted_766accd2732a_key}" ] || [ -z "${encrypted_766accd2732a_iv}"... | <|file_sep|>original/scripts/travis_prebuild.sh
SCRIPT_DIR=$(dirname "$0")
set -e
# We have tests that deal with git. They need to have this set to pass
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
# decrypt ssh key to access test-gitlab:
if [ -z "${encrypted_766accd273... | bc9c1d0a16a3dbec70964d2e040fbd081720eae6 | scripts/travis_prebuild.sh | scripts/travis_prebuild.sh | Shell |
<|file_sep|>original/tests/setup_teardown.sh
#!/bin/bash
# Fail on any error.
set -e
sa_creds=74668_ci-service-account
project_id=anthos-platform-ci-env
domain=ap-anthos-platform-ci-env.cloud-tutorial.dev
# Activate the service account
gcloud auth activate-service-account --key-file="${KOKORO_KEYSTORE_DIR}/${sa_cred... | #!/bin/bash
# Fail on any error.
set -e
sa_creds=74668_ci-service-account
project_id=anthos-platform-ci-env
domain=ap-anthos-platform-ci-env.cloud-tutorial.dev
# Set the project ID for CI
gcloud config set project ${project_id}
# Activate the service account
gcloud auth activate-service-account --key-file="${KOKORO... | <|file_sep|>original/tests/setup_teardown.sh
#!/bin/bash
# Fail on any error.
set -e
sa_creds=74668_ci-service-account
project_id=anthos-platform-ci-env
domain=ap-anthos-platform-ci-env.cloud-tutorial.dev
# Activate the service account
gcloud auth activate-service-account --key-file="${KOKORO_KEYSTORE_DIR}/${sa_cred... | 75ab20849eb15a78e02d5c66aac2f72d42775aa4 | tests/setup_teardown.sh | tests/setup_teardown.sh | Shell |
<|file_sep|>original/README.markdown
`cloudi_api_python`
===================
[](https://travis-ci.org/CloudI/cloudi_api_python)
Python [CloudI API](http://cloudi.org/api.html#1_Intro)
Available as a [PyPI package at `https://pypi.python.org/pypi/clou... | `cloudi_api_python`
===================
[](https://travis-ci.org/CloudI/cloudi_api_python)
[](https://pypi.python.org/pypi/cloudi/)
Python [CloudI API](http://cloudi.org/a... | <|file_sep|>original/README.markdown
`cloudi_api_python`
===================
[](https://travis-ci.org/CloudI/cloudi_api_python)
Python [CloudI API](http://cloudi.org/api.html#1_Intro)
Available as a [PyPI package at `https://pypi.python.org/pypi/clou... | 9ce08014f595a17fd245d9ad1a95c9f41d596a85 | README.markdown | README.markdown | Markdown |
<|file_sep|>cypress-testing/cypress/testing/website/events/events.js.diff
original:
updated:
/**
* The URL for the events page.
* @private
*/
const EVENTS_PAGE = 'website/event/';
<|file_sep|>original/cypress-testing/cypress/testing/website/events/events.js
* A step to navigate to the events page.
* @example
* G... | * @private
*/
const EVENTS_PAGE = 'website/event/';
/**
* A step to navigate to the events page.
* @example
* Given I navigate to the events page
*/
const navigateToEventsPage = () => {
// using 2016 since guaranteed about its events
cy.visit({url: EVENTS_PAGE + 2016, method: 'GET'});
};
Given(`I navigate to... | <|file_sep|>cypress-testing/cypress/testing/website/events/events.js.diff
original:
updated:
/**
* The URL for the events page.
* @private
*/
const EVENTS_PAGE = 'website/event/';
<|file_sep|>original/cypress-testing/cypress/testing/website/events/events.js
* A step to navigate to the events page.
* @example
* G... | d6ad0dd2638a61472e74d17737093415c798b3ca | cypress-testing/cypress/testing/website/events/events.js | cypress-testing/cypress/testing/website/events/events.js | JavaScript |
<|file_sep|>original/src/validation.h
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_VALIDATION_H
#define BITCOIN_VALIDATION_H
#include <stdint.h>
#include <s... | // Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_VALIDATION_H
#define BITCOIN_VALIDATION_H
#include <stdint.h>
#include <string>
static const int64_t DEFAULT_M... | <|file_sep|>original/src/validation.h
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_VALIDATION_H
#define BITCOIN_VALIDATION_H
#include <stdint.h>
#include <s... | d69e026a523445233153f3ab5218c8c652d5fe69 | src/validation.h | src/validation.h | C |
<|file_sep|>original/cmake/projects/lib-cpp-pre/hunter.cmake
include(hunter_add_version)
include(hunter_download)
include(hunter_pick_scheme)
hunter_add_version(
PACKAGE_NAME lib-cpp-pre
VERSION "1.2.2"
URL "https://github.com/daminetreg/lib-cpp-pre/archive/v1.2.2.tar.gz"
SHA1 6733a0abd9f74bd67e4ef52... |
include(hunter_add_version)
include(hunter_download)
include(hunter_pick_scheme)
hunter_add_version(
PACKAGE_NAME lib-cpp-pre
VERSION "1.2.2"
URL "https://github.com/daminetreg/lib-cpp-pre/archive/v1.2.2.tar.gz"
SHA1 6733a0abd9f74bd67e4ef521e7677ad9437cdba1
)
hunter_add_version(
PACKAGE_NAME li... | <|file_sep|>original/cmake/projects/lib-cpp-pre/hunter.cmake
include(hunter_add_version)
include(hunter_download)
include(hunter_pick_scheme)
hunter_add_version(
PACKAGE_NAME lib-cpp-pre
VERSION "1.2.2"
URL "https://github.com/daminetreg/lib-cpp-pre/archive/v1.2.2.tar.gz"
SHA1 6733a0abd9f74bd67e4ef52... | 6b2afba072c994731c6700f07aa9ab841ef0e49e | cmake/projects/lib-cpp-pre/hunter.cmake | cmake/projects/lib-cpp-pre/hunter.cmake | CMake |
<|file_sep|>.zuul.yml.diff
original:
version: 32..latest
updated:
version: [35,36,beta]
<|file_sep|>original/.zuul.yml
ui: tape
browsers:
- name: chrome
version: 32..latest
- name: firefox
version: 27..latest
server: ./test/server.js
<|file_sep|>current/.zuul.yml
ui: tape
browsers:
- name: chrom... | ui: tape
browsers:
- name: chrome
version: [35,36,beta]
- name: firefox
version: 30..latest
server: ./test/server.js | <|file_sep|>.zuul.yml.diff
original:
version: 32..latest
updated:
version: [35,36,beta]
<|file_sep|>original/.zuul.yml
ui: tape
browsers:
- name: chrome
version: 32..latest
- name: firefox
version: 27..latest
server: ./test/server.js
<|file_sep|>current/.zuul.yml
ui: tape
browsers:
- name: chrom... | f3aaab6d6609a8da4ecf9f44572fd10bebf1ee3f | .zuul.yml | .zuul.yml | YAML |
<|file_sep|>original/src/peergos/server/ValidateUser.java
<|file_sep|>current/src/peergos/server/ValidateUser.java
<|file_sep|>updated/src/peergos/server/ValidateUser.java | package peergos.server;
import peergos.server.util.*;
import peergos.shared.*;
import peergos.shared.cbor.*;
import peergos.shared.crypto.hash.*;
import peergos.shared.io.ipfs.cid.*;
import peergos.shared.io.ipfs.multihash.*;
import peergos.shared.user.*;
import java.io.*;
import java.net.*;
import java.util.*;
impor... | <|file_sep|>original/src/peergos/server/ValidateUser.java
<|file_sep|>current/src/peergos/server/ValidateUser.java
<|file_sep|>updated/src/peergos/server/ValidateUser.java
package peergos.server;
import peergos.server.util.*;
import peergos.shared.*;
import peergos.shared.cbor.*;
import peergos.shared.crypto.hash.*;... | d3cd9fa93df42a247bee132bb70740c387240655 | src/peergos/server/ValidateUser.java | src/peergos/server/ValidateUser.java | Java |
<|file_sep|>original/README.rst
This app allows you to process one off charges as well as signup users for
recurring subscriptions managed by Stripe.
Documentation can be found at http://django-stripe-payments.readthedocs.org
Development
-----------
To run test suite::
$ pip install Django stripe django-jsonfi... | This app allows you to process one off charges as well as signup users for
recurring subscriptions managed by Stripe.
Documentation can be found at http://django-stripe-payments.readthedocs.org
Development
-----------
To run test suite::
$ pip install Django stripe django-jsonfield mock
$ python runtests.p... | <|file_sep|>original/README.rst
This app allows you to process one off charges as well as signup users for
recurring subscriptions managed by Stripe.
Documentation can be found at http://django-stripe-payments.readthedocs.org
Development
-----------
To run test suite::
$ pip install Django stripe django-jsonfi... | 53dfc306c11b775a7ffaf6031d2698c525334222 | README.rst | README.rst | reStructuredText |
<|file_sep|>MagicalCryptoWallet/ClientSideFilter/BlockFilterBuilder.cs.diff
original:
updated:
private static readonly PayToWitPubKeyHashTemplate P2wpkh = PayToWitPubKeyHashTemplate.Instance;
<|file_sep|>MagicalCryptoWallet/ClientSideFilter/BlockFilterBuilder.cs.diff
original:
var witDestination = PayToWitTempl... | var buffer = new List<byte[]>();
buffer.Add(key);
foreach (var tx in block.Transactions)
{
foreach (var txOutput in tx.Outputs)
{
var isValidPayToWitness = P2wpkh.CheckScriptPubKey(txOutput.ScriptPubKey);
if (isValidPayToWitness)
{
var witKeyId = P2wpkh.ExtractScriptPubKeyPara... | <|file_sep|>MagicalCryptoWallet/ClientSideFilter/BlockFilterBuilder.cs.diff
original:
updated:
private static readonly PayToWitPubKeyHashTemplate P2wpkh = PayToWitPubKeyHashTemplate.Instance;
<|file_sep|>MagicalCryptoWallet/ClientSideFilter/BlockFilterBuilder.cs.diff
original:
var witDestination = PayToWitTempl... | e4ff024cf5ba71b1e0ec66ba8aada005318a00ff | MagicalCryptoWallet/ClientSideFilter/BlockFilterBuilder.cs | MagicalCryptoWallet/ClientSideFilter/BlockFilterBuilder.cs | C# |
<|file_sep|>original/CHANGELOG.md
## 1.0.1
* Fixed Special characters being converted in the URL
## 1.0.0 - First Release
* Added link ctrl-click feature
<|file_sep|>current/CHANGELOG.md
## 1.0.1
* Fixed Special characters being converted in the URL
## 1.0.0 - First Release
* Added link ctrl-click feature
<|file_sep|... | ## 1.0.3
* Fixed Special characters being converted in the URL
## 1.0.0 - First Release
* Added link ctrl-click feature | <|file_sep|>original/CHANGELOG.md
## 1.0.1
* Fixed Special characters being converted in the URL
## 1.0.0 - First Release
* Added link ctrl-click feature
<|file_sep|>current/CHANGELOG.md
## 1.0.1
* Fixed Special characters being converted in the URL
## 1.0.0 - First Release
* Added link ctrl-click feature
<|file_sep|... | ac6c9d89e965d931ac4683bb387ac23197af8a8f | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>md/md-header.php.diff
original:
<div class="one columns">
updated:
<div class="one column">
<|file_sep|>md/md-header.php.diff
original:
<div class="eight columns">
updated:
<div class="five columns">
<|file_sep|>original/md/md-header.php
?>
</div>
<div class="three columns">
... | <?php
echo "<h1 class=\"sitetitle\">{$MD_SETTINGS['SITE_NAME']}</h1>";
?>
</div>
<div class="five columns">
<?php
//Check for info.top file
echo Md_ProcessText($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.$MD_SETTINGS['INFO_TOP_FILE'],$parsedown);
... | <|file_sep|>md/md-header.php.diff
original:
<div class="one columns">
updated:
<div class="one column">
<|file_sep|>md/md-header.php.diff
original:
<div class="eight columns">
updated:
<div class="five columns">
<|file_sep|>original/md/md-header.php
?>
</div>
<div class="three columns">
... | fcd793874fce828b67bd1214d527249ce593af6e | md/md-header.php | md/md-header.php | PHP |
<|file_sep|>original/README.md
Versions can be added to includes just like tags in docker images:
```dockerfile
FROM debian:jessie
INCLUDE github.com/thekid/gosu:v1.0.0
CMD ["/bin/bash"]
```
Including subdirectories
------------------------
The following will include the `Dockerfile` from the subdirectory `7.0` rat... | ```dockerfile
FROM debian:jessie
INCLUDE github.com/thekid/gosu:v1.0.0
CMD ["/bin/bash"]
```
Including subdirectories
------------------------
The following will include the `Dockerfile` from the subdirectory `7.0` rather than from the repository root.
```dockerfile
FROM debian:jessie
INCLUDE github.com/docker-lib... | <|file_sep|>original/README.md
Versions can be added to includes just like tags in docker images:
```dockerfile
FROM debian:jessie
INCLUDE github.com/thekid/gosu:v1.0.0
CMD ["/bin/bash"]
```
Including subdirectories
------------------------
The following will include the `Dockerfile` from the subdirectory `7.0` rat... | 71d335c3182ca548b5d293bf860f07390e189008 | README.md | README.md | Markdown |
<|file_sep|>original/templates/before.js
hash: "",
username: "",
password: ""
};
var document = { body: {}, createTextNode: function() {}, location: location };
if (typeof FileList === "undefined") {
FileList = function() {};
}
if (typeof XMLHttpRequest === "undefined") {
XMLHttpRequest = function() {
... | hash: "",
username: "",
password: ""
};
var document = { body: {}, createTextNode: function() {}, location: location };
if (typeof FileList === "undefined") {
FileList = function() {};
}
if (typeof File === "undefined") {
File = function() {};
}
if (typeof XMLHttpRequest === "undefined") {
XMLHttpRe... | <|file_sep|>original/templates/before.js
hash: "",
username: "",
password: ""
};
var document = { body: {}, createTextNode: function() {}, location: location };
if (typeof FileList === "undefined") {
FileList = function() {};
}
if (typeof XMLHttpRequest === "undefined") {
XMLHttpRequest = function() {
... | fa58d23cdea250f1e3c33e648f264e01ad66bad7 | templates/before.js | templates/before.js | JavaScript |
<|file_sep|>original/src/math/numbertheory/reducer.h
#include <botan/numthry.h>
namespace Botan {
/*
* Modular Reducer
*/
class BOTAN_DLL Modular_Reducer
{
public:
BigInt reduce(const BigInt& x) const;
/**
* Multiply mod p
*/
BigInt multiply(const BigInt& x, const BigInt& y) const... | #include <botan/numthry.h>
namespace Botan {
/*
* Modular Reducer
*/
class BOTAN_DLL Modular_Reducer
{
public:
const BigInt& get_modulus() const { return modulus; }
BigInt reduce(const BigInt& x) const;
/**
* Multiply mod p
*/
BigInt multiply(const BigInt& x, const BigInt& ... | <|file_sep|>original/src/math/numbertheory/reducer.h
#include <botan/numthry.h>
namespace Botan {
/*
* Modular Reducer
*/
class BOTAN_DLL Modular_Reducer
{
public:
BigInt reduce(const BigInt& x) const;
/**
* Multiply mod p
*/
BigInt multiply(const BigInt& x, const BigInt& y) const... | 93873731f73e905d8714556f1ebe23acb32de0e1 | src/math/numbertheory/reducer.h | src/math/numbertheory/reducer.h | C |
<|file_sep|>original/app/models/author.rb
class Author < ActiveRecord::Base
has_many :unit_templates
DEFAULT_AVATAR_URL = 'http://jaredsilver.name/headshot.jpg'
def avatar_url
self.avatar.blank? ? DEFAULT_AVATAR_URL : self.avatar
end
end
<|file_sep|>current/app/models/author.rb
class Author < ActiveRecord... | class Author < ActiveRecord::Base
has_many :unit_templates
DEFAULT_AVATAR_URL = 'https://assets.quill.org/images/authors/placeholder.png'
def avatar_url
self.avatar.blank? ? DEFAULT_AVATAR_URL : self.avatar
end
end | <|file_sep|>original/app/models/author.rb
class Author < ActiveRecord::Base
has_many :unit_templates
DEFAULT_AVATAR_URL = 'http://jaredsilver.name/headshot.jpg'
def avatar_url
self.avatar.blank? ? DEFAULT_AVATAR_URL : self.avatar
end
end
<|file_sep|>current/app/models/author.rb
class Author < ActiveRecord... | 6391fe8119b46af94ca4c93b826590fece8a8099 | app/models/author.rb | app/models/author.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
updated:
#- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
#- echo "deb http... | #- sys-img-x86-android-17
sudo: true
os:
- linux
dist:
- xenial
before_install:
- curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
#- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
#- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.l... | <|file_sep|>.travis.yml.diff
original:
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
updated:
#- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
#- echo "deb http... | 4c2b9db07e27af2a5bdc9eefb8ecd7a4e472a06c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/models/src/main/java/org/opencb/biodata/models/variant/VariantAggregatedVcfFactory.java
<|file_sep|>current/models/src/main/java/org/opencb/biodata/models/variant/VariantAggregatedVcfFactory.java
<|file_sep|>updated/models/src/main/java/org/opencb/biodata/models/variant/VariantAggregatedVcfFactor... | package org.opencb.biodata.models.variant;
import org.opencb.biodata.models.variant.stats.VariantStats;
/**
* @author Alejandro Aleman Ramos <aaleman@cipf.es>
* @author Cristina Yenyxe Gonzalez Garcia <cyenyxe@ebi.ac.uk>
*/
public class VariantAggregatedVcfFactory extends VariantVcfFactory {
@Override
pr... | <|file_sep|>original/models/src/main/java/org/opencb/biodata/models/variant/VariantAggregatedVcfFactory.java
<|file_sep|>current/models/src/main/java/org/opencb/biodata/models/variant/VariantAggregatedVcfFactory.java
<|file_sep|>updated/models/src/main/java/org/opencb/biodata/models/variant/VariantAggregatedVcfFactor... | 8e6150facaf33172b69cf21f5340d5e137683ccd | models/src/main/java/org/opencb/biodata/models/variant/VariantAggregatedVcfFactory.java | models/src/main/java/org/opencb/biodata/models/variant/VariantAggregatedVcfFactory.java | Java |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
services:
- riak
before_install: ./fix_travis_riak.sh
install:
# We easy_install a binary riak_pb package because pip install needs `protoc'.
- "easy_install riak_pb"
- "pip install -r requirements.pip --use-mirrors"
- "python setup... | language: python
python:
- "2.6"
- "2.7"
services:
- riak
before_install: ./fix_travis_riak.sh
install:
# We easy_install a binary riak_pb package because pip install needs `protoc'.
- "easy_install riak_pb<1.3.0"
- "pip install -r requirements.pip --use-mirrors"
- "python setup.py install"
script: trial ... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
services:
- riak
before_install: ./fix_travis_riak.sh
install:
# We easy_install a binary riak_pb package because pip install needs `protoc'.
- "easy_install riak_pb"
- "pip install -r requirements.pip --use-mirrors"
- "python setup... | 9404a8295ba7138b284c760049c25e40b6b69126 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/packages/notebook-app-component/src/decorators/undoable-delete.tsx
message: string;
isDeleting: boolean;
doDelete: () => void;
doUndo: () => void;
children?: React.ReactNode;
}
class TimedUndoableDelete
extends React.PureComponent<Props> {
timer: NodeJS.Timeout | null = null;
com... | message: string;
isDeleting: boolean;
doDelete: () => void;
doUndo: () => void;
children?: React.ReactNode;
}
class TimedUndoableDelete
extends React.PureComponent<Props> {
timer: number | null = null;
componentDidMount(): void {
this.timer = setTimeout(
this.props.doDelete,
this.prop... | <|file_sep|>original/packages/notebook-app-component/src/decorators/undoable-delete.tsx
message: string;
isDeleting: boolean;
doDelete: () => void;
doUndo: () => void;
children?: React.ReactNode;
}
class TimedUndoableDelete
extends React.PureComponent<Props> {
timer: NodeJS.Timeout | null = null;
com... | d3b113cdf05decdc7b3d94b44f102fe8cfa13a80 | packages/notebook-app-component/src/decorators/undoable-delete.tsx | packages/notebook-app-component/src/decorators/undoable-delete.tsx | TypeScript |
<|file_sep|>original/lib/app/views/teams/show.erb
<div class="container">
<section class="page-header">
<h1>
Team <%= h(team.name) %>
<% if team.managed_by?(current_user) %>
<a href="/teams/<%= team.slug %>/manage" class="btn btn-default">Manage</a>
<% end %>
</h1>
</section>
... | <div class="container">
<section class="page-header">
<h1>
Team <%= h(team.name) %>
<% if team.managed_by?(current_user) %>
<a href="/teams/<%= team.slug %>/manage" class="btn btn-default">Manage</a>
<% end %>
</h1>
</section>
<h3><%= team.all_members.size %> members</h3>
<p... | <|file_sep|>original/lib/app/views/teams/show.erb
<div class="container">
<section class="page-header">
<h1>
Team <%= h(team.name) %>
<% if team.managed_by?(current_user) %>
<a href="/teams/<%= team.slug %>/manage" class="btn btn-default">Manage</a>
<% end %>
</h1>
</section>
... | afddc4c6b795e6aec9251f537a3e2f2c8683d281 | lib/app/views/teams/show.erb | lib/app/views/teams/show.erb | HTML+ERB |
<|file_sep|>original/lib/wrkflo/steps/atom.rb
class AtomStep < Step
add_alias :atom
def run
log "Opening an Atom Window at #{config}"
`atom #{config}`
end
end
0
<|file_sep|>current/lib/wrkflo/steps/atom.rb
class AtomStep < Step
add_alias :atom
def run
log "Opening an Atom Window at #{config}"
... | class AtomStep < Step
add_alias :atom
def run
log "Opening an Atom Window at #{config}"
`atom #{config}`
end
end | <|file_sep|>original/lib/wrkflo/steps/atom.rb
class AtomStep < Step
add_alias :atom
def run
log "Opening an Atom Window at #{config}"
`atom #{config}`
end
end
0
<|file_sep|>current/lib/wrkflo/steps/atom.rb
class AtomStep < Step
add_alias :atom
def run
log "Opening an Atom Window at #{config}"
... | 4e18525cffa6c39c906fd413f9e89d2297639bc8 | lib/wrkflo/steps/atom.rb | lib/wrkflo/steps/atom.rb | Ruby |
<|file_sep|>original/app.rb
Bundler.require
require 'sinatra/asset_pipeline'
class App < Sinatra::Base
set :assets_precompile, %w(app.js app.css *.png *.jpg *.svg *.eot *.ttf *.woff *.ogg *.mp3 *.json *.xml)
set :assets_host, 'files.bryanbibat.net'
set :assets_css_compressor, :sass
set :assets_js_compressor, ... | Bundler.require
require 'sinatra/asset_pipeline'
class App < Sinatra::Base
set :assets_precompile, %w(app.js app.css *.png *.jpg *.svg *.eot *.ttf *.woff *.ogg *.mp3 *.json *.xml)
set :assets_host, 'datenshizero.github.io'
set :assets_css_compressor, :sass
set :assets_js_compressor, :uglifier
Sprockets::He... | <|file_sep|>original/app.rb
Bundler.require
require 'sinatra/asset_pipeline'
class App < Sinatra::Base
set :assets_precompile, %w(app.js app.css *.png *.jpg *.svg *.eot *.ttf *.woff *.ogg *.mp3 *.json *.xml)
set :assets_host, 'files.bryanbibat.net'
set :assets_css_compressor, :sass
set :assets_js_compressor, ... | 7fed8fa2f4c538a12650a4c1fc80a1e5ff9058d6 | app.rb | app.rb | Ruby |
<|file_sep|>original/appengine/flexible/Pubsub/appsettings.json
{
"Pubsub": {
"ProjectId": "your-project-id",
"VerificationToken": "your-secret-token",
"TopicId": "mytopic",
"SubscriptionId": "mysubscription"
},
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug... | {
"Pubsub": {
"ProjectId": "your-project-id",
"VerificationToken": "your-secret-token",
"TopicId": "your-topic",
"SubscriptionId": "your-subscription"
},
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Info... | <|file_sep|>original/appengine/flexible/Pubsub/appsettings.json
{
"Pubsub": {
"ProjectId": "your-project-id",
"VerificationToken": "your-secret-token",
"TopicId": "mytopic",
"SubscriptionId": "mysubscription"
},
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug... | 482c4e0d5a0e7a771bf186e5ede7ad416bedfbdb | appengine/flexible/Pubsub/appsettings.json | appengine/flexible/Pubsub/appsettings.json | JSON |
<|file_sep|>main.go.diff
original:
app.Action = func(c *cli.Context) {
svc := cloudformation.New(nil)
resp, err := svc.ListStacks(nil)
if err != nil {
println(err.Error())
return
}
updated:
<|file_sep|>original/main.go
package main
import (
"os"
"fmt"
"github.com/codegangsta/cli"
... | "fmt"
"github.com/codegangsta/cli"
"github.com/aws/aws-sdk-go/service/cloudformation"
)
func main() {
app := cli.NewApp()
app.Name = "forecast"
app.Usage = "cloudformation dry-run"
app.Commands = []cli.Command{
{
Name: "list",
Aliases: []string{"l"},
Usage: "list stack... | <|file_sep|>main.go.diff
original:
app.Action = func(c *cli.Context) {
svc := cloudformation.New(nil)
resp, err := svc.ListStacks(nil)
if err != nil {
println(err.Error())
return
}
updated:
<|file_sep|>original/main.go
package main
import (
"os"
"fmt"
"github.com/codegangsta/cli"
... | 206cadb425547dc00220e6166dea993fd865058c | main.go | main.go | Go |
<|file_sep|>original/setup.py
]
tests_require = [
'exam',
'pytest',
]
setup(
name='toronado',
version='0.0.4',
author='ted kaemming, disqus',
author_email='ted@disqus.com',
packages=find_packages(exclude=('tests',)),
install_requires=install_requires,
tests_require=tests_require,
... | setup(
name='toronado',
version='0.0.4',
author='ted kaemming, disqus',
author_email='ted@disqus.com',
packages=find_packages(exclude=('tests',)),
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'tests': tests_require,
},
zip_safe=False,
... | <|file_sep|>original/setup.py
]
tests_require = [
'exam',
'pytest',
]
setup(
name='toronado',
version='0.0.4',
author='ted kaemming, disqus',
author_email='ted@disqus.com',
packages=find_packages(exclude=('tests',)),
install_requires=install_requires,
tests_require=tests_require,
... | da4684ef09e0edee3a2d147d759d53f0944abf2f | setup.py | setup.py | Python |
<|file_sep|>original/index.md
Stephen King's It
##### educational
Pragmatic Programmer (I have a need to keep improving myself)
#### Manga
Dragon Ball (I'm obsessed)
## Pets
I have two crazy, smart, and silly blue heelers, Kira and Dino.

#### Manga
Dragon Ball (I'm obsessed)
## Pets
I have two crazy, smart, and silly blue heelers, Kira and Dino.

## Links directory
* [Git... | <|file_sep|>original/index.md
Stephen King's It
##### educational
Pragmatic Programmer (I have a need to keep improving myself)
#### Manga
Dragon Ball (I'm obsessed)
## Pets
I have two crazy, smart, and silly blue heelers, Kira and Dino.
,
new SimpleDateFormat("dd MMM yyyy ... | <|file_sep|>src/main/java/com/icosillion/podengine/utils/DateUtils.java.diff
original:
updated:
import java.util.Locale;
<|file_sep|>original/src/main/java/com/icosillion/podengine/utils/DateUtils.java
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class DateUtils {... | 7228d4db754fc0c57f6c2e5ad8d45c0b0b909a08 | src/main/java/com/icosillion/podengine/utils/DateUtils.java | src/main/java/com/icosillion/podengine/utils/DateUtils.java | Java |
<|file_sep|>www/deviceinformation.js.diff
original:
updated:
var exec = require("cordova/exec");
<|file_sep|>www/deviceinformation.js.diff
original:
var exec = require("cordova/exec");
updated:
<|file_sep|>www/deviceinformation.js.diff
original:
updated:
<|file_sep|>www/deviceinformation.js.diff
o... | var exec = require("cordova/exec");
var DeviceInformationLoader = function (require, exports, module) {
function DeviceInformation () {}
DeviceInformation.prototype.get = function (successFunc, failFunc) {
exec(successFunc, failFunc, "DeviceInformation","get",[]);
};
var deviceInformation = ... | <|file_sep|>www/deviceinformation.js.diff
original:
updated:
var exec = require("cordova/exec");
<|file_sep|>www/deviceinformation.js.diff
original:
var exec = require("cordova/exec");
updated:
<|file_sep|>www/deviceinformation.js.diff
original:
updated:
<|file_sep|>www/deviceinformation.js.diff
o... | 9f90f64aa998c814b4994bba3e3c82c350363b41 | www/deviceinformation.js | www/deviceinformation.js | JavaScript |
<|file_sep|>original/project/project/Plugins.scala
import sbt._
import Keys._
object Plugins extends Build {
lazy val plugins = Project(
"plugins",
file("."),
settings = Defaults.defaultSettings ++ Seq(
libraryDependencies += ("com.github.siasia" %% "xsbt-web-plugin" % "0.12.0-0.2.11.1"),
add... | import sbt._
import Keys._
object Plugins extends Build {
lazy val plugins = Project(
"plugins",
file("."),
settings = Defaults.defaultSettings ++ Seq(
libraryDependencies += ("com.github.siasia" %% "xsbt-web-plugin" % "0.12.0-0.2.11.1"),
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.... | <|file_sep|>original/project/project/Plugins.scala
import sbt._
import Keys._
object Plugins extends Build {
lazy val plugins = Project(
"plugins",
file("."),
settings = Defaults.defaultSettings ++ Seq(
libraryDependencies += ("com.github.siasia" %% "xsbt-web-plugin" % "0.12.0-0.2.11.1"),
add... | c10baf3d4966e736569fd7a9f356477389484045 | project/project/Plugins.scala | project/project/Plugins.scala | Scala |
<|file_sep|>tox.ini.diff
original:
envlist = {py27,py33,py34}-django{17,18,19}
updated:
envlist = {py27,py33,py34,py35}-django{17,18,19,110}
<|file_sep|>original/tox.ini
[tox]
# Ensure you add to .travis.yml if you add here
envlist = {py27,py33,py34}-django{17,18,19}
[testenv]
commands = python -W all:"":"":"":0 -m co... | [tox]
# Ensure you add to .travis.yml if you add here
envlist = {py27,py33,py34,py35}-django{17,18,19,110}
[testenv]
commands = python -W all:"":"":"":0 -m coverage run --source=django_nyt runtests.py
deps =
coverage
six==1.6.1
django17: Django==1.7.10
django18: Django==1.8.5
django19: Django=... | <|file_sep|>tox.ini.diff
original:
envlist = {py27,py33,py34}-django{17,18,19}
updated:
envlist = {py27,py33,py34,py35}-django{17,18,19,110}
<|file_sep|>original/tox.ini
[tox]
# Ensure you add to .travis.yml if you add here
envlist = {py27,py33,py34}-django{17,18,19}
[testenv]
commands = python -W all:"":"":"":0 -m co... | 2979fcd4fe44953270f83c423ba61d1eacd3c917 | tox.ini | tox.ini | INI |
<|file_sep|>prow/prowjobs/google/exposure-notifications-verification-server/en-verification-server.yaml.diff
original:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/gcs-access-service-account/service-account.json
- name: GOOGLE_CLOUD_BUCKET
value: apollo-server-prow-test-bucket
... | always_run: true
decorate: true
labels:
preset-dind-enabled: "true"
spec:
containers:
- image: gcr.io/cloud-devrel-public-resources/exposure-notifications/presubmit-test
command:
- /bin/runner.sh
args:
- ./scripts/presubmit.sh
env:
- name... | <|file_sep|>prow/prowjobs/google/exposure-notifications-verification-server/en-verification-server.yaml.diff
original:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/gcs-access-service-account/service-account.json
- name: GOOGLE_CLOUD_BUCKET
value: apollo-server-prow-test-bucket
... | 9a5295e985daeab8545c8ee8fd59d3e2b0ddfc26 | prow/prowjobs/google/exposure-notifications-verification-server/en-verification-server.yaml | prow/prowjobs/google/exposure-notifications-verification-server/en-verification-server.yaml | YAML |
<|file_sep|>original/metadata/com.tobiaskuban.android.monthcalendarwidgetfoss.txt
Summary:Calendar widget of the current month
Description:
A Month Calendar widget for Android 4.1+
Month Calendar Widget is a simplistic, cute widget
that delivers you a quick overview of the respective month
and was written in a way to ... | Month Calendar Widget is a simplistic, cute widget
that delivers you a quick overview of the respective month
and was written in a way to respect your privacy.
.
Repo Type:git
Repo:https://github.com/alterechtschreibung/MonthCalendarWidget2FOSS.git
Build:1.1.4,4
commit=1.1.4
target=android-19
Build:1.2.0,5
... | <|file_sep|>original/metadata/com.tobiaskuban.android.monthcalendarwidgetfoss.txt
Summary:Calendar widget of the current month
Description:
A Month Calendar widget for Android 4.1+
Month Calendar Widget is a simplistic, cute widget
that delivers you a quick overview of the respective month
and was written in a way to ... | eb1c28127de46c5b540a85b8c76c4af4ae188e16 | metadata/com.tobiaskuban.android.monthcalendarwidgetfoss.txt | metadata/com.tobiaskuban.android.monthcalendarwidgetfoss.txt | Text |
<|file_sep|>original/app/views/speeches/_document_extra_metadata.html.erb
<dt><%= t_delivered_on(document.speech_type) %></dt>
<dd class="delivered-on"><%= absolute_date(document.delivered_on) %> <% if document.explanation %><span class="explanation">(<%= document.explanation %>)</span><% end %>
</dd>
<% if document.lo... | <dt><%= t_delivered_on(document.speech_type) %></dt>
<dd class="delivered-on"><%= absolute_date(document.delivered_on) %> <% if document.explanation %><span class="explanation">(<%= document.explanation %>)</span><% end %>
</dd>
<% if document.location.present? %>
<dt><%= t('document.headings.location') %>:</dt>
<d... | <|file_sep|>original/app/views/speeches/_document_extra_metadata.html.erb
<dt><%= t_delivered_on(document.speech_type) %></dt>
<dd class="delivered-on"><%= absolute_date(document.delivered_on) %> <% if document.explanation %><span class="explanation">(<%= document.explanation %>)</span><% end %>
</dd>
<% if document.lo... | 681cb88a7aa4f77827f8bf4fce778fcd0be1a1e4 | app/views/speeches/_document_extra_metadata.html.erb | app/views/speeches/_document_extra_metadata.html.erb | HTML+ERB |
<|file_sep|>original/subprojects/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingCompileAvoidanceIntegrationTest.groovy
<|file_sep|>current/subprojects/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingCompileAvoidanceIntegrationTest.groovy
... | /*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | <|file_sep|>original/subprojects/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingCompileAvoidanceIntegrationTest.groovy
<|file_sep|>current/subprojects/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingCompileAvoidanceIntegrationTest.groovy
... | 4ffbbaff7ea8d0c8b9b66b8cd2e5dcfc7c55b5fa | subprojects/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingCompileAvoidanceIntegrationTest.groovy | subprojects/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingCompileAvoidanceIntegrationTest.groovy | Groovy |
<|file_sep|>original/plugins/markdown/plugin.rb
# the kramdown RubyGem.
#
# == Configuration
# None.
module MarkdownPlugin
include Chessboard::Plugin
add_markup "Markdown", :process => :markup_markdown
def markup_markdown(text)
kdoc = Kramdown::Document.new(text,
:auto_ids ... | # None.
module MarkdownPlugin
include Chessboard::Plugin
add_markup "Markdown", :process => :markup_markdown
def markup_markdown(text)
kdoc = Kramdown::Document.new(text,
:auto_ids => false,
:remove_block_html_tags => true,
... | <|file_sep|>original/plugins/markdown/plugin.rb
# the kramdown RubyGem.
#
# == Configuration
# None.
module MarkdownPlugin
include Chessboard::Plugin
add_markup "Markdown", :process => :markup_markdown
def markup_markdown(text)
kdoc = Kramdown::Document.new(text,
:auto_ids ... | b936c191e9c33f84d0a2b2d235bfcf494c463acd | plugins/markdown/plugin.rb | plugins/markdown/plugin.rb | Ruby |
<|file_sep|>original/package.json
"bot"
],
"author": "awau",
"license": "MIT",
"bugs": {
"url": "https://github.com/awau/Clara/issues"
},
"homepage": "https://github.com/awau/Clara#readme",
"dependencies": {
"bluebird": "^3.5.0",
"chalk": "^1.1.3",
"eris": "github:abalabahaha/eris",
... | ],
"author": "awau",
"license": "MIT",
"bugs": {
"url": "https://github.com/awau/Clara/issues"
},
"homepage": "https://github.com/awau/Clara#readme",
"dependencies": {
"bluebird": "^3.5.0",
"chalk": "^1.1.3",
"eris": "github:abalabahaha/eris",
"rethinkdbdash": "^2.3.28",
"decache":... | <|file_sep|>original/package.json
"bot"
],
"author": "awau",
"license": "MIT",
"bugs": {
"url": "https://github.com/awau/Clara/issues"
},
"homepage": "https://github.com/awau/Clara#readme",
"dependencies": {
"bluebird": "^3.5.0",
"chalk": "^1.1.3",
"eris": "github:abalabahaha/eris",
... | 8fd354a5c2cc5ba3371092ea7719e99139d4fbde | package.json | package.json | JSON |
<|file_sep|>original/index.js
// auto remove any uploaded files on response end
// to persist uploaded files, simply move them to a permanent location,
// or delete the req.files[key] before the response end.
module.exports = function(req, res, next) {
var reapFiles = function reapFiles() {
var file;
if (typeof re... | // auto remove any uploaded files on response end
// to persist uploaded files, simply move them to a permanent location,
// or delete the req.files[key] before the response end.
module.exports = function(req, res, next) {
var reapFiles = function reapFiles() {
var file;
if (typeof req.files === "object") {
for... | <|file_sep|>original/index.js
// auto remove any uploaded files on response end
// to persist uploaded files, simply move them to a permanent location,
// or delete the req.files[key] before the response end.
module.exports = function(req, res, next) {
var reapFiles = function reapFiles() {
var file;
if (typeof re... | f2a710f42614b083247511e42ebf75d038ead2b4 | index.js | index.js | JavaScript |
<|file_sep|>original/package.json
},
"keywords": [
"Tfk",
"Telemark fylkeskommune",
"dsf",
"contact",
"unwrap"
],
"repository": {
"type": "git",
"url": "http://github.com/telemark/tfk-dsf-unwrap-contact.git"
},
"bugs": {
"url": "http://github.com/telemark/tfk-dsf-unwrap-conta... | },
"keywords": [
"Tfk",
"Telemark fylkeskommune",
"dsf",
"contact",
"unwrap"
],
"repository": {
"type": "git",
"url": "http://github.com/telemark/tfk-dsf-unwrap-contact.git"
},
"bugs": {
"url": "http://github.com/telemark/tfk-dsf-unwrap-contact/issues"
},
"devDependencies... | <|file_sep|>original/package.json
},
"keywords": [
"Tfk",
"Telemark fylkeskommune",
"dsf",
"contact",
"unwrap"
],
"repository": {
"type": "git",
"url": "http://github.com/telemark/tfk-dsf-unwrap-contact.git"
},
"bugs": {
"url": "http://github.com/telemark/tfk-dsf-unwrap-conta... | 1578c8cfea478ed6790e45edb65a49d10ccdbd51 | package.json | package.json | JSON |
<|file_sep|>original/app/views/users/edit.html.erb
<% content_for :scripts do %>
<%= javascript_include_tag 'users' %>
<% end %>
<h3>Editing profile</h3>
<div id="request_notification_permission">
<%= link_to "", "#" %>
<div id="notification_not_supported" style="display: none">Note: notifications are not suppo... | <% content_for :scripts do %>
<%= javascript_include_tag 'users' %>
<% end %>
<h3>Editing profile</h3>
<div class="row">
<div class="col-md-6 col-sm-10">
<%= render 'form' %>
</div>
</div>
<%= link_to 'Back', current_user %> | <|file_sep|>original/app/views/users/edit.html.erb
<% content_for :scripts do %>
<%= javascript_include_tag 'users' %>
<% end %>
<h3>Editing profile</h3>
<div id="request_notification_permission">
<%= link_to "", "#" %>
<div id="notification_not_supported" style="display: none">Note: notifications are not suppo... | 1e073e0ef231ff718a8ab3c7f247581ac890c947 | app/views/users/edit.html.erb | app/views/users/edit.html.erb | HTML+ERB |
<|file_sep|>original/example/component.json
{
"name": "angular-authentication-example",
"version": "1.0.0",
"dependencies": {
"angular": "~1.0.5",
"angular-http-auth": "git@github.com:qloo/angular-http-auth.git",
"angular-mocks": "~1.0.5"
}
}
<|file_sep|>current/example/component.json
{
"name": "a... | {
"name": "angular-authentication-example",
"version": "1.0.0",
"dependencies": {
"jquery": "~1.9.1",
"angular": "~1.0.5",
"angular-http-auth": "git@github.com:qloo/angular-http-auth.git",
"angular-mocks": "~1.0.5"
}
} | <|file_sep|>original/example/component.json
{
"name": "angular-authentication-example",
"version": "1.0.0",
"dependencies": {
"angular": "~1.0.5",
"angular-http-auth": "git@github.com:qloo/angular-http-auth.git",
"angular-mocks": "~1.0.5"
}
}
<|file_sep|>current/example/component.json
{
"name": "a... | 1bdbc73b3cf15da2d3d6b1637aff17bce50bcb80 | example/component.json | example/component.json | JSON |
<|file_sep|>original/tests/CompareFuncTest.php
<|file_sep|>current/tests/CompareFuncTest.php
<|file_sep|>updated/tests/CompareFuncTest.php | <?php
use Mimic\Functional as F;
/**
* Unit Test for true Mimic library function.
*
* @since 0.1.0
*
* @todo Need to use QuickTest library.
*/
class CompareFuncTest extends PHPUnit_Framework_TestCase {
public function dataProvider() {
return array(
array(true, 1, 1, true),
array(true, '1', 1, false),
... | <|file_sep|>original/tests/CompareFuncTest.php
<|file_sep|>current/tests/CompareFuncTest.php
<|file_sep|>updated/tests/CompareFuncTest.php
<?php
use Mimic\Functional as F;
/**
* Unit Test for true Mimic library function.
*
* @since 0.1.0
*
* @todo Need to use QuickTest library.
*/
class CompareFuncTest extend... | 90dd6f42500dbb47cc736238d74f05d2f0ffce48 | tests/CompareFuncTest.php | tests/CompareFuncTest.php | PHP |
<|file_sep|>original/bin/check_it.c
struct passwd *passwd = getpwuid(getuid());
int errno = setreuid(geteuid(), geteuid());
// errno = execle("/usr/bin/id", (char *) 0, envp);
if (errno == 0 && passwd != 0) {
// CHECKIT_USER will contain the name of the user that invoked us.
char user_eva... | int errno = setreuid(geteuid(), geteuid());
// errno = execle("/usr/bin/id", (char *) 0, envp);
if (errno == 0 && passwd != 0) {
// CHECKIT_USER will contain the name of the user that invoked us.
char user_evar[100];
snprintf(user_evar, 80, "CHECKIT_USER=%s", passwd->pw_name);
... | <|file_sep|>original/bin/check_it.c
struct passwd *passwd = getpwuid(getuid());
int errno = setreuid(geteuid(), geteuid());
// errno = execle("/usr/bin/id", (char *) 0, envp);
if (errno == 0 && passwd != 0) {
// CHECKIT_USER will contain the name of the user that invoked us.
char user_eva... | ad74ebb3ae7f3dee129f0ccce11100e3fcef1d4c | bin/check_it.c | bin/check_it.c | C |
<|file_sep|>original/gatsby-config.js
module.exports = {
siteMetadata: {
title: 'keff',
},
plugins: [
'gatsby-plugin-react-helmet',
'gatsby-plugin-sass',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'keff.me',
short_name: 'keff.me',
start_url: '/',
... | module.exports = {
siteMetadata: {
title: 'keff',
},
plugins: [
'gatsby-plugin-react-helmet',
'gatsby-plugin-sass',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'keff.dev',
short_name: 'keff.dev',
start_url: '/',
display: 'minimal-ui',
},
... | <|file_sep|>original/gatsby-config.js
module.exports = {
siteMetadata: {
title: 'keff',
},
plugins: [
'gatsby-plugin-react-helmet',
'gatsby-plugin-sass',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'keff.me',
short_name: 'keff.me',
start_url: '/',
... | edd98e21d2925002811d28920ecf4dc03151228f | gatsby-config.js | gatsby-config.js | JavaScript |
<|file_sep|>original/cookbooks/prometheus/templates/default/prometheus.yml.erb
<% @jobs.sort.each do |name, targets| -%>
- job_name: <%= name %>
static_configs:
<% targets.each do |target| -%>
- targets:
- "<%= target[:address] %>"
labels:
instance: <%= target[:instance] %>
<% en... | <% @jobs.sort.each do |name, targets| -%>
- job_name: <%= name %>
static_configs:
<% targets.each do |target| -%>
- targets:
- "<%= target[:address] %>"
labels:
instance: <%= target[:instance] %>
<% end -%>
metric_relabel_configs:
<% targets.each do |target| -%>
<% target[:me... | <|file_sep|>original/cookbooks/prometheus/templates/default/prometheus.yml.erb
<% @jobs.sort.each do |name, targets| -%>
- job_name: <%= name %>
static_configs:
<% targets.each do |target| -%>
- targets:
- "<%= target[:address] %>"
labels:
instance: <%= target[:instance] %>
<% en... | 9222321f7afd72492b3a4d7749f5a8fab35084ef | cookbooks/prometheus/templates/default/prometheus.yml.erb | cookbooks/prometheus/templates/default/prometheus.yml.erb | HTML+ERB |
<|file_sep|>original/responsive/context_processors.py
from __future__ import unicode_literals
from .conf import BREAKPOINTS
def _get_device_type(width):
"Returns the type based on set breakpoints."
sorted_types = sorted(BREAKPOINTS.items(), key=lambda x: x[1])
default_type = None
for name, cutoff in ... | from __future__ import unicode_literals
from .conf import BREAKPOINTS
def _get_device_type(width):
"Returns the type based on set breakpoints."
sorted_types = sorted(BREAKPOINTS.items(), key=lambda x: x[1] or 0)
default_type = None
for name, cutoff in sorted_types:
if cutoff is None:
... | <|file_sep|>original/responsive/context_processors.py
from __future__ import unicode_literals
from .conf import BREAKPOINTS
def _get_device_type(width):
"Returns the type based on set breakpoints."
sorted_types = sorted(BREAKPOINTS.items(), key=lambda x: x[1])
default_type = None
for name, cutoff in ... | 18e0a57f133779b2001b93f9d16ef500f449ebd9 | responsive/context_processors.py | responsive/context_processors.py | Python |
<|file_sep|>original/app/controllers/questions_controller.rb
def create
if logged_in?
@question = Question.new(params[:question].permit(:title, :content))
@question.asker_id = current_user.id
if @question.save
redirect_to question_path(@question)
else
flash[:notice] = @ques... | if logged_in?
@question = Question.new(params[:question].permit(:title, :content))
@question.asker_id = current_user.id
if @question.save
redirect_to question_path(@question)
else
flash[:notice] = @question.errors.full_messages.join(", ")
render :new
end
els... | <|file_sep|>original/app/controllers/questions_controller.rb
def create
if logged_in?
@question = Question.new(params[:question].permit(:title, :content))
@question.asker_id = current_user.id
if @question.save
redirect_to question_path(@question)
else
flash[:notice] = @ques... | 0154edd6c079d506c308b1697a46d7da6a8831ec | app/controllers/questions_controller.rb | app/controllers/questions_controller.rb | Ruby |
<|file_sep|>app/models/LDAP/Object.scala.diff
original:
updated:
package app.models
<|file_sep|>original/app/models/LDAP/Object.scala
//TODO: Add attributeses
case class ActiveDirectoryUser(
cn: String,
displayName: String,
distinguishedName: String,
name: String,
sAMAccountName: String,
sn: String,
use... | package app.models
//TODO: Add attributeses
case class ActiveDirectoryUser(
dn: Option[String],
cn: Option[String],
displayName: Option[String],
distinguishedName: Option[String],
name: Option[String],
sAMAccountName: Option[String],
sn: Option[String],
userPrincipalName: Option[String]
) | <|file_sep|>app/models/LDAP/Object.scala.diff
original:
updated:
package app.models
<|file_sep|>original/app/models/LDAP/Object.scala
//TODO: Add attributeses
case class ActiveDirectoryUser(
cn: String,
displayName: String,
distinguishedName: String,
name: String,
sAMAccountName: String,
sn: String,
use... | 416654a31e2ae33a5a909087e67bae22b94f329e | app/models/LDAP/Object.scala | app/models/LDAP/Object.scala | Scala |
<|file_sep|>original/_posts/2015-09-06-entry1.md
<|file_sep|>current/_posts/2015-09-06-entry1.md
<|file_sep|>updated/_posts/2015-09-06-entry1.md | ---
layout: post
title: Week of 06 Sept
---
The second week of Software Engineering started to pick up a bit as we were introduced to our first project. I thought how Professor Downing went over the major components of the project each class day was really useful in digesting all the requirements introduced in the pro... | <|file_sep|>original/_posts/2015-09-06-entry1.md
<|file_sep|>current/_posts/2015-09-06-entry1.md
<|file_sep|>updated/_posts/2015-09-06-entry1.md
---
layout: post
title: Week of 06 Sept
---
The second week of Software Engineering started to pick up a bit as we were introduced to our first project. I thought how Profe... | b0116c246eb0ca47e7820ae6638aa646034badfc | _posts/2015-09-06-entry1.md | _posts/2015-09-06-entry1.md | Markdown |
<|file_sep|>original/app/views/admin/operators/_routes_with_code.haml
%h3= t(:routes_with_code)
=link_to t(:check_all), '', :id => 'assign-all-routes'
=link_to t(:uncheck_all), '', :id => 'unassign-all-routes'
%table.new-operator-routes
%tr
%th= t(:name)
%th= t(:region)
%th= t(:terminuses)
%th= t(:sea... | %h3= t(:routes_with_code)
=link_to t(:check_all), '', :id => 'assign-all-routes'
=link_to t(:uncheck_all), '', :id => 'unassign-all-routes'
%table.new-operator-routes
%tr
%th= t(:name)
%th= t(:region)
%th= t(:terminuses)
%th= t(:search)
%th= t(:assign_to_operator)
- @routes.each do |route|
... | <|file_sep|>original/app/views/admin/operators/_routes_with_code.haml
%h3= t(:routes_with_code)
=link_to t(:check_all), '', :id => 'assign-all-routes'
=link_to t(:uncheck_all), '', :id => 'unassign-all-routes'
%table.new-operator-routes
%tr
%th= t(:name)
%th= t(:region)
%th= t(:terminuses)
%th= t(:sea... | c29bf451ef9a579c009a71aff08a8a29578d6d8f | app/views/admin/operators/_routes_with_code.haml | app/views/admin/operators/_routes_with_code.haml | Haml |
<|file_sep|>compiler/src/it/producers-functional-tests/src/main/java/producerstest/monitoring/ThreadModule.java.diff
original:
updated:
import com.google.common.util.concurrent.ListenableFuture;
<|file_sep|>original/compiler/src/it/producers-functional-tests/src/main/java/producerstest/monitoring/ThreadModule.java
@... | final class ThreadModule {
@Produces
@Deferred
Object deferred(ThreadAccumulator acc) {
acc.markThread("deferred");
return new Object();
}
@Produces
@Required
ListenableFuture<Object> required(@Deferred Producer<Object> o, ThreadAccumulator acc) {
acc.markThread("required");
return o.get(... | <|file_sep|>compiler/src/it/producers-functional-tests/src/main/java/producerstest/monitoring/ThreadModule.java.diff
original:
updated:
import com.google.common.util.concurrent.ListenableFuture;
<|file_sep|>original/compiler/src/it/producers-functional-tests/src/main/java/producerstest/monitoring/ThreadModule.java
@... | 097b0095025370cedada669227d1307c4debf569 | compiler/src/it/producers-functional-tests/src/main/java/producerstest/monitoring/ThreadModule.java | compiler/src/it/producers-functional-tests/src/main/java/producerstest/monitoring/ThreadModule.java | Java |
<|file_sep|>original/mc_query.gemspec
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mc_query/version'
Gem::Specification.new do |spec|
spec.name = "mc_query"
spec.version = MCQuery::VERSION
spec.authors = ["Taylor ... | # coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mc_query/version'
Gem::Specification.new do |spec|
spec.name = "mc_query"
spec.version = MCQuery::VERSION
spec.authors = ["Taylor Blau"]
spec.email = ["me@tta... | <|file_sep|>original/mc_query.gemspec
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mc_query/version'
Gem::Specification.new do |spec|
spec.name = "mc_query"
spec.version = MCQuery::VERSION
spec.authors = ["Taylor ... | d78290c72c74aee59e8036f5a3997bb1e5109852 | mc_query.gemspec | mc_query.gemspec | Ruby |
<|file_sep|>original/setup.py
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and ... | raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in memory.',
vers... | <|file_sep|>original/setup.py
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and ... | bf24b8dab13c3779514a00d61c3ea440704b1cbf | setup.py | setup.py | Python |
<|file_sep|>tests/seattle_benchmark.py.diff
original:
print "Done: " + str((et - t) * 1000.0) + " -- raw JSON in: " + str((ett - tt) * 1000.0)
updated:
read_delta = (et - t) * 1000.0
print "Done: " + str(read_delta) + " -- raw JSON in: " + str((ett - tt) * 1000.0)
return read_delta
<|file_sep|>origi... | def run_tests(data):
datas = StringIO(data)
t = time.time()
JsonUnmarshaler().load(datas)
et = time.time()
datas = StringIO(data)
tt = time.time()
json.load(datas)
ett = time.time()
read_delta = (et - t) * 1000.0
print "Done: " + str(read_delta) + " -- raw JSON in: " + str((ett... | <|file_sep|>tests/seattle_benchmark.py.diff
original:
print "Done: " + str((et - t) * 1000.0) + " -- raw JSON in: " + str((ett - tt) * 1000.0)
updated:
read_delta = (et - t) * 1000.0
print "Done: " + str(read_delta) + " -- raw JSON in: " + str((ett - tt) * 1000.0)
return read_delta
<|file_sep|>origi... | cf3ff4d78a9a64c0c0e8d274ca36f68e9290b463 | tests/seattle_benchmark.py | tests/seattle_benchmark.py | Python |
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk7
branches:
only:
- master
- develop
before_install:
- npm install -g bower
- npm install -g bless
- npm install -g requirejs
script: mvn package -Pproduction
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk7
branches:
only:
- mas... | language: java
jdk:
- oraclejdk7
branches:
only:
- master
- develop
before_install:
- npm install -g bower
- npm install -g bless
- npm install -g requirejs
before_script: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -P production
script: mvn package -P production
| <|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk7
branches:
only:
- master
- develop
before_install:
- npm install -g bower
- npm install -g bless
- npm install -g requirejs
script: mvn package -Pproduction
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk7
branches:
only:
- mas... | 3f1e99b190b6dac8fff2930a2fc40777ecd887d8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.github/workflows/linux_build.yml
name: linux build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cmake
run: cmake -DCMAKE_CXX_FLAGS=-Werror .
- name: make
run: make
- name: release
uses: softprops/ac... | name: linux build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: freetype install
run: |
wget https://download.savannah.gnu.org/releases/freetype/freetype-2.11.1.tar.gz
tar xvfz freetype-2.11.1.tar.gz
cd freetype-2.11.1
./configure --prefix=/usr... | <|file_sep|>original/.github/workflows/linux_build.yml
name: linux build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cmake
run: cmake -DCMAKE_CXX_FLAGS=-Werror .
- name: make
run: make
- name: release
uses: softprops/ac... | e68769ed246c1c4e0b8ed43ac006c6e97541bcc8 | .github/workflows/linux_build.yml | .github/workflows/linux_build.yml | YAML |
<|file_sep|>original/package.json
},
"repository": {
"type": "git",
"url": "git+https://github.com/megasmack/jquery.deorphan.js.git"
},
"keywords": [
"orphan",
"widow",
"typography",
"jquery"
],
"author": "Steve Schrab",
"license": "MIT",
"bugs": {
"url": "https://github.com/... | },
"repository": {
"type": "git",
"url": "git+https://github.com/megasmack/jquery.deorphan.js.git"
},
"keywords": [
"orphan",
"widow",
"typography",
"jquery"
],
"author": "Steve Schrab",
"license": "MIT",
"bugs": {
"url": "https://github.com/megasmack/jquery.deorphan.js/issue... | <|file_sep|>original/package.json
},
"repository": {
"type": "git",
"url": "git+https://github.com/megasmack/jquery.deorphan.js.git"
},
"keywords": [
"orphan",
"widow",
"typography",
"jquery"
],
"author": "Steve Schrab",
"license": "MIT",
"bugs": {
"url": "https://github.com/... | 3b321d056f5b19ec5a165bc86277f3daca9414f1 | package.json | package.json | JSON |
<|file_sep|>original/engines/order_management/spec/services/order_management/stock/coordinator_spec.rb
# frozen_string_literal: true
require 'spec_helper'
module OrderManagement
module Stock
describe Coordinator do
let!(:order) { create(:order_with_line_items, distributor: create(:distributor_enterprise))... | # frozen_string_literal: true
require 'spec_helper'
module OrderManagement
module Stock
describe Coordinator do
let!(:order) do
build_stubbed(
:order_with_line_items,
distributor: build_stubbed(:distributor_enterprise)
)
end
subject { Coordinator.new(order)... | <|file_sep|>original/engines/order_management/spec/services/order_management/stock/coordinator_spec.rb
# frozen_string_literal: true
require 'spec_helper'
module OrderManagement
module Stock
describe Coordinator do
let!(:order) { create(:order_with_line_items, distributor: create(:distributor_enterprise))... | 317618595c91e802913b20352fb4d17f108d5bcb | engines/order_management/spec/services/order_management/stock/coordinator_spec.rb | engines/order_management/spec/services/order_management/stock/coordinator_spec.rb | Ruby |
<|file_sep|>original/logger/logger.go
package logger
import (
"log"
"os"
)
const (
LogLevelFatal = 0
LogLevelVerbose = 1
LogLevelDebug = 2
)
var (
logLevel = LogLevelFatal
)
func init() {
levels := []string{"fatal", "verbose", "debug"}
envLogLevel := os.Getenv("DRIVEFUSE_LOGLEVEL")
<|file_sep|>current/... |
package logger
import (
"log"
"os"
)
const (
LogLevelFatal = iota
LogLevelVerbose
LogLevelDebug
)
var (
logLevel = LogLevelFatal
)
func init() {
levels := []string{"fatal", "verbose", "debug"}
envLogLevel := os.Getenv("DRIVEFUSE_LOGLEVEL") | <|file_sep|>original/logger/logger.go
package logger
import (
"log"
"os"
)
const (
LogLevelFatal = 0
LogLevelVerbose = 1
LogLevelDebug = 2
)
var (
logLevel = LogLevelFatal
)
func init() {
levels := []string{"fatal", "verbose", "debug"}
envLogLevel := os.Getenv("DRIVEFUSE_LOGLEVEL")
<|file_sep|>current/... | f956aeb065658c4621b60324de86f1e1e0bbe344 | logger/logger.go | logger/logger.go | Go |
<|file_sep|>original/code/forms/ChildProductSelectField.php
'Name' => $this->name,
'Value' => $item->ID,
'Title' => $item->Title,
'isChecked' => $item->ID == $this->value,
'isDisabled' => $this->disabled || in_array($item->ID, $this->disabledItems),
'Price' => $price,
... | }
$properties = array_merge($properties, array(
'Options' => new ArrayList($options)
));
return $this->customise($properties)->renderWith(
$this->getTemplates()
);
}
/**
* Get the source of this field as an array
*
* @return array
*/
public function getSourceAsArray()
{
$source = $this... | <|file_sep|>original/code/forms/ChildProductSelectField.php
'Name' => $this->name,
'Value' => $item->ID,
'Title' => $item->Title,
'isChecked' => $item->ID == $this->value,
'isDisabled' => $this->disabled || in_array($item->ID, $this->disabledItems),
'Price' => $price,
... | 1f14e82df986040cd75a6464391ec311b2e820bd | code/forms/ChildProductSelectField.php | code/forms/ChildProductSelectField.php | PHP |
<|file_sep|>original/javascript/package.json
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/mocha": "... | "author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/mocha": "9.1.1",
"@types/node": "16.11.31",
"c... | <|file_sep|>original/javascript/package.json
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/mocha": "... | 2b2f99d5fc6447df3809ea843be034751516fab3 | javascript/package.json | javascript/package.json | JSON |
<|file_sep|>original/package.json
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"files": [
"lib"
],
"optionalDependencies": {
"canvas": "1.6.5"
},
"devDependencies": {
"assetgraph": "4.7.2",
"coveralls": "^3.0.0",
"eslint": "4.19.1",
"eslint-config-onelint": "3... | "publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"files": [
"lib"
],
"optionalDependencies": {
"canvas": "1.6.5"
},
"devDependencies": {
"assetgraph": "4.7.3",
"coveralls": "^3.0.0",
"eslint": "4.19.1",
"eslint-config-onelint": "3.0.0",
"istanbul": "^0.4.2",
... | <|file_sep|>original/package.json
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"files": [
"lib"
],
"optionalDependencies": {
"canvas": "1.6.5"
},
"devDependencies": {
"assetgraph": "4.7.2",
"coveralls": "^3.0.0",
"eslint": "4.19.1",
"eslint-config-onelint": "3... | 10ac212ea669673621bed9aca41c748b20bae876 | package.json | package.json | JSON |
<|file_sep|>original/Cargo.toml
[package]
name = "preferences"
version = "0.7.2"
authors = ["Andy Barron <AndrewLBarron@gmail.com>"]
description = "Read and write user-specific application data (in stable Rust)"
documentation = "https://andybarron.github.io/preferences"
repository = "https://github.com/AndyBarron/pref... | [package]
name = "preferences"
version = "0.7.3"
authors = ["Andy Barron <AndrewLBarron@gmail.com>"]
description = "Read and write user-specific application data (in stable Rust)"
documentation = "https://andybarron.github.io/preferences"
repository = "https://github.com/AndyBarron/preferences-rs"
readme = "README.md"... | <|file_sep|>original/Cargo.toml
[package]
name = "preferences"
version = "0.7.2"
authors = ["Andy Barron <AndrewLBarron@gmail.com>"]
description = "Read and write user-specific application data (in stable Rust)"
documentation = "https://andybarron.github.io/preferences"
repository = "https://github.com/AndyBarron/pref... | 1b2c0020558f2b88ba764a4c96e61b90d4585912 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/server/ntb/macros/npk_metadata.py
"""
NPKSisteNytt Metadata Macro will perform the following changes to current content item:
- change the byline to "(NPK-NTB)"
- change the signoff to "npk@npk.no"
- change the body footer to "(©NPK)" - NB: copyrightsign, not @
- change the serv... | """
NPKSisteNytt Metadata Macro will perform the following changes to current content item:
- change the byline to "(NPK-NTB)"
- change the signoff to "npk@npk.no"
- change the body footer to "(©NPK)" - NB: copyrightsign, not @
- change the service to "NPKSisteNytt"
"""
def npk_metadata_macro(item... | <|file_sep|>original/server/ntb/macros/npk_metadata.py
"""
NPKSisteNytt Metadata Macro will perform the following changes to current content item:
- change the byline to "(NPK-NTB)"
- change the signoff to "npk@npk.no"
- change the body footer to "(©NPK)" - NB: copyrightsign, not @
- change the serv... | 1cae75108cc3ec12911fc66b18875bf521baf00f | server/ntb/macros/npk_metadata.py | server/ntb/macros/npk_metadata.py | Python |
<|file_sep|>db/migrate/101_add_hash_to_info_request.rb.diff
original:
puts info_request.idhash
updated:
<|file_sep|>original/db/migrate/101_add_hash_to_info_request.rb
require 'digest/sha1'
class AddHashToInfoRequest < ActiveRecord::Migration
def self.up
add_column :info_requests, :idhash, :st... | require 'digest/sha1'
class AddHashToInfoRequest < ActiveRecord::Migration
def self.up
add_column :info_requests, :idhash, :string
# Create the missing events for requests already sent
InfoRequest.find(:all).each do |info_request|
info_request.idhash = Digest::SHA1.hexdigest(in... | <|file_sep|>db/migrate/101_add_hash_to_info_request.rb.diff
original:
puts info_request.idhash
updated:
<|file_sep|>original/db/migrate/101_add_hash_to_info_request.rb
require 'digest/sha1'
class AddHashToInfoRequest < ActiveRecord::Migration
def self.up
add_column :info_requests, :idhash, :st... | 3d2b9e778e44fe7d4dab00880475dd414119dbe9 | db/migrate/101_add_hash_to_info_request.rb | db/migrate/101_add_hash_to_info_request.rb | Ruby |
<|file_sep|>original/config/initializers/delayed_job_config.rb
Delayed::Worker.destroy_failed_jobs = false
# Delayed::Worker.destroy_successful_jobs = false
Delayed::Worker.sleep_delay = 60
Delayed::Worker.max_attempts = 25
Delayed::Worker.max_run_time = 5.minutes
<|file_sep|>current/config/initializers/delayed_job_con... | Delayed::Worker.destroy_failed_jobs = false
# Delayed::Worker.destroy_successful_jobs = false
Delayed::Worker.sleep_delay = 60
Delayed::Worker.max_attempts = 25
Delayed::Worker.max_run_time = 5.minutes
Delayed::Worker.logger = Rails.logger | <|file_sep|>original/config/initializers/delayed_job_config.rb
Delayed::Worker.destroy_failed_jobs = false
# Delayed::Worker.destroy_successful_jobs = false
Delayed::Worker.sleep_delay = 60
Delayed::Worker.max_attempts = 25
Delayed::Worker.max_run_time = 5.minutes
<|file_sep|>current/config/initializers/delayed_job_con... | 4c724618ee35405f54d871e891cca222891d5559 | config/initializers/delayed_job_config.rb | config/initializers/delayed_job_config.rb | Ruby |
<|file_sep|>original/src/radicalzephyr/boot_junit.clj
(ns radicalzephyr.boot-junit
{:boot/export-tasks true}
(:require '[[boot.core :as core]])
(:import org.junit.runner.JUnitCore))
(deftask junit
"Run the jUnit test runner."
[]
(with-pre-wrap fileset
(let [result (JUnitCore/runClasses
... | (ns radicalzephyr.boot-junit
{:boot/export-tasks true}
(:require '[[boot.core :as core]])
(:import org.junit.runner.JUnitCore))
(deftask junit
"Run the jUnit test runner."
[p packages PACKAGE #{sym} "The set of Java packages to run tests in."]
(with-pre-wrap fileset
(let [result (JUnitCore/runClasses
... | <|file_sep|>original/src/radicalzephyr/boot_junit.clj
(ns radicalzephyr.boot-junit
{:boot/export-tasks true}
(:require '[[boot.core :as core]])
(:import org.junit.runner.JUnitCore))
(deftask junit
"Run the jUnit test runner."
[]
(with-pre-wrap fileset
(let [result (JUnitCore/runClasses
... | 585bd1b0f1f4b29991c11c9b2e436132915e0a43 | src/radicalzephyr/boot_junit.clj | src/radicalzephyr/boot_junit.clj | Clojure |
<|file_sep|>original/packages/pr/prettyprinter-convert-ansi-wl-pprint.yaml
<|file_sep|>current/packages/pr/prettyprinter-convert-ansi-wl-pprint.yaml
<|file_sep|>updated/packages/pr/prettyprinter-convert-ansi-wl-pprint.yaml | homepage: http://github.com/quchen/prettyprinter
changelog-type: ''
hash: 90d2ed86b56e6568467cff44a2c4b2636091842d8890f4836f2c2fba4894b4f3
test-bench-deps:
base: ! '>=4.7 && <5'
doctest: ! '>=0.9'
maintainer: David Luposchainsky <dluposchainsky at google>
synopsis: Converter from »ansi-wl-pprint« documents to »pret... | <|file_sep|>original/packages/pr/prettyprinter-convert-ansi-wl-pprint.yaml
<|file_sep|>current/packages/pr/prettyprinter-convert-ansi-wl-pprint.yaml
<|file_sep|>updated/packages/pr/prettyprinter-convert-ansi-wl-pprint.yaml
homepage: http://github.com/quchen/prettyprinter
changelog-type: ''
hash: 90d2ed86b56e6568467cf... | d52c6bd80760135553124a6b4f15ca65ad928122 | packages/pr/prettyprinter-convert-ansi-wl-pprint.yaml | packages/pr/prettyprinter-convert-ansi-wl-pprint.yaml | YAML |
<|file_sep|>original/README.md
# pythinclient
A thin client interface for python
# About
Coming soon...
# License
BSD 3-clause license
<|file_sep|>current/README.md
# pythinclient
A thin client interface for python
# About
Coming soon...
# License
BSD 3-clause license
<|file_sep|>updated/README.md | # pythinclient
A thin client interface for python
# About
Pythinclient is a library used for implementing socket-based thin clients in Python 3. It's in very early stages, but for simple applications, it should work just fine.
List of features that we need for v0.2:
* Asynchronous server; one that can handle more tha... | <|file_sep|>original/README.md
# pythinclient
A thin client interface for python
# About
Coming soon...
# License
BSD 3-clause license
<|file_sep|>current/README.md
# pythinclient
A thin client interface for python
# About
Coming soon...
# License
BSD 3-clause license
<|file_sep|>updated/README.md
# pythinclient
A ... | f2b10d0fe18c87949fd296558406bde71c74ffa1 | README.md | README.md | Markdown |
<|file_sep|>db/migrate/20160414123914_add_filters_to_entitlements.rb.diff
original:
updated:
class Entitlement < ActiveRecord::Base; end
<|file_sep|>original/db/migrate/20160414123914_add_filters_to_entitlements.rb
class AddFiltersToEntitlements < ActiveRecord::Migration[5.0]
def change
add_column :entitlemen... | class AddFiltersToEntitlements < ActiveRecord::Migration[5.0]
class Entitlement < ActiveRecord::Base; end
def change
add_column :entitlements, :filters, :text
# HACK, this shouldn't be required, figure out why. :cry:
# Without this, migrate fails when you go from "latest schema" down to:
# 2016031... | <|file_sep|>db/migrate/20160414123914_add_filters_to_entitlements.rb.diff
original:
updated:
class Entitlement < ActiveRecord::Base; end
<|file_sep|>original/db/migrate/20160414123914_add_filters_to_entitlements.rb
class AddFiltersToEntitlements < ActiveRecord::Migration[5.0]
def change
add_column :entitlemen... | ae4acc264b1d506631ca1ba32eac6412e90f3fb2 | db/migrate/20160414123914_add_filters_to_entitlements.rb | db/migrate/20160414123914_add_filters_to_entitlements.rb | Ruby |
<|file_sep|>util/gitinstall.sh.diff
original:
mvn -q clean package
updated:
mvn -q clean package
<|file_sep|>util/gitinstall.sh.diff
original:
install "bw-caldav"
updated:
#install "bw-caldav"
<|file_sep|>original/util/gitinstall.sh
cd $repo
install() {
git clone git@github.com:Bedework/$1.git
cd $1/
mvn -q... |
install() {
git clone git@github.com:Bedework/$1.git
cd $1/
mvn -q clean package
mvn -q install
cd ..
}
#install "bw-ws"
#install "bw-util"
#install "bw-access"
#install "bw-synch"
#install "bw-timezone-server"
#install "bw-webdav"
#install "bw-caldav"
#install "bw-carddav"
#install "bw-self-registration"
#... | <|file_sep|>util/gitinstall.sh.diff
original:
mvn -q clean package
updated:
mvn -q clean package
<|file_sep|>util/gitinstall.sh.diff
original:
install "bw-caldav"
updated:
#install "bw-caldav"
<|file_sep|>original/util/gitinstall.sh
cd $repo
install() {
git clone git@github.com:Bedework/$1.git
cd $1/
mvn -q... | 73ce0d33ceca69c96928305cd40a25cfae8131c9 | util/gitinstall.sh | util/gitinstall.sh | Shell |
<|file_sep|>original/setup.py
'tangled',
'tangled.scripts',
'tangled.tests',
'tangled.tests.dummy_package',
],
extras_require={
'dev': (
'coverage>=3.7.1',
'nose>=1.3.1',
'pep8>=1.4.6',
'pyflakes>=0.7.3',
'Sphinx... | 'tangled',
'tangled.scripts',
'tangled.tests',
'tangled.tests.dummy_package',
],
extras_require={
'dev': (
'coverage>=3.7.1',
'nose>=1.3.1',
'pep8>=1.4.6',
'pyflakes>=0.8',
'Sphinx>=1.2.2',
'sphinx_rt... | <|file_sep|>original/setup.py
'tangled',
'tangled.scripts',
'tangled.tests',
'tangled.tests.dummy_package',
],
extras_require={
'dev': (
'coverage>=3.7.1',
'nose>=1.3.1',
'pep8>=1.4.6',
'pyflakes>=0.7.3',
'Sphinx... | 83fda990174df238496b833f13c8dab32ee19f05 | setup.py | setup.py | Python |
<|file_sep|>original/javascript/package.json
"cucumber"
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
... | "cucumber"
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/mocha": "10.0.0",
"@types/node... | <|file_sep|>original/javascript/package.json
"cucumber"
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
... | 02754ff104356304794d683af6f024fd072c56e7 | javascript/package.json | javascript/package.json | JSON |
<|file_sep|>app/assets/javascripts/paginator.js.diff
original:
$(".per-page").chosen({
updated:
$(".per-page").select2({
<|file_sep|>original/app/assets/javascripts/paginator.js
$(document).ready(function() {
$(".per-page").chosen({
width: '70px',
disable_search_threshold: 20,
});
$(".per-page").chan... | $(document).ready(function() {
$(".per-page").select2({
width: '70px',
minimumResultsForSearch: 20,
});
$(".per-page").change(function () {
location.href = add_parameter(location.href, 'per_page', $(this).val());
});
}); | <|file_sep|>app/assets/javascripts/paginator.js.diff
original:
$(".per-page").chosen({
updated:
$(".per-page").select2({
<|file_sep|>original/app/assets/javascripts/paginator.js
$(document).ready(function() {
$(".per-page").chosen({
width: '70px',
disable_search_threshold: 20,
});
$(".per-page").chan... | 977307c14c41df2eeb53df04f58222ef7a009fc6 | app/assets/javascripts/paginator.js | app/assets/javascripts/paginator.js | JavaScript |
<|file_sep|>Forux/src/com/arinerron/forux/core/Logger.java.diff
original:
updated:
import java.text.SimpleDateFormat;
import java.util.Calendar;
<|file_sep|>Forux/src/com/arinerron/forux/core/Logger.java.diff
original:
private int type = Logger.PRINT_TO_CONSOLE_AND_FILE;
updated:
private int type = Logger.PRI... | }
private void log(Object o) {
if(this.getLoggerType() % 2 == 0)
System.out.println(o);
if(this.getLoggerType() > 0)
;// make write to file later
}
public void log(String type, Object o) {
log("[" + new SimpleDateFormat("yyyyMMdd_HHmmss").format(... | <|file_sep|>Forux/src/com/arinerron/forux/core/Logger.java.diff
original:
updated:
import java.text.SimpleDateFormat;
import java.util.Calendar;
<|file_sep|>Forux/src/com/arinerron/forux/core/Logger.java.diff
original:
private int type = Logger.PRINT_TO_CONSOLE_AND_FILE;
updated:
private int type = Logger.PRI... | 1724376c6ce0b832ccf7d53b2ab60dc291923cc1 | Forux/src/com/arinerron/forux/core/Logger.java | Forux/src/com/arinerron/forux/core/Logger.java | Java |
<|file_sep|>original/.travis.yml
language: python
python:
#- "3.4"
- "3.5"
- "3.6"
# command to install dependencies
install:
- "python setup.py install"
script: nosetests
<|file_sep|>current/.travis.yml
language: python
python:
#- "3.4"
- "3.5"
- "3.6"
# command to install dependencies
install:
- "pyth... | language: python
python:
#- "3.4"
- "3.5"
- "3.6"
- "3.7"
# command to install dependencies
install:
- "python setup.py install"
script: nosetests | <|file_sep|>original/.travis.yml
language: python
python:
#- "3.4"
- "3.5"
- "3.6"
# command to install dependencies
install:
- "python setup.py install"
script: nosetests
<|file_sep|>current/.travis.yml
language: python
python:
#- "3.4"
- "3.5"
- "3.6"
# command to install dependencies
install:
- "pyth... | 353eb8bcd27c4d0ab08a50f8dbd69baa3676d746 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config/pmd/rules.xml
<?xml version="1.0"?>
<ruleset
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"
name="RxBroadcast PMD... | <?xml version="1.0"?>
<ruleset
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"
name="RxBroadcast PMD Rules">
<description>PMD Rules for R... | <|file_sep|>original/config/pmd/rules.xml
<?xml version="1.0"?>
<ruleset
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"
name="RxBroadcast PMD... | 1a1b55fe18d4f7a90c55b4f381b772a2fcf5e51a | config/pmd/rules.xml | config/pmd/rules.xml | XML |
<|file_sep|>tests/test_token.py.diff
original:
"""
NOTE: There are no tests that check for data validation at this point since
the interpreter doesn't have any data validation as a feature.
"""
updated:
<|file_sep|>tests/test_token.py.diff
original:
def test_no_defaults():
# There's no valid defaults at the momen... | Token()
def test_token_can_be_instantiated_with_known_values():
"""
Test that a :class:`Token` with known good initialization values can be
instantiated.
"""
token = Token(type=INTEGER, value=2)
assert token.value == 2
assert token.type == INTEGER
def test_token_can_be_converted_... | <|file_sep|>tests/test_token.py.diff
original:
"""
NOTE: There are no tests that check for data validation at this point since
the interpreter doesn't have any data validation as a feature.
"""
updated:
<|file_sep|>tests/test_token.py.diff
original:
def test_no_defaults():
# There's no valid defaults at the momen... | e913ed7d5643c4acc85ed7ec82a70c235053360f | tests/test_token.py | tests/test_token.py | Python |
<|file_sep|>original/examples/cfg.json
<|file_sep|>current/examples/cfg.json
<|file_sep|>updated/examples/cfg.json | {
"port" : 8000,
"https" : false,
"key" : "/etc/blart/server.key",
"cert" : "/etc/blart/server.crt",
"token" : "aaa",
"limit" : 1,
"interval" : 15,
"api": {
"host": "10.8.8.1"
}
}
| <|file_sep|>original/examples/cfg.json
<|file_sep|>current/examples/cfg.json
<|file_sep|>updated/examples/cfg.json
{
"port" : 8000,
"https" : false,
"key" : "/etc/blart/server.key",
"cert" : "/etc/blart/server.crt",
"token" : "aaa",
"limit" : 1,
"interval" : 15,
"api": {
"host"... | 009afe187c3339758a04efa07be52a0f75bc65ab | examples/cfg.json | examples/cfg.json | JSON |
<|file_sep|>docker/puppetdb/docker-entrypoint.sh.diff
original:
updated:
chmod +x /docker-entrypoint.d/*.sh
# sync prevents aufs from sometimes returning EBUSY if you exec right after a chmod
sync
<|file_sep|>original/docker/puppetdb/docker-entrypoint.sh
#!/bin/sh
set -e
for f in /docker-entrypoint.d/*.sh; do
ec... | #!/bin/sh
set -e
chmod +x /docker-entrypoint.d/*.sh
# sync prevents aufs from sometimes returning EBUSY if you exec right after a chmod
sync
for f in /docker-entrypoint.d/*.sh; do
echo "Running $f"
"$f"
done
exec java $PUPPETDB_JAVA_ARGS -cp /puppetdb.jar \
clojure.main -m puppetlabs.puppetdb.core "$@" \... | <|file_sep|>docker/puppetdb/docker-entrypoint.sh.diff
original:
updated:
chmod +x /docker-entrypoint.d/*.sh
# sync prevents aufs from sometimes returning EBUSY if you exec right after a chmod
sync
<|file_sep|>original/docker/puppetdb/docker-entrypoint.sh
#!/bin/sh
set -e
for f in /docker-entrypoint.d/*.sh; do
ec... | c00d767e5e6b4f1e3af54007085df6657fbc7eae | docker/puppetdb/docker-entrypoint.sh | docker/puppetdb/docker-entrypoint.sh | Shell |
<|file_sep|>original/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/package-info.java
* 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. ... | * 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/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/package-info.java
* 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. ... | 254a8e88f96ea6cb6e7ec4a6bdfc642c3b813dd8 | oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/package-info.java | oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/package-info.java | Java |
<|file_sep|>original/twango/manager.py
from django.db import models
from twango.query import TwistedQuerySet
class TwistedManager(models.Manager):
queryset_class = TwistedQuerySet
def get_query_set(self):
return self.queryset_class(self.model, using=self._db)
<|file_sep|>current/twango/manager.py
from... | from django.db import models
from twango.query import TwistedQuerySet
class TwistedManager(models.Manager):
queryset_class = TwistedQuerySet
def get_queryset(self):
return self.queryset_class(self.model, using=self._db) | <|file_sep|>original/twango/manager.py
from django.db import models
from twango.query import TwistedQuerySet
class TwistedManager(models.Manager):
queryset_class = TwistedQuerySet
def get_query_set(self):
return self.queryset_class(self.model, using=self._db)
<|file_sep|>current/twango/manager.py
from... | 61ec5bdf739b0c7165c8aed85378e0b88c51e920 | twango/manager.py | twango/manager.py | Python |
<|file_sep|>src/auto-upgrade/updateBabelConfig.js.diff
original:
resolve();
updated:
return resolve();
<|file_sep|>original/src/auto-upgrade/updateBabelConfig.js
}
else if (projectSha !== previousSha) {
const question = {
type: "confirm",
name: "confirm",
message: ... | const question = {
type: "confirm",
name: "confirm",
message: `${warn("The format of .babelrc is out of date. Would you like to automatically update it?")}`
};
inquirer.prompt([question], function (answers) {
if (!answers.confirm) {
const latestConfig = fs.re... | <|file_sep|>src/auto-upgrade/updateBabelConfig.js.diff
original:
resolve();
updated:
return resolve();
<|file_sep|>original/src/auto-upgrade/updateBabelConfig.js
}
else if (projectSha !== previousSha) {
const question = {
type: "confirm",
name: "confirm",
message: ... | 310cb4a12eab84902166cf8847166c3640d3e60c | src/auto-upgrade/updateBabelConfig.js | src/auto-upgrade/updateBabelConfig.js | JavaScript |
<|file_sep|>original/src/lang-xquery/main/uk/co/reecedunn/intellij/plugin/xquery/intellij/spellchecker/XQuerySpellcheckingStrategy.kt
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under... | * You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See th... | <|file_sep|>original/src/lang-xquery/main/uk/co/reecedunn/intellij/plugin/xquery/intellij/spellchecker/XQuerySpellcheckingStrategy.kt
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under... | 6fdf6821dd60f34dfbecc56c57139b842d680291 | src/lang-xquery/main/uk/co/reecedunn/intellij/plugin/xquery/intellij/spellchecker/XQuerySpellcheckingStrategy.kt | src/lang-xquery/main/uk/co/reecedunn/intellij/plugin/xquery/intellij/spellchecker/XQuerySpellcheckingStrategy.kt | Kotlin |
<|file_sep|>original/app/views/edits/_pending.html.haml
.ui.horizontal.divider
= render partial: 'edits/edit', object: edit
- if edit.conflict?
.ui.basic.black.button.launch-modal{ data: { modal: "conflict-#{edit.id}" } }
%i.right.arrow.icon
Review Conflict
-# Maybe break conflict display into its own par... | .ui.horizontal.divider
= render partial: 'edits/edit', object: edit
%p
%strong Reason:
= edit.log_entry
- if edit.conflict?
.ui.basic.black.button.launch-modal{ data: { modal: "conflict-#{edit.id}" } }
%i.right.arrow.icon
Review Conflict
-# Maybe break conflict display into its own partial?
.ui.basi... | <|file_sep|>original/app/views/edits/_pending.html.haml
.ui.horizontal.divider
= render partial: 'edits/edit', object: edit
- if edit.conflict?
.ui.basic.black.button.launch-modal{ data: { modal: "conflict-#{edit.id}" } }
%i.right.arrow.icon
Review Conflict
-# Maybe break conflict display into its own par... | 1a4932e636f4ea2f714c91d7f5e1e1cfff729dff | app/views/edits/_pending.html.haml | app/views/edits/_pending.html.haml | Haml |
<|file_sep|>storage/filesystem/internal/dotgit/dotgit_setref_norwfs.go.diff
original:
import "gopkg.in/src-d/go-git.v4/plumbing"
updated:
import (
"fmt"
<|file_sep|>storage/filesystem/internal/dotgit/dotgit_setref_norwfs.go.diff
original:
// There are some filesystems tha don't support opening files in RDWD mode.
upda... | )
// There are some filesystems that don't support opening files in RDWD mode.
// In these filesystems the standard SetRef function can not be used as i
// reads the reference file to check that it's not modified before updating it.
//
// This version of the function writes the reference without extra checks
// making... | <|file_sep|>storage/filesystem/internal/dotgit/dotgit_setref_norwfs.go.diff
original:
import "gopkg.in/src-d/go-git.v4/plumbing"
updated:
import (
"fmt"
<|file_sep|>storage/filesystem/internal/dotgit/dotgit_setref_norwfs.go.diff
original:
// There are some filesystems tha don't support opening files in RDWD mode.
upda... | d3e7c9060a14ac579f899fd01c936319132cbc97 | storage/filesystem/internal/dotgit/dotgit_setref_norwfs.go | storage/filesystem/internal/dotgit/dotgit_setref_norwfs.go | Go |
<|file_sep|>original/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning](http://semver.org/).
## 0.1.0 - 2016-04-12
### Added
- Created a fairly minimal set of data structures for an AST.
## 0.0.0 - 2016-04-11
### Added
- Initia... | # Change Log
All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning](http://semver.org/).
## 0.2.0 - 2016-05-14
### Added
- Wrote grammar specifications to be used by lexer and parser generators for now
### Changed
- A variety of the AST data structures have ... | <|file_sep|>original/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning](http://semver.org/).
## 0.1.0 - 2016-04-12
### Added
- Created a fairly minimal set of data structures for an AST.
## 0.0.0 - 2016-04-11
### Added
- Initia... | ca4bd08685e67db6058ccaff911f1e22d61062a3 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
before_install:
- gem install -v 1.17.2 bundler --no-ri
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
before_install:
- gem install -v 1.17.2 bundler --no-ri
<|file_sep|>updated/.travis.yml | language: ruby
sudo: false
before_install:
- gem install -v 1.17.2 bundler | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
before_install:
- gem install -v 1.17.2 bundler --no-ri
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
before_install:
- gem install -v 1.17.2 bundler --no-ri
<|file_sep|>updated/.travis.yml
language: ruby
sudo: false
before_install:
- ... | acbc4f74df59b8e3b1b51a6fe168ec66cd904aa9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_includes/footnotes.html
{% endif %}
It
{% if page.category %}
is published in <span itemprop="articleSection">{{ page.category }}</span> category,
{% endif%}
contains
<span itemprop="wordCount" >{{ page.content | markdownify | strip_html | number_of_words }}</span> word... | {% endif %}
It
{% if page.category %}
is published in <span itemprop="articleSection">{{ page.category }}</span> category,
{% endif%}
contains
<span itemprop="wordCount" >{{ page.content | markdownify | strip_html | number_of_words }}</span> words
and takes about
{% capture time_to_r... | <|file_sep|>original/_includes/footnotes.html
{% endif %}
It
{% if page.category %}
is published in <span itemprop="articleSection">{{ page.category }}</span> category,
{% endif%}
contains
<span itemprop="wordCount" >{{ page.content | markdownify | strip_html | number_of_words }}</span> word... | 92a00bd919fce6d78a935d94433eb532cd1fe2e2 | _includes/footnotes.html | _includes/footnotes.html | HTML |
<|file_sep|>bower.json.diff
original:
"name": "interface",
"description": "Interface",
"main": "index.js",
updated:
<|file_sep|>bower.json.diff
original:
"license": "MIT",
updated:
"description": "Interface simulation for ES2015 (ES6) classes",
"homepage": "https://github.com/adelarosab/interface",
<|file_... | {
"authors": [
"Adrian de la Rosa <adrian@delarosab.me>"
],
"description": "Interface simulation for ES2015 (ES6) classes",
"homepage": "https://github.com/adelarosab/interface",
"keywords": [
"interface",
"es6",
"es2015"
],
"license": "MIT",
"main": "index.js",
"name": "interface",
... | <|file_sep|>bower.json.diff
original:
"name": "interface",
"description": "Interface",
"main": "index.js",
updated:
<|file_sep|>bower.json.diff
original:
"license": "MIT",
updated:
"description": "Interface simulation for ES2015 (ES6) classes",
"homepage": "https://github.com/adelarosab/interface",
<|file_... | f28ba0db0607f4a052e5e1e6a6316ab4d02e3202 | bower.json | bower.json | JSON |
<|file_sep|>original/src/BaseEnum.php
* @return array
*/
public static function getKeys()
{
return array_keys(static::toDictionary());
}
/**
* Returns the enum as dictionary.
*
* @return array
*/
public static function toDictionary()
{
$className = ... | * @return array
*/
public static function toDictionary()
{
$className = get_called_class();
$reflectionClass = new ReflectionClass($className);
return $reflectionClass->getConstants();
}
/**
* Checks if a value exists in constant values.
*
* @param mixe... | <|file_sep|>original/src/BaseEnum.php
* @return array
*/
public static function getKeys()
{
return array_keys(static::toDictionary());
}
/**
* Returns the enum as dictionary.
*
* @return array
*/
public static function toDictionary()
{
$className = ... | 3f375761685f79c9fffd74bb09f512f2c7377e88 | src/BaseEnum.php | src/BaseEnum.php | PHP |
<|file_sep|>original/requirements-dev.txt
sure==1.2.1
doublex==1.7
PyHamcrest==1.8.0
<|file_sep|>current/requirements-dev.txt
sure==1.2.1
doublex==1.7
PyHamcrest==1.8.0
<|file_sep|>updated/requirements-dev.txt | expects==0.2.1
doublex==1.8.1
PyHamcrest==1.8.0 | <|file_sep|>original/requirements-dev.txt
sure==1.2.1
doublex==1.7
PyHamcrest==1.8.0
<|file_sep|>current/requirements-dev.txt
sure==1.2.1
doublex==1.7
PyHamcrest==1.8.0
<|file_sep|>updated/requirements-dev.txt
expects==0.2.1
doublex==1.8.1
PyHamcrest==1.8.0 | faf38574f018039b687983bf451d68db37b63b3a | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/tools/gpu/vk/VkTestUtils.h
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef VkTestUtils_DEFINED
#define VkTestUtils_DEFINED
#ifdef SK_VULKAN
#include "vk/GrVkDefines.h"
namespace sk_gpu_test {... | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef VkTestUtils_DEFINED
#define VkTestUtils_DEFINED
#include "SkTypes.h"
#ifdef SK_VULKAN
#include "vk/GrVkDefines.h"
namespace sk_gpu_test {
bool LoadVkLibraryAnd... | <|file_sep|>original/tools/gpu/vk/VkTestUtils.h
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef VkTestUtils_DEFINED
#define VkTestUtils_DEFINED
#ifdef SK_VULKAN
#include "vk/GrVkDefines.h"
namespace sk_gpu_test {... | 63b8a434dc46efa3fd53e85bad9121da8f690889 | tools/gpu/vk/VkTestUtils.h | tools/gpu/vk/VkTestUtils.h | C |
<|file_sep|>original/errorreporter.py
self._error_report = error_report
self._expand_filename = expand_filename
@delayed(0)
def error(self, filename, line, message):
filename = self._expand_filename(filename)
self._error_report.add_error(filename, line, message)
self._ma... | self._error_report = error_report
self._expand_filename = expand_filename
@delayed(0)
def error(self, filename, line, message):
filename = self._expand_filename(filename)
self._error_report.add_error(filename, line, message)
self._marker.mark_line(filename, line)
... | <|file_sep|>original/errorreporter.py
self._error_report = error_report
self._expand_filename = expand_filename
@delayed(0)
def error(self, filename, line, message):
filename = self._expand_filename(filename)
self._error_report.add_error(filename, line, message)
self._ma... | 8feb733383a90ea6f16cd9cc696446343b4678e9 | errorreporter.py | errorreporter.py | Python |
<|file_sep|>original/Wall_Fires/FM_Vertical_Wall_Flames/Experimental_Data/C3H6_Total_Heat_Flux.csv
Z,m=12.68,m=17.05,m=22.37
0.066,14.18,13.67,10.73
0.198,12.95,13.55,13.49
0.33,17.16,19.45,17.90
0.462,21.46,24.68,23.01
0.594,26.99,30.16,27.15
0.726,28.49,31.05,
0.858,30.92,33.01,
0.99,33.54,35.65,
<|file_sep|>current/... | Z,m=12.68,m=17.05,m=22.37
0.066,14.18,13.67,10.73
0.198,12.95,13.55,13.49
0.33,17.16,19.45,17.90
0.462,21.46,24.68,23.01
0.594,26.99,30.16,27.15
0.726,28.49,31.05,NaN
0.858,30.92,33.01,NaN
0.99,33.54,35.65,NaN | <|file_sep|>original/Wall_Fires/FM_Vertical_Wall_Flames/Experimental_Data/C3H6_Total_Heat_Flux.csv
Z,m=12.68,m=17.05,m=22.37
0.066,14.18,13.67,10.73
0.198,12.95,13.55,13.49
0.33,17.16,19.45,17.90
0.462,21.46,24.68,23.01
0.594,26.99,30.16,27.15
0.726,28.49,31.05,
0.858,30.92,33.01,
0.99,33.54,35.65,
<|file_sep|>current/... | 1ad1e99f1ca71ffb1aec8c174e7e42108d1e03af | Wall_Fires/FM_Vertical_Wall_Flames/Experimental_Data/C3H6_Total_Heat_Flux.csv | Wall_Fires/FM_Vertical_Wall_Flames/Experimental_Data/C3H6_Total_Heat_Flux.csv | CSV |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.