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/src/roman_convert_to_int.c
#include <string.h>
#include "roman_convert_to_int.h"
int roman_convert_to_int(const char *numeral)
{
if (!numeral)
{
return -1;
}
const char first_letter = *numeral;
switch (first_letter)
{
case 'I':
return 1;
case 'V':
return 5;
case 'X':
return... | #include <string.h>
#include "roman_convert_to_int.h"
int roman_convert_to_int(const char *numeral)
{
const char first_letter = numeral ? *numeral : '?';
switch (first_letter)
{
case 'I':
return 1;
case 'V':
return 5;
case 'X':
return 10;
case 'L':
return 50;
case 'C':
return 100;
case '... | <|file_sep|>original/src/roman_convert_to_int.c
#include <string.h>
#include "roman_convert_to_int.h"
int roman_convert_to_int(const char *numeral)
{
if (!numeral)
{
return -1;
}
const char first_letter = *numeral;
switch (first_letter)
{
case 'I':
return 1;
case 'V':
return 5;
case 'X':
return... | cdb6e95182e874765dd7a51155534111d186d631 | src/roman_convert_to_int.c | src/roman_convert_to_int.c | C |
<|file_sep|>original/src/config/settings/secrets_sample.py
<|file_sep|>current/src/config/settings/secrets_sample.py
<|file_sep|>updated/src/config/settings/secrets_sample.py | # SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = ''
# Database
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': '',
'HOST': '127.0.0.1',
'PORT': 5432... | <|file_sep|>original/src/config/settings/secrets_sample.py
<|file_sep|>current/src/config/settings/secrets_sample.py
<|file_sep|>updated/src/config/settings/secrets_sample.py
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = ''
# Database
# https://docs.djangoproject.com/en/1.7/ref/sett... | 720e398ac6d21c2e394dda08d47d5110b3a38c40 | src/config/settings/secrets_sample.py | src/config/settings/secrets_sample.py | Python |
<|file_sep|>README.md.diff
original:
# DashTime
updated:
# DashPebble
<|file_sep|>original/README.md
# DashTime
A Pebble watch face modeled after DashClock for Android.

# Installation
Currently, you have to build the project yourself. Follow [Pebble Developer](http://developer.get... | # DashPebble
A Pebble watch face modeled after DashClock for Android.

# Installation
Currently, you have to build the project yourself. Follow [Pebble Developer](http://developer.getpebble.com/) instructions for building and installing apps onto your pebble.
## License
Licenc... | <|file_sep|>README.md.diff
original:
# DashTime
updated:
# DashPebble
<|file_sep|>original/README.md
# DashTime
A Pebble watch face modeled after DashClock for Android.

# Installation
Currently, you have to build the project yourself. Follow [Pebble Developer](http://developer.get... | d741c7728366af0bc36303c54e0b8b7712a2af5e | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk7
before_script:
- sudo add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
- sudo apt-get install haxe -y
- mkdir ~/haxelib
- haxelib setup ~/haxelib
- haxelib install hxjava
- haxelib git debugger https://github.com/TiVo/debugger.git
- mkdir b... | language: java
jdk:
- oraclejdk7
before_script:
- sudo add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
- sudo apt-get install haxe -y
- mkdir ~/haxelib
- haxelib setup ~/haxelib
- haxelib install hxjava
- haxelib git debugger https://github.com/TiVo/debugger.git
- mkdir build
- mkdir report
script: make ... | <|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk7
before_script:
- sudo add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
- sudo apt-get install haxe -y
- mkdir ~/haxelib
- haxelib setup ~/haxelib
- haxelib install hxjava
- haxelib git debugger https://github.com/TiVo/debugger.git
- mkdir b... | cac4464d98bf89938112f2055d5738beb0584fd7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
sudo: required
language: bash
env:
- DOKKU_VERSION=master
before_install: make setup
script: make test
<|file_sep|>current/.travis.yml
sudo: required
language: bash
env:
- DOKKU_VERSION=master
before_install: make setup
script: make test
<|file_sep|>updated/.travis.yml | sudo: required
dist: trusty
language: bash
env:
- DOKKU_VERSION=master
before_install: make setup
script: make test | <|file_sep|>original/.travis.yml
sudo: required
language: bash
env:
- DOKKU_VERSION=master
before_install: make setup
script: make test
<|file_sep|>current/.travis.yml
sudo: required
language: bash
env:
- DOKKU_VERSION=master
before_install: make setup
script: make test
<|file_sep|>updated/.travis.yml
sudo: require... | 3984c4bc6f5e4f0eedf13efaa741fafa122e5602 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
<|file_sep|>current/gradle/wrapper/gradle-wrapper.properti... | distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-1.11-all.zip | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
<|file_sep|>current/gradle/wrapper/gradle-wrapper.properti... | 1ae4dd6263fbeb6d9a3a837c8c439560b3b49954 | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>original/README.md
~~~yaml
username: myaccount
password: mypassword
~~~
Install [Redis](http://redis.io/), [Ruby](https://www.ruby-lang.org/) and [Bundler](http://bundler.io/),
run `bundle install` then `bundle exec rackup config.ru` to get a development server running.
For example, on a Debian based syste... | ~~~yaml
username: myaccount
password: mypassword
~~~
Install [Redis](http://redis.io/), [Ruby](https://www.ruby-lang.org/) and [Bundler](http://bundler.io/),
run `bundle install` then `bundle exec rackup config.ru` to get a development server running.
For example, on a Debian based system you would run:
~~~text
sudo ... | <|file_sep|>original/README.md
~~~yaml
username: myaccount
password: mypassword
~~~
Install [Redis](http://redis.io/), [Ruby](https://www.ruby-lang.org/) and [Bundler](http://bundler.io/),
run `bundle install` then `bundle exec rackup config.ru` to get a development server running.
For example, on a Debian based syste... | 25fa30ebf28fb08a435708ee12d0973978099c48 | README.md | README.md | Markdown |
<|file_sep|>source/manual/packer-vagrant-image-creation.html.md.diff
original:
last_reviewed_on: 2017-01-13
updated:
last_reviewed_on: 2017-08-09
<|file_sep|>original/source/manual/packer-vagrant-image-creation.html.md
---
owner_slack: "#2ndline"
title: Packer Vagrant Dev VM / Image Creation
section: Packaging
layout: ... | ---
owner_slack: "#2ndline"
title: Packer Vagrant Dev VM / Image Creation
section: Packaging
layout: manual_layout
parent: "/manual.html"
old_path_in_opsmanual: "../opsmanual/infrastructure/packer-vagrant-image-creation.md"
last_reviewed_on: 2017-08-09
review_in: 6 months
---
This is a stub page that links to the real... | <|file_sep|>source/manual/packer-vagrant-image-creation.html.md.diff
original:
last_reviewed_on: 2017-01-13
updated:
last_reviewed_on: 2017-08-09
<|file_sep|>original/source/manual/packer-vagrant-image-creation.html.md
---
owner_slack: "#2ndline"
title: Packer Vagrant Dev VM / Image Creation
section: Packaging
layout: ... | e6002c46571a25de4ec1cda27e1d11b73473b3b0 | source/manual/packer-vagrant-image-creation.html.md | source/manual/packer-vagrant-image-creation.html.md | Markdown |
<|file_sep|>original/app/views/shared/_homepage_intro.html.erb
<div class="homepage-intro">
<h1><%= heading %></h1>
<ul class="list--benefits">
<%= summary %>
</ul>
<div id="introduction-text">
<%= introduction %>
</div>
</div>
<|file_sep|>current/app/views/shared/_homepage_intro.html.erb
<div class="... | <div>
<h1><%= heading %></h1>
<ul class="list--benefits">
<%= summary %>
</ul>
<div id="introduction-text">
<%= introduction %>
</div>
</div> | <|file_sep|>original/app/views/shared/_homepage_intro.html.erb
<div class="homepage-intro">
<h1><%= heading %></h1>
<ul class="list--benefits">
<%= summary %>
</ul>
<div id="introduction-text">
<%= introduction %>
</div>
</div>
<|file_sep|>current/app/views/shared/_homepage_intro.html.erb
<div class="... | 12ff8aed729f39d6b55c49a6c59b305049ae13bb | app/views/shared/_homepage_intro.html.erb | app/views/shared/_homepage_intro.html.erb | HTML+ERB |
<|file_sep|>Casks/adium-nightly15.rb.diff
original:
updated:
name 'Adium'
<|file_sep|>Casks/adium-nightly15.rb.diff
original:
license :oss
updated:
license :gpl
<|file_sep|>original/Casks/adium-nightly15.rb
cask :v1 => 'adium-nightly15' do
version '1.5.11b2r5922'
sha256 '828c2e2f21a2e500aeb580d018afba0f36095... | cask :v1 => 'adium-nightly15' do
version '1.5.11b2r5922'
sha256 '828c2e2f21a2e500aeb580d018afba0f360956334d655a8280d4f9ba09af7b9d'
url "http://nightly.adium.im/adium-adium-1.5.11/Adium_#{version}.dmg"
name 'Adium'
homepage 'http://nightly.adium.im/?repo_branch=adium-adium-1.5.11'
license :gpl
app 'Adium... | <|file_sep|>Casks/adium-nightly15.rb.diff
original:
updated:
name 'Adium'
<|file_sep|>Casks/adium-nightly15.rb.diff
original:
license :oss
updated:
license :gpl
<|file_sep|>original/Casks/adium-nightly15.rb
cask :v1 => 'adium-nightly15' do
version '1.5.11b2r5922'
sha256 '828c2e2f21a2e500aeb580d018afba0f36095... | acb7ba13c5925889e4bc6615d6a5acd9e3fb8bc1 | Casks/adium-nightly15.rb | Casks/adium-nightly15.rb | Ruby |
<|file_sep|>original/requirements.txt
certifi==2018.1.18
chardet==3.0.4
dj-database-url==0.4.2
Django==2.0.2
django-grappelli==2.11.1
django-haystack==2.6.1
django-linkcheck==1.5
docutils==0.14
elasticsearch==6.1.1
gunicorn==19.7.1
idna==2.6
jmespath==0.9.3
newrelic==2.102.0.85
psycopg2==2.7.4
python-dateutil==2.6.1
py... | certifi==2018.1.18
chardet==3.0.4
dj-database-url==0.4.2
Django==2.0.2
django-grappelli==2.11.1
django-haystack==2.7.0
django-linkcheck==1.5
docutils==0.14
elasticsearch==6.1.1
gunicorn==19.7.1
idna==2.6
jmespath==0.9.3
newrelic==2.102.0.85
psycopg2==2.7.4
python-dateutil==2.6.1
python-ptrace==0.9.3
pytz==2017.3
pyuplo... | <|file_sep|>original/requirements.txt
certifi==2018.1.18
chardet==3.0.4
dj-database-url==0.4.2
Django==2.0.2
django-grappelli==2.11.1
django-haystack==2.6.1
django-linkcheck==1.5
docutils==0.14
elasticsearch==6.1.1
gunicorn==19.7.1
idna==2.6
jmespath==0.9.3
newrelic==2.102.0.85
psycopg2==2.7.4
python-dateutil==2.6.1
py... | 78726c9ec28afe2442dc1d3af4ebed72437b4515 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/LibGit2Sharp/FetchOptions.cs
/// </summary>
public sealed class FetchOptions
{
/// <summary>
/// Specifies the tag-following behavior of the fetch operation.
/// <para>
/// If not set, the fetch operation will follow the default behavior for the <see cref... | /// </summary>
public sealed class FetchOptions
{
/// <summary>
/// Specifies the tag-following behavior of the fetch operation.
/// <para>
/// If not set, the fetch operation will follow the default behavior for the <see cref="Remote"/>
/// based on the remote's <see... | <|file_sep|>original/LibGit2Sharp/FetchOptions.cs
/// </summary>
public sealed class FetchOptions
{
/// <summary>
/// Specifies the tag-following behavior of the fetch operation.
/// <para>
/// If not set, the fetch operation will follow the default behavior for the <see cref... | be589ef4df09d9c5eb9072d395515ee3b0cb1dbb | LibGit2Sharp/FetchOptions.cs | LibGit2Sharp/FetchOptions.cs | C# |
<|file_sep|>examples/demo.py.diff
original:
updated:
# Create a parsed TAF object from string
<|file_sep|>examples/demo.py.diff
original:
updated:
# Create a decoder object from the TAF object
<|file_sep|>examples/demo.py.diff
original:
print taf_str
print
updated:
# Print the raw string for the reference
print(taf_s... | FM291500 04006KT P6SM SKC
TEMPO 2915/2917 2SM BR OVC008
FM291900 05007KT P6SM SCT050 BKN090 WS010/13040KT
PROB30 2921/3001 VRB20G30KT -TSRA BKN050CB
FM300100 31007KT P6SM SCT070 BKN120 +FC
FM300500 23006KT P6SM SCT120 $
"""
# Create a parsed TAF object from string
t = pytaf.TAF(taf_str)... | <|file_sep|>examples/demo.py.diff
original:
updated:
# Create a parsed TAF object from string
<|file_sep|>examples/demo.py.diff
original:
updated:
# Create a decoder object from the TAF object
<|file_sep|>examples/demo.py.diff
original:
print taf_str
print
updated:
# Print the raw string for the reference
print(taf_s... | 1c51c772d4b21eba70cd09429e603f1873b2c13c | examples/demo.py | examples/demo.py | Python |
<|file_sep|>tests/test_client.py.diff
original:
updated:
from Crypto.Cipher import AES
<|file_sep|>tests/test_client.py.diff
original:
updated:
from bugbuzz import pkcs5_unpad
<|file_sep|>original/tests/test_client.py
from __future__ import unicode_literals
import pytest
from bugbuzz import BugBuzzClient
@pytest.... |
@pytest.fixture
def bugbuzz_client(base_url='http://localhost'):
return BugBuzzClient(base_url)
def test_random_access_key():
keys = set()
for _ in range(100):
client = bugbuzz_client()
keys.add(client.aes_key)
assert len(keys) == 100
def test_encrypt_decrypt(bugbuzz_client):
pl... | <|file_sep|>tests/test_client.py.diff
original:
updated:
from Crypto.Cipher import AES
<|file_sep|>tests/test_client.py.diff
original:
updated:
from bugbuzz import pkcs5_unpad
<|file_sep|>original/tests/test_client.py
from __future__ import unicode_literals
import pytest
from bugbuzz import BugBuzzClient
@pytest.... | d8a2eb66521f49c535d54cfa8a66965bc0fc8caf | tests/test_client.py | tests/test_client.py | Python |
<|file_sep|>example/server.js.diff
original:
var Histogram = require('../lib/histogram');
updated:
var Histogram = require('../').Histogram;
<|file_sep|>example/server.js.diff
original:
var Counter = require('../lib/counter');
updated:
var Counter = require('../').Counter;
<|file_sep|>original/example/server.js
var exp... | var express = require('express');
var server = express();
var register = require('../lib/register');
var Histogram = require('../').Histogram;
var h = new Histogram('test_histogram', 'Example of a histogram', [ 'code' ]);
var Counter = require('../').Counter;
var c = new Counter('test_counter', 'Example of a counter'... | <|file_sep|>example/server.js.diff
original:
var Histogram = require('../lib/histogram');
updated:
var Histogram = require('../').Histogram;
<|file_sep|>example/server.js.diff
original:
var Counter = require('../lib/counter');
updated:
var Counter = require('../').Counter;
<|file_sep|>original/example/server.js
var exp... | cb14546dd974fda2fe24762d6a6fd77771bf5923 | example/server.js | example/server.js | JavaScript |
<|file_sep|>original/Casks/macpass.rb
class Macpass < Cask
url 'https://github.com/mstarke/MacPass/releases/download/0.4.1-alpha/MacPass-0.4.1-alpha.zip'
homepage 'http://mstarke.github.io/MacPass/'
version '0.4.1-alpha'
sha256 '1beaec4f0f8e33e5bf2575a4706befe6ef513f46ddc49f7662b6af3721680039'
link 'MacPass/M... | class Macpass < Cask
url 'https://github.com/mstarke/MacPass/releases/download/0.4.1-alpha/MacPass-0.4.1-alpha.zip'
homepage 'http://mstarke.github.io/MacPass/'
version '0.4.1-alpha'
sha256 '1beaec4f0f8e33e5bf2575a4706befe6ef513f46ddc49f7662b6af3721680039'
link 'MacPass.app'
end | <|file_sep|>original/Casks/macpass.rb
class Macpass < Cask
url 'https://github.com/mstarke/MacPass/releases/download/0.4.1-alpha/MacPass-0.4.1-alpha.zip'
homepage 'http://mstarke.github.io/MacPass/'
version '0.4.1-alpha'
sha256 '1beaec4f0f8e33e5bf2575a4706befe6ef513f46ddc49f7662b6af3721680039'
link 'MacPass/M... | 186e885b967a3aea6d489b227abf95e8348ccdf6 | Casks/macpass.rb | Casks/macpass.rb | Ruby |
<|file_sep|>original/chrome/browser/ui/webui/print_preview_ui.cc
: WebUI(contents),
html_source_(new PrintPreviewUIHTMLSource()) {
// PrintPreviewUI owns |handler|.
PrintPreviewHandler* handler = new PrintPreviewHandler();
AddMessageHandler(handler->Attach(this));
// Set up the chrome://print/ source... | : WebUI(contents),
html_source_(new PrintPreviewUIHTMLSource()) {
// PrintPreviewUI owns |handler|.
PrintPreviewHandler* handler = new PrintPreviewHandler();
AddMessageHandler(handler->Attach(this));
// Set up the chrome://print/ source.
contents->profile()->GetChromeURLDataManager()->AddDataSource... | <|file_sep|>original/chrome/browser/ui/webui/print_preview_ui.cc
: WebUI(contents),
html_source_(new PrintPreviewUIHTMLSource()) {
// PrintPreviewUI owns |handler|.
PrintPreviewHandler* handler = new PrintPreviewHandler();
AddMessageHandler(handler->Attach(this));
// Set up the chrome://print/ source... | d7c5ed89ca2a5304ba4bbc1551f74a6a5fb64dc1 | chrome/browser/ui/webui/print_preview_ui.cc | chrome/browser/ui/webui/print_preview_ui.cc | C++ |
<|file_sep|>original/backend/app/views/spree/admin/reimbursement_types/index.html.erb
</tr>
</thead>
<tbody>
<% @reimbursement_types.each do |reimbursement_type| %>
<tr id="<%= spree_dom_id reimbursement_type %>" data-hook="reimbursement_type_row" class="<%= cycle('odd', 'even')%>">
... | <th><%= Spree.t(:type) %></th>
</tr>
</thead>
<tbody>
<% @reimbursement_types.each do |reimbursement_type| %>
<tr id="<%= spree_dom_id reimbursement_type %>" data-hook="reimbursement_type_row" class="<%= cycle('odd', 'even')%>">
<td class="align-center">
<%= rei... | <|file_sep|>original/backend/app/views/spree/admin/reimbursement_types/index.html.erb
</tr>
</thead>
<tbody>
<% @reimbursement_types.each do |reimbursement_type| %>
<tr id="<%= spree_dom_id reimbursement_type %>" data-hook="reimbursement_type_row" class="<%= cycle('odd', 'even')%>">
... | 72a3c7a39d650b56a8a37fab0e54e948288b7e2e | backend/app/views/spree/admin/reimbursement_types/index.html.erb | backend/app/views/spree/admin/reimbursement_types/index.html.erb | HTML+ERB |
<|file_sep|>original/src/views/client/_form.php
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
$form = ActiveForm::begin([
'id' => 'client-form',
'enableClientValidation' => true,
'validateOnBlur' => true,
'enableAjaxValidation' => true,
'validationUrl' => Url::toRoute(['validate-form', 'scena... | use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
$form = ActiveForm::begin([
'id' => 'client-form',
'enableClientValidation' => true,
'validateOnBlur' => true,
'enableAjaxValidation' => true,
'validationUrl' => Url::toRoute(['validate-form', 'scenario' => $model->isNewRecord ? 'create' : 'update... | <|file_sep|>original/src/views/client/_form.php
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
$form = ActiveForm::begin([
'id' => 'client-form',
'enableClientValidation' => true,
'validateOnBlur' => true,
'enableAjaxValidation' => true,
'validationUrl' => Url::toRoute(['validate-form', 'scena... | 7ca2237268adc5ba53503a1258b50788edea724c | src/views/client/_form.php | src/views/client/_form.php | PHP |
<|file_sep|>original/requirements-test.txt
coverage==5.2.1
freezegun==1.0.0
pytest==6.2.4
pytest-cov==2.10.1
requests-mock==1.9.2
<|file_sep|>current/requirements-test.txt
coverage==5.2.1
freezegun==1.0.0
pytest==6.2.4
pytest-cov==2.10.1
requests-mock==1.9.2
<|file_sep|>updated/requirements-test.txt | coverage==5.5
freezegun==1.0.0
pytest==6.2.4
pytest-cov==2.10.1
requests-mock==1.9.2 | <|file_sep|>original/requirements-test.txt
coverage==5.2.1
freezegun==1.0.0
pytest==6.2.4
pytest-cov==2.10.1
requests-mock==1.9.2
<|file_sep|>current/requirements-test.txt
coverage==5.2.1
freezegun==1.0.0
pytest==6.2.4
pytest-cov==2.10.1
requests-mock==1.9.2
<|file_sep|>updated/requirements-test.txt
coverage==5.5
freez... | 27b9649c35546e4089287471ce8cd6dfeef4f75b | requirements-test.txt | requirements-test.txt | Text |
<|file_sep|>original/example-1.lisp
<|file_sep|>current/example-1.lisp
<|file_sep|>updated/example-1.lisp | ;; $Id: example-1.lisp,v 1.1 2006-08-11 12:52:53 alemmens Exp $
(in-package :test-rucksack)
;; NOTE: This example doesn't run at the moment, because indexing doesn't
;; work correctly yet.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Indexing, class redefinitions
;;;;;;;;;;;;;;... | <|file_sep|>original/example-1.lisp
<|file_sep|>current/example-1.lisp
<|file_sep|>updated/example-1.lisp
;; $Id: example-1.lisp,v 1.1 2006-08-11 12:52:53 alemmens Exp $
(in-package :test-rucksack)
;; NOTE: This example doesn't run at the moment, because indexing doesn't
;; work correctly yet.
;;;;;;;;;;;;;;;;;;;;... | c35b7683abf7b5809605718c3d79006b89359983 | example-1.lisp | example-1.lisp | Common Lisp |
<|file_sep|>original/src/bootstrap.php
<|file_sep|>current/src/bootstrap.php
<|file_sep|>updated/src/bootstrap.php | <?php
use Onion\Framework\Console\Console;
use Onion\Framework\Console\Buffer;
set_error_handler(function ($level, $message, $file, $line) {
$stream = 'php://stdout';
switch ($level) {
case E_USER_WARNING:
case E_WARNING:
$stream = 'php://stderr';
$type = 'WARNING';
... | <|file_sep|>original/src/bootstrap.php
<|file_sep|>current/src/bootstrap.php
<|file_sep|>updated/src/bootstrap.php
<?php
use Onion\Framework\Console\Console;
use Onion\Framework\Console\Buffer;
set_error_handler(function ($level, $message, $file, $line) {
$stream = 'php://stdout';
switch ($level) {
... | ef476cbe7c422b9b45cd0d563953b02130868033 | src/bootstrap.php | src/bootstrap.php | PHP |
<|file_sep|>original/app/Test/Case/Model/WallTest.php
<|file_sep|>current/app/Test/Case/Model/WallTest.php
<|file_sep|>updated/app/Test/Case/Model/WallTest.php | <?php
App::uses('Wall', 'Model');
class WallTest extends CakeTestCase {
public $fixtures = array(
'app.wall',
);
public function setUp() {
parent::setUp();
$this->Wall = ClassRegistry::init('Wall');
}
public function tearDown() {
unset($this->Wall);
paren... | <|file_sep|>original/app/Test/Case/Model/WallTest.php
<|file_sep|>current/app/Test/Case/Model/WallTest.php
<|file_sep|>updated/app/Test/Case/Model/WallTest.php
<?php
App::uses('Wall', 'Model');
class WallTest extends CakeTestCase {
public $fixtures = array(
'app.wall',
);
public function setUp(... | 239f070db766610d0c1e140c0e6bbafa756173ef | app/Test/Case/Model/WallTest.php | app/Test/Case/Model/WallTest.php | PHP |
<|file_sep|>original/test/integration_test.py
from subprocess import Popen, PIPE
from time import sleep
import requests
def get_with_retries(url):
n = 0
while True:
try:
return requests.get(url)
except requests.ConnectionError:
if n < 5:
n += 1
... | from subprocess import Popen, PIPE
from time import sleep
import requests
def get_with_retries(url):
n = 0
while True:
try:
return requests.get(url)
except requests.ConnectionError:
if n < 20:
n += 1
sleep(0.1)
else:
... | <|file_sep|>original/test/integration_test.py
from subprocess import Popen, PIPE
from time import sleep
import requests
def get_with_retries(url):
n = 0
while True:
try:
return requests.get(url)
except requests.ConnectionError:
if n < 5:
n += 1
... | a564f572bdccbd2370b2eb1026c47e367556fff9 | test/integration_test.py | test/integration_test.py | Python |
<|file_sep|>original/_config.php
}
Config::inst()->update('Director', 'rules', array(
'newsletterlinks/$Hash' => "TrackLinkController",
'unsubscribe//$Action/$ValidateHash/$MailingList' => 'UnsubscribeController'
));
if (class_exists('MessageQueue')) {
MessageQueue::add_interface("default", array( "queues" => "/.*... | 'newsletterlinks/$Hash' => "TrackLinkController",
'unsubscribe//$Action/$ValidateHash/$MailingList' => 'UnsubscribeController'
));
if (class_exists('MessageQueue')) {
MessageQueue::add_interface("default", array( "queues" => "/.*/",
"implementation" => "SimpleDBMQ",
"encoding" => "php_serialize",
"send" => ar... | <|file_sep|>original/_config.php
}
Config::inst()->update('Director', 'rules', array(
'newsletterlinks/$Hash' => "TrackLinkController",
'unsubscribe//$Action/$ValidateHash/$MailingList' => 'UnsubscribeController'
));
if (class_exists('MessageQueue')) {
MessageQueue::add_interface("default", array( "queues" => "/.*... | 6769e681386e230fce35a6779622bfd72a90ae98 | _config.php | _config.php | PHP |
<|file_sep|>original/requirements/dev.txt
# Local development dependencies go here
-r base.txt
Sphinx==2.3.0
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==2.1
django-extensions==2.2.5
django-autofixture==0.12.1
graphviz==0.13.2
factory-boy==2.12.0
django-coverage-plugin==1.6.0
django-test-pl... | # Local development dependencies go here
-r base.txt
Sphinx==2.3.0
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==2.1
django-extensions==2.2.5
django-autofixture==0.12.1
graphviz==0.13.2
factory-boy==2.12.0
django-coverage-plugin==1.7.0
django-test-plus==1.4.0
vcrpy==3.0.0
ipdb==0.12.3 | <|file_sep|>original/requirements/dev.txt
# Local development dependencies go here
-r base.txt
Sphinx==2.3.0
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==2.1
django-extensions==2.2.5
django-autofixture==0.12.1
graphviz==0.13.2
factory-boy==2.12.0
django-coverage-plugin==1.6.0
django-test-pl... | 1bf6d40d11987a87c5f526895d76ba17ec94c820 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/gitconfig.erb
status = auto
branch = auto
[apply]
whitespace = nowarn
[alias]
ff = pull --ff-only
ff-merge = merge --ff-only
recommit = commit --amend
workdir-or-cwd = !echo $PWD
workdir = rev-parse --show-toplevel
prune = fetch --all --prune
in-develop = log master..develop --pretty... | branch = auto
[apply]
whitespace = nowarn
[alias]
ff = pull --ff-only
ff-merge = merge --ff-only
recommit = commit --amend
workdir-or-cwd = !echo $PWD
workdir = rev-parse --show-toplevel
prune = fetch --all --prune
in-develop = log master..develop --pretty='format:%s' --no-merges
deploy = push origin HE... | <|file_sep|>original/gitconfig.erb
status = auto
branch = auto
[apply]
whitespace = nowarn
[alias]
ff = pull --ff-only
ff-merge = merge --ff-only
recommit = commit --amend
workdir-or-cwd = !echo $PWD
workdir = rev-parse --show-toplevel
prune = fetch --all --prune
in-develop = log master..develop --pretty... | 31ee886e2123f050f2cce85cd81499335910c368 | gitconfig.erb | gitconfig.erb | HTML+ERB |
<|file_sep|>original/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Super-Todo-Uper</title>
</head>
<body>
<div>
<h1>Super-Todo-... | <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Super-Todo-Uper</title>
</head>
<body>
<div>
<h1>Super-Todo-Uper</h1>
<input type="text">
<span>
<button... | <|file_sep|>original/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Super-Todo-Uper</title>
</head>
<body>
<div>
<h1>Super-Todo-... | 7ad047cfca877aab2583bce75b09cce215c591ca | index.html | index.html | HTML |
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"target": "es2019",
"jsx": "preserve",
"checkJs": true,
"noEmit": true,
"allowJs": true
},
"exclude": ["node_modules", "**/node_modules/*"],
"include": ["ci"]
}
<|file_sep|>current/tsconfig.json
{
"compiler... | {
"compilerOptions": {
"module": "commonjs",
"target": "es2019",
"jsx": "preserve",
"checkJs": true,
"noEmit": true,
"allowJs": true
},
"exclude": ["node_modules", "**/node_modules/*"],
"include": ["ci", "notifications"]
} | <|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"target": "es2019",
"jsx": "preserve",
"checkJs": true,
"noEmit": true,
"allowJs": true
},
"exclude": ["node_modules", "**/node_modules/*"],
"include": ["ci"]
}
<|file_sep|>current/tsconfig.json
{
"compiler... | 80a3e60ccf944a53dfcd267a6138d9941c5f6360 | tsconfig.json | tsconfig.json | JSON |
<|file_sep|>original/src/lib/filters/info.txt
key_filt.h
pipe.h
secqueue.h
transform_filter.h
</header:public>
<header:internal>
out_buf.h
</header:internal>
<requires>
alloc
asn1
block
hash
libstate
mac
rng
stream
algo_base
</requires>
<|file_sep|>current/src/lib/filters/info.txt
key_filt.h
pipe.h
secqueue.h
transfo... | pipe.h
secqueue.h
transform_filter.h
</header:public>
<header:internal>
out_buf.h
</header:internal>
<requires>
alloc
asn1
block
compression
hash
libstate
mac
rng
stream
algo_base
</requires> | <|file_sep|>original/src/lib/filters/info.txt
key_filt.h
pipe.h
secqueue.h
transform_filter.h
</header:public>
<header:internal>
out_buf.h
</header:internal>
<requires>
alloc
asn1
block
hash
libstate
mac
rng
stream
algo_base
</requires>
<|file_sep|>current/src/lib/filters/info.txt
key_filt.h
pipe.h
secqueue.h
transfo... | 12d7ead8c321a445b7ebb5226fe89dc0822c2796 | src/lib/filters/info.txt | src/lib/filters/info.txt | Text |
<|file_sep|>original/settings.dist.yaml
# Vagrant
vagrant:
folders:
dev:
path: '/var/www/dev'
host:
path: '/var/www/host'
log:
path: '/var/log/apache2'
ports:
80: 80
443: 443
3306: 3306
# Guest
guest:
name: 'Development'
architecture: '32-bit'
memory: 1024
cpus: 1
... | # Vagrant
vagrant:
folders:
dev:
path: '/var/www/dev'
host:
path: '/var/www/host'
ports:
80: 80
443: 443
3306: 3306
# Guest
guest:
name: 'Development'
architecture: '32-bit'
memory: 1024
cpus: 1
hostname: 'vagrant'
# Webserver | <|file_sep|>original/settings.dist.yaml
# Vagrant
vagrant:
folders:
dev:
path: '/var/www/dev'
host:
path: '/var/www/host'
log:
path: '/var/log/apache2'
ports:
80: 80
443: 443
3306: 3306
# Guest
guest:
name: 'Development'
architecture: '32-bit'
memory: 1024
cpus: 1
... | 7296a4a1bd2db7f505ed47a79bfe11f241f5edeb | settings.dist.yaml | settings.dist.yaml | YAML |
<|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": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.20",... | ],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.20",
"core-js": "3.18.2",
"mocha": "9.1.2... | <|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": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.20",... | 452330d6c88019f24893352110e7779464fdd4ec | javascript/package.json | javascript/package.json | JSON |
<|file_sep|>original/integration-tests/src/test/java/arez/integration/observe/TrackInEnvironmentTest.java
<|file_sep|>current/integration-tests/src/test/java/arez/integration/observe/TrackInEnvironmentTest.java
<|file_sep|>updated/integration-tests/src/test/java/arez/integration/observe/TrackInEnvironmentTest.java | package arez.integration.observe;
import arez.Arez;
import arez.ArezContext;
import arez.Environment;
import arez.Function;
import arez.SafeFunction;
import arez.annotations.ArezComponent;
import arez.annotations.Executor;
import arez.annotations.Observe;
import arez.annotations.OnDepsChanged;
import arez.integration.... | <|file_sep|>original/integration-tests/src/test/java/arez/integration/observe/TrackInEnvironmentTest.java
<|file_sep|>current/integration-tests/src/test/java/arez/integration/observe/TrackInEnvironmentTest.java
<|file_sep|>updated/integration-tests/src/test/java/arez/integration/observe/TrackInEnvironmentTest.java
pa... | 50f9677f6e3eb031b1905412e222ec1efd81a7a4 | integration-tests/src/test/java/arez/integration/observe/TrackInEnvironmentTest.java | integration-tests/src/test/java/arez/integration/observe/TrackInEnvironmentTest.java | Java |
<|file_sep|>original/prius.gemspec
Gem::Specification.new do |spec|
spec.name = "prius"
spec.version = Prius::VERSION
spec.authors = ["Harry Marr"]
spec.email = ["engineering@gocardless.com"]
spec.description = %q{Environmentally-friendly config}
spec.summary = spec.desc... | Gem::Specification.new do |spec|
spec.name = "prius"
spec.version = Prius::VERSION
spec.authors = ["Harry Marr"]
spec.email = ["engineering@gocardless.com"]
spec.description = %q{Environmentally-friendly config}
spec.summary = spec.description
spec.homepage = "htt... | <|file_sep|>original/prius.gemspec
Gem::Specification.new do |spec|
spec.name = "prius"
spec.version = Prius::VERSION
spec.authors = ["Harry Marr"]
spec.email = ["engineering@gocardless.com"]
spec.description = %q{Environmentally-friendly config}
spec.summary = spec.desc... | e63a7b2af623cee888d1ff386586e3e798f6710a | prius.gemspec | prius.gemspec | Ruby |
<|file_sep|>original/README.md
# Features
* Grade calculator
* Ability to set preferred name
* Theming
* Grade change indicator
* Grade history viewer
* Button ripples
* Ability to enable/disable features
# Planned Features
* Custom/user created themes
* More fleshed out notifications
# Setup and Installation
1. `git... | # Features
* Grade calculator
* Ability to set preferred name
* Theming
* Grade change indicator
* Grade history viewer
* Button ripples
* Ability to enable/disable features
# Planned Features
* Ability to view newly added grades
# Setup and Installation
1. `git clone "https://github.com/Cubified/PowerSchoolPlus"`
2.... | <|file_sep|>original/README.md
# Features
* Grade calculator
* Ability to set preferred name
* Theming
* Grade change indicator
* Grade history viewer
* Button ripples
* Ability to enable/disable features
# Planned Features
* Custom/user created themes
* More fleshed out notifications
# Setup and Installation
1. `git... | 3c2c9ae5251f65add30d5e1db8302114424c4344 | README.md | README.md | Markdown |
<|file_sep|>original/modules/core/src/test/scala/com/tristanpenman/chordial/core/algorithms/StabilisationAlgorithmSpec.scala
<|file_sep|>current/modules/core/src/test/scala/com/tristanpenman/chordial/core/algorithms/StabilisationAlgorithmSpec.scala
<|file_sep|>updated/modules/core/src/test/scala/com/tristanpenman/cho... | package com.tristanpenman.chordial.core.algorithms
import akka.actor.{Actor, ActorSystem}
import akka.testkit.{ImplicitSender, TestActorRef, TestKit}
import akka.util.Timeout
import com.tristanpenman.chordial.core.Node.{Notify, NotifyOk}
import com.tristanpenman.chordial.core.Pointers
import com.tristanpenman.chordial... | <|file_sep|>original/modules/core/src/test/scala/com/tristanpenman/chordial/core/algorithms/StabilisationAlgorithmSpec.scala
<|file_sep|>current/modules/core/src/test/scala/com/tristanpenman/chordial/core/algorithms/StabilisationAlgorithmSpec.scala
<|file_sep|>updated/modules/core/src/test/scala/com/tristanpenman/cho... | fe8a52d7553f7a6e25f6c8fd3438f29c3293968e | modules/core/src/test/scala/com/tristanpenman/chordial/core/algorithms/StabilisationAlgorithmSpec.scala | modules/core/src/test/scala/com/tristanpenman/chordial/core/algorithms/StabilisationAlgorithmSpec.scala | Scala |
<|file_sep|>db/seeders/correspondence_type_seeder.rb.diff
original:
rec = CorrespondenceType.find_by(name: 'Freedom of information request')
updated:
rec = CorrespondenceType.find_by(abbreviation: 'FOI')
<|file_sep|>original/db/seeders/correspondence_type_seeder.rb
puts "----Seeding Correspondence Types----... | puts "----Seeding Correspondence Types----"
rec = CorrespondenceType.find_by(abbreviation: 'FOI')
rec = CorrespondenceType.new if rec.nil?
rec.update!(name: 'Freedom of information request',
abbreviation: 'FOI',
escalation_time_limit: 3,
internal_time_lim... | <|file_sep|>db/seeders/correspondence_type_seeder.rb.diff
original:
rec = CorrespondenceType.find_by(name: 'Freedom of information request')
updated:
rec = CorrespondenceType.find_by(abbreviation: 'FOI')
<|file_sep|>original/db/seeders/correspondence_type_seeder.rb
puts "----Seeding Correspondence Types----... | ed3a60920bbf339ccbbde2c05574f840f7a2ad59 | db/seeders/correspondence_type_seeder.rb | db/seeders/correspondence_type_seeder.rb | Ruby |
<|file_sep|>original/.travis.yml
language: go
<|file_sep|>current/.travis.yml
language: go
<|file_sep|>updated/.travis.yml | language: go
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/ba522271c7ed59024b62
on_success: always
on_failure: always
on_start: false
| <|file_sep|>original/.travis.yml
language: go
<|file_sep|>current/.travis.yml
language: go
<|file_sep|>updated/.travis.yml
language: go
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/ba522271c7ed59024b62
on_success: always
on_failure: always
on_start: false
| d0c64e136a349c72a47378e3033096892de26f3f | .travis.yml | .travis.yml | YAML |
<|file_sep|>index.html.diff
original:
updated:
<p><a href="/about" class="btn btn--primary btn--large">Learn more about the project here</a></p>
<|file_sep|>original/index.html
---
layout: archive
author_profile: false
excerpt: "Opening pathways for discovery, research, and innovation in health (and healthcare)."
head... | ---
layout: archive
author_profile: false
excerpt: "Opening pathways for discovery, research, and innovation in health (and healthcare)."
header:
overlay_color: "#1E90FF"
---
This project is a collaboration between patients and traditional researchers to explore the processes around discovery, research, and innovati... | <|file_sep|>index.html.diff
original:
updated:
<p><a href="/about" class="btn btn--primary btn--large">Learn more about the project here</a></p>
<|file_sep|>original/index.html
---
layout: archive
author_profile: false
excerpt: "Opening pathways for discovery, research, and innovation in health (and healthcare)."
head... | 5c0ef891957d14899ba60ead34af01557a096c6c | index.html | index.html | HTML |
<|file_sep|>original/templates/storage/ceph/ceph.conf.erb
[global]
fsid = <%= @fsid %>
mon_initial_members = <%= Array(@mon_initial_members).join(',') %>
mon_host = <%= Array(@mon_host).join(',') %>
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true... | fsid = <%= @fsid %>
mon_initial_members = <%= Array(@mon_initial_members).join(',') %>
mon_host = <%= Array(@mon_host).join(',') %>
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true
public_network = <%= @public_network %>
cluster_network = <%= @clu... | <|file_sep|>original/templates/storage/ceph/ceph.conf.erb
[global]
fsid = <%= @fsid %>
mon_initial_members = <%= Array(@mon_initial_members).join(',') %>
mon_host = <%= Array(@mon_host).join(',') %>
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true... | 329b3486fc56e1d39052a845e302f3be710b3646 | templates/storage/ceph/ceph.conf.erb | templates/storage/ceph/ceph.conf.erb | HTML+ERB |
<|file_sep|>original/.circleci/config.yml
docker:
- image: circleci/openjdk:8-jdk
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- gradle-{{ checksum "frontend/build.gradle" }}-{{ checksum "backend/build.gradle" }}
- gradle-
-... | docker:
- image: circleci/openjdk:8-jdk
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- gradle-{{ checksum "frontend/build.gradle" }}-{{ checksum "backend/build.gradle" }}
- gradle-
- run: gradle dependencies
- save_ca... | <|file_sep|>original/.circleci/config.yml
docker:
- image: circleci/openjdk:8-jdk
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- gradle-{{ checksum "frontend/build.gradle" }}-{{ checksum "backend/build.gradle" }}
- gradle-
-... | b19111039c74527c0d7b20daf22857146e3cac06 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/config.mk
# Compilation
INCLUDE+= -I..
CFLAGS+= -Wall -Wno-unknown-pragmas -std=c99 -ggdb $(INCLUDE) -D_XOPEN_SOURCE=500
# Installation
DESTDIR?= /
PREFIX?= /usr/local/
MANDEST= $(DESTDIR)/usr/share/man/man1/
BINDEST= $(DESTDIR)/$(PREFIX)/bin/
LIBDEST= $(DESTDIR)/$(PREFIX)/lib/
INCDES... | # Compilation
INCLUDE+= -I..
CFLAGS+= -Wall -Wno-unknown-pragmas -std=c99 -ggdb $(INCLUDE) -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
# Installation
DESTDIR?= /
PREFIX?= /usr/local/
MANDEST= $(DESTDIR)/usr/share/man/man1/
BINDEST= $(DESTDIR)/$(PREFIX)/bin/
LIBDEST= $(DESTDIR)/$(PREFIX)/lib/
INCDEST= $(DEST... | <|file_sep|>original/config.mk
# Compilation
INCLUDE+= -I..
CFLAGS+= -Wall -Wno-unknown-pragmas -std=c99 -ggdb $(INCLUDE) -D_XOPEN_SOURCE=500
# Installation
DESTDIR?= /
PREFIX?= /usr/local/
MANDEST= $(DESTDIR)/usr/share/man/man1/
BINDEST= $(DESTDIR)/$(PREFIX)/bin/
LIBDEST= $(DESTDIR)/$(PREFIX)/lib/
INCDES... | 60a3b345853d8b25c97a6366c5b4617a83183792 | config.mk | config.mk | Makefile |
<|file_sep|>original/circle.yml
global:
- REPO="empireryan/world_engine"
- CI_HOME =`pwd`/$REPO
dependencies:
pre:
- pip install pytest
- sudo apt-get install gdal-bin libgdal-dev
#- sudo apt-get install libgdal-dev
- sudo apt-get install python-gdal
- sudo apt-ge... | - CI_HOME =`pwd`/$REPO
dependencies:
pre:
- pip install pytest
- sudo apt-get install gdal-bin libgdal-dev
#- sudo apt-get install libgdal-dev
- sudo apt-get install python-gdal
- sudo apt-get install build-essential python-all-dev
- export CPLUS_INCLUDE_PATH=/u... | <|file_sep|>original/circle.yml
global:
- REPO="empireryan/world_engine"
- CI_HOME =`pwd`/$REPO
dependencies:
pre:
- pip install pytest
- sudo apt-get install gdal-bin libgdal-dev
#- sudo apt-get install libgdal-dev
- sudo apt-get install python-gdal
- sudo apt-ge... | 7830ff502524e5b328ffe4e95cfecdf0545a56e7 | circle.yml | circle.yml | YAML |
<|file_sep|>src/lib/get-github-corner-styles.js.diff
original:
0% {
updated:
0%, 100% {
<|file_sep|>src/lib/get-github-corner-styles.js.diff
original:
20% {
updated:
20%, 60% {
<|file_sep|>src/lib/get-github-corner-styles.js.diff
original:
40% {
updated:
40%, 80% {
<|file_sep|>original/src/lib/get-github-co... |
20%, 60% {
transform: rotate(-25deg);
}
40%, 80% {
transform: rotate(10deg);
}
}
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
animation: none;
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}
`;
}; | <|file_sep|>src/lib/get-github-corner-styles.js.diff
original:
0% {
updated:
0%, 100% {
<|file_sep|>src/lib/get-github-corner-styles.js.diff
original:
20% {
updated:
20%, 60% {
<|file_sep|>src/lib/get-github-corner-styles.js.diff
original:
40% {
updated:
40%, 80% {
<|file_sep|>original/src/lib/get-github-co... | 0d4f71ab6b3c773c0afc8d820f05d1468e63a640 | src/lib/get-github-corner-styles.js | src/lib/get-github-corner-styles.js | JavaScript |
<|file_sep|>src/Ob_Ivan/DropboxProxy/ResourceProvider/MemcacheResourceProvider.php.diff
original:
updated:
} else {
throw new Exception('No server parameters provided for memcache resource.');
<|file_sep|>original/src/Ob_Ivan/DropboxProxy/ResourceProvider/MemcacheResourceProvider.php
class... | {
$container->register('memcache', function ($container) {
$params = [];
if (isset($container['memcache.unix_socket'])) {
$params['host'] = 'unix://' . $container['memcache.unix_socket'];
$params['port'] = 0;
} elseif (isset($container['mem... | <|file_sep|>src/Ob_Ivan/DropboxProxy/ResourceProvider/MemcacheResourceProvider.php.diff
original:
updated:
} else {
throw new Exception('No server parameters provided for memcache resource.');
<|file_sep|>original/src/Ob_Ivan/DropboxProxy/ResourceProvider/MemcacheResourceProvider.php
class... | ce024cc1c8d38c388ae2963962bb9ccd76ce7711 | src/Ob_Ivan/DropboxProxy/ResourceProvider/MemcacheResourceProvider.php | src/Ob_Ivan/DropboxProxy/ResourceProvider/MemcacheResourceProvider.php | PHP |
<|file_sep|>original/package.json
"name": "Asaf David",
"email": "asafdav@gmail.com",
"url": "http://about.me/asafdavid"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/asafdav/hapi-auth-extra/issues"
},
"homepage": "https://github.com/asafdav/hapi-auth-extra",
"dependencies": {
... | "name": "Asaf David",
"email": "asafdav@gmail.com",
"url": "http://about.me/asafdavid"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/asafdav/hapi-auth-extra/issues"
},
"homepage": "https://github.com/asafdav/hapi-auth-extra",
"dependencies": {
"hapi": "^4.1.4",
"hoek": "^... | <|file_sep|>original/package.json
"name": "Asaf David",
"email": "asafdav@gmail.com",
"url": "http://about.me/asafdavid"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/asafdav/hapi-auth-extra/issues"
},
"homepage": "https://github.com/asafdav/hapi-auth-extra",
"dependencies": {
... | cab14d37f1791e8005671c20bb742b2c8115ac4d | package.json | package.json | JSON |
<|file_sep|>app/controllers/ripple_addresses.js.diff
original:
function respondToValidationErrors(req, res) {
var errors = req.validationErrors();
if (errors) {
res.end({ error: util.inspect(errors) }, 400)
return;
}
}
updated:
module.exports = (function(){
function create(req, res) {
req.validate('user_id... | }
}
function index(req,res) {
if (req.user.admin) {
RippleAddress.findAll().complete(function(err, addresses) {
res.send({ ripple_addresses: addresses });
});
} else {
RippleAddress.findAll({ where: { user_id: req.user.id }})
.complete(function(err, addresses) {
... | <|file_sep|>app/controllers/ripple_addresses.js.diff
original:
function respondToValidationErrors(req, res) {
var errors = req.validationErrors();
if (errors) {
res.end({ error: util.inspect(errors) }, 400)
return;
}
}
updated:
module.exports = (function(){
function create(req, res) {
req.validate('user_id... | 801a245e1469c44218b437a97de9a80968ebbc7d | app/controllers/ripple_addresses.js | app/controllers/ripple_addresses.js | JavaScript |
<|file_sep|>original/AUTHORS.rst
=======
Credits
=======
Development Lead
----------------
* Sander Smits <jhmsmits@gmail.com>
Contributors
------------
* Liam Andrew
<|file_sep|>current/AUTHORS.rst
=======
Credits
=======
Development Lead
----------------
* Sander Smits <jhmsmits@gmail.com>
Contributors
-------... | =======
Credits
=======
Development Lead
----------------
* Sander Smits <jhmsmits@gmail.com>
Contributors
------------
* Liam Andrew
* Arjen Vrielink
| <|file_sep|>original/AUTHORS.rst
=======
Credits
=======
Development Lead
----------------
* Sander Smits <jhmsmits@gmail.com>
Contributors
------------
* Liam Andrew
<|file_sep|>current/AUTHORS.rst
=======
Credits
=======
Development Lead
----------------
* Sander Smits <jhmsmits@gmail.com>
Contributors
-------... | 3a61ca60af460b3bd0ba0fb18a0ab327a047934b | AUTHORS.rst | AUTHORS.rst | reStructuredText |
<|file_sep|>original/jg-backend/installation/jg-install/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.... |
<parent>
<groupId>org.jgrades.app</groupId>
<artifactId>installation</artifactId>
<version>0.4-DEV-SNAPSHOT</version>
</parent>
<artifactId>jg-install</artifactId>
<name>jGrades Scratch Installation Resources</name>
<build>
<plugins>
<plugin>
... | <|file_sep|>original/jg-backend/installation/jg-install/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.... | da2ab7cb5bc0ad0448514179d6fe896aa15dadb5 | jg-backend/installation/jg-install/pom.xml | jg-backend/installation/jg-install/pom.xml | XML |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
before_install:
- pip install coveralls
script:
python test_namealizer.py
coverage run --source=namealizer test_namealizer.py
after_success:
- coveralls
<|file_sep|>curre... | language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
install:
- pip install coveralls
script:
python test_namealizer.py
coverage run --source=namealizer test_namealizer.py
after_success:
- coveralls | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
before_install:
- pip install coveralls
script:
python test_namealizer.py
coverage run --source=namealizer test_namealizer.py
after_success:
- coveralls
<|file_sep|>curre... | 1027831f70146c1548eded9bb644b0f985c4f872 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/utils/gen_board_layout.plx
<|file_sep|>current/utils/gen_board_layout.plx
<|file_sep|>updated/utils/gen_board_layout.plx | #!/usr/bin/perl
use warnings;
use strict;
my $board_size = @ARGV ? $ARGV[0] : 9;
print <<EOF
<?xml version="1.0" ?>
<GUILayout version="4">
<Window type="GlossySerpent/SimplePanel" name="gameWindow">
<Property name="Position" value="{ {0, 0}, {0, 0} }"/>
<Property name="Size" value="{ {1.0, 0}, {1.0, 0} }"/>
... | <|file_sep|>original/utils/gen_board_layout.plx
<|file_sep|>current/utils/gen_board_layout.plx
<|file_sep|>updated/utils/gen_board_layout.plx
#!/usr/bin/perl
use warnings;
use strict;
my $board_size = @ARGV ? $ARGV[0] : 9;
print <<EOF
<?xml version="1.0" ?>
<GUILayout version="4">
<Window type="GlossySerpent/Simple... | 0648e99c4e299faa454420b6421b0fa9ea51394a | utils/gen_board_layout.plx | utils/gen_board_layout.plx | Perl |
<|file_sep|>original/metadata/de.mangelow.debdroid.txt
Issue Tracker:https://github.com/scheich/debDroid/issues
Auto Name:debDroid
Summary:Search for debian packages
Description:
Search for debian packages on packages.debian.org.
.
Repo Type:git
Repo:https://github.com/scheich/debDroid
Build:0.13,4
commit=cbc2ca... | .
Repo Type:git
Repo:https://github.com/scheich/debDroid
Build:0.13,4
commit=cbc2ca7ca67eaf978e0de05ca81101b285228530
srclibs=ActionBarSherlock@4.2.0
prebuild=sed -i 's@\(android.library.reference.1=\).*@\1$$ActionBarSherlock$$@' project.properties
target=android-17
Build:0.15,5
commit=edf12e39ce... | <|file_sep|>original/metadata/de.mangelow.debdroid.txt
Issue Tracker:https://github.com/scheich/debDroid/issues
Auto Name:debDroid
Summary:Search for debian packages
Description:
Search for debian packages on packages.debian.org.
.
Repo Type:git
Repo:https://github.com/scheich/debDroid
Build:0.13,4
commit=cbc2ca... | 58f338fbf314a0d73b3debf8076aa9137dd5d7cf | metadata/de.mangelow.debdroid.txt | metadata/de.mangelow.debdroid.txt | Text |
<|file_sep|>original/vim/config/plugins/ale.vim
let g:ale_open_list = 0
"don't fix on save
let g:ale_fix_on_save = 0
"configure when to lint
let g:ale_lint_on_text_changed = 'normal'
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_insert_leave = 1
"list... |
"don't fix on save
let g:ale_fix_on_save = 0
"configure when to lint
let g:ale_lint_on_text_changed = 'normal'
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_insert_leave = 1
"list of ale fixers
let g:ale_fixers = {
\ 'javascript': [ 'eslint' ]... | <|file_sep|>original/vim/config/plugins/ale.vim
let g:ale_open_list = 0
"don't fix on save
let g:ale_fix_on_save = 0
"configure when to lint
let g:ale_lint_on_text_changed = 'normal'
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_insert_leave = 1
"list... | 68f480a8677826e4f789505c7aa7b863d472fca0 | vim/config/plugins/ale.vim | vim/config/plugins/ale.vim | VimL |
<|file_sep|>original/app/Http/Controllers/DashboardController.php
* Change the active director, set active_director
* session variable if input value not empty.
*
* @return \Illuminate\Http\Response
*/
public function changeDirector()
{
$director_id = Input::get('director-select... | * session variable if input value not empty.
*
* @return \Illuminate\Http\Response
*/
public function changeDirector()
{
$director_id = Input::get('director-select');
if(!empty($director_id))
{
$connectionName = Catalogs::getCatalogName($director_id);
... | <|file_sep|>original/app/Http/Controllers/DashboardController.php
* Change the active director, set active_director
* session variable if input value not empty.
*
* @return \Illuminate\Http\Response
*/
public function changeDirector()
{
$director_id = Input::get('director-select... | 1dc4cac91a841ce835eedb27ad81f38f296b99df | app/Http/Controllers/DashboardController.php | app/Http/Controllers/DashboardController.php | PHP |
<|file_sep|>original/.dependabot/config.yml
# Documentation in https://dependabot.com/docs/config-file/
version: 1
update_configs:
- package_manager: "java:maven"
directory: "/"
update_schedule: "daily"
allowed_updates:
- match:
update_type: "security"
- match:
dependency_n... | update_schedule: "daily"
allowed_updates:
- match:
update_type: "security"
- match:
dependency_name: "org.flywaydb:flyway-core"
- match:
dependency_name: "org.eclipse.jgit:org.eclipse.jgit"
- match:
dependency_name: "io.fabric8:kubernetes-client-bo... | <|file_sep|>original/.dependabot/config.yml
# Documentation in https://dependabot.com/docs/config-file/
version: 1
update_configs:
- package_manager: "java:maven"
directory: "/"
update_schedule: "daily"
allowed_updates:
- match:
update_type: "security"
- match:
dependency_n... | 7c1899823ce0f76c81f347bc071b389e0e55a6f8 | .dependabot/config.yml | .dependabot/config.yml | YAML |
<|file_sep|>original/package.json
{
"name": "svg-fallback.js",
"version": "1.0.1",
"description": "Provides an unobtrusive fallback for browsers which lack support for SVG images",
"repository": {
"type": "git",
"url": "https://github.com/aduth/svg-fallback.js.git"
},
"author": {
"name": "Andrew... | {
"name": "svg-fallback.js",
"version": "1.0.1",
"description": "Provides an unobtrusive fallback for browsers which lack support for SVG images",
"repository": {
"type": "git",
"url": "https://github.com/aduth/svg-fallback.js.git"
},
"author": {
"name": "Andrew Duthie",
"email": "andrew@and... | <|file_sep|>original/package.json
{
"name": "svg-fallback.js",
"version": "1.0.1",
"description": "Provides an unobtrusive fallback for browsers which lack support for SVG images",
"repository": {
"type": "git",
"url": "https://github.com/aduth/svg-fallback.js.git"
},
"author": {
"name": "Andrew... | 8f417beb2826c3ad241cf0a792ae16710efe2753 | package.json | package.json | JSON |
<|file_sep|>app/img/logo.svg.diff
original:
width="500" height="500"
viewBox="0 0 500 500">
updated:
width="512" height="512"
viewBox="0 0 512 512">
<|file_sep|>app/img/logo.svg.diff
original:
<circle fill="#555" cx="250" cy="250" r="250" />
updated:
<circle fill="#555" cx="256" cy="256" r="256"... | <svg xmlns="http://www.w3.org/2000/svg"
width="512" height="512"
viewBox="0 0 512 512">
<circle fill="#555" cx="256" cy="256" r="256" />
<g stroke-width="32" stroke="#fff">
<circle fill="#0b5" cx="256" cy="256" r="176" />
<g transform="translate(256 256) rotate(35)">
<line x1="0" y1="0" x... | <|file_sep|>app/img/logo.svg.diff
original:
width="500" height="500"
viewBox="0 0 500 500">
updated:
width="512" height="512"
viewBox="0 0 512 512">
<|file_sep|>app/img/logo.svg.diff
original:
<circle fill="#555" cx="250" cy="250" r="250" />
updated:
<circle fill="#555" cx="256" cy="256" r="256"... | aae357537943956396db5765cfab56b111049c81 | app/img/logo.svg | app/img/logo.svg | SVG |
<|file_sep|>original/bin/package.sh
# The script is crap, but it works for me. :)
# So bleh bleh bleh
cd ../
version=`cat appinfo/version`
version="ocusagecharts_$version"
zipfile="$version.zip"
echo $version | xargs mkdir
cp -Rv * "$version"
cd "$version"
curl -sS https://getcomposer.org/installer | php
php composer.... | # The script is crap, but it works for me. :)
# So bleh bleh bleh
cd ../
version=`cat appinfo/version`
version="ocusagecharts_$version"
zipfile="$version.zip"
echo $version | xargs mkdir
cp -Rv * "$version"
cd "$version"
rm -rf vendor/
curl -sS https://getcomposer.org/installer | php
php composer.phar install --no-dev... | <|file_sep|>original/bin/package.sh
# The script is crap, but it works for me. :)
# So bleh bleh bleh
cd ../
version=`cat appinfo/version`
version="ocusagecharts_$version"
zipfile="$version.zip"
echo $version | xargs mkdir
cp -Rv * "$version"
cd "$version"
curl -sS https://getcomposer.org/installer | php
php composer.... | a35902596bd367e2d0ed20bd22f46c90d3651008 | bin/package.sh | bin/package.sh | Shell |
<|file_sep|>original/jenkins/workflow.groovy
def src = 'https://github.com/cloudhotspot/pypackage-docker.git'
node {
git url: src
stage 'Build Base Images'
sh 'make image docker/base'
sh 'make image docker/dev'
sh 'make image docker/agent'
stage 'Run Unit/Integration Tests'
sh 'make test'... |
node {
git url: src
stage 'Build Base Images'
sh 'make image docker/base'
sh 'make image docker/dev'
sh 'make image docker/agent'
try {
stage 'Run Unit/Integration Tests'
sh 'make test'
} catch(all) {
step([$class: 'JUnitResultArchiver', testResults: '**/src/*.xml'... | <|file_sep|>original/jenkins/workflow.groovy
def src = 'https://github.com/cloudhotspot/pypackage-docker.git'
node {
git url: src
stage 'Build Base Images'
sh 'make image docker/base'
sh 'make image docker/dev'
sh 'make image docker/agent'
stage 'Run Unit/Integration Tests'
sh 'make test'... | 6d23a08c96ba0728fa50e619429b4d620d9940dd | jenkins/workflow.groovy | jenkins/workflow.groovy | Groovy |
<|file_sep|>original/test/config/imageservice_config.json
{
"osname": "CentOS",
"version": "7.0",
"linktype": "http",
"url": "http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-DVD.iso"
}
],
"microkernel": [
"scp:///var/renasar/on-http/static/http... | {
"osname": "CentOS",
"version": "7.0",
"linktype": "http",
"url": "http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-DVD.iso"
}
],
"microkernel": [
"scp:///var/renasar/on-http/static/http/common/vmlinuz-3.16.0-25-generic",
"scp:///var/rena... | <|file_sep|>original/test/config/imageservice_config.json
{
"osname": "CentOS",
"version": "7.0",
"linktype": "http",
"url": "http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-DVD.iso"
}
],
"microkernel": [
"scp:///var/renasar/on-http/static/http... | f0279fa906104288f939ef55855cff243671b0d4 | test/config/imageservice_config.json | test/config/imageservice_config.json | JSON |
<|file_sep|>original/circlean/boot_partition/cmdline.txt
<|file_sep|>current/circlean/boot_partition/cmdline.txt
<|file_sep|>updated/circlean/boot_partition/cmdline.txt | dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait fastboot noswap ro | <|file_sep|>original/circlean/boot_partition/cmdline.txt
<|file_sep|>current/circlean/boot_partition/cmdline.txt
<|file_sep|>updated/circlean/boot_partition/cmdline.txt
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait fastboot nosw... | cdf596439220d864a20edf806abaf28a37089eb5 | circlean/boot_partition/cmdline.txt | circlean/boot_partition/cmdline.txt | Text |
<|file_sep|>original/src/main/java/backend/configuration/BraintreeConfiguration.kt
<|file_sep|>current/src/main/java/backend/configuration/BraintreeConfiguration.kt
<|file_sep|>updated/src/main/java/backend/configuration/BraintreeConfiguration.kt | package backend.configuration
import backend.services.ConfigurationService
import com.braintreegateway.BraintreeGateway
import com.braintreegateway.Environment
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.... | <|file_sep|>original/src/main/java/backend/configuration/BraintreeConfiguration.kt
<|file_sep|>current/src/main/java/backend/configuration/BraintreeConfiguration.kt
<|file_sep|>updated/src/main/java/backend/configuration/BraintreeConfiguration.kt
package backend.configuration
import backend.services.ConfigurationSer... | a65e8115fac3526808dace479663b884e6a3004e | src/main/java/backend/configuration/BraintreeConfiguration.kt | src/main/java/backend/configuration/BraintreeConfiguration.kt | Kotlin |
<|file_sep|>original/spec/features/ct101s_spec.rb
<|file_sep|>current/spec/features/ct101s_spec.rb
<|file_sep|>updated/spec/features/ct101s_spec.rb | require 'rails_helper'
RSpec.feature "Clinical Trials 101", type: :feature, js: true do
scenario "renders CT101 component" do
visit "/"
page.driver.browser.switch_to.alert.accept
expect(page).to have_content("Clinical Trials 101")
end
end | <|file_sep|>original/spec/features/ct101s_spec.rb
<|file_sep|>current/spec/features/ct101s_spec.rb
<|file_sep|>updated/spec/features/ct101s_spec.rb
require 'rails_helper'
RSpec.feature "Clinical Trials 101", type: :feature, js: true do
scenario "renders CT101 component" do
visit "/"
page.driver.browser.swi... | 1c583173c8cbb7515bfe8052e7b209f22fa079f4 | spec/features/ct101s_spec.rb | spec/features/ct101s_spec.rb | Ruby |
<|file_sep|>original/app/scripts/timetable_builder/templates/exams.hbs
<thead>
<tr>
<th>Code</th>
<th>Title</th>
<th class="exam-time">Exam Time</th>
<th>View</th>
</tr>
</thead>
<tbody></tbody>
<|file_sep|>current/app/scripts/timetable_builder/templates/exams.hbs
<thead>
<tr>
<th>Code</th>
... | <thead>
<tr>
<th>Code</th>
<th>Title</th>
<th class="exam-time">Exam Time</th>
<th>Actions</th>
</tr>
</thead>
<tbody></tbody> | <|file_sep|>original/app/scripts/timetable_builder/templates/exams.hbs
<thead>
<tr>
<th>Code</th>
<th>Title</th>
<th class="exam-time">Exam Time</th>
<th>View</th>
</tr>
</thead>
<tbody></tbody>
<|file_sep|>current/app/scripts/timetable_builder/templates/exams.hbs
<thead>
<tr>
<th>Code</th>
... | 0453f1b7f0867dd1dc85c690b4da52aa25035d3a | app/scripts/timetable_builder/templates/exams.hbs | app/scripts/timetable_builder/templates/exams.hbs | Handlebars |
<|file_sep|>app/models/entry_access.rb.diff
original:
class Entry < ActiveRecord::Base
self.inheritance_column = nil
Sharing = {
private: 0,
anonymous: 50,
users: 100,
friends: 200,
friends_of_friends: 300,
everyone: 500
updated:
clas... | class EntryAccess < ActiveRecord::Base
belongs_to :user
belongs_to :entry
Level = {
block: 0,
read: 20,
write: 30,
own: 50
}
end | <|file_sep|>app/models/entry_access.rb.diff
original:
class Entry < ActiveRecord::Base
self.inheritance_column = nil
Sharing = {
private: 0,
anonymous: 50,
users: 100,
friends: 200,
friends_of_friends: 300,
everyone: 500
updated:
clas... | 7b7d30821888565301e91fa0e81305bae9d77322 | app/models/entry_access.rb | app/models/entry_access.rb | Ruby |
<|file_sep|>original/README.md
n3554
=====
A proposal for a standard parallel algorithms library for ISO C++.
Building the PDF:
$ pandoc --number-sections -H n3554_header.tex n3554_a_parallel_algorithms_library.*.md -o n3554_a_parallel_algorithms_library.pdf
Just generating LaTeX (you can edit the `.tex` and th... | n3554
=====
A proposal for a standard parallel algorithms library for ISO C++.
Building the PDF:
$ pandoc --number-sections -H n3554_header.tex n3554_a_parallel_algorithms_library.*.md -o n3554_a_parallel_algorithms_library.pdf
Just generating LaTeX (you can edit the `.tex` and then `pdflatex` the output):
... | <|file_sep|>original/README.md
n3554
=====
A proposal for a standard parallel algorithms library for ISO C++.
Building the PDF:
$ pandoc --number-sections -H n3554_header.tex n3554_a_parallel_algorithms_library.*.md -o n3554_a_parallel_algorithms_library.pdf
Just generating LaTeX (you can edit the `.tex` and th... | 80e2526bcae6fecab96e3bf20a24c215e5c6ad8c | README.md | README.md | Markdown |
<|file_sep|>original/src/translation/downloadhandler.go
// parses query parameters
params, err := url.ParseQuery(r.URL.RawQuery)
if err != nil {
panic(&core.Error{http.StatusBadRequest, ""})
}
// TODO supports other query params
blobKey := params.Get("blobKey")
translations := lo... |
// parses query parameters
params, err := url.ParseQuery(r.URL.RawQuery)
if err != nil {
panic(&core.Error{http.StatusBadRequest, ""})
}
// TODO supports other query params
blobKey := params.Get("blobKey")
translations := loadTranslations(appengine.NewContext(r))
for _, t := ... | <|file_sep|>original/src/translation/downloadhandler.go
// parses query parameters
params, err := url.ParseQuery(r.URL.RawQuery)
if err != nil {
panic(&core.Error{http.StatusBadRequest, ""})
}
// TODO supports other query params
blobKey := params.Get("blobKey")
translations := lo... | fca4ae33df3fb5eb3314f86b284711018bcdcc2f | src/translation/downloadhandler.go | src/translation/downloadhandler.go | Go |
<|file_sep|>original/src/imap/cmd-create.c
return TRUE;
len = strlen(full_mailbox);
if (len == 0 || full_mailbox[len-1] != ns->sep)
directory = FALSE;
else {
/* name ends with hierarchy separator - client is just
informing us that it wants to create children under this
mailbox. */
di... | return TRUE;
len = strlen(full_mailbox);
if (len == 0 || full_mailbox[len-1] != ns->sep)
directory = FALSE;
else {
/* name ends with hierarchy separator - client is just
informing us that it wants to create children under this
mailbox. */
directory = TRUE;
mailbox = t_strndup(mailb... | <|file_sep|>original/src/imap/cmd-create.c
return TRUE;
len = strlen(full_mailbox);
if (len == 0 || full_mailbox[len-1] != ns->sep)
directory = FALSE;
else {
/* name ends with hierarchy separator - client is just
informing us that it wants to create children under this
mailbox. */
di... | 05489fc77e7bd485bf3333a7a5579e257e150fac | src/imap/cmd-create.c | src/imap/cmd-create.c | C |
<|file_sep|>landing/utils/auth/login/login.controller.js.diff
original:
LoginController.$inject = ['growl', '$window', '$http', '$routeSegment', 'TokenService', 'Endpoints'];
function LoginController(growl, $window, $http, $routeSegment, TokenService, Endpoints) {
updated:
LoginController.$inject = ['growl'... | .controller('LoginController', LoginController);
LoginController.$inject = ['growl', '$window', '$http', '$routeSegment', 'TokenService', 'Endpoints', '$localStorage'];
function LoginController(growl, $window, $http, $routeSegment, TokenService, Endpoints, $localStorage) {
const vm = this;
... | <|file_sep|>landing/utils/auth/login/login.controller.js.diff
original:
LoginController.$inject = ['growl', '$window', '$http', '$routeSegment', 'TokenService', 'Endpoints'];
function LoginController(growl, $window, $http, $routeSegment, TokenService, Endpoints) {
updated:
LoginController.$inject = ['growl'... | 350cf06afe2d841fa309bf60155cb831235ae757 | landing/utils/auth/login/login.controller.js | landing/utils/auth/login/login.controller.js | JavaScript |
<|file_sep|>original/package.json
<|file_sep|>current/package.json
<|file_sep|>updated/package.json | {
"name": "vue2-datetime-picker",
"version": "1.0.0",
"description": "vue2-datetime-picker is a vue2.0 compatible date time picker component. It is a wrapper for the eonasdan.github.io/bootstrap-datetimepicker.",
"keywords": [
"vue",
"vue-component",
"vue-slider",
"slider"
],
"homepage": "ht... | <|file_sep|>original/package.json
<|file_sep|>current/package.json
<|file_sep|>updated/package.json
{
"name": "vue2-datetime-picker",
"version": "1.0.0",
"description": "vue2-datetime-picker is a vue2.0 compatible date time picker component. It is a wrapper for the eonasdan.github.io/bootstrap-datetimepicker.",... | 971f04a2390c995898457d97468d8b5bb9cdea63 | package.json | package.json | JSON |
<|file_sep|>original/README.rst
This package contains Python bindings to the JSON-over-HTTP API of the StorPool
distributed storage software.
For more information about the available API functions please see
the apidoc.html file.
StorPool is distributed data storage software running on standard x86 servers.
StorPool ... | This package contains Python bindings to the JSON-over-HTTP API of the StorPool
distributed storage software.
For more information about the available API functions please see
the apidoc.html file.
StorPool is distributed data storage software running on standard x86 servers.
StorPool aggregates the performance and c... | <|file_sep|>original/README.rst
This package contains Python bindings to the JSON-over-HTTP API of the StorPool
distributed storage software.
For more information about the available API functions please see
the apidoc.html file.
StorPool is distributed data storage software running on standard x86 servers.
StorPool ... | 200145bbf89de68addb04075bc299f98714ac2ba | README.rst | README.rst | reStructuredText |
<|file_sep|>DesktopWidgets/Helpers/DateTimeSyncHelper.cs.diff
original:
if (syncYear && endDateTime < DateTime.Now)
endDateTime = endDateTime.AddYears(1);
updated:
if (syncSecond && endDateTime < DateTime.Now)
endDateTime = endDateTime.AddSeconds(1);
... | endDateTime = endDateTime.AddSeconds(1);
if (syncMinute && endDateTime < DateTime.Now)
endDateTime = endDateTime.AddMinutes(1);
if (syncHour && endDateTime < DateTime.Now)
endDateTime = endDateTime.AddHours(1);
if (syncDay && endDate... | <|file_sep|>DesktopWidgets/Helpers/DateTimeSyncHelper.cs.diff
original:
if (syncYear && endDateTime < DateTime.Now)
endDateTime = endDateTime.AddYears(1);
updated:
if (syncSecond && endDateTime < DateTime.Now)
endDateTime = endDateTime.AddSeconds(1);
... | 0e2ab20ccf1e2f8c9f680ba72be87aea5bd59dd2 | DesktopWidgets/Helpers/DateTimeSyncHelper.cs | DesktopWidgets/Helpers/DateTimeSyncHelper.cs | C# |
<|file_sep|>original/README.md
Remindme
=======
<|file_sep|>current/README.md
Remindme
=======
<|file_sep|>updated/README.md | [](https://codeship.com/projects/67835)
[](https://codeclimate.com/repos/54ffdfe6695680... | <|file_sep|>original/README.md
Remindme
=======
<|file_sep|>current/README.md
Remindme
=======
<|file_sep|>updated/README.md
[](https://codeship.com/projects/67835)
[
.directive('generalLikes', function (authService) {
return {
restrict: 'E',
replace: true,
scope: {
author: '=',
likesColl... | angular.module('codebrag.commits')
.directive('generalLikes', function (authService) {
return {
restrict: 'E',
scope: {
author: '=',
likesCollection: '=',
submitLike: '&'
},
templateUrl: 'generalLikes',
... | <|file_sep|>original/codebrag-ui/src/main/webapp/scripts/commits/generalLikes.js
angular.module('codebrag.commits')
.directive('generalLikes', function (authService) {
return {
restrict: 'E',
replace: true,
scope: {
author: '=',
likesColl... | 941053b7e7a5f94638b2c2bb6a9dd5b76587ac2c | codebrag-ui/src/main/webapp/scripts/commits/generalLikes.js | codebrag-ui/src/main/webapp/scripts/commits/generalLikes.js | JavaScript |
<|file_sep|>jenkins/jobs/scripts/dlrn-api-report.sh.diff
original:
dlrnapi report-result \
--url https://$DELOREAN_HOST/api-$RDO_VERSION \
updated:
dlrnapi --url https://$DELOREAN_HOST/api-$RDO_VERSION \
<|file_sep|>original/jenkins/jobs/scripts/dlrn-api-report.sh
virtualenv $WORKSPACE/venv_dlrnapi
source $WORKSPAC... | virtualenv $WORKSPACE/venv_dlrnapi
source $WORKSPACE/venv_dlrnapi/bin/activate
pip install dlrnapi_client shyaml
curl -sLo $BUILD_TAG.yaml $(echo $DELOREAN_URL | sed 's/delorean\.repo/commit.yaml/')
commit_hash=$(cat $BUILD_TAG.yaml| shyaml get-value commits.0.commit_hash)
distro_hash=$(cat $BUILD_TAG.yaml| shyaml g... | <|file_sep|>jenkins/jobs/scripts/dlrn-api-report.sh.diff
original:
dlrnapi report-result \
--url https://$DELOREAN_HOST/api-$RDO_VERSION \
updated:
dlrnapi --url https://$DELOREAN_HOST/api-$RDO_VERSION \
<|file_sep|>original/jenkins/jobs/scripts/dlrn-api-report.sh
virtualenv $WORKSPACE/venv_dlrnapi
source $WORKSPAC... | be6a9072b48ef3764d44c2d1c00285f92b4ea53c | jenkins/jobs/scripts/dlrn-api-report.sh | jenkins/jobs/scripts/dlrn-api-report.sh | Shell |
<|file_sep|>original/package.json
{
"name": "dare",
"version": "0.5.1",
"description": "Database to REST, REST to Database",
"main": "src/index.js",
"scripts": {
"test": "npm run lint && npm run spec",
"spec": "mocha test/specs/**/*.js",
"lint": "eslint ./"
},
"repository": {
"type": "git"... | {
"name": "dare",
"version": "0.5.2",
"description": "Database to REST, REST to Database",
"main": "src/index.js",
"scripts": {
"test": "npm run lint && npm run spec",
"spec": "mocha test/specs/**/*.js",
"lint": "eslint ./"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github... | <|file_sep|>original/package.json
{
"name": "dare",
"version": "0.5.1",
"description": "Database to REST, REST to Database",
"main": "src/index.js",
"scripts": {
"test": "npm run lint && npm run spec",
"spec": "mocha test/specs/**/*.js",
"lint": "eslint ./"
},
"repository": {
"type": "git"... | 080de37dc6cf6c60242cf3e99d71b1560b2cf7df | package.json | package.json | JSON |
<|file_sep|>original/portfolio-app/releng/publish-to-github.sh
--user buchen \
--repo portfolio \
--tag ${PCK_VERSION} \
--name ${PCK_VERSION} \
--pre-release
BASE=$(pwd)/../../portfolio-product/target/products/
BASE_GPG=$(pwd)/../../portfolio-product/target/gpg/target/products/
FILES=$(cat <<EOF
... | --user buchen \
--repo portfolio \
--tag ${PCK_VERSION} \
--name ${PCK_VERSION} \
--pre-release
BASE=$(pwd)/../../portfolio-product/target/products/
BASE_GPG=$(pwd)/../../portfolio-product/target/gpg/target/products/
FILES=$(cat <<EOF
PortfolioPerformance-${PCK_VERSION}-setup.exe
PortfolioPerforma... | <|file_sep|>original/portfolio-app/releng/publish-to-github.sh
--user buchen \
--repo portfolio \
--tag ${PCK_VERSION} \
--name ${PCK_VERSION} \
--pre-release
BASE=$(pwd)/../../portfolio-product/target/products/
BASE_GPG=$(pwd)/../../portfolio-product/target/gpg/target/products/
FILES=$(cat <<EOF
... | ce2aa45a7c5dd2422e6b90ea7274a0c3e67fbe93 | portfolio-app/releng/publish-to-github.sh | portfolio-app/releng/publish-to-github.sh | Shell |
<|file_sep|>src/main/twirl/sdks.scala.html.diff
original:
updated:
<a name='@c.candidate'></a>
<|file_sep|>original/src/main/twirl/sdks.scala.html
}
</ul>
</div>
<div class='col-lg-8 col-lg-pull-0'>
<h1><a name='main'></a>
... | }
</ul>
</div>
<div class='col-lg-8 col-lg-pull-0'>
<h1><a name='main'></a>
<i class='fa fa-cloud-download'></i> SDK Installation Candidates</h1>
<ul>
@for(c <- candidates) {
... | <|file_sep|>src/main/twirl/sdks.scala.html.diff
original:
updated:
<a name='@c.candidate'></a>
<|file_sep|>original/src/main/twirl/sdks.scala.html
}
</ul>
</div>
<div class='col-lg-8 col-lg-pull-0'>
<h1><a name='main'></a>
... | 8f22f0782534eddf61ce2b3990aeff7479556f18 | src/main/twirl/sdks.scala.html | src/main/twirl/sdks.scala.html | HTML |
<|file_sep|>original/package.json
"author": "Jerry Jalava <jerry@musickickstarter.com>",
"licenses": [{
"type": "MIT",
"url": "https://github.com/nemein/kckupmq/raw/master/LICENSE"
}],
"repository": {
"type": "git",
"url": "git://github.com/nemein/kckupmq.git"
},
"engines": {
"node": "0.... | "author": "Jerry Jalava <jerry@musickickstarter.com>",
"licenses": [{
"type": "MIT",
"url": "https://github.com/nemein/kckupmq/raw/master/LICENSE"
}],
"repository": {
"type": "git",
"url": "git://github.com/nemein/kckupmq.git"
},
"engines": {
"node": ">=0.6.0"
},
"dependencies": {
... | <|file_sep|>original/package.json
"author": "Jerry Jalava <jerry@musickickstarter.com>",
"licenses": [{
"type": "MIT",
"url": "https://github.com/nemein/kckupmq/raw/master/LICENSE"
}],
"repository": {
"type": "git",
"url": "git://github.com/nemein/kckupmq.git"
},
"engines": {
"node": "0.... | 3bdbac8e4bafff3574f27fdcb812227279657cf6 | package.json | package.json | JSON |
<|file_sep|>original/config/storage.yml
amazon:
service: S3
access_key_id: <%= ENV['S3_REWARDS_ACCESS_KEY_ID'] %>
secret_access_key: <%= ENV['S3_REWARDS_SECRET_ACCESS_KEY'] %>
region: us-east-2
bucket: <%= ENV['S3_REWARDS_BUCKET_NAME'] %>
local:
service: Disk
root: <%= Rails.root.join("storage") %>
test... | amazon:
service: S3
access_key_id: <%= ENV['S3_REWARDS_ACCESS_KEY_ID'] %>
secret_access_key: <%= ENV['S3_REWARDS_SECRET_ACCESS_KEY'] %>
region: <%= ENV['S3_REWARDS_BUCKET_REGION'] %>
bucket: <%= ENV['S3_REWARDS_BUCKET_NAME'] %>
local:
service: Disk
root: <%= Rails.root.join("storage") %>
test:
service... | <|file_sep|>original/config/storage.yml
amazon:
service: S3
access_key_id: <%= ENV['S3_REWARDS_ACCESS_KEY_ID'] %>
secret_access_key: <%= ENV['S3_REWARDS_SECRET_ACCESS_KEY'] %>
region: us-east-2
bucket: <%= ENV['S3_REWARDS_BUCKET_NAME'] %>
local:
service: Disk
root: <%= Rails.root.join("storage") %>
test... | 57807924b4e4ec20b27a63f28b1277e373873c43 | config/storage.yml | config/storage.yml | YAML |
<|file_sep|>thirdparty/gomocktestreporter/gomock_test_reporter.go.diff
original:
ginkgo.Fail(fmt.Sprintf(format, args), 3)
updated:
ginkgo.Fail(fmt.Sprintf(format, args...), 3)
<|file_sep|>original/thirdparty/gomocktestreporter/gomock_test_reporter.go
*/
package gomocktestreporter
import (
"fmt"
"github.com/onsi/g... | */
package gomocktestreporter
import (
"fmt"
"github.com/onsi/ginkgo"
)
type GomockTestReporter struct{}
func New() GomockTestReporter {
return GomockTestReporter{}
}
func (g GomockTestReporter) Errorf(format string, args ...interface{}) {
ginkgo.Fail(fmt.Sprintf(format, args...), 3)
}
func (g GomockTestReport... | <|file_sep|>thirdparty/gomocktestreporter/gomock_test_reporter.go.diff
original:
ginkgo.Fail(fmt.Sprintf(format, args), 3)
updated:
ginkgo.Fail(fmt.Sprintf(format, args...), 3)
<|file_sep|>original/thirdparty/gomocktestreporter/gomock_test_reporter.go
*/
package gomocktestreporter
import (
"fmt"
"github.com/onsi/g... | 0f14a621cd0e46c39f7ba7b1caf55b0ad76ecd3f | thirdparty/gomocktestreporter/gomock_test_reporter.go | thirdparty/gomocktestreporter/gomock_test_reporter.go | Go |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
pytest==3.3.0
pytest-mock==1.6.3
sphinx==1.6.5
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
pytest==3.3.0
pytest-mock==1.6.3
sphinx==1.6.5
<|file_sep|>updated/requirements-dev.txt | -r requirements.txt
pytest==3.3.1
pytest-mock==1.6.3
sphinx==1.6.5 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
pytest==3.3.0
pytest-mock==1.6.3
sphinx==1.6.5
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
pytest==3.3.0
pytest-mock==1.6.3
sphinx==1.6.5
<|file_sep|>updated/requirements-dev.txt
-r requirements.txt
pytest==3.3.1
pytest-mock==1.6.3
sphinx==1... | 053ebb5325ffac39074b7fa52acb55684e9053db | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/docs/_data/core-team.yml
- name: Mark Otto
user: mdo
gravatar: bc4ab438f7a4ce1c406aadc688427f2c
- name: Jacob Thornton
user: fat
gravatar: a98244cbdacaf1c0b55499466002f7a8
- name: Chris Rebert
user: cvrebert
gravatar: edec428c425453955f770095a7d26c50
- name: Julian Thilo
user: juth... | gravatar: bc4ab438f7a4ce1c406aadc688427f2c
- name: Jacob Thornton
user: fat
gravatar: a98244cbdacaf1c0b55499466002f7a8
- name: Chris Rebert
user: cvrebert
gravatar: edec428c425453955f770095a7d26c50
- name: Julian Thilo
user: juthilo
gravatar: 0f7dd3ce58a416be5685ea6194f82b11
- name: XhmikosR
user: x... | <|file_sep|>original/docs/_data/core-team.yml
- name: Mark Otto
user: mdo
gravatar: bc4ab438f7a4ce1c406aadc688427f2c
- name: Jacob Thornton
user: fat
gravatar: a98244cbdacaf1c0b55499466002f7a8
- name: Chris Rebert
user: cvrebert
gravatar: edec428c425453955f770095a7d26c50
- name: Julian Thilo
user: juth... | 4cb0a52082211084ebbd4547b7f5f4364edb6ed7 | docs/_data/core-team.yml | docs/_data/core-team.yml | YAML |
<|file_sep|>src/Dotnet.Microservice/Health/HealthResponse.cs.diff
original:
public readonly string Message;
updated:
public readonly object Response;
<|file_sep|>src/Dotnet.Microservice/Health/HealthResponse.cs.diff
original:
private HealthResponse(bool isHealthy, string statusMessage)
updated:
... | return new HealthResponse(true, response);
}
public static HealthResponse Unhealthy()
{
return Unhealthy("FAILED");
}
public static HealthResponse Unhealthy(object response)
{
return new HealthResponse(false, response);
}
... | <|file_sep|>src/Dotnet.Microservice/Health/HealthResponse.cs.diff
original:
public readonly string Message;
updated:
public readonly object Response;
<|file_sep|>src/Dotnet.Microservice/Health/HealthResponse.cs.diff
original:
private HealthResponse(bool isHealthy, string statusMessage)
updated:
... | 2047baf8bc6470c7406dcafcce9f6ee773f9be7f | src/Dotnet.Microservice/Health/HealthResponse.cs | src/Dotnet.Microservice/Health/HealthResponse.cs | C# |
<|file_sep|>bugs/issue-2bed78e0e4a8e75ade7c77c059470e9e91ffdfb0.yaml.diff
original:
status: :in_progress
updated:
status: :paused
<|file_sep|>original/bugs/issue-2bed78e0e4a8e75ade7c77c059470e9e91ffdfb0.yaml
title: Make Chili's HTML recipe more legible on a black background
desc: ""
type: :bugfix
component: Styling
rel... | release:
reporter: meekish <jed.hurt@gmail.com>
status: :paused
disposition:
creation_time: 2008-04-22 14:09:30.416156 Z
references: []
id: 2bed78e0e4a8e75ade7c77c059470e9e91ffdfb0
log_events:
- - 2008-04-22 14:09:32.392298 Z
- meekish <jed.hurt@gmail.com>
- created
- ""
- - 2008-04-22 18:06:22.165059 Z
- J... | <|file_sep|>bugs/issue-2bed78e0e4a8e75ade7c77c059470e9e91ffdfb0.yaml.diff
original:
status: :in_progress
updated:
status: :paused
<|file_sep|>original/bugs/issue-2bed78e0e4a8e75ade7c77c059470e9e91ffdfb0.yaml
title: Make Chili's HTML recipe more legible on a black background
desc: ""
type: :bugfix
component: Styling
rel... | aa979baa5b81cb66ffc1662c03e5b2f71e1d3b0b | bugs/issue-2bed78e0e4a8e75ade7c77c059470e9e91ffdfb0.yaml | bugs/issue-2bed78e0e4a8e75ade7c77c059470e9e91ffdfb0.yaml | YAML |
<|file_sep|>original/src/lib.rs
<|file_sep|>current/src/lib.rs
<|file_sep|>updated/src/lib.rs | use std::ops::Index;
use std::convert::Into;
#[derive(Debug, Clone, Copy)]
pub enum BezNode {
Point {
x: f32,
y: f32
},
Control {
x: f32,
y: f32
}
}
impl BezNode {
pub fn x(self) -> f32 {
<BezNode as Into<(f32, f32)>>::into(self).0
}
| <|file_sep|>original/src/lib.rs
<|file_sep|>current/src/lib.rs
<|file_sep|>updated/src/lib.rs
use std::ops::Index;
use std::convert::Into;
#[derive(Debug, Clone, Copy)]
pub enum BezNode {
Point {
x: f32,
y: f32
},
Control {
x: f32,
y: f32
}
}
impl BezNode {
pub f... | dfe9423db6aeccd4a25bd5982f6dbe97afda8644 | src/lib.rs | src/lib.rs | Rust |
<|file_sep|>original/temp_and_light_lcd/temp_and_light_lcd.ino
<|file_sep|>current/temp_and_light_lcd/temp_and_light_lcd.ino
<|file_sep|>updated/temp_and_light_lcd/temp_and_light_lcd.ino | /*
* Read temperature and light and display on the LCD
*
* For: Arduino Uno R3
*
* Parts:
* 1x LCD (16x2 characters)
* 1x 10 kΩ variable resistor
* 1x 10 KΩ resistor
* 1x 220 Ω resitor
* 1x Photocell
* 1x TMP36 temperature sensor
*/
#include <LiquidCrystal.h>
int temperaturePin = 0;
int lightPin = 1;
Liqu... | <|file_sep|>original/temp_and_light_lcd/temp_and_light_lcd.ino
<|file_sep|>current/temp_and_light_lcd/temp_and_light_lcd.ino
<|file_sep|>updated/temp_and_light_lcd/temp_and_light_lcd.ino
/*
* Read temperature and light and display on the LCD
*
* For: Arduino Uno R3
*
* Parts:
* 1x LCD (16x2 characters)
* 1x 10... | 774b7cd6ac943d58d843d3f99bf757de5cd7eeaf | temp_and_light_lcd/temp_and_light_lcd.ino | temp_and_light_lcd/temp_and_light_lcd.ino | Arduino |
<|file_sep|>.travis.yml.diff
original:
dist: trusty
updated:
dist: xenial
<|file_sep|>.travis.yml.diff
original:
- 3.7-dev
updated:
- 3.7
<|file_sep|>.travis.yml.diff
original:
- sudo rabbitmq-plugins enable rabbitmq_management
- sudo service rabbitmq-server restart
updated:
<|file_sep|>.travis.yml.diff
origin... | - 2.7
- 3.5
- 3.6
- 3.7
- nightly
install:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
script: nosetests -v -l DEBUG --logging-level=DEBUG --with-coverage --cover-package=amqpstorm --with-timer --timer-top-n 10
before_install:
- docker pull rabbitmq:management
- docker run... | <|file_sep|>.travis.yml.diff
original:
dist: trusty
updated:
dist: xenial
<|file_sep|>.travis.yml.diff
original:
- 3.7-dev
updated:
- 3.7
<|file_sep|>.travis.yml.diff
original:
- sudo rabbitmq-plugins enable rabbitmq_management
- sudo service rabbitmq-server restart
updated:
<|file_sep|>.travis.yml.diff
origin... | 6a9f4f78e1e3aaf57cb4830407e7061c41c8cd58 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/app.js.diff
original:
View = Backbone.View.extend({
delegateEvents: function (events) {
if (!(events || (events = this.events))) {
return;
}
var key, tapEvents = _.extend({}, events);
if (Modernizr.touch) {
for (... | _.each(eNameToFnMap, function (fn, eventName) {
this.on(eventName, fn, ctx);
}, this);
}
});
module = function (name) {
if (modules[name]) {
return modules[name];
}
modules[name] = { Views: {}, Models: {}, Collections: {} };
... | <|file_sep|>src/app.js.diff
original:
View = Backbone.View.extend({
delegateEvents: function (events) {
if (!(events || (events = this.events))) {
return;
}
var key, tapEvents = _.extend({}, events);
if (Modernizr.touch) {
for (... | 5f277abe6c4f35b75306adf39d66cefb47b89348 | src/app.js | src/app.js | JavaScript |
<|file_sep|>original/cpu_profile.sh
<|file_sep|>current/cpu_profile.sh
<|file_sep|>updated/cpu_profile.sh | function install_dependencies() {
yum groupinstall -y "Development Tools"
yum install -y java-1.8.0-openjdk-devel
yum install -y cmake
}
function setup_perf_map_agent() {
pushd /opt/opendaylight
git clone --depth=1 https://github.com/jvm-profiling-tools/perf-map-agent
pushd perf-map-agent
... | <|file_sep|>original/cpu_profile.sh
<|file_sep|>current/cpu_profile.sh
<|file_sep|>updated/cpu_profile.sh
function install_dependencies() {
yum groupinstall -y "Development Tools"
yum install -y java-1.8.0-openjdk-devel
yum install -y cmake
}
function setup_perf_map_agent() {
pushd /opt/opendaylight... | b8bc51691f1c5df65ce831f1e161ab8d36381462 | cpu_profile.sh | cpu_profile.sh | Shell |
<|file_sep|>original/app/views/notes/index.html.haml
%h1 Notes
- @notes.each do |note|
.note
.title= link_to note.date.strftime('%A %B %e, %Y'), date_link(note.date)
.body= simple_format note.body
= will_paginate @notes
<|file_sep|>current/app/views/notes/index.html.haml
%h1 Notes
- @notes.each do |note|
... | %h1 Notes
- @notes.each do |note|
.note
.title
= link_to note.date.strftime('%A %B %e, %Y'), date_link(note.date)
= link_to '»', note, :rel=>:facebox
.body= simple_format note.body
= will_paginate @notes | <|file_sep|>original/app/views/notes/index.html.haml
%h1 Notes
- @notes.each do |note|
.note
.title= link_to note.date.strftime('%A %B %e, %Y'), date_link(note.date)
.body= simple_format note.body
= will_paginate @notes
<|file_sep|>current/app/views/notes/index.html.haml
%h1 Notes
- @notes.each do |note|
... | e6395ffa236444da77b00b7768452b0f5b590c09 | app/views/notes/index.html.haml | app/views/notes/index.html.haml | Haml |
<|file_sep|>original/packages/me/merge-bash-history.yaml
<|file_sep|>current/packages/me/merge-bash-history.yaml
<|file_sep|>updated/packages/me/merge-bash-history.yaml | homepage: http://github.com/j1r1k/merge-bash-history#readme
changelog-type: ''
hash: 6854070723b8270a365703d48966c40c8156db7106cefa9359edb0aa55eb8041
test-bench-deps:
merge-bash-history: -any
base: -any
maintainer: jiri.marsicek@gmail.com
synopsis: Initial project template from stack
changelog: ''
basic-deps:
mer... | <|file_sep|>original/packages/me/merge-bash-history.yaml
<|file_sep|>current/packages/me/merge-bash-history.yaml
<|file_sep|>updated/packages/me/merge-bash-history.yaml
homepage: http://github.com/j1r1k/merge-bash-history#readme
changelog-type: ''
hash: 6854070723b8270a365703d48966c40c8156db7106cefa9359edb0aa55eb8041... | d6a1b532300f033b5cd143372aa4bae8582cde25 | packages/me/merge-bash-history.yaml | packages/me/merge-bash-history.yaml | YAML |
<|file_sep|>gtest/bld.bat.diff
original:
mkdir %LIBRARY_LIB%
updated:
rem mkdir %LIBRARY_PREFIX%\src
mkdir %LIBRARY_PREFIX%\src\gtest
<|file_sep|>original/gtest/bld.bat
if %ARCH%==32 (
if %PY_VER% LSS 3 (
set CMAKE_GENERATOR="Visual Studio 9 2008"
)
)
if %ARCH%==64 (
if %PY_VER% LSS 3 (
set CMAKE_GENERA... | -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
-DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX%
cmake --build . --config Release
rem mkdir %LIBRARY_PREFIX%\src
mkdir %LIBRARY_PREFIX%\src\gtest
copy /y Release\*.lib %LIBRARY_LIB% > nul
if errorlevel 1 exit 1
cd ..
xcopy include %LIBRARY_INC% /E /I > nul
if errorlevel 1 exit 1
xc... | <|file_sep|>gtest/bld.bat.diff
original:
mkdir %LIBRARY_LIB%
updated:
rem mkdir %LIBRARY_PREFIX%\src
mkdir %LIBRARY_PREFIX%\src\gtest
<|file_sep|>original/gtest/bld.bat
if %ARCH%==32 (
if %PY_VER% LSS 3 (
set CMAKE_GENERATOR="Visual Studio 9 2008"
)
)
if %ARCH%==64 (
if %PY_VER% LSS 3 (
set CMAKE_GENERA... | 5c125f587cedb2023e9fbdfe31bbada28a6bcfff | gtest/bld.bat | gtest/bld.bat | Batchfile |
<|file_sep|>original/routes/apiRoot.js
},
'osdi:tags': {
'href': root + 'tags',
'title': 'The collection of tags in the system'
},
'osdi:questions': {
'href': root + 'questions',
'title': 'The collection of questions in the system'
},
'osdi:people': {
... | },
'osdi:tags': {
'href': root + 'tags',
'title': 'The collection of tags in the system'
},
'osdi:questions': {
'href': root + 'questions',
'title': 'The collection of questions in the system'
},
"osdi:person_signup_helper": {
"href": root + ... | <|file_sep|>original/routes/apiRoot.js
},
'osdi:tags': {
'href': root + 'tags',
'title': 'The collection of tags in the system'
},
'osdi:questions': {
'href': root + 'questions',
'title': 'The collection of questions in the system'
},
'osdi:people': {
... | 3f32dd2bede0cb23f5453891d7b92a83e90c2d71 | routes/apiRoot.js | routes/apiRoot.js | JavaScript |
<|file_sep|>Core/ExpressionFunctions.cpp.diff
original:
ExpressionValue expressionFunctionEndianness(const std::vector<ExpressionValue>& parameters)
updated:
ExpressionValue expFuncEndianness(const std::vector<ExpressionValue>& parameters)
<|file_sep|>Core/ExpressionFunctions.cpp.diff
original:
updated:
ExpressionValu... | {
ExpressionValue result;
if (parameters[0].isString() == false)
{
Logger::queueError(Logger::Error,L"Invalid parameter");
return result;
}
std::wstring fileName = getFullPathName(parameters[0].strValue);
result.type = ExpressionValueType::Integer;
result.intValue = fileSize(fileName);
return result;
}
... | <|file_sep|>Core/ExpressionFunctions.cpp.diff
original:
ExpressionValue expressionFunctionEndianness(const std::vector<ExpressionValue>& parameters)
updated:
ExpressionValue expFuncEndianness(const std::vector<ExpressionValue>& parameters)
<|file_sep|>Core/ExpressionFunctions.cpp.diff
original:
updated:
ExpressionValu... | a701601dd028176bf7a712a92d1b32b0835e9c13 | Core/ExpressionFunctions.cpp | Core/ExpressionFunctions.cpp | C++ |
<|file_sep|>src/Pingpong/Trusty/src/migrations/2014_05_02_052410_create_role_user_table.php.diff
original:
updated:
<|file_sep|>original/src/Pingpong/Trusty/src/migrations/2014_05_02_052410_create_role_user_table.php
*/
public function up()
{
Schema::create('role_user', function (Blueprint $table... | * @return void
*/
public function up()
{
Schema::create('role_user', function (Blueprint $table)
{
$table->increments('id');
$table->integer('role_id')->unsigned()->index();
$table->foreign('role_id')->references('id')->on('roles')->onDelete('cascade... | <|file_sep|>src/Pingpong/Trusty/src/migrations/2014_05_02_052410_create_role_user_table.php.diff
original:
updated:
<|file_sep|>original/src/Pingpong/Trusty/src/migrations/2014_05_02_052410_create_role_user_table.php
*/
public function up()
{
Schema::create('role_user', function (Blueprint $table... | f4ab223df1c7682f777bc86ccbe573926ca6344f | src/Pingpong/Trusty/src/migrations/2014_05_02_052410_create_role_user_table.php | src/Pingpong/Trusty/src/migrations/2014_05_02_052410_create_role_user_table.php | PHP |
<|file_sep|>original/.circleci/config.yml
docker:
- image: circleci/python:3.7.1
steps:
- checkout
- run:
command: |
sudo pip install --upgrade twine
sudo pip install --upgrade wheel
sudo pip install --upgrade setuptools
source scripts/twine_up... | docker:
- image: circleci/python:3.7.1
steps:
- checkout
- run:
command: |
sudo pip install --upgrade twine
sudo pip install --upgrade wheel
sudo pip install --upgrade setuptools
source twine_upload.sh
workflows:
version: 2
test:
jobs... | <|file_sep|>original/.circleci/config.yml
docker:
- image: circleci/python:3.7.1
steps:
- checkout
- run:
command: |
sudo pip install --upgrade twine
sudo pip install --upgrade wheel
sudo pip install --upgrade setuptools
source scripts/twine_up... | 66c64313ba9e8a6aa840542dd27cbec8701fcaa5 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/requirements_for_test.txt
-r requirements.txt
celery==4.4.0 # pyup: ignore
beautifulsoup4==4.10.0
pytest==7.0.0
pytest-mock==3.7.0
pytest-xdist==2.5.0
requests-mock==1.9.3
freezegun==1.1.0
flake8==4.0.1
flake8-bugbear==22.1.11
flake8-print==4.0.0
pytest-profiling==1.7.0
snakeviz==2.1.1
isort==5.10... | -r requirements.txt
celery==4.4.0 # pyup: ignore
beautifulsoup4==4.10.0
pytest==7.0.0
pytest-mock==3.7.0
pytest-xdist==2.5.0
requests-mock==1.9.3
freezegun==1.2.0
flake8==4.0.1
flake8-bugbear==22.1.11
flake8-print==4.0.0
pytest-profiling==1.7.0
snakeviz==2.1.1
isort==5.10.1 | <|file_sep|>original/requirements_for_test.txt
-r requirements.txt
celery==4.4.0 # pyup: ignore
beautifulsoup4==4.10.0
pytest==7.0.0
pytest-mock==3.7.0
pytest-xdist==2.5.0
requests-mock==1.9.3
freezegun==1.1.0
flake8==4.0.1
flake8-bugbear==22.1.11
flake8-print==4.0.0
pytest-profiling==1.7.0
snakeviz==2.1.1
isort==5.10... | 02ee3700ee344094e449720ec48daad5e10cf876 | requirements_for_test.txt | requirements_for_test.txt | Text |
<|file_sep|>original/.travis.yml
language: node_js
env: TRAVIS_CI=true
node_js:
- "4.1.x"
- "iojs"
script:
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
<|file_sep|>current/.travis.yml
lang... | language: node_js
env: TRAVIS_CI=true
node_js:
- "4"
- "iojs"
script:
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage | <|file_sep|>original/.travis.yml
language: node_js
env: TRAVIS_CI=true
node_js:
- "4.1.x"
- "iojs"
script:
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
<|file_sep|>current/.travis.yml
lang... | 49a2c05c1dabf85ed6aa16dd4aa392416c30f677 | .travis.yml | .travis.yml | YAML |
<|file_sep|>north.css.diff
original:
updated:
}
figure {
margin-top: 2.4em;
margin-bottom: 2.4em;
<|file_sep|>original/north.css
margin-top: 3em;
margin-bottom: 6em;
}
@keyframes tossing {
0% {
transform: rotate(-4deg);
}
50% {
transform: rotate(4deg);
}
100% ... | margin-bottom: 2.4em;
}
@keyframes tossing {
0% {
transform: rotate(-4deg);
}
50% {
transform: rotate(4deg);
}
100% {
transform: rotate(-4deg);
}
}
#ship {
margin-top: 2.4em;
animation-name: tossing;
animation-duration: 2.5s;
animation-iteration... | <|file_sep|>north.css.diff
original:
updated:
}
figure {
margin-top: 2.4em;
margin-bottom: 2.4em;
<|file_sep|>original/north.css
margin-top: 3em;
margin-bottom: 6em;
}
@keyframes tossing {
0% {
transform: rotate(-4deg);
}
50% {
transform: rotate(4deg);
}
100% ... | ecda0606914264d11d7edb102c39705a32b4e8f7 | north.css | north.css | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.