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/app/views/layouts/_header.html.haml
#header
.logo
%p
= link_to "<span class='hide'>Spot.us - Community Funded Reporting</span>", "/", :class => "logo-link", :title => "Spot.us - Community Funded Reporting"
%strong
Spot.Us is currently in a testing phase. Site is safe and s... | #header
.logo
%p
= link_to "<span class='hide'>Spot.us - Community Funded Reporting</span>", "/", :class => "logo-link", :title => "Spot.us - Community Funded Reporting"
%strong
Spot.Us is currently in a testing phase. Site is safe and secure, launching in full soon. Stay tuned!
.nav-container
... | <|file_sep|>original/app/views/layouts/_header.html.haml
#header
.logo
%p
= link_to "<span class='hide'>Spot.us - Community Funded Reporting</span>", "/", :class => "logo-link", :title => "Spot.us - Community Funded Reporting"
%strong
Spot.Us is currently in a testing phase. Site is safe and s... | 0563f901aa61c7d6f87291bf05789ff1774a1b7a | app/views/layouts/_header.html.haml | app/views/layouts/_header.html.haml | Haml |
<|file_sep|>cgen_wrapper.py.diff
original:
from codeprinter import ccode
updated:
<|file_sep|>original/cgen_wrapper.py
from cgen import *
from codeprinter import ccode
import ctypes
class Ternary(Generable):
def __init__(self, condition, true_statement, false_statement):
self.condition = ccode(condition)... | from cgen import *
import ctypes
def convert_dtype_to_ctype(dtype):
conversion_dict = {'int64': ctypes.c_int64, 'float64': ctypes.c_float}
return conversion_dict[str(dtype)] | <|file_sep|>cgen_wrapper.py.diff
original:
from codeprinter import ccode
updated:
<|file_sep|>original/cgen_wrapper.py
from cgen import *
from codeprinter import ccode
import ctypes
class Ternary(Generable):
def __init__(self, condition, true_statement, false_statement):
self.condition = ccode(condition)... | c3f5212dbb7452db48420d717c1815ad4e536c40 | cgen_wrapper.py | cgen_wrapper.py | Python |
<|file_sep|>original/src/Tests/thread/agc3.pl
<|file_sep|>current/src/Tests/thread/agc3.pl
<|file_sep|>updated/src/Tests/thread/agc3.pl | :- module(agc3,
[ agc3/0
]).
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This test validates the marking of atoms by the atom garbage collector
during thread at-exit hooks.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
agc3 :-
thread_create(exitin... | <|file_sep|>original/src/Tests/thread/agc3.pl
<|file_sep|>current/src/Tests/thread/agc3.pl
<|file_sep|>updated/src/Tests/thread/agc3.pl
:- module(agc3,
[ agc3/0
]).
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This test validates the marking of atoms by the atom garbage collecto... | b90483f465ac333deb8e7ee76aeb9624c3b67c16 | src/Tests/thread/agc3.pl | src/Tests/thread/agc3.pl | Perl |
<|file_sep|>.travis.yml.diff
original:
before_script:
- source test.env
updated:
before_install:
- sudo apt-get install python-yaml python3-yaml
<|file_sep|>original/.travis.yml
- 2.6
- 2.7
- 3.2
- 3.3
- pypy
virtualenv:
system_site_packages: true
before_script:
- source test.env
install:
- expo... | - 3.2
- 3.3
- pypy
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get install python-yaml python3-yaml
install:
- export PYTHONIOENCODING=UTF8
- python setup.py install
- pip install coveralls --use-mirrors
before_script:
- source test.env
script:
- coverage run tools/testall.p... | <|file_sep|>.travis.yml.diff
original:
before_script:
- source test.env
updated:
before_install:
- sudo apt-get install python-yaml python3-yaml
<|file_sep|>original/.travis.yml
- 2.6
- 2.7
- 3.2
- 3.3
- pypy
virtualenv:
system_site_packages: true
before_script:
- source test.env
install:
- expo... | 4584a19933c61938c323c89a0ee0a3afef866b0b | .travis.yml | .travis.yml | YAML |
<|file_sep|>playbooks/roles/stats/tasks/main.yml.diff
original:
- name: install vzstats-server rpm package
sudo: yes
yum: name=vzstats-server state=present
updated:
#- name: install vzstats-server rpm package
# sudo: yes
# yum: name=vzstats-server state=present
<|file_sep|>original/playbooks/roles/stats/tasks/mai... | ---
# not tested yet
# https://git.sw.ru/scm/vs/vzstats-server.git
#- name: install vzstats-server rpm package
# sudo: yes
# yum: name=vzstats-server state=present
- name: install additional packages
sudo: yes
yum: name=mysql state=present
# see https://git.sw.ru/projects/VS/repos/vzstats-server/browse/INSTAL... | <|file_sep|>playbooks/roles/stats/tasks/main.yml.diff
original:
- name: install vzstats-server rpm package
sudo: yes
yum: name=vzstats-server state=present
updated:
#- name: install vzstats-server rpm package
# sudo: yes
# yum: name=vzstats-server state=present
<|file_sep|>original/playbooks/roles/stats/tasks/mai... | 0e473aebc3f82c30a0bb3d1aa884168853807420 | playbooks/roles/stats/tasks/main.yml | playbooks/roles/stats/tasks/main.yml | YAML |
<|file_sep|>scripts/virtualbox.sh.diff
original:
apt-get -qq -y install linux-headers-$(uname -r) build-essential dkms
updated:
apt-get -qq -y install linux-headers-$(uname -r) build-essential dkms wget
<|file_sep|>scripts/virtualbox.sh.diff
original:
VBOX_ISO=/home/vagrant/VBoxGuestAdditions_${VBOX_VERSION}.iso
update... | VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
VBOX_ISO=VBoxGuestAdditions_${VBOX_VERSION}.iso
if [ ! -f $VBOX_ISO ] ; then
echo "No Virtualbox Guest Additions ISO found"
echo "Downloading ${VBOX_ISO} instead"
wget -q http://download.virtualbox.org/virtualbox/${VBOX_VERSION}/${VBOX_ISO} -O $VBOX_ISO
wget -q... | <|file_sep|>scripts/virtualbox.sh.diff
original:
apt-get -qq -y install linux-headers-$(uname -r) build-essential dkms
updated:
apt-get -qq -y install linux-headers-$(uname -r) build-essential dkms wget
<|file_sep|>scripts/virtualbox.sh.diff
original:
VBOX_ISO=/home/vagrant/VBoxGuestAdditions_${VBOX_VERSION}.iso
update... | 183273a328248f755e08baf8847a80858e8637f5 | scripts/virtualbox.sh | scripts/virtualbox.sh | Shell |
<|file_sep|>original/Drinks/src/main/res/layout/item_drink.xml
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<fr.masciulli.drinks.view.DrinkView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
... | android:layout_width="match_parent"
android:layout_height="match_parent"
>
<fr.masciulli.drinks.view.DrinkView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:id="@+id/image" />
<TextView
androi... | <|file_sep|>original/Drinks/src/main/res/layout/item_drink.xml
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<fr.masciulli.drinks.view.DrinkView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
... | d07aad4e25a7eaa20d478ffa3d7b8fe38ab4a35d | Drinks/src/main/res/layout/item_drink.xml | Drinks/src/main/res/layout/item_drink.xml | XML |
<|file_sep|>original/doc/fr/authentification_par_fichier_clefs.md
<|file_sep|>current/doc/fr/authentification_par_fichier_clefs.md
<|file_sep|>updated/doc/fr/authentification_par_fichier_clefs.md | # Connexion automatique, par fichier de trousseau
> Possible uniquement sur la version de bureau (desktop) de Cesium
Pour se connecter dès la lancement, à partir d'une fichier de trousseau (ou fichier de clefs), suivez les étapes suivantes :
1. Générer un fichier de trousseau :
* Allez dans "Mon compte > Options >... | <|file_sep|>original/doc/fr/authentification_par_fichier_clefs.md
<|file_sep|>current/doc/fr/authentification_par_fichier_clefs.md
<|file_sep|>updated/doc/fr/authentification_par_fichier_clefs.md
# Connexion automatique, par fichier de trousseau
> Possible uniquement sur la version de bureau (desktop) de Cesium
Pou... | 50fdc171f782d762af5a2e1e4d0e9d86e85fa7e7 | doc/fr/authentification_par_fichier_clefs.md | doc/fr/authentification_par_fichier_clefs.md | Markdown |
<|file_sep|>recipes/libid3tag/libid3tag_0.15.1b.bb.diff
original:
LICENSE = "GPL"
updated:
LICENSE = "GPLv2+"
<|file_sep|>original/recipes/libid3tag/libid3tag_0.15.1b.bb
DESCRIPTION = "Library for interacting with ID3 tags"
SECTION = "libs/multimedia"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "zlib"
PR = "r3"
SR... | DESCRIPTION = "Library for interacting with ID3 tags"
SECTION = "libs/multimedia"
PRIORITY = "optional"
LICENSE = "GPLv2+"
DEPENDS = "zlib"
PR = "r4"
SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \
file://libid3tag-pkg-config.patch"
SRC_URI[md5sum] = "e5808ad997ba32c498803822078748c3"
SRC_UR... | <|file_sep|>recipes/libid3tag/libid3tag_0.15.1b.bb.diff
original:
LICENSE = "GPL"
updated:
LICENSE = "GPLv2+"
<|file_sep|>original/recipes/libid3tag/libid3tag_0.15.1b.bb
DESCRIPTION = "Library for interacting with ID3 tags"
SECTION = "libs/multimedia"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "zlib"
PR = "r3"
SR... | 40c68ffd83f06e15c93dea1d71c5dc9c52686419 | recipes/libid3tag/libid3tag_0.15.1b.bb | recipes/libid3tag/libid3tag_0.15.1b.bb | BitBake |
<|file_sep|>original/lib/asyncutil_test.ts
<|file_sep|>current/lib/asyncutil_test.ts
<|file_sep|>updated/lib/asyncutil_test.ts | import Q = require('q');
import testLib = require('./test');
import asyncutil = require('./asyncutil');
testLib.addAsyncTest('test run sequence', (assert) => {
var values = [1, 1, 2, 3, 5, 8, 13];
var runOrder : number[] = [];
var funcs : Array<() => Q.Promise<number>> = [];
values.forEach((value, index) => {
... | <|file_sep|>original/lib/asyncutil_test.ts
<|file_sep|>current/lib/asyncutil_test.ts
<|file_sep|>updated/lib/asyncutil_test.ts
import Q = require('q');
import testLib = require('./test');
import asyncutil = require('./asyncutil');
testLib.addAsyncTest('test run sequence', (assert) => {
var values = [1, 1, 2, 3, 5,... | fc192d4c0baa70da3e523f069d2332ee3a3278b5 | lib/asyncutil_test.ts | lib/asyncutil_test.ts | TypeScript |
<|file_sep|>original/site/_includes/primary-nav-items.html
<ul>
<li class="{% if page.overview %}current{% endif %}">
<a href="/">Home</a>
</li>
<li class="{% if page.url contains '/docs/' %}current{% endif %}">
<a href="/docs/">Doc<span class="show-on-mobiles">s</span>
<span class... | <ul>
<li class="{% if page.overview %}current{% endif %}">
<a href="/">Home</a>
</li>
<li class="{% if page.url contains '/docs/' %}current{% endif %}">
<a href="/docs/"><span class="show-on-mobiles">Docs</span>
<span class="hide-on-mobiles">Documentation</span></a>
</li>
<li clas... | <|file_sep|>original/site/_includes/primary-nav-items.html
<ul>
<li class="{% if page.overview %}current{% endif %}">
<a href="/">Home</a>
</li>
<li class="{% if page.url contains '/docs/' %}current{% endif %}">
<a href="/docs/">Doc<span class="show-on-mobiles">s</span>
<span class... | d1bf5388f3eff65baed56bb9df99a45044f06a8a | site/_includes/primary-nav-items.html | site/_includes/primary-nav-items.html | HTML |
<|file_sep|>original/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.2.5
python-vagrant==0.5.15
tox==2.9.1
testinfra==1.9.1
<|file_sep|>current/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.2.5
python-vagrant==0.5.15
tox==2.9.1
testinfra==1.9.1
<|file_sep|>updated/requirements.txt | docker==2.6.1
molecule==1.25.0
pytest==3.2.5
python-vagrant==0.5.15
tox==2.9.1
testinfra==1.10.0 | <|file_sep|>original/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.2.5
python-vagrant==0.5.15
tox==2.9.1
testinfra==1.9.1
<|file_sep|>current/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.2.5
python-vagrant==0.5.15
tox==2.9.1
testinfra==1.9.1
<|file_sep|>updated/requirements.txt
docker==2.6.1
mo... | bb53021e292b9e66528138b12e26891b8aea1b32 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: android
android:
components:
- build-tools-20.0.0
- android-20
sudo: false
jdk:
- oraclejdk7
install: true
script: "./gradle/buildViaTravis.sh"
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- test $TRAVIS_PULL_REQUEST ... | language: android
android:
components:
- build-tools-20.0.0
- android-20
sudo: false
jdk:
- openjdk7
install: true
script: "./gradle/buildViaTravis.sh"
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $... | <|file_sep|>original/.travis.yml
language: android
android:
components:
- build-tools-20.0.0
- android-20
sudo: false
jdk:
- oraclejdk7
install: true
script: "./gradle/buildViaTravis.sh"
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- test $TRAVIS_PULL_REQUEST ... | 402da30205117caaf048b83703eea2381140ae9f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/api/io_interfaces.rst
Pinmux Interface
****************
.. doxygengroup:: pinmux_interface
:project: Zephyr
:content-only:
SPI Interface
*************
.. doxygengroup:: spi_interface
:project: Zephyr
:content-only:
UART Interface
**************
.. doxygengroup:: uart_interface... |
SPI Interface
*************
.. doxygengroup:: spi_interface
:project: Zephyr
:content-only:
UART Interface
**************
.. doxygengroup:: uart_interface
:project: Zephyr
:content-only:
Sensor Interface
****************
.. doxygengroup:: sensor_interface
:project: Zephyr
:content-only: | <|file_sep|>original/doc/api/io_interfaces.rst
Pinmux Interface
****************
.. doxygengroup:: pinmux_interface
:project: Zephyr
:content-only:
SPI Interface
*************
.. doxygengroup:: spi_interface
:project: Zephyr
:content-only:
UART Interface
**************
.. doxygengroup:: uart_interface... | 81dbc7e8f9d68af297cd0e34625d3ba6d6ffb6db | doc/api/io_interfaces.rst | doc/api/io_interfaces.rst | reStructuredText |
<|file_sep|>time/client.js.diff
original:
var t = $(this);
var d = t.attr('datetime').replace(/-/g, '/'
).replace('T', ' ').replace('Z', ' GMT');
t.html(readable_time(new Date(d).getTime()));
updated:
var date = date_from_time_el(this);
this.innerHTML = readable_time(date.getTime());
<|file_sep|>original/t... | (function () {
function adjust_all_times() {
$('time').each(function () {
var date = date_from_time_el(this);
this.innerHTML = readable_time(date.getTime());
});
}
function date_from_time_el(el) {
var d = el.getAttribute('datetime').replace(/-/g, '/'
).replace('T', ' ').replace('Z', ' GMT');
return new Date... | <|file_sep|>time/client.js.diff
original:
var t = $(this);
var d = t.attr('datetime').replace(/-/g, '/'
).replace('T', ' ').replace('Z', ' GMT');
t.html(readable_time(new Date(d).getTime()));
updated:
var date = date_from_time_el(this);
this.innerHTML = readable_time(date.getTime());
<|file_sep|>original/t... | b29eb395840f11f8a981040b2e75a9116f9def34 | time/client.js | time/client.js | JavaScript |
<|file_sep|>original/iterm2_tools/images.py
from __future__ import print_function, division, absolute_import
import sys
import os
import base64
# See https://iterm2.com/images.html
IMAGE_CODE = '\033]1337;File={file};inline={inline};size={size}:{base64_img}\a'
def image_bytes(b, filename=None, inline=1):
data = ... | from __future__ import print_function, division, absolute_import
import sys
import os
import base64
# See https://iterm2.com/images.html
IMAGE_CODE = '\033]1337;File={file};inline={inline};size={size}:{base64_img}\a'
def image_bytes(b, filename=None, inline=1):
"""
Display the image given by the bytes b in t... | <|file_sep|>original/iterm2_tools/images.py
from __future__ import print_function, division, absolute_import
import sys
import os
import base64
# See https://iterm2.com/images.html
IMAGE_CODE = '\033]1337;File={file};inline={inline};size={size}:{base64_img}\a'
def image_bytes(b, filename=None, inline=1):
data = ... | 5c5956dc11bbe9e65f6b9403cf0dbe5470eab257 | iterm2_tools/images.py | iterm2_tools/images.py | Python |
<|file_sep|>nn/embedding/id_sequence_to_embedding.py.diff
original:
updated:
child_embeddings,
<|file_sep|>original/nn/embedding/id_sequence_to_embedding.py
from .ids_to_embeddings import ids_to_embeddings
from .embeddings_to_embedding import embeddings_to_embedding
from ..util import stat... | from .ids_to_embeddings import ids_to_embeddings
from .embeddings_to_embedding import embeddings_to_embedding
from ..util import static_rank
def id_sequecne_to_embedding(child_id_sequence,
child_embeddings,
*,
output_embedding_size... | <|file_sep|>nn/embedding/id_sequence_to_embedding.py.diff
original:
updated:
child_embeddings,
<|file_sep|>original/nn/embedding/id_sequence_to_embedding.py
from .ids_to_embeddings import ids_to_embeddings
from .embeddings_to_embedding import embeddings_to_embedding
from ..util import stat... | bfc50caf2ad967fa930faf34c6cac6b20b7fd4a7 | nn/embedding/id_sequence_to_embedding.py | nn/embedding/id_sequence_to_embedding.py | Python |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
# - 5.5
env:
- SYMFONY_VERSION="2.3.*"
# - SYMFONY_VERSION="2.4.*"
# - SYMFONY_VERSION="2.5.*"
# - SYMFONY_VERSION="2.6.*@dev"
# - SYMFONY_VERSION="2.7.*@dev"
# - SYMFONY_VERSION="3.0.*@dev"
before_script:
- composer install --prefer-source --d... | language: php
php:
- 5.4
# - 5.5
env:
- SYMFONY_VERSION="2.3.*"
# - SYMFONY_VERSION="2.4.*"
# - SYMFONY_VERSION="2.5.*"
# - SYMFONY_VERSION="2.6.*@dev"
# - SYMFONY_VERSION="2.7.*@dev"
# - SYMFONY_VERSION="3.0.*@dev"
before_script:
- composer install --prefer-source --dev
- composer require symfony/s... | <|file_sep|>original/.travis.yml
language: php
php:
- 5.4
# - 5.5
env:
- SYMFONY_VERSION="2.3.*"
# - SYMFONY_VERSION="2.4.*"
# - SYMFONY_VERSION="2.5.*"
# - SYMFONY_VERSION="2.6.*@dev"
# - SYMFONY_VERSION="2.7.*@dev"
# - SYMFONY_VERSION="3.0.*@dev"
before_script:
- composer install --prefer-source --d... | 3272972e44382415085b806b5f8c4b2020d64326 | .travis.yml | .travis.yml | YAML |
<|file_sep|>spec/integration/repository_spec.rb.diff
original:
include_context 'database setup'
updated:
let(:conn) { Sequel.connect(DB_URI) }
<|file_sep|>original/spec/integration/repository_spec.rb
require 'spec_helper'
describe ROM::SQL::Repository do
describe 'migration' do
include_context 'database ... | require 'spec_helper'
describe ROM::SQL::Repository do
describe 'migration' do
let(:conn) { Sequel.connect(DB_URI) }
context 'creating migrations inline' do
subject(:repository) { ROM.env.repositories[:default] }
before do
ROM.setup(:sql, conn)
ROM.finalize
end
afte... | <|file_sep|>spec/integration/repository_spec.rb.diff
original:
include_context 'database setup'
updated:
let(:conn) { Sequel.connect(DB_URI) }
<|file_sep|>original/spec/integration/repository_spec.rb
require 'spec_helper'
describe ROM::SQL::Repository do
describe 'migration' do
include_context 'database ... | 715b8f5c0fc246f4113ba5668ee8000e5746648a | spec/integration/repository_spec.rb | spec/integration/repository_spec.rb | Ruby |
<|file_sep|>original/package.json
"type": "git",
"url": "git://github.com/jeresig/node-romaji-name.git"
},
"keywords": [
"ja",
"jp",
"japanese",
"romaji",
"language"
],
"author": "John Resig <jeresig@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jeresig/... | "type": "git",
"url": "git://github.com/jeresig/node-romaji-name.git"
},
"keywords": [
"ja",
"jp",
"japanese",
"romaji",
"language"
],
"author": "John Resig <jeresig@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jeresig/node-romaji-name/issues"
},
"d... | <|file_sep|>original/package.json
"type": "git",
"url": "git://github.com/jeresig/node-romaji-name.git"
},
"keywords": [
"ja",
"jp",
"japanese",
"romaji",
"language"
],
"author": "John Resig <jeresig@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jeresig/... | a6074d3e20ca142d120999cdf3259a27866967db | package.json | package.json | JSON |
<|file_sep|>original/package.json
"stage-0"
]
},
"dependencies": {
"babel-cli": "6.14.0",
"babel-core": "6.14.0",
"babel-preset-es2015": "6.14.0",
"babel-preset-stage-0": "6.5.0",
"express": "4.13.3",
"fs": "0.0.2",
"sql.js": "^0.3.2"
},
"scripts": {
"start": "concurren... | ]
},
"dependencies": {
"babel-cli": "6.14.0",
"babel-core": "6.14.0",
"babel-preset-es2015": "6.14.0",
"babel-preset-stage-0": "6.5.0",
"express": "4.13.3",
"fs": "0.0.2",
"sql.js": "^0.3.2"
},
"scripts": {
"start": "concurrently \"npm run server\" \"npm run client\"",
"s... | <|file_sep|>original/package.json
"stage-0"
]
},
"dependencies": {
"babel-cli": "6.14.0",
"babel-core": "6.14.0",
"babel-preset-es2015": "6.14.0",
"babel-preset-stage-0": "6.5.0",
"express": "4.13.3",
"fs": "0.0.2",
"sql.js": "^0.3.2"
},
"scripts": {
"start": "concurren... | 4bfd253d5938124f16725595cb13340ea18905cf | package.json | package.json | JSON |
<|file_sep|>original/backend/app/assets/stylesheets/spree/backend/components/_buttons.scss
.btn,
.nav-pills > li > a {
vertical-align: middle;
transition: color 0.1s linear 0s, background-color 0.1s linear 0s, opacity 0.2s linear 0s !important;
}
.btn {
text-align: center;
.glyphicon {
padding-right: 3px;... | }
.btn {
text-align: center;
.glyphicon {
padding-right: 3px;
}
.ship { color: #fff; }
}
.btn-sm .glyphicon { padding: 0; }
.btn.action-void { @extend .btn-danger; }
.btn.action-capture { @extend .btn-success; }
.btn.payment-action-edit {
@extend .btn-primary;
color: $white !important;
} | <|file_sep|>original/backend/app/assets/stylesheets/spree/backend/components/_buttons.scss
.btn,
.nav-pills > li > a {
vertical-align: middle;
transition: color 0.1s linear 0s, background-color 0.1s linear 0s, opacity 0.2s linear 0s !important;
}
.btn {
text-align: center;
.glyphicon {
padding-right: 3px;... | 66fb387817e5aa78b119f96864475f81e902e304 | backend/app/assets/stylesheets/spree/backend/components/_buttons.scss | backend/app/assets/stylesheets/spree/backend/components/_buttons.scss | SCSS |
<|file_sep|>original/lib/zendesk_apps_support/app_requirement.rb
# frozen_string_literal: true
module ZendeskAppsSupport
class AppRequirement
TYPES = %w(automations channel_integrations
macros targets views ticket_fields triggers
user_fields organization_fields).freeze
end
end
<|file_sep|>current/lib/ze... | # frozen_string_literal: true
module ZendeskAppsSupport
class AppRequirement
TYPES = %w(automations channel_integrations
macros targets views ticket_fields triggers
user_fields organization_fields).freeze
end
end | <|file_sep|>original/lib/zendesk_apps_support/app_requirement.rb
# frozen_string_literal: true
module ZendeskAppsSupport
class AppRequirement
TYPES = %w(automations channel_integrations
macros targets views ticket_fields triggers
user_fields organization_fields).freeze
end
end
<|file_sep|>current/lib/ze... | 9193d184446cace0f290a8f1eccf84436776c8f3 | lib/zendesk_apps_support/app_requirement.rb | lib/zendesk_apps_support/app_requirement.rb | Ruby |
<|file_sep|>_sass/_navbar.scss.diff
original:
width: 175px;
height: 175/388*148px;
updated:
$baseWidth: 175px;
width: $baseWidth;
@include mobile {
width: $baseWidth / 2;
}
<|file_sep|>original/_sass/_navbar.scss
}
.navbar-brand {
.is-hidden-desktop {
margin-left: auto;
}
.navbar-burger {
... |
@include mobile {
width: $baseWidth / 2;
}
}
.navbar-brand {
.is-hidden-desktop {
margin-left: auto;
}
@include tablet {
.navbar-burger {
margin-left: 0;
}
}
@include mobile {
.navbar-burger {
margin-left: 0;
}
}
} | <|file_sep|>_sass/_navbar.scss.diff
original:
width: 175px;
height: 175/388*148px;
updated:
$baseWidth: 175px;
width: $baseWidth;
@include mobile {
width: $baseWidth / 2;
}
<|file_sep|>original/_sass/_navbar.scss
}
.navbar-brand {
.is-hidden-desktop {
margin-left: auto;
}
.navbar-burger {
... | ac2a02bdd49759403cae7a25b9a48b4c83b08534 | _sass/_navbar.scss | _sass/_navbar.scss | SCSS |
<|file_sep|>original/lib/utils/copy.js
const path = require('path');
const fs = require('fs');
const mu = require('mu2');
function compile(src, dest, settings) {
settings = settings || {};
return mkdirp(path.dirname(dest))
.then(() => {
return new Promise((resolve, reject) => {
let stream;
... | const path = require('path');
const fs = require('fs');
const mu = require('mu2');
function compile(src, dest, settings) {
settings = settings || {};
return mkdirp(path.dirname(dest))
.then(() => {
return new Promise((resolve, reject) => {
let stream;
if (path.basename(src).match(/\.tpl(\... | <|file_sep|>original/lib/utils/copy.js
const path = require('path');
const fs = require('fs');
const mu = require('mu2');
function compile(src, dest, settings) {
settings = settings || {};
return mkdirp(path.dirname(dest))
.then(() => {
return new Promise((resolve, reject) => {
let stream;
... | fbc38523508db2201e6f1c136640f560a77b7282 | lib/utils/copy.js | lib/utils/copy.js | JavaScript |
<|file_sep|>original/14B-088/HI/analysis/rotation_curves/cube_subtract_rotation.py
<|file_sep|>current/14B-088/HI/analysis/rotation_curves/cube_subtract_rotation.py
<|file_sep|>updated/14B-088/HI/analysis/rotation_curves/cube_subtract_rotation.py |
from astropy.io import fits
from spectral_cube import SpectralCube
import astropy.units as u
import numpy as np
import os
from astropy.utils.console import ProgressBar
'''
Subtract a rotation model from a cube.
'''
# Load in my huge FITS creator
execfile(os.path.expanduser("~/Dropbox/code_development/ewky_scripts/wr... | <|file_sep|>original/14B-088/HI/analysis/rotation_curves/cube_subtract_rotation.py
<|file_sep|>current/14B-088/HI/analysis/rotation_curves/cube_subtract_rotation.py
<|file_sep|>updated/14B-088/HI/analysis/rotation_curves/cube_subtract_rotation.py
from astropy.io import fits
from spectral_cube import SpectralCube
imp... | 96b9c9f0a3bb3fd96ff7dd2c289dd0e4dee2bbb0 | 14B-088/HI/analysis/rotation_curves/cube_subtract_rotation.py | 14B-088/HI/analysis/rotation_curves/cube_subtract_rotation.py | Python |
<|file_sep|>original/README.md
# API for soyel.fr
[](https://travis-ci.org/soyel/api.soyel.fr)
<|file_sep|>current/README.md
# API for soyel.fr
[](https://travis-ci.org... | # API for soyel.fr
[](https://travis-ci.org/soyel/api.soyel.fr)
[](https://insight.sensiolabs.com/projects/9462ef70-573c-4c56-a162-4b323... | <|file_sep|>original/README.md
# API for soyel.fr
[](https://travis-ci.org/soyel/api.soyel.fr)
<|file_sep|>current/README.md
# API for soyel.fr
[](https://travis-ci.org... | e4f68700c88fd6f7489f69ff41e69a33b580dec4 | README.md | README.md | Markdown |
<|file_sep|>ui/test/kapacitor/components/KapacitorRulesTable.test.tsx.diff
original:
import {isUUIDv4} from 'src/utils/stringValidators'
updated:
<|file_sep|>ui/test/kapacitor/components/KapacitorRulesTable.test.tsx.diff
original:
onChangeRuleStatus: () => {},
updated:
onChangeRuleStatus: () => {}
<|file_sep|... | rules: kapacitorRules,
onDelete: () => {},
onChangeRuleStatus: () => {}
}
const wrapper = shallow(<KapacitorRulesTable {...props} />)
return {
wrapper,
props
}
}
describe('Kapacitor.Components.KapacitorRulesTable', () => {
describe('rendering', () => {
it('renders KapacitorRulesTabl... | <|file_sep|>ui/test/kapacitor/components/KapacitorRulesTable.test.tsx.diff
original:
import {isUUIDv4} from 'src/utils/stringValidators'
updated:
<|file_sep|>ui/test/kapacitor/components/KapacitorRulesTable.test.tsx.diff
original:
onChangeRuleStatus: () => {},
updated:
onChangeRuleStatus: () => {}
<|file_sep|... | 54266c094adea7a3ea4449e1e223fa74ac5fabed | ui/test/kapacitor/components/KapacitorRulesTable.test.tsx | ui/test/kapacitor/components/KapacitorRulesTable.test.tsx | TypeScript |
<|file_sep|>original/.travis.yml
- sudo apt-get update -qq
- sudo apt-get install -qq ubuntu-restricted-extras ffmpeg
before_script:
ffmpeg --help
- python: 3.8
env: TOXENV=doc
- python: 3.8
env: TOXENV=check
allow_failures:
- env: TOXENV=check
install: pip insta... | - sudo apt-get update -qq
- sudo apt-get install -qq ubuntu-restricted-extras ffmpeg
before_script:
ffmpeg --help
- python: 3.8
env: TOXENV=doc
- python: 3.8
env: TOXENV=check
allow_failures:
- env: TOXENV=check
install: pip install -U tox-travis
script: tox -- ... | <|file_sep|>original/.travis.yml
- sudo apt-get update -qq
- sudo apt-get install -qq ubuntu-restricted-extras ffmpeg
before_script:
ffmpeg --help
- python: 3.8
env: TOXENV=doc
- python: 3.8
env: TOXENV=check
allow_failures:
- env: TOXENV=check
install: pip insta... | 571e1d0b9ca50ac091216f104db67c31960efc22 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/recipes/scandir/meta.yaml
{% set version = "1.4" %}
{% set sha256 = "ada8d3ddc82fd168b3f46feb393d37c722ed0553a10a3ce5426ddc5ec17d597a" %}
package:
name: scandir
version: {{ version }}
source:
fn: scandir-{{ version }}.tar.gz
url: https://pypi.io/packages/source/s/scandir/scandir-{{ versio... | {% set version = "1.5" %}
{% set sha256 = "c2612d1a487d80fb4701b4a91ca1b8f8a695b1ae820570815e85e8c8b23f1283" %}
package:
name: scandir
version: {{ version }}
source:
fn: scandir-{{ version }}.tar.gz
url: https://pypi.io/packages/source/s/scandir/scandir-{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
nu... | <|file_sep|>original/recipes/scandir/meta.yaml
{% set version = "1.4" %}
{% set sha256 = "ada8d3ddc82fd168b3f46feb393d37c722ed0553a10a3ce5426ddc5ec17d597a" %}
package:
name: scandir
version: {{ version }}
source:
fn: scandir-{{ version }}.tar.gz
url: https://pypi.io/packages/source/s/scandir/scandir-{{ versio... | 451f01fdf3162fe89bbb8d15b2584692d5da9ee2 | recipes/scandir/meta.yaml | recipes/scandir/meta.yaml | YAML |
<|file_sep|>original/app/views/welcome/graduates.html.haml
%li Anabelle Franz
%li Federico Lertora
%li Alicia Steadman
%li Deborah Anderson
%li Adele Tiblier
%li Jenny Velasquez
%li Carrington Roaf
%li Natasha Salas
%li Alba Huddl... | %li Alicia Steadman
%li Deborah Anderson
%li Adele Tiblier
%li Jenny Velasquez
%li Carrington Roaf
%li Natasha Salas
%li Alba Huddleston
%li Libby Favrot
%li Danielle Tanguis
%li Michelle calabro
%li Tanvi Shah... | <|file_sep|>original/app/views/welcome/graduates.html.haml
%li Anabelle Franz
%li Federico Lertora
%li Alicia Steadman
%li Deborah Anderson
%li Adele Tiblier
%li Jenny Velasquez
%li Carrington Roaf
%li Natasha Salas
%li Alba Huddl... | 8a5183c2a3f532d141cb809565776ca85b266c06 | app/views/welcome/graduates.html.haml | app/views/welcome/graduates.html.haml | Haml |
<|file_sep|>original/Casks/royal-tsx-beta.rb
<|file_sep|>current/Casks/royal-tsx-beta.rb
<|file_sep|>updated/Casks/royal-tsx-beta.rb | cask :v1 => 'royal-tsx-beta' do
version '2.0.0.17'
sha256 '45da4fb0b273fc038cdc91354d19a7f908d20ad67b84edfe79ef7c1843f475e2'
url "http://v2.royaltsx.com/updates/royaltsx_#{version}.dmg"
appcast 'http://v2.royaltsx.com/updates_beta.php'
homepage 'http://www.royaltsx.com'
license :unknown
app 'Royal TSX.a... | <|file_sep|>original/Casks/royal-tsx-beta.rb
<|file_sep|>current/Casks/royal-tsx-beta.rb
<|file_sep|>updated/Casks/royal-tsx-beta.rb
cask :v1 => 'royal-tsx-beta' do
version '2.0.0.17'
sha256 '45da4fb0b273fc038cdc91354d19a7f908d20ad67b84edfe79ef7c1843f475e2'
url "http://v2.royaltsx.com/updates/royaltsx_#{versio... | fb6bf5edf7db27ea25ae50e62b699615848e0c56 | Casks/royal-tsx-beta.rb | Casks/royal-tsx-beta.rb | Ruby |
<|file_sep|>original/requirements-dev.txt
-e .
ipython==6.0.0
ipdb==0.10.3
coverage==4.4.1
flake8==3.3.0
pytest==3.1.0
pytest-cov==2.5.1
mypy-lang==0.4.6
tox==2.7.0
wheel==0.29.0
docutils==0.13.1
<|file_sep|>current/requirements-dev.txt
-e .
ipython==6.0.0
ipdb==0.10.3
coverage==4.4.1
flake8==3.3.0
pytest==3.1.0
pytest... | -e .
ipython==6.1.0
ipdb==0.10.3
coverage==4.4.1
flake8==3.3.0
pytest==3.1.0
pytest-cov==2.5.1
mypy-lang==0.4.6
tox==2.7.0
wheel==0.29.0
docutils==0.13.1 | <|file_sep|>original/requirements-dev.txt
-e .
ipython==6.0.0
ipdb==0.10.3
coverage==4.4.1
flake8==3.3.0
pytest==3.1.0
pytest-cov==2.5.1
mypy-lang==0.4.6
tox==2.7.0
wheel==0.29.0
docutils==0.13.1
<|file_sep|>current/requirements-dev.txt
-e .
ipython==6.0.0
ipdb==0.10.3
coverage==4.4.1
flake8==3.3.0
pytest==3.1.0
pytest... | 1b6f807d1a1d80bd3d5f4e504bc44dc696cc9392 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/__init__.py
import settings
def comment_notification(sender, comment, request, **kwargs):
subject = 'New comment on %s' % str(comment.content_object)
msg = u'Comment from: %s (%s)\n\n' % (comment.user_name, request.META['REMOTE_ADDR'])
msg += u'Comment text:\n\n%s\n' % comment.comment... | def comment_notification(sender, comment, request, **kwargs):
subject = 'New comment on %s' % str(comment.content_object)
msg = u'Comment from: %s (%s)\n\n' % (comment.user_name, request.META['REMOTE_ADDR'])
msg += u'Comment text:\n\n%s\n' % comment.comment
mail_managers(subject, msg, fail_silently=Tr... | <|file_sep|>original/__init__.py
import settings
def comment_notification(sender, comment, request, **kwargs):
subject = 'New comment on %s' % str(comment.content_object)
msg = u'Comment from: %s (%s)\n\n' % (comment.user_name, request.META['REMOTE_ADDR'])
msg += u'Comment text:\n\n%s\n' % comment.comment... | 0d42aa0158bb4f13098bdb5341bead9b1d7c686a | __init__.py | __init__.py | Python |
<|file_sep|>original/polymorpheus.gemspec
Gem::Specification.new do |s|
s.name = "polymorpheus"
s.version = Polymorpheus::VERSION
s.authors = ["Barun Singh"]
s.email = "bsingh@wegowise.com"
s.homepage = "http://github.com/wegowise/polymorpheus"
s.summary = "Provides a database-... |
Gem::Specification.new do |s|
s.name = "polymorpheus"
s.version = Polymorpheus::VERSION
s.authors = ["Barun Singh"]
s.email = "bsingh@wegowise.com"
s.homepage = "http://github.com/wegowise/polymorpheus"
s.summary = "Provides a database-friendly method for polymorphic relationsh... | <|file_sep|>original/polymorpheus.gemspec
Gem::Specification.new do |s|
s.name = "polymorpheus"
s.version = Polymorpheus::VERSION
s.authors = ["Barun Singh"]
s.email = "bsingh@wegowise.com"
s.homepage = "http://github.com/wegowise/polymorpheus"
s.summary = "Provides a database-... | ffac83feab2bbbcf1bfd5fa01960863af218b310 | polymorpheus.gemspec | polymorpheus.gemspec | Ruby |
<|file_sep|>original/.travis.yml
language: objective-c
branches:
except:
- gh-pages
osx_image: xcode10
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- FRAMEWORK_NAME="Tabman"
- UPDATE_DOCS="true"
before_install:
- export HOMEBREW_NO_AUTO_UPDATE=1
- brew outdated carthage || brew upg... | language: objective-c
branches:
except:
- gh-pages
osx_image: xcode10.1
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- FRAMEWORK_NAME="Tabman"
- UPDATE_DOCS="true"
before_install:
- export HOMEBREW_NO_AUTO_UPDATE=1
- brew outdated carthage || brew upgrade carthage
- bundle install
... | <|file_sep|>original/.travis.yml
language: objective-c
branches:
except:
- gh-pages
osx_image: xcode10
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- FRAMEWORK_NAME="Tabman"
- UPDATE_DOCS="true"
before_install:
- export HOMEBREW_NO_AUTO_UPDATE=1
- brew outdated carthage || brew upg... | c0253adb49e966cea583bff2b9370279055f92d5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/deploy.sh
#!/bin/bash
if [ "$TRAVIS_BRANCH" == "master" ]; then
dotnet pack -c Release -o ./release
nuget push ./src/DataCommand.Core/release/*.nupkg $NUGET_API_KEY -Source https://www.nuget.org/api/v2/package
fi
<|file_sep|>current/deploy.sh
#!/bin/bash
if [ "$TRAVIS_BRANCH" == "master" ]; then
... | #!/bin/bash
if [ "$TRAVIS_BRANCH" == "master" ]; then
dotnet pack -c Release -o ./release
dotnet nuget push ./src/DataCommand.Core/release/*.nupkg -k $NUGET_API_KEY -s https://www.nuget.org/api/v2/package
fi | <|file_sep|>original/deploy.sh
#!/bin/bash
if [ "$TRAVIS_BRANCH" == "master" ]; then
dotnet pack -c Release -o ./release
nuget push ./src/DataCommand.Core/release/*.nupkg $NUGET_API_KEY -Source https://www.nuget.org/api/v2/package
fi
<|file_sep|>current/deploy.sh
#!/bin/bash
if [ "$TRAVIS_BRANCH" == "master" ]; then
... | 151ed2dcb995d327dc59c9cb8184963329e7ef37 | deploy.sh | deploy.sh | Shell |
<|file_sep|>createPostgres.sh.diff
original:
POSTGRES_IMAGE_NAME=${POSTGRES_IMAGE_NAME:-postgres}
updated:
POSTGRES_IMAGE=${POSTGRES_IMAGE:-postgres:9.4}
<|file_sep|>createPostgres.sh.diff
original:
${POSTGRES_IMAGE_NAME} \
updated:
${POSTGRES_IMAGE} \
<|file_sep|>createPostgres.sh.diff
original:
-p 5432:5432 \
updated... |
# Create PostgreSQL volume.
docker run \
--name ${POSTGRES_VOLUME} \
${POSTGRES_IMAGE} \
echo "Create postgres volume."
# Start PostgreSQL.
docker run \
--name ${POSTGRES_NAME} \
-P \
--volumes-from ${POSTGRES_VOLUME} \
-e POSTGRES_DB=${POSTGRES_DB} \
-e POSTGRES_USER=${POSTGRES_USER} \
-e POSTGRES_PASSWORD=${POSTGRE... | <|file_sep|>createPostgres.sh.diff
original:
POSTGRES_IMAGE_NAME=${POSTGRES_IMAGE_NAME:-postgres}
updated:
POSTGRES_IMAGE=${POSTGRES_IMAGE:-postgres:9.4}
<|file_sep|>createPostgres.sh.diff
original:
${POSTGRES_IMAGE_NAME} \
updated:
${POSTGRES_IMAGE} \
<|file_sep|>createPostgres.sh.diff
original:
-p 5432:5432 \
updated... | fa8532da357867b18ca5e55d4ba8aeb48ab32dac | createPostgres.sh | createPostgres.sh | Shell |
<|file_sep|>leetcode/jump-game-ii/Solution.java.diff
original:
updated:
if (jumps.length == 1) return 0;
<|file_sep|>leetcode/jump-game-ii/Solution.java.diff
original:
if (index == lastIndex) {
return stepCount;
updated:
int maxIndex = Math.min(index + jumps[index], lastIndex);
if... | for (int i = 0; i < queueSize; i++) {
int index = queue.removeFirst();
int maxIndex = Math.min(index + jumps[index], lastIndex);
if (maxIndex == lastIndex) {
return stepCount + 1;
}
for (int newIndex = maxIndex; newIndex > index; newIndex--) {
if (visit... | <|file_sep|>leetcode/jump-game-ii/Solution.java.diff
original:
updated:
if (jumps.length == 1) return 0;
<|file_sep|>leetcode/jump-game-ii/Solution.java.diff
original:
if (index == lastIndex) {
return stepCount;
updated:
int maxIndex = Math.min(index + jumps[index], lastIndex);
if... | 4122a7fb58461757ea9ebe21dfef0ef5d319e1c0 | leetcode/jump-game-ii/Solution.java | leetcode/jump-game-ii/Solution.java | Java |
<|file_sep|>original/script/ci/install.sh
#!/bin/sh
set -e
if [ -n "${WINDIR}" ]; then
# Give preference to all MSYS64 binaries. This solves issues with mkdir and
# other commands not working properly.
export PATH="/usr/bin:${PATH}"
export PYTHON="/c/Python27/python"
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
... | #!/bin/sh
set -e
if [ -n "${WINDIR}" ]; then
# Give preference to all MSYS64 binaries. This solves issues with mkdir and
# other commands not working properly.
export PATH="/usr/bin:${PATH}"
export PYTHON="/c/Python27/python"
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
# MacOS still needs a few things to be ins... | <|file_sep|>original/script/ci/install.sh
#!/bin/sh
set -e
if [ -n "${WINDIR}" ]; then
# Give preference to all MSYS64 binaries. This solves issues with mkdir and
# other commands not working properly.
export PATH="/usr/bin:${PATH}"
export PYTHON="/c/Python27/python"
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
... | d97976df190ba41f2cddb8fd7394770f616d8b78 | script/ci/install.sh | script/ci/install.sh | Shell |
<|file_sep|>original/lein/.lein/profiles.clj
{:user {
:dependencies [[cider/cider-nrepl "0.12.0-SNAPSHOT"] ; Emnacs
[acyclic/squiggly-clojure "0.1.5"] ; Emacs
^:replace [org.clojure/tools.nrepl "0.2.12"] ; Emacs
]
:singing {:gp... | {:user {:plugin-repositories [["private-plugins" {:url "private repo url"}]]
:singing {:gpg-key "matthew.russell@wormbase.org"}
:dependencies [[clojure-ini "0.0.2"]
[me.raynes/fs "1.4.6"]]
:plugins [[cider/cider-nrepl "0.8.2"]
[refactor-nrepl "0.2.2"]
... | <|file_sep|>original/lein/.lein/profiles.clj
{:user {
:dependencies [[cider/cider-nrepl "0.12.0-SNAPSHOT"] ; Emnacs
[acyclic/squiggly-clojure "0.1.5"] ; Emacs
^:replace [org.clojure/tools.nrepl "0.2.12"] ; Emacs
]
:singing {:gp... | 27c4069ba8f6ddd8b59066a8ce3274b45d48310b | lein/.lein/profiles.clj | lein/.lein/profiles.clj | Clojure |
<|file_sep|>packages/ha/hanabi-dealer.yaml.diff
original:
hash: 0cb85bb614b69519a13707ade004db3ba1c0c96943e0041fa1a74683d6118d64
updated:
hash: dfbee5ae3fede73ab69bbb6cbadd2b928233df170a0dc0374d3debbfaf3dfb09
<|file_sep|>packages/ha/hanabi-dealer.yaml.diff
original:
updated:
## 0.2.0.0 -- 2019-12-20
* define the ... | ## 0.2.0.0 -- 2019-12-20
* define the Verbosity option
* confirm running with base-4.13 compiled by GHC-8.8.1.
## 0.1.0.0 -- 2019-12-18
* First version. Released on an unsuspecting world.
basic-deps:
base: ! '>=4.8 && <4.14'
containers: ! '>=0.5'
random: ! '>=1.1'
all-versions:
- 0.1.0.0
- 0.2.0.0
a... | <|file_sep|>packages/ha/hanabi-dealer.yaml.diff
original:
hash: 0cb85bb614b69519a13707ade004db3ba1c0c96943e0041fa1a74683d6118d64
updated:
hash: dfbee5ae3fede73ab69bbb6cbadd2b928233df170a0dc0374d3debbfaf3dfb09
<|file_sep|>packages/ha/hanabi-dealer.yaml.diff
original:
updated:
## 0.2.0.0 -- 2019-12-20
* define the ... | ec0f14124ea2376d9245b3f605af857cef22785e | packages/ha/hanabi-dealer.yaml | packages/ha/hanabi-dealer.yaml | YAML |
<|file_sep|>original/config/prisons/FNI-full-sutton.yml
nomis_id: FNI
address:
- York
- YO41 1PS
booking_window: 28
email: socialvisits.fullsutton@hmps.gsi.gov.uk
enabled: true
estate: Full Sutton
lead_days: 3
phone: 01759 475355
slots:
thu:
- 1410-1615
fri:
- 0910-1100
- 1320-1615
sat:
- 1345-1615
sun:... | nomis_id: FNI
address:
- York
- YO41 1PS
booking_window: 28
email: socialvisits.fullsutton@hmps.gsi.gov.uk
enabled: true
estate: Full Sutton
lead_days: 3
phone: 01759 475355
slot_anomalies:
2015-12-24:
- 0900-1100
- 1410-1615
slots:
thu:
- 1410-1615
fri:
- 0910-1100
- 1320-1615
sat: | <|file_sep|>original/config/prisons/FNI-full-sutton.yml
nomis_id: FNI
address:
- York
- YO41 1PS
booking_window: 28
email: socialvisits.fullsutton@hmps.gsi.gov.uk
enabled: true
estate: Full Sutton
lead_days: 3
phone: 01759 475355
slots:
thu:
- 1410-1615
fri:
- 0910-1100
- 1320-1615
sat:
- 1345-1615
sun:... | d7daf626116133b4749f613e413b299bb25e9131 | config/prisons/FNI-full-sutton.yml | config/prisons/FNI-full-sutton.yml | YAML |
<|file_sep|>original/views/lexicon/tabs/media.html.twig
<|file_sep|>current/views/lexicon/tabs/media.html.twig
<|file_sep|>updated/views/lexicon/tabs/media.html.twig | {% extends "@pulsar/pulsar/components/tab.html.twig" %}
{% import '@pulsar/pulsar/v2/helpers/html.html.twig' as html %}
{% import '@pulsar/pulsar/v2/helpers/form.html.twig' as form %}
{% block tab_content %}
{{
html.media({
'image': '/images/pulsar-brand-medium.png',
'image_alt': '... | <|file_sep|>original/views/lexicon/tabs/media.html.twig
<|file_sep|>current/views/lexicon/tabs/media.html.twig
<|file_sep|>updated/views/lexicon/tabs/media.html.twig
{% extends "@pulsar/pulsar/components/tab.html.twig" %}
{% import '@pulsar/pulsar/v2/helpers/html.html.twig' as html %}
{% import '@pulsar/pulsar/v2/hel... | f93e4688ae84146c934ab6ad294965cf5643ab99 | views/lexicon/tabs/media.html.twig | views/lexicon/tabs/media.html.twig | Twig |
<|file_sep|>original/tests/settings_base.py
INSTALLED_APPS = [
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'tests.app',
]
STATIC_URL = '/static/'
SECRET_KEY = 'foobar'
SITE_ID = 1234 # Needed for 1.3 compatibility
# Used to construct u... | SECRET_KEY = 'foobar'
SITE_ID = 1234 # Needed for 1.3 compatibility
# Used to construct unique test database names to allow detox to run multiple
# versions at the same time
uid = os.getenv('UID', '')
if uid:
db_suffix = '_%s' % uid
else:
db_suffix = ''
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.m... | <|file_sep|>original/tests/settings_base.py
INSTALLED_APPS = [
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'tests.app',
]
STATIC_URL = '/static/'
SECRET_KEY = 'foobar'
SITE_ID = 1234 # Needed for 1.3 compatibility
# Used to construct u... | e6a1e9670e857119c7e6c9250849ee4edd026bad | tests/settings_base.py | tests/settings_base.py | Python |
<|file_sep|>original/src/utils/index.js
const { parse } = require('url')
const UrlPattern = require('url-pattern')
const patternOpts = {
segmentNameCharset: 'a-zA-Z0-9_-',
}
const isPattern = pattern => pattern instanceof UrlPattern
const getParamsAndQuery = (pattern, url) => {
const { query, pathname } = parse(... | const { parse } = require('url')
const UrlPattern = require('url-pattern')
const patternOpts = {
segmentNameCharset: 'a-zA-Z0-9_-',,
segmentValueCharset: 'a-zA-Z0-9@\.\+\-\_'
}
const isPattern = pattern => pattern instanceof UrlPattern
const getParamsAndQuery = (pattern, url) => {
const { query, pathname } = p... | <|file_sep|>original/src/utils/index.js
const { parse } = require('url')
const UrlPattern = require('url-pattern')
const patternOpts = {
segmentNameCharset: 'a-zA-Z0-9_-',
}
const isPattern = pattern => pattern instanceof UrlPattern
const getParamsAndQuery = (pattern, url) => {
const { query, pathname } = parse(... | 7a6fb64b30513b987e59965a948a681037f406e9 | src/utils/index.js | src/utils/index.js | JavaScript |
<|file_sep|>original/run_codegen.sh
<|file_sep|>current/run_codegen.sh
<|file_sep|>updated/run_codegen.sh | #!/usr/bin/env bash
PROTO_DIR="../../src/config/serve_env/protos"
PLUGIN=`which grpc_python_plugin`
protoc -I $PROTO_DIR --python_out=. --grpc_out=. --plugin=protoc-gen-grpc=$PLUGIN $PROTO_DIR/tagRpc.proto | <|file_sep|>original/run_codegen.sh
<|file_sep|>current/run_codegen.sh
<|file_sep|>updated/run_codegen.sh
#!/usr/bin/env bash
PROTO_DIR="../../src/config/serve_env/protos"
PLUGIN=`which grpc_python_plugin`
protoc -I $PROTO_DIR --python_out=. --grpc_out=. --plugin=protoc-gen-grpc=$PLUGIN $PROTO_DIR/tagRpc.proto | 4807b237a1ad2e4c9509bc8e826bbe82255d58f1 | run_codegen.sh | run_codegen.sh | Shell |
<|file_sep|>original/test/Misc/driver-verify.c
// RUN: not %clang %s -verify 2>&1 | FileCheck %s
// RUN: %clang -cc1 -verify %s
// expected-no-diagnostics
// Test that -verify is strictly rejected as unknown by the driver.
// CHECK: unknown argument: '-verify'
<|file_sep|>current/test/Misc/driver-verify.c
// RUN: not ... | // RUN: not %clang -verify %s 2>&1 | FileCheck %s
// RUN: %clang -cc1 -verify %s
// expected-no-diagnostics
// Test that -verify is strictly rejected as unknown by the driver.
// CHECK: unknown argument: '-verify' | <|file_sep|>original/test/Misc/driver-verify.c
// RUN: not %clang %s -verify 2>&1 | FileCheck %s
// RUN: %clang -cc1 -verify %s
// expected-no-diagnostics
// Test that -verify is strictly rejected as unknown by the driver.
// CHECK: unknown argument: '-verify'
<|file_sep|>current/test/Misc/driver-verify.c
// RUN: not ... | 326c70c9fb409f0c8d423ee860d687912ab1fc8e | test/Misc/driver-verify.c | test/Misc/driver-verify.c | C |
<|file_sep|>original/tools/ci/alibaba-mirror-settings.xml
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR ... | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<settings>
<mirrors>
<mirror>
<id>alicloud-mvn-mirror</id>
<name>Alibaba Maven mirror</name>
<url>http:/... | <|file_sep|>original/tools/ci/alibaba-mirror-settings.xml
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR ... | c2bc7a71f2806f045f45bfc690229f8f7f582284 | tools/ci/alibaba-mirror-settings.xml | tools/ci/alibaba-mirror-settings.xml | XML |
<|file_sep|>original/recipes/pygments_pytest/meta.yaml
<|file_sep|>current/recipes/pygments_pytest/meta.yaml
<|file_sep|>updated/recipes/pygments_pytest/meta.yaml | {% set name = "pygments_pytest" %}
{% set version = "2.0.0" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: d0aabdc688d58553db16d2aadefd30e9cac7bc5240938b60d87f5379dcede7e3
build:
number... | <|file_sep|>original/recipes/pygments_pytest/meta.yaml
<|file_sep|>current/recipes/pygments_pytest/meta.yaml
<|file_sep|>updated/recipes/pygments_pytest/meta.yaml
{% set name = "pygments_pytest" %}
{% set version = "2.0.0" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io... | 7e1720c10a2b71e69f729a37b2dce2fb9fd3f5f9 | recipes/pygments_pytest/meta.yaml | recipes/pygments_pytest/meta.yaml | YAML |
<|file_sep|>original/metadata/ch.bailu.aat.txt
Summary:Track you activities
Description:
GPS-tracking application for tracking sportive activities, with emphasis on
cycling. It uses osmdroid to display map tiles from the OpenStreetMap project.
.
Repo Type:git
Repo:https://github.com/bailuk/AAT
Build:v0.5-alpha,5
... | Summary:Track you activities
Description:
GPS-tracking application for tracking sportive activities, with emphasis on
cycling. It uses osmdroid to display map tiles from the OpenStreetMap project.
.
Repo Type:git
Repo:https://github.com/bailuk/AAT
Build:v0.5-alpha,5
commit=v0.5-alpha
target=android-21
Build... | <|file_sep|>original/metadata/ch.bailu.aat.txt
Summary:Track you activities
Description:
GPS-tracking application for tracking sportive activities, with emphasis on
cycling. It uses osmdroid to display map tiles from the OpenStreetMap project.
.
Repo Type:git
Repo:https://github.com/bailuk/AAT
Build:v0.5-alpha,5
... | 8ce173433d5c6797e2d264a420b4d01ca35474f8 | metadata/ch.bailu.aat.txt | metadata/ch.bailu.aat.txt | Text |
<|file_sep|>webscripthook-android/WebActivity.cs.diff
original:
webView.LoadUrl(Intent.GetStringExtra("Address"));
updated:
if (savedInstanceState == null)
{
webView.LoadUrl(Intent.GetStringExtra("Address"));
}
<|file_sep|>original/webscripthook-android/We... | {
if (webView.CanGoBack())
{
webView.GoBack();
}
else
{
base.OnBackPressed();
}
}
protected override void OnSaveInstanceState (Bundle outState)
{
base.OnSaveInstanceState(... | <|file_sep|>webscripthook-android/WebActivity.cs.diff
original:
webView.LoadUrl(Intent.GetStringExtra("Address"));
updated:
if (savedInstanceState == null)
{
webView.LoadUrl(Intent.GetStringExtra("Address"));
}
<|file_sep|>original/webscripthook-android/We... | b0ea5de8343fa100da14b43142ce5034421daae4 | webscripthook-android/WebActivity.cs | webscripthook-android/WebActivity.cs | C# |
<|file_sep|>app/applications.py.diff
original:
updated:
<|file_sep|>app/applications.py.diff
original:
updated:
# 2. Stack application
def base_converter(decimal_num, base):
"""Convert a decimal number to base 2 or 8 or 16."""
digits = '0123456789ABCDEF'
remainder_stack = data_structures.Stack()
con... | # 2. Stack application
def base_converter(decimal_num, base):
"""Convert a decimal number to base 2 or 8 or 16."""
digits = '0123456789ABCDEF'
remainder_stack = data_structures.Stack()
conversion_result = ''
while decimal_num > 0:
remainder_stack.push(decimal_num % base)
decimal_nu... | <|file_sep|>app/applications.py.diff
original:
updated:
<|file_sep|>app/applications.py.diff
original:
updated:
# 2. Stack application
def base_converter(decimal_num, base):
"""Convert a decimal number to base 2 or 8 or 16."""
digits = '0123456789ABCDEF'
remainder_stack = data_structures.Stack()
con... | 61a277bc61d0f646bd8d1285b3aa2025f6593953 | app/applications.py | app/applications.py | Python |
<|file_sep|>original/build/integration/composer.json
{
"require-dev": {
"phpunit/phpunit": "~6.5",
"behat/behat": "~3.10.0",
"guzzlehttp/guzzle": "6.5.2",
"jarnaiz/behat-junit-formatter": "^1.3",
"sabre/dav": "4.2.1",
"symfony/event-dispatcher": "~5.3"
}
}
<|file_sep|>current/build/integrati... | {
"require-dev": {
"phpunit/phpunit": "~6.5",
"behat/behat": "~3.10.0",
"guzzlehttp/guzzle": "6.5.2",
"jarnaiz/behat-junit-formatter": "^1.3",
"sabre/dav": "4.2.3",
"symfony/event-dispatcher": "~5.3"
}
} | <|file_sep|>original/build/integration/composer.json
{
"require-dev": {
"phpunit/phpunit": "~6.5",
"behat/behat": "~3.10.0",
"guzzlehttp/guzzle": "6.5.2",
"jarnaiz/behat-junit-formatter": "^1.3",
"sabre/dav": "4.2.1",
"symfony/event-dispatcher": "~5.3"
}
}
<|file_sep|>current/build/integrati... | 5cdac1f15e8cd918cba86b1aad0b2f043fab5dcd | build/integration/composer.json | build/integration/composer.json | JSON |
<|file_sep|>original/skins/default/templates/administration/editReport.tpl
<form action="index.php?page={$currentPage}&action=editReport&reportID={$report[0].id}" method="POST">
<table class="edit">
<tr>
<th width="30%">
Bericht bearbeiten
</th>
<th width="70%" style="text-align: right;">
<a {popup caption... | <form action="index.php?page={$currentPage}&action=editReport&reportID={$report[0].id}" method="POST">
<table class="edit">
<tr>
<th width="30%">
Bericht bearbeiten
</th>
<th width="70%" style="text-align: right;">
<a data-toggle="tooltip" data-placement="bottom" title="Zurück" href="index.php?page={$... | <|file_sep|>original/skins/default/templates/administration/editReport.tpl
<form action="index.php?page={$currentPage}&action=editReport&reportID={$report[0].id}" method="POST">
<table class="edit">
<tr>
<th width="30%">
Bericht bearbeiten
</th>
<th width="70%" style="text-align: right;">
<a {popup caption... | 327b1cbd14f7a79d803cb9c4a0d773730fa805ae | skins/default/templates/administration/editReport.tpl | skins/default/templates/administration/editReport.tpl | Smarty |
<|file_sep|>app/views/admin/editions/_change_notes.html.erb.diff
original:
<strong>Update the document silently</strong> - for corrections to typos, links, style or metadata
updated:
<strong>Update the document silently</strong> - for minor changes like fixes to typos, links, GOV.UK style or metadata
<|file... | <fieldset class="js-change-notes">
<h3>To save this document please complete the following</h3>
<p>Select an option:</p>
<%= form.label :minor_change_true, class: 'radio' do %>
<%= form.radio_button(:minor_change, true) %>
<strong>Update the document silently</strong> - for minor changes like fixes ... | <|file_sep|>app/views/admin/editions/_change_notes.html.erb.diff
original:
<strong>Update the document silently</strong> - for corrections to typos, links, style or metadata
updated:
<strong>Update the document silently</strong> - for minor changes like fixes to typos, links, GOV.UK style or metadata
<|file... | 1beab6b7bd2af3e6325b2ef4c5707706956ff889 | app/views/admin/editions/_change_notes.html.erb | app/views/admin/editions/_change_notes.html.erb | HTML+ERB |
<|file_sep|>original/bson/tests/test_binary.py
<|file_sep|>current/bson/tests/test_binary.py
<|file_sep|>updated/bson/tests/test_binary.py | #!/usr/bin/env python
from unittest import TestCase
from bson import dumps, loads
class TestBinary(TestCase):
def setUp(self):
lyrics = b"""
I've Had Enough - Earth Wind and Fire
Getting down, there's
a party in motion
Everybody's on the scene
And I can hear the s... | <|file_sep|>original/bson/tests/test_binary.py
<|file_sep|>current/bson/tests/test_binary.py
<|file_sep|>updated/bson/tests/test_binary.py
#!/usr/bin/env python
from unittest import TestCase
from bson import dumps, loads
class TestBinary(TestCase):
def setUp(self):
lyrics = b"""
I've Had Enough... | 1fdfff95e04678f107775870f0f1b4eda6af8073 | bson/tests/test_binary.py | bson/tests/test_binary.py | Python |
<|file_sep|>original/.github/workflows/publish-to-maven-central.yml
name: release
on:
release:
types: [created]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Java and Maven
uses: actions/setup-java@v1
... | name: release
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Java and Maven
uses: actions/setup-java@v1
with:
java-version: 11
- name: Release Maven ... | <|file_sep|>original/.github/workflows/publish-to-maven-central.yml
name: release
on:
release:
types: [created]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Java and Maven
uses: actions/setup-java@v1
... | 1270a2df84f3e4f16955726d0626b73fe46feab5 | .github/workflows/publish-to-maven-central.yml | .github/workflows/publish-to-maven-central.yml | YAML |
<|file_sep|>README.md.diff
original:
### Development Data
updated:
### Development
<|file_sep|>original/README.md
Freetalks
=========
Freetalks is a catalog of free talks and lectures.
### Development Data
Run tests:
nosetests --with-gae --gae-lib-root=/PATH/TO/google_appengine
Go to [Development Console][cons... | Freetalks
=========
Freetalks is a catalog of free talks and lectures.
### Development
Run tests:
nosetests --with-gae --gae-lib-root=/PATH/TO/google_appengine
To setup development data go to the [Development Console][console] and run the following:
from tests.fixtures import dataset
dataset.setup()
... | <|file_sep|>README.md.diff
original:
### Development Data
updated:
### Development
<|file_sep|>original/README.md
Freetalks
=========
Freetalks is a catalog of free talks and lectures.
### Development Data
Run tests:
nosetests --with-gae --gae-lib-root=/PATH/TO/google_appengine
Go to [Development Console][cons... | 9f963e4147fcf4cf4a0dcdb94819b1e798d85727 | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
# These requirements are only necessary when developing on Oscar.
# development
Werkzeug==0.14.1
django-debug-toolbar==1.9.1
django-extensions==2.0.7
psycopg2==2.7.4
# Sandbox
Pillow==5.1.0
Whoosh==2.7.4
django-environ==0.4.4
django-redis==4.9.0
pysolr==3.7.0
redis==2.10.6
reques... | # These requirements are only necessary when developing on Oscar.
# development
Werkzeug==0.14.1
django-debug-toolbar==1.9.1
django-extensions==2.0.7
psycopg2==2.7.5
# Sandbox
Pillow==5.1.0
Whoosh==2.7.4
django-environ==0.4.4
django-redis==4.9.0
pysolr==3.7.0
redis==2.10.6
requests==2.19.1
uWSGI==2.0.17
whitenoise==3... | <|file_sep|>original/requirements.txt
# These requirements are only necessary when developing on Oscar.
# development
Werkzeug==0.14.1
django-debug-toolbar==1.9.1
django-extensions==2.0.7
psycopg2==2.7.4
# Sandbox
Pillow==5.1.0
Whoosh==2.7.4
django-environ==0.4.4
django-redis==4.9.0
pysolr==3.7.0
redis==2.10.6
reques... | 07d68f981141ec2b4615580288d38f8d4165fe8b | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.forestry/settings.yml
- type: directory
path: content/pages
label: Pages
create: all
match: "**/*"
- type: directory
path: content/posts
label: Posts
create: all
match: "**/*"
upload_dir: static/uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file... | - type: directory
path: content/pages
label: Pages
create: all
match: "**/*"
- type: directory
path: content/posts
label: Posts
create: all
match: "**/*"
upload_dir: static/images
public_path: "/images"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_env:
... | <|file_sep|>original/.forestry/settings.yml
- type: directory
path: content/pages
label: Pages
create: all
match: "**/*"
- type: directory
path: content/posts
label: Posts
create: all
match: "**/*"
upload_dir: static/uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file... | e8a9f4d6be6e07dc58e64b57d93282dfecd8cd06 | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>original/scripts/frequency_analysis.py
<|file_sep|>current/scripts/frequency_analysis.py
<|file_sep|>updated/scripts/frequency_analysis.py | import asyncio
import attr
import pprint
import dateutil.parser
from datetime import timedelta
from bobsled.core import bobsled
from bobsled.base import Status
def recommend_frequency_for_task(runs):
total_duration = timedelta(seconds=0)
longest_duration = timedelta(seconds=0)
for run in runs:
sta... | <|file_sep|>original/scripts/frequency_analysis.py
<|file_sep|>current/scripts/frequency_analysis.py
<|file_sep|>updated/scripts/frequency_analysis.py
import asyncio
import attr
import pprint
import dateutil.parser
from datetime import timedelta
from bobsled.core import bobsled
from bobsled.base import Status
def r... | 98295608a2ba4519d12212532380253bba4372ed | scripts/frequency_analysis.py | scripts/frequency_analysis.py | Python |
<|file_sep|>original/src/GT-SUnitDebugger/GTSUnitExampleWithProblematicSetUpTest.class.st
{ #category : #testing }
GTSUnitExampleWithProblematicSetUpTest class >> isAbstract [
^ true
]
{ #category : #testing }
GTSUnitExampleWithProblematicSetUpTest class >> isUnitTest [
^ false
]
{ #category : #running }
GTSUnitEx... |
{ #category : #testing }
GTSUnitExampleWithProblematicSetUpTest class >> isAbstract [
^ true
]
{ #category : #testing }
GTSUnitExampleWithProblematicSetUpTest class >> isUnitTest [
^ false
]
{ #category : #running }
GTSUnitExampleWithProblematicSetUpTest >> setUp [
super setUp.
42 messageThatIsNotUnderstood
]
... | <|file_sep|>original/src/GT-SUnitDebugger/GTSUnitExampleWithProblematicSetUpTest.class.st
{ #category : #testing }
GTSUnitExampleWithProblematicSetUpTest class >> isAbstract [
^ true
]
{ #category : #testing }
GTSUnitExampleWithProblematicSetUpTest class >> isUnitTest [
^ false
]
{ #category : #running }
GTSUnitEx... | 537547b531a866de1f27b78158bef9d668aba658 | src/GT-SUnitDebugger/GTSUnitExampleWithProblematicSetUpTest.class.st | src/GT-SUnitDebugger/GTSUnitExampleWithProblematicSetUpTest.class.st | Smalltalk |
<|file_sep|>lib/minitest/fivemat_plugin.rb.diff
original:
if @class != result.class
updated:
if defined?(@class) && @class != result.class
<|file_sep|>original/lib/minitest/fivemat_plugin.rb
print_elapsed_time(io, @class_start_time)
io.print "\n"
end
@class = result.class... | print_elapsed_time(io, @class_start_time)
io.print "\n"
end
@class = result.class
@class_start_time = Time.now
io.print "#@class "
end
end
def report
super
print_elapsed_time(io, @class_start_time) if defined? @class_start_time
end
end... | <|file_sep|>lib/minitest/fivemat_plugin.rb.diff
original:
if @class != result.class
updated:
if defined?(@class) && @class != result.class
<|file_sep|>original/lib/minitest/fivemat_plugin.rb
print_elapsed_time(io, @class_start_time)
io.print "\n"
end
@class = result.class... | 413d9a9d20e4e1c10ba9e47ab06fd2d2ffa9aed4 | lib/minitest/fivemat_plugin.rb | lib/minitest/fivemat_plugin.rb | Ruby |
<|file_sep|>original/cityhallmonitor/management/commands/rebuild_text_index.py
def handle(self, *args, **options):
logger.info(
'Rebuilding text index, limit=%(limit)s, where="%(where)s"' \
% options)
if options['where']:
qs = Document.objects.extra(wher... | logger.info(
'Rebuilding text index, limit=%(limit)s, where="%(where)s"' \
% options)
if options['where']:
qs = Document.objects.extra(where=[options['where']])
else:
qs = Document.objects.all()
if options['limit']:
... | <|file_sep|>original/cityhallmonitor/management/commands/rebuild_text_index.py
def handle(self, *args, **options):
logger.info(
'Rebuilding text index, limit=%(limit)s, where="%(where)s"' \
% options)
if options['where']:
qs = Document.objects.extra(wher... | 7081e4c9b5b6d85921e20cd7692c0eb7b791f93a | cityhallmonitor/management/commands/rebuild_text_index.py | cityhallmonitor/management/commands/rebuild_text_index.py | Python |
<|file_sep|>original/pages/zen.md
<|file_sep|>current/pages/zen.md
<|file_sep|>updated/pages/zen.md | title: The Zen of PyCon UK
---
* Never be afraid to ask someone's name
* Never be afraid to ask someone's name *again*
* Never be afraid to join a group
* Never be slow to welcome someone who's joined your group
* Never be afraid to leave a group
* Never be afraid to ask for help, directions, advice, where's the toile... | <|file_sep|>original/pages/zen.md
<|file_sep|>current/pages/zen.md
<|file_sep|>updated/pages/zen.md
title: The Zen of PyCon UK
---
* Never be afraid to ask someone's name
* Never be afraid to ask someone's name *again*
* Never be afraid to join a group
* Never be slow to welcome someone who's joined your group
* Nev... | cf57a4e2eab838634fc226062b481aeef20f356d | pages/zen.md | pages/zen.md | Markdown |
<|file_sep|>bower.json.diff
original:
"version": "1.0.3",
updated:
"version": "2.0.0",
<|file_sep|>original/bower.json
{
"name": "x18n",
"version": "1.0.3",
"homepage": "https://github.com/js-coder/x18n",
"main": "lib/x18n.js",
"ignore": [
"**/.*",
"**/*.coffee",
"grunt.js",
"History.md",
... | {
"name": "x18n",
"version": "2.0.0",
"homepage": "https://github.com/js-coder/x18n",
"main": "lib/x18n_build.js",
"ignore": [
"**/.*",
"**/*.coffee",
"grunt.js",
"History.md",
"node_modules",
"bower_components",
"spec",
"testem.yml"
]
} | <|file_sep|>bower.json.diff
original:
"version": "1.0.3",
updated:
"version": "2.0.0",
<|file_sep|>original/bower.json
{
"name": "x18n",
"version": "1.0.3",
"homepage": "https://github.com/js-coder/x18n",
"main": "lib/x18n.js",
"ignore": [
"**/.*",
"**/*.coffee",
"grunt.js",
"History.md",
... | 36f90a7cb06131b9a8923fb734728f2e57eaa51e | bower.json | bower.json | JSON |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "node"
- "iojs-v1.2.0"
- "iojs"
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "node"
- "iojs-v1.2.0"
- "iojs"
<|file_sep|>updated/.travis.yml | language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4" | <|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "node"
- "iojs-v1.2.0"
- "iojs"
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "node"
- "iojs-v1.2.0"
- "iojs"
<|file_sep|>updated/.travis.yml
language: node_js
sud... | 4a7a5c88e39061e176656f5cc53d8a21e0dd0df4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
"karma-script-launcher": "~0.1.0",
"phantomjs": "~1.9.16",
"protractor": "~2.1.0",
"requirejs": "~2.1.17"
},
"devDependencies": {
"ajour": "latest",
"bower": "~1.4.1",
"elementor": "latest",
"fuck-you": "latest",
"ghcal": "latest",
"git-stats... | "phantomjs": "~1.9.16",
"protractor": "~2.1.0",
"requirejs": "~2.1.17"
},
"devDependencies": {
"ajour": "latest",
"bower": "~1.4.1",
"elementor": "latest",
"fuck-you": "latest",
"ghcal": "latest",
"git-stats": "latest",
"git-stats-importer": "latest",
"hsc-cli": "latest",... | <|file_sep|>original/package.json
"karma-script-launcher": "~0.1.0",
"phantomjs": "~1.9.16",
"protractor": "~2.1.0",
"requirejs": "~2.1.17"
},
"devDependencies": {
"ajour": "latest",
"bower": "~1.4.1",
"elementor": "latest",
"fuck-you": "latest",
"ghcal": "latest",
"git-stats... | 4cb365e8439ddadbeb9d176f89ac3cea2fbc159b | package.json | package.json | JSON |
<|file_sep|>original/aria-role-button.html
<|file_sep|>current/aria-role-button.html
<|file_sep|>updated/aria-role-button.html | <!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css">
<title>Andres Castillo</title>
<h2>Andres Castillo Ormaechea</h2>
<h3>Developer<span style="color:black"> |</span> Athlete <span style="color:black"> |</span> Musician <span style="color:black"> |</... | <|file_sep|>original/aria-role-button.html
<|file_sep|>current/aria-role-button.html
<|file_sep|>updated/aria-role-button.html
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css">
<title>Andres Castillo</title>
<h2>Andres Castillo Ormaechea</h2>
<h3... | f9571e984f809051a5055e83921a50a6d9f14a53 | aria-role-button.html | aria-role-button.html | HTML |
<|file_sep|>original/project/src/main/java/com/google/sps/servlets/CreateProductServlet.java
<|file_sep|>current/project/src/main/java/com/google/sps/servlets/CreateProductServlet.java
<|file_sep|>updated/project/src/main/java/com/google/sps/servlets/CreateProductServlet.java | package com.google.sps.servlets;
import com.google.api.gax.longrunning.OperationFuture;
import com.google.cloud.vision.v1.*;
import java.io.IOException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServ... | <|file_sep|>original/project/src/main/java/com/google/sps/servlets/CreateProductServlet.java
<|file_sep|>current/project/src/main/java/com/google/sps/servlets/CreateProductServlet.java
<|file_sep|>updated/project/src/main/java/com/google/sps/servlets/CreateProductServlet.java
package com.google.sps.servlets;
import... | 147b28b6e12157ad4011a81c2d20c8acaa186699 | project/src/main/java/com/google/sps/servlets/CreateProductServlet.java | project/src/main/java/com/google/sps/servlets/CreateProductServlet.java | Java |
<|file_sep|>original/package.json
{
"name": "@intabulas/nodal-middleware-ratelimit",
"version": "1.0.0",
"description": "A simplicitc rate limiting middleware for Nodal",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": "https://github.com/intabul... | {
"name": "@intabulas/nodal-middleware-ratelimit",
"version": "0.0.1",
"description": "A simplicitc rate limiting middleware for Nodal",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": "https://github.com/intabulas/nodal-middleware-ratelimit",
... | <|file_sep|>original/package.json
{
"name": "@intabulas/nodal-middleware-ratelimit",
"version": "1.0.0",
"description": "A simplicitc rate limiting middleware for Nodal",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": "https://github.com/intabul... | ec544aa92d4050f7864a24fc09f5383cd591d211 | package.json | package.json | JSON |
<|file_sep|>original/package.json
"jquery.payment": "1.2.3",
"js-cookie": "^2.1.0",
"lodash-amd": "3.10.1",
"moment": "2.10.3",
"randomcolor": "0.4.3",
"selectize": "0.12.0",
"steal": "~0.16.0",
"system-json": "^0.1.0"
},
"devDependencies": {
"steal-tools": "0.16.0",
"funcuni... | "jquery.payment": "1.2.3",
"js-cookie": "^2.1.0",
"lodash-amd": "3.10.1",
"moment": "2.10.3",
"randomcolor": "0.4.3",
"selectize": "0.12.0",
"steal": "~0.16.0",
"system-json": "^0.1.0"
},
"devDependencies": {
"steal-tools": "~0.16.0",
"funcunit": "3.1.0-pre.1",
"steal-qun... | <|file_sep|>original/package.json
"jquery.payment": "1.2.3",
"js-cookie": "^2.1.0",
"lodash-amd": "3.10.1",
"moment": "2.10.3",
"randomcolor": "0.4.3",
"selectize": "0.12.0",
"steal": "~0.16.0",
"system-json": "^0.1.0"
},
"devDependencies": {
"steal-tools": "0.16.0",
"funcuni... | 5383ffe93752c9b0fd6d72f97b324411501e5e18 | package.json | package.json | JSON |
<|file_sep|>original/lib/generators/awe/update/update_generator.rb
require 'rails'
module Awe
module Generators
class UpdateGenerator < ::Rails::Generators::Base
desc "This generator updates AWE (Artefact Web Extensions) to the latest"
@@tmp_path = "tmp/vendor/assets/javascripts"
@@github = "... | require 'rails'
module Awe
module Generators
class UpdateGenerator < ::Rails::Generators::Base
desc "This generator updates AWE (Artefact Web Extensions) to the latest"
@@tmp_path = "tmp/vendor/assets/javascripts"
@@github = "https://github.com/sambaker/awe-core/blob/master"
source_roo... | <|file_sep|>original/lib/generators/awe/update/update_generator.rb
require 'rails'
module Awe
module Generators
class UpdateGenerator < ::Rails::Generators::Base
desc "This generator updates AWE (Artefact Web Extensions) to the latest"
@@tmp_path = "tmp/vendor/assets/javascripts"
@@github = "... | d380baaa75dbde520126277363d2233e1b91cc60 | lib/generators/awe/update/update_generator.rb | lib/generators/awe/update/update_generator.rb | Ruby |
<|file_sep|>original/roles/keitaro.db_restore/tasks/main.yml
- name: Restore DB from sql dump
shell:
mysql --user={{ db_user }} --password={{ db_password }} {{ db_name }} < '{{ db_restore_path }}'
<|file_sep|>current/roles/keitaro.db_restore/tasks/main.yml
- name: Restore DB from sql dump
shell:
mysql --u... | - name: Restore DB from sql dump
shell: mysql --user={{ db_user }} --password={{ db_password }} {{ db_name }} < '{{ db_restore_path }}'
args:
chdir: ../
| <|file_sep|>original/roles/keitaro.db_restore/tasks/main.yml
- name: Restore DB from sql dump
shell:
mysql --user={{ db_user }} --password={{ db_password }} {{ db_name }} < '{{ db_restore_path }}'
<|file_sep|>current/roles/keitaro.db_restore/tasks/main.yml
- name: Restore DB from sql dump
shell:
mysql --u... | 00a6c05f4d7fc2a79093a47496a76a59d2fc6624 | roles/keitaro.db_restore/tasks/main.yml | roles/keitaro.db_restore/tasks/main.yml | YAML |
<|file_sep|>.kitchen.yml.diff
original:
- name: debian-8.5
updated:
- name: debian-8.6
<|file_sep|>original/.kitchen.yml
name: chef_zero
platforms:
- name: centos-5.11
- name: centos-6.8
- name: centos-7.2
- name: debian-7.11
run_list: apt::default
- name: debian-8.5
run_list: apt::default
- ... | name: chef_zero
platforms:
- name: centos-5.11
- name: centos-6.8
- name: centos-7.2
- name: debian-7.11
run_list: apt::default
- name: debian-8.6
run_list: apt::default
- name: fedora-25
run_list: yum::dnf_yum_compat
- name: ubuntu-12.04
run_list: apt::default
- name: ubuntu-14.04
... | <|file_sep|>.kitchen.yml.diff
original:
- name: debian-8.5
updated:
- name: debian-8.6
<|file_sep|>original/.kitchen.yml
name: chef_zero
platforms:
- name: centos-5.11
- name: centos-6.8
- name: centos-7.2
- name: debian-7.11
run_list: apt::default
- name: debian-8.5
run_list: apt::default
- ... | afee02add95955f649e3b4d143f96ce26e4fe673 | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/setup.py
from setuptools import find_packages, setup
setup(
name='django-migration-testcase',
version='0.0.14',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
description='For testing migrations in Django',
url='https://github.com/plumdog/django_migration_te... |
setup(
name='django-migration-testcase',
version='0.0.14',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
description='For testing migrations in Django',
url='https://github.com/plumdog/django_migration_testcase',
packages=find_packages(),
install_requires=['Django>=1.4'... | <|file_sep|>original/setup.py
from setuptools import find_packages, setup
setup(
name='django-migration-testcase',
version='0.0.14',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
description='For testing migrations in Django',
url='https://github.com/plumdog/django_migration_te... | 7e64bae593b70d24e1de22ee4530c9d8babe8c95 | setup.py | setup.py | Python |
<|file_sep|>original/backend/server/src/test/java/org/marsik/elshelves/backend/test/unit/LotDeliveryTest.java
<|file_sep|>current/backend/server/src/test/java/org/marsik/elshelves/backend/test/unit/LotDeliveryTest.java
<|file_sep|>updated/backend/server/src/test/java/org/marsik/elshelves/backend/test/unit/LotDelivery... | package org.marsik.elshelves.backend.test.unit;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.doReturn;
import javax.persistence.EntityManager;
import java.util.UUID;
import org.junit.Before;
import org.junit.Test;
import org.marsik.elshelves.backend.entities.Box;
import org.marsik.elshel... | <|file_sep|>original/backend/server/src/test/java/org/marsik/elshelves/backend/test/unit/LotDeliveryTest.java
<|file_sep|>current/backend/server/src/test/java/org/marsik/elshelves/backend/test/unit/LotDeliveryTest.java
<|file_sep|>updated/backend/server/src/test/java/org/marsik/elshelves/backend/test/unit/LotDelivery... | ab6daddb3b88cc9a1bd670fcb49d9d739532d167 | backend/server/src/test/java/org/marsik/elshelves/backend/test/unit/LotDeliveryTest.java | backend/server/src/test/java/org/marsik/elshelves/backend/test/unit/LotDeliveryTest.java | Java |
<|file_sep|>original/src/index.js
import { certificates, certificatesAsync } from './certificates';
import { sign, signAsync } from './sign';
import {
paramsForDetachedSignature,
paramsForDetachedSignatureAsync,
} from './params_for_detached_signature';
import { digestValue, digestValueAsync } from './digest_value'... | import { certificates, certificatesAsync } from './certificates';
import { sign, signAsync } from './sign';
import {
paramsForDetachedSignature,
paramsForDetachedSignatureAsync,
} from './params_for_detached_signature';
import { digestValue, digestValueAsync } from './digest_value';
import { cadesplugin } from './c... | <|file_sep|>original/src/index.js
import { certificates, certificatesAsync } from './certificates';
import { sign, signAsync } from './sign';
import {
paramsForDetachedSignature,
paramsForDetachedSignatureAsync,
} from './params_for_detached_signature';
import { digestValue, digestValueAsync } from './digest_value'... | 5e86a4ba2ebe27b0971d8cb1b569c27dbe3fba37 | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/tests/misc/print_exception.py
# has 4-space indent, so filter it out.
elif not l.startswith(" "):
print(l)
# basic exception message
try:
1/0
except Exception as e:
print('caught')
print_exc(e)
# exception message with more than 1 source-code line
def f(... |
# exception message with more than 1 source-code line
def f():
g()
def g():
2/0
try:
f()
except Exception as e:
print('caught')
print_exc(e)
# Here we have a function with lots of bytecode generated for a single source-line, and
# there is an error right at the end of the bytecode. It should repo... | <|file_sep|>original/tests/misc/print_exception.py
# has 4-space indent, so filter it out.
elif not l.startswith(" "):
print(l)
# basic exception message
try:
1/0
except Exception as e:
print('caught')
print_exc(e)
# exception message with more than 1 source-code line
def f(... | e08395a35c37fa7f7c0311cc4c7a71537b8b4227 | tests/misc/print_exception.py | tests/misc/print_exception.py | Python |
<|file_sep|>original/ci/tasks/create_release.yml
- |
version=v$(cat version/version)
tar --extract --file cf-cli/*.tgz
mv cliaas/cliaas-linux .
mv om/om-linux .
ln -s pcf-pipelines-release pcf-pipelines
tar \
--exclude .git* \
--exclude ci \
--exclude "*.go" \
--cre... | - |
version=v$(cat version/version)
tar --extract --file cf-cli/*.tgz
mv cliaas/cliaas-linux .
mv om/om-linux .
ln -s pcf-pipelines-release pcf-pipelines
tar \
--exclude .git* \
--exclude ci \
--exclude "*.go" \
--create \
--gzip \
--file pcf-pipelines-r... | <|file_sep|>original/ci/tasks/create_release.yml
- |
version=v$(cat version/version)
tar --extract --file cf-cli/*.tgz
mv cliaas/cliaas-linux .
mv om/om-linux .
ln -s pcf-pipelines-release pcf-pipelines
tar \
--exclude .git* \
--exclude ci \
--exclude "*.go" \
--cre... | 8c15d442f7877b3a160efb1e27008bb48d660d69 | ci/tasks/create_release.yml | ci/tasks/create_release.yml | YAML |
<|file_sep|>original/deploy.sh
#!/bin/bash
set -e # exit with nonzero exit code if anything fails
# check current branch
if [ 'master' != $TRAVIS_BRANCH ]; then
echo "Deploy only on master branch. Current branch: '$branch'.";
exit 0;
fi
# clear and re-create the dist directory
rm -rf dist || exit 0;
# Run ko... | #!/bin/bash
set -e # exit with nonzero exit code if anything fails
# check current branch
if [ 'master' != $TRAVIS_BRANCH ]; then
echo "Deploy only on master branch. Current branch: '$branch'.";
exit 0;
fi
# clear and re-create the dist directory
rm -rf dist || exit 0;
# Run kotlin application to generate va... | <|file_sep|>original/deploy.sh
#!/bin/bash
set -e # exit with nonzero exit code if anything fails
# check current branch
if [ 'master' != $TRAVIS_BRANCH ]; then
echo "Deploy only on master branch. Current branch: '$branch'.";
exit 0;
fi
# clear and re-create the dist directory
rm -rf dist || exit 0;
# Run ko... | 486922db3947f126f0dcd6674eda76779c2a81f5 | deploy.sh | deploy.sh | Shell |
<|file_sep|>original/src/bayes_table/core.cljs
(ns bayes-table.core)
(def model-ids [0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0])
(def models
(map #(hash-map :b-wins (- 1 %) :a-wins %) model-ids))
(def priors [0.0, 0.02, 0.03, 0.05, 0.10, 0.15, 0.20, 0.25, 0.15, 0.05, 0.0])
(defn likelihoods [data models]
(map ... | (def model-ids [0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0])
(def models
(map #(hash-map :b-wins (- 1 %) :a-wins %) model-ids))
(def priors [0.0, 0.02, 0.03, 0.05, 0.10, 0.15, 0.20, 0.25, 0.15, 0.05, 0.0])
(defn likelihoods [data models]
(map #(data %) models))
(defn posteriors
([data models priors]
(post... | <|file_sep|>original/src/bayes_table/core.cljs
(ns bayes-table.core)
(def model-ids [0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0])
(def models
(map #(hash-map :b-wins (- 1 %) :a-wins %) model-ids))
(def priors [0.0, 0.02, 0.03, 0.05, 0.10, 0.15, 0.20, 0.25, 0.15, 0.05, 0.0])
(defn likelihoods [data models]
(map ... | 5bbafe0992ef566320c2d84ea094c158248701e3 | src/bayes_table/core.cljs | src/bayes_table/core.cljs | Clojure |
<|file_sep|>src/git-vogue-cabal.hs.diff
original:
CmdCheck -> callProcess "cabal" ["check"]
updated:
CmdCheck -> run "cabal" ["check"]
<|file_sep|>original/src/git-vogue-cabal.hs
-- | Report details.
| CmdName
execute
:: Command
-> IO ()
execute cmd = case cmd of
CmdName -> putStrLn "cabal... | -- | Report details.
| CmdName
execute
:: Command
-> IO ()
execute cmd = case cmd of
CmdName -> putStrLn "cabal"
CmdCheck -> run "cabal" ["check"]
CmdFix -> exitFailure
where
run prog args = spawnProcess prog args >>= waitForProcess >>= exitWith
optionsParser :: Parser Command
opt... | <|file_sep|>src/git-vogue-cabal.hs.diff
original:
CmdCheck -> callProcess "cabal" ["check"]
updated:
CmdCheck -> run "cabal" ["check"]
<|file_sep|>original/src/git-vogue-cabal.hs
-- | Report details.
| CmdName
execute
:: Command
-> IO ()
execute cmd = case cmd of
CmdName -> putStrLn "cabal... | 6fe49fbccca19f3631dada419df2e6136f17bd6b | src/git-vogue-cabal.hs | src/git-vogue-cabal.hs | Haskell |
<|file_sep|>original/django_jumpstart_project/templates/admin/base_site.html
<|file_sep|>current/django_jumpstart_project/templates/admin/base_site.html
<|file_sep|>updated/django_jumpstart_project/templates/admin/base_site.html | {% extends "admin/base.html" %}
{% load i18n %}
{% block extrastyle %}
<link rel="icon" type="image/png" href="{{ STATIC_URL }}favicon.png">
<link href="{{ STATIC_URL }}common.css" media="screen" rel="stylesheet" type="text/css" />
<!-- for the admin autocomplete -->
<link href="{{ STATIC_URL }}jque... | <|file_sep|>original/django_jumpstart_project/templates/admin/base_site.html
<|file_sep|>current/django_jumpstart_project/templates/admin/base_site.html
<|file_sep|>updated/django_jumpstart_project/templates/admin/base_site.html
{% extends "admin/base.html" %}
{% load i18n %}
{% block extrastyle %}
<link rel="i... | 3f02a180fa35fb389859bfa67931349111ce25d6 | django_jumpstart_project/templates/admin/base_site.html | django_jumpstart_project/templates/admin/base_site.html | HTML |
<|file_sep|>original/wsgi/config.py
from os import getenv
bind = f'0.0.0.0:{getenv("PORT", "8000")}'
workers = getenv('WEB_CONCURRENCY', 2)
accesslog = '-'
errorlog = '-'
loglevel = getenv('LOGLEVEL', 'info')
# Larger keep-alive values maybe needed when directly talking to ELBs
# See https://github.com/benoitc/guni... |
from os import getenv
bind = f'0.0.0.0:{getenv("PORT", "8000")}'
workers = getenv('WEB_CONCURRENCY', 2)
accesslog = '-'
errorlog = '-'
loglevel = getenv('LOGLEVEL', 'info')
# Larger keep-alive values maybe needed when directly talking to ELBs
# See https://github.com/benoitc/gunicorn/issues/1194
keepalive = getenv(... | <|file_sep|>original/wsgi/config.py
from os import getenv
bind = f'0.0.0.0:{getenv("PORT", "8000")}'
workers = getenv('WEB_CONCURRENCY', 2)
accesslog = '-'
errorlog = '-'
loglevel = getenv('LOGLEVEL', 'info')
# Larger keep-alive values maybe needed when directly talking to ELBs
# See https://github.com/benoitc/guni... | 08d83f6999d8e5442acf8683bd8348baca386331 | wsgi/config.py | wsgi/config.py | Python |
<|file_sep|>original/test/data/vat-payment-deadlines-questions-and-responses.yml
<|file_sep|>current/test/data/vat-payment-deadlines-questions-and-responses.yml
<|file_sep|>updated/test/data/vat-payment-deadlines-questions-and-responses.yml | ---
:when_does_your_vat_accounting_period_end?:
- "TODO: When does your VAT accounting period end?"
:how_do_you_want_to_pay?:
- direct-debit
- online-telephone-banking
- online-debit-credit-card
- bacs-direct-credit
- bank-giro
- chaps
- cheque | <|file_sep|>original/test/data/vat-payment-deadlines-questions-and-responses.yml
<|file_sep|>current/test/data/vat-payment-deadlines-questions-and-responses.yml
<|file_sep|>updated/test/data/vat-payment-deadlines-questions-and-responses.yml
---
:when_does_your_vat_accounting_period_end?:
- "TODO: When does your VAT... | 8b1cd39f86eca75c3e917292c990ce959d38e2d4 | test/data/vat-payment-deadlines-questions-and-responses.yml | test/data/vat-payment-deadlines-questions-and-responses.yml | YAML |
<|file_sep|>original/_layouts/default.html
<!DOCTYPE html>
<html lang="en-us">
{% include head.html %}
<body>
{% include sidebar.html %}
<div class="content container">
{{ content }}
</div>
</body>
</html>
<|file_sep|>current/_layouts/default.html
<!DOCTYPE html>
<html lang="en-us">
{% i... | <!DOCTYPE html>
<html lang="en-us">
{% include head.html %}
<body class="theme-base-0d">
{% include sidebar.html %}
<div class="content container">
{{ content }}
</div>
</body>
</html> | <|file_sep|>original/_layouts/default.html
<!DOCTYPE html>
<html lang="en-us">
{% include head.html %}
<body>
{% include sidebar.html %}
<div class="content container">
{{ content }}
</div>
</body>
</html>
<|file_sep|>current/_layouts/default.html
<!DOCTYPE html>
<html lang="en-us">
{% i... | f8e979dcdfa96ab9c46d87e5e4f23dc34bca0024 | _layouts/default.html | _layouts/default.html | HTML |
<|file_sep|>test/models/support/FinderTemplateTest.java.diff
original:
searchParams.add("completionRate", 100, Matching.LT);
updated:
<|file_sep|>test/models/support/FinderTemplateTest.java.diff
original:
assertThat(p2MilestoneList.get(0).id).isEqualTo(4);
updated:
assertThat(p2MilestoneList.ge... | @Test
public void findBy() throws Exception {
OrderParams orderParams = new OrderParams();
SearchParams searchParams = new SearchParams();
orderParams.add("dueDate", Direction.ASC);
searchParams.add("project.id", 2l, Matching.EQUALS);
List<Milestone> p2MilestoneList = F... | <|file_sep|>test/models/support/FinderTemplateTest.java.diff
original:
searchParams.add("completionRate", 100, Matching.LT);
updated:
<|file_sep|>test/models/support/FinderTemplateTest.java.diff
original:
assertThat(p2MilestoneList.get(0).id).isEqualTo(4);
updated:
assertThat(p2MilestoneList.ge... | 50b1c3f538000833833b3dadd91e85ab714574a5 | test/models/support/FinderTemplateTest.java | test/models/support/FinderTemplateTest.java | Java |
<|file_sep|>original/Formula/bash-completion.rb
class BashCompletion <Formula
url 'http://bash-completion.alioth.debian.org/files/bash-completion-1.2.tar.bz2'
homepage 'http://bash-completion.alioth.debian.org/'
md5 '88c022a98a02a02293716f840eadd884'
head 'git://git.debian.org/git/bash-completion/bash-completi... |
class BashCompletion <Formula
url 'http://bash-completion.alioth.debian.org/files/bash-completion-1.2.tar.bz2'
homepage 'http://bash-completion.alioth.debian.org/'
md5 '88c022a98a02a02293716f840eadd884'
head 'git://git.debian.org/git/bash-completion/bash-completion.git'
def install
inreplace "bash_compl... | <|file_sep|>original/Formula/bash-completion.rb
class BashCompletion <Formula
url 'http://bash-completion.alioth.debian.org/files/bash-completion-1.2.tar.bz2'
homepage 'http://bash-completion.alioth.debian.org/'
md5 '88c022a98a02a02293716f840eadd884'
head 'git://git.debian.org/git/bash-completion/bash-completi... | 496d9dd3d1917119753f8620273daa648cd8547d | Formula/bash-completion.rb | Formula/bash-completion.rb | Ruby |
<|file_sep|>original/packages/chiffchaff-spawn/README.md
# chiffchaff-spawn
[](https://www.npmjs.com/package/chiffchaff-spawn) [](https://david-dm.org/zentrick/chiffchaff-spawn) [](https://www.npmjs.com/package/chiffchaff-spawn) [](https://david-dm.org/zentrick/chiffchaff-spawn) [](https://www.npmjs.com/package/chiffchaff-spawn) [](https://david-dm.org/zentrick/chiffchaff-spawn) [![Build ... | 8581a72111a3c718eea975d0b50f97c85f207939 | packages/chiffchaff-spawn/README.md | packages/chiffchaff-spawn/README.md | Markdown |
<|file_sep|>original/tasks.py
<|file_sep|>current/tasks.py
<|file_sep|>updated/tasks.py | import os
from invoke import task
@task
def docs(ctx, version=None):
targets = ["latest"]
if version:
targets.append(version)
for target in targets:
try:
os.makedirs("docs/{}".format(target))
except:
pass
ctx.run("python -m robot.libdoc -f html src/S... | <|file_sep|>original/tasks.py
<|file_sep|>current/tasks.py
<|file_sep|>updated/tasks.py
import os
from invoke import task
@task
def docs(ctx, version=None):
targets = ["latest"]
if version:
targets.append(version)
for target in targets:
try:
os.makedirs("docs/{}".format(targe... | 0e2e6865c1ad7fb0a74ae673c405d1c6b4ef1b36 | tasks.py | tasks.py | Python |
<|file_sep|>original/bin/add_markers.sh
#!/bin/bash
for var in "$@"; do
echo "Delete up to first occurrence of <page>"
sed -n '/<page>/,$p' $var > $var.tmp1
echo "Add markers in between"
awk '/<\/page>/{print;print "<MARKER />";next}1' $var.tmp1 > $var.tmp2
echo "Remove last two lines"
head -n -2 $var.tmp2 > $va... | #!/bin/bash
for var in "$@"; do
echo "Delete up to first occurrence of <page>"
sed -n '/<page>/,$p' $var > $var.tmp1
echo "Add markers in between"
awk '/<\/page>/{print;print "<MARKER />";next}1' $var.tmp1 > $var.tmp2
echo "Remove last two lines"
head -n -2 $var.tmp2 > $var.tmp3
rm $var.tmp1 $var.tmp2
mv $var.... | <|file_sep|>original/bin/add_markers.sh
#!/bin/bash
for var in "$@"; do
echo "Delete up to first occurrence of <page>"
sed -n '/<page>/,$p' $var > $var.tmp1
echo "Add markers in between"
awk '/<\/page>/{print;print "<MARKER />";next}1' $var.tmp1 > $var.tmp2
echo "Remove last two lines"
head -n -2 $var.tmp2 > $va... | d0eedfb5688546d1176575af9408fa9c27fc88b6 | bin/add_markers.sh | bin/add_markers.sh | Shell |
<|file_sep|>original/main.yml
---
- hosts: localhost
# - hosts: SystemPushInstall
roles:
- network-manager
- system
- nginx
- samba
- kawax
<|file_sep|>current/main.yml
---
- hosts: localhost
# - hosts: SystemPushInstall
roles:
- network-manager
- system
- nginx
- samba
- k... | ---
- hosts: localhost
# - hosts: SystemPushInstall
roles:
- network-manager
- system
- nginx
- samba
- kawax
post_tasks:
- name: Set back rights on /srv/
file: path=/srv/ state=directory owner=nobody group=nogroup recurse=yes | <|file_sep|>original/main.yml
---
- hosts: localhost
# - hosts: SystemPushInstall
roles:
- network-manager
- system
- nginx
- samba
- kawax
<|file_sep|>current/main.yml
---
- hosts: localhost
# - hosts: SystemPushInstall
roles:
- network-manager
- system
- nginx
- samba
- k... | b3c95a147f920426f2a494af990dd986908afff3 | main.yml | main.yml | YAML |
<|file_sep|>original/library/src/main/res/values/attrs.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="tabView" format="reference"/>
<attr name="iconWidth" format="dimension"/>
<attr name="iconHeight" format="dimension"/>
<declare-styleable name="TabView">
<attr name="tabView... | <?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="tabView" format="reference"/>
<attr name="iconWidth" format="dimension"/>
<attr name="iconHeight" format="dimension"/>
<declare-styleable name="TabView">
<attr name="iconWidth"/>
<attr name="iconHeight"/>
</declare-style... | <|file_sep|>original/library/src/main/res/values/attrs.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="tabView" format="reference"/>
<attr name="iconWidth" format="dimension"/>
<attr name="iconHeight" format="dimension"/>
<declare-styleable name="TabView">
<attr name="tabView... | 04dbe802e34ca880ade4c0f633ffcd66ce949d6f | library/src/main/res/values/attrs.xml | library/src/main/res/values/attrs.xml | XML |
<|file_sep|>original/.travis.yml
language: go
# Versions of go that are explicitly supported.
go:
- 1.4.3
- 1.5.4
- 1.6.3
- 1.7.1
- tip
# Required for coverage.
before_install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go build -a -v ./...
- diff <(gofmt -d .) <(""... | language: go
# Versions of go that are explicitly supported.
go:
- 1.4.3
- 1.5.4
- 1.6.3
- 1.7.1
- tip
# Required for coverage.
before_install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go build -a -v ./...
- diff <(gofmt -d .) <("")
- go test -v -covermode=count ... | <|file_sep|>original/.travis.yml
language: go
# Versions of go that are explicitly supported.
go:
- 1.4.3
- 1.5.4
- 1.6.3
- 1.7.1
- tip
# Required for coverage.
before_install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go build -a -v ./...
- diff <(gofmt -d .) <(""... | 007da69cfc68698dec1140eb3d9cc6dfcb398734 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Backend/Modules/ContentBlocks/Layout/Templates/Index.html.twig
<div class="btn-group" role="group">
{{ macro.buttonIcon( geturl('add'), 'plus-square', 'lbl.Add'|trans|ucfirst) }}
</div>
</div>
{% endif %}
{% endblock %}
{% block content %}
<div class="row fork-modul... | {% extends '/Layout/Templates/base.html.twig' %}
{% block actionbar %}
{% if showContentBlocksAdd %}
<div class="btn-toolbar pull-right">
<div class="btn-group" role="group">
{{ macro.buttonIcon( geturl('add'), 'plus-square', 'lbl.Add'|trans|ucfirst) }}
</div>
</div>
{% endif %}
{% endb... | <|file_sep|>original/src/Backend/Modules/ContentBlocks/Layout/Templates/Index.html.twig
<div class="btn-group" role="group">
{{ macro.buttonIcon( geturl('add'), 'plus-square', 'lbl.Add'|trans|ucfirst) }}
</div>
</div>
{% endif %}
{% endblock %}
{% block content %}
<div class="row fork-modul... | b63de60e09ea0378c47b7c5f7edd285fef9b2d83 | src/Backend/Modules/ContentBlocks/Layout/Templates/Index.html.twig | src/Backend/Modules/ContentBlocks/Layout/Templates/Index.html.twig | Twig |
<|file_sep|>original/lib/bench_press/runnable.rb
@code_block = block
end
def fastest?
fastest == true
end
def run
r,w = IO.pipe
fork do
run_it
time = Benchmark.realtime do
run_it
end
w.write time
w.close_write
exit!
... | @code_block = block
end
def fastest?
fastest == true
end
def run
r,w = IO.pipe
fork do
GC.disable
run_it
time = Benchmark.realtime do
run_it
end
w.write time
w.close_write
exit!
end
Process.waitall
... | <|file_sep|>original/lib/bench_press/runnable.rb
@code_block = block
end
def fastest?
fastest == true
end
def run
r,w = IO.pipe
fork do
run_it
time = Benchmark.realtime do
run_it
end
w.write time
w.close_write
exit!
... | 44a6ef216fa91d04a5f10f00e26b8e35ede67ac8 | lib/bench_press/runnable.rb | lib/bench_press/runnable.rb | Ruby |
<|file_sep|>original/gradle-release-plugin/gradle.properties
group=be.xvrt
name=release-plugin
version=0.4.3
description=Automatically prepares and increments the version number before and after making a release. Commits and tags releases as well.
bintrayUser=xaviert
bintrayApiKey=
bintrayRepo=gradle-plugins
<|file_se... | group=be.xvrt
name=release-plugin
version=0.4.5-SNAPSHOT
description=Automatically prepares and increments the version number before and after making a release. Commits and tags releases as well.
bintrayUser=xaviert
bintrayApiKey=
bintrayRepo=gradle-plugins | <|file_sep|>original/gradle-release-plugin/gradle.properties
group=be.xvrt
name=release-plugin
version=0.4.3
description=Automatically prepares and increments the version number before and after making a release. Commits and tags releases as well.
bintrayUser=xaviert
bintrayApiKey=
bintrayRepo=gradle-plugins
<|file_se... | 3a05d0c7b5a692cde2d95aa88ce6482c68dbfdb5 | gradle-release-plugin/gradle.properties | gradle-release-plugin/gradle.properties | INI |
<|file_sep|>examples/my_projects.rb.diff
original:
config.email = 'your-kickstarter-email-address@domain.com'
config.password = 'This is not my real password. Seriously.'
updated:
config.email = 'your-kickstarter-email-address@domain.com'
config.password = 'This is not my real password. Seriously.'
<|file_sep... | require 'kickscraper'
p "configuring.."
Kickscraper.configure do |config|
config.email = 'your-kickstarter-email-address@domain.com'
config.password = 'This is not my real password. Seriously.'
end
p "logging in.."
c = Kickscraper.client
p "got access token #{Kickscraper.token.gsub(/\w{30}$/, "X" * 30)}"
puts... | <|file_sep|>examples/my_projects.rb.diff
original:
config.email = 'your-kickstarter-email-address@domain.com'
config.password = 'This is not my real password. Seriously.'
updated:
config.email = 'your-kickstarter-email-address@domain.com'
config.password = 'This is not my real password. Seriously.'
<|file_sep... | cb496dbcb0ad6c32e435e95ac460579dd1a376eb | examples/my_projects.rb | examples/my_projects.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.