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/.github/workflows/node.js.yml
<|file_sep|>current/.github/workflows/node.js.yml
<|file_sep|>updated/.github/workflows/node.js.yml | # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
create:
tag... | <|file_sep|>original/.github/workflows/node.js.yml
<|file_sep|>current/.github/workflows/node.js.yml
<|file_sep|>updated/.github/workflows/node.js.yml
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more... | 7db87c1e61dd811cffbcbac2171628ce0035376e | .github/workflows/node.js.yml | .github/workflows/node.js.yml | YAML |
<|file_sep|>.github/workflows/node.js.yml.diff
original:
- uses: actions/checkout@v2.3.3
updated:
- uses: actions/checkout@v2.3.4
<|file_sep|>original/.github/workflows/node.js.yml
- name: Lint
run: npm run lint --if-present
- name: Build
run: npm run build --if-present
-... | - name: Lint
run: npm run lint --if-present
- name: Build
run: npm run build --if-present
- name: Test
run: npm run test --if-present
# publish-npm:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2.3.4
# - uses: actions... | <|file_sep|>.github/workflows/node.js.yml.diff
original:
- uses: actions/checkout@v2.3.3
updated:
- uses: actions/checkout@v2.3.4
<|file_sep|>original/.github/workflows/node.js.yml
- name: Lint
run: npm run lint --if-present
- name: Build
run: npm run build --if-present
-... | 3f181d6194123a808c3b22eb77e0b9246f8b5d61 | .github/workflows/node.js.yml | .github/workflows/node.js.yml | YAML |
<|file_sep|>original/lib/msal-node/src/utils/Constants.ts
* Cache Constants
*/
export const CACHE = {
FILE_CACHE: 'fileCache',
EXTENSION_LIB: 'extenstion_library',
};
/**
* Constants for headers
*/
export const Constants = {
MSAL_SKU: 'msal.js.node',
};
// Telemetry Constants
export enum ApiId {
a... | EXTENSION_LIB: 'extenstion_library',
};
/**
* Constants for headers
*/
export const Constants = {
MSAL_SKU: 'msal.js.node',
};
/**
* API Codes for Telemetry purposes.
* Before adding a new code you must claim it in the MSAL Telemetry tracker as these number spaces are shared across all MSALs
* 0-99 Sile... | <|file_sep|>original/lib/msal-node/src/utils/Constants.ts
* Cache Constants
*/
export const CACHE = {
FILE_CACHE: 'fileCache',
EXTENSION_LIB: 'extenstion_library',
};
/**
* Constants for headers
*/
export const Constants = {
MSAL_SKU: 'msal.js.node',
};
// Telemetry Constants
export enum ApiId {
a... | 7dc2daf44e2128b04141a9559c71c700d1ba64c0 | lib/msal-node/src/utils/Constants.ts | lib/msal-node/src/utils/Constants.ts | TypeScript |
<|file_sep|>original/requirements.txt
Flask-SQLAlchemy==2.4.0
Flask-Script==2.0.6
Flask-Travis==0.0.2
Flask-WTF==0.14.2
Flask==1.1.1
Jinja2==2.10.1
MarkupSafe==1.1.1
SQLAlchemy==1.3.6
WTForms==2.2.1
Werkzeug==0.15.4
arrow==0.14.2
blinker==1.4
cssmin==0.2.0
gunicorn==19.9.0
itsdangerous==1.1.0
jsmin==2.2.2
psycopg2==2.8... | Flask-SQLAlchemy==2.4.0
Flask-Script==2.0.6
Flask-Travis==0.0.2
Flask-WTF==0.14.2
Flask==1.1.1
Jinja2==2.10.1
MarkupSafe==1.1.1
SQLAlchemy==1.3.6
WTForms==2.2.1
Werkzeug==0.15.4
arrow==0.14.2
blinker==1.4
cssmin==0.2.0
gunicorn==19.9.0
itsdangerous==1.1.0
jsmin==2.2.2
psycopg2==2.8.3
pytest==5.0.1
python-dateutil==2.8.... | <|file_sep|>original/requirements.txt
Flask-SQLAlchemy==2.4.0
Flask-Script==2.0.6
Flask-Travis==0.0.2
Flask-WTF==0.14.2
Flask==1.1.1
Jinja2==2.10.1
MarkupSafe==1.1.1
SQLAlchemy==1.3.6
WTForms==2.2.1
Werkzeug==0.15.4
arrow==0.14.2
blinker==1.4
cssmin==0.2.0
gunicorn==19.9.0
itsdangerous==1.1.0
jsmin==2.2.2
psycopg2==2.8... | eff4ff01b81e167b5db143c8f68bd879542857e3 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.github/workflows/test.yml
name: test
on:
pull_request:
push:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
ghc: ["8.6.5", "8.8.3", "8.10.1"]
steps:
- uses: actions/chec... | pull_request:
push:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
ghc: ["8.6.5", "8.8.3", "8.10.1"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1.1
with:
... | <|file_sep|>original/.github/workflows/test.yml
name: test
on:
pull_request:
push:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
ghc: ["8.6.5", "8.8.3", "8.10.1"]
steps:
- uses: actions/chec... | 4899aff11ff30e0bd68c41281a2fdad15efe6e4c | .github/workflows/test.yml | .github/workflows/test.yml | YAML |
<|file_sep|>original/webapp/web/templates/freemarker/body/partials/menupage/menupage-checkForData.ftl
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#assign populatedClasses = 0 />
<#list vClassGroup as vClass>
<#-- Check to see if any of the classes in this class group ha... | <#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#assign populatedClasses = 0 />
<#if vClassGroup??> <#-- the controller may put a null -->
<#list vClassGroup as vClass>
<#-- Check to see if any of the classes in this class group have individuals -->
<#if (vC... | <|file_sep|>original/webapp/web/templates/freemarker/body/partials/menupage/menupage-checkForData.ftl
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#assign populatedClasses = 0 />
<#list vClassGroup as vClass>
<#-- Check to see if any of the classes in this class group ha... | 31ea87ae5816a2f46b35f6fa679536c76e4823b8 | webapp/web/templates/freemarker/body/partials/menupage/menupage-checkForData.ftl | webapp/web/templates/freemarker/body/partials/menupage/menupage-checkForData.ftl | FreeMarker |
<|file_sep|>original/director/requirements-dev.txt
coverage==4.5.2
django-nose==1.4.6
flake8==3.6.0
mypy==0.650
pydocstyle==3.0.0
pydot==1.4.0
pygraphviz==1.5
pyparsing==2.3.0
<|file_sep|>current/director/requirements-dev.txt
coverage==4.5.2
django-nose==1.4.6
flake8==3.6.0
mypy==0.650
pydocstyle==3.0.0
pydot==1.4.0
py... | coverage==4.5.2
django-nose==1.4.6
flake8==3.6.0
mypy==0.650
pydocstyle==3.0.0
pydot==1.4.1
pygraphviz==1.5
pyparsing==2.3.0 | <|file_sep|>original/director/requirements-dev.txt
coverage==4.5.2
django-nose==1.4.6
flake8==3.6.0
mypy==0.650
pydocstyle==3.0.0
pydot==1.4.0
pygraphviz==1.5
pyparsing==2.3.0
<|file_sep|>current/director/requirements-dev.txt
coverage==4.5.2
django-nose==1.4.6
flake8==3.6.0
mypy==0.650
pydocstyle==3.0.0
pydot==1.4.0
py... | ac9582b6a44a8af762d391bb283655800262934a | director/requirements-dev.txt | director/requirements-dev.txt | Text |
<|file_sep|>original/nodejs.html
<section name="nodejs" class="nodejs">
<p class="ioDesc">In</p>
<pre class="incoming brush:js">
var request = require("request");
<% if @method is "GET" and not @headers: %>
request("<%= @apiUrl %><%= @url %>", function (error, response, body) {
<% else : %>
request({
url: "<%= @a... | <section name="nodejs" class="nodejs">
<p class="ioDesc">In</p>
<pre class="incoming brush:js">
var request = require("request");
<% if @method is "GET" and not @headers: %>
request("<%= @apiUrl %><%= @url %>", function (error, response, body) {
<% else : %>
request({
url: "<%= @apiUrl %><%= @url %>",<% if @body:... | <|file_sep|>original/nodejs.html
<section name="nodejs" class="nodejs">
<p class="ioDesc">In</p>
<pre class="incoming brush:js">
var request = require("request");
<% if @method is "GET" and not @headers: %>
request("<%= @apiUrl %><%= @url %>", function (error, response, body) {
<% else : %>
request({
url: "<%= @a... | bbb564c84c2721c058106adb270dd69fa1c57389 | nodejs.html | nodejs.html | HTML |
<|file_sep|>original/.travis.yml
recipients:
- james@floehopper.org
rvm:
- 1.8.7
- 1.9.3
gemfile:
- Gemfile
- gemfiles/Gemfile.test-unit.latest
- gemfiles/Gemfile.test-unit.2.0.3
- gemfiles/Gemfile.test-unit.2.0.1
- gemfiles/Gemfile.test-unit.2.0.0
- gemfiles/Gemfile.minitest.latest
- gemfiles/G... | - gemfiles/Gemfile.test-unit.2.0.0
- gemfiles/Gemfile.minitest.latest
- gemfiles/Gemfile.minitest.2.3.0
- gemfiles/Gemfile.minitest.2.0.1
- gemfiles/Gemfile.minitest.2.0.0
- gemfiles/Gemfile.minitest.1.4.2
- gemfiles/Gemfile.minitest.1.4.0
- gemfiles/Gemfile.minitest.1.3.0
env:
- MOCHA_OPTIONS=debug
m... | <|file_sep|>original/.travis.yml
recipients:
- james@floehopper.org
rvm:
- 1.8.7
- 1.9.3
gemfile:
- Gemfile
- gemfiles/Gemfile.test-unit.latest
- gemfiles/Gemfile.test-unit.2.0.3
- gemfiles/Gemfile.test-unit.2.0.1
- gemfiles/Gemfile.test-unit.2.0.0
- gemfiles/Gemfile.minitest.latest
- gemfiles/G... | 2f91b2fa7707598f5deea06dd1e8ed28e7b42109 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.github/workflows/ci.yml.diff
original:
- name: Setup cache
updated:
- name: Cache artifacts
<|file_sep|>.github/workflows/ci.yml.diff
original:
updated:
- name: Build wasm library
run: script/build-wasm
<|file_sep|>.github/workflows/ci.yml.diff
original:
- name: Setup fixt... |
- name: Build wasm library
run: script/build-wasm
- name: Build CLI
run: cargo build --release
- name: Set up fixture parsers
run: |
script/fetch-fixtures
script/generate-fixtures
script/generate-fixtures-wasm
- name: Run main tests
... | <|file_sep|>.github/workflows/ci.yml.diff
original:
- name: Setup cache
updated:
- name: Cache artifacts
<|file_sep|>.github/workflows/ci.yml.diff
original:
updated:
- name: Build wasm library
run: script/build-wasm
<|file_sep|>.github/workflows/ci.yml.diff
original:
- name: Setup fixt... | 9dd35e7853e498c9681188374ad13c257a4e5ca1 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/composer.json
{
"name": "Mark Otto",
"email": "markdotto@gmail.com"
},
{
"name": "Jacob Thornton",
"email": "jacobthornton@gmail.com"
}
],
"require": {
"components/jquery": ">=1.9.1"
},
"suggest": {
"components/bootstrap-default": "Provide a t... | {
"name": "Mark Otto",
"email": "markdotto@gmail.com"
},
{
"name": "Jacob Thornton",
"email": "jacobthornton@gmail.com"
}
],
"require": {
"components/jquery": "~1.9.1 | ~1.10 | ~2.0"
},
"suggest": {
"components/bootstrap-default": "Provide a theme for Bootstrap as... | <|file_sep|>original/composer.json
{
"name": "Mark Otto",
"email": "markdotto@gmail.com"
},
{
"name": "Jacob Thornton",
"email": "jacobthornton@gmail.com"
}
],
"require": {
"components/jquery": ">=1.9.1"
},
"suggest": {
"components/bootstrap-default": "Provide a t... | ab554a51802b8c1f26ee397d6d0e56a5dbc7dafd | composer.json | composer.json | JSON |
<|file_sep|>original/tests/facts/server.Crontab/simple.json
{
"command": "crontab -l || true",
"output": [
"* * * * * apt update",
"0 0 * * * apt install -fy",
"@daily echo daily"
],
"fact": {
"apt update": {
"minute": "*",
"hour": "*",
... | {
"command": "crontab -l || true",
"output": [
"*\t*\t*\t*\t*\tapt update",
"0 0 * * * apt install -fy",
"@daily echo daily"
],
"fact": {
"apt update": {
"minute": "*",
"hour": "*",
"month": "*",
"day_of_month": "*",
... | <|file_sep|>original/tests/facts/server.Crontab/simple.json
{
"command": "crontab -l || true",
"output": [
"* * * * * apt update",
"0 0 * * * apt install -fy",
"@daily echo daily"
],
"fact": {
"apt update": {
"minute": "*",
"hour": "*",
... | c15af2098ed6a15358aee9e1b504ec5bb6c7dbef | tests/facts/server.Crontab/simple.json | tests/facts/server.Crontab/simple.json | JSON |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.11'
- '0.10'
- iojs
script:
- npm run test-travis
after_script:
- npm install coveralls@2.11.x && cat coverage/lcov.info | coveralls
- npm install codeclimate-test-reporter && cat coverage/lcov.info | codeclimate
env:
global:
secure: XMYPobFT192HVOx... | language: node_js
node_js:
- '0.11'
- '0.10'
- iojs
script:
- npm run test-travis
after_script:
- npm install coveralls@2.11.x && cat coverage/lcov.info | coveralls
- npm install codeclimate-test-reporter && cat coverage/lcov.info | codeclimate
env:
global:
secure: XMYPobFT192HVOxbTtl7hGdimycDqXwC4Unv3rLkrf527VXx... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.11'
- '0.10'
- iojs
script:
- npm run test-travis
after_script:
- npm install coveralls@2.11.x && cat coverage/lcov.info | coveralls
- npm install codeclimate-test-reporter && cat coverage/lcov.info | codeclimate
env:
global:
secure: XMYPobFT192HVOx... | eb9418e1ba9c0b63dd8c4f2d7382bc2f3ca85b6f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Cargo.toml
[package]
name = "indolenjson"
version = "0.1.0"
authors = ["Mark Haines <mjark@negativecurvature.net>"]
[dependencies]
<|file_sep|>current/Cargo.toml
[package]
name = "indolenjson"
version = "0.1.0"
authors = ["Mark Haines <mjark@negativecurvature.net>"]
[dependencies]
<|file_sep|>upd... | [package]
name = "indolentjson"
version = "0.1.0"
authors = ["Mark Haines <mjark@negativecurvature.net>"]
[dependencies] | <|file_sep|>original/Cargo.toml
[package]
name = "indolenjson"
version = "0.1.0"
authors = ["Mark Haines <mjark@negativecurvature.net>"]
[dependencies]
<|file_sep|>current/Cargo.toml
[package]
name = "indolenjson"
version = "0.1.0"
authors = ["Mark Haines <mjark@negativecurvature.net>"]
[dependencies]
<|file_sep|>upd... | 8c280b55004a297c873aa43adffa0195b2d7a8a5 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/README.md
KEthereum
=========
This is a Kotlin library for [Ethereum](https://ethereum.org).
Currently it is not a full featured Ethereum implementation - but a library to share common Ethereum code between different apps to prevent WET code and make things more DRY. Mainly in the context of the [... | KEthereum
=========
This is a Kotlin library for [Ethereum](https://ethereum.org).
Currently it is not a full featured Ethereum implementation - but a library to share common Ethereum code between different apps to prevent WET code and make things more DRY. Mainly in the context of the [WALLETH Project](http://walleth... | <|file_sep|>original/README.md
KEthereum
=========
This is a Kotlin library for [Ethereum](https://ethereum.org).
Currently it is not a full featured Ethereum implementation - but a library to share common Ethereum code between different apps to prevent WET code and make things more DRY. Mainly in the context of the [... | 668a9460376e82277b946961a45dca5eb38c4240 | README.md | README.md | Markdown |
<|file_sep|>original/src/main/resources/config.properties
skype_db_path=
skype_username=
chat_name=
polling_frequency=100
reply_tasks_to_load=EchoTask HelpTask HelloTask TimeTask
scheduled_tasks_to_load=
<|file_sep|>current/src/main/resources/config.properties
skype_db_path=
skype_username=
chat_name=
polling_frequency... | skype_db_path=
skype_username=
chat_name=
polling_frequency=500
reply_tasks_to_load=EchoTask HelpTask HelloTask TimeTask
scheduled_tasks_to_load= | <|file_sep|>original/src/main/resources/config.properties
skype_db_path=
skype_username=
chat_name=
polling_frequency=100
reply_tasks_to_load=EchoTask HelpTask HelloTask TimeTask
scheduled_tasks_to_load=
<|file_sep|>current/src/main/resources/config.properties
skype_db_path=
skype_username=
chat_name=
polling_frequency... | dba7553fdffda55ee555997ebd8b02101188f488 | src/main/resources/config.properties | src/main/resources/config.properties | INI |
<|file_sep|>Text/PrettyPrint/ANSI/Example.hs.diff
original:
putDoc $ red (text "Red") <> text "," <+> white (text "white") <+> text "and" <+> blue (text "blue") <> char '!' <> linebreak
updated:
putDoc $ red (text "Red") <> comma <+> white (text "white") <+> text "and" <+> blue (text "blue") <> char '!' <> line... | module Main (main) where
import Text.PrettyPrint.ANSI.Leijen
import System.IO
main :: IO ()
main = do
-- Going directly to the console is portable across Unix and Windows...
putDoc $ red (text "Red") <> comma <+> white (text "white") <+> text "and" <+> blue (text "blue") <> char '!' <> linebreak
putDoc ... | <|file_sep|>Text/PrettyPrint/ANSI/Example.hs.diff
original:
putDoc $ red (text "Red") <> text "," <+> white (text "white") <+> text "and" <+> blue (text "blue") <> char '!' <> linebreak
updated:
putDoc $ red (text "Red") <> comma <+> white (text "white") <+> text "and" <+> blue (text "blue") <> char '!' <> line... | 5fd2e2f8b25a05bc33c650acd65a26283d5acf60 | Text/PrettyPrint/ANSI/Example.hs | Text/PrettyPrint/ANSI/Example.hs | Haskell |
<|file_sep|>original/README.md
interesting aspects of Go, particularly concurrency and interfaces.
Suggestions for experimentation and alteration, ranging from
small to large, are marked with "MORE FUN" in the code.
To run (and hack on) Kart:
* [Install Go](http://golang.org/doc/install)
* Get the code: `go get gith... | interesting aspects of Go, particularly concurrency and interfaces.
Suggestions for experimentation and alteration, ranging from
small to large, are marked with "MORE FUN" in the code.
To run (and hack on) Kart:
* [Install Go](http://golang.org/doc/install)
* Get the code: `go get github.com/josharian/kart`
* `cd $G... | <|file_sep|>original/README.md
interesting aspects of Go, particularly concurrency and interfaces.
Suggestions for experimentation and alteration, ranging from
small to large, are marked with "MORE FUN" in the code.
To run (and hack on) Kart:
* [Install Go](http://golang.org/doc/install)
* Get the code: `go get gith... | 2b51bc6b2ff9bf4ead57f72660a2ac0f8ced63f4 | README.md | README.md | Markdown |
<|file_sep|>README.md.diff
original:
To add an alias for PowerShell, run the following command:
updated:
You can add aliases to give yourself a shortcut for launching the web server from the current directory
### PowerShell
To add an alias for PowerShell, run the following command from PowerShell and then restart you... | -------
You can add aliases to give yourself a shortcut for launching the web server from the current directory
### PowerShell
To add an alias for PowerShell, run the following command from PowerShell and then restart your powershell session:
add-content $PROFILE "`nfunction server{node $home/web-server/web-server... | <|file_sep|>README.md.diff
original:
To add an alias for PowerShell, run the following command:
updated:
You can add aliases to give yourself a shortcut for launching the web server from the current directory
### PowerShell
To add an alias for PowerShell, run the following command from PowerShell and then restart you... | f4fd3a835d1d364125673cbf2318175c0790fda5 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
#- 0.4
- 0.6
#- 0.7
<|file_sep|>current/.travis.yml
language: node_js
node_js:
#- 0.4
- 0.6
#- 0.7
<|file_sep|>updated/.travis.yml |
language: node_js
node_js:
- 0.6
- 0.7
- 0.8
- 0.9 | <|file_sep|>original/.travis.yml
language: node_js
node_js:
#- 0.4
- 0.6
#- 0.7
<|file_sep|>current/.travis.yml
language: node_js
node_js:
#- 0.4
- 0.6
#- 0.7
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- 0.6
- 0.7
- 0.8
- 0.9 | 545de773bb59521af0b5df3a4d5e433dbc416ba7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
lxml >= 3.4.4, < 3.5
defusedxml >= 0.4.1, < 0.5
eight >= 0.3.0, < 0.4
cryptography >= 0.9.3, < 0.10
pyOpenSSL >= 0.15.1
certifi >= 14.05.14
enum34 >= 1.0.4
<|file_sep|>current/requirements.txt
lxml >= 3.4.4, < 3.5
defusedxml >= 0.4.1, < 0.5
eight >= 0.3.0, < 0.4
cryptography >= 0.9... | lxml >= 3.4.4, < 3.5
defusedxml >= 0.4.1, < 0.5
eight >= 0.3.0, < 0.4
cryptography >= 1.0.1, < 1.1
pyOpenSSL >= 0.15.1
certifi >= 14.05.14
enum34 >= 1.0.4 | <|file_sep|>original/requirements.txt
lxml >= 3.4.4, < 3.5
defusedxml >= 0.4.1, < 0.5
eight >= 0.3.0, < 0.4
cryptography >= 0.9.3, < 0.10
pyOpenSSL >= 0.15.1
certifi >= 14.05.14
enum34 >= 1.0.4
<|file_sep|>current/requirements.txt
lxml >= 3.4.4, < 3.5
defusedxml >= 0.4.1, < 0.5
eight >= 0.3.0, < 0.4
cryptography >= 0.9... | a28d2cce6aee2c79623c6572d47d116b0e37a4f8 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/pom.xml
<groupId>edu.tufts.eaftan.hprofparser</groupId>
<artifactId>hprof-parser</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>hprof-parser</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.s... | </properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugi... | <|file_sep|>original/pom.xml
<groupId>edu.tufts.eaftan.hprofparser</groupId>
<artifactId>hprof-parser</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>hprof-parser</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.s... | f6d73798fd5cf53f885c387db777d43c6825e4ee | pom.xml | pom.xml | XML |
<|file_sep|>src/Heartbeat/Sensor/DBConnection.php.diff
original:
updated:
*
* Returns true if a connection to the database server can be established
* or false otherwise.
<|file_sep|>src/Heartbeat/Sensor/DBConnection.php.diff
original:
$hasDBConnection = false;
updated:
return false;
<|file_... | *
* Returns true if a connection to the database server can be established
* or false otherwise.
*/
class DBConnection extends Sensor
{
/**
* @inheritdoc
*/
protected function _getStatus()
{
try {
$connection = ConnectionManager::get('default');
return $connect... | <|file_sep|>src/Heartbeat/Sensor/DBConnection.php.diff
original:
updated:
*
* Returns true if a connection to the database server can be established
* or false otherwise.
<|file_sep|>src/Heartbeat/Sensor/DBConnection.php.diff
original:
$hasDBConnection = false;
updated:
return false;
<|file_... | 9fbb6316b40662f67900dda0e5dd231008ad0dff | src/Heartbeat/Sensor/DBConnection.php | src/Heartbeat/Sensor/DBConnection.php | PHP |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
rvm:
- 2.1
- 2.2
- ruby-head
- jruby
- rbx-2
matrix:
allow_failures:
- rvm: rbx-2
addons:
code_climate:
repo_token: 2a03fa37ce5a5cb21bb117a736be5d83dcf9f1c3ea2b248f7af4c0a7b330d8c8
after_success:
- bundle exec codeclimate-test-reporter
notification... | language: ruby
sudo: false
rvm:
- 2.1
- 2.2
- ruby-head
- jruby
- rbx
matrix:
allow_failures:
- rvm: rbx-2
addons:
code_climate:
repo_token: 2a03fa37ce5a5cb21bb117a736be5d83dcf9f1c3ea2b248f7af4c0a7b330d8c8
after_success:
- bundle exec codeclimate-test-reporter
notifications:
slack:
secure: IfKhtia5nM6... | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
rvm:
- 2.1
- 2.2
- ruby-head
- jruby
- rbx-2
matrix:
allow_failures:
- rvm: rbx-2
addons:
code_climate:
repo_token: 2a03fa37ce5a5cb21bb117a736be5d83dcf9f1c3ea2b248f7af4c0a7b330d8c8
after_success:
- bundle exec codeclimate-test-reporter
notification... | 12b7daa7bf24b7865aad136265ce33f11d0adac2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/soc/models/grading_project_survey.py
# limitations under the License.
"""This module contains the GradingProjectSurvey model.
"""
__authors__ = [
'"Daniel Diniz" <ajaksu@gmail.com>',
'"Lennard de Rijk" <ljvderijk@gmail.com>',
]
from soc.models.project_survey import ProjectSurvey
class... | # limitations under the License.
"""This module contains the GradingProjectSurvey model.
"""
__authors__ = [
'"Daniel Diniz" <ajaksu@gmail.com>',
'"Lennard de Rijk" <ljvderijk@gmail.com>',
]
from soc.models.project_survey import ProjectSurvey
class GradingProjectSurvey(ProjectSurvey):
"""Survey for Mentors ... | <|file_sep|>original/app/soc/models/grading_project_survey.py
# limitations under the License.
"""This module contains the GradingProjectSurvey model.
"""
__authors__ = [
'"Daniel Diniz" <ajaksu@gmail.com>',
'"Lennard de Rijk" <ljvderijk@gmail.com>',
]
from soc.models.project_survey import ProjectSurvey
class... | c5c458cb367a22205e21087b93ff3cc5ed0a149a | app/soc/models/grading_project_survey.py | app/soc/models/grading_project_survey.py | Python |
<|file_sep|>original/lib/PluginInstallationStep/Installation/CreateWebsiteSetting.php
<|file_sep|>current/lib/PluginInstallationStep/Installation/CreateWebsiteSetting.php
<|file_sep|>updated/lib/PluginInstallationStep/Installation/CreateWebsiteSetting.php | <?php
/**
* @copyright Copyright (c) 2017 Studio Emma. (http://www.studioemma.com)
*/
namespace PluginInstallationStep\Installation;
use Pimcore\Cache;
use Pimcore\Model\WebsiteSetting;
class CreateWebsiteSetting implements InstallationStepInterface
{
const TEXT = 'text';
const CACHEKEY = 'CW';
pro... | <|file_sep|>original/lib/PluginInstallationStep/Installation/CreateWebsiteSetting.php
<|file_sep|>current/lib/PluginInstallationStep/Installation/CreateWebsiteSetting.php
<|file_sep|>updated/lib/PluginInstallationStep/Installation/CreateWebsiteSetting.php
<?php
/**
* @copyright Copyright (c) 2017 Studio Emma. (http:... | c608ec5d2d7271b00bb3be781717bac0bdac1ffe | lib/PluginInstallationStep/Installation/CreateWebsiteSetting.php | lib/PluginInstallationStep/Installation/CreateWebsiteSetting.php | PHP |
<|file_sep|>app/assets/stylesheets/print/common.scss.diff
original:
div#header {
updated:
header {
<|file_sep|>app/assets/stylesheets/print/common.scss.diff
original:
div#sidebar {
updated:
div.for_deal_editor div#deals_left {
display: none;
}
div#deals_right {
display: none;
}
div#settlements_left {
display: n... | }
div#calendar_form {
display: none;
}
div#new_deal_window {
display: none;
}
ul#monthly_deals_body_tab li {
display: none;
}
ul#monthly_deals_body_tab li.active {
display: block;
}
footer {
margin-top: 16px;
text-align:right; | <|file_sep|>app/assets/stylesheets/print/common.scss.diff
original:
div#header {
updated:
header {
<|file_sep|>app/assets/stylesheets/print/common.scss.diff
original:
div#sidebar {
updated:
div.for_deal_editor div#deals_left {
display: none;
}
div#deals_right {
display: none;
}
div#settlements_left {
display: n... | ab38af352bd60ae905a8a0b3126d01915e9aa585 | app/assets/stylesheets/print/common.scss | app/assets/stylesheets/print/common.scss | SCSS |
<|file_sep|>original/example/sprites/index.html
<!DOCTYPE html>
<html>
<head>
<script src="../../external/require.js"></script>
<script src="../../dist/gladius.min.js"></script>
<!-- <script src="../../src/gladius.js"></script> -->
<script src="sprite-demo.js"></script>
<scrip... | <!DOCTYPE html>
<html>
<head>
<script src="../../external/require.js"></script>
<!-- gladius.min.js for an optimized version; gladius.js for fast development -->
<!-- <script src="../../dist/gladius.min.js"></script> -->
<script src="../../src/gladius.js"></script>
<script src="spri... | <|file_sep|>original/example/sprites/index.html
<!DOCTYPE html>
<html>
<head>
<script src="../../external/require.js"></script>
<script src="../../dist/gladius.min.js"></script>
<!-- <script src="../../src/gladius.js"></script> -->
<script src="sprite-demo.js"></script>
<scrip... | 9ef4061bc30bee21e1733d57b76f02fa0c953692 | example/sprites/index.html | example/sprites/index.html | HTML |
<|file_sep|>original/dev/assets/less/variables.less
/* Fonts
========================================================================== */
@font-source-sans: "Source Sans Pro", Helvetica, sans-serif;
@font-fontello: "Fontello";
/* Type Sizes
==================================================================... | /* Fonts
========================================================================== */
@font-source-sans: "Source Sans Pro", Roboto, sans-serif;
@font-fontello: "Fontello";
/* Type Sizes
========================================================================== */
@base-font-size: 16;
@em: @base-font-size ... | <|file_sep|>original/dev/assets/less/variables.less
/* Fonts
========================================================================== */
@font-source-sans: "Source Sans Pro", Helvetica, sans-serif;
@font-fontello: "Fontello";
/* Type Sizes
==================================================================... | d8729e262cc83a777e2b60d48545bb91450fd088 | dev/assets/less/variables.less | dev/assets/less/variables.less | Less |
<|file_sep|>original/azure-pipelines.yml
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@0
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
- task: VSBuild@1
inputs:
solution: '$(solution)'
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMeth... | steps:
- task: NuGetToolInstaller@0
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
- task: VSBuild@1
inputs:
solution: '$(solution)'
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.... | <|file_sep|>original/azure-pipelines.yml
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@0
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
- task: VSBuild@1
inputs:
solution: '$(solution)'
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMeth... | 386a613e71cfbcf6a1197ee5728db273583e5e7f | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/static/index.html
<!DOCTYPE html>
<html>
<head>
<title></title>
<script>
window.location.params = {}
var params = window.location.search.substring(1).split('&')
params.forEach(function(param) {
var pair = param.split("=")
window.location.params[decodeURIComponent(pair[0... | <!DOCTYPE html>
<html style="background: #333;">
<head>
<title></title>
<script>
window.location.params = {}
var params = window.location.search.substring(1).split('&')
params.forEach(function(param) {
var pair = param.split("=")
window.location.params[decodeURIComponent(pair[0])] = decodeU... | <|file_sep|>original/static/index.html
<!DOCTYPE html>
<html>
<head>
<title></title>
<script>
window.location.params = {}
var params = window.location.search.substring(1).split('&')
params.forEach(function(param) {
var pair = param.split("=")
window.location.params[decodeURIComponent(pair[0... | 17e7e05e8b3e2df6be2b6c102439d7a2d503af31 | static/index.html | static/index.html | HTML |
<|file_sep|>original/lib/limit_detectors/version.rb
# frozen_string_literal: true
module LimitDetectors
VERSION = '1.0.1'
end
<|file_sep|>current/lib/limit_detectors/version.rb
# frozen_string_literal: true
module LimitDetectors
VERSION = '1.0.1'
end
<|file_sep|>updated/lib/limit_detectors/version.rb | # frozen_string_literal: true
module LimitDetectors
VERSION = '1.0.2'
end | <|file_sep|>original/lib/limit_detectors/version.rb
# frozen_string_literal: true
module LimitDetectors
VERSION = '1.0.1'
end
<|file_sep|>current/lib/limit_detectors/version.rb
# frozen_string_literal: true
module LimitDetectors
VERSION = '1.0.1'
end
<|file_sep|>updated/lib/limit_detectors/version.rb
# frozen_str... | 0858aa039711c2286ad3b8fbdeb9c9b133e5965f | lib/limit_detectors/version.rb | lib/limit_detectors/version.rb | Ruby |
<|file_sep|>original/lib/getThrottles.coffee
Limitus = require 'limitus'
limiter = new Limitus()
config = require '../config'
config.rateLimits ?= {};
windowRate = 1000
createThrottle = (name, rate) ->
debug 'createThrottle', name, rate
limiter.rule name, max: rate, interval: windowRate
rateLimit: (id="", call... | Limitus = require 'limitus'
limiter = new Limitus()
config = require '../config'
config.rateLimits ?= {};
windowRate = 1000
createThrottle = (name, rate) ->
debug 'createThrottle', name, rate
limiter.rule name, max: rate, interval: windowRate, mode: 'interval'
rateLimit: (id="", callback=->) =>
debug 'rate... | <|file_sep|>original/lib/getThrottles.coffee
Limitus = require 'limitus'
limiter = new Limitus()
config = require '../config'
config.rateLimits ?= {};
windowRate = 1000
createThrottle = (name, rate) ->
debug 'createThrottle', name, rate
limiter.rule name, max: rate, interval: windowRate
rateLimit: (id="", call... | bb7adfab522b918e86bc7af9c6e6e4ce90dd6c92 | lib/getThrottles.coffee | lib/getThrottles.coffee | CoffeeScript |
<|file_sep|>original/src/Storage/Schema/Table/Account.php
/**
* @inheritDoc
*/
protected function addColumns()
{
$this->table->addColumn('guid', 'guid', []);
$this->table->addColumn('email', 'string', ['length' => 128]);
$this->table->addColumn('disp... | /**
* @inheritDoc
*/
protected function addColumns()
{
$this->table->addColumn('guid', 'guid', []);
$this->table->addColumn('email', 'string', ['length' => 128]);
$this->table->addColumn('displayname', 'string', ['length' => 32, 'notnull' => fal... | <|file_sep|>original/src/Storage/Schema/Table/Account.php
/**
* @inheritDoc
*/
protected function addColumns()
{
$this->table->addColumn('guid', 'guid', []);
$this->table->addColumn('email', 'string', ['length' => 128]);
$this->table->addColumn('disp... | 194d1b4b4aa75657ab4d0bfb11e8b6af7b97ed51 | src/Storage/Schema/Table/Account.php | src/Storage/Schema/Table/Account.php | PHP |
<|file_sep|>original/lib/coinmate/model/transaction.rb
attr_accessor :transaction_id, :timestamp, :transaction_type,
:amount, :amount_currency,
:price, :price_currency,
:fee, :fee_currency,
:description, :status, :order_id, :currency_pair
... | attr_accessor :transaction_id, :timestamp, :transaction_type,
:amount, :amount_currency,
:price, :price_currency,
:fee, :fee_currency,
:description, :status, :order_id, :currency_pair
def initialize(attributes = {})
super
self... | <|file_sep|>original/lib/coinmate/model/transaction.rb
attr_accessor :transaction_id, :timestamp, :transaction_type,
:amount, :amount_currency,
:price, :price_currency,
:fee, :fee_currency,
:description, :status, :order_id, :currency_pair
... | c7d6f76ca55a8efb65ebd1796a1cf8a1888faa3b | lib/coinmate/model/transaction.rb | lib/coinmate/model/transaction.rb | Ruby |
<|file_sep|>original/dev-requirements.txt
freezegun==0.3.12
isort==4.3.21 # Lint imports
mypy==0.720 # Type checking
pip_check_reqs==2.0.3
pydocstyle==4.0.1 # Lint docstrings
pyenchant==2.0.0 # Bindings for a spellchecking sytem
pygithub==1.43.8
Pygments==2.4.2
pylint==2.3.1 # Lint
pyroma==2.5 # Packaging best pr... | freezegun==0.3.12
isort==4.3.21 # Lint imports
mypy==0.720 # Type checking
pip_check_reqs==2.0.3
pydocstyle==4.0.1 # Lint docstrings
pyenchant==2.0.0 # Bindings for a spellchecking sytem
pygithub==1.43.8
Pygments==2.4.2
pylint==2.3.1 # Lint
pyroma==2.5 # Packaging best practices checker
pytest-cov==2.7.1 # Measu... | <|file_sep|>original/dev-requirements.txt
freezegun==0.3.12
isort==4.3.21 # Lint imports
mypy==0.720 # Type checking
pip_check_reqs==2.0.3
pydocstyle==4.0.1 # Lint docstrings
pyenchant==2.0.0 # Bindings for a spellchecking sytem
pygithub==1.43.8
Pygments==2.4.2
pylint==2.3.1 # Lint
pyroma==2.5 # Packaging best pr... | 58139cad9319940b5e698192eb7254d9a7e18e65 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>lib/data/new_window_transactions.json.diff
original:
"car-tax-disc-vehicle-licence",
"register-login-student-finance",
updated:
<|file_sep|>lib/data/new_window_transactions.json.diff
original:
"change-date-theory-test",
updated:
<|file_sep|>lib/data/new_window_transactions.json.diff
original:
... | {
"new-window": [
"find-your-local-council",
"apply-blue-badge",
"claim-state-pension-online",
"pension-credit-calculator",
"report-benefit-fraud",
"report-extremism",
"pay-court-fine-online",
"send-vat-return",
"use-construction-industry-scheme-online",
"file-your-company-acco... | <|file_sep|>lib/data/new_window_transactions.json.diff
original:
"car-tax-disc-vehicle-licence",
"register-login-student-finance",
updated:
<|file_sep|>lib/data/new_window_transactions.json.diff
original:
"change-date-theory-test",
updated:
<|file_sep|>lib/data/new_window_transactions.json.diff
original:
... | b886602f7d0cb2271ffd26767ee612316ffeb464 | lib/data/new_window_transactions.json | lib/data/new_window_transactions.json | JSON |
<|file_sep|>bin/Data/Scripts/Main.as.diff
original:
updated:
Timer timer_;
<|file_sep|>bin/Data/Scripts/Main.as.diff
original:
updated:
float timeTaken = timer_.GetMSec(false);
log.Debug("You took " + timeTaken / 1000.f + " seconds to solve the level");
<|file_sep|>original/bin/Data/Scripts/Main.as
UnsubscribeFro... | newScene_ = data["Scene"].GetPtr();
SubscribeToEvent("Update", "HandleDelayedStart");
}
void HandleDelayedStart(StringHash type, VariantMap& data)
{
UnsubscribeFromEvent("Update");
Node@ cameraNode = newScene_.GetChild("Camera", true);
Camera@ newCamera = cameraNode.CreateComponent("Camera");
Viewport@ viewpo... | <|file_sep|>bin/Data/Scripts/Main.as.diff
original:
updated:
Timer timer_;
<|file_sep|>bin/Data/Scripts/Main.as.diff
original:
updated:
float timeTaken = timer_.GetMSec(false);
log.Debug("You took " + timeTaken / 1000.f + " seconds to solve the level");
<|file_sep|>original/bin/Data/Scripts/Main.as
UnsubscribeFro... | 14e29c99fbaba25aace6714949c3cca398c89643 | bin/Data/Scripts/Main.as | bin/Data/Scripts/Main.as | ActionScript |
<|file_sep|>original/spec/spec_helper.rb
RSpec.configure do |config|
config.around(:each) { |example| Timeout.timeout(1, &example) }
end
begin
require 'simplecov'
SimpleCov.start do
add_filter 'spec/' # Exclude RSpec files from coverage
end
rescue LoadError
$stderr.puts 'NOTE: SimpleCov is not installed'... | RSpec.configure do |config|
config.around(:each) { |example| Timeout.timeout(0.5, &example) }
end
begin
require 'simplecov'
SimpleCov.start do
add_filter 'spec/' # Exclude RSpec files from coverage
end
rescue LoadError
$stderr.puts 'NOTE: SimpleCov is not installed'
end
$LOAD_PATH.unshift File.expand_pa... | <|file_sep|>original/spec/spec_helper.rb
RSpec.configure do |config|
config.around(:each) { |example| Timeout.timeout(1, &example) }
end
begin
require 'simplecov'
SimpleCov.start do
add_filter 'spec/' # Exclude RSpec files from coverage
end
rescue LoadError
$stderr.puts 'NOTE: SimpleCov is not installed'... | a6c3230bb1ff4efc9571481dd3b56adb149fda9e | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>Cargo.toml.diff
original:
rotor-stream = {rev="1efbcac", git="git://github.com/tailhook/rotor-stream"}
updated:
rotor-stream = "0.6.0"
<|file_sep|>original/Cargo.toml
rotor-stream = {rev="1efbcac", git="git://github.com/tailhook/rotor-stream"}
quick-error = "1.0.0"
matches = "0.1"
serde = { version = "0.7",... | rotor-stream = "0.6.0"
quick-error = "1.0.0"
matches = "0.1"
serde = { version = "0.7", optional = true }
serde_json = { version = "0.7", optional = true }
serde_macros = { version = "0.7", optional = true }
log = "0.3.1"
[dev-dependencies]
libc = "0.1"
net2 = "0.2"
rotor-test = "0.2.0"
url = "0.5.7"
argparse = "0.2.1... | <|file_sep|>Cargo.toml.diff
original:
rotor-stream = {rev="1efbcac", git="git://github.com/tailhook/rotor-stream"}
updated:
rotor-stream = "0.6.0"
<|file_sep|>original/Cargo.toml
rotor-stream = {rev="1efbcac", git="git://github.com/tailhook/rotor-stream"}
quick-error = "1.0.0"
matches = "0.1"
serde = { version = "0.7",... | 9c653e652c476219ac768e2144eb36519db17dc4 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>test/Spec.hs.diff
original:
updated:
import Test.Tasty.Ingredients.Basic
<|file_sep|>original/test/Spec.hs
module Main (main) where
import Test.Tasty
import Test.Tasty.Hspec
import Test.Tasty.Runners.AntXML
main :: IO ()
main = do
theSpecs <- testSpec "Specs" specs
defaultMainWithIngredients [antXMLR... | module Main (main) where
import Test.Tasty
import Test.Tasty.Hspec
import Test.Tasty.Ingredients.Basic
import Test.Tasty.Runners.AntXML
main :: IO ()
main = do
theSpecs <- testSpec "Specs" specs
defaultMainWithIngredients (antXMLRunner:defaultIngredients) theSpecs
specs :: Spec
specs = do
describe "A test" $ d... | <|file_sep|>test/Spec.hs.diff
original:
updated:
import Test.Tasty.Ingredients.Basic
<|file_sep|>original/test/Spec.hs
module Main (main) where
import Test.Tasty
import Test.Tasty.Hspec
import Test.Tasty.Runners.AntXML
main :: IO ()
main = do
theSpecs <- testSpec "Specs" specs
defaultMainWithIngredients [antXMLR... | 309ed6136f3c6f81fb532104d46e5ea08e21e08c | test/Spec.hs | test/Spec.hs | Haskell |
<|file_sep|>src/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/SocketTransportOptions.cs.diff
original:
using System;
updated:
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
<|... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets
{
// TODO: Come... | <|file_sep|>src/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/SocketTransportOptions.cs.diff
original:
using System;
updated:
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
<|... | 801a7c76527a571c77dad8d3bd247e7039f73173 | src/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/SocketTransportOptions.cs | src/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/SocketTransportOptions.cs | C# |
<|file_sep|>layouts/partials/jumbotron.html.diff
original:
updated:
{{ $baseUrl := .Site.BaseURL }}
<|file_sep|>original/layouts/partials/jumbotron.html
{{ $isHomePage := eq .Title .Site.Title }}
<div class="jumbotron" style="background-image: url({{ if $isHomePage }}{{ with .Site.Params.image }}{{ . }}{{ end }}{{ el... | {{ $isHomePage := eq .Title .Site.Title }}
{{ $baseUrl := .Site.BaseURL }}
<div class="jumbotron" style="background-image: url({{ if isset .Params "image" }}{{ .Params.image }}{{ else }}{{ with .Site.Params.image }}{{ if $isHomePage }}{{ . }}{{ else }}{{ $baseUrl }}/{{ . }}{{ end }}{{ end }}{{ end }});">
<div clas... | <|file_sep|>layouts/partials/jumbotron.html.diff
original:
updated:
{{ $baseUrl := .Site.BaseURL }}
<|file_sep|>original/layouts/partials/jumbotron.html
{{ $isHomePage := eq .Title .Site.Title }}
<div class="jumbotron" style="background-image: url({{ if $isHomePage }}{{ with .Site.Params.image }}{{ . }}{{ end }}{{ el... | 859e891a1f5418a877615a510d03f0e421a8140d | layouts/partials/jumbotron.html | layouts/partials/jumbotron.html | HTML |
<|file_sep|>original/cookbooks/ondemand_base/recipes/windows.rb
<|file_sep|>current/cookbooks/ondemand_base/recipes/windows.rb
<|file_sep|>updated/cookbooks/ondemand_base/recipes/windows.rb | # Webtrends Windows system setup
#Install SNMP feature
windows_feature "SNMP-Service"
action :install
end
#Install Powershell feature
windows_feature "PowerShell-ISE"
action :install
end
#Install .NET 3.5.1
windows_feature "NET-Framework-Core"
action :install
end
#Install MSMQ
windows_feature "MSMQ-Server"
... | <|file_sep|>original/cookbooks/ondemand_base/recipes/windows.rb
<|file_sep|>current/cookbooks/ondemand_base/recipes/windows.rb
<|file_sep|>updated/cookbooks/ondemand_base/recipes/windows.rb
# Webtrends Windows system setup
#Install SNMP feature
windows_feature "SNMP-Service"
action :install
end
#Install Powershel... | 2b936277b8482dc6a1069bbd1afef5184a173023 | cookbooks/ondemand_base/recipes/windows.rb | cookbooks/ondemand_base/recipes/windows.rb | Ruby |
<|file_sep|>src/index.html.diff
original:
<html lang="en">
updated:
<html lang="en" class="no-js">
<|file_sep|>original/src/index.html
<head>
<meta charset="utf-8">
<meta name="description" content="html5 generator ninja">
<title>Boilerplate Ninja - the sneaky HTML5 generator</title>
<!-- at:css >> c... | <head>
<meta charset="utf-8">
<meta name="description" content="html5 generator ninja">
<title>Boilerplate Ninja - the sneaky HTML5 generator</title>
<!-- at:css >> css/site.css -->
<link rel="stylesheet" href="../bower_components/normalize.css/normalize.css">
<link rel="stylesheet" href="../... | <|file_sep|>src/index.html.diff
original:
<html lang="en">
updated:
<html lang="en" class="no-js">
<|file_sep|>original/src/index.html
<head>
<meta charset="utf-8">
<meta name="description" content="html5 generator ninja">
<title>Boilerplate Ninja - the sneaky HTML5 generator</title>
<!-- at:css >> c... | 3fe579615c2bb73941d884972a7329c9fed41cc8 | src/index.html | src/index.html | HTML |
<|file_sep|>test/test_path_utilities.py.diff
original:
('/', '\/'),
updated:
('/', '\\/'),
<|file_sep|>test/test_path_utilities.py.diff
original:
('/\\', '\/\\\\'),
('\\//\\', '\\\\\/\/\\\\'),
('a\\\\b//c\\d', 'a\\\\\\\\b\/\/c\\\\d')
updated:
('/\\', '\\/\\\\'),
('\\//\\', '\\\\\\/\\/\\\\'),... | assert path.decode(encoded) == raw
@pytest.mark.parametrize('pth,tokens', [
('abcd', ['abcd']),
('/abcd', ['', 'abcd']),
('/ab/cd/ef/gh', ['', 'ab', 'cd', 'ef', 'gh']),
('/ab/cd//', ['', 'ab', 'cd', '', '']),
('ab\\/cd', ['ab/cd']),
('ab\\/c/d', ['ab/c', 'd']),
('ab\\//cd', ['ab/', 'cd... | <|file_sep|>test/test_path_utilities.py.diff
original:
('/', '\/'),
updated:
('/', '\\/'),
<|file_sep|>test/test_path_utilities.py.diff
original:
('/\\', '\/\\\\'),
('\\//\\', '\\\\\/\/\\\\'),
('a\\\\b//c\\d', 'a\\\\\\\\b\/\/c\\\\d')
updated:
('/\\', '\\/\\\\'),
('\\//\\', '\\\\\\/\\/\\\\'),... | 999688f963c2737fc699bd1a97d91e79eb125c38 | test/test_path_utilities.py | test/test_path_utilities.py | Python |
<|file_sep|>original/spec/functional/new_app_spec.rb
<|file_sep|>current/spec/functional/new_app_spec.rb
<|file_sep|>updated/spec/functional/new_app_spec.rb | require 'functional_spec_helper'
describe 'New app loading' do
TIMEOUT = 10
let(:app) { create_app }
let(:notification) { create_notification }
let(:tcp_socket) { double(TCPSocket, setsockopt: nil, close: nil) }
let(:ssl_socket) do double(OpenSSL::SSL::SSLSocket, :sync= => nil, connect: nil,
... | <|file_sep|>original/spec/functional/new_app_spec.rb
<|file_sep|>current/spec/functional/new_app_spec.rb
<|file_sep|>updated/spec/functional/new_app_spec.rb
require 'functional_spec_helper'
describe 'New app loading' do
TIMEOUT = 10
let(:app) { create_app }
let(:notification) { create_notification }
let(:tc... | a892cdc9f102e7e651aaf1d61205c222c72ba54d | spec/functional/new_app_spec.rb | spec/functional/new_app_spec.rb | Ruby |
<|file_sep|>docs/source/rosetta.rst.diff
original:
Imports
-------
updated:
Imports and Construction
------------------------
<|file_sep|>docs/source/rosetta.rst.diff
original:
from blaze import *
updated:
from blaze import Data, by, join
# construct a DataFrame
df = pd.DataFrame({
'name': 'Alice Bob... | 'name': 'Alice Bob Joe Bob'.split(),
'amount': np.random.rand(4) * 1000,
'id': np.arange(4)
})
# put `df` into a Blaze Data object
t = Data(df)
=============== ============================================================= ===========================================
**Computation** **Pandas... | <|file_sep|>docs/source/rosetta.rst.diff
original:
Imports
-------
updated:
Imports and Construction
------------------------
<|file_sep|>docs/source/rosetta.rst.diff
original:
from blaze import *
updated:
from blaze import Data, by, join
# construct a DataFrame
df = pd.DataFrame({
'name': 'Alice Bob... | bde69d14555f952b533d1869639c4c554fc112da | docs/source/rosetta.rst | docs/source/rosetta.rst | reStructuredText |
<|file_sep|>original/app/assets/javascripts/views/flash-messages.view.js.coffee
template: Ember.Handlebars.compile('{{ view.content.message }}')
classNameBindings: [':flash', 'content.type', ':fade', 'fadeIn:in']
fadeIn: false
didInsertElement: ()->
Ember.run.next @, 'toggleProperty', 'fadeIn'
Ember.ru... | template: Ember.Handlebars.compile('{{ view.content.message }}')
classNameBindings: [':flash', 'content.type', ':fade', 'fadeIn:in']
fadeIn: false
didInsertElement: ()->
Ember.run.next @, 'toggleProperty', 'fadeIn'
Ember.run.later @, 'toggleProperty', 'fadeIn', @get('delay')
transitionEnd: (event)->... | <|file_sep|>original/app/assets/javascripts/views/flash-messages.view.js.coffee
template: Ember.Handlebars.compile('{{ view.content.message }}')
classNameBindings: [':flash', 'content.type', ':fade', 'fadeIn:in']
fadeIn: false
didInsertElement: ()->
Ember.run.next @, 'toggleProperty', 'fadeIn'
Ember.ru... | f78214b2c3108437c4c904a38c5ab65bbbfa6e77 | app/assets/javascripts/views/flash-messages.view.js.coffee | app/assets/javascripts/views/flash-messages.view.js.coffee | CoffeeScript |
<|file_sep|>original/requirements.txt
ansible-lint==4.2.0
docker==4.2.2
flake8==3.8.3
molecule==3.0.5
pytest==5.4.3
testinfra==5.2.1
tox==3.16.1
<|file_sep|>current/requirements.txt
ansible-lint==4.2.0
docker==4.2.2
flake8==3.8.3
molecule==3.0.5
pytest==5.4.3
testinfra==5.2.1
tox==3.16.1
<|file_sep|>updated/requirement... | ansible-lint==4.2.0
docker==4.2.2
flake8==3.8.3
molecule==3.0.6
pytest==5.4.3
testinfra==5.2.1
tox==3.16.1 | <|file_sep|>original/requirements.txt
ansible-lint==4.2.0
docker==4.2.2
flake8==3.8.3
molecule==3.0.5
pytest==5.4.3
testinfra==5.2.1
tox==3.16.1
<|file_sep|>current/requirements.txt
ansible-lint==4.2.0
docker==4.2.2
flake8==3.8.3
molecule==3.0.5
pytest==5.4.3
testinfra==5.2.1
tox==3.16.1
<|file_sep|>updated/requirement... | 93b637ea3dc7eb5a38f24dc4d17fba5fe08877a4 | requirements.txt | requirements.txt | Text |
<|file_sep|>README.md.diff
original:
fmt.Printf("%s\n", EncodeCoords(coords))
updated:
fmt.Printf("%s\n", polyline.EncodeCoords(coords))
<|file_sep|>original/README.md
{43.252, -126.453},
}
fmt.Printf("%s\n", EncodeCoords(coords))
// Output: _p~iF~ps|U_ulLnnqC_mqNvxq`@
}
```
## Decoding exa... | {43.252, -126.453},
}
fmt.Printf("%s\n", polyline.EncodeCoords(coords))
// Output: _p~iF~ps|U_ulLnnqC_mqNvxq`@
}
```
## Decoding example
```go
func ExampleDecodeCoords() {
buf := []byte("_p~iF~ps|U_ulLnnqC_mqNvxq`@")
coords, _, _ := polyline.DecodeCoords(buf)
fmt.Printf("%v\n", coords)... | <|file_sep|>README.md.diff
original:
fmt.Printf("%s\n", EncodeCoords(coords))
updated:
fmt.Printf("%s\n", polyline.EncodeCoords(coords))
<|file_sep|>original/README.md
{43.252, -126.453},
}
fmt.Printf("%s\n", EncodeCoords(coords))
// Output: _p~iF~ps|U_ulLnnqC_mqNvxq`@
}
```
## Decoding exa... | 2e34a6e5f778fc8d30665e10ab489e7e39eb1899 | README.md | README.md | Markdown |
<|file_sep|>original/site/admin/page-editor.html
</div>
<div class="modal-body">
<div class="alert alert-danger" data-bind="visible: error">
<strong>Error!</strong> <span data-bind="text: error"></span>
</div>
<div class="form-group">
<label for="content">Page con... | </div>
<div class="modal-body">
<div class="alert alert-danger" data-bind="visible: error">
<strong>Error!</strong> <span data-bind="text: error"></span>
</div>
<div class="form-group">
<label for="content">Page content</label>
<textarea class="form-cont... | <|file_sep|>original/site/admin/page-editor.html
</div>
<div class="modal-body">
<div class="alert alert-danger" data-bind="visible: error">
<strong>Error!</strong> <span data-bind="text: error"></span>
</div>
<div class="form-group">
<label for="content">Page con... | b4ff5eac18ed2ed87ead296f53b58ff9a5b28259 | site/admin/page-editor.html | site/admin/page-editor.html | HTML |
<|file_sep|>Code/configure.sh.diff
original:
all=false
updated:
packages="python3 fluidsynth alsa-tools"
<|file_sep|>Code/configure.sh.diff
original:
all=true
updated:
packages=${packages} tightvncserver
<|file_sep|>original/Code/configure.sh
}
all=false
while getopts ":a" o; do
case "${o}... | echo "-a Configure all (virtualenv and python packages)"
}
packages="python3 fluidsynth alsa-tools"
while getopts ":a" o; do
case "${o}" in
a)
packages=${packages} tightvncserver
;;
*)
echo "Unknown option: ${OPTARG}"
usage
exit
... | <|file_sep|>Code/configure.sh.diff
original:
all=false
updated:
packages="python3 fluidsynth alsa-tools"
<|file_sep|>Code/configure.sh.diff
original:
all=true
updated:
packages=${packages} tightvncserver
<|file_sep|>original/Code/configure.sh
}
all=false
while getopts ":a" o; do
case "${o}... | 7666a877d652e101961eece89bbb5c63b61d53c9 | Code/configure.sh | Code/configure.sh | Shell |
<|file_sep|>original/reference_playbook.yaml
# Sequence 1
################################################################
# Including a description is optional. This must be a string.
- description: frobnicate these lil guys
hosts:
- foo.dev.example.com
- bar.ops.example.com
# Install mega... | # Sequence 1
################################################################
# Including a description is optional. This must be a string.
- description: frobnicate these lil guys
hosts:
- foo.dev.example.com
- bar.ops.example.com
# Install megafrobber on all our hosts ahead of time
pr... | <|file_sep|>original/reference_playbook.yaml
# Sequence 1
################################################################
# Including a description is optional. This must be a string.
- description: frobnicate these lil guys
hosts:
- foo.dev.example.com
- bar.ops.example.com
# Install mega... | 95a08ee7dd5881958b3b33b3a343a9053d1b0e90 | reference_playbook.yaml | reference_playbook.yaml | YAML |
<|file_sep|>original/packages/core/spec/fixtures/builder-tests/pkg-splitidx.tex
%!TeX jobNames = job-1, job-2
%!TeX job-2:outputDirectory = output
\documentclass{article}
\usepackage{splitidx}
\makeindex
\newindex[Index of theories]{theories}
\newindex[Index of names]{persons}
\begin{document}
Special and General ... | %!TeX jobNames = job-1, job-2
%!TeX job-2:outputDirectory = output
%!TeX check = splitindex --version
\documentclass{article}
\usepackage{splitidx}
\makeindex
\newindex[Index of theories]{theories}
\newindex[Index of names]{persons}
\begin{document}
Special and General Relativity\sindex[theories]{relativity}...
Ei... | <|file_sep|>original/packages/core/spec/fixtures/builder-tests/pkg-splitidx.tex
%!TeX jobNames = job-1, job-2
%!TeX job-2:outputDirectory = output
\documentclass{article}
\usepackage{splitidx}
\makeindex
\newindex[Index of theories]{theories}
\newindex[Index of names]{persons}
\begin{document}
Special and General ... | ec07832aa33032161571ea492683dfa6f24a7a76 | packages/core/spec/fixtures/builder-tests/pkg-splitidx.tex | packages/core/spec/fixtures/builder-tests/pkg-splitidx.tex | TeX |
<|file_sep|>original/latest_tweets/management/commands/latest_tweets_update.py
unescape = htmlparser.unescape
for i in messages:
tweet_id = i['id']
tweet_username = i['user']['screen_name']
tweet_text = unescape(i['text'])
tweet_created = datetime.strptime(
i['create... | unescape = htmlparser.unescape
for i in messages:
tweet_id = i['id']
tweet_username = i['user']['screen_name']
tweet_text = unescape(i['text'])
tweet_created = datetime.strptime(
i['created_at'], '%a %b %d %H:%M:%S +0000 %Y'
).replace(tzinfo=utc)
obj... | <|file_sep|>original/latest_tweets/management/commands/latest_tweets_update.py
unescape = htmlparser.unescape
for i in messages:
tweet_id = i['id']
tweet_username = i['user']['screen_name']
tweet_text = unescape(i['text'])
tweet_created = datetime.strptime(
i['create... | 2ef97402219107fc632196bb0a7e3d6de38e5888 | latest_tweets/management/commands/latest_tweets_update.py | latest_tweets/management/commands/latest_tweets_update.py | Python |
<|file_sep|>original/test/teeminus10_helpers_test.py
from teeminus10_helpers import *
import unittest
class TestInTimeOfDay(unittest.TestCase):
def setUp(self):
self.location = ephem.city('London')
self.location.date = datetime(2013, 03, 14, 9, 0, 0)
self.pass_day_time = datetime(2013, 03, ... | from teeminus10_helpers import *
import unittest
class TestInTimeOfDay(unittest.TestCase):
def setUp(self):
self.location = ephem.city('London')
self.location.date = datetime(2013, 03, 14, 9, 0, 0)
self.pass_day_time = datetime(2013, 03, 14, 12, 0, 0)
self.pass_night_time = datetime... | <|file_sep|>original/test/teeminus10_helpers_test.py
from teeminus10_helpers import *
import unittest
class TestInTimeOfDay(unittest.TestCase):
def setUp(self):
self.location = ephem.city('London')
self.location.date = datetime(2013, 03, 14, 9, 0, 0)
self.pass_day_time = datetime(2013, 03, ... | 673f4ad22ccd14f9feb68cfc3afc1f34580c0a51 | test/teeminus10_helpers_test.py | test/teeminus10_helpers_test.py | Python |
<|file_sep|>sc2clanman/templates/sc2clanman/practice.html.diff
original:
{% load staticfiles i18n %}
updated:
{% load i18n %}
<|file_sep|>sc2clanman/templates/sc2clanman/practice.html.diff
original:
updated:
{% if user.is_authenticated %}
{% if user.is_superuser or user.is_staff %}
<|file_sep|>sc2clanm... | <table class="table table-hover">
<thead>
<tr>
<th>{% trans 'Date' %}</th>
<th>{% trans 'Notes' %}</th>
</tr>
</thead>
<tbody>
... | <|file_sep|>sc2clanman/templates/sc2clanman/practice.html.diff
original:
{% load staticfiles i18n %}
updated:
{% load i18n %}
<|file_sep|>sc2clanman/templates/sc2clanman/practice.html.diff
original:
updated:
{% if user.is_authenticated %}
{% if user.is_superuser or user.is_staff %}
<|file_sep|>sc2clanm... | 75c1abac1cdc16b981b975b013fac8a9a9e78324 | sc2clanman/templates/sc2clanman/practice.html | sc2clanman/templates/sc2clanman/practice.html | HTML |
<|file_sep|>original/Configuration/Settings.yaml
Flowpack:
ElasticSearch:
ContentRepositoryQueueIndexer:
enableLiveAsyncIndexing: true
# Change size of single batch jobs via this setting
batchSize: 500
# Number of failed jobs accepted to switch the alias to the new index
# -1 means,... | Flowpack:
ElasticSearch:
ContentRepositoryQueueIndexer:
enableLiveAsyncIndexing: true
# Change size of single batch jobs via this setting
batchSize: 500
# Number of failed jobs accepted to switch the alias to the new index
# -1 means, accept any number of failures
acceptedFail... | <|file_sep|>original/Configuration/Settings.yaml
Flowpack:
ElasticSearch:
ContentRepositoryQueueIndexer:
enableLiveAsyncIndexing: true
# Change size of single batch jobs via this setting
batchSize: 500
# Number of failed jobs accepted to switch the alias to the new index
# -1 means,... | ddaeea79c950fdc5dc7a5322ee24f6956833bbd1 | Configuration/Settings.yaml | Configuration/Settings.yaml | YAML |
<|file_sep|>src/codecs.rs.diff
original:
updated:
use std::os::raw::c_char;
<|file_sep|>original/src/codecs.rs
use std::str;
use std::ptr;
use std::ffi::CStr;
pub fn decode_c_str(c_str: *const ffi::yaml_char_t) -> Option<String> {
if c_str == ptr::null() {
None
} else {
unsafe {
le... | use std::str;
use std::ptr;
use std::ffi::CStr;
use std::os::raw::c_char;
pub fn decode_c_str(c_str: *const ffi::yaml_char_t) -> Option<String> {
if c_str == ptr::null() {
None
} else {
unsafe {
let c_char_str = c_str as *const c_char;
str::from_utf8(CStr::from_ptr(c_cha... | <|file_sep|>src/codecs.rs.diff
original:
updated:
use std::os::raw::c_char;
<|file_sep|>original/src/codecs.rs
use std::str;
use std::ptr;
use std::ffi::CStr;
pub fn decode_c_str(c_str: *const ffi::yaml_char_t) -> Option<String> {
if c_str == ptr::null() {
None
} else {
unsafe {
le... | bfcaf962d2bf6cebb09f79d26207cc15ee195a51 | src/codecs.rs | src/codecs.rs | Rust |
<|file_sep|>original/.travis.yml
language: ruby
script: "bundle exec rspec"
rvm:
- 1.9.3
- 2.0.0
gemfile:
- gemfiles/active_record_3.gemfile
- gemfiles/active_record_4.gemfile
- gemfiles/mongoid_3.gemfile
- gemfiles/mongoid_4.gemfile
services:
- mongodb
<|file_sep|>current/.travis.yml
language: ruby
scrip... | language: ruby
script: "bundle exec rspec"
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.1
gemfile:
- gemfiles/active_record_3.gemfile
- gemfiles/active_record_4.gemfile
- gemfiles/mongoid_3.gemfile
- gemfiles/mongoid_4.gemfile
services:
- mongodb | <|file_sep|>original/.travis.yml
language: ruby
script: "bundle exec rspec"
rvm:
- 1.9.3
- 2.0.0
gemfile:
- gemfiles/active_record_3.gemfile
- gemfiles/active_record_4.gemfile
- gemfiles/mongoid_3.gemfile
- gemfiles/mongoid_4.gemfile
services:
- mongodb
<|file_sep|>current/.travis.yml
language: ruby
scrip... | 3b4caba88f2e25c4efde40ed2ede8c1239ad4db6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/base/data/valgrind/base_unittests.gtest-tsan_mac.txt
# Former aspacem warnings on Valgrind.
# Tsan still tends to hang on these tests unexpectedly on Mac OS.
# (see https://bugs.kde.org/show_bug.cgi?id=192634 and
# http://code.google.com/p/data-race-test/issues/detail?id=11)
WorkerPoolTest.PostTask... | # http://crbug.com/29855.
StackTrace.OutputToStream | <|file_sep|>original/base/data/valgrind/base_unittests.gtest-tsan_mac.txt
# Former aspacem warnings on Valgrind.
# Tsan still tends to hang on these tests unexpectedly on Mac OS.
# (see https://bugs.kde.org/show_bug.cgi?id=192634 and
# http://code.google.com/p/data-race-test/issues/detail?id=11)
WorkerPoolTest.PostTask... | ab7ef82e8950c0cf503309c652fe6e68949cc3c0 | base/data/valgrind/base_unittests.gtest-tsan_mac.txt | base/data/valgrind/base_unittests.gtest-tsan_mac.txt | Text |
<|file_sep|>.zuul.yaml.diff
original:
updated:
- check-requirements
- openstack-cover-jobs
- openstack-lower-constraints-jobs
<|file_sep|>.zuul.yaml.diff
original:
- check-requirements
updated:
<|file_sep|>original/.zuul.yaml
- project:
templates:
- openstack-python-jobs
- open... | - project:
templates:
- check-requirements
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python-jobs
- openstack-python35-jobs
- openstack-python36-jobs
check:
jobs:
- monasca-tempest-python-influxdb:
voting: false
- m... | <|file_sep|>.zuul.yaml.diff
original:
updated:
- check-requirements
- openstack-cover-jobs
- openstack-lower-constraints-jobs
<|file_sep|>.zuul.yaml.diff
original:
- check-requirements
updated:
<|file_sep|>original/.zuul.yaml
- project:
templates:
- openstack-python-jobs
- open... | 524b27f87d2e6630ae80a896c33411fba6942cef | .zuul.yaml | .zuul.yaml | YAML |
<|file_sep|>original/requirements.txt
docker==2.7.0
molecule==1.25.0
pytest==3.3.1
python-vagrant==0.5.15
testinfra==1.10.1
tox==2.9.1
<|file_sep|>current/requirements.txt
docker==2.7.0
molecule==1.25.0
pytest==3.3.1
python-vagrant==0.5.15
testinfra==1.10.1
tox==2.9.1
<|file_sep|>updated/requirements.txt | docker==2.7.0
molecule==2.6.0
pytest==3.3.1
python-vagrant==0.5.15
testinfra==1.10.1
tox==2.9.1 | <|file_sep|>original/requirements.txt
docker==2.7.0
molecule==1.25.0
pytest==3.3.1
python-vagrant==0.5.15
testinfra==1.10.1
tox==2.9.1
<|file_sep|>current/requirements.txt
docker==2.7.0
molecule==1.25.0
pytest==3.3.1
python-vagrant==0.5.15
testinfra==1.10.1
tox==2.9.1
<|file_sep|>updated/requirements.txt
docker==2.7.0
... | 48c4102b937b31aa56e9424a55915484ae3d9384 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/ci/deploy-credential-counter.yml
---
platform: darwin
inputs:
- name: credential-count-binary
run:
path: cred-alert/ci/scripts/deploy-credential-counter
params:
LABEL:
WORKDIR:
PORT:
RPC_SERVER_ADDRESS:
RPC_SERVER_PORT:
CA_CERT:
CLIENT_CERT:
CLIENT_KEY:
<|file_sep|>current/ci/d... | ---
platform: darwin
inputs:
- name: cred-alert
- name: credential-count-binary
run:
path: cred-alert/ci/scripts/deploy-credential-counter
params:
LABEL:
WORKDIR:
PORT:
RPC_SERVER_ADDRESS:
RPC_SERVER_PORT:
CA_CERT:
CLIENT_CERT:
CLIENT_KEY: | <|file_sep|>original/ci/deploy-credential-counter.yml
---
platform: darwin
inputs:
- name: credential-count-binary
run:
path: cred-alert/ci/scripts/deploy-credential-counter
params:
LABEL:
WORKDIR:
PORT:
RPC_SERVER_ADDRESS:
RPC_SERVER_PORT:
CA_CERT:
CLIENT_CERT:
CLIENT_KEY:
<|file_sep|>current/ci/d... | 03b98792c651cf0eaba8779a7b3d194e42a28d34 | ci/deploy-credential-counter.yml | ci/deploy-credential-counter.yml | YAML |
<|file_sep|>original/tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH832Test.php
use Doctrine\MongoDB\GridFSFile;
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
class GH832Test extends \Doctrine\ODM\MongoDB\Tests\BaseTest
{
/**
* @expectedException MongoGridFSException
*/
public function t... | use Doctrine\MongoDB\GridFSFile;
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
class GH832Test extends \Doctrine\ODM\MongoDB\Tests\BaseTest
{
/**
* @expectedException MongoGridFSException
*/
public function testGridFSWithUniqueIndex()
{
$doc = new GH832Document();
$this->dm... | <|file_sep|>original/tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH832Test.php
use Doctrine\MongoDB\GridFSFile;
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
class GH832Test extends \Doctrine\ODM\MongoDB\Tests\BaseTest
{
/**
* @expectedException MongoGridFSException
*/
public function t... | 8b8948ad4d4fc67a4df25b1a1130b21e663747df | tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH832Test.php | tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH832Test.php | PHP |
<|file_sep|>original/actionpack-action_caching.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |gem|
gem.name = 'actionpack-action_caching'
gem.version = '1.1.0'
gem.author = 'David Heinemeier Hansson'
gem.email = 'david@loudthinking.com'
gem.description = 'Action ... |
Gem::Specification.new do |gem|
gem.name = 'actionpack-action_caching'
gem.version = '1.1.0'
gem.author = 'David Heinemeier Hansson'
gem.email = 'david@loudthinking.com'
gem.description = 'Action caching for Action Pack (removed from core in Rails 4.0)'
gem.summary = '... | <|file_sep|>original/actionpack-action_caching.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |gem|
gem.name = 'actionpack-action_caching'
gem.version = '1.1.0'
gem.author = 'David Heinemeier Hansson'
gem.email = 'david@loudthinking.com'
gem.description = 'Action ... | a45e97298f6a77a4d74662521715d5656b821f24 | actionpack-action_caching.gemspec | actionpack-action_caching.gemspec | Ruby |
<|file_sep|>original/MessageBird/Client.cs
return new Client(restClient);
}
public static Client CreateDefault(string accessKey)
{
return new Client(new RestClient(accessKey));
}
public Message SendMessage(Message message)
{
Messages ... | return new Client(restClient);
}
public static Client CreateDefault(string accessKey)
{
return new Client(new RestClient(accessKey));
}
public Message SendMessage(string originator, string body, long[] msisdns, MessageOptionalArguments optionalArguments ... | <|file_sep|>original/MessageBird/Client.cs
return new Client(restClient);
}
public static Client CreateDefault(string accessKey)
{
return new Client(new RestClient(accessKey));
}
public Message SendMessage(Message message)
{
Messages ... | b3152406a7da31664c437366baabddd770f6de45 | MessageBird/Client.cs | MessageBird/Client.cs | C# |
<|file_sep|>original/fixtures/features/swagger/auth-token-in-query.yaml
<|file_sep|>current/fixtures/features/swagger/auth-token-in-query.yaml
<|file_sep|>updated/fixtures/features/swagger/auth-token-in-query.yaml | swagger: '2.0'
info:
version: '1.0.0'
title: Swagger Token in Query
securityDefinitions:
customApiKey:
type: apiKey
in: query
name: api_key
paths:
/with-security:
get:
security:
- customApiKey: []
responses:
200:
description: With Security
schema:
... | <|file_sep|>original/fixtures/features/swagger/auth-token-in-query.yaml
<|file_sep|>current/fixtures/features/swagger/auth-token-in-query.yaml
<|file_sep|>updated/fixtures/features/swagger/auth-token-in-query.yaml
swagger: '2.0'
info:
version: '1.0.0'
title: Swagger Token in Query
securityDefinitions:
customApi... | 5a9b2dbca38f178a648b0c720fdcb329714f8a91 | fixtures/features/swagger/auth-token-in-query.yaml | fixtures/features/swagger/auth-token-in-query.yaml | YAML |
<|file_sep|>original/packages/bl/blanks.yaml
<|file_sep|>current/packages/bl/blanks.yaml
<|file_sep|>updated/packages/bl/blanks.yaml | homepage: https://github.com/ejconlon/blanks#readme
changelog-type: ''
hash: 7c2c3c7f8752503226abc1125394cbc389e598240a87d31c72dbaa4163f955e5
test-bench-deps:
base: ! '>=4.12 && <5'
tasty-discover: -any
adjunctions: ! '>=4.4'
distributive: ! '>=0.6'
containers: ! '>=0.6'
mtl: ! '>=2.2'
tasty-hunit: -any
... | <|file_sep|>original/packages/bl/blanks.yaml
<|file_sep|>current/packages/bl/blanks.yaml
<|file_sep|>updated/packages/bl/blanks.yaml
homepage: https://github.com/ejconlon/blanks#readme
changelog-type: ''
hash: 7c2c3c7f8752503226abc1125394cbc389e598240a87d31c72dbaa4163f955e5
test-bench-deps:
base: ! '>=4.12 && <5'
... | ac9ab14da211073581bd038d44d81b59cd9ddf83 | packages/bl/blanks.yaml | packages/bl/blanks.yaml | YAML |
<|file_sep|>original/README.md
override func viewDidLoad() {
super.viewDidLoad()
self.view.addSubview(box)
box.snp_makeConstraints { (make) -> Void in
make.width.height.equalTo(50)
make.center.equalTo(self.view)
}
}
}
```
## Resources
* [Document... | super.viewDidLoad()
self.view.addSubview(box)
box.snp_makeConstraints { (make) -> Void in
make.width.height.equalTo(50)
make.center.equalTo(self.view)
}
}
}
```
## Resources
* [Documentation](http://snapkit.io/docs/)
* [F.A.Q.](http://snapkit.io/faq/... | <|file_sep|>original/README.md
override func viewDidLoad() {
super.viewDidLoad()
self.view.addSubview(box)
box.snp_makeConstraints { (make) -> Void in
make.width.height.equalTo(50)
make.center.equalTo(self.view)
}
}
}
```
## Resources
* [Document... | ef3e52ef4e642ccf5e0948bed7d9c5f423bf022a | README.md | README.md | Markdown |
<|file_sep|>original/packages/bi/biscuit-servant.yaml
<|file_sep|>current/packages/bi/biscuit-servant.yaml
<|file_sep|>updated/packages/bi/biscuit-servant.yaml | homepage: https://github.com/divarvel/biscuit-haskell#readme
changelog-type: markdown
hash: dcc4771f75998dfc2e2c9e643ef7c967eb52f282c08bd0b46615d82ca06790bf
test-bench-deps:
warp: -any
http-client: -any
bytestring: -any
biscuit-haskell: -any
base: '>=4.7 && <5'
servant-client: -any
hspec: -any
text: -an... | <|file_sep|>original/packages/bi/biscuit-servant.yaml
<|file_sep|>current/packages/bi/biscuit-servant.yaml
<|file_sep|>updated/packages/bi/biscuit-servant.yaml
homepage: https://github.com/divarvel/biscuit-haskell#readme
changelog-type: markdown
hash: dcc4771f75998dfc2e2c9e643ef7c967eb52f282c08bd0b46615d82ca06790bf
t... | 926202b021c1dffd7a367ab6f6e91de786aadcf8 | packages/bi/biscuit-servant.yaml | packages/bi/biscuit-servant.yaml | YAML |
<|file_sep|>thunderbolt.go.diff
original:
account := loadAccount()
updated:
options := new(Options)
if _, err := flags.Parse(options); err != nil {
log.Fatal(err)
}
account := loadAccount(options)
<|file_sep|>original/thunderbolt.go
invokeInteractiveShell(account)
}
func loadAccount() *Account {
options := n... | }
account := loadAccount(options)
startUserStream(account)
invokeInteractiveShell(account)
}
func loadAccount(options *Options) *Account {
if len(options.ScreenName) > 0 {
return AccountByScreenName(options.ScreenName)
} else {
return DefaultAccount()
}
}
func invokeInteractiveShell(account *Account) {
... | <|file_sep|>thunderbolt.go.diff
original:
account := loadAccount()
updated:
options := new(Options)
if _, err := flags.Parse(options); err != nil {
log.Fatal(err)
}
account := loadAccount(options)
<|file_sep|>original/thunderbolt.go
invokeInteractiveShell(account)
}
func loadAccount() *Account {
options := n... | d0dcd885d0234d7a8bc7ded3eca8182c87aa1a51 | thunderbolt.go | thunderbolt.go | Go |
<|file_sep|>original/frontend/spree_frontend.gemspec
s.description = 'Required dependency for Spree'
s.required_ruby_version = '>= 1.9.3'
s.author = 'Sean Schofield'
s.email = 'sean@spreecommerce.com'
s.homepage = 'http://spreecommerce.com'
s.rubyforge_project = 'spree_frontend'
s.files ... | s.summary = 'Frontend e-commerce functionality for the Spree project.'
s.description = 'Required dependency for Spree'
s.required_ruby_version = '>= 1.9.3'
s.author = 'Sean Schofield'
s.email = 'sean@spreecommerce.com'
s.homepage = 'http://spreecommerce.com'
s.rubyforge_project = 'spree... | <|file_sep|>original/frontend/spree_frontend.gemspec
s.description = 'Required dependency for Spree'
s.required_ruby_version = '>= 1.9.3'
s.author = 'Sean Schofield'
s.email = 'sean@spreecommerce.com'
s.homepage = 'http://spreecommerce.com'
s.rubyforge_project = 'spree_frontend'
s.files ... | 284134ecd54fa7e1fab20e80aab15b53725e29b3 | frontend/spree_frontend.gemspec | frontend/spree_frontend.gemspec | Ruby |
<|file_sep|>src/templates/admin/index.html.diff
original:
updated:
<ul>
<|file_sep|>original/src/templates/admin/index.html
<head>
<title>Admin Dashboard - Etherpad lite</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<link rel="style... | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<link rel="stylesheet" href="../static/css/admin.css">
<script src="../static/js/jquery.js"></script>
<script src="../socket.io/socket.io.js"></script>
</head>
<body>
<div id="wrapper">
<... | <|file_sep|>src/templates/admin/index.html.diff
original:
updated:
<ul>
<|file_sep|>original/src/templates/admin/index.html
<head>
<title>Admin Dashboard - Etherpad lite</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<link rel="style... | 360d5c150be96f8532d15eada1a49392dd2c0dbb | src/templates/admin/index.html | src/templates/admin/index.html | HTML |
<|file_sep|>original/setup.py
'xdist = xdist.plugin',
'xdist.looponfail = xdist.looponfail',
'xdist.boxed = xdist.boxed',
],
},
zip_safe=False,
install_requires=['execnet>=1.1', 'pytest>=2.4.2', 'py>=1.4.22'],
setup_requires=['setuptools_scm'],
classifiers... | 'xdist = xdist.plugin',
'xdist.looponfail = xdist.looponfail',
'xdist.boxed = xdist.boxed',
],
},
zip_safe=False,
install_requires=['execnet>=1.1', 'pytest>=2.4.2', 'py>=1.4.22'],
setup_requires=['setuptools_scm'],
classifiers=[
'Development Status... | <|file_sep|>original/setup.py
'xdist = xdist.plugin',
'xdist.looponfail = xdist.looponfail',
'xdist.boxed = xdist.boxed',
],
},
zip_safe=False,
install_requires=['execnet>=1.1', 'pytest>=2.4.2', 'py>=1.4.22'],
setup_requires=['setuptools_scm'],
classifiers... | 8954f0d63dd45e9eec1a7f935870ac7c7d2d0bf2 | setup.py | setup.py | Python |
<|file_sep|>original/Domain/SystemClock.cs
{
public static readonly SystemClock Instance = new SystemClock();
private SystemClock()
{
}
/// <summary>
/// Gets the current time via <see cref="DateTimeOffset.Now" />.
/// </summary>
public DateTimeOffse... | {
public static readonly SystemClock Instance = new SystemClock();
private SystemClock()
{
}
/// <summary>
/// Gets the current time via <see cref="DateTimeOffset.Now" />.
/// </summary>
public DateTimeOffset Now()
{
return DateTi... | <|file_sep|>original/Domain/SystemClock.cs
{
public static readonly SystemClock Instance = new SystemClock();
private SystemClock()
{
}
/// <summary>
/// Gets the current time via <see cref="DateTimeOffset.Now" />.
/// </summary>
public DateTimeOffse... | b86def3325c228f62c28c4a337f0839e51ba1259 | Domain/SystemClock.cs | Domain/SystemClock.cs | C# |
<|file_sep|>Server/src/main/webapp/WEB-INF/faces-config.xml.diff
original:
<message-bundle>
validation_messages
updated:
<!--
<resource-bundle>
<base-name>org.gluu.oxauth.i18n.CustomMessageBundle</base-name>
<var>validation_messages</var>
</resource-bundle>
... | <resource-bundle>
<base-name>org.gluu.oxauth.i18n.CustomResourceBundle</base-name>
<var>msgs</var>
</resource-bundle>
<!--
<resource-bundle>
<base-name>org.gluu.oxauth.i18n.CustomMessageBundle</base-name>
<var>validation_messages</var>
</re... | <|file_sep|>Server/src/main/webapp/WEB-INF/faces-config.xml.diff
original:
<message-bundle>
validation_messages
updated:
<!--
<resource-bundle>
<base-name>org.gluu.oxauth.i18n.CustomMessageBundle</base-name>
<var>validation_messages</var>
</resource-bundle>
... | 180cc033a15dcaedf40be8107363b7f4086d1b66 | Server/src/main/webapp/WEB-INF/faces-config.xml | Server/src/main/webapp/WEB-INF/faces-config.xml | XML |
<|file_sep|>src/Labyrinth/Action.hs.diff
original:
l <- get
let pi = getP currentPlayer l
let p = getP (player pi) l
let pp = getP position p
let w = getP (wall pp dir) l
updated:
pi <- getS currentPlayer
pos <- getS (player pi ~> position)
w <- getS (wall pos dir)
<|file_sep|>original/s... | import Peeker
performMove :: Move -> State Labyrinth MoveResult
performMove (Move []) = return $ MoveRes []
performMove (Move (act:acts)) = do
ar <- performAction act
(MoveRes ars) <- performMove $ Move acts
return $ MoveRes $ ar:ars
performAction :: Action -> State Labyrinth ActionResult
performAction (G... | <|file_sep|>src/Labyrinth/Action.hs.diff
original:
l <- get
let pi = getP currentPlayer l
let p = getP (player pi) l
let pp = getP position p
let w = getP (wall pp dir) l
updated:
pi <- getS currentPlayer
pos <- getS (player pi ~> position)
w <- getS (wall pos dir)
<|file_sep|>original/s... | 1fc0064878686011ac4718299ea477606b7c9a19 | src/Labyrinth/Action.hs | src/Labyrinth/Action.hs | Haskell |
<|file_sep|>spam/ansiInventory.py.diff
original:
updated:
self.inventory = None
<|file_sep|>spam/ansiInventory.py.diff
original:
for group in self.inventory.groups:
updated:
if group:
groupobj = self.inventory.groups.get(group)
<|file_sep|>spam/ansiInventory.py.diff
original:
... | '''
hostlist = []
if group:
groupobj = self.inventory.groups.get(group)
groupdict = {}
groupdict['hostlist'] = []
for host in groupobj.get_hosts():
groupdict['hostlist'].append(host.name)
hostlist.append(groupdict)
... | <|file_sep|>spam/ansiInventory.py.diff
original:
updated:
self.inventory = None
<|file_sep|>spam/ansiInventory.py.diff
original:
for group in self.inventory.groups:
updated:
if group:
groupobj = self.inventory.groups.get(group)
<|file_sep|>spam/ansiInventory.py.diff
original:
... | 31a8d7377d46abef6eec6f7eb5b154f948c3388a | spam/ansiInventory.py | spam/ansiInventory.py | Python |
<|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/GrumpyCode/PolizziaHut)
<|file_sep|>original/README.md
### PolizziaHut is a Discord bot made using:
* Java: https://developers.redhat.com/products/openjdk/download/
* In... | [](https://travis-ci.org/GrumpyCode/PolizziaHut)
### PolizziaHut is a Discord bot made using:
* OpenJDK: https://developers.redhat.com/products/openjdk/download/
* IntelliJ IDEA Community: https://www.jetbrains.com/idea/
* Discord4J: https:/... | <|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/GrumpyCode/PolizziaHut)
<|file_sep|>original/README.md
### PolizziaHut is a Discord bot made using:
* Java: https://developers.redhat.com/products/openjdk/download/
* In... | d8d0c95bbc65bb818cf183270555f3feb24748a3 | README.md | README.md | Markdown |
<|file_sep|>libraries/WebSocket.elm.diff
original:
-- A library for low latency HTTP communication. See the HTTP library for
-- standard requests like GET, POST, etc.
updated:
<|file_sep|>libraries/WebSocket.elm.diff
original:
updated:
{-| A library for low latency HTTP communication. See the HTTP library for
standar... | module WebSocket where
{-| A library for low latency HTTP communication. See the HTTP library for
standard requests like GET, POST, etc.
-}
import Signal (Signal)
import Basics (String)
import Native.WebSocket
{-| Create a web-socket. The first argument is the URL of the desired
web-socket server. The input signal ho... | <|file_sep|>libraries/WebSocket.elm.diff
original:
-- A library for low latency HTTP communication. See the HTTP library for
-- standard requests like GET, POST, etc.
updated:
<|file_sep|>libraries/WebSocket.elm.diff
original:
updated:
{-| A library for low latency HTTP communication. See the HTTP library for
standar... | 5e9c9933d450c740b3deeb08b216ad0f6b442653 | libraries/WebSocket.elm | libraries/WebSocket.elm | Elm |
<|file_sep|>original/packages/gi/gi-cairo-again.yaml
<|file_sep|>current/packages/gi/gi-cairo-again.yaml
<|file_sep|>updated/packages/gi/gi-cairo-again.yaml | homepage: https://github.com/magicloud/gi-cairo#readme
changelog-type: text
hash: 1473c610d6c8d101db8f3dc55737fe340b9c6bcab2442421c412523a514ee656
test-bench-deps: {}
maintainer: magiclouds@gmail.com
synopsis: Bridge between packages gi-* and cairo-core.
changelog: "commit 76f9b0da62ba560bcb7dbc1b12f86e595d619d6f\nAuth... | <|file_sep|>original/packages/gi/gi-cairo-again.yaml
<|file_sep|>current/packages/gi/gi-cairo-again.yaml
<|file_sep|>updated/packages/gi/gi-cairo-again.yaml
homepage: https://github.com/magicloud/gi-cairo#readme
changelog-type: text
hash: 1473c610d6c8d101db8f3dc55737fe340b9c6bcab2442421c412523a514ee656
test-bench-dep... | ced9c4bb4fc73be93418ded411c716472d532bb7 | packages/gi/gi-cairo-again.yaml | packages/gi/gi-cairo-again.yaml | YAML |
<|file_sep|>original/public/assets/wee/build/tasks/legacy-convert.js
// Determine root value for unit conversion
if (rootSize.indexOf('%') !== -1) {
rootValue = (rootSize.replace('%', '') / 100) * 16;
} else if (rootSize.indexOf('px') !== -1) {
rootValue = rootSize.replace('px', '');
} else if (rootSize.... |
// Determine root value for unit conversion
if (rootSize.indexOf('%') !== -1) {
rootValue = (rootSize.replace('%', '') / 100) * 16;
} else if (rootSize.indexOf('px') !== -1) {
rootValue = rootSize.replace('px', '');
} else if (rootSize.indexOf('em') !== -1) {
rootValue = rootSize.replace('em', '');
... | <|file_sep|>original/public/assets/wee/build/tasks/legacy-convert.js
// Determine root value for unit conversion
if (rootSize.indexOf('%') !== -1) {
rootValue = (rootSize.replace('%', '') / 100) * 16;
} else if (rootSize.indexOf('px') !== -1) {
rootValue = rootSize.replace('px', '');
} else if (rootSize.... | 8b9af7220cc36962794a953525505bb57d8f426e | public/assets/wee/build/tasks/legacy-convert.js | public/assets/wee/build/tasks/legacy-convert.js | JavaScript |
<|file_sep|>composer.json.diff
original:
"minimum-stability": "stable",
updated:
<|file_sep|>original/composer.json
"name": "corex/support",
"type": "project",
"description": "Support classes and helpers.",
"license": "MIT",
"authors": [
{
"name": "CoRex",
"email... | "license": "MIT",
"authors": [
{
"name": "CoRex",
"email": "dev@corex.dk",
"homepage": "http://corex.dk",
"role": "Project Founder"
}
],
"require": {
"php": "^7.0"
},
"require-dev": {
"phpunit/phpunit": "^6.2"
},... | <|file_sep|>composer.json.diff
original:
"minimum-stability": "stable",
updated:
<|file_sep|>original/composer.json
"name": "corex/support",
"type": "project",
"description": "Support classes and helpers.",
"license": "MIT",
"authors": [
{
"name": "CoRex",
"email... | 72dfc8f32276a0b4d43a2058989a19feaad1e4c5 | composer.json | composer.json | JSON |
<|file_sep|>original/doc/feedback/feedback_sprint6.md
<|file_sep|>current/doc/feedback/feedback_sprint6.md
<|file_sep|>updated/doc/feedback/feedback_sprint6.md | # PL1 - Byzantine Generals
## Sprint
| Group | Sprint Management | | | | | |
|-------------------------------------|-------------------|-----------|----------------|-----------------------|----------------|---------... | <|file_sep|>original/doc/feedback/feedback_sprint6.md
<|file_sep|>current/doc/feedback/feedback_sprint6.md
<|file_sep|>updated/doc/feedback/feedback_sprint6.md
# PL1 - Byzantine Generals
## Sprint
| Group | Sprint Management | | | | ... | e3b5b5b3f1df37175766946447016a3a872ec51a | doc/feedback/feedback_sprint6.md | doc/feedback/feedback_sprint6.md | Markdown |
<|file_sep|>roles/scripts/tasks/main.yml.diff
original:
- name: Install custom script helpers
updated:
- name: Install custom script helpers
<|file_sep|>original/roles/scripts/tasks/main.yml
- name: Install custom script helpers
copy: src={{ item }} dest=/usr/local/bin/{{ item | basename }} mode=0755
with_fileglo... | - name: Install custom script helpers
copy: src={{ item }} dest=/usr/local/bin/{{ item | basename }} mode=0755
with_fileglob:
- ../files/* | <|file_sep|>roles/scripts/tasks/main.yml.diff
original:
- name: Install custom script helpers
updated:
- name: Install custom script helpers
<|file_sep|>original/roles/scripts/tasks/main.yml
- name: Install custom script helpers
copy: src={{ item }} dest=/usr/local/bin/{{ item | basename }} mode=0755
with_fileglo... | 58b151577bfbceb41fed5ba485cadd5ef28905be | roles/scripts/tasks/main.yml | roles/scripts/tasks/main.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- ant init-ivy
- ant jar
- ant -f src/main/integrator.xml strict
updated:
<|file_sep|>.travis.yml.diff
original:
- ant test integration-test
env:
- CLASSPATH=src/main/lib/ant.jar:src/main/lib/ant-apache-resolver.jar:src/main/lib/ant-launcher.jar:src/test/lib:src/test/r... | language: java
jdk:
- oraclejdk7
before_script:
- git submodule update --init --recursive
script:
- ./gradlew check integration-test
branches:
only:
- /^(develop|hotfix\/.*|feature\/.*)$/
notifications:
slack:
secure: IAA4d9O2Dw1hkpY9cwxJz++VMjkgbV3EuaS09DGFujvHl2eQtpKTloE0/CDF+NZA4tcbH1dNqsGw3ETLmrqA58... | <|file_sep|>.travis.yml.diff
original:
- ant init-ivy
- ant jar
- ant -f src/main/integrator.xml strict
updated:
<|file_sep|>.travis.yml.diff
original:
- ant test integration-test
env:
- CLASSPATH=src/main/lib/ant.jar:src/main/lib/ant-apache-resolver.jar:src/main/lib/ant-launcher.jar:src/test/lib:src/test/r... | 7ec4c7df0d00ce30ca161dff7477c2165d181bec | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/sal/textenc/convertisciidevangari.tab
#include "convertisciidevangari.hxx"
static ImplTextEncodingData const aImplIsciiDevanagariTextEncodingData
= { { NULL,
&ImplConvertIsciiDevanagariToUnicode,
&ImplConvertUnicodeToIsciiDevanagari,
&ImplCreateIsciiDevanagariToUn... | #include "convertisciidevangari.hxx"
static ImplTextEncodingData const aImplIsciiDevanagariTextEncodingData
= { { NULL,
&ImplConvertIsciiDevanagariToUnicode,
&ImplConvertUnicodeToIsciiDevanagari,
&ImplCreateIsciiDevanagariToUnicodeContext,
&ImplDestroyIsciiDevanagariToUnicod... | <|file_sep|>original/sal/textenc/convertisciidevangari.tab
#include "convertisciidevangari.hxx"
static ImplTextEncodingData const aImplIsciiDevanagariTextEncodingData
= { { NULL,
&ImplConvertIsciiDevanagariToUnicode,
&ImplConvertUnicodeToIsciiDevanagari,
&ImplCreateIsciiDevanagariToUn... | c8945b3fb850985794efcb8afbbdc2f5985d7088 | sal/textenc/convertisciidevangari.tab | sal/textenc/convertisciidevangari.tab | SQL |
<|file_sep|>original/src/main/java/pl/aetas/bakspad/presentation/LocaleAwareStringComparator.java
package pl.aetas.bakspad.presentation;
import java.text.Collator;
import java.util.Comparator;
import java.util.Locale;
public class LocaleAwareStringComparator implements Comparator<String> {
private final Collator... | import java.util.Locale;
public class LocaleAwareStringComparator implements Comparator<String> {
private final Collator localeCollator;
public LocaleAwareStringComparator(Locale locale) {
localeCollator = Collator.getInstance(locale);
}
@Override
public int compare(String o1, String o2)... | <|file_sep|>original/src/main/java/pl/aetas/bakspad/presentation/LocaleAwareStringComparator.java
package pl.aetas.bakspad.presentation;
import java.text.Collator;
import java.util.Comparator;
import java.util.Locale;
public class LocaleAwareStringComparator implements Comparator<String> {
private final Collator... | 4c56c3454350251e32f83e8475fc4dfbe666cba5 | src/main/java/pl/aetas/bakspad/presentation/LocaleAwareStringComparator.java | src/main/java/pl/aetas/bakspad/presentation/LocaleAwareStringComparator.java | Java |
<|file_sep|>original/.test-infra/jenkins/job_PostCommit_Python3_Verify.groovy
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the L... | * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import CommonJobProperties as commonJobProperties
import Postcomm... | <|file_sep|>original/.test-infra/jenkins/job_PostCommit_Python3_Verify.groovy
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the L... | ed86afaaae4532c52a85a30bd5ddccc68f55becb | .test-infra/jenkins/job_PostCommit_Python3_Verify.groovy | .test-infra/jenkins/job_PostCommit_Python3_Verify.groovy | Groovy |
<|file_sep|>original/.circleci/config.yml
version: 2.1
orbs:
haskell: haskell-works/haskell-build@1.6.0
github: haskell-works/github-release@1.2.1
hackage: haskell-works/hackage@1.0.0
workflows:
multiple-ghc-build:
jobs:
- haskell/build:
name: GHC 8.2.2
executor: haskell/ghc-8_2_... | version: 2.1
orbs:
haskell: haskell-works/haskell-build@1.6.2
github: haskell-works/github-release@1.2.1
hackage: haskell-works/hackage@1.0.0
workflows:
multiple-ghc-build:
jobs:
- haskell/build:
name: GHC 8.2.2
executor: haskell/ghc-8_2_2
- haskell/build:
name: ... | <|file_sep|>original/.circleci/config.yml
version: 2.1
orbs:
haskell: haskell-works/haskell-build@1.6.0
github: haskell-works/github-release@1.2.1
hackage: haskell-works/hackage@1.0.0
workflows:
multiple-ghc-build:
jobs:
- haskell/build:
name: GHC 8.2.2
executor: haskell/ghc-8_2_... | 04caa3c5858ffb3b70e2facb4dc498a74f79e06c | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/src/constants.py
#!/usr/bin/env python
TRAJECTORY = 'linear'
if TRAJECTORY == 'linear':
SIMULATION_TIME_IN_SECONDS = 80.0
elif TRAJECTORY == 'circular':
SIMULATION_TIME_IN_SECONDS = 120.0
elif TRAJECTORY == 'squared':
SIMULATION_TIME_IN_SECONDS = 160.0
DELTA_T = 0.1 # this is the samp... | #!/usr/bin/env python
TRAJECTORY = 'linear'
CONTROLLER = 'pid'
if TRAJECTORY == 'linear':
SIMULATION_TIME_IN_SECONDS = 80.0
elif TRAJECTORY == 'circular':
SIMULATION_TIME_IN_SECONDS = 120.0
elif TRAJECTORY == 'squared':
SIMULATION_TIME_IN_SECONDS = 160.0
DELTA_T = 0.1 # this is the sampling time
STEPS = i... | <|file_sep|>original/src/constants.py
#!/usr/bin/env python
TRAJECTORY = 'linear'
if TRAJECTORY == 'linear':
SIMULATION_TIME_IN_SECONDS = 80.0
elif TRAJECTORY == 'circular':
SIMULATION_TIME_IN_SECONDS = 120.0
elif TRAJECTORY == 'squared':
SIMULATION_TIME_IN_SECONDS = 160.0
DELTA_T = 0.1 # this is the samp... | 850e328f024d79623256a8b38ee0f054d4210ce5 | src/constants.py | src/constants.py | Python |
<|file_sep|>src/test/java/nl/tudelft/jpacman/integration/StartupSystemTest.java.diff
original:
updated:
/**
* An example test class that conducts integration tests.
*/
<|file_sep|>src/test/java/nl/tudelft/jpacman/integration/StartupSystemTest.java.diff
original:
updated:
/**
* Start a launcher, which can d... | }
/**
* Close the user interface.
*/
@AfterEach
public void after() {
launcher.dispose();
}
/**
* The simplest test that just starts the
* game and checks it is indeed in progress.
*/
@Test
public void gameIsRunning() {
launcher.launch();
... | <|file_sep|>src/test/java/nl/tudelft/jpacman/integration/StartupSystemTest.java.diff
original:
updated:
/**
* An example test class that conducts integration tests.
*/
<|file_sep|>src/test/java/nl/tudelft/jpacman/integration/StartupSystemTest.java.diff
original:
updated:
/**
* Start a launcher, which can d... | 621f3dc817a6bcd4162d6259b24864a38e50a3e7 | src/test/java/nl/tudelft/jpacman/integration/StartupSystemTest.java | src/test/java/nl/tudelft/jpacman/integration/StartupSystemTest.java | Java |
<|file_sep|>original/requirements.txt
itsdangerous==2.0.1
Jinja2>=2.10.1
MarkupSafe==2.0.1
numpy==1.21.2
python-dateutil==2.8.2
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.7.0
six==1.16.0
tornado==6.1
urllib3>=1.24.2
cachelib==0.3.0
pandas==1.3.2
scipy==1.7.1
astropy==4.3.1
matplotlib==3.4.2
git+https://github.com... | itsdangerous==2.0.1
Jinja2>=2.10.1
MarkupSafe==2.0.1
numpy==1.21.2
python-dateutil==2.8.2
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.7.0
six==1.16.0
tornado==6.1
urllib3>=1.24.2
cachelib==0.3.0
pandas==1.3.2
scipy==1.7.1
astropy==4.3.1
matplotlib==3.4.3
git+https://github.com/mpld3/mpld3@master
tables==3.6.1
apsc... | <|file_sep|>original/requirements.txt
itsdangerous==2.0.1
Jinja2>=2.10.1
MarkupSafe==2.0.1
numpy==1.21.2
python-dateutil==2.8.2
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.7.0
six==1.16.0
tornado==6.1
urllib3>=1.24.2
cachelib==0.3.0
pandas==1.3.2
scipy==1.7.1
astropy==4.3.1
matplotlib==3.4.2
git+https://github.com... | 7c4d8156a5fb83d19b1cb1733ba5c1b7766d8cc8 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- ree
- 1.9.3
- 2.5.1
notifications:
email: false
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- ree
- 1.9.3
- 2.5.1
notifications:
email: false
<|file_sep|>updated/.travis.yml | sudo: false
language: ruby
rvm:
- ree
- 1.9.3
- 2.5.1
notifications:
email: false
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2' | <|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- ree
- 1.9.3
- 2.5.1
notifications:
email: false
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- ree
- 1.9.3
- 2.5.1
notifications:
email: false
<|file_sep|>updated/.travis.yml
sudo: false
language: ruby
rvm:
- ree
-... | 45a48898129c0e487d4ba2230d97fffc1e94e078 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/includes/DataModule.php
class DataModule extends ResourceLoaderModule {
protected $origin = self::ORIGIN_USER_SITEWIDE;
protected $targets = array( 'desktop', 'mobile' );
public function getScript( ResourceLoaderContext $context ) {
$config = $context->getResourceLoader()->getConfig();
re... | 'wgKartographerMapServer' => $config->get( 'KartographerMapServer' ),
'wgKartographerIconServer' => $config->get( 'KartographerIconServer' ),
'wgKartographerSrcsetScales' => $config->get( 'KartographerSrcsetScales' ),
'wgKartographerStyles' => $config->get( 'KartographerStyles' ),
'wgKartographerDfltStyl... | <|file_sep|>original/includes/DataModule.php
class DataModule extends ResourceLoaderModule {
protected $origin = self::ORIGIN_USER_SITEWIDE;
protected $targets = array( 'desktop', 'mobile' );
public function getScript( ResourceLoaderContext $context ) {
$config = $context->getResourceLoader()->getConfig();
re... | 8ee4fcc8525091a38ffcfed316d10a76d6935245 | includes/DataModule.php | includes/DataModule.php | PHP |
<|file_sep|>original/keystone_performance/auth_validate_multiple_endpoints/locustfile.py
<|file_sep|>current/keystone_performance/auth_validate_multiple_endpoints/locustfile.py
<|file_sep|>updated/keystone_performance/auth_validate_multiple_endpoints/locustfile.py | from time import sleep
import locust
import json
class Authenticate(locust.TaskSet):
@locust.task
def authenticate(self):
# Set header information and path
headers = {'content-type': 'application/json'}
path = '/v3/auth/tokens'
# Build authentication request with an existing ... | <|file_sep|>original/keystone_performance/auth_validate_multiple_endpoints/locustfile.py
<|file_sep|>current/keystone_performance/auth_validate_multiple_endpoints/locustfile.py
<|file_sep|>updated/keystone_performance/auth_validate_multiple_endpoints/locustfile.py
from time import sleep
import locust
import json
c... | 67097201c27f0951c44be9a6b6956a5b7ac4aa5c | keystone_performance/auth_validate_multiple_endpoints/locustfile.py | keystone_performance/auth_validate_multiple_endpoints/locustfile.py | Python |
<|file_sep|>original/config/webpack-dev-server.config.js
use: [
'style-loader',
'css-loader?importLoaders=1&minimize=true',
'postcss-loader'
]
},
{
test: /\.(gif|png|jpe?g|svg)(\?.+)?$/,
... | 'postcss-loader'
]
},
{
test: /\.(gif|png|jpe?g|svg)(\?.+)?$/,
use: ['url-loader']
},
{
test: /\.(eot|ttf|woff|woff2)(\?.+)?$/,
use: ['url-loader']
}
]
... | <|file_sep|>original/config/webpack-dev-server.config.js
use: [
'style-loader',
'css-loader?importLoaders=1&minimize=true',
'postcss-loader'
]
},
{
test: /\.(gif|png|jpe?g|svg)(\?.+)?$/,
... | 76c08bcda29127a7e06c41c979854930217d36af | config/webpack-dev-server.config.js | config/webpack-dev-server.config.js | JavaScript |
<|file_sep|>install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php.diff
original:
set_include_path(implode(PATH_SEPARATOR, array(
get_include_path(),
realpath(APPLICATION_PATH . '/../library/propel/runtime/lib')
)));
updated:
<|file_sep|>original/install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgr... |
// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
get_include_path(),
realpath(APPLICATION_PATH . '/../library')
)));
//Propel classes.
set_include_path(APPLICATION_PATH . '/models' . PATH_SEPARATOR . get_include_path());
require_once 'CcMusicDirsQuery.php';
class Storage... | <|file_sep|>install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php.diff
original:
set_include_path(implode(PATH_SEPARATOR, array(
get_include_path(),
realpath(APPLICATION_PATH . '/../library/propel/runtime/lib')
)));
updated:
<|file_sep|>original/install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgr... | 6cd1ebb5eae3d2167e3048e89d9089a983113d12 | install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php | install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.