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/retz-inttest/src/test/resources/post_run.sh
# limitations under the License.
#
set -e
set -x
RETZ_CONTAINER=$1
CURRENT=$(cd $(dirname $0) && pwd)
docker exec -it $RETZ_CONTAINER /spawn_mesos_agent.sh
docker exec -it $RETZ_CONTAINER /spawn_retz_server.sh
docker exec -it $RETZ_CONTAINER ps aw... | # limitations under the License.
#
set -e
set -x
RETZ_CONTAINER=$1
CURRENT=$(cd $(dirname $0) && pwd)
docker exec -it $RETZ_CONTAINER sh -c "/spawn_mesos_agent.sh && sleep 1"
docker exec -it $RETZ_CONTAINER sh -c "/spawn_retz_server.sh && sleep 1"
docker exec -it $RETZ_CONTAINER ps awxx | egrep -E '(mesos-slave... | <|file_sep|>original/retz-inttest/src/test/resources/post_run.sh
# limitations under the License.
#
set -e
set -x
RETZ_CONTAINER=$1
CURRENT=$(cd $(dirname $0) && pwd)
docker exec -it $RETZ_CONTAINER /spawn_mesos_agent.sh
docker exec -it $RETZ_CONTAINER /spawn_retz_server.sh
docker exec -it $RETZ_CONTAINER ps aw... | f76743a704be30c1246a52ce7dc6b0d20fe7df4f | retz-inttest/src/test/resources/post_run.sh | retz-inttest/src/test/resources/post_run.sh | Shell |
<|file_sep|>original/setup.cfg
[bumpversion]
current_version = 1.0.0
commit = True
tag = True
[bumpversion:file:stix2elevator/version.py]
[bdist_wheel]
universal = 1
<|file_sep|>current/setup.cfg
[bumpversion]
current_version = 1.0.0
commit = True
tag = True
[bumpversion:file:stix2elevator/version.py]
[bdist_wheel]... | [bumpversion]
current_version = 1.0.0
commit = True
tag = True
[bumpversion:file:stix2elevator/version.py]
[metadata]
license_file = LICENSE
[bdist_wheel]
universal = 1 | <|file_sep|>original/setup.cfg
[bumpversion]
current_version = 1.0.0
commit = True
tag = True
[bumpversion:file:stix2elevator/version.py]
[bdist_wheel]
universal = 1
<|file_sep|>current/setup.cfg
[bumpversion]
current_version = 1.0.0
commit = True
tag = True
[bumpversion:file:stix2elevator/version.py]
[bdist_wheel]... | f3f8326f0d3a952acc5876f737ed9d7bf0f258ff | setup.cfg | setup.cfg | INI |
<|file_sep|>docs/index.md.diff
original:
Django Toolkit is the set of useful tools we use at LuizaLabs to develop
projects using the Django Framework
updated:
Django Toolkit is the set of useful tools we use at Luizalabs to develop
projects using the [Django web framework][django-website].
<|file_sep|>original/docs/ind... | Welcome to Django Toolkit
=========================
Django Toolkit is the set of useful tools we use at Luizalabs to develop
projects using the [Django web framework][django-website].
This package includes the utility modules:
* [logs](logs)
* [middlewares](middlewares)
* [shortcuts](shortcuts)
[django-website]: ht... | <|file_sep|>docs/index.md.diff
original:
Django Toolkit is the set of useful tools we use at LuizaLabs to develop
projects using the Django Framework
updated:
Django Toolkit is the set of useful tools we use at Luizalabs to develop
projects using the [Django web framework][django-website].
<|file_sep|>original/docs/ind... | 83b8f09731705bb13d745c282845c5c2c0963159 | docs/index.md | docs/index.md | Markdown |
<|file_sep|>original/package.json
{
"name": "jitters",
"version": "1.0.0",
"description": "Coffee database API",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Jitter... | {
"name": "jitters",
"version": "1.0.0",
"description": "Coffee database API",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"test": "mocha",
"coverage": "istanbul cover _mocha -- -R spec"
},
"repository": {
"type": "git",
"url": "git+https:/... | <|file_sep|>original/package.json
{
"name": "jitters",
"version": "1.0.0",
"description": "Coffee database API",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Jitter... | e754820b4e127d26321794b24a6fa81a8d066cbe | package.json | package.json | JSON |
<|file_sep|>original/courses/paa/projects/papini-bani/README.md
# Papini and Bani project
This is the folder that contains project ideas and proposal for
students Papini and Bani, in order to pass their PAA exam.
The proposal can be read [here]. Their work is versioned at [GitHub],
where there's a work-in-progress [n... |
# Papini and Bani project
This is the folder that contains project ideas and proposal for
students Papini and Bani, in order to pass their PAA exam.
The proposal can be read [here]. Their work is versioned at [GitHub],
where there's a work-in-progress [notebook].
Event log:
- **December 2015, 22**: make a propo... | <|file_sep|>original/courses/paa/projects/papini-bani/README.md
# Papini and Bani project
This is the folder that contains project ideas and proposal for
students Papini and Bani, in order to pass their PAA exam.
The proposal can be read [here]. Their work is versioned at [GitHub],
where there's a work-in-progress [n... | ca39f768670184671f1eeb82667cb10be49b335b | courses/paa/projects/papini-bani/README.md | courses/paa/projects/papini-bani/README.md | Markdown |
<|file_sep|>SwiftyJSONModel/JSONTypes.swift.diff
original:
updated:
extension String: JSONRepresantable {
public var jsonValue: JSON { return JSON(self) }
}
<|file_sep|>original/SwiftyJSONModel/JSONTypes.swift
//
// JSONTypes.swift
// SwiftyJSONModel
//
// Created by Oleksii on 18/09/16.
// Copyright © 2016 Ol... | }
public protocol JSONRepresantable {
var jsonValue: JSON { get }
}
extension String: JSONRepresantable {
public var jsonValue: JSON { return JSON(self) }
}
extension Bool: JSONRepresantable {
public var jsonValue: JSON { return JSON(self) }
}
extension Int: JSONRepresantable {
public var jsonValue:... | <|file_sep|>SwiftyJSONModel/JSONTypes.swift.diff
original:
updated:
extension String: JSONRepresantable {
public var jsonValue: JSON { return JSON(self) }
}
<|file_sep|>original/SwiftyJSONModel/JSONTypes.swift
//
// JSONTypes.swift
// SwiftyJSONModel
//
// Created by Oleksii on 18/09/16.
// Copyright © 2016 Ol... | c5354a23e1cc3e4abc594298a5252a54044d5330 | SwiftyJSONModel/JSONTypes.swift | SwiftyJSONModel/JSONTypes.swift | Swift |
<|file_sep|>original/.travis.yml
cache: pip
env:
- PYTHONHASHSEED=0
install:
- make travis-setup
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
# PyPy versions
- "pypy2"
- "pypy3"
script:
- make ci
jobs:
include:
- stage: coverage
python:
- "3.6"
<|file_sep|>current/.travis.yml
cache: ... | cache: pip
env:
- PYTHONHASHSEED=0
install:
- make travis-setup
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
# PyPy versions
- "pypy2"
- "pypy3"
script:
- make ci
jobs:
include:
- stage: coverage
python: | <|file_sep|>original/.travis.yml
cache: pip
env:
- PYTHONHASHSEED=0
install:
- make travis-setup
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
# PyPy versions
- "pypy2"
- "pypy3"
script:
- make ci
jobs:
include:
- stage: coverage
python:
- "3.6"
<|file_sep|>current/.travis.yml
cache: ... | 2f5252451b433070435457bb376374c4d22623c4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/mongo_mapper/bson_id.rb.diff
original:
BSON::ObjectId self
updated:
BSON::ObjectID self
<|file_sep|>original/lib/mongo_mapper/bson_id.rb
class String
def to_id
BSON::ObjectId self
end
end
class BSON::ObjectId
def to_id
self
end
end
<|file_sep|>current/lib/mongo_mapper/bson_id.rb
... | class String
def to_id
BSON::ObjectID self
end
end
class BSON::ObjectID
def to_id
self
end
end | <|file_sep|>lib/mongo_mapper/bson_id.rb.diff
original:
BSON::ObjectId self
updated:
BSON::ObjectID self
<|file_sep|>original/lib/mongo_mapper/bson_id.rb
class String
def to_id
BSON::ObjectId self
end
end
class BSON::ObjectId
def to_id
self
end
end
<|file_sep|>current/lib/mongo_mapper/bson_id.rb
... | f76c4bd39027cc3671a4ac3a9d93626d2177bc00 | lib/mongo_mapper/bson_id.rb | lib/mongo_mapper/bson_id.rb | Ruby |
<|file_sep|>original/src/solarized-css/partials/elements.styl
background-color: $hl
color: $fg
margin: 1em
body
background-color: $bg
margin: 0 auto
max-width: 23cm
border: 1pt solid $comment
padding: 1em
code
background-color: $hl
padding: 2px
a
color: $blue
a:visited
color: $orange
<|file... | background-color: $hl
color: $fg
margin: 1em
body
background-color: $bg
margin: 0 auto
max-width: 23cm
border: 1pt solid $comment
padding: 1em
text-align: justify
code
background-color: $hl
padding: 2px
a
color: $blue
a:visited
color: $orange | <|file_sep|>original/src/solarized-css/partials/elements.styl
background-color: $hl
color: $fg
margin: 1em
body
background-color: $bg
margin: 0 auto
max-width: 23cm
border: 1pt solid $comment
padding: 1em
code
background-color: $hl
padding: 2px
a
color: $blue
a:visited
color: $orange
<|file... | 75072bdad2508d07c37d4a6137f19b5a2ef861fc | src/solarized-css/partials/elements.styl | src/solarized-css/partials/elements.styl | Stylus |
<|file_sep|>test/runtests.sh.diff
original:
../test/test_http.py"
updated:
../test/test_http.py \
../test/test_commands.py"
<|file_sep|>original/test/runtests.sh
source /usr/local/bin/virtualenvwrapper.sh
# Make a virtual environment to install new pips
#
mkvirtualenv CVtests
# Upgrade pip and in... | #
source /usr/local/bin/virtualenvwrapper.sh
# Make a virtual environment to install new pips
#
mkvirtualenv CVtests
# Upgrade pip and install pips
#
pip install --upgrade pip
pip install testinfra paramiko requests
# Bring up VM ready to run tests and save ssh key for testinfra
#
(cd ${DIRNAME}/../vagrant && vagran... | <|file_sep|>test/runtests.sh.diff
original:
../test/test_http.py"
updated:
../test/test_http.py \
../test/test_commands.py"
<|file_sep|>original/test/runtests.sh
source /usr/local/bin/virtualenvwrapper.sh
# Make a virtual environment to install new pips
#
mkvirtualenv CVtests
# Upgrade pip and in... | 94a9cb7712d1ee3183d1208ebd8239c7768bff4b | test/runtests.sh | test/runtests.sh | Shell |
<|file_sep|>original/foodr-backend/db/migrate/20170729002122_create_ingredients.rb
class CreateIngredients < ActiveRecord::Migration[5.1]
def change
create_table :ingredients do |t|
t.string :name
t.text :description
t.string :type
t.string :img_url
t.timestamps
end
end
end
<|file... | class CreateIngredients < ActiveRecord::Migration[5.1]
def change
create_table :ingredients do |t|
t.string :name
t.text :description
t.boolean :is_natural
t.string :img_url
t.timestamps
end
end
end | <|file_sep|>original/foodr-backend/db/migrate/20170729002122_create_ingredients.rb
class CreateIngredients < ActiveRecord::Migration[5.1]
def change
create_table :ingredients do |t|
t.string :name
t.text :description
t.string :type
t.string :img_url
t.timestamps
end
end
end
<|file... | e423a6558d6ed7d23a32323ffa0154afeade4234 | foodr-backend/db/migrate/20170729002122_create_ingredients.rb | foodr-backend/db/migrate/20170729002122_create_ingredients.rb | Ruby |
<|file_sep|>phased/__init__.py.diff
original:
updated:
from django.utils.hashcompat import sha_constructor
<|file_sep|>original/phased/__init__.py
from django.conf import settings
def generate_secret_delimiter():
try:
from hashlib import sha1
except ImportError:
from sha import sha as sha1
... | from django.conf import settings
from django.utils.hashcompat import sha_constructor
def generate_secret_delimiter():
return sha_constructor(getattr(settings, 'SECRET_KEY', '')).hexdigest()
LITERAL_DELIMITER = getattr(settings, 'LITERAL_DELIMITER', generate_secret_delimiter()) | <|file_sep|>phased/__init__.py.diff
original:
updated:
from django.utils.hashcompat import sha_constructor
<|file_sep|>original/phased/__init__.py
from django.conf import settings
def generate_secret_delimiter():
try:
from hashlib import sha1
except ImportError:
from sha import sha as sha1
... | 029a159fe3f920d59e0168af72177b343daa4256 | phased/__init__.py | phased/__init__.py | Python |
<|file_sep|>original/features/product/viewing_products/viewing_products_form_specific_taxon.feature
<|file_sep|>current/features/product/viewing_products/viewing_products_form_specific_taxon.feature
<|file_sep|>updated/features/product/viewing_products/viewing_products_form_specific_taxon.feature | @viewing_products
Feature: Viewing products from a specific taxon
In order to see products from a specific taxon
As a Visitor
I want to be able to view products from a selected taxon
Background:
Given the store has currency "Euro"
And the store operates on a channel named "Poland"
... | <|file_sep|>original/features/product/viewing_products/viewing_products_form_specific_taxon.feature
<|file_sep|>current/features/product/viewing_products/viewing_products_form_specific_taxon.feature
<|file_sep|>updated/features/product/viewing_products/viewing_products_form_specific_taxon.feature
@viewing_products
Fe... | 9eb579530a45b8af5a76d47d7066c81b4a409061 | features/product/viewing_products/viewing_products_form_specific_taxon.feature | features/product/viewing_products/viewing_products_form_specific_taxon.feature | Cucumber |
<|file_sep|>original/functions.php
$includes = array(
'checks.php', // Set up options
'styles.php', // Enqueue our styles
'scripts.php', // Enqueue our scripts
'sidebars.php', // Set up our sidebar
'agi-excerpt.php', // Special excerpt so that includes a read more button
'agi-options-... | $includes = array(
'checks.php', // Set up options
'styles.php', // Enqueue our styles
'scripts.php', // Enqueue our scripts
'sidebars.php', // Set up our sidebar
'agi-excerpt.php', // Special excerpt so that includes a read more button
'agi-options-page.php', // Create our options ... | <|file_sep|>original/functions.php
$includes = array(
'checks.php', // Set up options
'styles.php', // Enqueue our styles
'scripts.php', // Enqueue our scripts
'sidebars.php', // Set up our sidebar
'agi-excerpt.php', // Special excerpt so that includes a read more button
'agi-options-... | 9f1e3cfba97c21da5e519b6d7d17e52cce1c7da8 | functions.php | functions.php | PHP |
<|file_sep|>original/docker/notes.md
<|file_sep|>current/docker/notes.md
<|file_sep|>updated/docker/notes.md | # Notes on Docker.
## Useful links:
[docker docs storage driver](https://docs.docker.com/storage/storagedriver/select-storage-driver/)
[storage driver deep dive](https://integratedcode.us/2016/08/30/storage-drivers-in-docker-a-deep-dive/)
| <|file_sep|>original/docker/notes.md
<|file_sep|>current/docker/notes.md
<|file_sep|>updated/docker/notes.md
# Notes on Docker.
## Useful links:
[docker docs storage driver](https://docs.docker.com/storage/storagedriver/select-storage-driver/)
[storage driver deep dive](https://integratedcode.us/2016/08/30/storage... | 170d18ad07711cac5604e3940d6750be8cf14410 | docker/notes.md | docker/notes.md | Markdown |
<|file_sep|>original/.codecov.yml
coverage:
status:
project:
default:
target: 75%
threshold: null
base: auto
comment: false
<|file_sep|>current/.codecov.yml
coverage:
status:
project:
default:
target: 75%
threshold: null
base: auto
comment: false... | coverage:
status:
project:
default:
target: auto
threshold: null
base: auto
comment: false | <|file_sep|>original/.codecov.yml
coverage:
status:
project:
default:
target: 75%
threshold: null
base: auto
comment: false
<|file_sep|>current/.codecov.yml
coverage:
status:
project:
default:
target: 75%
threshold: null
base: auto
comment: false... | b0351e224ffc29ee49ad74d41fb8ca122bfb7d1e | .codecov.yml | .codecov.yml | YAML |
<|file_sep|>original/moksha/widgetbrowser/setup.cfg
[aliases]
release = egg_info -RDb "" sdist bdist_egg register upload
test = nosetests
cover = nosetests --with-coverage
[egg_info]
tag_build = dev
tag_date = true
[nosetests]
with-coverage = false
cover-package = widgetbrowser
doctest-extension = .txt
with-doctest =... | [aliases]
release = egg_info -RDb "" sdist bdist_egg register upload
test = nosetests
cover = nosetests --with-coverage
#[egg_info]
#tag_build = dev
#tag_date = true
[nosetests]
with-coverage = false
cover-package = widgetbrowser
doctest-extension = .txt
with-doctest = true | <|file_sep|>original/moksha/widgetbrowser/setup.cfg
[aliases]
release = egg_info -RDb "" sdist bdist_egg register upload
test = nosetests
cover = nosetests --with-coverage
[egg_info]
tag_build = dev
tag_date = true
[nosetests]
with-coverage = false
cover-package = widgetbrowser
doctest-extension = .txt
with-doctest =... | 9f176f9eddd588d031ca7d7903c58c29a6142f8e | moksha/widgetbrowser/setup.cfg | moksha/widgetbrowser/setup.cfg | INI |
<|file_sep|>original/package.json
],
"bin": {
"eslint-config-prettier-check": "cli.js"
},
"keywords": [
"eslint",
"eslintconfig",
"prettier"
],
"scripts": {
"test": "eslint ."
},
"dependencies": {
"get-stdin": "^5.0.1"
},
"devDependencies": {
"eslint": ">=3.14.1",
"es... | ],
"bin": {
"eslint-config-prettier-check": "cli.js"
},
"keywords": [
"eslint",
"eslintconfig",
"prettier"
],
"scripts": {
"test-cli-sanity": "eslint --print-config .eslintrc.js | ./cli.js",
"test-lint": "eslint .",
"test": "npm run test-lint && npm run test-cli-sanity"
},
"d... | <|file_sep|>original/package.json
],
"bin": {
"eslint-config-prettier-check": "cli.js"
},
"keywords": [
"eslint",
"eslintconfig",
"prettier"
],
"scripts": {
"test": "eslint ."
},
"dependencies": {
"get-stdin": "^5.0.1"
},
"devDependencies": {
"eslint": ">=3.14.1",
"es... | 3685af3b7520bff21fd4eecab2047b7f73605a49 | package.json | package.json | JSON |
<|file_sep|>original/ulib/fs/io.fs
module FStar.IO
exception EOF
open System
open System.IO
type fd_read = TextReader
type fd_write = TextWriter
let print_newline _ = Printf.printf "\n"
let print_string x = Printf.printf "%s" x
let print_uint8 x = Printf.printf "%.02x" x
let print_any x = Printf.printf "%A"... | module FStar.IO
exception EOF
open System
open System.IO
type fd_read = TextReader
type fd_write = TextWriter
let print_newline _ = Printf.printf "\n"
let print_string x = Printf.printf "%s" x
let print_uint8 x = Printf.printf "%.02x" x
let print_uint32 x = Printf.printf "%.04x" x
let print_uint64 x = Prin... | <|file_sep|>original/ulib/fs/io.fs
module FStar.IO
exception EOF
open System
open System.IO
type fd_read = TextReader
type fd_write = TextWriter
let print_newline _ = Printf.printf "\n"
let print_string x = Printf.printf "%s" x
let print_uint8 x = Printf.printf "%.02x" x
let print_any x = Printf.printf "%A"... | 2061be164926fbf019e27d2dceab8e9d5a5b9cbd | ulib/fs/io.fs | ulib/fs/io.fs | F# |
<|file_sep|>original/.github/workflows/ci.yml
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Setup deno
uses: denolib/setup-deno@v2
with:
deno-version: v1.16.0
- name: Build gh-pages
run: |
deno --version
deno install -q... | deno --version
deno install -qAn vr https://deno.land/x/velociraptor@1.3.0/cli.ts
vr install:gustwind
vr build:site
- name: Deploy gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ... | <|file_sep|>original/.github/workflows/ci.yml
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Setup deno
uses: denolib/setup-deno@v2
with:
deno-version: v1.16.0
- name: Build gh-pages
run: |
deno --version
deno install -q... | 18b1f199d359c13418a8d7568a217b522e418db4 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>src/test/run-make/wasm-export-all-symbols/verify.js.diff
original:
my_exports[entry.name] = true;
updated:
my_exports[entry.name] = entry.kind;
<|file_sep|>src/test/run-make/wasm-export-all-symbols/verify.js.diff
original:
if (my_exports.foo === undefined)
updated:
if (my_exports.foo != "function")
<|fi... |
for (const entry of list) {
if (entry.kind == 'function'){
nexports += 1;
}
my_exports[entry.name] = entry.kind;
}
if (my_exports.foo != "function")
throw new Error("`foo` wasn't defined");
if (my_exports.FOO != "global")
throw new Error("`FOO` wasn't defined");
if (my_exports.main === undefined) {
... | <|file_sep|>src/test/run-make/wasm-export-all-symbols/verify.js.diff
original:
my_exports[entry.name] = true;
updated:
my_exports[entry.name] = entry.kind;
<|file_sep|>src/test/run-make/wasm-export-all-symbols/verify.js.diff
original:
if (my_exports.foo === undefined)
updated:
if (my_exports.foo != "function")
<|fi... | f1fb384cd62dc13d0b4647c9f988f6f46cbf4b6f | src/test/run-make/wasm-export-all-symbols/verify.js | src/test/run-make/wasm-export-all-symbols/verify.js | JavaScript |
<|file_sep|>original/Casks/razer-synapse.rb
cask :v1 => 'razer-synapse' do
version '1.44'
sha256 '63c739c78d4f537ec64b32126fc358fba4840194296e45bd7c22638af6529984'
# amazonaws.com is the official download host per the vendor homepage
url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse... | cask :v1 => 'razer-synapse' do
version '1.45'
sha256 '4b4368bf5f90cb94667a60a120d49b9073329ba6d9efcd4f5108cf709bfe8115'
# amazonaws.com is the official download host per the vendor homepage
url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse_Mac_Driver_v#{version}.dmg"
name 'Razer S... | <|file_sep|>original/Casks/razer-synapse.rb
cask :v1 => 'razer-synapse' do
version '1.44'
sha256 '63c739c78d4f537ec64b32126fc358fba4840194296e45bd7c22638af6529984'
# amazonaws.com is the official download host per the vendor homepage
url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse... | 89033d13a83810be95d3da3321067c1b35ffd1ad | Casks/razer-synapse.rb | Casks/razer-synapse.rb | Ruby |
<|file_sep|>usr.sbin/ctm/ctm/Makefile.diff
original:
# $Id$
updated:
# $Id: Makefile,v 1.3 1994/09/21 04:38:26 phk Exp $
<|file_sep|>original/usr.sbin/ctm/ctm/Makefile
#
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# <phk@login.dknet.dk> wrote t... | #
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# <phk@login.dknet.dk> wrote this file. As long as you retain this notice you
# can do whatever you want with this stuff. If we meet some day, and you think
# this stuff is worth it, you can buy me... | <|file_sep|>usr.sbin/ctm/ctm/Makefile.diff
original:
# $Id$
updated:
# $Id: Makefile,v 1.3 1994/09/21 04:38:26 phk Exp $
<|file_sep|>original/usr.sbin/ctm/ctm/Makefile
#
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# <phk@login.dknet.dk> wrote t... | 82651822bc230361c929a5a06142eeb38dbfb98f | usr.sbin/ctm/ctm/Makefile | usr.sbin/ctm/ctm/Makefile | unknown |
<|file_sep|>original/app/templates/views/api/callbacks/delivery-status-callback.html
<div class="grid-row">
<div class="column-five-sixths">
{{ page_header(
'Callbacks for delivery receipts',
back_link=url_for(back_link, service_id=current_service.id)
) }}
<p>
When you ... | <div class="grid-row">
<div class="column-five-sixths">
{{ page_header(
'Callbacks for delivery receipts',
back_link=url_for(back_link, service_id=current_service.id)
) }}
<p>
When you send an email or text message, we can tell you if Notify was able to deliver it.
... | <|file_sep|>original/app/templates/views/api/callbacks/delivery-status-callback.html
<div class="grid-row">
<div class="column-five-sixths">
{{ page_header(
'Callbacks for delivery receipts',
back_link=url_for(back_link, service_id=current_service.id)
) }}
<p>
When you ... | 9e79f5bd750d751e928e60d0f4dfe13758fbcc5f | app/templates/views/api/callbacks/delivery-status-callback.html | app/templates/views/api/callbacks/delivery-status-callback.html | HTML |
<|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff
original:
updated:
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
<|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff
original:
class LandExploredN... | ->subject('[OD] Land Exploration Completed')
->greeting('Land Exploration Completed')
->line('Hello ' . $dominion->user->display_name . '!')
->line($this->getMessage())
->action('View exploration page', route('dominion.explore'))
->line('You are re... | <|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff
original:
updated:
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
<|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff
original:
class LandExploredN... | d9c77f398de19327276700b8739d3c871443b723 | src/Notifications/Dominion/LandExploredNotification.php | src/Notifications/Dominion/LandExploredNotification.php | PHP |
<|file_sep|>original/lib/tasks/2017_08_01_clean_assign_to.rake
<|file_sep|>current/lib/tasks/2017_08_01_clean_assign_to.rake
<|file_sep|>updated/lib/tasks/2017_08_01_clean_assign_to.rake | namespace :'2017_08_01_clean_assign_to' do
task clean: :environment do
duplicates = AssignTo.group(:gestionnaire_id, :procedure_id).count.select{ |_gestionnaire_id_procedure_id, count| count > 1 }.keys
duplicate_ids = duplicates.map { |gestionnaire_id, procedure_id| AssignTo.where(gestionnaire_id: gestionnai... | <|file_sep|>original/lib/tasks/2017_08_01_clean_assign_to.rake
<|file_sep|>current/lib/tasks/2017_08_01_clean_assign_to.rake
<|file_sep|>updated/lib/tasks/2017_08_01_clean_assign_to.rake
namespace :'2017_08_01_clean_assign_to' do
task clean: :environment do
duplicates = AssignTo.group(:gestionnaire_id, :procedu... | 7fdcc91e0c4dcaa440d2ef11c34e28051dcc9911 | lib/tasks/2017_08_01_clean_assign_to.rake | lib/tasks/2017_08_01_clean_assign_to.rake | Ruby |
<|file_sep|>original/dimples.gemspec
Gem::Specification.new do |s|
s.name = 'dimples'
s.version = Dimples::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Daniel Bogan']
s.email = ['d+dimples@waferbaby.com']
s.homepage = 'http://github.com/waferbaby/dimples'
s.summary ... |
Gem::Specification.new do |s|
s.name = 'dimples'
s.version = Dimples::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Daniel Bogan']
s.email = ['d+dimples@waferbaby.com']
s.homepage = 'http://github.com/waferbaby/dimples'
s.summary = 'A basic static site generator'
... | <|file_sep|>original/dimples.gemspec
Gem::Specification.new do |s|
s.name = 'dimples'
s.version = Dimples::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Daniel Bogan']
s.email = ['d+dimples@waferbaby.com']
s.homepage = 'http://github.com/waferbaby/dimples'
s.summary ... | bb84025e96d6b9b43e180b08b300a2b40d9a694e | dimples.gemspec | dimples.gemspec | Ruby |
<|file_sep|>original/Documentation/devicetree/bindings/mips/ath79-soc.txt
<|file_sep|>current/Documentation/devicetree/bindings/mips/ath79-soc.txt
<|file_sep|>updated/Documentation/devicetree/bindings/mips/ath79-soc.txt | Binding for Qualcomm Atheros AR7xxx/AR9XXX SoC
Each device tree must specify a compatible value for the AR SoC
it uses in the compatible property of the root node. The compatible
value must be one of the following values:
- qca,ar7130
- qca,ar7141
- qca,ar7161
- qca,ar7240
- qca,ar7241
- qca,ar7242
- qca,ar9130
- qca... | <|file_sep|>original/Documentation/devicetree/bindings/mips/ath79-soc.txt
<|file_sep|>current/Documentation/devicetree/bindings/mips/ath79-soc.txt
<|file_sep|>updated/Documentation/devicetree/bindings/mips/ath79-soc.txt
Binding for Qualcomm Atheros AR7xxx/AR9XXX SoC
Each device tree must specify a compatible value f... | fe41b466f9f4c45b3368dee4a50d7c77ae7f37f9 | Documentation/devicetree/bindings/mips/ath79-soc.txt | Documentation/devicetree/bindings/mips/ath79-soc.txt | Text |
<|file_sep|>src/test/groovy/com/demo/ControllerFunctionalTest.groovy.diff
original:
def client = new RESTClient("http://localhost:8080/")
updated:
def host = getHost();
def client = new RESTClient("http://${host}:8080/")
<|file_sep|>original/src/test/groovy/com/demo/ControllerFunctionalTest.groo... | def resp = client.get(path: '/items')
then:
resp.data.size > 0
resp.data[0].name == "a"
resp.data[1].name == "b"
resp.status == 200
resp.contentType == "application/json"
}
private String getHost(String host) {
if (System.getProperty('HOST') == ... | <|file_sep|>src/test/groovy/com/demo/ControllerFunctionalTest.groovy.diff
original:
def client = new RESTClient("http://localhost:8080/")
updated:
def host = getHost();
def client = new RESTClient("http://${host}:8080/")
<|file_sep|>original/src/test/groovy/com/demo/ControllerFunctionalTest.groo... | 6f20d40bc6c7a304d820f11bd37184cc041f0d07 | src/test/groovy/com/demo/ControllerFunctionalTest.groovy | src/test/groovy/com/demo/ControllerFunctionalTest.groovy | Groovy |
<|file_sep|>original/test/helpers/auth_helper.rb
module TestHelpers
#
# Authentication test helper
#
module AuthHelper
#
# Gets an auth token for the provided user
#
def auth_token(user = User.first)
user.extend_authentication_token(true)
user.auth_token
end
#
# Adds an ... | module TestHelpers
#
# Authentication test helper
#
module AuthHelper
#
# Gets an auth token for the provided user
#
def auth_token(user = User.first)
token = user.valid_auth_tokens().first
return token.auth_token unless token.nil?
return user.generate_authentication_token!().... | <|file_sep|>original/test/helpers/auth_helper.rb
module TestHelpers
#
# Authentication test helper
#
module AuthHelper
#
# Gets an auth token for the provided user
#
def auth_token(user = User.first)
user.extend_authentication_token(true)
user.auth_token
end
#
# Adds an ... | add56ccbfee17074d664c4741b363e46c64fb076 | test/helpers/auth_helper.rb | test/helpers/auth_helper.rb | Ruby |
<|file_sep|>original/README.md
# DNS config for NSQD
Dynamically configure `nsqd` or `nsqadmin` with IP addresses from DNS A-record.
Read more about [NSQD dynamic service discovery with DNS records](http://www.hward.com/nsqd-service-discovery-with-dns-records/).
### Set up
1. Create a private zone in AWS Route 53
2... | # DNS config for NSQD
Dynamically configure `nsqd` or `nsqadmin` with IP addresses from DNS A-record. Read more about [NSQD dynamic service discovery with DNS records](http://www.hward.com/nsqd-service-discovery-with-dns-records/).
### Set up
1. Create a private zone in AWS Route 53
2. Create a Record Set with an ad... | <|file_sep|>original/README.md
# DNS config for NSQD
Dynamically configure `nsqd` or `nsqadmin` with IP addresses from DNS A-record.
Read more about [NSQD dynamic service discovery with DNS records](http://www.hward.com/nsqd-service-discovery-with-dns-records/).
### Set up
1. Create a private zone in AWS Route 53
2... | b4584d7a901e9eb3c144f7d8b9f407f8728a3d20 | README.md | README.md | Markdown |
<|file_sep|>web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp.diff
original:
String owningClassAsKey = owningObject.getClass().getSimpleName() + "." + propertyName;
updated:
String objectKey = "object." + propertyName;
String propertyLabel = propertyName;
<|file_sep|>original/web/src/main/weba... | <%@ page import="woko.persistence.ObjectStore" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%
RenderPropertyName renderPropertyName = (RenderPropertyName)request.getAttribute("renderPropertyName");
WokoFacetContext... | <|file_sep|>web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp.diff
original:
String owningClassAsKey = owningObject.getClass().getSimpleName() + "." + propertyName;
updated:
String objectKey = "object." + propertyName;
String propertyLabel = propertyName;
<|file_sep|>original/web/src/main/weba... | bfe425cfe60f5b7511376c41612ea09a47d6f4b9 | web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp | web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp | Java Server Pages |
<|file_sep|>original/metadata.rb
name 'glassfish'
maintainer 'Peter Donald'
maintainer_email 'peter@realityforge.org'
license 'Apache 2.0'
description 'Installs/Configures GlassFish Application Server'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version ... | name 'glassfish'
maintainer 'Peter Donald'
maintainer_email 'peter@realityforge.org'
license 'Apache 2.0'
description 'Installs/Configures GlassFish Application Server'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.7.5'
supports 'ubuntu'
#... | <|file_sep|>original/metadata.rb
name 'glassfish'
maintainer 'Peter Donald'
maintainer_email 'peter@realityforge.org'
license 'Apache 2.0'
description 'Installs/Configures GlassFish Application Server'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version ... | 31e998df008f064d8190109e644928e5ddaf3329 | metadata.rb | metadata.rb | Ruby |
<|file_sep|>original/tox.ini
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
skipsdist = True
envlist = py27, py32, py... | # Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
skipsdist = True
envlist = py27, py33, py34
[testenv]
commands = nose... | <|file_sep|>original/tox.ini
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
skipsdist = True
envlist = py27, py32, py... | 4081c1238722166445f58ae57e939207f8a6fb83 | tox.ini | tox.ini | INI |
<|file_sep|>lib/facter/iis_version.rb.diff
original:
Facter.add(:iis_version) do
updated:
Facter.add(:iis_version4) do
<|file_sep|>original/lib/facter/iis_version.rb
Facter.add(:iis_version) do
confine :kernel => :windows
setcode do
version = nil
require 'win32/registry'
begin
Win32::Registry::HKEY_LOCAL_MACHIN... | Facter.add(:iis_version4) do
confine :kernel => :windows
setcode do
version = nil
require 'win32/registry'
begin
Win32::Registry::HKEY_LOCAL_MACHINE.open('SOFTWARE\Microsoft\InetStp') do |reg|
version = reg['VersionString']
version = version[8..-1]
end
rescue Win32::Registry::Error
end
version
end
end | <|file_sep|>lib/facter/iis_version.rb.diff
original:
Facter.add(:iis_version) do
updated:
Facter.add(:iis_version4) do
<|file_sep|>original/lib/facter/iis_version.rb
Facter.add(:iis_version) do
confine :kernel => :windows
setcode do
version = nil
require 'win32/registry'
begin
Win32::Registry::HKEY_LOCAL_MACHIN... | 2678f326780f1386e2ba387e5dd1bd3b07aab00b | lib/facter/iis_version.rb | lib/facter/iis_version.rb | Ruby |
<|file_sep|>src/test/java/appstore/TestThisWillFailAbunch.java.diff
original:
doSomething();
updated:
assertTrue("I expected this to pass!", true);
<|file_sep|>original/src/test/java/appstore/TestThisWillFailAbunch.java
assertTrue("I expected this to pass!", true);
}
@Test
public v... | assertTrue("I expected this to pass!", true);
}
@Test
public void aNotherNewFailingTest4() {
assertTrue("I expected this to pass!", true);
}
@Test
public void aFailingTest5() {
assertTrue("I expected this to pass!", true);
}
@Test
public void aFailingTest... | <|file_sep|>src/test/java/appstore/TestThisWillFailAbunch.java.diff
original:
doSomething();
updated:
assertTrue("I expected this to pass!", true);
<|file_sep|>original/src/test/java/appstore/TestThisWillFailAbunch.java
assertTrue("I expected this to pass!", true);
}
@Test
public v... | 34cb26b961b88efd40065c9653d566273fb99fe0 | src/test/java/appstore/TestThisWillFailAbunch.java | src/test/java/appstore/TestThisWillFailAbunch.java | Java |
<|file_sep|>original/.github/workflows/continuous-integration.yml
jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@1.1... |
jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@1.20.0
qa:
name: QA Checks
needs: [ matrix ]
runs-on: ... | <|file_sep|>original/.github/workflows/continuous-integration.yml
jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@1.1... | 1fb916fb9b21cf1409d0dbaac7eed8e593207821 | .github/workflows/continuous-integration.yml | .github/workflows/continuous-integration.yml | YAML |
<|file_sep|>original/bokeh/models/widgets/panels.py
""" Various kinds of panel widgets.
"""
from __future__ import absolute_import
from ...properties import Bool, Int, String, Instance, List
from ..widget import Widget
from ..actions import Callback
class Panel(Widget):
""" A single-widget container with title b... | """ Various kinds of panel widgets.
"""
from __future__ import absolute_import
from ...properties import Bool, Int, String, Instance, List
from ..widget import Widget
from ..callbacks import Callback
class Panel(Widget):
""" A single-widget container with title bar and controls.
"""
title = String(help... | <|file_sep|>original/bokeh/models/widgets/panels.py
""" Various kinds of panel widgets.
"""
from __future__ import absolute_import
from ...properties import Bool, Int, String, Instance, List
from ..widget import Widget
from ..actions import Callback
class Panel(Widget):
""" A single-widget container with title b... | 0a73784ca3995b42b77d9a4cb3e6903154ef8914 | bokeh/models/widgets/panels.py | bokeh/models/widgets/panels.py | Python |
<|file_sep|>original/vagrant/prompt_example.rb
<|file_sep|>current/vagrant/prompt_example.rb
<|file_sep|>updated/vagrant/prompt_example.rb | Vagrant.configure('2') do |config|
# Use %q to avoid nested here-doc issue with vim-ruby syntax highlighting.
config.vm.provision :shell, :inline => %q!
cat <<BASHRC > /home/vagrant/.bashrc.local
# prompt
PS1='\[\033[00;01m \u@\h:\w \033[00m\]\n\$ '
BASHRC
line="source /home/vagrant/.bashrc.local"
file="/home/vag... | <|file_sep|>original/vagrant/prompt_example.rb
<|file_sep|>current/vagrant/prompt_example.rb
<|file_sep|>updated/vagrant/prompt_example.rb
Vagrant.configure('2') do |config|
# Use %q to avoid nested here-doc issue with vim-ruby syntax highlighting.
config.vm.provision :shell, :inline => %q!
cat <<BASHRC > /home/... | 28de8997d85f7ccc3dac2c556504a5544c71ea08 | vagrant/prompt_example.rb | vagrant/prompt_example.rb | Ruby |
<|file_sep|>original/changelog.txt
<|file_sep|>current/changelog.txt
<|file_sep|>updated/changelog.txt | Hibernate Validator Changelog
=============================
3.0.0.GA (19-03-2007)
---------------------
Initial release as a standalone product (see Hibernate Annotations changelog for previous informations)
** Bug
* [HV-2] - Deprecate String support for both @Past and @Future validating Strings
* [HV-3] - @... | <|file_sep|>original/changelog.txt
<|file_sep|>current/changelog.txt
<|file_sep|>updated/changelog.txt
Hibernate Validator Changelog
=============================
3.0.0.GA (19-03-2007)
---------------------
Initial release as a standalone product (see Hibernate Annotations changelog for previous informations)
** B... | 582262f450919cabf862755a1c03572f367cc8fb | changelog.txt | changelog.txt | Text |
<|file_sep|>dev/python/README.md.diff
original:
#### easy_install
updated:
#### pip & easy_install
<|file_sep|>original/dev/python/README.md
# Python
#### easy_install
* [python - easy_install的安装和使用](http://www.cnblogs.com/huangjacky/archive/2012/03/28/2421866.html)
<|file_sep|>current/dev/python/README.md
# Python
#... | # Python
#### pip & easy_install
* [python - easy_install的安装和使用](http://www.cnblogs.com/huangjacky/archive/2012/03/28/2421866.html)
* [Install pip, setuptools, and wheel](https://packaging.python.org/installing/#install-pip-setuptools-and-wheel) | <|file_sep|>dev/python/README.md.diff
original:
#### easy_install
updated:
#### pip & easy_install
<|file_sep|>original/dev/python/README.md
# Python
#### easy_install
* [python - easy_install的安装和使用](http://www.cnblogs.com/huangjacky/archive/2012/03/28/2421866.html)
<|file_sep|>current/dev/python/README.md
# Python
#... | 4d358806ecd54346ce7ce46cb0717cd8b3f3bed4 | dev/python/README.md | dev/python/README.md | Markdown |
<|file_sep|>original/routes/updateUserProfile.js
const challenges = cache.challenges
module.exports = function updateUserProfile () {
return (req, res, next) => {
const loggedInUser = insecurity.authenticatedUsers.get(req.cookies.token)
if (loggedInUser) {
models.User.findByPk(loggedInUser.data.id).th... | const challenges = cache.challenges
module.exports = function updateUserProfile () {
return (req, res, next) => {
const loggedInUser = insecurity.authenticatedUsers.get(req.cookies.token)
if (loggedInUser) {
models.User.findByPk(loggedInUser.data.id).then(user => {
utils.solveIf(challenges.csr... | <|file_sep|>original/routes/updateUserProfile.js
const challenges = cache.challenges
module.exports = function updateUserProfile () {
return (req, res, next) => {
const loggedInUser = insecurity.authenticatedUsers.get(req.cookies.token)
if (loggedInUser) {
models.User.findByPk(loggedInUser.data.id).th... | 3cebd82a19df42814f79725c8ab168ca50ff2b2e | routes/updateUserProfile.js | routes/updateUserProfile.js | JavaScript |
<|file_sep|>original/common.sh
#!/bin/sh
app=$1
total_number=3
link_name () { echo "$app-$1-$2"; }
link_path () { echo "$path/$(link_name $1 $2)"; }
<|file_sep|>current/common.sh
#!/bin/sh
app=$1
total_number=3
link_name () { echo "$app-$1-$2"; }
link_path () { echo "$path/$(link_name $1 $2)"; }
<|file_sep|>updated... | #!/bin/sh
app=$1
total_number=5
link_name () { echo "$app-$1-$2"; }
link_path () { echo "$path/$(link_name $1 $2)"; } | <|file_sep|>original/common.sh
#!/bin/sh
app=$1
total_number=3
link_name () { echo "$app-$1-$2"; }
link_path () { echo "$path/$(link_name $1 $2)"; }
<|file_sep|>current/common.sh
#!/bin/sh
app=$1
total_number=3
link_name () { echo "$app-$1-$2"; }
link_path () { echo "$path/$(link_name $1 $2)"; }
<|file_sep|>updated... | f2bdfd3c304f092027ae6b607f3512c6e6f83e97 | common.sh | common.sh | Shell |
<|file_sep|>original/README.md
# spring-examples
[](https://travis-ci.org/mmazurkevich/sping-examples)
[](https://www.codacy.com/app/mmazurkevic... | # spring-examples
[](https://travis-ci.org/yhaller/sping-examples)
[](https://www.codacy.com/app/mmazurkevich/sping-examples?utm_source=github.com&am... | <|file_sep|>original/README.md
# spring-examples
[](https://travis-ci.org/mmazurkevich/sping-examples)
[](https://www.codacy.com/app/mmazurkevic... | beb8d089bc5ed8169c91534e08b4ce0a5da71c56 | README.md | README.md | Markdown |
<|file_sep|>original/zsh/plugins/whastings/whastings.plugin.zsh
# SHORTCUTS:
git_status() { \print; zle accept-line; gsts; zle accept-line }
zle -N git_status
bindkey '^s' git_status
git_diff() { \print; zle accept-line; git diff; zle accept-line }
zle -N git_diff
bindkey '^f' git_diff
git_diff_cached() { \print; zl... | bindkey '^s' git_status
git_diff() { \print; zle accept-line; git diff; zle accept-line }
zle -N git_diff
bindkey '^f' git_diff
git_diff_cached() { \print; zle accept-line; git diff --cached; zle accept-line }
zle -N git_diff_cached
bindkey '^g' git_diff_cached
git_add() { \print; zle accept-line; ga; zle accept-lin... | <|file_sep|>original/zsh/plugins/whastings/whastings.plugin.zsh
# SHORTCUTS:
git_status() { \print; zle accept-line; gsts; zle accept-line }
zle -N git_status
bindkey '^s' git_status
git_diff() { \print; zle accept-line; git diff; zle accept-line }
zle -N git_diff
bindkey '^f' git_diff
git_diff_cached() { \print; zl... | 7da73f113014255d6d22ced173252d6bfcb32875 | zsh/plugins/whastings/whastings.plugin.zsh | zsh/plugins/whastings/whastings.plugin.zsh | Shell |
<|file_sep|>public/js/router.js.diff
original:
var views = {
CreateItemPageView: CreateItemPageView,
ShowItemPageView: ShowItemPageView,
SearchFormPageView: SearchFormPageView,
SearchResultsPageView: SearchResultsPageView,
},
Router = Backbone.Router.extend({
updated:
var... | 'search_form' : SearchFormPageView,
'search?*query' : SearchResultsPageView,
'search' : SearchResultsPageView
},
initialize: function(){
Backbone.history.on('route', function(router, viewClass, params){
if(this.view){
this.view.... | <|file_sep|>public/js/router.js.diff
original:
var views = {
CreateItemPageView: CreateItemPageView,
ShowItemPageView: ShowItemPageView,
SearchFormPageView: SearchFormPageView,
SearchResultsPageView: SearchResultsPageView,
},
Router = Backbone.Router.extend({
updated:
var... | 3b49ac39358b49bdce94f58e587ccb828ab63cdf | public/js/router.js | public/js/router.js | JavaScript |
<|file_sep|>original/.gitlab-ci.yml
test:
script:
- apt-get update -qy
- apt-get install -y python-dev python-pip
- pip install virtualenv
- "# Test with python 2"
- virtualenv --system-site-packages --python=/usr/bin/python2 venv2
# NOTE: Installing these packages by hand is a
# temporary solution.
#... | - apt-get update -qy
- apt-get install -y python-dev python-pip
- pip install virtualenv
- "# Test with python 2"
- virtualenv --system-site-packages --python=/usr/bin/python2 venv2
# NOTE: Installing these packages by hand is a
# temporary solution.
# TODO: Try setting up a runner with a ROS image.
-... | <|file_sep|>original/.gitlab-ci.yml
test:
script:
- apt-get update -qy
- apt-get install -y python-dev python-pip
- pip install virtualenv
- "# Test with python 2"
- virtualenv --system-site-packages --python=/usr/bin/python2 venv2
# NOTE: Installing these packages by hand is a
# temporary solution.
#... | 20d46589bdce101e0965beb23b23b26f8d93c09f | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>original/.cyclid.json
<|file_sep|>current/.cyclid.json
<|file_sep|>updated/.cyclid.json | {
"name" : "Cyclid-client",
"environment" : {
"os" : "ubuntu_trusty",
"packages" : [
"ruby2.0",
"ruby2.0-dev"
]
},
"stages" : [
{
"name" : "bundle-install",
"steps" : [
{
"action" : "command",
"cmd" : "sudo... | <|file_sep|>original/.cyclid.json
<|file_sep|>current/.cyclid.json
<|file_sep|>updated/.cyclid.json
{
"name" : "Cyclid-client",
"environment" : {
"os" : "ubuntu_trusty",
"packages" : [
"ruby2.0",
"ruby2.0-dev"
]
},
"stages" : [
{
"name" : "bundle-install"... | 802e3406e43ea297c903d7ba8625d2c7e4033fd8 | .cyclid.json | .cyclid.json | JSON |
<|file_sep|>original/lib/package/plugins/serviceCalloutResponseName.js
var onPolicy = function(policy,cb) {
var hadWarning = false;
if (
policy.getType() === "ServiceCallout" &&
myUtil.selectTagValue(policy, "/ServiceCallout/Response") === "response"
) {
hadWarning = true;
policy.addMessage({
... | var onPolicy = function(policy,cb) {
var hadWarning = false;
if (
policy.getType() === "ServiceCallout" &&
myUtil.selectTagValue(policy, "/ServiceCallout/Response") === "response"
) {
hadWarning = true;
policy.addMessage({
plugin,
message:
'Policy has a Response variable named ... | <|file_sep|>original/lib/package/plugins/serviceCalloutResponseName.js
var onPolicy = function(policy,cb) {
var hadWarning = false;
if (
policy.getType() === "ServiceCallout" &&
myUtil.selectTagValue(policy, "/ServiceCallout/Response") === "response"
) {
hadWarning = true;
policy.addMessage({
... | 1bc1a5cc39570cff0713f748505d3973fb9ec534 | lib/package/plugins/serviceCalloutResponseName.js | lib/package/plugins/serviceCalloutResponseName.js | JavaScript |
<|file_sep|>original/README.md
# jquery.it7InputRules
Plug-in for filtering and transforming text entered in the input field.
## Limitation
* Тext inserted using the browser autocomplete - not filtered.
* In IE8 - The text is inserted in the INPUT - not filtered.
* Ctrl+Z disabled.
## Usage
Except loading js-file y... | [](https://travis-ci.org/it7-solutions/jquery.it7InputRules)
# jquery.it7InputRules
Plug-in for filtering and transforming text entered in the input field.
## Limitation
* Тext inserted using the browser autocomplete - not fil... | <|file_sep|>original/README.md
# jquery.it7InputRules
Plug-in for filtering and transforming text entered in the input field.
## Limitation
* Тext inserted using the browser autocomplete - not filtered.
* In IE8 - The text is inserted in the INPUT - not filtered.
* Ctrl+Z disabled.
## Usage
Except loading js-file y... | 19401f224a27ab4ca09140b50004cdaaf73bbfd8 | README.md | README.md | Markdown |
<|file_sep|>src/Lidsys/Football/Controller/views/football/team-standings.html.diff
original:
updated:
<tr>
<th></th>
<th>Team</th>
<th>Wins</th>
<th>Losses</th>
<th>Ties</th>
</tr>
<|file_sep|>original/src/Lidsys/Fo... | <table class="small-12" style="margin: 0 auto; ">
<tr>
<th></th>
<th>Team</th>
<th>Wins</th>
<th>Losses</th>
<th>Ties</th>
</tr>
<tr ng-repeat="standing in standings">
<td style="
... | <|file_sep|>src/Lidsys/Football/Controller/views/football/team-standings.html.diff
original:
updated:
<tr>
<th></th>
<th>Team</th>
<th>Wins</th>
<th>Losses</th>
<th>Ties</th>
</tr>
<|file_sep|>original/src/Lidsys/Fo... | 8d50f33346dd652e0a6eacaf20f4cfd1632f3d01 | src/Lidsys/Football/Controller/views/football/team-standings.html | src/Lidsys/Football/Controller/views/football/team-standings.html | HTML |
<|file_sep|>original/ansible/roles/node-app/tasks/main.yml
- name: install pslist
apt: name=pslist
- name: upload init script
template: src=init.j2 dest="/etc/init.d/{{ app_name }}" mode=0755
- name: install npm dependencies
become_user: "{{ app_user }}"
command: npm install --production
args:
chdir: "{... | - name: install pslist
apt: name=pslist
- name: upload init script
template: src=init.j2 dest="/etc/init.d/{{ app_name }}" mode=0755
- name: install npm dependencies
become_user: "{{ app_user }}"
command: npm install --production
args:
chdir: "{{ app_path }}"
- name: run additional setup command
beco... | <|file_sep|>original/ansible/roles/node-app/tasks/main.yml
- name: install pslist
apt: name=pslist
- name: upload init script
template: src=init.j2 dest="/etc/init.d/{{ app_name }}" mode=0755
- name: install npm dependencies
become_user: "{{ app_user }}"
command: npm install --production
args:
chdir: "{... | e472a2adf1b2158785230d791d8fc5da46d52ab9 | ansible/roles/node-app/tasks/main.yml | ansible/roles/node-app/tasks/main.yml | YAML |
<|file_sep|>original/requirements/ci.txt
pytest==3.3.2
pytest-cov==2.5.1
python-logstash==0.4.6
pytest-asyncio==0.8.0
pytest-mock==1.6.3
-r prod.txt
<|file_sep|>current/requirements/ci.txt
pytest==3.3.2
pytest-cov==2.5.1
python-logstash==0.4.6
pytest-asyncio==0.8.0
pytest-mock==1.6.3
-r prod.txt
<|file_sep|>updated/req... | pytest==3.4.0
pytest-cov==2.5.1
python-logstash==0.4.6
pytest-asyncio==0.8.0
pytest-mock==1.6.3
-r prod.txt | <|file_sep|>original/requirements/ci.txt
pytest==3.3.2
pytest-cov==2.5.1
python-logstash==0.4.6
pytest-asyncio==0.8.0
pytest-mock==1.6.3
-r prod.txt
<|file_sep|>current/requirements/ci.txt
pytest==3.3.2
pytest-cov==2.5.1
python-logstash==0.4.6
pytest-asyncio==0.8.0
pytest-mock==1.6.3
-r prod.txt
<|file_sep|>updated/req... | 085ab011d56be2601d648974ffe250b72de04f4f | requirements/ci.txt | requirements/ci.txt | Text |
<|file_sep|>docs/installation.md.diff
original:
```python
updated:
```
<|file_sep|>original/docs/installation.md
...
"pinax.messages"
...
)
```
### Run Migrations
* Run Django migrations to create `pinax-messages` database tables:
```python
$ python manage.py migrate
```
### Hook Up URLs... | ...
"pinax.messages"
...
)
```
### Run Migrations
* Run Django migrations to create `pinax-messages` database tables:
```
$ python manage.py migrate
```
### Hook Up URLs
Add `pinax.messages.urls` to your project urlpatterns:
```python
urlpatterns = [
... | <|file_sep|>docs/installation.md.diff
original:
```python
updated:
```
<|file_sep|>original/docs/installation.md
...
"pinax.messages"
...
)
```
### Run Migrations
* Run Django migrations to create `pinax-messages` database tables:
```python
$ python manage.py migrate
```
### Hook Up URLs... | 51ac36ae57e5bb245fcf0c5d263360f858dde40b | docs/installation.md | docs/installation.md | Markdown |
<|file_sep|>original/libstd/build.sh
#!/bin/bash
if [ -z "`which xmbld`" ]; then
../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@
else
mbld $@
fi
<|file_sep|>current/libstd/build.sh
#!/bin/bash
if [ -z "`which xmbld`" ]; then
../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@
else
mbld $@
fi
<|file_... | #!/bin/bash
if [ -z "`which mbld`" ]; then
../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@
else
mbld $@
fi
| <|file_sep|>original/libstd/build.sh
#!/bin/bash
if [ -z "`which xmbld`" ]; then
../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@
else
mbld $@
fi
<|file_sep|>current/libstd/build.sh
#!/bin/bash
if [ -z "`which xmbld`" ]; then
../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@
else
mbld $@
fi
<|file_... | e9c151989b3e9d75957e87d85d426581ec91515f | libstd/build.sh | libstd/build.sh | Shell |
<|file_sep|>django/core/checks/compatibility/django_1_7_0.py.diff
original:
hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES."
updated:
hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. "
<|file_sep|>original/django/core/checks/compatibilit... | warns them about the global default changes.
"""
from django.conf import settings
# MIDDLEWARE_CLASSES is overridden by default by startproject. If users
# have removed this override then we'll warn them about the default changes.
if not settings.is_overridden('MIDDLEWARE_CLASSES'):
ret... | <|file_sep|>django/core/checks/compatibility/django_1_7_0.py.diff
original:
hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES."
updated:
hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. "
<|file_sep|>original/django/core/checks/compatibilit... | 4c39c270af91ddbc213e077fc06b4bf67c7c6e99 | django/core/checks/compatibility/django_1_7_0.py | django/core/checks/compatibility/django_1_7_0.py | Python |
<|file_sep|>original/web/js/reducers.js
// Copyright © 2015-2017 Esko Luontola
// This software is released under the Apache License 2.0.
// The license text is at http://www.apache.org/licenses/LICENSE-2.0
/* @flow */
import combineReducers from "redux/es/combineReducers";
import type {ApiState} from "./apiReducer";... | // Copyright © 2015-2017 Esko Luontola
// This software is released under the Apache License 2.0.
// The license text is at http://www.apache.org/licenses/LICENSE-2.0
/* @flow */
import combineReducers from "redux/lib/combineReducers";
import type {ApiState} from "./apiReducer";
import api from "./apiReducer";
import... | <|file_sep|>original/web/js/reducers.js
// Copyright © 2015-2017 Esko Luontola
// This software is released under the Apache License 2.0.
// The license text is at http://www.apache.org/licenses/LICENSE-2.0
/* @flow */
import combineReducers from "redux/es/combineReducers";
import type {ApiState} from "./apiReducer";... | 16c1e7f7fd59789d20ebe4d00675e8ebcd356dab | web/js/reducers.js | web/js/reducers.js | JavaScript |
<|file_sep|>benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java.diff
original:
updated:
import static com.google.common.base.Strings.emptyToNull;
<|file_sep|>original/benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java
import org.cachebench.reportgenerators.CsvStatisticReport... | import org.cachebench.reportgenerators.CsvStatisticReportGenerator;
import java.io.File;
/**
* An extension of the report generator to simplify the file name.
*
* @author bmanes@google.com (Ben Manes)
*/
public final class CustomCsvStatisticReportGenerator extends CsvStatisticReportGenerator {
@Override public... | <|file_sep|>benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java.diff
original:
updated:
import static com.google.common.base.Strings.emptyToNull;
<|file_sep|>original/benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java
import org.cachebench.reportgenerators.CsvStatisticReport... | c37d7fd0d2f9bcc5ecb876975d81228a7fcbe0e5 | benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java | benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java | Java |
<|file_sep|>original/backend/app/views/spree/admin/promotion_categories/_form.html.erb
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %>
<div class='row'>
<div class='alpha six columns'>
<%= f.field_container :name do %>
<%= f.label :name %>
<%= f.text_fiel... | <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %>
<div class='row'>
<div class='col-xs-4'>
<%= f.field_container :name do %>
<%= f.label :name %>
<%= f.text_field :name, :class => 'fullwidth' %>
<% end %>
<%= f.field_container :code do %>
<%= ... | <|file_sep|>original/backend/app/views/spree/admin/promotion_categories/_form.html.erb
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %>
<div class='row'>
<div class='alpha six columns'>
<%= f.field_container :name do %>
<%= f.label :name %>
<%= f.text_fiel... | 2dd4a0bec817abeab78ed92f63d40f6fb5b1b46a | backend/app/views/spree/admin/promotion_categories/_form.html.erb | backend/app/views/spree/admin/promotion_categories/_form.html.erb | HTML+ERB |
<|file_sep|>original/README.md
# Hound
Hound is a syntax verifying service.
For more syntax information refer to [thoughbot's guides](https://github.com/thoughtbot/guides)
<|file_sep|>current/README.md
# Hound
Hound is a syntax verifying service.
For more syntax information refer to [thoughbot's guides](https://git... | # Hound
Hound is a syntax verifying service.
For more syntax information refer to [thoughbot's guides](https://github.com/thoughtbot/guides)
# Development
Steps for setting up your development environment:
1. Install localtunnel locally so that whatever you run on your local server can be made publicly
accessib... | <|file_sep|>original/README.md
# Hound
Hound is a syntax verifying service.
For more syntax information refer to [thoughbot's guides](https://github.com/thoughtbot/guides)
<|file_sep|>current/README.md
# Hound
Hound is a syntax verifying service.
For more syntax information refer to [thoughbot's guides](https://git... | 19970f1f91e69d7c1665435418738894d20a5e4c | README.md | README.md | Markdown |
<|file_sep|>original/roles/neovim/tasks/main.yml
regexp: "^{{ item.key }}="
line: "{{ item.key }}={{ item.val }}"
create: yes
mode: 644
owner: root
group: root
when: ansible_os_family != "NixOS"
with_items:
- { "key": "EDITOR", "val": "nvim" }
- { "key": "VISUAL", "val": "nvim" }
- ... | group: root
when: ansible_os_family != "NixOS"
with_items:
- { "key": "EDITOR", "val": "nvim" }
- { "key": "VISUAL", "val": "nvim" }
- name: Symlink neovim config directory
file:
src: "{{ role_path }}/files"
dest: "~/.config/nvim"
state: link
- name: Create autoload directory for vim-plu... | <|file_sep|>original/roles/neovim/tasks/main.yml
regexp: "^{{ item.key }}="
line: "{{ item.key }}={{ item.val }}"
create: yes
mode: 644
owner: root
group: root
when: ansible_os_family != "NixOS"
with_items:
- { "key": "EDITOR", "val": "nvim" }
- { "key": "VISUAL", "val": "nvim" }
- ... | 2d0d9302a269160cb3fe80b44b231848fc5cf020 | roles/neovim/tasks/main.yml | roles/neovim/tasks/main.yml | YAML |
<|file_sep|>server.js.diff
original:
var channel = slack.getChannelGroupOrDMByID(message.channel);
updated:
var channel = slack.getChannelGroupOrDMByID(message.channel);
<|file_sep|>original/server.js
var config = require('./config.js');
var Slack = require('slack-client');
var token = config.slackApiKey;
var sla... | var config = require('./config.js');
var Slack = require('slack-client');
var token = config.slackApiKey;
var slack = new Slack(token, true, true);
slack.on('message', function(message) {
var user = slack.getUserByID(message.user);
var channel = slack.getChannelGroupOrDMByID(message.channel);
// if (messa... | <|file_sep|>server.js.diff
original:
var channel = slack.getChannelGroupOrDMByID(message.channel);
updated:
var channel = slack.getChannelGroupOrDMByID(message.channel);
<|file_sep|>original/server.js
var config = require('./config.js');
var Slack = require('slack-client');
var token = config.slackApiKey;
var sla... | 23991aaef3ec1d9be8de478d799acb100b9501d1 | server.js | server.js | JavaScript |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
-... | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
- '5.1'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
-... | cb9272db6da155f54525a9baee0c6b2d60028d1c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/InternalRequest.php
public $protocol;
public $method;
public $headers;
public $body;
public $uri;
public $uriRaw;
public $uriHost;
public $uriPort;
public $uriPath;
public $uriQuery;
public $cookies;
public $remaining;
public $time;
public... | public $trace;
public $protocol;
public $method;
public $headers;
public $body;
public $uri;
public $uriRaw;
public $uriHost;
public $uriPort;
public $uriPath;
public $uriQuery;
public $cookies;
public $remaining;
public $time;
public $locals;
public func... | <|file_sep|>original/lib/InternalRequest.php
public $protocol;
public $method;
public $headers;
public $body;
public $uri;
public $uriRaw;
public $uriHost;
public $uriPort;
public $uriPath;
public $uriQuery;
public $cookies;
public $remaining;
public $time;
public... | 3f461660ded6e27b011f7f577ac18441e6e1a14e | lib/InternalRequest.php | lib/InternalRequest.php | PHP |
<|file_sep|>original/src/Behavior/RenderError.php
{
public function renderNotFound(Response $response, $message)
{
Assertion::string($message);
$response->setStatusCode(404);
$response->setResult(ResourceFactory::result(['message' => $message]));
return $response;
}
pu... | return $response;
}
public function renderBadRequest(Response $response, $message)
{
Assertion::string($message);
$response->setStatusCode(400);
$response->setResult(ResourceFactory::result(['message' => $message]));
return $response;
}
public function ren... | <|file_sep|>original/src/Behavior/RenderError.php
{
public function renderNotFound(Response $response, $message)
{
Assertion::string($message);
$response->setStatusCode(404);
$response->setResult(ResourceFactory::result(['message' => $message]));
return $response;
}
pu... | be3f55bee8949f4115008376a5ac57412a42977f | src/Behavior/RenderError.php | src/Behavior/RenderError.php | PHP |
<|file_sep|>original/app/routes/quotes/components/QuoteList.js
return (
<ul>
{quotes.map(quote => (
<Quote
actionGrant={actionGrant}
approve={approve}
unapprove={unapprove}
deleteQuote={deleteQuote}
quote={quote}
key={q... |
return (
<ul>
{quotes
.filter(Boolean)
.map(quote => (
<Quote
actionGrant={actionGrant}
approve={approve}
unapprove={unapprove}
deleteQuote={deleteQuote}
quote={quote}
key={quote.id}
... | <|file_sep|>original/app/routes/quotes/components/QuoteList.js
return (
<ul>
{quotes.map(quote => (
<Quote
actionGrant={actionGrant}
approve={approve}
unapprove={unapprove}
deleteQuote={deleteQuote}
quote={quote}
key={q... | 61edab4f12e26652f6d53f3456b0b1c75de8faa4 | app/routes/quotes/components/QuoteList.js | app/routes/quotes/components/QuoteList.js | JavaScript |
<|file_sep|>style.css.diff
original:
updated:
text-shadow: 2px 10px 10px rgba(0, 0, 0, 0.2);
-webkit-transition: text-shadow 0.1s linear;
<|file_sep|>original/style.css
margin: 0 auto;
}
#sites li {
display: inline-block;
padding: 0 10px;
font-size: 100px;
font-family: "Futura", sans-serif;
line-height: ... | font-size: 100px;
font-family: "Futura", sans-serif;
line-height: 100px;
text-shadow: 2px 10px 10px rgba(0, 0, 0, 0.2);
-webkit-transition: text-shadow 0.1s linear;
}
#sites li:first-child {
padding-left: 0;
}
#sites li:last-child {
padding-right: 0;
}
#sites li:hover {
text-shadow: 2px 20px 10px rgba(0, ... | <|file_sep|>style.css.diff
original:
updated:
text-shadow: 2px 10px 10px rgba(0, 0, 0, 0.2);
-webkit-transition: text-shadow 0.1s linear;
<|file_sep|>original/style.css
margin: 0 auto;
}
#sites li {
display: inline-block;
padding: 0 10px;
font-size: 100px;
font-family: "Futura", sans-serif;
line-height: ... | 9d4a6db841312f023e288dba39dc9f56660ee059 | style.css | style.css | CSS |
<|file_sep|>security/citadel/values.yaml.diff
original:
security:
enabled: true
replicaCount: 1
image: citadel
selfSigned: true # indicate if self-signed CA is used.
trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL
updated:
enabled: true
replicaCount: 1
image: citadel
selfSigned: t... | image: citadel
selfSigned: true # indicate if self-signed CA is used.
trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL
# Galley, pilot in each 'profile' must have a DNS cert.
dnsCerts:
#istio-pilot-service-account.istio-control: istio-pilot-service-account.istio-control
#istio-pilot-ser... | <|file_sep|>security/citadel/values.yaml.diff
original:
security:
enabled: true
replicaCount: 1
image: citadel
selfSigned: true # indicate if self-signed CA is used.
trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL
updated:
enabled: true
replicaCount: 1
image: citadel
selfSigned: t... | 8173c9740d26a67d92f571de6a9162c302b13298 | security/citadel/values.yaml | security/citadel/values.yaml | YAML |
<|file_sep|>original/scientist.gemspec
$: << "lib" and require "scientist/version"
Gem::Specification.new do |gem|
gem.name = "scientist"
gem.description = "A Ruby library for carefully refactoring critical paths"
gem.version = Scientist::VERSION
gem.authors = ["GitHub Open Source", "Joh... | $: << "lib" and require "scientist/version"
Gem::Specification.new do |gem|
gem.name = "scientist"
gem.description = "A Ruby library for carefully refactoring critical paths"
gem.version = Scientist::VERSION
gem.authors = ["GitHub Open Source", "John Barnette", "Rick Bradley"]
gem.emai... | <|file_sep|>original/scientist.gemspec
$: << "lib" and require "scientist/version"
Gem::Specification.new do |gem|
gem.name = "scientist"
gem.description = "A Ruby library for carefully refactoring critical paths"
gem.version = Scientist::VERSION
gem.authors = ["GitHub Open Source", "Joh... | 2e64248536ddf0b78a1cdbd7dfdcc83b7b7cff4b | scientist.gemspec | scientist.gemspec | Ruby |
<|file_sep|>original/.travis.yml
sudo: false
rvm:
- 2.2
- 2.1
- 2.0
- 1.9.3
- jruby-1.7.12
# whitelist
branches:
only:
- master
- v1.3.x-bugfix
notifications:
webhooks:
urls: # gitter
- https://webhooks.gitter.im/e/dc010332f9d40fcc21c4
<|file_sep|>current/.travis.yml
sudo: false
rvm:... | sudo: false
rvm:
- 2.2
- 2.1
- 2.0
- 1.9.3
- jruby-1.7.12
# whitelist
branches:
only:
- master
- v1.3.x-bugfix
notifications:
email:
- cukes-devs@googlegroups.com
webhooks:
urls: # gitter
- https://webhooks.gitter.im/e/dc010332f9d40fcc21c4 | <|file_sep|>original/.travis.yml
sudo: false
rvm:
- 2.2
- 2.1
- 2.0
- 1.9.3
- jruby-1.7.12
# whitelist
branches:
only:
- master
- v1.3.x-bugfix
notifications:
webhooks:
urls: # gitter
- https://webhooks.gitter.im/e/dc010332f9d40fcc21c4
<|file_sep|>current/.travis.yml
sudo: false
rvm:... | eec913a517bf6bd0981f381df801b3624f418f2b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/what-is-a-model.txt
<|file_sep|>current/doc/what-is-a-model.txt
<|file_sep|>updated/doc/what-is-a-model.txt | This document explains the definition of a mathematical model supposed to
be recognized by Flint.
A model has an arbitrary number of variables, each of which belongs to one of
two groups: independent and dependent ones.
A variable has its name and the set of its possible values, called its domain.
Note that the domai... | <|file_sep|>original/doc/what-is-a-model.txt
<|file_sep|>current/doc/what-is-a-model.txt
<|file_sep|>updated/doc/what-is-a-model.txt
This document explains the definition of a mathematical model supposed to
be recognized by Flint.
A model has an arbitrary number of variables, each of which belongs to one of
two grou... | d9518fba5d41ef56a705cbaa9897a7043465f56d | doc/what-is-a-model.txt | doc/what-is-a-model.txt | Text |
<|file_sep|>lib/tasks/export/check_ins.rake.diff
original:
attr_accessor :created_at, :meeting_date, :club_name, :leaders, :attendance,
:notes
updated:
attr_accessor :created_at, :meeting_date, :club_name, :leader_names,
:attendance, :notes
<|file_sep|>lib/tasks/export/check_ins.rake... | @attendance = attendance
@notes = notes
end
def self.csv_title
['Check In Completion Timestamp', 'Meeting Date', 'Club Name', 'Leaders',
'Attendance', 'Notes']
end
def csv_contents
[created_at, meeting_date, club_name, leader_names.join(', '), attendance,
notes]
end
end
desc 'Gene... | <|file_sep|>lib/tasks/export/check_ins.rake.diff
original:
attr_accessor :created_at, :meeting_date, :club_name, :leaders, :attendance,
:notes
updated:
attr_accessor :created_at, :meeting_date, :club_name, :leader_names,
:attendance, :notes
<|file_sep|>lib/tasks/export/check_ins.rake... | a942bc90602391d0dfe930193e2fe396f226c0d0 | lib/tasks/export/check_ins.rake | lib/tasks/export/check_ins.rake | Ruby |
<|file_sep|>src/main/java/net/openhft/chronicle/core/time/TimeProvider.java.diff
original:
return currentTimeMillis() * 1000000;
updated:
return currentTimeMicros() * 1000;
<|file_sep|>original/src/main/java/net/openhft/chronicle/core/time/TimeProvider.java
static TimeProvider get() {
retur... | default long currentTimeMicros() {
return currentTimeMillis() * 1000;
}
default long currentTimeNanos() {
return currentTimeMicros() * 1000;
}
default long currentTime(TimeUnit timeUnit) {
switch (timeUnit) {
case NANOSECONDS:
return currentTimeN... | <|file_sep|>src/main/java/net/openhft/chronicle/core/time/TimeProvider.java.diff
original:
return currentTimeMillis() * 1000000;
updated:
return currentTimeMicros() * 1000;
<|file_sep|>original/src/main/java/net/openhft/chronicle/core/time/TimeProvider.java
static TimeProvider get() {
retur... | 613cf31e5f472c5467655902a9c86fd814898374 | src/main/java/net/openhft/chronicle/core/time/TimeProvider.java | src/main/java/net/openhft/chronicle/core/time/TimeProvider.java | Java |
<|file_sep|>Casks/sublime-text-dev.rb.diff
original:
version 'Build 3064'
sha256 '727d14b2ba577c680a2d90645db16f6f736c545820fe90d44cc85ac6808c2f03'
updated:
version 'Build 3066'
sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c'
<|file_sep|>original/Casks/sublime-text-dev.rb
class Sublime... | class SublimeTextDev < Cask
version 'Build 3066'
sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c'
url 'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203066.dmg'
homepage 'http://www.sublimetext.com/3dev'
license :closed
app 'Sublime Text.app'
binary 'Sublime Text.app... | <|file_sep|>Casks/sublime-text-dev.rb.diff
original:
version 'Build 3064'
sha256 '727d14b2ba577c680a2d90645db16f6f736c545820fe90d44cc85ac6808c2f03'
updated:
version 'Build 3066'
sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c'
<|file_sep|>original/Casks/sublime-text-dev.rb
class Sublime... | ca23f4139ec7c28a5b9de2b4673e40051696ad6c | Casks/sublime-text-dev.rb | Casks/sublime-text-dev.rb | Ruby |
<|file_sep|>original/CHANGELOG.md
# Changelog
## 1.0.0-alpha.2 (2017-01-10)
- **[NEW]** Add `select()` API operation
## 1.0.0-alpha.1 (2016-12-15)
- Initial release
<|file_sep|>current/CHANGELOG.md
# Changelog
## 1.0.0-alpha.2 (2017-01-10)
- **[NEW]** Add `select()` API operation
## 1.0.0-alpha.1 (2016-12-15)
-... | # Changelog
## 1.0.0 (2017-10-18)
This is the first stable release of `recoil/react`. There have been no changes
to the API since the `1.0.0-alpha.2` release. This package is being used in
production systems.
Please note that although this version is based on a "pre-release" tag of
[`react/event-loop`](https://githu... | <|file_sep|>original/CHANGELOG.md
# Changelog
## 1.0.0-alpha.2 (2017-01-10)
- **[NEW]** Add `select()` API operation
## 1.0.0-alpha.1 (2016-12-15)
- Initial release
<|file_sep|>current/CHANGELOG.md
# Changelog
## 1.0.0-alpha.2 (2017-01-10)
- **[NEW]** Add `select()` API operation
## 1.0.0-alpha.1 (2016-12-15)
-... | 97781a020e32a07580e4a10b8195179af6ccca64 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/pages/reference-architecture/0012-simple.rst
.. index:: Reference Architectures: Multi-node
.. _Multi-node:
Multi-node Deployment
========================================
In a production environment, you will not likely ever have a Multi-node
deployment of OpenStack, partly because it forces y... |
.. index:: Reference Architectures: Multi-node
.. _Multi-node:
Multi-node Deployment
========================================
For a production environment, you will typically create a high-availability deployment of OpenStack. However, the Multi-node (non-HA) deployment is extremely useful if you just want to see h... | <|file_sep|>original/pages/reference-architecture/0012-simple.rst
.. index:: Reference Architectures: Multi-node
.. _Multi-node:
Multi-node Deployment
========================================
In a production environment, you will not likely ever have a Multi-node
deployment of OpenStack, partly because it forces y... | 2645da7283fb0d6effa6c841ae106485b1945f80 | pages/reference-architecture/0012-simple.rst | pages/reference-architecture/0012-simple.rst | reStructuredText |
<|file_sep|>original/includes/bootstrap.php
require APP_INCLUDES_PATH . 'autoloader.php';
require APP_INCLUDES_PATH . 'functions.php';
check_php_mysql_version();
// Init the application
global $app;
$app = new Application();
// Load config file
require APP_PATH . 'config.php';
// Init the database
$app->init_databa... | require APP_INCLUDES_PATH . 'autoloader.php';
require APP_INCLUDES_PATH . 'functions.php';
check_php_mysql_version();
// Init the application
global $app;
$app = new Application();
// Load config file
if ( is_file( APP_PATH . 'config.php' ) )
require APP_PATH . 'config.php';
else
die( 'Config Error: Please copy <c... | <|file_sep|>original/includes/bootstrap.php
require APP_INCLUDES_PATH . 'autoloader.php';
require APP_INCLUDES_PATH . 'functions.php';
check_php_mysql_version();
// Init the application
global $app;
$app = new Application();
// Load config file
require APP_PATH . 'config.php';
// Init the database
$app->init_databa... | 5c4862735cea9c159159caf6e9cc44bee6b30772 | includes/bootstrap.php | includes/bootstrap.php | PHP |
<|file_sep|>.travis.yml.diff
original:
updated:
- nightly
<|file_sep|>original/.travis.yml
matrix:
fast_finish: true
include:
- php: 5.4
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- ph... | fast_finish: true
include:
- php: 5.4
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
allow_failures:
- php: nightly
before_install:
... | <|file_sep|>.travis.yml.diff
original:
updated:
- nightly
<|file_sep|>original/.travis.yml
matrix:
fast_finish: true
include:
- php: 5.4
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- ph... | 6c2154da01d5207f8e68516e243da2b0a4387749 | .travis.yml | .travis.yml | YAML |
<|file_sep|>templates/themes/base/css/video_splash.css.diff
original:
.bt_login_forgot a, #form_login_user label, #promo_text, #form_join_user em {color:#FFF !important}
updated:
.bt_login_forgot a, #form_login_user label, #promo_text, #promo_text a, #form_join_user em {color:#FFF !important}
<|file_sep|>original/templ... | /*
* Author: Pierre-Henry Soria <hello@ph7cms.com>
* Copyright: (c) 2016, Pierre-Henry Soria. All Rights Reserved.
* License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
*/
/** Change the color text to a more visible one (darker/whiter) when the bac... | <|file_sep|>templates/themes/base/css/video_splash.css.diff
original:
.bt_login_forgot a, #form_login_user label, #promo_text, #form_join_user em {color:#FFF !important}
updated:
.bt_login_forgot a, #form_login_user label, #promo_text, #promo_text a, #form_join_user em {color:#FFF !important}
<|file_sep|>original/templ... | 75544988091ff83b253c9d22b0ebe6fd3ad51fda | templates/themes/base/css/video_splash.css | templates/themes/base/css/video_splash.css | CSS |
<|file_sep|>original/.travis.yml
language: ruby
jdk:
- oraclejdk7
rvm:
- 2.3.1
install:
- rvm use 2.3.1
- gem install bundler
- bundle install
env:
- TEST_PG_DB_USER=postgres
script: buildr clean package
git:
depth: 10
<|file_sep|>current/.travis.yml
language: ruby
jdk:
- oraclejdk7
rvm:
- 2.3.1
insta... | language: ruby
jdk:
- oraclejdk7
sudo: false
rvm:
- 2.3.1
install:
- rvm use 2.3.1
- gem install bundler
- bundle install
env:
- TEST_PG_DB_USER=postgres
script: buildr clean package
git:
depth: 10 | <|file_sep|>original/.travis.yml
language: ruby
jdk:
- oraclejdk7
rvm:
- 2.3.1
install:
- rvm use 2.3.1
- gem install bundler
- bundle install
env:
- TEST_PG_DB_USER=postgres
script: buildr clean package
git:
depth: 10
<|file_sep|>current/.travis.yml
language: ruby
jdk:
- oraclejdk7
rvm:
- 2.3.1
insta... | a4aeb20a3bedc29bd8f80eec3c74f677d3713c48 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
email:
# change is when the repo status goes from pass to fail or vice versa
on_success: change
on_failure: always
# whitelist
branches:
only:
- master
- development
- test
# blacklist
except:
- /^.*test.*$/
python:
- "2.7"
# Django versions to te... | email:
# change is when the repo status goes from pass to fail or vice versa
on_success: change
on_failure: always
# whitelist
branches:
only:
- master
- development
# blacklist
except:
- /^.*test.*$/
python:
- "2.7"
# Django versions to test against
env:
- DJANGO_VERSION=1.8.3 SEC... | <|file_sep|>original/.travis.yml
email:
# change is when the repo status goes from pass to fail or vice versa
on_success: change
on_failure: always
# whitelist
branches:
only:
- master
- development
- test
# blacklist
except:
- /^.*test.*$/
python:
- "2.7"
# Django versions to te... | b5bf59ce0aa80bcfec094f7ec56d23fd962c39e0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/manual/src/release-notes/rl-next.md
* `defaultTemplate` → `templates.default`
* `defaultBundler.<system>` → `bundlers.<system>.default`
* `overlay` → `overlays.default`
* `devShell.<system>` → `devShells.<system>.default`
The old flake output attributes still work, but `nix flake che... | * `devShell.<system>` → `devShells.<system>.default`
The old flake output attributes still work, but `nix flake check`
will warn about them.
* `nix bundle` breaking API change now supports bundlers of the form
`bundler.<system>.<name>= derivation: another-derivation;`. This supports
additional functionality... | <|file_sep|>original/doc/manual/src/release-notes/rl-next.md
* `defaultTemplate` → `templates.default`
* `defaultBundler.<system>` → `bundlers.<system>.default`
* `overlay` → `overlays.default`
* `devShell.<system>` → `devShells.<system>.default`
The old flake output attributes still work, but `nix flake che... | b44cebd1fd68f89bbc2317e2b7978042309e17bb | doc/manual/src/release-notes/rl-next.md | doc/manual/src/release-notes/rl-next.md | Markdown |
<|file_sep|>original/rollbar/test/async_helper.py
if sys.version_info >= (3, 7):
return asyncio.run(coro)
assert inspect.iscoroutine(coro)
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
try:
return loop.run_until_complete(coro)
finally:
loop.close()
... |
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
try:
return loop.run_until_complete(coro)
finally:
loop.close()
asyncio.set_event_loop(None)
def async_receive(message):
async def receive():
return message
assert message["type"] == "http.request"
... | <|file_sep|>original/rollbar/test/async_helper.py
if sys.version_info >= (3, 7):
return asyncio.run(coro)
assert inspect.iscoroutine(coro)
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
try:
return loop.run_until_complete(coro)
finally:
loop.close()
... | d163644d3c2f0a9f5d08da753e0b97506f6ff6b3 | rollbar/test/async_helper.py | rollbar/test/async_helper.py | Python |
<|file_sep|>bench/split-file.py.diff
original:
if complib:
sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib)
updated:
if 'PyTables' in prefix:
if complib:
sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib)
else:
sfilename... | # Check if entry is compressed and if has to be processed
line2 = line2[:line2.rfind('.')]
params = line2.split('-')
optlevel = 0
complib = None
for param in params:
if param[0] == 'O' and param[1].isdigit():
optlevel = int(param[1])
... | <|file_sep|>bench/split-file.py.diff
original:
if complib:
sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib)
updated:
if 'PyTables' in prefix:
if complib:
sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib)
else:
sfilename... | 33ceea40e41d9f568b11e30779b8b7c16ba8f5b8 | bench/split-file.py | bench/split-file.py | Python |
<|file_sep|>original/requirements.txt
anyjson>=0.2.4
argparse
eventlet>=0.9.17
greenlet>=0.3.1
httplib2
iso8601>=0.1.4
kombu>=1.0.4
netaddr
python-quantumclient>=2.2.0,<3.0.0
pyudev
sqlalchemy>=0.7.8,<=0.7.99
WebOb>=1.2
python-keystoneclient>=0.2.0
alembic>=0.4.1
oslo.config>=1.1.0
six
stevedore>=0.7
# Cisco plugin de... | anyjson>=0.2.4
argparse
eventlet>=0.9.17
greenlet>=0.3.1
httplib2
iso8601>=0.1.4
kombu>=1.0.4
netaddr
python-quantumclient>=2.2.0,<3.0.0
pyudev
sqlalchemy>=0.7.8,<=0.7.99
WebOb>=1.2
python-keystoneclient>=0.2.0
alembic>=0.4.1
oslo.config>=1.1.0
six
stevedore>=0.9
# Cisco plugin dependencies
python-novaclient
# End Cis... | <|file_sep|>original/requirements.txt
anyjson>=0.2.4
argparse
eventlet>=0.9.17
greenlet>=0.3.1
httplib2
iso8601>=0.1.4
kombu>=1.0.4
netaddr
python-quantumclient>=2.2.0,<3.0.0
pyudev
sqlalchemy>=0.7.8,<=0.7.99
WebOb>=1.2
python-keystoneclient>=0.2.0
alembic>=0.4.1
oslo.config>=1.1.0
six
stevedore>=0.7
# Cisco plugin de... | 68512c592534245eed9eaab663117e98c259e992 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/models/transaction.rb
class Transaction < ActiveRecord::Base
belongs_to :request
validates :transaction_type, inclusion: { in: ['request', 'response', 'fulfillment'] }
def self.sort_by_group(group)
Transaction.joins(:request).where(requests: {group_id: group.id})
end
def self.s... | class Transaction < ActiveRecord::Base
belongs_to :request
validates :transaction_type, inclusion: { in: ['request', 'response', 'fulfillment'] }
def self.sort_by_group(group)
Transaction.joins(:request).where(requests: {group_id: group.id})
end
def self.sort_by_user(user)
Transaction.joins(:reques... | <|file_sep|>original/app/models/transaction.rb
class Transaction < ActiveRecord::Base
belongs_to :request
validates :transaction_type, inclusion: { in: ['request', 'response', 'fulfillment'] }
def self.sort_by_group(group)
Transaction.joins(:request).where(requests: {group_id: group.id})
end
def self.s... | 284f6338748c7b868d67c0fd0680c4c450b7e9e5 | app/models/transaction.rb | app/models/transaction.rb | Ruby |
<|file_sep|>original/pytest_ansible/__init__.py
__version__ = '1.4.0'
__author__ = "James Laska"
__author_email__ = "<jlaska@ansible.com>"
<|file_sep|>current/pytest_ansible/__init__.py
__version__ = '1.4.0'
__author__ = "James Laska"
__author_email__ = "<jlaska@ansible.com>"
<|file_sep|>updated/pytest_ansible/__init__... | __version__ = '2.0.0'
__author__ = "James Laska"
__author_email__ = "<jlaska@ansible.com>" | <|file_sep|>original/pytest_ansible/__init__.py
__version__ = '1.4.0'
__author__ = "James Laska"
__author_email__ = "<jlaska@ansible.com>"
<|file_sep|>current/pytest_ansible/__init__.py
__version__ = '1.4.0'
__author__ = "James Laska"
__author_email__ = "<jlaska@ansible.com>"
<|file_sep|>updated/pytest_ansible/__init__... | 47ea8ca6034bfbb16e9049081b5158d9b01833fc | pytest_ansible/__init__.py | pytest_ansible/__init__.py | Python |
<|file_sep|>original/apps/vscode/keybindings.json
[
// Save All
{
"key": "ctrl+alt+s",
"command": "workbench.action.files.saveAll"
},
// View Next Terminal
{
"key": "ctrl+shift+'",
"command": "workbench.action.terminal.next"
}
]
<|file_sep|>current/apps/vscode/key... | [
// Save All
{
"key": "ctrl+alt+s",
"command": "workbench.action.files.saveAll"
},
// View Next Terminal
{
"key": "ctrl+shift+'",
"command": "workbench.action.terminal.focusNext"
}
] | <|file_sep|>original/apps/vscode/keybindings.json
[
// Save All
{
"key": "ctrl+alt+s",
"command": "workbench.action.files.saveAll"
},
// View Next Terminal
{
"key": "ctrl+shift+'",
"command": "workbench.action.terminal.next"
}
]
<|file_sep|>current/apps/vscode/key... | 5e281236f1a191999e234c0d7aac0f5304cf7759 | apps/vscode/keybindings.json | apps/vscode/keybindings.json | JSON |
<|file_sep|>original/appveyor.yml
platform: x64
os: MinGW
environment:
RUST_INSTALL_DIR: C:\Rust
RUST_INSTALL_TRIPLE: i686-pc-windows-gnu
RUST_VERSION: 1.0.0
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-$Env:RUST_VERSION-$Env:RUST_INSTALL_TRIPLE.exe"
- cmd: rust-%RUST_VERSION%-%RU... | platform: x64
os: MinGW
environment:
RUST_INSTALL_DIR: C:\Rust
RUST_INSTALL_TRIPLE: i686-pc-windows-gnu
RUST_VERSION: 1.0.0
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-$Env:RUST_VERSION-$Env:RUST_INSTALL_TRIPLE.exe"
- cmd: rust-%RUST_VERSION%-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT... | <|file_sep|>original/appveyor.yml
platform: x64
os: MinGW
environment:
RUST_INSTALL_DIR: C:\Rust
RUST_INSTALL_TRIPLE: i686-pc-windows-gnu
RUST_VERSION: 1.0.0
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-$Env:RUST_VERSION-$Env:RUST_INSTALL_TRIPLE.exe"
- cmd: rust-%RUST_VERSION%-%RU... | 6fbf4a22ecbb8e45e535d236af6ebc305751ac39 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/rest_framework_docs/api_docs.py
if hasattr(root_urlconf, 'urls'):
self.get_all_view_names(root_urlconf.urls.urlpatterns)
else:
self.get_all_view_names(root_urlconf.urlpatterns)
def get_all_view_names(self, urlpatterns, parent_pattern=None):
for p... | self.endpoints = []
root_urlconf = __import__(settings.ROOT_URLCONF)
if hasattr(root_urlconf, 'urls'):
self.get_all_view_names(root_urlconf.urls.urlpatterns)
else:
self.get_all_view_names(root_urlconf.urlpatterns)
def get_all_view_names(self, urlpatterns, par... | <|file_sep|>original/rest_framework_docs/api_docs.py
if hasattr(root_urlconf, 'urls'):
self.get_all_view_names(root_urlconf.urls.urlpatterns)
else:
self.get_all_view_names(root_urlconf.urlpatterns)
def get_all_view_names(self, urlpatterns, parent_pattern=None):
for p... | 2118cc5efbe70a10c67ddf9b949607b243e05687 | rest_framework_docs/api_docs.py | rest_framework_docs/api_docs.py | Python |
<|file_sep|>original/examples/01-basic-usage/src/counter.js
return {value: 0}
},
componentDidMount() {
const self = this
tick()
function tick() {
const {step, interval} = self.props
self.setState({
value: self.state.value + step,
interval: setTimeout(tick, interval)
... | return {value: 0}
},
componentDidMount() {
const self = this
tick()
function tick() {
const {step, interval} = self.props
self.setState({
value: this.state.value + step,
interval: setTimeout(tick, interval)
})
}
},
componentWillUnmount() {
clearTimeou... | <|file_sep|>original/examples/01-basic-usage/src/counter.js
return {value: 0}
},
componentDidMount() {
const self = this
tick()
function tick() {
const {step, interval} = self.props
self.setState({
value: self.state.value + step,
interval: setTimeout(tick, interval)
... | 16ea641d1dd2133c8e14a0293c9b6c5034750cd1 | examples/01-basic-usage/src/counter.js | examples/01-basic-usage/src/counter.js | JavaScript |
<|file_sep|>original/IrcCalc/ShuntingYardState.cs
<|file_sep|>current/IrcCalc/ShuntingYardState.cs
<|file_sep|>updated/IrcCalc/ShuntingYardState.cs | using System;
using System.Collections.Generic;
using Calculation.ExtensionMethods;
using Operators = Calculation.ShuntingYardOperators;
namespace Calculation
{
class SmashTheState
{
public int OpCount
{
get { return opStack.Count; }
}
public bool NextIsFunction
... | <|file_sep|>original/IrcCalc/ShuntingYardState.cs
<|file_sep|>current/IrcCalc/ShuntingYardState.cs
<|file_sep|>updated/IrcCalc/ShuntingYardState.cs
using System;
using System.Collections.Generic;
using Calculation.ExtensionMethods;
using Operators = Calculation.ShuntingYardOperators;
namespace Calculation
{
cl... | 5b60db592ae86493285e2e577e1dcd8af37715c7 | IrcCalc/ShuntingYardState.cs | IrcCalc/ShuntingYardState.cs | C# |
<|file_sep|>src/lib/config.js.diff
original:
value: '/*',
updated:
value: /(?=\/)\/(?=\**)\**/g,
<|file_sep|>src/lib/config.js.diff
original:
value: '*/',
updated:
value: /\**(?=\/)\//g,
<|file_sep|>original/src/lib/config.js
const config = {
'c': {
single: {
value: '//',
... | single: {
value: '//',
match: /\s*(?=\/)\/(?=\/)\//g
},
multiple: {
begin: {
value: /(?=\/)\/(?=\**)\**/g,
match: /\s*(?=\/)\/(?=\**)\**(?=\n)\n/g
},
end: {
value: /\**(?=\/)\//g,
match: /\s*(?=\**)\**(?=\/)\/(?=\n)\n/g
},
mid: {
... | <|file_sep|>src/lib/config.js.diff
original:
value: '/*',
updated:
value: /(?=\/)\/(?=\**)\**/g,
<|file_sep|>src/lib/config.js.diff
original:
value: '*/',
updated:
value: /\**(?=\/)\//g,
<|file_sep|>original/src/lib/config.js
const config = {
'c': {
single: {
value: '//',
... | 155d2d66e323f8eb6b5eaf455c116120fcec75a7 | src/lib/config.js | src/lib/config.js | JavaScript |
<|file_sep|>original/bin/bnetdocs-users-csv.php
<|file_sep|>current/bin/bnetdocs-users-csv.php
<|file_sep|>updated/bin/bnetdocs-users-csv.php | #!/usr/bin/env php
<?php /* vim: set expandtab colorcolumn= tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* @project bnetdocs-web <https://github.com/BNETDocs/bnetdocs-web/>
*
* Connects to the users table and prints a csv replica to stdout.
*/
function exit_line($line) { fwrite(STDERR, $line . PHP_EOL); exit(1); }... | <|file_sep|>original/bin/bnetdocs-users-csv.php
<|file_sep|>current/bin/bnetdocs-users-csv.php
<|file_sep|>updated/bin/bnetdocs-users-csv.php
#!/usr/bin/env php
<?php /* vim: set expandtab colorcolumn= tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* @project bnetdocs-web <https://github.com/BNETDocs/bnetdocs-web/>
*... | f4150d0df77dc54cde5f10f61e07c9de7bde41a1 | bin/bnetdocs-users-csv.php | bin/bnetdocs-users-csv.php | PHP |
<|file_sep|>original/tests/test_main.cpp
#include <QCoreApplication>
#include "qtyamltest.h"
#define RUN(klass) \
do { \
klass *obj = new klass(); \
status |= QTest::qExec(obj, argc, argv); \
delete obj; \
} while(0)
int main(int argc, char *argv[])
{
QCoreApplication app(argc, arg... | #include <QCoreApplication>
#include "qtyamltest.h"
#define RUN(klass) \
do { \
klass obj; \
status |= QTest::qExec(&obj, argc, argv); \
} while(0)
int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
Q_UNUSED(app);
int status = 0;
RUN(HighLevelTests);
RUN(... | <|file_sep|>original/tests/test_main.cpp
#include <QCoreApplication>
#include "qtyamltest.h"
#define RUN(klass) \
do { \
klass *obj = new klass(); \
status |= QTest::qExec(obj, argc, argv); \
delete obj; \
} while(0)
int main(int argc, char *argv[])
{
QCoreApplication app(argc, arg... | 33c07b089ffe638ef7ce710433b593afb9ff2346 | tests/test_main.cpp | tests/test_main.cpp | C++ |
<|file_sep|>composer.json.diff
original:
"datatypes/datatypes": "^2.4",
"bluemvc/bluemvc-core": "^2.2"
updated:
"datatypes/datatypes": "^3.0",
"bluemvc/bluemvc-core": "^3.0@dev"
<|file_sep|>original/composer.json
"name": "Michael Hall",
"homepage": "https://michaelhall.se/"
}
],
"req... | "name": "Michael Hall",
"homepage": "https://michaelhall.se/"
}
],
"require": {
"php": ">=8.0",
"datatypes/datatypes": "^3.0",
"bluemvc/bluemvc-core": "^3.0@dev"
},
"require-dev": {
"bluemvc/bluemvc-fakes": "^3.0@dev",
"phpunit/phpunit": "^9.0",
"ext-json": "*"
},
"au... | <|file_sep|>composer.json.diff
original:
"datatypes/datatypes": "^2.4",
"bluemvc/bluemvc-core": "^2.2"
updated:
"datatypes/datatypes": "^3.0",
"bluemvc/bluemvc-core": "^3.0@dev"
<|file_sep|>original/composer.json
"name": "Michael Hall",
"homepage": "https://michaelhall.se/"
}
],
"req... | 7dd1df6d4323e6e5a5f045696f361d58ff71ffb5 | composer.json | composer.json | JSON |
<|file_sep|>original/.github/workflows/main.yaml
<|file_sep|>current/.github/workflows/main.yaml
<|file_sep|>updated/.github/workflows/main.yaml | name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-18.04
timeout-minutes: 1
strategy:
matrix:
node: [12,14,16]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with: | <|file_sep|>original/.github/workflows/main.yaml
<|file_sep|>current/.github/workflows/main.yaml
<|file_sep|>updated/.github/workflows/main.yaml
name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-18.04
timeout-minutes: 1
strategy:
... | 3191d33d091e231cc3a8913234659151376bea72 | .github/workflows/main.yaml | .github/workflows/main.yaml | YAML |
<|file_sep|>recipes/fipy/LICENSE.rst.diff
original:
This software was developed at the `National Institute of Standards
and Technology`_ by employees of the Federal Government in the course
of their official duties. Pursuant to `title 17 section 105`_ of the
United States Code this software is not subject to copyright... | modify, create derivative works, and distribute this software and its
documentation without fee is hereby granted on a non-exclusive basis,
provided that this notice and disclaimer of warranty appears in all copies.
THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER
EXPRESSED, IMPLIED, OR STATUT... | <|file_sep|>recipes/fipy/LICENSE.rst.diff
original:
This software was developed at the `National Institute of Standards
and Technology`_ by employees of the Federal Government in the course
of their official duties. Pursuant to `title 17 section 105`_ of the
United States Code this software is not subject to copyright... | a9419a292c29036949ab36f818d72436afdfecb4 | recipes/fipy/LICENSE.rst | recipes/fipy/LICENSE.rst | reStructuredText |
<|file_sep|>original/benchexec/tools/avr.py
def name(self):
return "AVR"
def cmdline(self, executable, options, task, rlimits):
return [executable] + options + [task.single_input_file]
def determine_result(self, run):
"""
@return: status of AVR after executing a run
... | def cmdline(self, executable, options, task, rlimits):
return [executable] + options + [task.single_input_file]
def determine_result(self, run):
"""
@return: status of AVR after executing a run
"""
if run.was_timeout:
return result.RESULT_TIMEOUT
stat... | <|file_sep|>original/benchexec/tools/avr.py
def name(self):
return "AVR"
def cmdline(self, executable, options, task, rlimits):
return [executable] + options + [task.single_input_file]
def determine_result(self, run):
"""
@return: status of AVR after executing a run
... | 164891392f9a68abb0fa29a74787ef127849d0c0 | benchexec/tools/avr.py | benchexec/tools/avr.py | Python |
<|file_sep|>original/pkg/compiler/lib/src/js_backend/codegen/glue.dart
<|file_sep|>current/pkg/compiler/lib/src/js_backend/codegen/glue.dart
<|file_sep|>updated/pkg/compiler/lib/src/js_backend/codegen/glue.dart | // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library code_generator_dependencies;
import '../js_backend.dart';
import '../../dart2jslib.dart';
impo... | <|file_sep|>original/pkg/compiler/lib/src/js_backend/codegen/glue.dart
<|file_sep|>current/pkg/compiler/lib/src/js_backend/codegen/glue.dart
<|file_sep|>updated/pkg/compiler/lib/src/js_backend/codegen/glue.dart
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights re... | 9d4dd51193d3cb5233766c09aa3a60061ef8bb67 | pkg/compiler/lib/src/js_backend/codegen/glue.dart | pkg/compiler/lib/src/js_backend/codegen/glue.dart | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.