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|>README.md.diff
original:
### [View the Rustdoc](http://bsago.me/doc/ansi_term/)
updated:
### [View the Rustdoc](http://bsago.me/doc/locale/)
<|file_sep|>README.md.diff
original:
depend on this library by adding this Git repository to your Cargo
dependencies:
updated:
depend on this library by adding `locale... | # rust-locale [](https://travis-ci.org/ogham/rust-locale)
### [View the Rustdoc](http://bsago.me/doc/locale/)
## Installation
It uses [Cargo](http://crates.io/), Rust's package manager. You can
depend on this library by adding `locale` to your... | <|file_sep|>README.md.diff
original:
### [View the Rustdoc](http://bsago.me/doc/ansi_term/)
updated:
### [View the Rustdoc](http://bsago.me/doc/locale/)
<|file_sep|>README.md.diff
original:
depend on this library by adding this Git repository to your Cargo
dependencies:
updated:
depend on this library by adding `locale... | 7f06f57c1311449c471c10155795483f97d1a08f | README.md | README.md | Markdown |
<|file_sep|>metadata/com.sputnik.wispr.txt.diff
original:
updated:
Auto Name:FON Access
<|file_sep|>original/metadata/com.sputnik.wispr.txt
Issue Tracker:https://code.google.com/p/androidwisprclient/issues
Summary:Auto connect to FON network
Description:
The FON network is made up of routers that share their internet... | Auto Name:FON Access
Summary:Auto connect to FON network
Description:
The FON network is made up of routers that share their internet access with
guests in return for access to other FON access points.
This app authenticates with a username and password using WISPr and supports
routers managed by FON and partners.
.
R... | <|file_sep|>metadata/com.sputnik.wispr.txt.diff
original:
updated:
Auto Name:FON Access
<|file_sep|>original/metadata/com.sputnik.wispr.txt
Issue Tracker:https://code.google.com/p/androidwisprclient/issues
Summary:Auto connect to FON network
Description:
The FON network is made up of routers that share their internet... | c9bd95fe47bbb9a34292ed8ff23400f48da3aa1a | metadata/com.sputnik.wispr.txt | metadata/com.sputnik.wispr.txt | Text |
<|file_sep|>original/setup.py
author='Lars Yencken',
author_email='lars@yencken.org',
url='http://github.com/larsyencken/anytop',
entry_points={
'console_scripts': [
'anytop = anytop.top:main',
'anyhist = anytop.histogram:main',
],
},
packages=['anytop'],
... | entry_points={
'console_scripts': [
'anytop = anytop.top:main',
'anyhist = anytop.histogram:main',
],
},
packages=['anytop'],
license='ISC',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Licens... | <|file_sep|>original/setup.py
author='Lars Yencken',
author_email='lars@yencken.org',
url='http://github.com/larsyencken/anytop',
entry_points={
'console_scripts': [
'anytop = anytop.top:main',
'anyhist = anytop.histogram:main',
],
},
packages=['anytop'],
... | 740f29abddc9ab05b5a395b8b69a54cae5ace0bf | setup.py | setup.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
cache: bundler
sudo: false
rvm:
- 2.6.0-rc2
- 2.5.3
- 2.4.5
- 2.3.8
gemfile:
- gemfiles/rails_5.0.7.gemfile
- gemfiles/rails_5.1.6.gemfile
- gemfiles/rails_5.2.2.gemfile
before_install:
- gem update --system
- gem install bundler --no-document
after_succ... | language: ruby
cache: bundler
sudo: false
rvm:
- 2.6.0
- 2.5.3
- 2.4.5
- 2.3.8
gemfile:
- gemfiles/rails_5.0.7.gemfile
- gemfiles/rails_5.1.6.gemfile
- gemfiles/rails_5.2.2.gemfile
before_install:
- gem update --system
- gem install bundler --no-document
after_success:
- bundle exec codeclimate-test... | <|file_sep|>original/.travis.yml
language: ruby
cache: bundler
sudo: false
rvm:
- 2.6.0-rc2
- 2.5.3
- 2.4.5
- 2.3.8
gemfile:
- gemfiles/rails_5.0.7.gemfile
- gemfiles/rails_5.1.6.gemfile
- gemfiles/rails_5.2.2.gemfile
before_install:
- gem update --system
- gem install bundler --no-document
after_succ... | 570816e264a61756420271228ec59e5ae937d28e | .travis.yml | .travis.yml | YAML |
<|file_sep|>.kitchen.yml.diff
original:
image: dynatrace/centos-testing:6
updated:
provision_command:
- yum update -y
- yum install -y net-tools tar
<|file_sep|>.kitchen.yml.diff
original:
image: dynatrace/debian-testing:7.8
updated:
provision_command:
- apt-get update
... | name: docker
platforms:
- name: centos-6
driver_config:
provision_command:
- yum update -y
- yum install -y net-tools tar
- name: debian-7.8
driver_config:
provision_command:
- apt-get update
- apt-get install -y net-tools tar
- name: ubuntu-12.04
driver_... | <|file_sep|>.kitchen.yml.diff
original:
image: dynatrace/centos-testing:6
updated:
provision_command:
- yum update -y
- yum install -y net-tools tar
<|file_sep|>.kitchen.yml.diff
original:
image: dynatrace/debian-testing:7.8
updated:
provision_command:
- apt-get update
... | e55db0668bff9a8d5834e702ce6eaa50c407634e | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/src/Backend/Modules/Faq/Actions/DeleteFeedback.php
$deleteForm->handleRequest($this->getRequest());
if (!$deleteForm->isSubmitted() || !$deleteForm->isValid()) {
$this->redirect(BackendModel::createURLForAction('Index') . '&error=something-went-wrong');
}
... | $deleteForm->handleRequest($this->getRequest());
if (!$deleteForm->isSubmitted() || !$deleteForm->isValid()) {
$this->redirect(BackendModel::createURLForAction('Index') . '&error=something-went-wrong');
}
$deleteFormData = $deleteForm->getData();
$feedbackId = $delet... | <|file_sep|>original/src/Backend/Modules/Faq/Actions/DeleteFeedback.php
$deleteForm->handleRequest($this->getRequest());
if (!$deleteForm->isSubmitted() || !$deleteForm->isValid()) {
$this->redirect(BackendModel::createURLForAction('Index') . '&error=something-went-wrong');
}
... | acd69d86c651191222248ebdfb88f376714e770e | src/Backend/Modules/Faq/Actions/DeleteFeedback.php | src/Backend/Modules/Faq/Actions/DeleteFeedback.php | PHP |
<|file_sep|>CMakeLists.txt.diff
original:
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
updated:
CMAKE_MINIMUM_REQUIRED(VERSION 3.2)
<|file_sep|>original/CMakeLists.txt
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT("console")
# or better "cmake -DCMAKE_BUILD_TYPE=Debug .."
set(CMAKE_BUILD_TYPE Debug)
ADD_DEFINITIONS("-std=c++14 ... | CMAKE_MINIMUM_REQUIRED(VERSION 3.2)
PROJECT("console")
# or better "cmake -DCMAKE_BUILD_TYPE=Debug .."
set(CMAKE_BUILD_TYPE Debug)
#ADD_DEFINITIONS("-std=c++14 -Wall")
set (CMAKE_CXX_STANDARD 14)
ADD_EXECUTABLE (console
main.cpp
console.cpp
) | <|file_sep|>CMakeLists.txt.diff
original:
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
updated:
CMAKE_MINIMUM_REQUIRED(VERSION 3.2)
<|file_sep|>original/CMakeLists.txt
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT("console")
# or better "cmake -DCMAKE_BUILD_TYPE=Debug .."
set(CMAKE_BUILD_TYPE Debug)
ADD_DEFINITIONS("-std=c++14 ... | 29707ed44623d6d5dbff5cb99d2eb37168a66038 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>_includes/social_meta.html.diff
original:
<meta name="og:title" property="og:title" content="{{ site.title }}">
<meta name="og:description" property="og:description" content="{{ site.description }}">
<meta name="og:image" property="og:image" content="/assets/images/core/og-image.png" />
<meta name="og:url" ... | <meta name="og:type" property="og:type" content="website">
<meta name="og:title" property="og:title" content="{% if page.title %}{{ page.title | escape }} - {% endif %}{{ site.title | escape }}">
<meta name="og:description" property="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | truncatew... | <|file_sep|>_includes/social_meta.html.diff
original:
<meta name="og:title" property="og:title" content="{{ site.title }}">
<meta name="og:description" property="og:description" content="{{ site.description }}">
<meta name="og:image" property="og:image" content="/assets/images/core/og-image.png" />
<meta name="og:url" ... | f99e584e5db666378c22404752f56ac9bef867bf | _includes/social_meta.html | _includes/social_meta.html | HTML |
<|file_sep|>src/Divider.h.diff
original:
updated:
reset();
<|file_sep|>src/Divider.h.diff
original:
this->interval = interval;
clockCounter = interval - 1;
updated:
if (interval < 1) {
resetValue = 0;
}
else {
resetValue = interval - 1;
}
}
void reset() {
clockCounter = resetValue;
<|file_sep... | void reset() {
clockCounter = resetValue;
}
void tick() {
if (clockCounter == 0) {
clockCounter = resetValue;
}
else {
--clockCounter;
}
}
bool hasClocked() {
return clockCounter == resetValue;
}
private:
int resetValue;
int clockCounter;
};
#endif | <|file_sep|>src/Divider.h.diff
original:
updated:
reset();
<|file_sep|>src/Divider.h.diff
original:
this->interval = interval;
clockCounter = interval - 1;
updated:
if (interval < 1) {
resetValue = 0;
}
else {
resetValue = interval - 1;
}
}
void reset() {
clockCounter = resetValue;
<|file_sep... | 2b803a4d6e2f425633eabf2a364ffd9972a1b3d0 | src/Divider.h | src/Divider.h | C |
<|file_sep|>original/.eslintrc.json
"globals": {
"config": true,
"Log": true,
"MM": true,
"Module": true,
"moment": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017,
"ecmaFeatures": {
"globalReturn": true
}
},
"rules": {
"prettier/prettier": "error",
"eqeqeq": "error"... | "config": true,
"Log": true,
"MM": true,
"Module": true,
"moment": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017,
"ecmaFeatures": {
"globalReturn": true
}
},
"rules": {
"prettier/prettier": "error",
"eqeqeq": "error",
"no-prototype-builtins": "off",
"no-var": "e... | <|file_sep|>original/.eslintrc.json
"globals": {
"config": true,
"Log": true,
"MM": true,
"Module": true,
"moment": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017,
"ecmaFeatures": {
"globalReturn": true
}
},
"rules": {
"prettier/prettier": "error",
"eqeqeq": "error"... | 399dca2ef928761a9c94c16ba1849fd839532c46 | .eslintrc.json | .eslintrc.json | JSON |
<|file_sep|>original/annotation-rest/src/test/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/ontology/transformer/completablevalue/OntologyNameInjectorTest.java
<|file_sep|>current/annotation-rest/src/test/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/ontology/transformer/completablevalue/OntologyNameInject... | package uk.ac.ebi.quickgo.annotation.service.comm.rest.ontology.transformer.completablevalue;
import uk.ac.ebi.quickgo.annotation.service.comm.rest.ontology.model.BasicOntology;
import uk.ac.ebi.quickgo.rest.model.CompletableValue;
import uk.ac.ebi.quickgo.rest.search.request.FilterRequest;
import uk.ac.ebi.quickgo.re... | <|file_sep|>original/annotation-rest/src/test/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/ontology/transformer/completablevalue/OntologyNameInjectorTest.java
<|file_sep|>current/annotation-rest/src/test/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/ontology/transformer/completablevalue/OntologyNameInject... | a07f438bed6a1ab26e0ec1bbc160f2600a35e55c | annotation-rest/src/test/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/ontology/transformer/completablevalue/OntologyNameInjectorTest.java | annotation-rest/src/test/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/ontology/transformer/completablevalue/OntologyNameInjectorTest.java | Java |
<|file_sep|>original/test/blackbox-tests/test-cases/inline_tests/run.t
$ $JBUILDER runtest simple -j1 --display quiet --root .
run alias simple/runtest (exit 2)
(cd _build/default/simple && ./.foo_simple.inline-tests/run.exe)
Fatal error: exception File "simple/.foo_simple.inline-tests/run.ml", line 1,... | $ env -u OCAMLRUNPARAM $JBUILDER runtest simple -j1 --display quiet --root .
run alias simple/runtest (exit 2)
(cd _build/default/simple && ./.foo_simple.inline-tests/run.exe)
Fatal error: exception File "simple/.foo_simple.inline-tests/run.ml", line 1, characters 10-16: Assertion failed
[1]
$ $JB... | <|file_sep|>original/test/blackbox-tests/test-cases/inline_tests/run.t
$ $JBUILDER runtest simple -j1 --display quiet --root .
run alias simple/runtest (exit 2)
(cd _build/default/simple && ./.foo_simple.inline-tests/run.exe)
Fatal error: exception File "simple/.foo_simple.inline-tests/run.ml", line 1,... | 8fd3335ee86bbce431996637db5bf58cc3ea9749 | test/blackbox-tests/test-cases/inline_tests/run.t | test/blackbox-tests/test-cases/inline_tests/run.t | Perl |
<|file_sep|>.travis.yml.diff
original:
- 2.2.7
- 2.3.4
- 2.4.1
- rbx-3.75
- jruby-9.1.5.0
- jruby-head
updated:
- 2.5.3
- 2.6.0
<|file_sep|>original/.travis.yml
notifications:
email:
on_success: never
on_failure: change
language: ruby
dist: trusty
bundler_args: --without debug release
before_i... | notifications:
email:
on_success: never
on_failure: change
language: ruby
dist: trusty
bundler_args: --without debug release
before_install:
- ruby -v | (grep -v "rubinius" && gem install bundler) || echo 0
rvm:
- 2.5.3
- 2.6.0
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head | <|file_sep|>.travis.yml.diff
original:
- 2.2.7
- 2.3.4
- 2.4.1
- rbx-3.75
- jruby-9.1.5.0
- jruby-head
updated:
- 2.5.3
- 2.6.0
<|file_sep|>original/.travis.yml
notifications:
email:
on_success: never
on_failure: change
language: ruby
dist: trusty
bundler_args: --without debug release
before_i... | 31e3c247fc70766971d911eb15c9c64590eea733 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/bin/requirements.txt
google-api-core==2.2.1
google-api-python-client==2.28.0
google-auth==2.3.2
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.4.6
googleapis-common-protos==1.53.0
httplib2==0.20.1
idna==3.3
oauth2client==4.1.3
oauthlib==3.1.1
packaging==21.0
protobuf==3.19.1
pyasn1==0.4.8
pyas... | google-api-core==2.2.1
google-api-python-client==2.28.0
google-auth==2.3.2
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.4.6
googleapis-common-protos==1.53.0
httplib2==0.20.1
idna==3.3
oauth2client==4.1.3
oauthlib==3.1.1
packaging==21.2
protobuf==3.19.1
pyasn1==0.4.8
pyasn1-modules==0.2.8
pyparsing==2.4.7
python-... | <|file_sep|>original/bin/requirements.txt
google-api-core==2.2.1
google-api-python-client==2.28.0
google-auth==2.3.2
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.4.6
googleapis-common-protos==1.53.0
httplib2==0.20.1
idna==3.3
oauth2client==4.1.3
oauthlib==3.1.1
packaging==21.0
protobuf==3.19.1
pyasn1==0.4.8
pyas... | e30dc4495acc929520e1a98c5db16dfda51f445c | bin/requirements.txt | bin/requirements.txt | Text |
<|file_sep|>original/regtests/wiki-filters-html-tests.adb
<|file_sep|>current/regtests/wiki-filters-html-tests.adb
<|file_sep|>updated/regtests/wiki-filters-html-tests.adb | -----------------------------------------------------------------------
-- wiki-filters-html-tests -- Unit tests for wiki HTML filters
-- Copyright (C) 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... | <|file_sep|>original/regtests/wiki-filters-html-tests.adb
<|file_sep|>current/regtests/wiki-filters-html-tests.adb
<|file_sep|>updated/regtests/wiki-filters-html-tests.adb
-----------------------------------------------------------------------
-- wiki-filters-html-tests -- Unit tests for wiki HTML filters
-- Copyri... | 95e4c6bf2d8ed371b3d4c7d0c10c323373f9fe75 | regtests/wiki-filters-html-tests.adb | regtests/wiki-filters-html-tests.adb | Ada |
<|file_sep|>original/composer.json
"homepage": "http://github.com/gcds",
"license": "MIT",
"authors": [
{
"name": "Aurimas Niekis",
"email": "aurimas.niekis@gmail.com"
}
],
"require": {
"php": ">=5.4",
"epwt/psr-cache": "1.0.0",
"epwt/utils": "~1.0"
},
"suggest": {
"ext... | "homepage": "http://github.com/gcds",
"license": "MIT",
"authors": [
{
"name": "Aurimas Niekis",
"email": "aurimas.niekis@gmail.com"
}
],
"require": {
"php": ">=5.4",
"psr/cache": "~1.0",
"epwt/utils": "~1.0"
},
"suggest": {
"ext-redis": "Faster Redis implementation",
... | <|file_sep|>original/composer.json
"homepage": "http://github.com/gcds",
"license": "MIT",
"authors": [
{
"name": "Aurimas Niekis",
"email": "aurimas.niekis@gmail.com"
}
],
"require": {
"php": ">=5.4",
"epwt/psr-cache": "1.0.0",
"epwt/utils": "~1.0"
},
"suggest": {
"ext... | f2599904569e6d7b81d7114a8165aa3f4b5b3572 | composer.json | composer.json | JSON |
<|file_sep|>original/requirements.txt
# Requirements for running the bare pipeline under Kive or BaseSpace
pytz==2019.3
git+https://github.com/cfe-lab/iva.git@v1.1.1
biopython==1.76
git+https://github.com/cfe-lab/MiCall.git@v7.7.0#egg=gotoh&subdirectory=micall/alignment
git+https://github.com/cfe-lab/pyvdrm.git@v0.3.1
... | # Requirements for running the bare pipeline under Kive or BaseSpace
pytz==2019.3
git+https://github.com/cfe-lab/iva.git@v1.1.1
biopython==1.76
git+https://github.com/cfe-lab/MiCall.git@v7.7.0#egg=gotoh&subdirectory=micall/alignment
git+https://github.com/cfe-lab/pyvdrm.git@v0.3.1
numpy==1.18.0
scipy<1.5 # Newer versi... | <|file_sep|>original/requirements.txt
# Requirements for running the bare pipeline under Kive or BaseSpace
pytz==2019.3
git+https://github.com/cfe-lab/iva.git@v1.1.1
biopython==1.76
git+https://github.com/cfe-lab/MiCall.git@v7.7.0#egg=gotoh&subdirectory=micall/alignment
git+https://github.com/cfe-lab/pyvdrm.git@v0.3.1
... | cafff769aca32605fae790e4ba322a8405e29fac | requirements.txt | requirements.txt | Text |
<|file_sep|>features/admin/search_for_user.feature.diff
original:
Scenario Outline: Correct users can search for users by email address
updated:
Scenario Outline: Admins can search for users by email address
<|file_sep|>features/admin/search_for_user.feature.diff
original:
And I am logged in as the existing <role> us... | @admin @search-for-users
Feature: Search for users
Scenario Outline: Admins can search for users by email address
Given I have a buyer user with:
| email_address | user-one-findme@example.gov.uk |
| name | DM Functional Test Search User 1 |
And I am logged in as the existing admin user
And I c... | <|file_sep|>features/admin/search_for_user.feature.diff
original:
Scenario Outline: Correct users can search for users by email address
updated:
Scenario Outline: Admins can search for users by email address
<|file_sep|>features/admin/search_for_user.feature.diff
original:
And I am logged in as the existing <role> us... | ac5f7fa85ed9d6953cb55f44c235daf0c5438121 | features/admin/search_for_user.feature | features/admin/search_for_user.feature | Cucumber |
<|file_sep|>original/.forestry/front_matter/templates/you-re-up-and-running.yml
<|file_sep|>current/.forestry/front_matter/templates/you-re-up-and-running.yml
<|file_sep|>updated/.forestry/front_matter/templates/you-re-up-and-running.yml | ---
hide_body: false
fields:
- name: layout
label: Layout
type: text
hidden: false
default: ''
- name: title
label: Title
type: text
hidden: false
default: ''
- name: date
label: Date
type: datetime
hidden: false
default: '' | <|file_sep|>original/.forestry/front_matter/templates/you-re-up-and-running.yml
<|file_sep|>current/.forestry/front_matter/templates/you-re-up-and-running.yml
<|file_sep|>updated/.forestry/front_matter/templates/you-re-up-and-running.yml
---
hide_body: false
fields:
- name: layout
label: Layout
type: text
hidde... | 1273327b98b3956a6b3570cc6b0c68067feeaa48 | .forestry/front_matter/templates/you-re-up-and-running.yml | .forestry/front_matter/templates/you-re-up-and-running.yml | YAML |
<|file_sep|>Envoy.blade.php.diff
original:
updated:
cp .env.docker .env
sed -i 's/=local/=prod/' .env
touch database/database.sqlite
<|file_sep|>original/Envoy.blade.php
@servers(['web' => 'root@162.243.246.75'])
@task('deploy', ['on' => 'web'])
cd /var/www/nestor-qa/public_html
git fetch --all
... | @servers(['web' => 'root@162.243.246.75'])
@task('deploy', ['on' => 'web'])
cd /var/www/nestor-qa/public_html
git fetch --all
git reset --hard origin/master
git pull origin master
cp .env.docker .env
sed -i 's/=local/=prod/' .env
touch database/database.sqlite
composer dump-autoload
... | <|file_sep|>Envoy.blade.php.diff
original:
updated:
cp .env.docker .env
sed -i 's/=local/=prod/' .env
touch database/database.sqlite
<|file_sep|>original/Envoy.blade.php
@servers(['web' => 'root@162.243.246.75'])
@task('deploy', ['on' => 'web'])
cd /var/www/nestor-qa/public_html
git fetch --all
... | f794b60f6d32b4d3205b23e3ebeef355906ea6bb | Envoy.blade.php | Envoy.blade.php | PHP |
<|file_sep|>original/README.md
# Cal HeatMap [](https://travis-ci.org/kamisama/cal-heatmap)
> Cal-Heatmap is a module to create calendar heat map to visualise time data series a la github contribution graph, with d3.js
This module will help ... | # Cal HeatMap [](https://travis-ci.org/kamisama/cal-heatmap)
> Cal-Heatmap is a module to create calendar heat map to visualise time data series a la github contribution graph, with d3.js
This module will help you to create a calendar graph,... | <|file_sep|>original/README.md
# Cal HeatMap [](https://travis-ci.org/kamisama/cal-heatmap)
> Cal-Heatmap is a module to create calendar heat map to visualise time data series a la github contribution graph, with d3.js
This module will help ... | 72845d9af1ff8a352dc220886257bdc5b6c4e55b | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- "pip install pytest"
updated:
- "pip install pytest pytest-cov"
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update -qq
- sudo apt-get install -y li... | language: python
python:
- "2.7"
- "3.3"
- "3.4"
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update -qq
- sudo apt-get install -y libgdal1h gdal-bin libgdal-dev
install:
- pip install --install-option="--no-cython-compile" cython
- "pip install -r requirements-dev.txt"
... | <|file_sep|>.travis.yml.diff
original:
- "pip install pytest"
updated:
- "pip install pytest pytest-cov"
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update -qq
- sudo apt-get install -y li... | ecadf78b5ca0524bf6240b08850c51abe841f202 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/PhpParser/Node/Expr/BinaryOp.php
<?php
namespace PhpParser\Node\Expr;
use PhpParser\Node\Expr;
/**
* @property Expr $left The left hand side expression
* @property Expr $right The right hand side expression
*/
class BinaryOp extends Expr
{
/**
* Constructs a bitwise and node.
... | <?php
namespace PhpParser\Node\Expr;
use PhpParser\Node\Expr;
/**
* @property Expr $left The left hand side expression
* @property Expr $right The right hand side expression
*/
abstract class BinaryOp extends Expr
{
/**
* Constructs a bitwise and node.
*
* @param Expr $left The left han... | <|file_sep|>original/lib/PhpParser/Node/Expr/BinaryOp.php
<?php
namespace PhpParser\Node\Expr;
use PhpParser\Node\Expr;
/**
* @property Expr $left The left hand side expression
* @property Expr $right The right hand side expression
*/
class BinaryOp extends Expr
{
/**
* Constructs a bitwise and node.
... | a710f32a6afdf0dc4d7aa6f3adf205cd9c228aa0 | lib/PhpParser/Node/Expr/BinaryOp.php | lib/PhpParser/Node/Expr/BinaryOp.php | PHP |
<|file_sep|>original/JumuNordost/Application/ContentListHeaderView.swift
// JumuNordost
//
// Created by Martin Richter on 02/03/16.
// Copyright © 2016 Martin Richter. All rights reserved.
//
import Cartography
class ContestListHeaderView: UIView {
private let textLabel = Label(fontWeight: .Regular, fontStyl... | // JumuNordost
//
// Created by Martin Richter on 02/03/16.
// Copyright © 2016 Martin Richter. All rights reserved.
//
import Cartography
class ContestListHeaderView: UIView {
private let textLabel = Label(fontWeight: .Regular, fontStyle: .Italic, fontSize: .Medium)
// MARK: - Lifecycle
convenience... | <|file_sep|>original/JumuNordost/Application/ContentListHeaderView.swift
// JumuNordost
//
// Created by Martin Richter on 02/03/16.
// Copyright © 2016 Martin Richter. All rights reserved.
//
import Cartography
class ContestListHeaderView: UIView {
private let textLabel = Label(fontWeight: .Regular, fontStyl... | cce193468628d59cfb5d9bd65b54153ee70b35ac | JumuNordost/Application/ContentListHeaderView.swift | JumuNordost/Application/ContentListHeaderView.swift | Swift |
<|file_sep|>original/buildout.cfg
develop =
.
example/plone.example
[server]
recipe = zc.recipe.egg
eggs =
plone.server
plone.example
[sources]
plone.dexterity = git https://github.com/pyrenees/plone.dexterity pushurl=git@github.com:pyrenees/plone.dexterity.git branch=barcelona/dexterity
plone.registry = git ht... | develop =
.
example/plone.example
[server]
recipe = zc.recipe.egg
eggs =
plone.server
plone.example
[sources]
plone.dexterity = git https://github.com/pyrenees/plone.dexterity pushurl=git@github.com:pyrenees/plone.dexterity.git branch=master
plone.registry = git https://github.com/pyrenees/plone.registry pushur... | <|file_sep|>original/buildout.cfg
develop =
.
example/plone.example
[server]
recipe = zc.recipe.egg
eggs =
plone.server
plone.example
[sources]
plone.dexterity = git https://github.com/pyrenees/plone.dexterity pushurl=git@github.com:pyrenees/plone.dexterity.git branch=barcelona/dexterity
plone.registry = git ht... | 11443df8d96bd382a3c2bac890661b2daed7056c | buildout.cfg | buildout.cfg | INI |
<|file_sep|>original/_posts/2017-01-19-sprint-12-13-demo.md
---
title: Sprint 12 and 13 Demo
author: Brian Bouterse
tags:
- demo
---
See what is coming with Pulp 2.12.0
<iframe width="560" height="315" src="https://www.youtube.com/embed/ZPAGBGwsS2k" frameborder="0" allowfullscreen></iframe>
<|file_sep|>current/_pos... | ---
title: Sprint 12 and 13 Demo
author: Brian Bouterse
tags:
- demo
---
See what is coming with Pulp 2.12.0
<iframe width="560" height="315" src="https://www.youtube.com/embed/ZPAGBGwsS2k" frameborder="0" allowfullscreen></iframe>
* [State of Pulp (mhrivnak)](https://youtu.be/ZPAGBGwsS2k?t=01m22s)
* [New release ... | <|file_sep|>original/_posts/2017-01-19-sprint-12-13-demo.md
---
title: Sprint 12 and 13 Demo
author: Brian Bouterse
tags:
- demo
---
See what is coming with Pulp 2.12.0
<iframe width="560" height="315" src="https://www.youtube.com/embed/ZPAGBGwsS2k" frameborder="0" allowfullscreen></iframe>
<|file_sep|>current/_pos... | 8eb8e64babd581e2c0d242db920594362c5f2466 | _posts/2017-01-19-sprint-12-13-demo.md | _posts/2017-01-19-sprint-12-13-demo.md | Markdown |
<|file_sep|>original/tinycart/middleware.py
)
class HTTPMethodOverrideMiddleware(object):
allowed_methods = ('PUT', 'DELETE')
webform_content_types = ('application/x-www-form-urlencoded',
'multipart/form-data')
def is_webform(self, request):
return request.M... | )
class HTTPMethodOverrideMiddleware(object):
allowed_methods = ('PUT', 'DELETE')
webform_content_types = ('application/x-www-form-urlencoded',
'multipart/form-data')
def is_webform(self, request):
content_type = request.META.get('CONTENT_TYPE')
if n... | <|file_sep|>original/tinycart/middleware.py
)
class HTTPMethodOverrideMiddleware(object):
allowed_methods = ('PUT', 'DELETE')
webform_content_types = ('application/x-www-form-urlencoded',
'multipart/form-data')
def is_webform(self, request):
return request.M... | 605013815867798a30261e57066163581575832f | tinycart/middleware.py | tinycart/middleware.py | Python |
<|file_sep|>spring-vaadin-simple-mvp/src/test/java/org/vaadin/spring/mvp/autowired/AutowiredPresenter.java.diff
original:
import org.vaadin.spring.UIScope;
updated:
<|file_sep|>spring-vaadin-simple-mvp/src/test/java/org/vaadin/spring/mvp/autowired/AutowiredPresenter.java.diff
original:
updated:
import org.vaadin.spri... | package org.vaadin.spring.mvp.autowired;
import org.springframework.beans.factory.annotation.Autowired;
import org.vaadin.spring.annotation.VaadinComponent;
import org.vaadin.spring.annotation.VaadinUIScope;
import org.vaadin.spring.events.EventBus;
import org.vaadin.spring.events.annotation.EventBusListenerMethod;
im... | <|file_sep|>spring-vaadin-simple-mvp/src/test/java/org/vaadin/spring/mvp/autowired/AutowiredPresenter.java.diff
original:
import org.vaadin.spring.UIScope;
updated:
<|file_sep|>spring-vaadin-simple-mvp/src/test/java/org/vaadin/spring/mvp/autowired/AutowiredPresenter.java.diff
original:
updated:
import org.vaadin.spri... | 8714ee626d0780ceee290b08eb519391863db097 | spring-vaadin-simple-mvp/src/test/java/org/vaadin/spring/mvp/autowired/AutowiredPresenter.java | spring-vaadin-simple-mvp/src/test/java/org/vaadin/spring/mvp/autowired/AutowiredPresenter.java | Java |
<|file_sep|>original/db/migrate/20170425185231_create_asset_details.rb
class CreateAssetDetails < ActiveRecord::Migration[5.0]
def change
create_table :asset_details do |t|
t.text :description
t.text :contact
t.text :location
t.text :room
t.text :rack_name
t.text :lowest_... | class CreateAssetDetails < ActiveRecord::Migration[5.0]
def change
create_table :asset_details do |t|
t.text :description
t.text :contact
t.text :location
t.text :room
t.text :rack_name
t.text :lowest_rack_unit
t.bigint :resource_id
t.string :resource_type
... | <|file_sep|>original/db/migrate/20170425185231_create_asset_details.rb
class CreateAssetDetails < ActiveRecord::Migration[5.0]
def change
create_table :asset_details do |t|
t.text :description
t.text :contact
t.text :location
t.text :room
t.text :rack_name
t.text :lowest_... | 33eecf1231055ea139a6148703969d04f2c7131a | db/migrate/20170425185231_create_asset_details.rb | db/migrate/20170425185231_create_asset_details.rb | Ruby |
<|file_sep|>original/works_in_progress/centos-7-amd64/scripts/yum.sh
enabled=1
gpgcheck=0
EOM
#Install the CentOS Software Collections repo. More info available here:
# https://access.redhat.com/site/documentation/en-US/Red_Hat_Software_Collections/1/html-single/1.0_Release_Notes/index.html
yum install centos-release... | enabled=1
gpgcheck=0
EOM
#Install the CentOS Software Collections repo. More info available here:
# https://access.redhat.com/site/documentation/en-US/Red_Hat_Software_Collections/1/html-single/1.0_Release_Notes/index.html
yum install centos-release-SCL
yum -y check-update
yum -y install gcc make gcc-c++ kernel-dev... | <|file_sep|>original/works_in_progress/centos-7-amd64/scripts/yum.sh
enabled=1
gpgcheck=0
EOM
#Install the CentOS Software Collections repo. More info available here:
# https://access.redhat.com/site/documentation/en-US/Red_Hat_Software_Collections/1/html-single/1.0_Release_Notes/index.html
yum install centos-release... | 2e244026386b19f7caddddc6404610c4c9fdf7be | works_in_progress/centos-7-amd64/scripts/yum.sh | works_in_progress/centos-7-amd64/scripts/yum.sh | Shell |
<|file_sep|>original/requirements/prod.txt
boto3>=1.0.0
connexion==1.1.9
Flask==0.12.4
requests==2.9.1
ruamel.yaml==0.15.34
six==1.11.0
structlog==16.0.0
Werkzeug==0.12.2
wrapt==1.10.10
<|file_sep|>current/requirements/prod.txt
boto3>=1.0.0
connexion==1.1.9
Flask==0.12.4
requests==2.9.1
ruamel.yaml==0.15.34
six==1.11.0... | boto3>=1.0.0
connexion==1.1.9
Flask==0.12.4
requests==2.20.0
ruamel.yaml==0.15.34
six==1.11.0
structlog==16.0.0
Werkzeug==0.12.2
wrapt==1.10.10 | <|file_sep|>original/requirements/prod.txt
boto3>=1.0.0
connexion==1.1.9
Flask==0.12.4
requests==2.9.1
ruamel.yaml==0.15.34
six==1.11.0
structlog==16.0.0
Werkzeug==0.12.2
wrapt==1.10.10
<|file_sep|>current/requirements/prod.txt
boto3>=1.0.0
connexion==1.1.9
Flask==0.12.4
requests==2.9.1
ruamel.yaml==0.15.34
six==1.11.0... | b3dca97acc6c73995cc07b352213999ed614a17e | requirements/prod.txt | requirements/prod.txt | Text |
<|file_sep|>original/recipes/openscm-twolayermodel/meta.yaml
<|file_sep|>current/recipes/openscm-twolayermodel/meta.yaml
<|file_sep|>updated/recipes/openscm-twolayermodel/meta.yaml | {% set name = "openscm-twolayermodel" %}
{% set version = "0.2.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: f160aed82fa4e25d7dfc2f2ff4f84077b8b16e973806fec464e43656ff780830
build:
n... | <|file_sep|>original/recipes/openscm-twolayermodel/meta.yaml
<|file_sep|>current/recipes/openscm-twolayermodel/meta.yaml
<|file_sep|>updated/recipes/openscm-twolayermodel/meta.yaml
{% set name = "openscm-twolayermodel" %}
{% set version = "0.2.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:... | 6c2c4b1179c5d5133af78a0049717e2920be5f47 | recipes/openscm-twolayermodel/meta.yaml | recipes/openscm-twolayermodel/meta.yaml | YAML |
<|file_sep|>original/README.md
[](https://travis-ci.org/datasciencebr/whistleblower)
[](https://landscape.io/github/datasciencebr/whi... | [](https://travis-ci.org/datasciencebr/whistleblower)
[](https://landscape.io/github/datasciencebr/whistleblower/master)
[](https://travis-ci.org/datasciencebr/whistleblower)
[](https://landscape.io/github/datasciencebr/whi... | ed5f302d7cb54165498ec4994a482a19be31bc56 | README.md | README.md | Markdown |
<|file_sep|>original/README.rst
SlicerITKUltrasound
===================
.. image:: https://travis-ci.org/KitwareMedical/SlicerITKUltrasound.svg?branch=master
:target: https://travis-ci.org/KitwareMedical/SlicerITKUltrasound
A `3D Slicer <http://slicer.org/>`_ extension for ultrasound image formation, processing, ... | SlicerITKUltrasound
===================
.. image:: https://travis-ci.org/KitwareMedical/SlicerITKUltrasound.svg?branch=master
:target: https://travis-ci.org/KitwareMedical/SlicerITKUltrasound
A `3D Slicer <http://slicer.org/>`_ extension for ultrasound image formation, processing, and analysis. Interfaces built o... | <|file_sep|>original/README.rst
SlicerITKUltrasound
===================
.. image:: https://travis-ci.org/KitwareMedical/SlicerITKUltrasound.svg?branch=master
:target: https://travis-ci.org/KitwareMedical/SlicerITKUltrasound
A `3D Slicer <http://slicer.org/>`_ extension for ultrasound image formation, processing, ... | 2f57eac926fdb1127c6c0e25c31962d2a1cf1be3 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/requirements.txt
pytest==3.2.3
pytest-cookies==0.2.0
pyaml==17.10.0
testinfra==1.8.0
tox==2.9.1
<|file_sep|>current/requirements.txt
pytest==3.2.3
pytest-cookies==0.2.0
pyaml==17.10.0
testinfra==1.8.0
tox==2.9.1
<|file_sep|>updated/requirements.txt | pytest==3.2.3
pytest-cookies==0.3.0
pyaml==17.10.0
testinfra==1.8.0
tox==2.9.1 | <|file_sep|>original/requirements.txt
pytest==3.2.3
pytest-cookies==0.2.0
pyaml==17.10.0
testinfra==1.8.0
tox==2.9.1
<|file_sep|>current/requirements.txt
pytest==3.2.3
pytest-cookies==0.2.0
pyaml==17.10.0
testinfra==1.8.0
tox==2.9.1
<|file_sep|>updated/requirements.txt
pytest==3.2.3
pytest-cookies==0.3.0
pyaml==17.10.0... | 52dc858842ce426e7db02cd0387bdc86497954be | requirements.txt | requirements.txt | Text |
<|file_sep|>original/src/_shared/PickerBase.jsx
getValidDateOrCurrent = () => {
const date = moment(this.props.value);
return date.isValid() ? date : moment();
}
state = {
date: this.getValidDateOrCurrent(),
}
handleAccept = () => {
const dateToReturn = this.props.returnMoment
? this.... | getValidDateOrCurrent = () => {
const date = moment(this.props.value);
return date.isValid() ? date : moment();
}
state = {
date: this.getValidDateOrCurrent(),
}
componentDidUpdate = (prevProps) => {
if (this.props.value !== prevProps.value) {
this.setState({ date: this.getValidDateOr... | <|file_sep|>original/src/_shared/PickerBase.jsx
getValidDateOrCurrent = () => {
const date = moment(this.props.value);
return date.isValid() ? date : moment();
}
state = {
date: this.getValidDateOrCurrent(),
}
handleAccept = () => {
const dateToReturn = this.props.returnMoment
? this.... | 2b2be1879ea52c6bf0de9a2c2f56876baf3900b4 | src/_shared/PickerBase.jsx | src/_shared/PickerBase.jsx | JSX |
<|file_sep|>migrations/823-drop-backup-version.sql.diff
original:
ALTER TABLE
`addons`
DROP FOREIGN KEY
`addons_ibfk_16`
;
updated:
# It seems the constraint name for the `backup_version` column differs between the local and dev/stage/prod servers.
# We thus need some hackery to find its name, and remove it dyn... | # It seems the constraint name for the `backup_version` column differs between the local and dev/stage/prod servers.
# We thus need some hackery to find its name, and remove it dynamically.
#
# First get the constraint name.
SET @CONSTRAINT_NAME := (select CONSTRAINT_NAME from information_schema.key_column_usage where ... | <|file_sep|>migrations/823-drop-backup-version.sql.diff
original:
ALTER TABLE
`addons`
DROP FOREIGN KEY
`addons_ibfk_16`
;
updated:
# It seems the constraint name for the `backup_version` column differs between the local and dev/stage/prod servers.
# We thus need some hackery to find its name, and remove it dyn... | 7189af087fd59a3307fc59495ba8f8ae5f551a39 | migrations/823-drop-backup-version.sql | migrations/823-drop-backup-version.sql | SQL |
<|file_sep|>original/src/quick/scenegraph/shaders/visualization.vert
attribute highp vec4 v;
uniform highp mat4 matrix;
uniform highp mat4 rotation;
// w -> apply 3d rotation and projection
uniform lowp vec4 tweak;
varying mediump vec2 pos;
void main()
{
vec4 p = matrix * v;
if (tweak.w > 0.0) {
vec... | attribute highp vec4 v;
uniform highp mat4 matrix;
uniform highp mat4 rotation;
// w -> apply 3d rotation and projection
uniform mediump vec4 tweak;
varying mediump vec2 pos;
void main()
{
vec4 p = matrix * v;
if (tweak.w > 0.0) {
vec4 proj = rotation * p;
gl_Position = vec4(proj.x, proj.y, ... | <|file_sep|>original/src/quick/scenegraph/shaders/visualization.vert
attribute highp vec4 v;
uniform highp mat4 matrix;
uniform highp mat4 rotation;
// w -> apply 3d rotation and projection
uniform lowp vec4 tweak;
varying mediump vec2 pos;
void main()
{
vec4 p = matrix * v;
if (tweak.w > 0.0) {
vec... | 15f6e471bb263768bb08a44c3dbf4ea2b6a99edd | src/quick/scenegraph/shaders/visualization.vert | src/quick/scenegraph/shaders/visualization.vert | GLSL |
<|file_sep|>original/resources/templates/objectives-list.html
<div id="clj-objectives-list" class="main-wrapper-no-sidebar">
<article>
<h1>${objective-list/page-title}</h1>
<p class="lede">${objective-list/objectives-intro-text}</p>
<a href="objectives/create" class="button index-get-started" title="${objective... | <div id="clj-objectives-list" class="main-wrapper-no-sidebar">
<article>
<h1>${objective-list/page-title}</h1>
<p class="lede">${objective-list/objectives-intro-text}</p>
<a href="objectives/create" class="button index-get-started" title="${objective-list/create-button-title}">${objective-list/create-button-tex... | <|file_sep|>original/resources/templates/objectives-list.html
<div id="clj-objectives-list" class="main-wrapper-no-sidebar">
<article>
<h1>${objective-list/page-title}</h1>
<p class="lede">${objective-list/objectives-intro-text}</p>
<a href="objectives/create" class="button index-get-started" title="${objective... | 2c47875eeaa3d14285415800871187649def58e3 | resources/templates/objectives-list.html | resources/templates/objectives-list.html | HTML |
<|file_sep|>original/app/models/financial_report.rb
class FinancialReport < ActiveRecord::Base
has_one :organisation
end
<|file_sep|>current/app/models/financial_report.rb
class FinancialReport < ActiveRecord::Base
has_one :organisation
end
<|file_sep|>updated/app/models/financial_report.rb | class FinancialReport < ActiveRecord::Base
belongs_to :organisation
validates_associated :organisation
validates :year, presence: true, uniqueness: {scope: :organisation_id}, numericality: {only_integer: true}
# We allow nil because data suggests some organisations are missing some data, 0 would be inaccurate ... | <|file_sep|>original/app/models/financial_report.rb
class FinancialReport < ActiveRecord::Base
has_one :organisation
end
<|file_sep|>current/app/models/financial_report.rb
class FinancialReport < ActiveRecord::Base
has_one :organisation
end
<|file_sep|>updated/app/models/financial_report.rb
class FinancialReport < ... | 77565c6e48c21407ce24644da35f79c5d90645cc | app/models/financial_report.rb | app/models/financial_report.rb | Ruby |
<|file_sep|>original/phpspec.yml
<|file_sep|>current/phpspec.yml
<|file_sep|>updated/phpspec.yml | suites:
davidgarciacat_suite:
namespace: DavidGarciaCat
extensions:
- PhpSpec\Extension\CodeCoverageExtension
code_coverage:
format:
- html
- clover
output:
html: coverage
clover: coverage.xml | <|file_sep|>original/phpspec.yml
<|file_sep|>current/phpspec.yml
<|file_sep|>updated/phpspec.yml
suites:
davidgarciacat_suite:
namespace: DavidGarciaCat
extensions:
- PhpSpec\Extension\CodeCoverageExtension
code_coverage:
format:
- html
- clover
output:
html: coverage
clover: coverage.xm... | 8bf198aa03652eacb9d8a35c868bc4e5a966a628 | phpspec.yml | phpspec.yml | YAML |
<|file_sep|>src/ui-preferences/index.html.diff
original:
updated:
<div class="pref-container__description"></div>
<|file_sep|>original/src/ui-preferences/index.html
<button id="save-button">Save</button>
<template id="preference-template">
<div class="pref-container">
<div class="pref-container__... |
<button id="save-button">Save</button>
<template id="preference-template">
<div class="pref-container">
<div class="pref-container__label"></div>
<div class="pref-container__description"></div>
<div class="pref-type-container">
<!-- Put the preference-type in here -->
... | <|file_sep|>src/ui-preferences/index.html.diff
original:
updated:
<div class="pref-container__description"></div>
<|file_sep|>original/src/ui-preferences/index.html
<button id="save-button">Save</button>
<template id="preference-template">
<div class="pref-container">
<div class="pref-container__... | e660c332442076299975aa998846fc492b1684f5 | src/ui-preferences/index.html | src/ui-preferences/index.html | HTML |
<|file_sep|>original/addon/components/ilios-calendar-week.js
import moment from 'moment';
import layout from '../templates/components/ilios-calendar-week';
const {computed, run} = Ember;
export default Ember.Component.extend({
classNames: ['ilios-calendar-week'],
layout: layout,
date: null,
calendarEvents: []... | import moment from 'moment';
import layout from '../templates/components/ilios-calendar-week';
const {computed, run} = Ember;
export default Ember.Component.extend({
classNames: ['ilios-calendar-week'],
layout: layout,
date: null,
calendarEvents: [],
weekOf: computed('date', function(){
return moment(th... | <|file_sep|>original/addon/components/ilios-calendar-week.js
import moment from 'moment';
import layout from '../templates/components/ilios-calendar-week';
const {computed, run} = Ember;
export default Ember.Component.extend({
classNames: ['ilios-calendar-week'],
layout: layout,
date: null,
calendarEvents: []... | 86e0a26df03661b384a08a36343ffaf2cb9dc564 | addon/components/ilios-calendar-week.js | addon/components/ilios-calendar-week.js | JavaScript |
<|file_sep|>original/website/addons/twofactor/views.py
from framework import request
from framework.auth.decorators import must_be_logged_in
from framework.exceptions import HTTPError
from website.project.decorators import must_have_addon
@must_be_logged_in
@must_have_addon('twofactor', 'user')
def user_settings(use... | from framework.exceptions import HTTPError
from website.project.decorators import must_have_addon
@must_be_logged_in
@must_have_addon('twofactor', 'user')
def user_settings(user_addon, *args, **kwargs):
code = request.json.get('code')
if code is None:
raise HTTPError(code=http.BAD_REQUEST)
if u... | <|file_sep|>original/website/addons/twofactor/views.py
from framework import request
from framework.auth.decorators import must_be_logged_in
from framework.exceptions import HTTPError
from website.project.decorators import must_have_addon
@must_be_logged_in
@must_have_addon('twofactor', 'user')
def user_settings(use... | 31c79697db0d5c973cff9b845ed28845695ecb02 | website/addons/twofactor/views.py | website/addons/twofactor/views.py | Python |
<|file_sep|>original/.infrastructure/i18n/extract-server-msgs.sh
#!/bin/bash
# This needs to be run from beavy root like so:
# `./.infrastructure/i18n/extract-server-messages.sh`
# Otherwise the working directory will be wrong.
# Keys indicating the fn symbols that pybabel should search for
# when finding transla... | #!/bin/bash
# This needs to be run from beavy root like so:
# `./.infrastructure/i18n/extract-server-messages.sh`
# Otherwise the working directory will be wrong.
# Keys indicating the fn symbols that pybabel should search for
# when finding translations.
keys="-k format -k format_time -k format_date -k format_da... | <|file_sep|>original/.infrastructure/i18n/extract-server-msgs.sh
#!/bin/bash
# This needs to be run from beavy root like so:
# `./.infrastructure/i18n/extract-server-messages.sh`
# Otherwise the working directory will be wrong.
# Keys indicating the fn symbols that pybabel should search for
# when finding transla... | ded3d4ca85bcfd74f332af0ecf5691a0d6578d7a | .infrastructure/i18n/extract-server-msgs.sh | .infrastructure/i18n/extract-server-msgs.sh | Shell |
<|file_sep|>original/graf2d/cocoa/CMakeLists.txt
# @author Pere Mato, CERN
############################################################################
add_definitions("-ObjC++")
if (cxxmodules)
# FIXME: Disable modules for ObjC/ObjC++. Modules for cocoa and quarts have to
# be treated in a special way. Eg. it se... |
if (cxxmodules)
# FIXME: Disable modules for ObjC/ObjC++. Modules for cocoa and quarts have to
# be treated in a special way. Eg. it seems that they cannot be nested in the
# ROOT top-most module, because an implicit build of this module in ObjC TU
# causes issues in TBonjourBrowser (when incluing dns_sd.h) on... | <|file_sep|>original/graf2d/cocoa/CMakeLists.txt
# @author Pere Mato, CERN
############################################################################
add_definitions("-ObjC++")
if (cxxmodules)
# FIXME: Disable modules for ObjC/ObjC++. Modules for cocoa and quarts have to
# be treated in a special way. Eg. it se... | eff2d91b6ea0399988f06005d8dc2ad2d7b8e40f | graf2d/cocoa/CMakeLists.txt | graf2d/cocoa/CMakeLists.txt | Text |
<|file_sep|>original/package.json
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git://github.com/bbx10/tsl2591-node.git"
},
"keywords": [
"light",
"sensor",
"i2c",
"tsl2591"
],
"author": "bbx10node@gmail.com",
"license": "MIT",
... | "test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git://github.com/bbx10/tsl2591-node.git"
},
"keywords": [
"light",
"sensor",
"i2c",
"tsl2591"
],
"author": "bbx10node@gmail.com",
"license": "MIT",
"readmeFilename": "README.md",
... | <|file_sep|>original/package.json
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git://github.com/bbx10/tsl2591-node.git"
},
"keywords": [
"light",
"sensor",
"i2c",
"tsl2591"
],
"author": "bbx10node@gmail.com",
"license": "MIT",
... | 9109ed1b81d32905188151ec43a36fd3887c290f | package.json | package.json | JSON |
<|file_sep|>original/requirements.txt
docker==2.4.0
molecule==1.25.0
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>current/requirements.txt
docker==2.4.0
molecule==1.25.0
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>updated/requirements.txt | docker==2.4.2
molecule==1.25.0
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0 | <|file_sep|>original/requirements.txt
docker==2.4.0
molecule==1.25.0
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>current/requirements.txt
docker==2.4.0
molecule==1.25.0
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>updated/requirements.txt
docker==2.4.2
mo... | d4e265197759df76730ddc761e8ed8f3d18314a5 | requirements.txt | requirements.txt | Text |
<|file_sep|>stemmer.go.diff
original:
import "strings"
updated:
import (
"strings"
"unicode"
"golang.org/x/text/transform"
"golang.org/x/text/unicode/norm"
)
<|file_sep|>original/stemmer.go
package fate
import "strings"
// Stemmer normalizes a string to its stem.
type Stemmer interface {
Stem(string) string
}
... | Stem(string) string
}
type stemFunc func(string) string
func (s stemFunc) Stem(str string) string {
return s(str)
}
// DefaultStemmer makes reply inputs insensitive to case, accents, and
// punctuation.
var DefaultStemmer = &cleaner{}
type cleaner struct{}
func (c *cleaner) Stem(s string) string {
ret, _, err :... | <|file_sep|>stemmer.go.diff
original:
import "strings"
updated:
import (
"strings"
"unicode"
"golang.org/x/text/transform"
"golang.org/x/text/unicode/norm"
)
<|file_sep|>original/stemmer.go
package fate
import "strings"
// Stemmer normalizes a string to its stem.
type Stemmer interface {
Stem(string) string
}
... | c2fe954e806086fe16ac318dc078914d0a715d54 | stemmer.go | stemmer.go | Go |
<|file_sep|>original/.travis.yml
- localhost
matrix:
allow_failures:
- python: '2.6'
- python: '3.2'
- python: 'pypy'
- python: 'pypy3'
before_install:
- docker pull atmoz/sftp
- docker run -p ${FS_SSHFS_PORT}:22 -d atmoz/sftp ${FS_SSHFS_USER}:${FS_SSHFS_PASS}:::test
install:
- pip install -r tests/requi... | - localhost
matrix:
allow_failures:
- python: '2.6'
- python: '3.2'
- python: 'pypy'
- python: 'pypy3'
before_install:
- docker pull atmoz/sftp
- docker run -p ${FS_SSHFS_PORT}:22 -d atmoz/sftp ${FS_SSHFS_USER}:${FS_SSHFS_PASS}:::test
install:
- pip install -r tests/requirements.txt
script:
- green -rvv... | <|file_sep|>original/.travis.yml
- localhost
matrix:
allow_failures:
- python: '2.6'
- python: '3.2'
- python: 'pypy'
- python: 'pypy3'
before_install:
- docker pull atmoz/sftp
- docker run -p ${FS_SSHFS_PORT}:22 -d atmoz/sftp ${FS_SSHFS_USER}:${FS_SSHFS_PASS}:::test
install:
- pip install -r tests/requi... | 049766f8e8a56e23babfd97666c1951e32f4a383 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/recipes/futures/meta.yaml
{% set name = "futures" %}
{% set version = "3.0.5" %}
{% set sha256 = "0542525145d5afc984c88f914a0c85c77527f65946617edb5274f72406f981df" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/pa... | {% set name = "futures" %}
{% set version = "3.1.1" %}
{% set sha256 = "51ecb45f0add83c806c68e4b06106f90db260585b25ef2abfcda0bd95c0132fd" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name ... | <|file_sep|>original/recipes/futures/meta.yaml
{% set name = "futures" %}
{% set version = "3.0.5" %}
{% set sha256 = "0542525145d5afc984c88f914a0c85c77527f65946617edb5274f72406f981df" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/pa... | dd8ed541911e504d7512f2e52af88e5dd2387078 | recipes/futures/meta.yaml | recipes/futures/meta.yaml | YAML |
<|file_sep|>lib/tmuxinator/assets/template.erb.diff
original:
<%= window.tmux_new_window_command %>
updated:
<%= window.tmux_new_window_command %>
<|file_sep|>lib/tmuxinator/assets/template.erb.diff
original:
<%= window.tmux_pre_window_command %>
<%= window.tmux_main_command %>
updated:
<%= window.tmux_... | <%- window.panes.each do |pane| -%>
<%= pane.tmux_pre_window_command %>
<%= pane.tmux_pre_command %>
<%= pane.tmux_main_command %>
<%- unless pane.last? -%>
<%= pane.tmux_split_command %>
<%- end -%>
<%= window.tmux_layout_command %>
<%- end -%>
... | <|file_sep|>lib/tmuxinator/assets/template.erb.diff
original:
<%= window.tmux_new_window_command %>
updated:
<%= window.tmux_new_window_command %>
<|file_sep|>lib/tmuxinator/assets/template.erb.diff
original:
<%= window.tmux_pre_window_command %>
<%= window.tmux_main_command %>
updated:
<%= window.tmux_... | 86eabdf9df970b1ae6554888ceb27cd9318fa62d | lib/tmuxinator/assets/template.erb | lib/tmuxinator/assets/template.erb | HTML+ERB |
<|file_sep|>original/manifest.json
"description": "__MSG_extensionDescription__",
"default_locale": "en",
"version": "1.9.1",
"manifest_version": 2,
"icons": {
"48": "icons/icon-48.png",
"96": "icons/icon-96.png"
},
"applications": {
"gecko": {
"id": "{1b1... | "description": "__MSG_extensionDescription__",
"default_locale": "en",
"version": "1.9.1",
"manifest_version": 2,
"icons": {
"48": "icons/icon-48.png",
"96": "icons/icon-96.png"
},
"applications": {
"gecko": {
"id": "{1b1e6108-2d88-4f0f-a338-01f9dbcccd6f}"... | <|file_sep|>original/manifest.json
"description": "__MSG_extensionDescription__",
"default_locale": "en",
"version": "1.9.1",
"manifest_version": 2,
"icons": {
"48": "icons/icon-48.png",
"96": "icons/icon-96.png"
},
"applications": {
"gecko": {
"id": "{1b1... | d6fa16245f96766882367347660d0e15a11b4877 | manifest.json | manifest.json | JSON |
<|file_sep|>generators/app/index.js.diff
original:
updated:
},
// Run npm install
install: function () {
this.npmInstall();
<|file_sep|>original/generators/app/index.js
this.destinationPath('package.json')
);
},
projectfiles: function () {
this.fs.copy(
this.templatePath... | projectfiles: function () {
this.fs.copy(
this.templatePath('gitignore'),
this.destinationPath('.gitignore')
);
this.fs.copy(
this.templatePath('eslintrc'),
this.destinationPath('.eslintrc')
);
this.fs.copy(
this.templatePath('_csscomb.json'),
... | <|file_sep|>generators/app/index.js.diff
original:
updated:
},
// Run npm install
install: function () {
this.npmInstall();
<|file_sep|>original/generators/app/index.js
this.destinationPath('package.json')
);
},
projectfiles: function () {
this.fs.copy(
this.templatePath... | 588e191fda115154211827a154a77daeed0d2ba1 | generators/app/index.js | generators/app/index.js | JavaScript |
<|file_sep|>original/lib/commands/version_commands.sh
fi
check_if_plugin_exists "$plugin"
local version
for version in "${versions[@]}"; do
check_if_version_exists "$plugin" "$version"
done
if [ -f "$file" ] && grep "^$plugin " "$file" > /dev/null; then
sed -i.bak -e "s/^$plugin .*$/^$plugin ${ve... | fi
check_if_plugin_exists "$plugin"
local version
for version in "${versions[@]}"; do
check_if_version_exists "$plugin" "$version"
done
if [ -f "$file" ] && grep "^$plugin " "$file" > /dev/null; then
sed -i.bak -e "s/^$plugin .*$/$plugin ${versions[*]}/" "$file"
rm "$file".bak
else
echo... | <|file_sep|>original/lib/commands/version_commands.sh
fi
check_if_plugin_exists "$plugin"
local version
for version in "${versions[@]}"; do
check_if_version_exists "$plugin" "$version"
done
if [ -f "$file" ] && grep "^$plugin " "$file" > /dev/null; then
sed -i.bak -e "s/^$plugin .*$/^$plugin ${ve... | 0f48c1861bd2efab373e33177691cd69a280c549 | lib/commands/version_commands.sh | lib/commands/version_commands.sh | Shell |
<|file_sep|>original/models/formtoken.php
<?php
Class FormToken {
public static function create() {
$token = openssl_random_pseudo_bytes( 32 );
return base64_encode( $token );
}
}
?>
<|file_sep|>current/models/formtoken.php
<?php
Class FormToken {
public stat... | <?php
Class FormToken {
public static function create() {
$token = openssl_random_pseudo_bytes( 32 );
return base64_encode( $token );
}
}
?> | <|file_sep|>original/models/formtoken.php
<?php
Class FormToken {
public static function create() {
$token = openssl_random_pseudo_bytes( 32 );
return base64_encode( $token );
}
}
?>
<|file_sep|>current/models/formtoken.php
<?php
Class FormToken {
public stat... | 85eb5a1cb6f44c8f8d056b629a0bd2819fdb84f9 | models/formtoken.php | models/formtoken.php | PHP |
<|file_sep|>original/public/app/main.js
},
typeahead: {
deps: [ 'jquery' ]
}
}
});
// Boot the application
require([ 'jquery' ], function () {
require([ 'bootstrap' ], function () {
var environment = 'development';
... | },
typeahead: {
deps: [ 'jquery' ]
}
}
});
// Boot the application
require([ 'jquery' ], function () {
require([ 'bootstrap' ], function () {
var environment = 'development';
if (environment !== 'production' && cons... | <|file_sep|>original/public/app/main.js
},
typeahead: {
deps: [ 'jquery' ]
}
}
});
// Boot the application
require([ 'jquery' ], function () {
require([ 'bootstrap' ], function () {
var environment = 'development';
... | 19767ec9cd7f5692dac46743fa616c4a877f8b05 | public/app/main.js | public/app/main.js | JavaScript |
<|file_sep|>original/README.md
**PrepareLanding** is a mod for the [RimWorld](https://rimworldgame.com/) game by [Ludeon studios](https://ludeon.com/blog/). It allows players to carefully choose their landing site before actually starting their colony.
Installation
------------
[Download Here](https://github.com/nei... |
**PrepareLanding** is a mod for the [RimWorld](https://rimworldgame.com/) game by [Ludeon studios](https://ludeon.com/blog/). It allows players to carefully choose their landing site before actually starting their colony.
Installation
------------
[Download Here](https://github.com/neitsa/PrepareLanding/releases/lat... | <|file_sep|>original/README.md
**PrepareLanding** is a mod for the [RimWorld](https://rimworldgame.com/) game by [Ludeon studios](https://ludeon.com/blog/). It allows players to carefully choose their landing site before actually starting their colony.
Installation
------------
[Download Here](https://github.com/nei... | dda5ec7cf67b6ca1763dcd02afcf581eda4c5c3e | README.md | README.md | Markdown |
<|file_sep|>original/include/perfetto/protozero/contiguous_memory_range.h
#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
namespace protozero {
// Keep this struct trivially constructible (no ctors, no default initializers).
struct ContiguousM... | #define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
namespace protozero {
// Keep this struct trivially constructible (no ctors, no default initializers).
struct ContiguousMemoryRange {
uint8_t* begin;
uint8_t* end; // STL style: one byte pas... | <|file_sep|>original/include/perfetto/protozero/contiguous_memory_range.h
#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
namespace protozero {
// Keep this struct trivially constructible (no ctors, no default initializers).
struct ContiguousM... | 7f06a7c107b2051ff24cc6d40bbcf024538281cb | include/perfetto/protozero/contiguous_memory_range.h | include/perfetto/protozero/contiguous_memory_range.h | C |
<|file_sep|>original/devnotes/worklog.md
<|file_sep|>current/devnotes/worklog.md
<|file_sep|>updated/devnotes/worklog.md | # React, Redux, ES6
- [Course] (https://app.pluralsight.com/library/courses/react-redux-react-router-es6/table-of-contents)
- [Source] (https://github.com/coryhouse/pluralsight-redux-starter)
## Overall objective
Complete the course, understand create-react-app in depth.
## Current Working Goal
Go through env setu... | <|file_sep|>original/devnotes/worklog.md
<|file_sep|>current/devnotes/worklog.md
<|file_sep|>updated/devnotes/worklog.md
# React, Redux, ES6
- [Course] (https://app.pluralsight.com/library/courses/react-redux-react-router-es6/table-of-contents)
- [Source] (https://github.com/coryhouse/pluralsight-redux-starter)
## ... | 589d829008768ce9dab5447b6a8ba534326ce60a | devnotes/worklog.md | devnotes/worklog.md | Markdown |
<|file_sep|>original/micall/utils/remove_dupe_dirs.py
<|file_sep|>current/micall/utils/remove_dupe_dirs.py
<|file_sep|>updated/micall/utils/remove_dupe_dirs.py | import shutil
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
from pathlib import Path
def parse_args():
# noinspection PyTypeChecker
parser = ArgumentParser(
description='Remove folders that have already been zipped.',
formatter_class=ArgumentDefaultsHelpFormatter)
# no... | <|file_sep|>original/micall/utils/remove_dupe_dirs.py
<|file_sep|>current/micall/utils/remove_dupe_dirs.py
<|file_sep|>updated/micall/utils/remove_dupe_dirs.py
import shutil
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
from pathlib import Path
def parse_args():
# noinspection PyTypeChecker... | 80f53a346be979e96788e5d45cfe14cf5d12b22a | micall/utils/remove_dupe_dirs.py | micall/utils/remove_dupe_dirs.py | Python |
<|file_sep|>_protected/app/system/modules/user/views/base/tpl/signup/step1.tpl.diff
original:
<div class="left col-md-6">
updated:
<div class="col-md-6">
<|file_sep|>original/_protected/app/system/modules/user/views/base/tpl/signup/step1.tpl
<div class="center">
<div class="left col-md-6">
<div clas... | <div class="center">
<div class="col-md-6">
<div class="progress">
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="33" aria-valuemin="0" aria-valuemax="100" style="width:33%">33% - STEP 1/3</div>
</div>
{{ JoinForm::step1() }}
</div>
... | <|file_sep|>_protected/app/system/modules/user/views/base/tpl/signup/step1.tpl.diff
original:
<div class="left col-md-6">
updated:
<div class="col-md-6">
<|file_sep|>original/_protected/app/system/modules/user/views/base/tpl/signup/step1.tpl
<div class="center">
<div class="left col-md-6">
<div clas... | d82c094a68a7af0e253d770a4f331a7c7f69d59e | _protected/app/system/modules/user/views/base/tpl/signup/step1.tpl | _protected/app/system/modules/user/views/base/tpl/signup/step1.tpl | Smarty |
<|file_sep|>README.md.diff
original:
Global monthly climate data visualised on an [interactive map](http://climatemaps.romgens.com) with [OpenLayers 3](https://github.com/openlayers/ol3).
updated:
Global monthly climate data visualised on an interactive map with [OpenLayers 3](https://github.com/openlayers/ol3).
<|file... | # climatemaps
Global monthly climate data visualised on an interactive map with [OpenLayers 3](https://github.com/openlayers/ol3).
#### Demo
**http://climatemaps.romgens.com**
#### Data
The climate grid data, 30 year averages, is taken from http://www.ipcc-data.org/obs/get_30yr_means.html. | <|file_sep|>README.md.diff
original:
Global monthly climate data visualised on an [interactive map](http://climatemaps.romgens.com) with [OpenLayers 3](https://github.com/openlayers/ol3).
updated:
Global monthly climate data visualised on an interactive map with [OpenLayers 3](https://github.com/openlayers/ol3).
<|file... | 06c36e79085d9db975c04869ea29c5c0aa9ce765 | README.md | README.md | Markdown |
<|file_sep|>app/src/main/res/xml/wide_widget_info.xml.diff
original:
android:minHeight="120dp"
updated:
android:minHeight="@dimen/widget_wide_height"
<|file_sep|>original/app/src/main/res/xml/wide_widget_info.xml
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.co... | <?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:minWidth="320dp"
android:minHeight="@dimen/widget_wide_height"
android:minResizeWidth="200dp"
android:minResizeHeight="@dimen/w... | <|file_sep|>app/src/main/res/xml/wide_widget_info.xml.diff
original:
android:minHeight="120dp"
updated:
android:minHeight="@dimen/widget_wide_height"
<|file_sep|>original/app/src/main/res/xml/wide_widget_info.xml
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.co... | 22065081577a1d816e5409e4da90f26e13b99a0a | app/src/main/res/xml/wide_widget_info.xml | app/src/main/res/xml/wide_widget_info.xml | XML |
<|file_sep|>original/src/app/atom-theme.coffee
CSON = require 'cson'
module.exports =
class AtomTheme extends Theme
loadStylesheet: (stylesheetPath)->
@stylesheets[stylesheetPath] = window.loadStylesheet(stylesheetPath)
load: ->
if fs.extension(@path) in ['.css', '.less']
@loadStylesheet(@path)
... | module.exports =
class AtomTheme extends Theme
loadStylesheet: (stylesheetPath)->
@stylesheets[stylesheetPath] = window.loadStylesheet(stylesheetPath)
load: ->
if fs.extension(@path) in ['.css', '.less']
@loadStylesheet(@path)
else
metadataPath = fs.resolveExtension(fs.join(@path, 'package... | <|file_sep|>original/src/app/atom-theme.coffee
CSON = require 'cson'
module.exports =
class AtomTheme extends Theme
loadStylesheet: (stylesheetPath)->
@stylesheets[stylesheetPath] = window.loadStylesheet(stylesheetPath)
load: ->
if fs.extension(@path) in ['.css', '.less']
@loadStylesheet(@path)
... | a1e1bee3344bd1ef809cc22842c99a9929b6ba85 | src/app/atom-theme.coffee | src/app/atom-theme.coffee | CoffeeScript |
<|file_sep|>Gruntfile.js.diff
original:
updated:
},
'mocha_istanbul': {
coveralls: {
src: [ 'test/lib', 'test/lib/utils' ],
options: {
coverage: true,
legend: true,
check: {
l... | grunt.event.on('coverage', function(lcov, done){
require('coveralls').handleInput(lcov, function(error) {
if (error) {
console.log(error)
return done(error)
}
done()
})
})
// Load the plugins
grunt.loadNpmTasks('grunt-c... | <|file_sep|>Gruntfile.js.diff
original:
updated:
},
'mocha_istanbul': {
coveralls: {
src: [ 'test/lib', 'test/lib/utils' ],
options: {
coverage: true,
legend: true,
check: {
l... | f5b4375a90767f53698192bf448c204660c31c6a | Gruntfile.js | Gruntfile.js | JavaScript |
<|file_sep|>original/ghost/job-manager/package.json
"posttest": "yarn lint"
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@sinonjs/fake-timers": "8.1.0",
"c8": "7.11.0",
"date-fns": "2.28.0",
"delay": "5.0.0",
"mocha": "... | "posttest": "yarn lint"
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@sinonjs/fake-timers": "9.0.0",
"c8": "7.11.0",
"date-fns": "2.28.0",
"delay": "5.0.0",
"mocha": "9.1.3",
"should": "13.2.3",
"sinon": "11.1.2... | <|file_sep|>original/ghost/job-manager/package.json
"posttest": "yarn lint"
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@sinonjs/fake-timers": "8.1.0",
"c8": "7.11.0",
"date-fns": "2.28.0",
"delay": "5.0.0",
"mocha": "... | 6885cdbc90ae9caf46341b2adf64ad3314386449 | ghost/job-manager/package.json | ghost/job-manager/package.json | JSON |
<|file_sep|>original/renovate.json
{
"extends": [
"config:base"
],
"packageRules": [
{
"packagePatterns": [ "^com.google.appengine:" ],
"groupName": "AppEngine packages"
},
{
"packagePatterns": [ "^io.grpc:grpc-" ],
"groupName": "gRPC packages"
},
{
"packagePa... | ],
"packageRules": [
{
"packagePatterns": [ "^com.google.appengine:" ],
"groupName": "AppEngine packages"
},
{
"packagePatterns": [ "^io.grpc:grpc-" ],
"groupName": "gRPC packages"
},
{
"packagePatterns": [ "^io.vertx:vertex-" ],
"groupName": "Vertx packages"
... | <|file_sep|>original/renovate.json
{
"extends": [
"config:base"
],
"packageRules": [
{
"packagePatterns": [ "^com.google.appengine:" ],
"groupName": "AppEngine packages"
},
{
"packagePatterns": [ "^io.grpc:grpc-" ],
"groupName": "gRPC packages"
},
{
"packagePa... | 8687201edc9dfa4ac4d469699d7c0628cb4268b3 | renovate.json | renovate.json | JSON |
<|file_sep|>original/.github/workflows/go.yml
on: [push]
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Allocation test fails on 1.15, but works on 1.16. Disabling 1.15 for
# now.
go_version: ["1.14", "1.16"]
os: [ubuntu-latest, windows-latest, ... | on: [push]
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Allocation test fails on 1.15, but works on 1.16. Disabling 1.15 for
# now.
go_version: ["1.14", "1.16", "1.17"]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- n... | <|file_sep|>original/.github/workflows/go.yml
on: [push]
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Allocation test fails on 1.15, but works on 1.16. Disabling 1.15 for
# now.
go_version: ["1.14", "1.16"]
os: [ubuntu-latest, windows-latest, ... | defe0ad214f6ee7b324c8e2b1c0e88deb2e93b50 | .github/workflows/go.yml | .github/workflows/go.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- 3.3
updated:
<|file_sep|>.travis.yml.diff
original:
python: 3.3
os: osx
- language: generic
updated:
<|file_sep|>original/.travis.yml
python: 2.7
os: osx
- language: generic
python: 3.3
os: osx
- language: generic
python:... | os: osx
- language: generic
python: 3.4
os: osx
- language: generic
python: 3.5
os: osx
- language: generic
python: 3.6
os: osx
- language: generic
python: 3.7
os: osx
before_install:
- pip install --quiet codecov wheel
install:
- make install
... | <|file_sep|>.travis.yml.diff
original:
- 3.3
updated:
<|file_sep|>.travis.yml.diff
original:
python: 3.3
os: osx
- language: generic
updated:
<|file_sep|>original/.travis.yml
python: 2.7
os: osx
- language: generic
python: 3.3
os: osx
- language: generic
python:... | 21b7014809ea53cd8f2c6fb00b4f93ac831707e3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/assets/stylesheets/evidence_check.scss
@import "colours";
@import "measurements";
.evidence-check .row {
margin-bottom: $gutter;
}
.evidence-check-letter {
border: 1px solid $grey-3;
background-color: $grey-4;
padding: $gutter-half;
}
.waiting-for-evidence, .waiting-for-part_payment,... | @import "colours";
@import "measurements";
.evidence-check .row {
margin-bottom: $gutter;
}
.evidence-check-letter {
border: 1px solid $grey-3;
background-color: $grey-4;
padding: $gutter-half;
}
.waiting-for-evidence, .waiting-for-part_payment,
table.processed-applications, table.removed-applications {
wi... | <|file_sep|>original/app/assets/stylesheets/evidence_check.scss
@import "colours";
@import "measurements";
.evidence-check .row {
margin-bottom: $gutter;
}
.evidence-check-letter {
border: 1px solid $grey-3;
background-color: $grey-4;
padding: $gutter-half;
}
.waiting-for-evidence, .waiting-for-part_payment,... | 132df00271057d691289e93d0873613cf48db434 | app/assets/stylesheets/evidence_check.scss | app/assets/stylesheets/evidence_check.scss | SCSS |
<|file_sep|>original/README.md
# pynubank
Acesse seus extratos do Nubank pelo Python (Baseado em https://github.com/Astrocoders/nubank-api)
<|file_sep|>current/README.md
# pynubank
Acesse seus extratos do Nubank pelo Python (Baseado em https://github.com/Astrocoders/nubank-api)
<|file_sep|>updated/README.md | # pynubank
Acesse seus extratos do Nubank pelo Python ([Baseado na versão js](https://github.com/Astrocoders/nubank-api))
## Instalação
Disponível via pip
`pip install pynubank`
## Utilizando
#### Básico
```
from pynubank import Nubank
nu = Nubank('123456789', 'senha') # Utilize o CPF sem pontos ou traços
stmts =... | <|file_sep|>original/README.md
# pynubank
Acesse seus extratos do Nubank pelo Python (Baseado em https://github.com/Astrocoders/nubank-api)
<|file_sep|>current/README.md
# pynubank
Acesse seus extratos do Nubank pelo Python (Baseado em https://github.com/Astrocoders/nubank-api)
<|file_sep|>updated/README.md
# pynubank
... | 1e81828fd6a163bc76d77e69c00d26616a7c5096 | README.md | README.md | Markdown |
<|file_sep|>original/.circleci/config.yml
conda install --quiet --yes numpy scipy matplotlib sympy pandas
conda install --quiet --yes -c openbabel openbabel
conda update --quiet --all
mkdir coverage_reports
pip install --upgrade pip
pip install --q... | conda install --quiet --yes numpy scipy matplotlib sympy pandas
conda install --quiet --yes -c openbabel openbabel
conda update --quiet --all
mkdir coverage_reports
pip install --upgrade pip
pip install --quiet --ignore-installed -r requirements.tx... | <|file_sep|>original/.circleci/config.yml
conda install --quiet --yes numpy scipy matplotlib sympy pandas
conda install --quiet --yes -c openbabel openbabel
conda update --quiet --all
mkdir coverage_reports
pip install --upgrade pip
pip install --q... | 234c238132647dd1238cad8f71d8baa324197274 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>lib/console_color/railtie.rb.diff
original:
app_name = Rails.application.class.parent_name.downcase
updated:
app_name = if Rails.application.class.respond_to?(:module_parent_name)
Rails.application.class.module_parent_name
else
Rails.application.class.parent_name
... | super
app_name = if Rails.application.class.respond_to?(:module_parent_name)
Rails.application.class.module_parent_name
else
Rails.application.class.parent_name
end
environment = ENV.fetch('CONSOLE_COLOR_ENV', Rails.env)
color = ConsoleColor::COLORS[e... | <|file_sep|>lib/console_color/railtie.rb.diff
original:
app_name = Rails.application.class.parent_name.downcase
updated:
app_name = if Rails.application.class.respond_to?(:module_parent_name)
Rails.application.class.module_parent_name
else
Rails.application.class.parent_name
... | 26de427e7d445d42c145e28b15946ac3ad0f9087 | lib/console_color/railtie.rb | lib/console_color/railtie.rb | Ruby |
<|file_sep|>original/locales/pa-IN/notes.properties
<|file_sep|>current/locales/pa-IN/notes.properties
<|file_sep|>updated/locales/pa-IN/notes.properties | welcomeTitle2=ਹੈਲੋ!
welcomeText2=ਫਾਇਰਫਾਕਸ ਵਿੱਚ ਬਣੇ ਇਸ ਇੱਕ-ਸਫ਼ਾ ਨੋਟਪੈਡ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ। ਵੈੱਬ ਬਰਾਊਜ਼ ਕਰੋ। ਨੋਟਿਸ ਬਣਾਓ। ਇਹ ਬਹੁਤ ਆਸਾਨ ਹੈ।
emptyPlaceHolder=…ਨੋਟ ਕਰੋ
# LOCALIZATION NOTE (disableSync): Sync is intended as a generic
# synchronization, not Firefox Sync.
# LOCALIZATION NOTE (syncComplete): {date} is the ... | <|file_sep|>original/locales/pa-IN/notes.properties
<|file_sep|>current/locales/pa-IN/notes.properties
<|file_sep|>updated/locales/pa-IN/notes.properties
welcomeTitle2=ਹੈਲੋ!
welcomeText2=ਫਾਇਰਫਾਕਸ ਵਿੱਚ ਬਣੇ ਇਸ ਇੱਕ-ਸਫ਼ਾ ਨੋਟਪੈਡ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ। ਵੈੱਬ ਬਰਾਊਜ਼ ਕਰੋ। ਨੋਟਿਸ ਬਣਾਓ। ਇਹ ਬਹੁਤ ਆਸਾਨ ਹੈ।
emptyPlaceHolder=…ਨੋਟ ਕਰੋ... | a3c02be999341100abbb5cb0c78e10dc64c57bf5 | locales/pa-IN/notes.properties | locales/pa-IN/notes.properties | INI |
<|file_sep|>original/config.xml
<?xml version="1.0" encoding="UTF-8"?>
<widget id="io.cocoon.template.threejs.horse" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cocoon="http://cocoon.io/ns/1.0">
<name>WebGL Horse</name>
<description>
An animated 3D model of a horse running, taken from three.j... | <?xml version="1.0" encoding="UTF-8"?>
<widget id="io.cocoon.template.threejs.horse" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cocoon="http://cocoon.io/ns/1.0">
<name>WebGL Horse</name>
<description>
An animated 3D model of a horse running, taken from three.js demo list.
Url: http://th... | <|file_sep|>original/config.xml
<?xml version="1.0" encoding="UTF-8"?>
<widget id="io.cocoon.template.threejs.horse" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cocoon="http://cocoon.io/ns/1.0">
<name>WebGL Horse</name>
<description>
An animated 3D model of a horse running, taken from three.j... | f868c1aca96fb8b0f925dbec34d4ee8ff0cd5fd7 | config.xml | config.xml | XML |
<|file_sep|>original/lib/example/dbo.php
<|file_sep|>current/lib/example/dbo.php
<|file_sep|>updated/lib/example/dbo.php | <?php
/**
* SQLayerExampleDbo
* Example of SQLayerDbo implemented as singleton
*
* @category Frameworks
* @package SQLayer
* @author Roderic Linguri <rlinguri@mac.com>
* @copyright 2016 Digices, Inc.
* @license https://opensource.org/licenses/MIT
* @version 0.0.5
* @link http://www.sqla... | <|file_sep|>original/lib/example/dbo.php
<|file_sep|>current/lib/example/dbo.php
<|file_sep|>updated/lib/example/dbo.php
<?php
/**
* SQLayerExampleDbo
* Example of SQLayerDbo implemented as singleton
*
* @category Frameworks
* @package SQLayer
* @author Roderic Linguri <rlinguri@mac.com>
* @copyright... | 9b298a53ef21e937e48f04e8315daa3ccf2bceff | lib/example/dbo.php | lib/example/dbo.php | PHP |
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
sudo: false
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>.travis.yml.diff
original:
directory:
updated:
directories:
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.2
- nightly
<|file_sep|>.travis.yml.diff
original:
... |
include:
- stage: Coverage
before_script:
- mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{.disabled,}
- if [[ ! $(php -m | grep -si xdebug) ]]; then echo "xdebug required for coverage"; exit 1; fi
script:
- ./vendor/bin/phpunit --coverage-clover clover.xml... | <|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
sudo: false
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>.travis.yml.diff
original:
directory:
updated:
directories:
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.2
- nightly
<|file_sep|>.travis.yml.diff
original:
... | 47e6cd8be0869417bb04099da9bc0869b72cf205 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/cookbooks/universe_ubuntu/attributes/default.rb
default['universe']['user'] = 'vagrant'
user = default['universe']['user']
default['universe']['home'] = automatic['etc']['passwd'][user]['dir']
<|file_sep|>current/cookbooks/universe_ubuntu/attributes/default.rb
default['universe']['user'] = 'vagran... | default['universe']['user'] = 'vagrant'
default['universe']['gpu'] = false # Change to 'true' to enable gpu processing
user = default['universe']['user']
default['universe']['home'] = automatic['etc']['passwd'][user]['dir'] | <|file_sep|>original/cookbooks/universe_ubuntu/attributes/default.rb
default['universe']['user'] = 'vagrant'
user = default['universe']['user']
default['universe']['home'] = automatic['etc']['passwd'][user]['dir']
<|file_sep|>current/cookbooks/universe_ubuntu/attributes/default.rb
default['universe']['user'] = 'vagran... | 0e71d00b575d51e8687a6791fd59bdd5e06c94df | cookbooks/universe_ubuntu/attributes/default.rb | cookbooks/universe_ubuntu/attributes/default.rb | Ruby |
<|file_sep|>pwnableapp/__init__.py.diff
original:
updated:
import os
<|file_sep|>pwnableapp/__init__.py.diff
original:
updated:
old_umask = os.umask(0077)
<|file_sep|>original/pwnableapp/__init__.py
"""Must be called after config setup."""
if not self.debug:
handler = logging.FileHandler(
... | def init_logging(self):
"""Must be called after config setup."""
if not self.debug:
old_umask = os.umask(0077)
handler = logging.FileHandler(
self.config.get('LOG_FILE', '/tmp/flask.log'))
handler.setFormatter(logging.Formatter(
'%(asctime)s %(levelname)8s [%(filename)s:%... | <|file_sep|>pwnableapp/__init__.py.diff
original:
updated:
import os
<|file_sep|>pwnableapp/__init__.py.diff
original:
updated:
old_umask = os.umask(0077)
<|file_sep|>original/pwnableapp/__init__.py
"""Must be called after config setup."""
if not self.debug:
handler = logging.FileHandler(
... | 7dd683be3df9d8e6ad9c67baa19dbaf5663bdd64 | pwnableapp/__init__.py | pwnableapp/__init__.py | Python |
<|file_sep|>original/roles/base_os/tasks/main.yaml
- name: Ensure vimrc is installed for user root
copy:
src: vimrc
dest: /root/.vimrc
- name: Add KUBECONFIG to .bash_profile for user root
lineinfile:
dest: /root/.bash_profile
regexp: "KUBECONFIG="
line: "export KUBECONFIG={{ openshift_master_... |
- name: Ensure vimrc is installed for user root
copy:
src: vimrc
dest: /root/.vimrc
- name: Add KUBECONFIG to .bash_profile for user root
lineinfile:
dest: /root/.bash_profile
regexp: "KUBECONFIG="
line: "export KUBECONFIG=/var/lib/openshift/openshift.local.certificates/admin/.kubeconfig"
... | <|file_sep|>original/roles/base_os/tasks/main.yaml
- name: Ensure vimrc is installed for user root
copy:
src: vimrc
dest: /root/.vimrc
- name: Add KUBECONFIG to .bash_profile for user root
lineinfile:
dest: /root/.bash_profile
regexp: "KUBECONFIG="
line: "export KUBECONFIG={{ openshift_master_... | a22471f1e1f4fe84340976d40d02ea13bf801441 | roles/base_os/tasks/main.yaml | roles/base_os/tasks/main.yaml | YAML |
<|file_sep|>src/matchers.js.diff
original:
updated:
var toString = function (obj) {
return obj && typeof obj.toString === 'function' ? obj.toString() : obj;
};
<|file_sep|>src/matchers.js.diff
original:
message: `Expected ${actual.toString()}${not ? ' not' : ''} to be immutable`
updated:
message: `E... | };
module.exports = {
toBeImmutable: function () {
return compares(function (not, actual) {
return {
pass: passes(Immutable.Iterable.isIterable(actual), not),
message: `Expected ${toString(actual)}${not ? ' not' : ''} to be immutable`
};
});
},
toEqualImmutable: function () {... | <|file_sep|>src/matchers.js.diff
original:
updated:
var toString = function (obj) {
return obj && typeof obj.toString === 'function' ? obj.toString() : obj;
};
<|file_sep|>src/matchers.js.diff
original:
message: `Expected ${actual.toString()}${not ? ' not' : ''} to be immutable`
updated:
message: `E... | 1973e8d4f67d3a8b80432f486cd6efd86fc0df00 | src/matchers.js | src/matchers.js | JavaScript |
<|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Keep hacking first, it pulls in the right versions of flake8, mc... | # The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Keep hacking first, it pulls in the right versions of flake8, mccabe and pyflakes
hacking>=3.0.1,<3.1.0 # A... | <|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Keep hacking first, it pulls in the right versions of flake8, mc... | a14c2d9b1a08b76eb26fbfd72a7904f03dc6b673 | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/main.cpp
#include <iostream>
#include "fixed_point.hpp"
int main() {
auto g1 = [](double x) -> double {
return (x * x + 2) / 3;
};
auto g2 = [](double x) -> double {
return std::sqrt(3 * x - 2);
};
auto g3 = [](double x) -> double {
return 3 - (2 / x... | #include <iostream>
#include "fixed_point.hpp"
int main() {
auto g1 = [](double x) -> double {
return (x * x + 2) / 3;
};
// will result in NaNs because the value under the square root
// will become negative at some point.
auto g2 = [](double x) -> double {
return std::sqrt(3 * ... | <|file_sep|>original/main.cpp
#include <iostream>
#include "fixed_point.hpp"
int main() {
auto g1 = [](double x) -> double {
return (x * x + 2) / 3;
};
auto g2 = [](double x) -> double {
return std::sqrt(3 * x - 2);
};
auto g3 = [](double x) -> double {
return 3 - (2 / x... | ed07fd6ee8ed5dd7cb9dabe5a9be71eea2e98642 | main.cpp | main.cpp | C++ |
<|file_sep|>original/sydent/http/servlets/getvalidated3pidservlet.py
<|file_sep|>current/sydent/http/servlets/getvalidated3pidservlet.py
<|file_sep|>updated/sydent/http/servlets/getvalidated3pidservlet.py | # -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
# Copyright 2014 matrix.org
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | <|file_sep|>original/sydent/http/servlets/getvalidated3pidservlet.py
<|file_sep|>current/sydent/http/servlets/getvalidated3pidservlet.py
<|file_sep|>updated/sydent/http/servlets/getvalidated3pidservlet.py
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
# Copyright 2014 matrix.org
#
# Licensed under the Apache Licen... | 5806153edfde7d6e27b628c38eb0f9333642711d | sydent/http/servlets/getvalidated3pidservlet.py | sydent/http/servlets/getvalidated3pidservlet.py | Python |
<|file_sep|>original/source/components/login/tasks/build-external-styles.js
module.exports = function(gulp, plugins, config, options) {
return function() {
options = options || { dest: true };
if (options.dest === undefined) {
options.dest = true;
}
var dest = path.join(config.deployment.root,... | module.exports = function(gulp, plugins, config, options) {
return function() {
options = options || { dest: true };
if (options.dest === undefined) {
options.dest = true;
}
var dest = path.join(config.deployment.root, config.deployment.styles);
return gulp.src(mainBowerFiles({
... | <|file_sep|>original/source/components/login/tasks/build-external-styles.js
module.exports = function(gulp, plugins, config, options) {
return function() {
options = options || { dest: true };
if (options.dest === undefined) {
options.dest = true;
}
var dest = path.join(config.deployment.root,... | e95e71ec6ad214d53f7f6c9524d3213db056e06c | source/components/login/tasks/build-external-styles.js | source/components/login/tasks/build-external-styles.js | JavaScript |
<|file_sep|>original/webpack.config.js
var webpack = require('webpack');
module.exports = {
entry: [
'webpack-dev-server/client?http://localhost:3000',
'webpack/hot/dev-server',
'./scripts/index'
],
output: {
path: __dirname,
filename: 'bundle.js',
publicPath: '/scripts/'
},
plugins: ... | var webpack = require('webpack');
module.exports = {
devtool: 'eval',
entry: [
'webpack-dev-server/client?http://localhost:3000',
'webpack/hot/dev-server',
'./scripts/index'
],
output: {
path: __dirname,
filename: 'bundle.js',
publicPath: '/scripts/'
},
plugins: [
new webpack.Ho... | <|file_sep|>original/webpack.config.js
var webpack = require('webpack');
module.exports = {
entry: [
'webpack-dev-server/client?http://localhost:3000',
'webpack/hot/dev-server',
'./scripts/index'
],
output: {
path: __dirname,
filename: 'bundle.js',
publicPath: '/scripts/'
},
plugins: ... | 6851efdd1fd5d214c70eb8db093e6d158870eece | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>original/main/dbms_gui_02/dbms_gui_02/dbms_objects_data/Table.cs
public Table()
{
}
public bool insertRows(string[] listOfNames, Type[] listOfTypes)
{
if((listOfNames == null) || (listOfTypes == null))
{
return false;
... | {
}
public bool insertRows(string[] listOfNames, Type[] listOfTypes)
{
if((listOfNames == null) || (listOfTypes == null))
{
return false;
}
if(listOfNames.Length != listOfTypes.Length)
{
return... | <|file_sep|>original/main/dbms_gui_02/dbms_gui_02/dbms_objects_data/Table.cs
public Table()
{
}
public bool insertRows(string[] listOfNames, Type[] listOfTypes)
{
if((listOfNames == null) || (listOfTypes == null))
{
return false;
... | 53f7f0a9f08d041e639ed071350f852c7e7ac1bd | main/dbms_gui_02/dbms_gui_02/dbms_objects_data/Table.cs | main/dbms_gui_02/dbms_gui_02/dbms_objects_data/Table.cs | C# |
<|file_sep|>original/spec/lib/everything/add_logger_to_everything_refinement_spec.rb
after { Everything.logger = nil }
describe '#logger' do
it 'can be used' do
expect{ Everything.logger }.not_to raise_error
end
it 'defaults to a logger', :aggregate_failures do
actual_logger... |
after { Everything.logger = nil }
describe '#logger' do
it 'can be used' do
expect{ Everything.logger }.not_to raise_error
end
context 'when a logger was previously set' do
let(:test_logger) do
instance_double(Logger)
end
before do
Everyt... | <|file_sep|>original/spec/lib/everything/add_logger_to_everything_refinement_spec.rb
after { Everything.logger = nil }
describe '#logger' do
it 'can be used' do
expect{ Everything.logger }.not_to raise_error
end
it 'defaults to a logger', :aggregate_failures do
actual_logger... | ee1c7271f2b4a38cf904c75ed66ffcd2adbfabc6 | spec/lib/everything/add_logger_to_everything_refinement_spec.rb | spec/lib/everything/add_logger_to_everything_refinement_spec.rb | Ruby |
<|file_sep|>original/spec/system/course_ores_plots_spec.rb
<|file_sep|>current/spec/system/course_ores_plots_spec.rb
<|file_sep|>updated/spec/system/course_ores_plots_spec.rb | # frozen_string_literal: true
require 'rails_helper'
require "#{Rails.root}/lib/analytics/histogram_plotter"
describe 'Course ORES plots', type: :system do
describe '#course_plot' do
let(:course) { create(:course) }
let(:file_path) { 'assets/system/analytics/School—Title_(Term)-ores-0.png' }
before do
... | <|file_sep|>original/spec/system/course_ores_plots_spec.rb
<|file_sep|>current/spec/system/course_ores_plots_spec.rb
<|file_sep|>updated/spec/system/course_ores_plots_spec.rb
# frozen_string_literal: true
require 'rails_helper'
require "#{Rails.root}/lib/analytics/histogram_plotter"
describe 'Course ORES plots', ty... | d70eeffa71143ab22fecf16fecb32b802376b3bf | spec/system/course_ores_plots_spec.rb | spec/system/course_ores_plots_spec.rb | Ruby |
<|file_sep|>original/rxdiffutil/src/main/res/values/styles.xml
<|file_sep|>current/rxdiffutil/src/main/res/values/styles.xml
<|file_sep|>updated/rxdiffutil/src/main/res/values/styles.xml | <?xml version="1.0" encoding="utf-8"?>
<!--
~ MIT License
~
~ Copyright (c) 2017 Stan Mots (Storix)
~
~ Permission is hereby granted, free of charge, to any person obtaining a copy
~ of this software and associated documentation files (the "Software"), to deal
~ in the Software without restriction, includ... | <|file_sep|>original/rxdiffutil/src/main/res/values/styles.xml
<|file_sep|>current/rxdiffutil/src/main/res/values/styles.xml
<|file_sep|>updated/rxdiffutil/src/main/res/values/styles.xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ MIT License
~
~ Copyright (c) 2017 Stan Mots (Storix)
~
~ Permission is her... | 48b15aeb66925e3b2821e8cfb96016e9bc581bad | rxdiffutil/src/main/res/values/styles.xml | rxdiffutil/src/main/res/values/styles.xml | XML |
<|file_sep|>original/src/asset-picker/AssetPickerDropDown.js
<div className="param-row">
<DropDown
shown={dropdownShown}
title="Assets"
onClose={this.onClose}
>
<AssetPickerContainer
... | <div className="param-row">
<DropDown
shown={dropdownShown}
title="Assets"
onClose={this.onClose}
>
<AssetPickerContainer
index={index}
selectedAsse... | <|file_sep|>original/src/asset-picker/AssetPickerDropDown.js
<div className="param-row">
<DropDown
shown={dropdownShown}
title="Assets"
onClose={this.onClose}
>
<AssetPickerContainer
... | 466fa84e2c7b474dc0efb0f3edf0a8fa5fd9360b | src/asset-picker/AssetPickerDropDown.js | src/asset-picker/AssetPickerDropDown.js | JavaScript |
<|file_sep|>original/PcapDotNet/src/PcapDotNet.Core/PacketTotalStatistics.h
}
/// <summary>
/// Number of packets dropped by the driver.
/// </summary>
property unsigned int PacketsDroppedByDriver
{
unsigned int get();
}
/// <summary>
... | }
/// <summary>
/// Number of packets dropped by the driver.
/// </summary>
property unsigned int PacketsDroppedByDriver
{
unsigned int get();
}
// TODO: Update documentation when support is added.
/// <summary>
/// Number of ... | <|file_sep|>original/PcapDotNet/src/PcapDotNet.Core/PacketTotalStatistics.h
}
/// <summary>
/// Number of packets dropped by the driver.
/// </summary>
property unsigned int PacketsDroppedByDriver
{
unsigned int get();
}
/// <summary>
... | 14e47d26ce9d896bc47e4873175013c529e14e4c | PcapDotNet/src/PcapDotNet.Core/PacketTotalStatistics.h | PcapDotNet/src/PcapDotNet.Core/PacketTotalStatistics.h | C |
<|file_sep|>original/lib/tinkoff/payment.rb
# Attributes for Cancel method
attr_reader :original_amount, :new_amount
def initialize(response)
@terminal_key = response['TerminalKey']
@amount = response['Amount']
@order_id = response['OrderId']
@success = response['Success']
@st... | @status = response['Status']
@payment_id = response['PaymentId']
@error_code = response['ErrorCode']
@payment_url = response['PaymentURL']
@message = response['Message']
@details = response['Details']
# Attributes for Cancel method
@original_amount = response['OriginalAm... | <|file_sep|>original/lib/tinkoff/payment.rb
# Attributes for Cancel method
attr_reader :original_amount, :new_amount
def initialize(response)
@terminal_key = response['TerminalKey']
@amount = response['Amount']
@order_id = response['OrderId']
@success = response['Success']
@st... | 9b89841d8cae61cdb3f3d80f2424222b244f459e | lib/tinkoff/payment.rb | lib/tinkoff/payment.rb | Ruby |
<|file_sep|>original/.circleci/config.yml
version: 2
jobs:
build:
docker:
- image: circleci/python:2.7.15-stretch-node-browsers
steps:
- checkout
- run:
name: Install dependencies
command: |
npm i
virtualenv venv
. venv/bin/activate
... | version: 2
jobs:
build:
docker:
- image: circleci/python:3.6-stretch-node-browsers
steps:
- checkout
- run:
name: Install dependencies
command: |
npm i
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
... | <|file_sep|>original/.circleci/config.yml
version: 2
jobs:
build:
docker:
- image: circleci/python:2.7.15-stretch-node-browsers
steps:
- checkout
- run:
name: Install dependencies
command: |
npm i
virtualenv venv
. venv/bin/activate
... | edadac8d32614c88e0f78bd0465f77c23eacdafb | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/composer.json
"name": "Dynamic, Inc",
"email": "dev@dy.ag"
}
],
"keywords": [
"silverstripe", "geocoder", "geocoding"
],
"type": "silverstripe-vendormodule",
"license": "BSD-3-Clause",
"require": {
"silverstripe/recipe-cms": "^... | "name": "Dynamic, Inc",
"email": "dev@dy.ag"
}
],
"keywords": [
"silverstripe", "geocoder", "geocoding"
],
"type": "silverstripe-vendormodule",
"license": "BSD-3-Clause",
"require": {
"silverstripe/recipe-cms": "^1.0 || ^4.0",
"silverstripe... | <|file_sep|>original/composer.json
"name": "Dynamic, Inc",
"email": "dev@dy.ag"
}
],
"keywords": [
"silverstripe", "geocoder", "geocoding"
],
"type": "silverstripe-vendormodule",
"license": "BSD-3-Clause",
"require": {
"silverstripe/recipe-cms": "^... | b74d078395cd43d285c8d9855c2bccab9c1d32af | composer.json | composer.json | JSON |
<|file_sep|>original/package.json
{
"name": "sinon",
"description": "JavaScript test spies, stubs and mocks.",
"version": "1.14.1",
"homepage": "http://cjohansen.no/sinon/",
"author": "Christian Johansen",
"repository": {
"type": "git",
"url": "http://github.com/cjohansen/Sinon.JS.git"
},
"bugs"... | {
"name": "sinon",
"description": "JavaScript test spies, stubs and mocks.",
"version": "1.14.1",
"homepage": "http://sinonjs.org/",
"author": "Christian Johansen",
"repository": {
"type": "git",
"url": "http://github.com/cjohansen/Sinon.JS.git"
},
"bugs": {
"mail": "christian@cjohansen.no",... | <|file_sep|>original/package.json
{
"name": "sinon",
"description": "JavaScript test spies, stubs and mocks.",
"version": "1.14.1",
"homepage": "http://cjohansen.no/sinon/",
"author": "Christian Johansen",
"repository": {
"type": "git",
"url": "http://github.com/cjohansen/Sinon.JS.git"
},
"bugs"... | 9eb1a0fb2261d9d77bde7dbbd414f9009d21c6e4 | package.json | package.json | JSON |
<|file_sep|>original/README.md
# Rails app with knapsack
This is example Ruby on Rails app with knapsack gem.
You can read more about free knapsack gem here:
https://github.com/ArturT/knapsack
<|file_sep|>current/README.md
# Rails app with knapsack
This is example Ruby on Rails app with knapsack gem.
You can read ... | # Rails app with knapsack
This is example Ruby on Rails app with knapsack gem.
You can read more about free knapsack gem here:
https://github.com/ArturT/knapsack
## Parallel minitest test suite with knapsack
First generate report `knapsack_minitest_report.json` with:
$ KNAPSACK_GENERATE_REPORT=true bundle exe... | <|file_sep|>original/README.md
# Rails app with knapsack
This is example Ruby on Rails app with knapsack gem.
You can read more about free knapsack gem here:
https://github.com/ArturT/knapsack
<|file_sep|>current/README.md
# Rails app with knapsack
This is example Ruby on Rails app with knapsack gem.
You can read ... | 0366a653a0e8073cfdce4259ae3543561b487f8e | README.md | README.md | Markdown |
<|file_sep|>original/.github/workflows/ci.yml
on: [push, pull_request]
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.5, 2.6, 2.7, '3.0', '3.1', head, jruby, jruby-head, truffleruby]
runs-on: ${{ matrix.os }}
env:
JRUBY_OPTS: -... |
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.5, 2.6, 2.7, '3.0', '3.1', head, jruby, jruby-head, truffleruby]
runs-on: ${{ matrix.os }}
env:
JRUBY_OPTS: -J-Xss16m
steps:
- uses: actions/checkout@v2
with:
... | <|file_sep|>original/.github/workflows/ci.yml
on: [push, pull_request]
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.5, 2.6, 2.7, '3.0', '3.1', head, jruby, jruby-head, truffleruby]
runs-on: ${{ matrix.os }}
env:
JRUBY_OPTS: -... | c91b1d851e0406d5f708d5f5fa18cd4ace0d0d6f | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>index.html.diff
original:
updated:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Caedence's Corner</title>
<link rel="stylesheet" href="styles... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Caedence's Corner</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="styles.css" charset="utf-8">
</head>
<body>
<section class="container wrap">
... | <|file_sep|>index.html.diff
original:
updated:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Caedence's Corner</title>
<link rel="stylesheet" href="styles... | c562612ff04b4e4383941003f42d3f06c4baa725 | index.html | index.html | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.