prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/.travis.yml
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
sudo: false
cache: packages
r_github_packages:
- rstats-db/DBItest
<|file_sep|>current/.travis.yml
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language:... | # R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
sudo: false
cache: packages
r_github_packages:
- hadley/devtools | <|file_sep|>original/.travis.yml
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
sudo: false
cache: packages
r_github_packages:
- rstats-db/DBItest
<|file_sep|>current/.travis.yml
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language:... | a2a10d9ffda2fb7a3407d17f0fd9cd04f4679a82 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# URIParser
## What?
This is a very simple native gem to Google's
[chromium URL canonicalization library](http://code.google.com/p/google-url/).
Google's code is is BSD-licensed.
This gem requires the ICU library. Under Linux (Ubuntu) the proper
version may be installed via apt-get (e.... | # URIParser
## What?
This is a very simple native gem to Google's
[chromium URL canonicalization library](http://code.google.com/p/google-url/).
Google's code is is BSD-licensed.
This gem requires the ICU library. Under Linux (Ubuntu) the proper
version may be installed via apt-get (e.g. `apt-get install libicu40`).... | <|file_sep|>original/README.md
# URIParser
## What?
This is a very simple native gem to Google's
[chromium URL canonicalization library](http://code.google.com/p/google-url/).
Google's code is is BSD-licensed.
This gem requires the ICU library. Under Linux (Ubuntu) the proper
version may be installed via apt-get (e.... | cde0e6f5c3b23eac0d3666b2eed3eca497adcf99 | README.md | README.md | Markdown |
<|file_sep|>original/lib/nidyx/reader.rb
puts e.message
exit 1
rescue EmptySchemaError
puts "Schema read from #{path} is empty"
exit 1
rescue StandardError => e
puts e.message
exit 1
end
schema
end
# @param schema [Hash] an object contain... | exit 1
rescue EmptySchemaError
puts "Schema read from #{path} is empty"
exit 1
rescue StandardError => e
puts e.message
exit 1
end
schema
end
# @param schema [Hash] an object containing JSON schema
# @return [Boolean] true if the schema is em... | <|file_sep|>original/lib/nidyx/reader.rb
puts e.message
exit 1
rescue EmptySchemaError
puts "Schema read from #{path} is empty"
exit 1
rescue StandardError => e
puts e.message
exit 1
end
schema
end
# @param schema [Hash] an object contain... | 3c2d9fe41bfb3549fd0863c29c05e272a074cf56 | lib/nidyx/reader.rb | lib/nidyx/reader.rb | Ruby |
<|file_sep|>original/README.md

=======
Paint and imaging software for Haiku, originally written for BeOS by Sum Software.

Compilation
-----------
To compile, simply run jam:
$> jam
Then you can run jam install to copy binari... | 
=======
Paint and imaging software for Haiku, originally written for BeOS by Sum Software.

Compilation
-----------
To compile, simply run jam:
$> jam
Then you can run jam install to copy binaries and data files to subdirectory "target":
$> jam install | <|file_sep|>original/README.md

=======
Paint and imaging software for Haiku, originally written for BeOS by Sum Software.

Compilation
-----------
To compile, simply run jam:
$> jam
Then you can run jam install to copy binari... | 7739a709ed3f4f745c7351bdc64b983cb19263ee | README.md | README.md | Markdown |
<|file_sep|>original/app/controllers/courses_controller.rb
has_scope :by_name
has_scope :by_category
has_scope :by_organizer
decorates_assigned :course
before_action :authenticate_user!, only: [:new, :create]
def index
@courses = apply_scopes(Course.accessible_by(current_user)).paginate(
page: ... | has_scope :by_name
has_scope :by_category
has_scope :by_organizer
decorates_assigned :course
before_action :authenticate_user!, only: [:new, :create]
def index
@courses = apply_scopes(Course.accessible_by(current_user)).paginate(
page: params[:page].present? ? params[:page] : 1,
per_page:... | <|file_sep|>original/app/controllers/courses_controller.rb
has_scope :by_name
has_scope :by_category
has_scope :by_organizer
decorates_assigned :course
before_action :authenticate_user!, only: [:new, :create]
def index
@courses = apply_scopes(Course.accessible_by(current_user)).paginate(
page: ... | 2f9b844271af023c4bf791c797d42e41db3c349c | app/controllers/courses_controller.rb | app/controllers/courses_controller.rb | Ruby |
<|file_sep|>original/bin/uat_deploy.sh
ROOT=$(dirname "$0")
DYNAMIC_HOSTNAME=$1
HELM_DIR="$ROOT/../helm_deploy/cla-backend/"
VALUES="values-uat-static.yaml"
if [ $DYNAMIC_HOSTNAME = true ]; then
VALUES="values-uat.yaml"
fi
helm upgrade $RELEASE_NAME \
$HELM_DIR \
--namespace=${KUBE_ENV_UAT_NAMESPACE} \
--value... |
ROOT=$(dirname "$0")
DYNAMIC_HOSTNAME=$1
HELM_DIR="$ROOT/../helm_deploy/cla-backend/"
VALUES="values-uat-static.yaml"
if [ $DYNAMIC_HOSTNAME = true ]; then
VALUES="values-uat.yaml"
fi
helm upgrade $RELEASE_NAME \
$HELM_DIR \
--namespace=${KUBE_ENV_UAT_NAMESPACE} \
--values "${HELM_DIR}/$VALUES" \
--set fulln... | <|file_sep|>original/bin/uat_deploy.sh
ROOT=$(dirname "$0")
DYNAMIC_HOSTNAME=$1
HELM_DIR="$ROOT/../helm_deploy/cla-backend/"
VALUES="values-uat-static.yaml"
if [ $DYNAMIC_HOSTNAME = true ]; then
VALUES="values-uat.yaml"
fi
helm upgrade $RELEASE_NAME \
$HELM_DIR \
--namespace=${KUBE_ENV_UAT_NAMESPACE} \
--value... | 04ffef7a490d72d6d0fea12b5ddc5e993b2d35fd | bin/uat_deploy.sh | bin/uat_deploy.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
python:
- 2.7
os:
- osx
- linux
updated:
matrix:
include:
- os: osx
env:
- OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include
- OPENSSL_LIB_DIR=/usr/local/opt/openssl/lib
<|file_sep|>original/.travis.yml
language: rust
sudo: false
cache: cargo
rust:
- nightly
- 1.9... | language: rust
sudo: false
cache: cargo
rust:
- nightly
- 1.9.0
matrix:
include:
- os: osx
env:
- OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include
- OPENSSL_LIB_DIR=/usr/local/opt/openssl/lib
env:
- RUST_BACKTRACE=1
before_install:
- test TRAVIS_OS_NAME != "osx" || (brew update && brew install openssl... | <|file_sep|>.travis.yml.diff
original:
python:
- 2.7
os:
- osx
- linux
updated:
matrix:
include:
- os: osx
env:
- OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include
- OPENSSL_LIB_DIR=/usr/local/opt/openssl/lib
<|file_sep|>original/.travis.yml
language: rust
sudo: false
cache: cargo
rust:
- nightly
- 1.9... | 99b612b4b7172dac309c7f167c6ebcddd1899c09 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/api/base.rb
CONTENT_TYPE = "application/vnd.api+json"
RACK_CONTENT_TYPE_HEADER = {"content-type" => CONTENT_TYPE}
HTTP_STATUS_CODES = Rack::Utils::HTTP_STATUS_CODES.invert
prefix 'api'
version 'v1', using: :path
# content_type :jsonapi, CONTENT_TYPE
content_type :j... | CONTENT_TYPE = "application/vnd.api+json"
RACK_CONTENT_TYPE_HEADER = {"content-type" => CONTENT_TYPE}
HTTP_STATUS_CODES = Rack::Utils::HTTP_STATUS_CODES.invert
prefix 'api'
version 'v1', using: :path
# content_type :jsonapi, CONTENT_TYPE
content_type :jsonapi, 'application/json'
format... | <|file_sep|>original/app/api/base.rb
CONTENT_TYPE = "application/vnd.api+json"
RACK_CONTENT_TYPE_HEADER = {"content-type" => CONTENT_TYPE}
HTTP_STATUS_CODES = Rack::Utils::HTTP_STATUS_CODES.invert
prefix 'api'
version 'v1', using: :path
# content_type :jsonapi, CONTENT_TYPE
content_type :j... | 5b6ef624fa8865918d06125eea4f848756d8bf8a | app/api/base.rb | app/api/base.rb | Ruby |
<|file_sep|>original/requirements.txt
asn1crypto==0.22.0
attrs==17.2.0
automat==0.6.0
cffi==1.10.0; platform_python_implementation != 'PyPy'
constantly==15.1.0
cryptography==2.0
enum34==1.1.6
idna==2.5
incremental==17.5.0
ipaddress==1.0.18
lxml==3.8.0
packaging==16.8
pyasn1-modules==0.0.9
pyasn1==0.3.1
pycparser==2.18;... | asn1crypto==0.22.0
attrs==17.2.0
automat==0.6.0
cffi==1.10.0; platform_python_implementation != 'PyPy'
constantly==15.1.0
cryptography==2.0
enum34==1.1.6
idna==2.5
incremental==17.5.0
ipaddress==1.0.18
lxml==3.8.0
packaging==16.8
pyasn1-modules==0.0.10
pyasn1==0.3.1
pycparser==2.18; platform_python_implementation != 'P... | <|file_sep|>original/requirements.txt
asn1crypto==0.22.0
attrs==17.2.0
automat==0.6.0
cffi==1.10.0; platform_python_implementation != 'PyPy'
constantly==15.1.0
cryptography==2.0
enum34==1.1.6
idna==2.5
incremental==17.5.0
ipaddress==1.0.18
lxml==3.8.0
packaging==16.8
pyasn1-modules==0.0.9
pyasn1==0.3.1
pycparser==2.18;... | d196e5e8447e14b3f429425ef5cba045b4533447 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/creator/x-gluon-mimetypes.xml
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-gluon-project">
<glob pattern="game.gluonproject" />
<comment>Gluon Project File</comment>
</mime-type>
<mime-type type="application/x-g... | <?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-gluon-project">
<glob pattern="game.gluonproject" />
<comment>Gluon Project File</comment>
</mime-type>
<mime-type type="application/x-gluon-scene">... | <|file_sep|>original/creator/x-gluon-mimetypes.xml
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-gluon-project">
<glob pattern="game.gluonproject" />
<comment>Gluon Project File</comment>
</mime-type>
<mime-type type="application/x-g... | 3dbfd90f81033d5d25518d3f3030e86f26416cbb | creator/x-gluon-mimetypes.xml | creator/x-gluon-mimetypes.xml | XML |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "bundle exec rake db:migrate > /dev/null 2>&1"
- "RAILS_ENV=test bundle exec rake db:migrate > /dev/null 2>&1"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
... | language: ruby
rvm:
- 1.9.3
- 2.0.0
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "bundle exec rake db:migrate > /dev/null 2>&1"
- "RAILS_ENV=test bundle exec rake db:migrate > /dev/null 2>&1"
before_install:
- "gem install bundler" | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "bundle exec rake db:migrate > /dev/null 2>&1"
- "RAILS_ENV=test bundle exec rake db:migrate > /dev/null 2>&1"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
... | 231c369044a740ecb20065db5b73f4a7519cf38d | .travis.yml | .travis.yml | YAML |
<|file_sep|>saleor/product/management/commands/populatedb.py.diff
original:
from django.db import IntegrityError
updated:
<|file_sep|>saleor/product/management/commands/populatedb.py.diff
original:
try:
User.objects.create_superuser(**credentials)
except IntegrityError:
updated:... | def handle(self, *args, **options):
for msg in create_items(self.placeholders_dir, 10):
self.stdout.write(msg)
for msg in create_users(10):
self.stdout.write(msg)
for msg in create_orders(20):
self.stdout.write(msg)
if options['createsuperuser']:
... | <|file_sep|>saleor/product/management/commands/populatedb.py.diff
original:
from django.db import IntegrityError
updated:
<|file_sep|>saleor/product/management/commands/populatedb.py.diff
original:
try:
User.objects.create_superuser(**credentials)
except IntegrityError:
updated:... | 02a95bafbcf739cef6306cdd0d785743f2dd7370 | saleor/product/management/commands/populatedb.py | saleor/product/management/commands/populatedb.py | Python |
<|file_sep|>original/src/Exceptions.php
class DuplicateUsernameException extends AuthException {}
class AmbiguousUsernameException extends AuthException {}
class AttemptCancelledException extends AuthException {}
class ResetDisabledException extends AuthException {}
class ConfirmationRequestNotFound extends AuthExc... | class TooManyRequestsException extends AuthException {}
class DuplicateUsernameException extends AuthException {}
class AmbiguousUsernameException extends AuthException {}
class AttemptCancelledException extends AuthException {}
class ResetDisabledException extends AuthException {}
class ConfirmationRequestNotFoun... | <|file_sep|>original/src/Exceptions.php
class DuplicateUsernameException extends AuthException {}
class AmbiguousUsernameException extends AuthException {}
class AttemptCancelledException extends AuthException {}
class ResetDisabledException extends AuthException {}
class ConfirmationRequestNotFound extends AuthExc... | 352260c759c9171365c380a8699e29cc12356595 | src/Exceptions.php | src/Exceptions.php | PHP |
<|file_sep|>original/requirements/common.txt
# Markdown & LaTeX
jinja2==2.9.6
MarkupSafe==1.0
pypandoc==1.4
markdown==2.6.9
# misc
bpython==0.16
redis==2.10.6
rollbar==0.13.12
# Compressor
django-compressor==2.2
rcssmin==1.0.6
rjsmin==1.0.12
# Auth
django-authtools==1.6.0
django-allauth==0.33.0
defusedxml==0.5.0
<|... |
# Markdown & LaTeX
jinja2==2.9.6
MarkupSafe==1.0
pypandoc==1.4
markdown==2.6.9
# misc
bpython==0.16
redis==2.10.6
rollbar==0.13.13
# Compressor
django-compressor==2.2
rcssmin==1.0.6
rjsmin==1.0.12
# Auth
django-authtools==1.6.0
django-allauth==0.33.0
defusedxml==0.5.0 | <|file_sep|>original/requirements/common.txt
# Markdown & LaTeX
jinja2==2.9.6
MarkupSafe==1.0
pypandoc==1.4
markdown==2.6.9
# misc
bpython==0.16
redis==2.10.6
rollbar==0.13.12
# Compressor
django-compressor==2.2
rcssmin==1.0.6
rjsmin==1.0.12
# Auth
django-authtools==1.6.0
django-allauth==0.33.0
defusedxml==0.5.0
<|... | 1da5273978f65a1119dc053d170678ab72d18437 | requirements/common.txt | requirements/common.txt | Text |
<|file_sep|>original/tests/bits/find_cell_4.cc
<|file_sep|>current/tests/bits/find_cell_4.cc
<|file_sep|>updated/tests/bits/find_cell_4.cc | //---------------------------- find_cell_1.cc ---------------------------
// $Id$
// Version: $Name$
//
// Copyright (C) 2003, 2004, 2005, 2006 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
// to the f... | <|file_sep|>original/tests/bits/find_cell_4.cc
<|file_sep|>current/tests/bits/find_cell_4.cc
<|file_sep|>updated/tests/bits/find_cell_4.cc
//---------------------------- find_cell_1.cc ---------------------------
// $Id$
// Version: $Name$
//
// Copyright (C) 2003, 2004, 2005, 2006 by the deal.II authors
... | 21124b2f6eb49b5c25f605bff302293ef8b859a1 | tests/bits/find_cell_4.cc | tests/bits/find_cell_4.cc | C++ |
<|file_sep|>original/config/initializers/tmpdir.rb
# frozen_string_literal: true
class Dir
def self.tmpdir
OpenWebslides.config.tmpdir.to_s
end
end
<|file_sep|>current/config/initializers/tmpdir.rb
# frozen_string_literal: true
class Dir
def self.tmpdir
OpenWebslides.config.tmpdir.to_s
end
end
<|file_... | # frozen_string_literal: true
unless Rails.env.test?
class Dir
def self.tmpdir
OpenWebslides.config.tmpdir.to_s
end
end
end | <|file_sep|>original/config/initializers/tmpdir.rb
# frozen_string_literal: true
class Dir
def self.tmpdir
OpenWebslides.config.tmpdir.to_s
end
end
<|file_sep|>current/config/initializers/tmpdir.rb
# frozen_string_literal: true
class Dir
def self.tmpdir
OpenWebslides.config.tmpdir.to_s
end
end
<|file_... | aa3e21dccf888da7b2715499f7e53a894eff2150 | config/initializers/tmpdir.rb | config/initializers/tmpdir.rb | Ruby |
<|file_sep|>recipes/timit/utils/extract_features_db.sh.diff
original:
updated:
if [ ! -z $fea_dir_ext ]; then
ln -sf $fea_dir_ext $fea_dir
else
# Create the output directory.
mkdir -p "$fea_dir"
<|file_sep|>recipes/timit/utils/extract_features_db.sh.diff
original:
# Create the outpu... | if [ ! -z $fea_dir_ext ]; then
ln -sf $fea_dir_ext $fea_dir
else
# Create the output directory.
mkdir -p "$fea_dir"
# Extract the features
amdtk_run $parallel_profile \
--ntasks "$parallel_n_core" \
--options "$parallel_opts" \
"extrac... | <|file_sep|>recipes/timit/utils/extract_features_db.sh.diff
original:
updated:
if [ ! -z $fea_dir_ext ]; then
ln -sf $fea_dir_ext $fea_dir
else
# Create the output directory.
mkdir -p "$fea_dir"
<|file_sep|>recipes/timit/utils/extract_features_db.sh.diff
original:
# Create the outpu... | 151938f55f8024466f60822a140400f6d7a6d559 | recipes/timit/utils/extract_features_db.sh | recipes/timit/utils/extract_features_db.sh | Shell |
<|file_sep|>.expeditor/coverage.pipeline.yml.diff
original:
expeditor:
secrets:
COVERALLS_REPO_TOKEN:
path: secret/coveralls/inspec/train
field: repo_token
updated:
<|file_sep|>original/.expeditor/coverage.pipeline.yml
---
expeditor:
secrets:
COVERALLS_REPO_TOKEN:
path: secret/coveralls/i... | ---
steps:
- label: coverage
commands:
- /workdir/.expeditor/buildkite/coverage.sh
expeditor:
secrets:
COVERALLS_REPO_TOKEN:
path: secret/coveralls/inspec/train
field: repo_token
executor:
docker:
environment:
- CI_ENABLE_COVERAGE="t... | <|file_sep|>.expeditor/coverage.pipeline.yml.diff
original:
expeditor:
secrets:
COVERALLS_REPO_TOKEN:
path: secret/coveralls/inspec/train
field: repo_token
updated:
<|file_sep|>original/.expeditor/coverage.pipeline.yml
---
expeditor:
secrets:
COVERALLS_REPO_TOKEN:
path: secret/coveralls/i... | 80af8a45832537e9dab80f6b2708e303e2f427eb | .expeditor/coverage.pipeline.yml | .expeditor/coverage.pipeline.yml | YAML |
<|file_sep|>original/Bravo/Models/Album.cs
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Bravo.Models {
public class Album {
[Required]
public int AlbumId { get; set; }
[Required, MaxLength(255), Display(Name = "Title")]
public string AlbumName { get; set; }
[Re... | using System.ComponentModel.DataAnnotations;
namespace Bravo.Models {
public class Album {
[Required]
public int AlbumId { get; set; }
[Required, MaxLength(255), Display(Name = "Title")]
public string AlbumName { get; set; }
[Required]
public int GenreId { get; set; }
[Required]
public int ArtistId... | <|file_sep|>original/Bravo/Models/Album.cs
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Bravo.Models {
public class Album {
[Required]
public int AlbumId { get; set; }
[Required, MaxLength(255), Display(Name = "Title")]
public string AlbumName { get; set; }
[Re... | 80beb6b7b4b7cf12dec0ecd74dfa40e485039935 | Bravo/Models/Album.cs | Bravo/Models/Album.cs | C# |
<|file_sep|>original/README.rst
Pyramid Social Network Authentication
=====================================
.. image:: https://secure.travis-ci.org/lorenzogil/pyramid_sna.png
pyramid_sna is a Pyramid library for authenticating users using OAuth2
providers.
It is released under the terms of a 3 clause BSD license and... | Pyramid Social Network Authentication
=====================================
.. image:: https://secure.travis-ci.org/lorenzogil/pyramid_sna.png
pyramid_sna is a Pyramid library for authenticating users using OAuth2
providers.
It is released under the terms of a 3 clause BSD license and it is
based on code originally ... | <|file_sep|>original/README.rst
Pyramid Social Network Authentication
=====================================
.. image:: https://secure.travis-ci.org/lorenzogil/pyramid_sna.png
pyramid_sna is a Pyramid library for authenticating users using OAuth2
providers.
It is released under the terms of a 3 clause BSD license and... | e82e7fd3b6b755cb4ee0240c74ccde7846664326 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/.github/workflows/ci.yml
<|file_sep|>current/.github/workflows/ci.yml
<|file_sep|>updated/.github/workflows/ci.yml | name: CI
on:
push:
branches:
- master
- beta
- release
- next
- 'v*'
- 'release-*'
- 'lts-*'
pull_request:
schedule:
- cron: '0 3 * * *' # daily, at 3am
jobs:
basic-tests:
name: Basic Tests
runs-on: ubuntu-latest
| <|file_sep|>original/.github/workflows/ci.yml
<|file_sep|>current/.github/workflows/ci.yml
<|file_sep|>updated/.github/workflows/ci.yml
name: CI
on:
push:
branches:
- master
- beta
- release
- next
- 'v*'
- 'release-*'
- 'lts-*'
pull_request:
schedule:
- cron: ... | 1c74a91c2ab45ca31d9e72fe51685b0aa2d099ea | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>meinberlin/apps/offlineevents/templatetags/offlineevent_tags.py.diff
original:
x = x.first_phase_start_date if isinstance(x, Module) else x.date
if x is None:
updated:
x_date = x.first_phase_start_date if isinstance(x, Module) else x.date
if x_date is None:
<|file_sep|>meinberlin/apps/offlin... |
def _cmp(x, y):
x_date = x.first_phase_start_date if isinstance(x, Module) else x.date
if x_date is None:
return 1
y_date = y.first_phase_start_date if isinstance(y, Module) else y.date
if y_date is None:
return -1
if x_date > y_date:
return 1
elif x_date == y_date:
... | <|file_sep|>meinberlin/apps/offlineevents/templatetags/offlineevent_tags.py.diff
original:
x = x.first_phase_start_date if isinstance(x, Module) else x.date
if x is None:
updated:
x_date = x.first_phase_start_date if isinstance(x, Module) else x.date
if x_date is None:
<|file_sep|>meinberlin/apps/offlin... | 67eeb5c7638b15a7f01f60260408fd3aefad549a | meinberlin/apps/offlineevents/templatetags/offlineevent_tags.py | meinberlin/apps/offlineevents/templatetags/offlineevent_tags.py | Python |
<|file_sep|>original/karma.conf.js
files: [
{pattern: './src/test.ts', watched: false}
],
preprocessors: {
'./src/test.ts': ['angular-cli']
},
remapIstanbulReporter: {
reports: {
html: 'coverage',
lcovonly: './coverage/coverage.lcov'
}
},
angularCli: {... | files: [
{pattern: './src/test.ts', watched: false}
],
preprocessors: {
'./src/test.ts': ['angular-cli']
},
remapIstanbulReporter: {
reports: {
html: 'coverage',
lcovonly: './coverage/coverage.lcov'
},
remapOptions: {
exclude: /(util|test|polyfil... | <|file_sep|>original/karma.conf.js
files: [
{pattern: './src/test.ts', watched: false}
],
preprocessors: {
'./src/test.ts': ['angular-cli']
},
remapIstanbulReporter: {
reports: {
html: 'coverage',
lcovonly: './coverage/coverage.lcov'
}
},
angularCli: {... | e3cadadfaeade137af5189346dc502a6c3bf9630 | karma.conf.js | karma.conf.js | JavaScript |
<|file_sep|>circle.yml.diff
original:
TOOLS_VERSION: 25.1.6
BUILD_TOOLS_VERSION: 23.0.3
updated:
TARGET_SDK_VERSION: 24
TOOLS_VERSION: 25.1.7
BUILD_TOOLS_VERSION: 24.0.0
<|file_sep|>original/circle.yml
machine:
environment:
TOOLS_VERSION: 25.1.6
BUILD_TOOLS_VERSION: 23.0.3
java:
vers... | machine:
environment:
TARGET_SDK_VERSION: 24
TOOLS_VERSION: 25.1.7
BUILD_TOOLS_VERSION: 24.0.0
java:
version: oraclejdk8
dependencies:
pre:
- if ! $(grep -q "Revision="$TOOLS_VERSION $ANDROID_HOME/tools/source.properties); then echo y | android update sdk --no-ui --all --filter "tools"; fi
... | <|file_sep|>circle.yml.diff
original:
TOOLS_VERSION: 25.1.6
BUILD_TOOLS_VERSION: 23.0.3
updated:
TARGET_SDK_VERSION: 24
TOOLS_VERSION: 25.1.7
BUILD_TOOLS_VERSION: 24.0.0
<|file_sep|>original/circle.yml
machine:
environment:
TOOLS_VERSION: 25.1.6
BUILD_TOOLS_VERSION: 23.0.3
java:
vers... | 176f200c0da09e70b8811e2597806d7e4a6939c0 | circle.yml | circle.yml | YAML |
<|file_sep|>original/registration/password_reset_email.html
{% load i18n %}{% load url from future %}{% autoescape off %}
{% blocktrans %}You're receiving this e-mail because you requested a password reset for your user account at {{ site_name }}.{% endblocktrans %}
{% trans "Please go to the following page and choose... | {% load i18n %}{% load url from future %}{% autoescape off %}
{% blocktrans %}You're receiving this e-mail because you requested a password reset for your user account at {{ site_name }}.{% endblocktrans %}
{% trans "Please go to the following page and choose a new password:" %}
{% block reset_link %}
{{ protocol }}:/... | <|file_sep|>original/registration/password_reset_email.html
{% load i18n %}{% load url from future %}{% autoescape off %}
{% blocktrans %}You're receiving this e-mail because you requested a password reset for your user account at {{ site_name }}.{% endblocktrans %}
{% trans "Please go to the following page and choose... | 2359de96eb190a7396c63bd3392028f44f2efb75 | registration/password_reset_email.html | registration/password_reset_email.html | HTML |
<|file_sep|>original/README.md
# Y
Light core C++17 library for [Yave](https://github.com/gan74/Yave).
## Building
You need:
* CMake
* A C++17 compiler (GCC 7.1)
### Licence:
MIT
<|file_sep|>current/README.md
# Y
Light core C++17 library for [Yave](https://github.com/gan74/Yave).
## Building
You need:
* CMake
... | # Y
![Travis CI][https://travis-ci.org/gan74/y.svg?branch=master]
Light core C++17 library for [Yave](https://github.com/gan74/Yave).
## Building
You need:
* CMake
* A C++17 compiler (GCC 7.1)
### Licence:
MIT | <|file_sep|>original/README.md
# Y
Light core C++17 library for [Yave](https://github.com/gan74/Yave).
## Building
You need:
* CMake
* A C++17 compiler (GCC 7.1)
### Licence:
MIT
<|file_sep|>current/README.md
# Y
Light core C++17 library for [Yave](https://github.com/gan74/Yave).
## Building
You need:
* CMake
... | 20f00d89ed1726c6ec9e39ed199c56b323701b23 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- "0.11"
updated:
- "0.12"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.10"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "0.12"
- "0.10"
- "iojs" | <|file_sep|>.travis.yml.diff
original:
- "0.11"
updated:
- "0.12"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.10"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.10"
- "i... | 08feee5eeda5e1882ce98e6a1d913b3aa01df206 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/repl/repl.rs.diff
original:
updated:
use std::process;
<|file_sep|>original/src/repl/repl.rs
Ok(x)=> {
let input = input.replace("\n", "");
if input.len() > 0 {
println!("{:?} {:?}", input, x);
if "jobs" == input {
... | let input = input.replace("\n", "");
if input.len() > 0 {
println!("{:?} {:?}", input, x);
if "jobs" == input {
jobs::list();
}
else if "ping" == input {
clien... | <|file_sep|>src/repl/repl.rs.diff
original:
updated:
use std::process;
<|file_sep|>original/src/repl/repl.rs
Ok(x)=> {
let input = input.replace("\n", "");
if input.len() > 0 {
println!("{:?} {:?}", input, x);
if "jobs" == input {
... | 9b77956324057f73dbdaa74966610c44e4f46a93 | src/repl/repl.rs | src/repl/repl.rs | Rust |
<|file_sep|>original/core/fns.py
MYPY = False
if MYPY:
from typing import Callable, Iterable, Iterator, Optional, Tuple, TypeVar
T = TypeVar('T')
filter_ = partial(filter, None) # type: Callable[[Iterator[Optional[T]]], Iterator[T]]
flatten = chain.from_iterable
def accumulate(iterable, initial):
# typ... | MYPY = False
if MYPY:
from typing import Callable, Iterable, Iterator, Optional, Tuple, TypeVar
T = TypeVar('T')
filter_ = partial(filter, None) # type: Callable[[Iterator[Optional[T]]], Iterator[T]]
flatten = chain.from_iterable
def accumulate(iterable, initial=None):
# type: (Iterable[int], int) -> I... | <|file_sep|>original/core/fns.py
MYPY = False
if MYPY:
from typing import Callable, Iterable, Iterator, Optional, Tuple, TypeVar
T = TypeVar('T')
filter_ = partial(filter, None) # type: Callable[[Iterator[Optional[T]]], Iterator[T]]
flatten = chain.from_iterable
def accumulate(iterable, initial):
# typ... | 52ef3152fb92c5f0363578fe1e7d51f57c18295b | core/fns.py | core/fns.py | Python |
<|file_sep|>figma-plugin/src/ui.ts.diff
original:
Server.cancelOverlay();
updated:
Server.manualCancelOverlay();
<|file_sep|>original/figma-plugin/src/ui.ts
}
window.onmessage = async (event) => {
switch (event.data.pluginMessage.type) {
case ID_REQUEST:
Server.requestOverlayId();
... | }
window.onmessage = async (event) => {
switch (event.data.pluginMessage.type) {
case ID_REQUEST:
Server.requestOverlayId();
break;
case SEND_OVERLAY_REQUEST:
await Server.sendOverlay(event.data.pluginMessage);
break;
case INVALID_ID_ERR:
... | <|file_sep|>figma-plugin/src/ui.ts.diff
original:
Server.cancelOverlay();
updated:
Server.manualCancelOverlay();
<|file_sep|>original/figma-plugin/src/ui.ts
}
window.onmessage = async (event) => {
switch (event.data.pluginMessage.type) {
case ID_REQUEST:
Server.requestOverlayId();
... | 71ec02578631f1ac478f778d860a259b435c60a3 | figma-plugin/src/ui.ts | figma-plugin/src/ui.ts | TypeScript |
<|file_sep|>original/src/test/scala/co/theasi/plotly/testing/tags/Slow.java
<|file_sep|>current/src/test/scala/co/theasi/plotly/testing/tags/Slow.java
<|file_sep|>updated/src/test/scala/co/theasi/plotly/testing/tags/Slow.java | package co.theasi.plotly;
import java.lang.annotation.*;
import org.scalatest.TagAnnotation ;
@TagAnnotation
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface Slow {} | <|file_sep|>original/src/test/scala/co/theasi/plotly/testing/tags/Slow.java
<|file_sep|>current/src/test/scala/co/theasi/plotly/testing/tags/Slow.java
<|file_sep|>updated/src/test/scala/co/theasi/plotly/testing/tags/Slow.java
package co.theasi.plotly;
import java.lang.annotation.*;
import org.scalatest.TagAnnotation... | 8955e396138c832270e3ae87d9bc3d5373906477 | src/test/scala/co/theasi/plotly/testing/tags/Slow.java | src/test/scala/co/theasi/plotly/testing/tags/Slow.java | Java |
<|file_sep|>i3pystatus/core/command.py.diff
original:
updated:
from collections import namedtuple
<|file_sep|>i3pystatus/core/command.py.diff
original:
updated:
CommandResult = namedtuple("Result", ['rc', 'out', 'err'])
<|file_sep|>i3pystatus/core/command.py.diff
original:
updated:
<|file_sep|>i3pystatus/core/comm... | Don't use this function with programs that outputs lots of data since the output is saved
in one variable
"""
returncode = None
stderr = None
try:
proc = subprocess.Popen(command, stderr=subprocess.PIPE, stdout=subprocess.PIPE, shell=enable_shell)
out, stderr = proc.communicate(... | <|file_sep|>i3pystatus/core/command.py.diff
original:
updated:
from collections import namedtuple
<|file_sep|>i3pystatus/core/command.py.diff
original:
updated:
CommandResult = namedtuple("Result", ['rc', 'out', 'err'])
<|file_sep|>i3pystatus/core/command.py.diff
original:
updated:
<|file_sep|>i3pystatus/core/comm... | 5448e38d14589b7558513f51d0abf541790be817 | i3pystatus/core/command.py | i3pystatus/core/command.py | Python |
<|file_sep|>graph_ui/js/node-info.js.diff
original:
'use strict';
angular
.module('nodeproperties', ['ngVis'])
.controller('NodeInfoController', NodeInfoController);
updated:
'use strict';
angular
.module('nodeproperties', ['ngVis'])
.controller('NodeInfoController', NodeInfoControll... | // Possibly resize the window pane
}
})();
/***********************************TemporaryPsuedocode************************************
* Function: displayNodeInformation
*
* // probably using select node
* while a node is selected:
* display the information from the nodes on info panel
*
* ... | <|file_sep|>graph_ui/js/node-info.js.diff
original:
'use strict';
angular
.module('nodeproperties', ['ngVis'])
.controller('NodeInfoController', NodeInfoController);
updated:
'use strict';
angular
.module('nodeproperties', ['ngVis'])
.controller('NodeInfoController', NodeInfoControll... | f572a2f66b1de2e2906c8a18d49c508d46e7deb0 | graph_ui/js/node-info.js | graph_ui/js/node-info.js | JavaScript |
<|file_sep|>original/gratipay/models/country.py
from __future__ import absolute_import, division, print_function, unicode_literals
from postgres.orm import Model
class Country(Model):
"""Represent country records from our database (read-only).
:var int id: the record's primary key in our ``countries`` table... | from __future__ import absolute_import, division, print_function, unicode_literals
from postgres.orm import Model
class Country(Model):
"""Represent country records from our database (read-only).
:var int id: the record's primary key in our ``countries`` table
:var unicode code: the country's `ISO 3166-... | <|file_sep|>original/gratipay/models/country.py
from __future__ import absolute_import, division, print_function, unicode_literals
from postgres.orm import Model
class Country(Model):
"""Represent country records from our database (read-only).
:var int id: the record's primary key in our ``countries`` table... | 7a21d2bccbcff2eb6a8b7cfd00c38a28553c0bcd | gratipay/models/country.py | gratipay/models/country.py | Python |
<|file_sep|>original/data/wp/wp-content/plugins/epfl/shortcodes/epfl-polylex-search/README.md
<|file_sep|>current/data/wp/wp-content/plugins/epfl/shortcodes/epfl-polylex-search/README.md
<|file_sep|>updated/data/wp/wp-content/plugins/epfl/shortcodes/epfl-polylex-search/README.md | # Shortcode Polylex
Ce shortcode permet un interfaçage avec l'application [wp-polylex](https://github.com/epfl-idevelop/wp-polylex).
Fonctionnalités :
- UI permettant
- l'affichage de la liste complète
- navigation par catégorie ou sous catégorie, au travers de boîtes déroulantes
- recherche textuelle ... | <|file_sep|>original/data/wp/wp-content/plugins/epfl/shortcodes/epfl-polylex-search/README.md
<|file_sep|>current/data/wp/wp-content/plugins/epfl/shortcodes/epfl-polylex-search/README.md
<|file_sep|>updated/data/wp/wp-content/plugins/epfl/shortcodes/epfl-polylex-search/README.md
# Shortcode Polylex
Ce shortcode perm... | e8f3bea03c956dfdfec93b9ca75c37a1d46be0aa | data/wp/wp-content/plugins/epfl/shortcodes/epfl-polylex-search/README.md | data/wp/wp-content/plugins/epfl/shortcodes/epfl-polylex-search/README.md | Markdown |
<|file_sep|>original/package.json
"scripts": {},
"repository": {
"type": "git",
"url": "git+https://github.com/floviolleau/npm-round-slider.git"
},
"keywords": [
"npm",
"round",
"slider",
"roundSlider"
],
"author": {
"email": "floviolleau@laposte.net",
"name": "Florent VIOLLE... | "url": "git+https://github.com/floviolleau/npm-round-slider.git"
},
"keywords": [
"npm",
"round",
"slider",
"roundSlider"
],
"author": {
"email": "floviolleau@laposte.net",
"name": "Florent VIOLLEAU"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/floviolleau/npm-... | <|file_sep|>original/package.json
"scripts": {},
"repository": {
"type": "git",
"url": "git+https://github.com/floviolleau/npm-round-slider.git"
},
"keywords": [
"npm",
"round",
"slider",
"roundSlider"
],
"author": {
"email": "floviolleau@laposte.net",
"name": "Florent VIOLLE... | c63db89d94d53ae740ede83b2449891ddd1f602d | package.json | package.json | JSON |
<|file_sep|>original/contents/articles/mocha-test-harmony-generators/index.md
<|file_sep|>current/contents/articles/mocha-test-harmony-generators/index.md
<|file_sep|>updated/contents/articles/mocha-test-harmony-generators/index.md | ---
title: Enabling Generators in Mocha
date: 2014-02-03 12:30
author: Blake Embrey
template: article.jade
---
For the last week, I've been working on a new project that uses node 0.11 and generators. Aside from the numerous benefits with generators in the application, I also integrated generators into my test suite. ... | <|file_sep|>original/contents/articles/mocha-test-harmony-generators/index.md
<|file_sep|>current/contents/articles/mocha-test-harmony-generators/index.md
<|file_sep|>updated/contents/articles/mocha-test-harmony-generators/index.md
---
title: Enabling Generators in Mocha
date: 2014-02-03 12:30
author: Blake Embrey
te... | a34ad7aff196c1d4707c23cede6173ebcf964c04 | contents/articles/mocha-test-harmony-generators/index.md | contents/articles/mocha-test-harmony-generators/index.md | Markdown |
<|file_sep|>original/media/css/nb.css
<|file_sep|>current/media/css/nb.css
<|file_sep|>updated/media/css/nb.css | span.input_prompt {
color:blue;
font-family: monospace;
font-size:12pt;
float: left;
clear: left;
}
span.output_prompt {
color:red;
/*display:none;*/
clear: left;
font-family: monospace;
font-size:12pt;
float: left;
}
div.output_delimiter {
height: 3px;
clear: left;
} | <|file_sep|>original/media/css/nb.css
<|file_sep|>current/media/css/nb.css
<|file_sep|>updated/media/css/nb.css
span.input_prompt {
color:blue;
font-family: monospace;
font-size:12pt;
float: left;
clear: left;
}
span.output_prompt {
color:red;
/*display:none;*/
clear: left;
font-family: monospace;
... | d5747ac715733be769f8a43957128829a8553703 | media/css/nb.css | media/css/nb.css | CSS |
<|file_sep|>original/src/lib.rs
// Configure for Windows
#[cfg(target_os = "windows")]
extern crate winapi;
#[cfg(target_os = "windows")]
extern crate advapi32;
#[cfg(target_os = "windows")]
mod windows;
#[cfg(target_os = "windows")]
pub use windows::Keyring;
// Configure for OSX
#[cfg(target_os = "macos")]
extern cra... | #[cfg(target_os = "macos")]
extern crate rustc_serialize;
#[cfg(target_os = "macos")]
mod macos;
#[cfg(target_os = "macos")]
pub use macos::Keyring;
mod error;
pub use error::{KeyringError, Result};
#[cfg(test)]
mod tests {
use super::*;
#[test]
#[should_panic]
fn test_empty_password_input() {
... | <|file_sep|>original/src/lib.rs
// Configure for Windows
#[cfg(target_os = "windows")]
extern crate winapi;
#[cfg(target_os = "windows")]
extern crate advapi32;
#[cfg(target_os = "windows")]
mod windows;
#[cfg(target_os = "windows")]
pub use windows::Keyring;
// Configure for OSX
#[cfg(target_os = "macos")]
extern cra... | c56e221540c4df6e33abb3e55bd92ab9f719a37c | src/lib.rs | src/lib.rs | Rust |
<|file_sep|>original/NvimView/NvimView/com.qvacua.NvimView.vim
set mouse=a
set title
<|file_sep|>current/NvimView/NvimView/com.qvacua.NvimView.vim
set mouse=a
set title
<|file_sep|>updated/NvimView/NvimView/com.qvacua.NvimView.vim | set mouse=a
set title
autocmd VimEnter,ColorScheme * :highlight default VimrDefaultCursor gui=reverse guibg=NONE guifg=NONE
set guicursor=a:block-VimrDefaultCursor
autocmd VimEnter,ColorScheme * :highlight default VimrInsertCursor guibg=fg
set guicursor=i:ver25-VimrInsertCursor | <|file_sep|>original/NvimView/NvimView/com.qvacua.NvimView.vim
set mouse=a
set title
<|file_sep|>current/NvimView/NvimView/com.qvacua.NvimView.vim
set mouse=a
set title
<|file_sep|>updated/NvimView/NvimView/com.qvacua.NvimView.vim
set mouse=a
set title
autocmd VimEnter,ColorScheme * :highlight default VimrDefaultCurso... | febf85f23d3e359fb2b11f1ce6bf85263d930ca2 | NvimView/NvimView/com.qvacua.NvimView.vim | NvimView/NvimView/com.qvacua.NvimView.vim | VimL |
<|file_sep|>original/README.md
# kubo-deployment
Kubo is a [BOSH](https://bosh.io/) release for Kubernetes. It provides a solution for deploying and managing Kubernetes with BOSH
This repository contains the documentation and manifests for deploying [kubo-release](https://github.com/cloudfoundry-incubator/kubo-releas... | # kubo-deployment
Kubo is a [BOSH](https://bosh.io/) release for Kubernetes. It provides a solution for deploying and managing Kubernetes with BOSH
This repository contains the documentation and manifests for deploying [kubo-release](https://github.com/cloudfoundry-incubator/kubo-release) with BOSH.
**Slack**: #cfcr... | <|file_sep|>original/README.md
# kubo-deployment
Kubo is a [BOSH](https://bosh.io/) release for Kubernetes. It provides a solution for deploying and managing Kubernetes with BOSH
This repository contains the documentation and manifests for deploying [kubo-release](https://github.com/cloudfoundry-incubator/kubo-releas... | bbdd6ab38e003e94147a35a6c9c29c85d0e365b5 | README.md | README.md | Markdown |
<|file_sep|>original/app/styles/components/site-footer.scss
.site-footer {
margin: 50px 0 20px 0;
h4 {
margin: 7px 0;
}
}
.footer-logo {
@include sprite($logo-small);
display: inline-block;
text-indent: -9999px;
}
.footer-columns {
> li {
float: left;
&:first-child {
width: 28%
}... | .site-footer {
background: #f8f8f8;
margin: 50px -10px 0;
padding: 20px 0 30px;
h4 {
margin: 7px 0;
}
}
.footer-logo {
@include sprite($logo-small);
display: inline-block;
text-indent: -9999px;
}
.footer-columns {
> li {
float: left;
&:first-child { | <|file_sep|>original/app/styles/components/site-footer.scss
.site-footer {
margin: 50px 0 20px 0;
h4 {
margin: 7px 0;
}
}
.footer-logo {
@include sprite($logo-small);
display: inline-block;
text-indent: -9999px;
}
.footer-columns {
> li {
float: left;
&:first-child {
width: 28%
}... | f6328ed913d1ca95678ad2e30df881695b5f4136 | app/styles/components/site-footer.scss | app/styles/components/site-footer.scss | SCSS |
<|file_sep|>original/pgmpy/__init__.py
from .global_vars import HAS_PANDAS, device
__all__ = ["HAS_PANDAS", "device"]
__version__ = "v0.1.9.dev11"
<|file_sep|>current/pgmpy/__init__.py
from .global_vars import HAS_PANDAS, device
__all__ = ["HAS_PANDAS", "device"]
__version__ = "v0.1.9.dev11"
<|file_sep|>updated/pgmpy... | from .global_vars import HAS_PANDAS, device
__all__ = ["HAS_PANDAS", "device"]
__version__ = "v0.1.9.dev" | <|file_sep|>original/pgmpy/__init__.py
from .global_vars import HAS_PANDAS, device
__all__ = ["HAS_PANDAS", "device"]
__version__ = "v0.1.9.dev11"
<|file_sep|>current/pgmpy/__init__.py
from .global_vars import HAS_PANDAS, device
__all__ = ["HAS_PANDAS", "device"]
__version__ = "v0.1.9.dev11"
<|file_sep|>updated/pgmpy... | 2268c381913dced911f3cb008d796f215233addf | pgmpy/__init__.py | pgmpy/__init__.py | Python |
<|file_sep|>metadata/info.guardianproject.orfox.txt.diff
original:
Source Code:https://github.com/guardianproject/orfoxfennec
updated:
Source Code:https://github.com/guardianproject/Orfox
<|file_sep|>metadata/info.guardianproject.orfox.txt.diff
original:
Repo:https://github.com/guardianproject/orfoxfennec
updated:
Repo... | .
Repo Type:git
Repo:https://github.com/guardianproject/Orfox
Binaries:https://guardianproject.info/fdroid/repo/info.guardianproject.orfox_%c.apk
#https://guardianproject.info/fdroid/repo/fennec-38.0.en-US.android-arm.apk
Build:Fennec-38.1.0esr/TorBrowser-5.0/Orfox-1.0beta1,1
disable=test
commit=c3fd3f811a345... | <|file_sep|>metadata/info.guardianproject.orfox.txt.diff
original:
Source Code:https://github.com/guardianproject/orfoxfennec
updated:
Source Code:https://github.com/guardianproject/Orfox
<|file_sep|>metadata/info.guardianproject.orfox.txt.diff
original:
Repo:https://github.com/guardianproject/orfoxfennec
updated:
Repo... | 7f8999760af48c649946198d5fb9a41a6efd5b2e | metadata/info.guardianproject.orfox.txt | metadata/info.guardianproject.orfox.txt | Text |
<|file_sep|>original/composer.json
"keywords": ["sonos", "upnp", "streaming"],
"homepage": "https://github.com/duncan3dc/sonos-console",
"license": "Apache-2.0",
"authors": [{
"name": "Craig Duncan",
"email": "git@duncanc.co.uk",
"homepage": "https://github.com/duncan3dc",
... | "keywords": ["sonos", "upnp", "streaming"],
"homepage": "https://github.com/duncan3dc/sonos-console",
"license": "Apache-2.0",
"authors": [{
"name": "Craig Duncan",
"email": "git@duncanc.co.uk",
"homepage": "https://github.com/duncan3dc",
"role": "Developer"
}],
"... | <|file_sep|>original/composer.json
"keywords": ["sonos", "upnp", "streaming"],
"homepage": "https://github.com/duncan3dc/sonos-console",
"license": "Apache-2.0",
"authors": [{
"name": "Craig Duncan",
"email": "git@duncanc.co.uk",
"homepage": "https://github.com/duncan3dc",
... | a750fc6de2dd32fa3b19b6711989761ec207acf0 | composer.json | composer.json | JSON |
<|file_sep|>original/sites/scrapy.org/site/urls.py
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from django.conf import settings
urlpatterns = patterns('',
(r"^$", direct_to_template, { "template": "home.html" }),
(r"^article/", include("article.urls")),
... | from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from django.conf import settings
urlpatterns = patterns('',
(r"^$", direct_to_template, { "template": "home.html" }),
(r"^article/", include("article.urls")),
(r"^download/", include("download.urls")),
(... | <|file_sep|>original/sites/scrapy.org/site/urls.py
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from django.conf import settings
urlpatterns = patterns('',
(r"^$", direct_to_template, { "template": "home.html" }),
(r"^article/", include("article.urls")),
... | b5fe965315920cc10664b3e0ba52bc50bf717374 | sites/scrapy.org/site/urls.py | sites/scrapy.org/site/urls.py | Python |
<|file_sep|>original/SIGIR18.md
<|file_sep|>current/SIGIR18.md
<|file_sep|>updated/SIGIR18.md | ---
title: SIGIR 2018 Tutorial: Probabilistic Topic Models
layout: page
category: demo
order: 4
---
# Presentation
[Tutorial Presentation Slides](https://www.dropbox.com/s/5qmjfcutwowvv7h/sigir18-tutorial-topic-model-zhai.pptx?dl=0)
# Hands-on Exercises
Requirements:
- Python (2.7, 3.4, 3.5, or 3.6; 3.7 support soon... | <|file_sep|>original/SIGIR18.md
<|file_sep|>current/SIGIR18.md
<|file_sep|>updated/SIGIR18.md
---
title: SIGIR 2018 Tutorial: Probabilistic Topic Models
layout: page
category: demo
order: 4
---
# Presentation
[Tutorial Presentation Slides](https://www.dropbox.com/s/5qmjfcutwowvv7h/sigir18-tutorial-topic-model-zhai.p... | 2824ed294696008f3e2366880bf12d2f5bf5748e | SIGIR18.md | SIGIR18.md | Markdown |
<|file_sep|>original/.gitlab-ci.yml
<|file_sep|>current/.gitlab-ci.yml
<|file_sep|>updated/.gitlab-ci.yml | # This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
only:
- master | <|file_sep|>original/.gitlab-ci.yml
<|file_sep|>current/.gitlab-ci.yml
<|file_sep|>updated/.gitlab-ci.yml
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv... | 6cd431dfb4bdf72dee3e82106c147d17a659b735 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>keratin-bot/src/ca/szc/keratin/bot/misc/Logging.java.diff
original:
updated:
/**
* Set tinylog's logging level and output format.
*/
<|file_sep|>keratin-bot/src/ca/szc/keratin/bot/misc/Logging.java.diff
original:
updated:
/**
* Configure at the given logging level
*/
public static void... | * Set tinylog's logging level and output format.
*/
public class Logging
{
/**
* Configure at the given logging level
*/
public static void activateLoggingConfig( LoggingLevel logLevel )
{
String formatPattern = "{date:yyyy-MM-dd HH:mm:ss.SSS} [{thread}] {class}.{method}() {level}: {mes... | <|file_sep|>keratin-bot/src/ca/szc/keratin/bot/misc/Logging.java.diff
original:
updated:
/**
* Set tinylog's logging level and output format.
*/
<|file_sep|>keratin-bot/src/ca/szc/keratin/bot/misc/Logging.java.diff
original:
updated:
/**
* Configure at the given logging level
*/
public static void... | 4283d886d6bb8b7e441f265b4e9ccd58a23cc1db | keratin-bot/src/ca/szc/keratin/bot/misc/Logging.java | keratin-bot/src/ca/szc/keratin/bot/misc/Logging.java | Java |
<|file_sep|>top.sls.diff
original:
updated:
# All boxes get python installed+memcache
<|file_sep|>top.sls.diff
original:
updated:
prod:
'prod*':
<|file_sep|>original/top.sls
base:
'*':
- python
- memcache
- nbviewer
- supervisor
- firewall
<|file_sep|>current/top.sls
base:
'*':
# All... | base:
'*':
# All boxes get python installed+memcache
- python
- memcache
prod:
'prod*':
- nbviewer
- supervisor
- firewall
qa:
'qa*':
- nbviewer
- supervisor
- firewall | <|file_sep|>top.sls.diff
original:
updated:
# All boxes get python installed+memcache
<|file_sep|>top.sls.diff
original:
updated:
prod:
'prod*':
<|file_sep|>original/top.sls
base:
'*':
- python
- memcache
- nbviewer
- supervisor
- firewall
<|file_sep|>current/top.sls
base:
'*':
# All... | 7e5381d887a65cbeca9f7f1ceeeabf90de05830e | top.sls | top.sls | SaltStack |
<|file_sep|>original/src/test/opencl/generator/TestSort.scala
<|file_sep|>current/src/test/opencl/generator/TestSort.scala
<|file_sep|>updated/src/test/opencl/generator/TestSort.scala | package opencl.generator
import ir.ArrayType
import ir.ast.{Join, Split, UserFun, fun}
import lift.arithmetic.SizeVar
import opencl.executor.{Execute, Executor}
import opencl.ir.pattern.{InsertionSortSeq, MapWrg, toGlobal}
import org.junit.{AfterClass, BeforeClass, Test}
import org.junit.Assert.assertArrayEquals
obje... | <|file_sep|>original/src/test/opencl/generator/TestSort.scala
<|file_sep|>current/src/test/opencl/generator/TestSort.scala
<|file_sep|>updated/src/test/opencl/generator/TestSort.scala
package opencl.generator
import ir.ArrayType
import ir.ast.{Join, Split, UserFun, fun}
import lift.arithmetic.SizeVar
import opencl.e... | 66aaf92913846a8e9e343057311e268d3c66265a | src/test/opencl/generator/TestSort.scala | src/test/opencl/generator/TestSort.scala | Scala |
<|file_sep|>original/discover/discover.ml
let process_output_of command =
let chan = Unix.open_process_in command in
let res = ref ([] : string list) in
let rec process_another_line () =
let e = input_line chan in
res := e::!res;
process_another_line() in
try process_another_line ()
with End_of_fi... | module C = Configurator.V1
let () =
C.main ~name:"graphql_ppx" (fun c ->
let system = C.ocaml_config_var_exn c "system" in
let flags = if system = "linux" then ["-ccopt"; "-static"] else [] in
C.Flags.write_sexp "dune.flags" flags) | <|file_sep|>original/discover/discover.ml
let process_output_of command =
let chan = Unix.open_process_in command in
let res = ref ([] : string list) in
let rec process_another_line () =
let e = input_line chan in
res := e::!res;
process_another_line() in
try process_another_line ()
with End_of_fi... | f8af74ecce503048188fb7691b8c0af181365ece | discover/discover.ml | discover/discover.ml | OCaml |
<|file_sep|>original/lib/poro_validator/configuration.rb
module PoroValidator
class Configuration
class Message
# @private_const
DEFAULT_MESSAGES = {
default: lambda { "is not valid" },
presence: lambda { "is not present" },
integer: lambda { "is not an integer" },
fl... | module PoroValidator
class Configuration
class Message
# @private_const
DEFAULT_MESSAGES = {
default: lambda { "is not valid" },
presence: lambda { "is not present" },
integer: lambda { "is not an integer" },
float: lambda { "is not a float" },
integer_or_... | <|file_sep|>original/lib/poro_validator/configuration.rb
module PoroValidator
class Configuration
class Message
# @private_const
DEFAULT_MESSAGES = {
default: lambda { "is not valid" },
presence: lambda { "is not present" },
integer: lambda { "is not an integer" },
fl... | 8fb78dcbf73ceb376359b7df1f28238f51599e65 | lib/poro_validator/configuration.rb | lib/poro_validator/configuration.rb | Ruby |
<|file_sep|>original/requirements/testing.txt
-r base.txt
mock
model-mommy
vcrpy
<|file_sep|>current/requirements/testing.txt
-r base.txt
mock
model-mommy
vcrpy
<|file_sep|>updated/requirements/testing.txt | -r base.txt
git+git://github.com/gjvis/splinter.git@djangoclient-button-support
cssselect
lxml
mock
model-mommy
vcrpy | <|file_sep|>original/requirements/testing.txt
-r base.txt
mock
model-mommy
vcrpy
<|file_sep|>current/requirements/testing.txt
-r base.txt
mock
model-mommy
vcrpy
<|file_sep|>updated/requirements/testing.txt
-r base.txt
git+git://github.com/gjvis/splinter.git@djangoclient-button-support
cssselect
lxml
mock
model-momm... | c4324535255ae94db7da58049c998cdac532ab24 | requirements/testing.txt | requirements/testing.txt | Text |
<|file_sep|>original/Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat
@echo off
cls
:start
echo Starting server...
"Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.91" -password "" -tcpLobby "149.202.51.185" 25565
echo.
echo Restarting server...
echo.
goto sta... | @echo off
cls
:start
echo Starting server...
"Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.92" -password "" -tcpLobby "149.202.51.185" 25565
echo.
echo Restarting server...
echo.
goto start | <|file_sep|>original/Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat
@echo off
cls
:start
echo Starting server...
"Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.91" -password "" -tcpLobby "149.202.51.185" 25565
echo.
echo Restarting server...
echo.
goto sta... | 46982b56448d337d3c5f058e4024a211b6c9c466 | Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat | Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat | Batchfile |
<|file_sep|>original/core/src/scratch/WeightedDistributionProbabilityTestScratch.java
<|file_sep|>current/core/src/scratch/WeightedDistributionProbabilityTestScratch.java
<|file_sep|>updated/core/src/scratch/WeightedDistributionProbabilityTestScratch.java | /*
* Copyright (c) 2013 - 2017 xxyy (Philipp Nowak; xyc@l1t.li). All rights reserved.
*
* Any usage, including, but not limited to, compiling, running, redistributing, printing,
* copying and reverse-engineering is strictly prohibited without explicit written permission
* from the original author and may result ... | <|file_sep|>original/core/src/scratch/WeightedDistributionProbabilityTestScratch.java
<|file_sep|>current/core/src/scratch/WeightedDistributionProbabilityTestScratch.java
<|file_sep|>updated/core/src/scratch/WeightedDistributionProbabilityTestScratch.java
/*
* Copyright (c) 2013 - 2017 xxyy (Philipp Nowak; xyc@l1t.l... | dbefd12e1a84b5c1667ae3f7cb1a206bfbc6a019 | core/src/scratch/WeightedDistributionProbabilityTestScratch.java | core/src/scratch/WeightedDistributionProbabilityTestScratch.java | Java |
<|file_sep|>exports/atom.coffee.diff
original:
{Emitter, Subscriber} = require 'emissary'
updated:
<|file_sep|>exports/atom.coffee.diff
original:
Emitter: Emitter
updated:
<|file_sep|>original/exports/atom.coffee
BufferedProcess: require '../src/buffered-process'
Directory: require '../src/directory'
Document... | BufferedProcess: require '../src/buffered-process'
Directory: require '../src/directory'
Document: Document
File: require '../src/file'
fs: require '../src/fs-utils'
Git: require '../src/git'
Point: Point
Range: Range
ScrollView: require '../src/scroll-view'
Site: Site
stringscore: require '../ven... | <|file_sep|>exports/atom.coffee.diff
original:
{Emitter, Subscriber} = require 'emissary'
updated:
<|file_sep|>exports/atom.coffee.diff
original:
Emitter: Emitter
updated:
<|file_sep|>original/exports/atom.coffee
BufferedProcess: require '../src/buffered-process'
Directory: require '../src/directory'
Document... | 2c8854ce8b81836f58cff54a15014c7a1f2e5c8d | exports/atom.coffee | exports/atom.coffee | CoffeeScript |
<|file_sep|>original/SingularityUI/app/templates/vex/requestPause.hbs
<p>Are you sure you want to pause this request?</p>
<pre>{{ id }}</pre>
{{#if scheduled}}
<div>
<label for="kill-tasks">
<input type="checkbox" id="kill-tasks">
Kill tasks
</label>
</div>
{{/if}}
<|file... | <p>Are you sure you want to pause this request?</p>
<pre>{{ id }}</pre>
{{#if scheduled}}
<div>
<label for="kill-tasks">
<input type="checkbox" id="kill-tasks" checked>
Kill tasks
</label>
</div>
{{/if}} | <|file_sep|>original/SingularityUI/app/templates/vex/requestPause.hbs
<p>Are you sure you want to pause this request?</p>
<pre>{{ id }}</pre>
{{#if scheduled}}
<div>
<label for="kill-tasks">
<input type="checkbox" id="kill-tasks">
Kill tasks
</label>
</div>
{{/if}}
<|file... | 86ef021c20fe6f762e1aa1908372a141338af93f | SingularityUI/app/templates/vex/requestPause.hbs | SingularityUI/app/templates/vex/requestPause.hbs | Handlebars |
<|file_sep|>README.md.diff
original:
 is a community driven landing page generator for open source projects.
updated:
[Open landings](https://openlandings.com) is a community driven landing page generator for open source projects.
<|file_sep|>README.md.diff
original:
Open landi... | # Open landings
[Open landings](https://openlandings.com) is a community driven landing page generator for open source projects.
Using site templates provided by the community, you can easily generate landing websites for your open source projects.
## Hosting
Open landings hosts your web sites for free on [netlify.c... | <|file_sep|>README.md.diff
original:
 is a community driven landing page generator for open source projects.
updated:
[Open landings](https://openlandings.com) is a community driven landing page generator for open source projects.
<|file_sep|>README.md.diff
original:
Open landi... | f1aa7381195182023b12fd7a486d883ba05a2b3b | README.md | README.md | Markdown |
<|file_sep|>templates/uwsgi.ini.erb.diff
original:
plugins-dir <%= scope.lookupvar('uwsgi::plugins_directory') %>
updated:
plugin-dir <%= scope.lookupvar('uwsgi::plugins_directory') %>
<|file_sep|>original/templates/uwsgi.ini.erb
socket = <%= @socket %>
<% end -%>
plugins-dir <%= scope.lookupvar('uwsgi::plugins_directo... | socket = <%= @socket %>
<% end -%>
plugin-dir <%= scope.lookupvar('uwsgi::plugins_directory') %>
pidfile = <%= @pidfile %>
emperor = <%= @app_directory %>
emperor-tyrant = <%= @tyrant %>
master = true
autoload = true
log-date = true
<% if @log_file -%>
logto = <%= @log_file %>
<% end -%>
<%
if @emperor_options
@emper... | <|file_sep|>templates/uwsgi.ini.erb.diff
original:
plugins-dir <%= scope.lookupvar('uwsgi::plugins_directory') %>
updated:
plugin-dir <%= scope.lookupvar('uwsgi::plugins_directory') %>
<|file_sep|>original/templates/uwsgi.ini.erb
socket = <%= @socket %>
<% end -%>
plugins-dir <%= scope.lookupvar('uwsgi::plugins_directo... | 31fc2c57cb2fb3b7a1ab1fa2c145480fd2ed9ab0 | templates/uwsgi.ini.erb | templates/uwsgi.ini.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.6
- 7.0
- 7.1
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-dist --no-suggest
script: vendor/bin/phpunit
<|file_... | language: php
php:
- 7.2
- 7.3
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-dist --no-suggest
script: vendor/bin/phpunit
after_success: | <|file_sep|>original/.travis.yml
language: php
php:
- 5.6
- 7.0
- 7.1
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-dist --no-suggest
script: vendor/bin/phpunit
<|file_... | 0f293c6b7c099ba6d3b71d632445e74e62b56b43 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/index.html
---
bg: "kdm_logo.png"
hover_text: "That's no moon. That's Sailor Moon!"
layout: default
tab_text: "Krewe Du Moon"
title: "Krewe Du Moon"
summary: "Events"
---
{% assign events = site.posts | reverse %}
{% for post in events %}
{% if post.date > site.time and post.categories contains ... | ---
bg: "kdm_logo.png"
hover_text: "That's no moon...that's Sailor Moon!"
layout: default
tab_text: "Krewe Du Moon"
title: "Krewe Du Moon"
summary: "Events"
---
{% assign events = site.posts | reverse %}
{% for post in events %}
{% if post.date > site.time and post.categories contains "event" %}
<article class="... | <|file_sep|>original/index.html
---
bg: "kdm_logo.png"
hover_text: "That's no moon. That's Sailor Moon!"
layout: default
tab_text: "Krewe Du Moon"
title: "Krewe Du Moon"
summary: "Events"
---
{% assign events = site.posts | reverse %}
{% for post in events %}
{% if post.date > site.time and post.categories contains ... | cf05eecc6290dce84c5b1f1fdb8eb2b050c64643 | index.html | index.html | HTML |
<|file_sep|>original/lang-ext.js
* Extend +destination+ with +source+
*/
function extend(destination, source) {
for (var property in source) {
destination[property] = source[property];
}
return destination;
};
extend(Array.prototype, {
/**
* Performs the given function +f+ on each element in the array ... | extend(Array.prototype, {
/**
* Performs the given function +f+ on each element in the array instance.
* The function is given the index of the current object and the object
* itself for each element in the array.
*/
each: function(f) {
for (i = 0; i < this.length; i++) {
f(i, this[i]);
}
},... | <|file_sep|>original/lang-ext.js
* Extend +destination+ with +source+
*/
function extend(destination, source) {
for (var property in source) {
destination[property] = source[property];
}
return destination;
};
extend(Array.prototype, {
/**
* Performs the given function +f+ on each element in the array ... | 63cea3de01e108c43815cac66f88ccde3d22f1a8 | lang-ext.js | lang-ext.js | JavaScript |
<|file_sep|>original/1-common-tasks/input-streams/read-lines-from-stream.cpp
<|file_sep|>current/1-common-tasks/input-streams/read-lines-from-stream.cpp
<|file_sep|>updated/1-common-tasks/input-streams/read-lines-from-stream.cpp | // Read lines from a stream
#include <sstream>
#include <string>
int main()
{
std::istringstream stream{"This stream\n"
"contains many\n"
"lines.\n"};
std::string line;
while (std::getline(stream, line)) {
// Process line
}
}
// Process the contents of an ... | <|file_sep|>original/1-common-tasks/input-streams/read-lines-from-stream.cpp
<|file_sep|>current/1-common-tasks/input-streams/read-lines-from-stream.cpp
<|file_sep|>updated/1-common-tasks/input-streams/read-lines-from-stream.cpp
// Read lines from a stream
#include <sstream>
#include <string>
int main()
{
std::ist... | f6e9b5db31979252e3d659d25bb3ba48cc09b88d | 1-common-tasks/input-streams/read-lines-from-stream.cpp | 1-common-tasks/input-streams/read-lines-from-stream.cpp | C++ |
<|file_sep|>fullbuild.sh.diff
original:
includes=config/chroot_local-includes/
updated:
includes=config/includes.chroot
<|file_sep|>original/fullbuild.sh
if [ ! -d sdc-vmtools ] ; then
echo "sdc-vmtools git repo not found, cloning..."
git clone git@git.joyent.com:sdc-vmtools.git
fi
echo "Updating sdc-vmtools git r... | echo "sdc-vmtools git repo not found, cloning..."
git clone git@git.joyent.com:sdc-vmtools.git
fi
echo "Updating sdc-vmtools git repo"
cd sdc-vmtools
git pull
cd ..
includes=config/includes.chroot
sdcvmtools=sdc-vmtools/src/linux
echo "Syncing etc, lib, and usr directories to ${includes}..."
# Using rsync to en... | <|file_sep|>fullbuild.sh.diff
original:
includes=config/chroot_local-includes/
updated:
includes=config/includes.chroot
<|file_sep|>original/fullbuild.sh
if [ ! -d sdc-vmtools ] ; then
echo "sdc-vmtools git repo not found, cloning..."
git clone git@git.joyent.com:sdc-vmtools.git
fi
echo "Updating sdc-vmtools git r... | 27fb541ff249409a7ed8697a3b47cd52cdca582b | fullbuild.sh | fullbuild.sh | Shell |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-title=Pontoon Intro
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Po... | # Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
headline-2=In Place.
call-to-action=Tell Me More
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations rig... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-title=Pontoon Intro
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Po... | 0727fb64bcaa554b4c489b9770e3f15e48d74b46 | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>src/include/tcop/variable.h.diff
original:
* $Id: variable.h,v 1.6 1997/09/08 02:39:21 momjian Exp $
updated:
* $Id: variable.h,v 1.7 1997/11/07 06:45:16 thomas Exp $
<|file_sep|>src/include/tcop/variable.h.diff
original:
updated:
#ifndef VARIABLE_H
#define VARIABLE_H 1
<|file_sep|>original/src/include/t... | enum DateFormat format;
} date;
};
extern struct PGVariables PGVariables;
/*-----------------------------------------------------------------------*/
bool SetPGVariable(const char *, const char *);
bool GetPGVariable(const char *);
bool ResetPGVariable(const char *);
extern bool set_date(void);
extern bool s... | <|file_sep|>src/include/tcop/variable.h.diff
original:
* $Id: variable.h,v 1.6 1997/09/08 02:39:21 momjian Exp $
updated:
* $Id: variable.h,v 1.7 1997/11/07 06:45:16 thomas Exp $
<|file_sep|>src/include/tcop/variable.h.diff
original:
updated:
#ifndef VARIABLE_H
#define VARIABLE_H 1
<|file_sep|>original/src/include/t... | ea567d2fad625aaa5163beb543ab5a1084103dab | src/include/tcop/variable.h | src/include/tcop/variable.h | C |
<|file_sep|>original/.zuul.yaml
- project:
templates:
- openstack-python3-zed-jobs
- publish-openstack-docs-pti
- openstackclient-plugin-jobs
<|file_sep|>current/.zuul.yaml
- project:
templates:
- openstack-python3-zed-jobs
- publish-openstack-docs-pti
- openstackclient-plugi... | - project:
templates:
- openstack-python3-jobs
- publish-openstack-docs-pti
- openstackclient-plugin-jobs | <|file_sep|>original/.zuul.yaml
- project:
templates:
- openstack-python3-zed-jobs
- publish-openstack-docs-pti
- openstackclient-plugin-jobs
<|file_sep|>current/.zuul.yaml
- project:
templates:
- openstack-python3-zed-jobs
- publish-openstack-docs-pti
- openstackclient-plugi... | 3214e4fbdd3e528a5566ca08ae05952296981474 | .zuul.yaml | .zuul.yaml | YAML |
<|file_sep|>original/composer.json
"license": "MIT",
"keywords": ["mautic","laravel","princealikhan","api","sync"],
"authors": [
{
"name": "Prince Ali Khan",
"email": "princealikhan08@gmail.com"
}
],
"minimum-stability": "dev",
"require": {
"ph... | "license": "MIT",
"keywords": ["mautic","laravel","princealikhan","api","sync"],
"authors": [
{
"name": "Prince Ali Khan",
"email": "princealikhan08@gmail.com"
}
],
"minimum-stability": "dev",
"require": {
"php": ">=5.5.9",
"illumin... | <|file_sep|>original/composer.json
"license": "MIT",
"keywords": ["mautic","laravel","princealikhan","api","sync"],
"authors": [
{
"name": "Prince Ali Khan",
"email": "princealikhan08@gmail.com"
}
],
"minimum-stability": "dev",
"require": {
"ph... | 7527ac2314e41cd32e0fe2982a03961d3740e76d | composer.json | composer.json | JSON |
<|file_sep|>original/example/sample-projects/with-configure-step/run.t
$ dune build @install @runtest --display short
ocaml config.full
ocamldep src/.plop.eobjs/plop.ml.d
ocamldep src/.plop.eobjs/config.ml.d
ocamlc src/.plop.eobjs/byte/config.{cmi,cmo,cmt}
ocamlc src/.plop.eobjs/b... | This example creates a configuration file using a fallback rule.
See README.org for details
By default, config is set:
$ dune exec ./src/plop.exe
Built with support for blah: true
Path to blah is: "/path/to/blah"
Print generated config:
$ cat _build/default/config.full
let with_blah = true
... | <|file_sep|>original/example/sample-projects/with-configure-step/run.t
$ dune build @install @runtest --display short
ocaml config.full
ocamldep src/.plop.eobjs/plop.ml.d
ocamldep src/.plop.eobjs/config.ml.d
ocamlc src/.plop.eobjs/byte/config.{cmi,cmo,cmt}
ocamlc src/.plop.eobjs/b... | 16edb0428a75c33be6d189d359724050567da724 | example/sample-projects/with-configure-step/run.t | example/sample-projects/with-configure-step/run.t | Perl |
<|file_sep|>packages/ut/util.yaml.diff
original:
hash: 9c8ad33501347da653b4e4011f8b3da212cba7e1d292f7e3e432c603934e4576
updated:
hash: 32ff237c3f0ff0388700b5c134162a116159a6199687ee6ea967e30a4bfe3760
<|file_sep|>packages/ut/util.yaml.diff
original:
updated:
- '0.1.1.0'
<|file_sep|>original/packages/ut/util.yaml
homepa... | homepage: ''
changelog-type: ''
hash: 32ff237c3f0ff0388700b5c134162a116159a6199687ee6ea967e30a4bfe3760
test-bench-deps: {}
maintainer: strake888@gmail.com
synopsis: Utilities
changelog: ''
basic-deps:
base: ! '>=4.9 && <4.12'
all-versions:
- '0.1.0.0'
- '0.1.1.0'
author: M Farkas-Dyck
latest: '0.1.1.0'
description-ty... | <|file_sep|>packages/ut/util.yaml.diff
original:
hash: 9c8ad33501347da653b4e4011f8b3da212cba7e1d292f7e3e432c603934e4576
updated:
hash: 32ff237c3f0ff0388700b5c134162a116159a6199687ee6ea967e30a4bfe3760
<|file_sep|>packages/ut/util.yaml.diff
original:
updated:
- '0.1.1.0'
<|file_sep|>original/packages/ut/util.yaml
homepa... | 48572bfabe477407403bdc5d1d9d8d1c52b1c7c7 | packages/ut/util.yaml | packages/ut/util.yaml | YAML |
<|file_sep|>src/Console/Scaffolding/PackageBuilder.php.diff
original:
updated:
$this->call('toolkit:views', ['name' => $this->argument('name')]);
<|file_sep|>original/src/Console/Scaffolding/PackageBuilder.php
{
parent::__construct();
}
/**
* Execute the console command.
*
*... | {
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$this->call('toolkit:model', ['name' => $this->argument('name')]);
$this->call('toolkit:migration', ['name' => $this->argument('name')]);
... | <|file_sep|>src/Console/Scaffolding/PackageBuilder.php.diff
original:
updated:
$this->call('toolkit:views', ['name' => $this->argument('name')]);
<|file_sep|>original/src/Console/Scaffolding/PackageBuilder.php
{
parent::__construct();
}
/**
* Execute the console command.
*
*... | 27a9129b07f38b3269eeb1d2f9c0f23cbc201864 | src/Console/Scaffolding/PackageBuilder.php | src/Console/Scaffolding/PackageBuilder.php | PHP |
<|file_sep|>original/NOTICE.txt
Utility Library
Copyright 2001-2017 Stephane Carrez
This product includes software developed by:
Stephane Carrez (http://blog.vacs.fr/).
------------------------------------------------------------------------
See the file LICENSE.txt
See licenses for accompanying products in the "/lic... | Utility Library
Copyright 2001-2018 Stephane Carrez
This product includes software developed by:
Stephane Carrez (http://blog.vacs.fr/).
------------------------------------------------------------------------
See the file LICENSE.txt
See licenses for accompanying products in the "/licenses" subdirectory.
-----------... | <|file_sep|>original/NOTICE.txt
Utility Library
Copyright 2001-2017 Stephane Carrez
This product includes software developed by:
Stephane Carrez (http://blog.vacs.fr/).
------------------------------------------------------------------------
See the file LICENSE.txt
See licenses for accompanying products in the "/lic... | dae5f8b42fc1c7c4b2d704c80883df1637410791 | NOTICE.txt | NOTICE.txt | Text |
<|file_sep|>original/lib/file-view.coffee
module.exports =
class FileView extends HTMLElement
Subscriber.includeInto(this)
initialize: (@file) ->
@subscribe @file, 'destroyed', => @unsubscribe()
@classList.add('file', 'entry', 'list-item')
@fileName = document.createElement('span')
@appendChild(@... | module.exports =
class FileView extends HTMLElement
Subscriber.includeInto(this)
initialize: (@file) ->
@subscribe @file, 'destroyed', => @unsubscribe()
@classList.add('file', 'entry', 'list-item')
@fileName = document.createElement('span')
@fileName.classList.add('name')
@appendChild(@fileNa... | <|file_sep|>original/lib/file-view.coffee
module.exports =
class FileView extends HTMLElement
Subscriber.includeInto(this)
initialize: (@file) ->
@subscribe @file, 'destroyed', => @unsubscribe()
@classList.add('file', 'entry', 'list-item')
@fileName = document.createElement('span')
@appendChild(@... | 1a411a07a678bd7754645319f8db592b6bb7df80 | lib/file-view.coffee | lib/file-view.coffee | CoffeeScript |
<|file_sep|>original/test/detect/step21/default.txt
<|file_sep|>current/test/detect/step21/default.txt
<|file_sep|>updated/test/detect/step21/default.txt | ISO-10303-21;
HEADER;
FILE_DESCRIPTION((''),'2;1');
FILE_NAME('CUBE_4SQUARE','2013-11-29T',('acook'),(''),
'SOMETHINGCAD BY SOME CORPORATION, 2012130',
'SOMETHINGCAD BY SOME CORPORATION, 2012130','');
FILE_SCHEMA(('CONFIG_CONTROL_DESIGN'));
ENDSEC;
/* file written by SomethingCAD */
DATA;
#1=DIRECTION('',(1.E0,0.E0,0.E... | <|file_sep|>original/test/detect/step21/default.txt
<|file_sep|>current/test/detect/step21/default.txt
<|file_sep|>updated/test/detect/step21/default.txt
ISO-10303-21;
HEADER;
FILE_DESCRIPTION((''),'2;1');
FILE_NAME('CUBE_4SQUARE','2013-11-29T',('acook'),(''),
'SOMETHINGCAD BY SOME CORPORATION, 2012130',
'SOMETHINGCA... | 3c1e95f6bc6a6bcaa4a012c62ec507445d23cb37 | test/detect/step21/default.txt | test/detect/step21/default.txt | Text |
<|file_sep|>original/releases/release-1.21/release-notes/maps/pr-98750-map.yaml
pr: 98750
releasenote:
text: Fixes problem where invalid selector on PDBs leads to a nil pointer dereference
that causes the controller-manager to crash-loop.
<|file_sep|>current/releases/release-1.21/release-notes/maps/pr-98750-map.y... | pr: 98750
releasenote:
text: Fixes problem where invalid selector on `PodDisruptionBudget` leads to a nil pointer dereference
that causes the Controller manager to crash loop. | <|file_sep|>original/releases/release-1.21/release-notes/maps/pr-98750-map.yaml
pr: 98750
releasenote:
text: Fixes problem where invalid selector on PDBs leads to a nil pointer dereference
that causes the controller-manager to crash-loop.
<|file_sep|>current/releases/release-1.21/release-notes/maps/pr-98750-map.y... | 22fe1d36b423084d96394a375cf3ca28e5fc42d0 | releases/release-1.21/release-notes/maps/pr-98750-map.yaml | releases/release-1.21/release-notes/maps/pr-98750-map.yaml | YAML |
<|file_sep|>hoomd/triggers.py.diff
original:
updated:
<|file_sep|>original/hoomd/triggers.py
# Copyright (c) 2009-2019 The Regents of the University of Michigan
# This file is part of the HOOMD-blue project, released under the BSD 3-Clause
# License.
from hoomd import _hoomd
class Trigger(_hoomd.Trigger):
pass
... | # Copyright (c) 2009-2019 The Regents of the University of Michigan
# This file is part of the HOOMD-blue project, released under the BSD 3-Clause
# License.
from hoomd import _hoomd
class Trigger(_hoomd.Trigger):
pass
class PeriodicTrigger(_hoomd.PeriodicTrigger, Trigger):
def __init__(self, period, phase... | <|file_sep|>hoomd/triggers.py.diff
original:
updated:
<|file_sep|>original/hoomd/triggers.py
# Copyright (c) 2009-2019 The Regents of the University of Michigan
# This file is part of the HOOMD-blue project, released under the BSD 3-Clause
# License.
from hoomd import _hoomd
class Trigger(_hoomd.Trigger):
pass
... | 72655f0b0c7edfd3f51fe0ea847d45f9acd5ba42 | hoomd/triggers.py | hoomd/triggers.py | Python |
<|file_sep|>original/i18n-generator/src/test/java/com/github/ggiamarchi/i18n/test/I18NGeneratorExceptionTest.java
<|file_sep|>current/i18n-generator/src/test/java/com/github/ggiamarchi/i18n/test/I18NGeneratorExceptionTest.java
<|file_sep|>updated/i18n-generator/src/test/java/com/github/ggiamarchi/i18n/test/I18NGenera... | package com.github.ggiamarchi.i18n.test;
import static org.junit.Assert.*;
import org.junit.Test;
import com.github.ggiamarchi.i18n.I18NGeneratorException;
public class I18NGeneratorExceptionTest {
@Test
public void constructI18NGeneratorExceptionTest() {
I18NGeneratorException e;
RuntimeException re;
... | <|file_sep|>original/i18n-generator/src/test/java/com/github/ggiamarchi/i18n/test/I18NGeneratorExceptionTest.java
<|file_sep|>current/i18n-generator/src/test/java/com/github/ggiamarchi/i18n/test/I18NGeneratorExceptionTest.java
<|file_sep|>updated/i18n-generator/src/test/java/com/github/ggiamarchi/i18n/test/I18NGenera... | ef3e1c95203980922cda4dfe2029ec72084413ee | i18n-generator/src/test/java/com/github/ggiamarchi/i18n/test/I18NGeneratorExceptionTest.java | i18n-generator/src/test/java/com/github/ggiamarchi/i18n/test/I18NGeneratorExceptionTest.java | Java |
<|file_sep|>original/extra_requirements.txt
# "pathlib2" and "scandir" are backports of new standard modules, pyfakefs will
# use them if available when running on older Python versions.
#
# They are dependencies of pytest when Python < 3.6 so we sometimes get them via
# requirements.txt, this file makes them explicit... | # "pathlib2" and "scandir" are backports of new standard modules, pyfakefs will
# use them if available when running on older Python versions.
#
# They are dependencies of pytest when Python < 3.6 so we sometimes get them via
# requirements.txt, this file makes them explicit dependencies for testing &
# development.
#... | <|file_sep|>original/extra_requirements.txt
# "pathlib2" and "scandir" are backports of new standard modules, pyfakefs will
# use them if available when running on older Python versions.
#
# They are dependencies of pytest when Python < 3.6 so we sometimes get them via
# requirements.txt, this file makes them explicit... | 2d4d30cb64ca42fe198df9fc92db877aa5621b44 | extra_requirements.txt | extra_requirements.txt | Text |
<|file_sep|>original/jenkins/jobs/ansible-role-jobs.yaml
- ansible-syntax
- ansible-lint
publishers:
- console-log
- job-template:
name: '{pipeline}-ansible-dsvm-functional-{ostype}{job-suffix}'
node: 'devstack-{ostype}'
builder:
- zuul-clone:
project: $ZUUL_PROJECT
... | - ansible-syntax
- ansible-lint
publishers:
- console-log
- job-template:
name: '{pipeline}-ansible-dsvm-functional-{ostype}{job-suffix}'
node: 'devstack-{ostype}'
builders:
- zuul-clone:
project: $ZUUL_PROJECT
# NOTE(pabelanger): We should be using the tox bui... | <|file_sep|>original/jenkins/jobs/ansible-role-jobs.yaml
- ansible-syntax
- ansible-lint
publishers:
- console-log
- job-template:
name: '{pipeline}-ansible-dsvm-functional-{ostype}{job-suffix}'
node: 'devstack-{ostype}'
builder:
- zuul-clone:
project: $ZUUL_PROJECT
... | cf6887a19fa838351b978aaaea336a6e3b2d6fa9 | jenkins/jobs/ansible-role-jobs.yaml | jenkins/jobs/ansible-role-jobs.yaml | YAML |
<|file_sep|>original/csunplugged/tests/BaseTest.py
"""Base test class with methods implemented for Django testing."""
from django.test import TestCase
from django.contrib.auth.models import User
from django.test.client import Client
from django.utils.translation import activate
<<<<<<< HEAD
class BaseTest(SimpleTest... | """Base test class with methods implemented for Django testing."""
from django.test import TestCase
from django.contrib.auth.models import User
from django.test.client import Client
from django.utils.translation import activate
class BaseTest(SimpleTestCase):
"""Base test class with methods implemented for Djang... | <|file_sep|>original/csunplugged/tests/BaseTest.py
"""Base test class with methods implemented for Django testing."""
from django.test import TestCase
from django.contrib.auth.models import User
from django.test.client import Client
from django.utils.translation import activate
<<<<<<< HEAD
class BaseTest(SimpleTest... | c9f990ff4095b7fb361b2d59c0c5b2c9555643ff | csunplugged/tests/BaseTest.py | csunplugged/tests/BaseTest.py | Python |
<|file_sep|>original/.travis.yml
- sudo apt-get install -qq automake libev-dev libyaml-dev pkg-config cppcheck
script: "autoreconf --install && ./configure && make && make check && cppcheck --enable=all --verbose --suppress=variableScope src/"
notifications:
email:
- statsrelay-dev@googlegroups.com
env:
glob... | - sudo apt-get install -qq automake libev-dev libyaml-dev pkg-config cppcheck
script: "autoreconf --install && ./configure && make && make check && cppcheck --enable=all --verbose --suppress=variableScope src/"
notifications:
email:
- statsrelay-dev@googlegroups.com
env:
global:
# The next declaration is ... | <|file_sep|>original/.travis.yml
- sudo apt-get install -qq automake libev-dev libyaml-dev pkg-config cppcheck
script: "autoreconf --install && ./configure && make && make check && cppcheck --enable=all --verbose --suppress=variableScope src/"
notifications:
email:
- statsrelay-dev@googlegroups.com
env:
glob... | 4d6c75eb5fdc18d8594178814eef843683677c68 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# Fruum
___
An embeddable communications hub for your forum, documentation, and real‐time chat streams, built
on node.js.
### Features
* Embed a forum, a knowledge base or a chat stream inside a web app or a dedicated forum page.
* Real time updates, no reloads required.
* Use an exis... | [](https://travis-ci.org/fruum/fruum)
# Fruum
___
An embeddable communications hub for your forum, documentation, and real‐time chat streams, built
on node.js.
### Features
* Embed a forum, a knowledge base or a chat stream inside a web app or a dedicated forum... | <|file_sep|>original/README.md
# Fruum
___
An embeddable communications hub for your forum, documentation, and real‐time chat streams, built
on node.js.
### Features
* Embed a forum, a knowledge base or a chat stream inside a web app or a dedicated forum page.
* Real time updates, no reloads required.
* Use an exis... | 96509e75af2030cbc1bcda39101185c2af09e889 | README.md | README.md | Markdown |
<|file_sep|>original/src/Model/ShippingMethodEnum.php
<?php
namespace Marketplex\Api\Model;
class ShippingMethodEnum extends EnumAbstract {
const STANDARD = "Standard";
const EXPRESS = "Express";
}
<|file_sep|>current/src/Model/ShippingMethodEnum.php
<?php
namespace Marketplex\Api\Model;
class ShippingMethodE... | <?php
namespace Marketplex\Api\Model;
class ShippingMethodEnum extends EnumAbstract {
const STANDARD = "Standard";
const EXPRESS = "Express";
// Amazon Fulfillment Network (FBA - Fulfilled By Amazon)
const AFN_STANDARD = "AFN Standard";
const AFN_EXPRESS = "AFN Express";
} | <|file_sep|>original/src/Model/ShippingMethodEnum.php
<?php
namespace Marketplex\Api\Model;
class ShippingMethodEnum extends EnumAbstract {
const STANDARD = "Standard";
const EXPRESS = "Express";
}
<|file_sep|>current/src/Model/ShippingMethodEnum.php
<?php
namespace Marketplex\Api\Model;
class ShippingMethodE... | b5bae20a4bff0d627c771f41e98d9ddab0a6abeb | src/Model/ShippingMethodEnum.php | src/Model/ShippingMethodEnum.php | PHP |
<|file_sep|>original/test/default_arg.tcl
<|file_sep|>current/test/default_arg.tcl
<|file_sep|>updated/test/default_arg.tcl | proc sum { a {b 10} {c 1}} {
expr {$a + $b + $c}
}
must 567 [sum 500 60 7]
must 561 [sum 500 60]
must 511 [sum 500] | <|file_sep|>original/test/default_arg.tcl
<|file_sep|>current/test/default_arg.tcl
<|file_sep|>updated/test/default_arg.tcl
proc sum { a {b 10} {c 1}} {
expr {$a + $b + $c}
}
must 567 [sum 500 60 7]
must 561 [sum 500 60]
must 511 [sum 500] | 4a27317472e5e16ae02398386c8f89bd49ed59db | test/default_arg.tcl | test/default_arg.tcl | Tcl |
<|file_sep|>original/_includes/footer-links.html
{% for post in site.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</div>
<div class="col-md-4">
<h4>About</h4>
<ul class="links">
<li><a href="/... | {% for post in site.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</div>
<div class="col-md-4">
<h4>About</h4>
<ul class="links">
<li><a href="/faq">FAQ</a></li>
<li><a href="/f... | <|file_sep|>original/_includes/footer-links.html
{% for post in site.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</div>
<div class="col-md-4">
<h4>About</h4>
<ul class="links">
<li><a href="/... | c3740efa98304494c0fada3f8c4ffa72cbeecc85 | _includes/footer-links.html | _includes/footer-links.html | HTML |
<|file_sep|>original/locales/bn-IN/webextension.properties
# Clip in this context refers to a portion of an image
# Also used for the title on the toolbar button
# The string "{meta_key}-V" should be translated to the region-specific
# shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the
# mod... | # Clip in this context refers to a portion of an image
# Also used for the title on the toolbar button
# The string "{meta_key}-V" should be translated to the region-specific
# shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the
# modifier key used in the shortcut (do not translate it): for e... | <|file_sep|>original/locales/bn-IN/webextension.properties
# Clip in this context refers to a portion of an image
# Also used for the title on the toolbar button
# The string "{meta_key}-V" should be translated to the region-specific
# shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the
# mod... | f7fd3b65729a5c4964328e0feffae9f6ddbc93a7 | locales/bn-IN/webextension.properties | locales/bn-IN/webextension.properties | INI |
<|file_sep|>original/compose/nova-compute-nova-net.yml
<|file_sep|>current/compose/nova-compute-nova-net.yml
<|file_sep|>updated/compose/nova-compute-nova-net.yml | libvirt:
image: kollaglue/fedora-rdo-nova-libvirt
net: host
pid: host
privileged: true
volumes:
- /run:/run
- /sys/fs/cgroup:/sys/fs/cgroup
- /var/lib/nova:/var/lib/nova
- /var/lib/libvirt:/var/lib/libvirt
- /etc/libvirt/nwfilter:/etc/libvirt/nwfilter
network:
image: kollaglue/fedo... | <|file_sep|>original/compose/nova-compute-nova-net.yml
<|file_sep|>current/compose/nova-compute-nova-net.yml
<|file_sep|>updated/compose/nova-compute-nova-net.yml
libvirt:
image: kollaglue/fedora-rdo-nova-libvirt
net: host
pid: host
privileged: true
volumes:
- /run:/run
- /sys/fs/cgroup:/sys/fs... | fdf924646f70094aaa5da16e9240e06a0ec56362 | compose/nova-compute-nova-net.yml | compose/nova-compute-nova-net.yml | YAML |
<|file_sep|>chrome/test/data/purify/unit_tests.exe_UMR.txt.diff
original:
third_party/zlib/deflate.c: MOZ_Z_deflate
updated:
third_party/zlib/deflate.c MOZ_Z_deflate
<|file_sep|>chrome/test/data/purify/unit_tests.exe_UMR.txt.diff
original:
^^^
updated:
^^^
<|file_sep|>chrome/test/data/purify/unit_tests.... | Uninitialized memory read in MOZ_Z_deflate
Error Location
third_party/zlib/deflate.c MOZ_Z_deflate
third_party/zlib/contrib/minizip/zip.c zipCloseFileInZipRaw
third_party/zlib/contrib/minizip/zip.c zipCloseFileInZip
chrome/common/zip.cc AddEntryToZip
chrome/common/zip.cc Zip(FilePath const&,FilePath... | <|file_sep|>chrome/test/data/purify/unit_tests.exe_UMR.txt.diff
original:
third_party/zlib/deflate.c: MOZ_Z_deflate
updated:
third_party/zlib/deflate.c MOZ_Z_deflate
<|file_sep|>chrome/test/data/purify/unit_tests.exe_UMR.txt.diff
original:
^^^
updated:
^^^
<|file_sep|>chrome/test/data/purify/unit_tests.... | 9a7c2c034001a032a3f65878032ae348b4ad81f2 | chrome/test/data/purify/unit_tests.exe_UMR.txt | chrome/test/data/purify/unit_tests.exe_UMR.txt | Text |
<|file_sep|>original/app/controllers/api/search_controller.rb
class Api::SearchController < ApplicationController
def show
lines = Line.search(params[:term]).joins(:quote)
if lines.any?
render json: lines.map(&:quote)
else
render json: Quote.random
end
end
end
<|file_sep|>current/app/con... | class Api::SearchController < ApplicationController
def show
@search = Line.search(params[:term]).joins(:quote).includes(:character, :quote).map(&:quote)
render json: @search
end
end | <|file_sep|>original/app/controllers/api/search_controller.rb
class Api::SearchController < ApplicationController
def show
lines = Line.search(params[:term]).joins(:quote)
if lines.any?
render json: lines.map(&:quote)
else
render json: Quote.random
end
end
end
<|file_sep|>current/app/con... | 061b96ced471585acad830ce7dd07bde52500ea2 | app/controllers/api/search_controller.rb | app/controllers/api/search_controller.rb | Ruby |
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8
env:
global:
- LC_CTYPE=en_US.UTF-8
- PROJECT=sample/sample.xcodeproj
matrix:
- SCHEME=sample SDK=iphonesimulator
- SCHEME=sampletv SDK=appletvsimulator
script:
- set -o pipefail
- xcodebuild build -project $PROJECT -scheme... | language: objective-c
osx_image: xcode8.1
env:
global:
- LC_CTYPE=en_US.UTF-8
- PROJECT=sample/sample.xcodeproj
matrix:
- SCHEME=sample SDK=iphonesimulator
- SCHEME=sampletv SDK=appletvsimulator
script:
- set -o pipefail
- xcodebuild build -project $PROJECT -scheme $SCHEME -sdk $SDK -configurati... | <|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8
env:
global:
- LC_CTYPE=en_US.UTF-8
- PROJECT=sample/sample.xcodeproj
matrix:
- SCHEME=sample SDK=iphonesimulator
- SCHEME=sampletv SDK=appletvsimulator
script:
- set -o pipefail
- xcodebuild build -project $PROJECT -scheme... | e795e27710ca3e66c63fc1107a374cc1df711122 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/composer.json
{
"name": "simplesamlphp/simplesamlphp-module-openidProvider",
"description": "A SimpleSAMLphp module adding support for the OpenID protocoli as an Identity Provider.",
"type": "simplesamlphp-module",
"keywords": [ "openid", "provider" ],
"homepage": "http://simple... | {
"name": "simplesamlphp/simplesamlphp-module-openid-provider",
"description": "A SimpleSAMLphp module adding support for the OpenID protocoli as an Identity Provider.",
"type": "simplesamlphp-module",
"keywords": [ "openid", "provider" ],
"homepage": "http://simplesamlphp.org",
"license": "LGPL... | <|file_sep|>original/composer.json
{
"name": "simplesamlphp/simplesamlphp-module-openidProvider",
"description": "A SimpleSAMLphp module adding support for the OpenID protocoli as an Identity Provider.",
"type": "simplesamlphp-module",
"keywords": [ "openid", "provider" ],
"homepage": "http://simple... | 2dec5a3a67c46e442e81b67f591b1f371fa3b515 | composer.json | composer.json | JSON |
<|file_sep|>original/c_major_7.py
<|file_sep|>current/c_major_7.py
<|file_sep|>updated/c_major_7.py | from s4ils import *
s = Session()
with s[INIT]:
s.engine = c.Engine() | s
s.fm = s.engine.new_module(rv.m.Fm) | s
s.engine.output << s.fm | s
s.track1 = s.engine.track(1)
s.track2 = s.engine.track(2)
s.halfnote = (2, 0)
with s[0, 0]:
note = s.fm.note_on(n.C4, 10) | s.track1 | s
note.o... | <|file_sep|>original/c_major_7.py
<|file_sep|>current/c_major_7.py
<|file_sep|>updated/c_major_7.py
from s4ils import *
s = Session()
with s[INIT]:
s.engine = c.Engine() | s
s.fm = s.engine.new_module(rv.m.Fm) | s
s.engine.output << s.fm | s
s.track1 = s.engine.track(1)
s.track2 = s.engine.track... | 1033fec3742160262be49652ae85ecbcd5e4c4f6 | c_major_7.py | c_major_7.py | Python |
<|file_sep|>original/examples/profiles/README.rst
How To Use the Sample Spec File
===============================
This directory contains sample spec files that can be used to create a Senlin
profile using `openstack cluster profile create` command, for example:
To create a os.nova.server profile::
$ cd ./nova_ser... | How To Use the Sample Spec File
===============================
This directory contains sample spec files that can be used to create a Senlin
profile using :command:`openstack cluster profile create` command, for example:
To create a os.nova.server profile::
$ cd ./nova_server
$ openstack cluster profile create ... | <|file_sep|>original/examples/profiles/README.rst
How To Use the Sample Spec File
===============================
This directory contains sample spec files that can be used to create a Senlin
profile using `openstack cluster profile create` command, for example:
To create a os.nova.server profile::
$ cd ./nova_ser... | c1cb70820eccf88bcce506cc1ca8dbfd71f2829d | examples/profiles/README.rst | examples/profiles/README.rst | reStructuredText |
<|file_sep|>original/tests/test_ext_tasks.py
<|file_sep|>current/tests/test_ext_tasks.py
<|file_sep|>updated/tests/test_ext_tasks.py | # -*- coding: utf-8 -*-
"""
Tests for discord.ext.tasks
"""
import asyncio
import datetime
import pytest
from discord import utils
from discord.ext import tasks
@pytest.mark.asyncio
async def test_explicit_initial_runs_tomorrow_single():
now = utils.utcnow()
| <|file_sep|>original/tests/test_ext_tasks.py
<|file_sep|>current/tests/test_ext_tasks.py
<|file_sep|>updated/tests/test_ext_tasks.py
# -*- coding: utf-8 -*-
"""
Tests for discord.ext.tasks
"""
import asyncio
import datetime
import pytest
from discord import utils
from discord.ext import tasks
@pytest.mark.asy... | 3c78b03aa3d0455290562ef31b84d7c8f5a91c9e | tests/test_ext_tasks.py | tests/test_ext_tasks.py | Python |
<|file_sep|>app/controllers/api/v1/plays_controller.rb.diff
original:
render json: @object, include: {track: { except: :response }}
updated:
render json: @object, include: { track: { except: :response } }
<|file_sep|>app/controllers/api/v1/plays_controller.rb.diff
original:
fail unless @track.sha1?
updated:... | @track = Track.find(params[:track_id])
raise unless @track.sha1?
@play = @track.plays.create!
render json: @play, include: { track: { except: :response } }
end
def update
begin
@play = Play.find(params[:id])
rescue ActiveRecord::RecordNotFound
@track = Track.find(params[:track_... | <|file_sep|>app/controllers/api/v1/plays_controller.rb.diff
original:
render json: @object, include: {track: { except: :response }}
updated:
render json: @object, include: { track: { except: :response } }
<|file_sep|>app/controllers/api/v1/plays_controller.rb.diff
original:
fail unless @track.sha1?
updated:... | 10d8e26f8d496ebc272a6641c29ca4aa28f74f82 | app/controllers/api/v1/plays_controller.rb | app/controllers/api/v1/plays_controller.rb | Ruby |
<|file_sep|>original/Assets/Alensia/Core/Character/Humanoid.cs
{
public override Transform Head { get; }
public override IBinocularVision Vision { get; }
public override ILeggedLocomotion Locomotion { get; }
public Humanoid(
[InjectOptional] Race race,
[Inj... | {
public override Transform Head { get; }
public override IBinocularVision Vision { get; }
public override ILeggedLocomotion Locomotion { get; }
public Humanoid(
[InjectOptional] Race race,
[InjectOptional] Sex sex,
IBinocularVision vision,
... | <|file_sep|>original/Assets/Alensia/Core/Character/Humanoid.cs
{
public override Transform Head { get; }
public override IBinocularVision Vision { get; }
public override ILeggedLocomotion Locomotion { get; }
public Humanoid(
[InjectOptional] Race race,
[Inj... | 2550541d311c418bc3a635ccf1c223d29f21809c | Assets/Alensia/Core/Character/Humanoid.cs | Assets/Alensia/Core/Character/Humanoid.cs | C# |
<|file_sep|>bower.json.diff
original:
"keywords": ["purescript"],
updated:
"keywords": [
"purescript"
],
<|file_sep|>original/bower.json
"description": "PureScript bindings for the yargs command-line parsing library",
"keywords": ["purescript"],
"ignore": [
"**/.*",
"bower_components",
"node... | "purescript"
],
"ignore": [
"**/.*",
"bower_components",
"node_modules",
"output",
"tests",
"js",
"tmp",
"bower.json",
"Gruntfile.js",
"package.json"
],
"dependencies": {
"purescript-foreign": "~0.2.0",
"purescript-exceptions": "~0.2.1",
"purescript-easy-f... | <|file_sep|>bower.json.diff
original:
"keywords": ["purescript"],
updated:
"keywords": [
"purescript"
],
<|file_sep|>original/bower.json
"description": "PureScript bindings for the yargs command-line parsing library",
"keywords": ["purescript"],
"ignore": [
"**/.*",
"bower_components",
"node... | 16ee6f3025919f3ed0f4ed63f23c62074874ce9d | bower.json | bower.json | JSON |
<|file_sep|>t/axfr.t.diff
original:
updated:
use Test::Fatal;
<|file_sep|>t/axfr.t.diff
original:
ok( $res->axfr_start( 'cyberpomo.com' ), 'AXFR started' );
do {
my $rr = $res->axfr_next;
isa_ok( $rr, 'Net::LDNS::RR' );
} until $res->axfr_complete;
updated:
<|file_sep|>t/axfr.t.diff
original:
ok( $res2->axfr_star... |
my $res = Net::LDNS->new( '79.99.7.203' );
my $res2 = Net::LDNS->new( '192.36.144.107' );
my $counter = 0;
my $return = $res->axfr( 'cyberpomo.com',
sub {
my ($rr) = @_;
$counter += 1;
if ($rr->type eq 'CNAME') {
return 0;
} else {
return 1;
}
})... | <|file_sep|>t/axfr.t.diff
original:
updated:
use Test::Fatal;
<|file_sep|>t/axfr.t.diff
original:
ok( $res->axfr_start( 'cyberpomo.com' ), 'AXFR started' );
do {
my $rr = $res->axfr_next;
isa_ok( $rr, 'Net::LDNS::RR' );
} until $res->axfr_complete;
updated:
<|file_sep|>t/axfr.t.diff
original:
ok( $res2->axfr_star... | 264c7b05aefed65267ba86d680ecd914223067f1 | t/axfr.t | t/axfr.t | Perl |
<|file_sep|>original/config.ini
Blue Jasmine
Dallas Buyers Club
Frozen
2014_razzies = Movie 43
After Earth
A Madea Christmas
The Lone Ranger
2013_oscar = Life of Pi
Argo
Silver Linings Playbook
Lincoln
2013_razzies = The Twilight Saga: Breaking Dawn - Part 2
That's My Boy
Bat... | After Earth
A Madea Christmas
The Lone Ranger
2013_oscar = Life of Pi
Argo
Silver Linings Playbook
Lincoln
2013_razzies = The Twilight Saga: Breaking Dawn - Part 2
That's My Boy
Battleship
2012_oscar = The Artist
The Iron Lady
2012_razzies = Jack and Jill
Just Go with It
2011_osc... | <|file_sep|>original/config.ini
Blue Jasmine
Dallas Buyers Club
Frozen
2014_razzies = Movie 43
After Earth
A Madea Christmas
The Lone Ranger
2013_oscar = Life of Pi
Argo
Silver Linings Playbook
Lincoln
2013_razzies = The Twilight Saga: Breaking Dawn - Part 2
That's My Boy
Bat... | 6ae0b6ee9137b0dbfb82f7200b5a84247f5c6be7 | config.ini | config.ini | INI |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.