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/build-test.yml
env:
CI: true
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
jobs:
run:
runs-on: "ubuntu-latest"
strategy:
matrix:
node-version: ["10.x", "12.x", "13.x"]
steps:
- uses: "actions/checkout@v1"
- name: "Use Node.js ${{ mat... | env:
CI: true
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
jobs:
run:
runs-on: "ubuntu-latest"
strategy:
matrix:
# LTS & Current
node-version: ["12.x", "14.x"]
steps:
- uses: "actions/checkout@v1"
- name: "Use Node.js ${{ matrix.node-version }}"
uses: "ac... | <|file_sep|>original/.github/workflows/build-test.yml
env:
CI: true
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
jobs:
run:
runs-on: "ubuntu-latest"
strategy:
matrix:
node-version: ["10.x", "12.x", "13.x"]
steps:
- uses: "actions/checkout@v1"
- name: "Use Node.js ${{ mat... | 86de0b482d864f410cfe6eb1ed3c795ab0d1d7c1 | .github/workflows/build-test.yml | .github/workflows/build-test.yml | YAML |
<|file_sep|>README.md.diff
original:

updated:

<|file_sep|>README.md.diff
original:
Check out our [guides and API documentation](https://www.atom.io/docs/latest/)
up... | # Atom — The hackable, ~~collaborative~~ editor of tomorrow!

Check out our [guides and API documentation](https://www.atom.io/docs/latest/).
## Installing
Download the latest [Atom release](https://github.com/atom/atom/releases/latest).
... | <|file_sep|>README.md.diff
original:

updated:

<|file_sep|>README.md.diff
original:
Check out our [guides and API documentation](https://www.atom.io/docs/latest/)
up... | cececc2297cd40175fe461c99b6ca5518814e158 | README.md | README.md | Markdown |
<|file_sep|>original/examples/Time/CosaSince/CosaSince.ino
<|file_sep|>current/examples/Time/CosaSince/CosaSince.ino
<|file_sep|>updated/examples/Time/CosaSince/CosaSince.ino | /**
* @file CosaSince.ino
* @version 1.0
*
* @section License
* Copyright (C) 2015, Mikael Patel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Li... | <|file_sep|>original/examples/Time/CosaSince/CosaSince.ino
<|file_sep|>current/examples/Time/CosaSince/CosaSince.ino
<|file_sep|>updated/examples/Time/CosaSince/CosaSince.ino
/**
* @file CosaSince.ino
* @version 1.0
*
* @section License
* Copyright (C) 2015, Mikael Patel
*
* This library is free software; you ... | b67382758740b149603d25df774c1699e8859ebb | examples/Time/CosaSince/CosaSince.ino | examples/Time/CosaSince/CosaSince.ino | Arduino |
<|file_sep|>.travis.yml.diff
original:
- "0.12"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
- "4"
- "5"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
env:
- CXX=g++-4.8
script: npm test
<|file_sep|>current/.travis.yml
lan... | language: node_js
node_js:
- "4"
- "5"
- "6"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
env:
- CXX=g++-4.8
script: npm test | <|file_sep|>.travis.yml.diff
original:
- "0.12"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
- "4"
- "5"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
env:
- CXX=g++-4.8
script: npm test
<|file_sep|>current/.travis.yml
lan... | 5fe7ecf520d0c2c0a22c17add158f2cae159f506 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docker-compose.yaml
version: '2'
services:
hhvm:
container_name: app-hhvm
image: hhvm/hhvm:3.15.2
entrypoint: hhvm -m server -c /etc/hhvm/server.ini
volumes:
- ./config/app.local.ini:/etc/hhvm/server.ini
- ./app:/var/www/app
- ./deps:/var/www/deps
- ./app/m... | version: '2'
services:
hhvm:
container_name: app-hhvm
image: hhvm/hhvm:3.15.2
entrypoint: hhvm -m server -c /etc/hhvm/server.ini
volumes:
- ./config/app.ini:/etc/hhvm/server.ini
- ./app:/var/www/app
- ./deps:/var/www/deps
- ./app/main.php:/var/www/document_root/main.php
-... | <|file_sep|>original/docker-compose.yaml
version: '2'
services:
hhvm:
container_name: app-hhvm
image: hhvm/hhvm:3.15.2
entrypoint: hhvm -m server -c /etc/hhvm/server.ini
volumes:
- ./config/app.local.ini:/etc/hhvm/server.ini
- ./app:/var/www/app
- ./deps:/var/www/deps
- ./app/m... | 8da3642c71fcecb7188d6c20a0210670168c9f3b | docker-compose.yaml | docker-compose.yaml | YAML |
<|file_sep|>original/config/config_roi_4.00_binsz_0.025.yaml
binning:
# Binning
roiwidth : 4.0
npix : null
binsz : 0.025 # spatial bin size in deg
binsperdec : 8 # nb energy bins per decade
coordsys : 'GAL'
<|file_sep|>current/config/config_roi_4.00_binsz_0.025.yaml
binning:
# Binn... |
binning:
# Binning
roiwidth : 4.0
npix : null
binsz : 0.025 # spatial bin size in deg
binsperdec : 8 # nb energy bins per decade
coordsys : 'GAL'
tsmap:
max_kernel_radius : 1.0 | <|file_sep|>original/config/config_roi_4.00_binsz_0.025.yaml
binning:
# Binning
roiwidth : 4.0
npix : null
binsz : 0.025 # spatial bin size in deg
binsperdec : 8 # nb energy bins per decade
coordsys : 'GAL'
<|file_sep|>current/config/config_roi_4.00_binsz_0.025.yaml
binning:
# Binn... | 2d5509a9977e913812350ac53b377092bf060aa1 | config/config_roi_4.00_binsz_0.025.yaml | config/config_roi_4.00_binsz_0.025.yaml | YAML |
<|file_sep|>original/testrunner.py
<|file_sep|>current/testrunner.py
<|file_sep|>updated/testrunner.py |
def run_tests(name, globals_dict):
import sys
RED = '\033[91m'
BOLD = '\033[1m'
END = '\033[0m'
print (BOLD + 'Running tests for ' + name + ' ...' + END)
tests = [globals_dict.get(fn) for fn in globals_dict if fn.startswith('test_')]
for each in tests:
if callable(each):
... | <|file_sep|>original/testrunner.py
<|file_sep|>current/testrunner.py
<|file_sep|>updated/testrunner.py
def run_tests(name, globals_dict):
import sys
RED = '\033[91m'
BOLD = '\033[1m'
END = '\033[0m'
print (BOLD + 'Running tests for ' + name + ' ...' + END)
tests = [globals_dict.get(fn) for fn... | 40adfc3aa00fddd55d138d5af8fd77e2347879c1 | testrunner.py | testrunner.py | Python |
<|file_sep|>CMakeLists.txt.diff
original:
updated:
set(dialect "-std=c++11")
<|file_sep|>CMakeLists.txt.diff
original:
updated:
set(dialect "")
<|file_sep|>original/CMakeLists.txt
project(hasm)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set(warnings "-Wa... | project(hasm)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set(warnings "-Wall -Wextra")
set(dialect "-std=c++11")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
set(warnings "/W4 /WX")
set(dialect "")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS... | <|file_sep|>CMakeLists.txt.diff
original:
updated:
set(dialect "-std=c++11")
<|file_sep|>CMakeLists.txt.diff
original:
updated:
set(dialect "")
<|file_sep|>original/CMakeLists.txt
project(hasm)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set(warnings "-Wa... | 588a2145777e36c75943eed57907dc05ef2989dc | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/.travis.yml
sudo: false
language: rust
rust:
- nightly
script:
- cargo build --verbose
- cargo test --verbose
<|file_sep|>current/.travis.yml
sudo: false
language: rust
rust:
- nightly
script:
- cargo build --verbose
- cargo test --verbose
<|file_sep|>updated/.travis.yml | sudo: false
language: rust
rust:
- stable
- beta
- nightly
script:
- cargo build --verbose
- cargo test --verbose | <|file_sep|>original/.travis.yml
sudo: false
language: rust
rust:
- nightly
script:
- cargo build --verbose
- cargo test --verbose
<|file_sep|>current/.travis.yml
sudo: false
language: rust
rust:
- nightly
script:
- cargo build --verbose
- cargo test --verbose
<|file_sep|>updated/.travis.yml
sudo: fal... | 8a291c80f0152a8e9c2b51626bf20a471adc54ad | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/jslint/README.md
# VS Code JSLint extension
Integrates [JSLint](http://jslint.com/) into VS Code.
## Disable JSLint
In order to disable JSLint for a workspace specify `"jslint.enable" : false` in the workspace settings. JSLint is enabled by default.
<|file_sep|>current/jslint/README.md
# VS Code... | # VS Code JSLint extension
Integrates [JSLint](http://jslint.com/) into VS Code.
## Disable JSLint
In order to disable JSLint for a workspace, specify `"jslint.enable": false` in the workspace settings. JSLint is enabled by default.
## JSLint Version
The VS Code JSLint extension looks for a local or global npm ins... | <|file_sep|>original/jslint/README.md
# VS Code JSLint extension
Integrates [JSLint](http://jslint.com/) into VS Code.
## Disable JSLint
In order to disable JSLint for a workspace specify `"jslint.enable" : false` in the workspace settings. JSLint is enabled by default.
<|file_sep|>current/jslint/README.md
# VS Code... | 8d58c2c3c9d9a8677d964dce126733048ef0ab70 | jslint/README.md | jslint/README.md | Markdown |
<|file_sep|>original/tools/json2csv.py
<|file_sep|>current/tools/json2csv.py
<|file_sep|>updated/tools/json2csv.py | #!/usr/bin/env python
from pathlib import Path
from collections import defaultdict
import json
import numpy as np
import pandas as pd
def get_parser():
"""Build parser object"""
from argparse import ArgumentParser
from argparse import RawTextHelpFormatter
parser = ArgumentParser(description='MRIQ... | <|file_sep|>original/tools/json2csv.py
<|file_sep|>current/tools/json2csv.py
<|file_sep|>updated/tools/json2csv.py
#!/usr/bin/env python
from pathlib import Path
from collections import defaultdict
import json
import numpy as np
import pandas as pd
def get_parser():
"""Build parser object"""
from argparse i... | 90d4128a13029ca56901e901d381d6fadfd376f5 | tools/json2csv.py | tools/json2csv.py | Python |
<|file_sep|>original/pkg_add.sh
<|file_sep|>current/pkg_add.sh
<|file_sep|>updated/pkg_add.sh | #!/bin/sh
PKG_FILE="packages.v2.tsv"
LINE="$1\t$2\t$3\t$4\t$5\t$6\n"
COMMIT="Add package $1 to the index"
printf "$LINE" >> $PKG_FILE
sort $PKG_FILE -o $PKG_FILE
make
git commit -m "$COMMIT" packages.* | <|file_sep|>original/pkg_add.sh
<|file_sep|>current/pkg_add.sh
<|file_sep|>updated/pkg_add.sh
#!/bin/sh
PKG_FILE="packages.v2.tsv"
LINE="$1\t$2\t$3\t$4\t$5\t$6\n"
COMMIT="Add package $1 to the index"
printf "$LINE" >> $PKG_FILE
sort $PKG_FILE -o $PKG_FILE
make
git commit -m "$COMMIT" packages.* | 01e4b42fbc2adff20e0f1922d4e5447c7a02c554 | pkg_add.sh | pkg_add.sh | Shell |
<|file_sep|>core/core.c.diff
original:
PyMODINIT_FUNC PyInit_ids(void)
updated:
PyMODINIT_FUNC PyInit_core(void)
<|file_sep|>core/core.c.diff
original:
PyMODINIT_FUNC initids(void)
updated:
PyMODINIT_FUNC initcore(void)
<|file_sep|>core/core.c.diff
original:
(void) Py_InitModule("ids", idsMethods);
updated:
(vo... | {
#if PY_MAJOR_VERSION >= 3
wchar_t name[128];
mbstowcs(name, argv[0], 128);
#else
char name[128];
strncpy(name, argv[0], 128);
#endif
/* Pass argv[0] to the Pythin interpreter */
Py_SetProgramName(name);
/* Initialize the Python interpreter */
Py_Initialize();
/* Add a static ... | <|file_sep|>core/core.c.diff
original:
PyMODINIT_FUNC PyInit_ids(void)
updated:
PyMODINIT_FUNC PyInit_core(void)
<|file_sep|>core/core.c.diff
original:
PyMODINIT_FUNC initids(void)
updated:
PyMODINIT_FUNC initcore(void)
<|file_sep|>core/core.c.diff
original:
(void) Py_InitModule("ids", idsMethods);
updated:
(vo... | 58891e06f5ecae32726cd126ca5e66f5f9e33485 | core/core.c | core/core.c | C |
<|file_sep|>original/ansible/group_vars/production/vars.yml
---
postgresql_shared_buffers: 2GB
db_host: db.radar.nhs.uk
db_password: '{{ vault_db_password }}'
db_api_address: 10.38.181.70/32 # nww.radar.nhs.uk
web_base_url: 'https://nww.radar.nhs.uk/#'
api_live: true
api_read_only: true
<|file_sep|>current/ansible/grou... | ---
postgresql_shared_buffers: 2GB
db_host: db.radar.nhs.uk
db_password: '{{ vault_db_password }}'
db_api_address: 10.38.181.70/32 # nww.radar.nhs.uk
web_base_url: 'https://nww.radar.nhs.uk/#'
api_live: true | <|file_sep|>original/ansible/group_vars/production/vars.yml
---
postgresql_shared_buffers: 2GB
db_host: db.radar.nhs.uk
db_password: '{{ vault_db_password }}'
db_api_address: 10.38.181.70/32 # nww.radar.nhs.uk
web_base_url: 'https://nww.radar.nhs.uk/#'
api_live: true
api_read_only: true
<|file_sep|>current/ansible/grou... | bb0a10c5dd61a2ce5251d57a60a34341c662e9aa | ansible/group_vars/production/vars.yml | ansible/group_vars/production/vars.yml | YAML |
<|file_sep|>style/README.md.diff
original:
body { // Before
updated:
body { /* Before */
<|file_sep|>style/README.md.diff
original:
body //After
updated:
body /* After */
<|file_sep|>style/README.md.diff
original:
body { // Before
updated:
body { /* Before */
<|file_sep|>original/style/README.md
```
#### CSS Grid
```... | ```
#### CSS Grid
```CSS
body { /* Before */
grid-template-areas: 'foo bar'
}
body { /* After */
-ms-grid-template-areas: 'foo bar';
grid-template-areas: 'foo bar'
}
```
### Snuggsi Style Sheets
```bash
$ bin/style index.sss
``` | <|file_sep|>style/README.md.diff
original:
body { // Before
updated:
body { /* Before */
<|file_sep|>style/README.md.diff
original:
body //After
updated:
body /* After */
<|file_sep|>style/README.md.diff
original:
body { // Before
updated:
body { /* Before */
<|file_sep|>original/style/README.md
```
#### CSS Grid
```... | 4e102b6a7fe8d3987e5629cc8b8f4a704b9c6306 | style/README.md | style/README.md | Markdown |
<|file_sep|>original/packages/tr/traversal-template.yaml
<|file_sep|>current/packages/tr/traversal-template.yaml
<|file_sep|>updated/packages/tr/traversal-template.yaml | homepage: https://github.com/strake/traversal-template.hs
changelog-type: markdown
hash: 1b675c27aa5f347c726d5ed58ca0da6284e6d7dfc34fe348aaad9e86c0871ab1
test-bench-deps:
base: ! '>=4.12 && <4.14'
gauge: -any
util: ! '>=0.1.6 && <0.2'
traversal-template: -any
template-haskell: ==2.15.*
maintainer: strake888@g... | <|file_sep|>original/packages/tr/traversal-template.yaml
<|file_sep|>current/packages/tr/traversal-template.yaml
<|file_sep|>updated/packages/tr/traversal-template.yaml
homepage: https://github.com/strake/traversal-template.hs
changelog-type: markdown
hash: 1b675c27aa5f347c726d5ed58ca0da6284e6d7dfc34fe348aaad9e86c087... | 0da14ae14823316513d1c8b86293c175e0118b05 | packages/tr/traversal-template.yaml | packages/tr/traversal-template.yaml | YAML |
<|file_sep|>original/client/app/presentationals/components/print-view/PrintView.jsx
}
render() {
const state = jasperState; // TODO: only until rein parser works
let elements;
// if (state.entities.decks.byId.id && state.entities.decks.byId.id.slides) {
// elements = convertToPrint(state, this.pr... | }
render() {
const state = jasperState; // TODO: only until rein parser works
let elements;
// if (state.entities.decks.byId.id && state.entities.decks.byId.id.slides) {
// elements = convertToPrint(state, this.props.id);
// }
elements = convertToPrint(state, this.props.id);
return (
... | <|file_sep|>original/client/app/presentationals/components/print-view/PrintView.jsx
}
render() {
const state = jasperState; // TODO: only until rein parser works
let elements;
// if (state.entities.decks.byId.id && state.entities.decks.byId.id.slides) {
// elements = convertToPrint(state, this.pr... | ef4648f81be5bae5dcfc7c138119de3d55d36ac0 | client/app/presentationals/components/print-view/PrintView.jsx | client/app/presentationals/components/print-view/PrintView.jsx | JSX |
<|file_sep|>.github/workflows/ci.yml.diff
original:
- name: Build
run: swift build
updated:
<|file_sep|>original/.github/workflows/ci.yml
name: Swift
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
... | name: Swift
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
xcodebuild -project UIFontComplete.xcodeproj -target UIFontComplete-iOS -sdk i... | <|file_sep|>.github/workflows/ci.yml.diff
original:
- name: Build
run: swift build
updated:
<|file_sep|>original/.github/workflows/ci.yml
name: Swift
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
... | bd31728db7ca7a72c0132bad61744cdcafde418b | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/internals/testing/karma.conf.js
preprocessors: {
['./test-bundler.js']: ['webpack', 'sourcemap'], // eslint-disable-line no-useless-computed-key
},
webpack: webpackConfig,
// make Webpack bundle generation quiet
webpackMiddleware: {
noInfo: true,
},
custo... |
preprocessors: {
['./test-bundler.js']: ['webpack', 'sourcemap'], // eslint-disable-line no-useless-computed-key
},
webpack: webpackConfig,
// make Webpack bundle generation quiet
webpackMiddleware: {
noInfo: true,
stats: 'errors-only',
},
customLaunchers: {
Chrom... | <|file_sep|>original/internals/testing/karma.conf.js
preprocessors: {
['./test-bundler.js']: ['webpack', 'sourcemap'], // eslint-disable-line no-useless-computed-key
},
webpack: webpackConfig,
// make Webpack bundle generation quiet
webpackMiddleware: {
noInfo: true,
},
custo... | 97e6af605a1b7b4652a9ad8974ce5244d793b353 | internals/testing/karma.conf.js | internals/testing/karma.conf.js | JavaScript |
<|file_sep|>original/readme.md
# Nanowire Plugin Interface
This is the Python library for receiving data in a Nanowire pipeline. This library provides a wrapper around the nanowire controller API. It allows the user to easily create new plugins. NOTE: It is recommended to start by using the [Nanowire Python Plugin Ske... | # Nanowire Plugin Interface
[](https://travis-ci.org/SpotlightData/nanowire-plugin-py)
This is the Python library for receiving data in a Nanowire pipeline. This library provides a wrapper around the nanowire controller API. It a... | <|file_sep|>original/readme.md
# Nanowire Plugin Interface
This is the Python library for receiving data in a Nanowire pipeline. This library provides a wrapper around the nanowire controller API. It allows the user to easily create new plugins. NOTE: It is recommended to start by using the [Nanowire Python Plugin Ske... | 0d9820efa012203710aa12af599b15dee5c0543c | readme.md | readme.md | Markdown |
<|file_sep|>original/app/presenters/money_question_presenter.rb
class MoneyQuestionPresenter < QuestionPresenter
include SmartAnswer::FormattingHelper
def response_label(value)
format_money(SmartAnswer::Money.new(value))
end
def hint_text
text = [body, suffix_label].reject(&:blank?).compact.join(", ")... | class MoneyQuestionPresenter < QuestionPresenter
include SmartAnswer::FormattingHelper
def response_label(value)
format_money(SmartAnswer::Money.new(value))
end
def hint_text
text = [body, hint, suffix_label].reject(&:blank?).compact.join(", ")
ActionView::Base.full_sanitizer.sanitize(text)
end
... | <|file_sep|>original/app/presenters/money_question_presenter.rb
class MoneyQuestionPresenter < QuestionPresenter
include SmartAnswer::FormattingHelper
def response_label(value)
format_money(SmartAnswer::Money.new(value))
end
def hint_text
text = [body, suffix_label].reject(&:blank?).compact.join(", ")... | 2bcbb7811c55904a1aa73bbfc1b0cf7e29ac0fea | app/presenters/money_question_presenter.rb | app/presenters/money_question_presenter.rb | Ruby |
<|file_sep|>app/assets/javascripts/sprangular/directives/checkoutButton.coffee.diff
original:
$scope.allowOneClick = false
updated:
<|file_sep|>app/assets/javascripts/sprangular/directives/checkoutButton.coffee.diff
original:
$scope.$watch 'user', (user) ->
$scope.allowOneClick = user.allowOneClick
... | 'use strict'
Sprangular.directive 'checkoutButton', ->
restrict: 'E'
scope:
user: '='
templateUrl: 'directives/checkout_button.html'
controller: ($scope, $location, Cart, Checkout) ->
$scope.processing = false
$scope.checkout = ->
$scope.processing = true
$location.path("/checkout") | <|file_sep|>app/assets/javascripts/sprangular/directives/checkoutButton.coffee.diff
original:
$scope.allowOneClick = false
updated:
<|file_sep|>app/assets/javascripts/sprangular/directives/checkoutButton.coffee.diff
original:
$scope.$watch 'user', (user) ->
$scope.allowOneClick = user.allowOneClick
... | fb659301965d99291c40b7531f0460e005b87ead | app/assets/javascripts/sprangular/directives/checkoutButton.coffee | app/assets/javascripts/sprangular/directives/checkoutButton.coffee | CoffeeScript |
<|file_sep|>original/src/news/__tests__/ArticlePreview-test.js
import React from 'react';
import { expect } from 'chai';
import { shallow } from 'enzyme';
import ArticlePreview from '../ArticlePreview';
describe('ArticlePreview', () => {
it('should render ArticlePreview component properly', () => {
const w... | import React from 'react';
import { expect } from 'chai';
import { shallow } from 'enzyme';
import ArticlePreview from '../ArticlePreview';
describe('ArticlePreview', () => {
it('should render ArticlePreview component properly', () => {
const wrapper = shallow(<ArticlePreview description="Article Descripti... | <|file_sep|>original/src/news/__tests__/ArticlePreview-test.js
import React from 'react';
import { expect } from 'chai';
import { shallow } from 'enzyme';
import ArticlePreview from '../ArticlePreview';
describe('ArticlePreview', () => {
it('should render ArticlePreview component properly', () => {
const w... | a1aca964cc495ddde6401be94cb231810b53598d | src/news/__tests__/ArticlePreview-test.js | src/news/__tests__/ArticlePreview-test.js | JavaScript |
<|file_sep|>roles/react/tasks/main.yml.diff
original:
- name: Change node version to v4
updated:
- name: Change node version to v6
<|file_sep|>original/roles/react/tasks/main.yml
---
- name: Change node version to v4
shell: |
nvm install --lts=Argon
nvm use lts/Argon
- name: Install react-native
npm:
n... | ---
- name: Change node version to v6
shell: |
nvm install --lts=boron
nvm use lts/boron
- name: Install react-native
npm:
name: create-react-native-app
global: yes | <|file_sep|>roles/react/tasks/main.yml.diff
original:
- name: Change node version to v4
updated:
- name: Change node version to v6
<|file_sep|>original/roles/react/tasks/main.yml
---
- name: Change node version to v4
shell: |
nvm install --lts=Argon
nvm use lts/Argon
- name: Install react-native
npm:
n... | 41cf430410c4aa3bc909579a796df32ae3403d99 | roles/react/tasks/main.yml | roles/react/tasks/main.yml | YAML |
<|file_sep|>original/setup.py
'accessing the CKAN Action API',
license='MIT',
author='Ian Ward',
author_email='ian@excess.org',
url='https://github.com/ckan/ckanapi',
packages=[
'ckanapi',
'ckanapi.tests',
'ckanapi.tests.mock',
'ckanapi.cli',
],
te... | license='MIT',
author='Ian Ward',
author_email='ian@excess.org',
url='https://github.com/ckan/ckanapi',
packages=[
'ckanapi',
'ckanapi.tests',
'ckanapi.tests.mock',
'ckanapi.cli',
],
install_requires=[
'setuptools',
'docopt',
'reque... | <|file_sep|>original/setup.py
'accessing the CKAN Action API',
license='MIT',
author='Ian Ward',
author_email='ian@excess.org',
url='https://github.com/ckan/ckanapi',
packages=[
'ckanapi',
'ckanapi.tests',
'ckanapi.tests.mock',
'ckanapi.cli',
],
te... | 44fd612067f7cac357db76ec21a6e03403f84015 | setup.py | setup.py | Python |
<|file_sep|>.travis.yml.diff
original:
updated:
before_script:
- cd Discord
<|file_sep|>.travis.yml.diff
original:
- cd Discord
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
before_script:
- cd Telegram
<|file_sep|>.travis.yml.diff
original:
- cd Telegram
update... | python: 3.7
# Workaround for Python 3.7
# https://github.com/travis-ci/travis-ci/issues/9815
dist: xenial
sudo: true
cache:
pip: true
before_script:
- cd Telegram
script:
- python Telegram_Harmonbot.py
- name: Discord Listener
language: g... | <|file_sep|>.travis.yml.diff
original:
updated:
before_script:
- cd Discord
<|file_sep|>.travis.yml.diff
original:
- cd Discord
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
before_script:
- cd Telegram
<|file_sep|>.travis.yml.diff
original:
- cd Telegram
update... | e00d0eded9ef7c11e55e130146f9c85a95b0aa1e | .travis.yml | .travis.yml | YAML |
<|file_sep|>myuw/templates/handlebars/card/accounts/tuition_resources.html.diff
original:
updated:
{{#if is_pce}}
<li><a href="http://www.degreereg.uw.edu/payment-procedures" target="_blank">How to pay PCE</a></li>
{{/if}}
<|file_sep|>myuw/templates/handlebars/card/accounts/tuition_resources.ht... | {% verbatim %}
<div class="links-container">
<h4 class="myuw-card-heading">Related</h4>
<ul class="unstyled-list">
{{#if is_pce}}
<li><a href="http://www.degreereg.uw.edu/payment-procedures" target="_blank">How to pay PCE</a></li>
{{/if}}
<li><a {{#if is_tacoma}}href="http://www.... | <|file_sep|>myuw/templates/handlebars/card/accounts/tuition_resources.html.diff
original:
updated:
{{#if is_pce}}
<li><a href="http://www.degreereg.uw.edu/payment-procedures" target="_blank">How to pay PCE</a></li>
{{/if}}
<|file_sep|>myuw/templates/handlebars/card/accounts/tuition_resources.ht... | b91c95689928b38c8a9cefd898ebab306e7f6583 | myuw/templates/handlebars/card/accounts/tuition_resources.html | myuw/templates/handlebars/card/accounts/tuition_resources.html | HTML |
<|file_sep|>original/MangoPay/PayInPaymentDetailsPaypal.php
namespace MangoPay;
/**
* Class represents PayPal type for mean of payment in PayIn entity
*/
class PayInPaymentDetailsPaypal extends Libraries\Dto implements PayInPaymentDetails
{
/**
* Address used instead of the user's PayPal account address.
... | namespace MangoPay;
/**
* Class represents PayPal type for mean of payment in PayIn entity
*/
class PayInPaymentDetailsPaypal extends Libraries\Dto implements PayInPaymentDetails
{
/**
* Address used instead of the user's PayPal account address.
* @var ShippingAddress
*/
public $ShippingAddress... | <|file_sep|>original/MangoPay/PayInPaymentDetailsPaypal.php
namespace MangoPay;
/**
* Class represents PayPal type for mean of payment in PayIn entity
*/
class PayInPaymentDetailsPaypal extends Libraries\Dto implements PayInPaymentDetails
{
/**
* Address used instead of the user's PayPal account address.
... | dc6af21bf866af00e34005359a799d02fc269c4b | MangoPay/PayInPaymentDetailsPaypal.php | MangoPay/PayInPaymentDetailsPaypal.php | PHP |
<|file_sep|>original/css/components/modal/subscribe_to_dataset_modal.scss
&:last-of-type {
margin-left: 10px;
}
}
}
.upload-form {
.info {
margin-top: 20px;
padding: $margin-size-extra-small;
border: 1px solid $border-color-2;
border-radius: 4px;
max-heigh... | &:last-of-type {
margin-left: 10px;
}
}
}
.upload-form {
.info {
margin-top: 20px;
border-radius: 4px;
max-height: 120px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
}
.icon-container {
display: flex;
justify-content: center;
... | <|file_sep|>original/css/components/modal/subscribe_to_dataset_modal.scss
&:last-of-type {
margin-left: 10px;
}
}
}
.upload-form {
.info {
margin-top: 20px;
padding: $margin-size-extra-small;
border: 1px solid $border-color-2;
border-radius: 4px;
max-heigh... | 8b00cd3f774c1e12c26e72b3ecc383cfd36d0b62 | css/components/modal/subscribe_to_dataset_modal.scss | css/components/modal/subscribe_to_dataset_modal.scss | SCSS |
<|file_sep|>original/.travis.yml
language: Java
jdk:
- oraclejdk8
install: mvn -DskipTests -DskipITs verify
script: mvn verify
sudo: false
<|file_sep|>current/.travis.yml
language: Java
jdk:
- oraclejdk8
install: mvn -DskipTests -DskipITs verify
script: mvn verify
sudo: false
<|file_sep|>updated/.travis.yml | language: Java
jdk:
- oraclejdk8
install: mvn -X -DskipTests -DskipITs verify
script: mvn verify
sudo: false | <|file_sep|>original/.travis.yml
language: Java
jdk:
- oraclejdk8
install: mvn -DskipTests -DskipITs verify
script: mvn verify
sudo: false
<|file_sep|>current/.travis.yml
language: Java
jdk:
- oraclejdk8
install: mvn -DskipTests -DskipITs verify
script: mvn verify
sudo: false
<|file_sep|>updated/.travis.yml
languag... | a18aa8eb82a193d7a6f38041711cb8f30d6b826d | .travis.yml | .travis.yml | YAML |
<|file_sep|>doc/source/getting-tiles.rst.diff
original:
.. code-block::
updated:
.. code-block:: python
<|file_sep|>doc/source/getting-tiles.rst.diff
original:
# Find an album on Flickr, and download it into a direcotry.
updated:
# Download the first 300 results from a search for 'cats cars'.
pm.from_serach... | Flickr
------
Apply for a Flickr API key
`here <https://www.flickr.com/services/api/keys/apply/>`_. You will get an API
key and a secret key. For this application we don't need the secret key.
.. code-block:: python
import photomosaic as pm
import photomosaic.flickr as pmf
# Provide your API key.
pm... | <|file_sep|>doc/source/getting-tiles.rst.diff
original:
.. code-block::
updated:
.. code-block:: python
<|file_sep|>doc/source/getting-tiles.rst.diff
original:
# Find an album on Flickr, and download it into a direcotry.
updated:
# Download the first 300 results from a search for 'cats cars'.
pm.from_serach... | 55217a69a842dee31405d7c92fdb2589bb34f42a | doc/source/getting-tiles.rst | doc/source/getting-tiles.rst | reStructuredText |
<|file_sep|>original/r2klib/templates/post.jinja
{% macro post(p) %}
<mbp:pagebreak>
<h1>{{ p.title }}</h1>
<em>Original post: <a href="http://redd.it/{{ p.id }}">{{ p.id }}</a></em>
<br />
<em>by /u/{{ p.author }}</em>
<p>{{ markdown(p.selftext) }}</p>
{% endmacro %}
<|file_sep|>current/r2klib/templates/post.jinja
{% ... | {% macro post(p) %}
<mbp:pagebreak>
<h1>{{ p.title }}</h1>
<em>Original post: <a href="http://redd.it/{{ p.id }}">{{ p.id }}</a></em>
<br />
{% if p.author != '[deleted]' %}
<em>by <a href="http://reddit.com/u/{{ p.author }}">{{ p.author }}</a></em>
{% endif %}
<p>{{ markdown(p.selftext) }}</p>
{% endmacro %} | <|file_sep|>original/r2klib/templates/post.jinja
{% macro post(p) %}
<mbp:pagebreak>
<h1>{{ p.title }}</h1>
<em>Original post: <a href="http://redd.it/{{ p.id }}">{{ p.id }}</a></em>
<br />
<em>by /u/{{ p.author }}</em>
<p>{{ markdown(p.selftext) }}</p>
{% endmacro %}
<|file_sep|>current/r2klib/templates/post.jinja
{% ... | 1bef7af0ebf68eca6fbeedea89fb5e2895ae1e13 | r2klib/templates/post.jinja | r2klib/templates/post.jinja | HTML+Django |
<|file_sep|>original/packages/truffle-core/test/profiler.js
after("Cleanup tmp files", function(done){
glob('tmp-*', (err, files) => {
if(err) done(err);
files.forEach(file => fs.removeSync(file));
done();
})
})
it('profiles example project successfully', function(done) {
Profiler.r... | after("Cleanup tmp files", function(done){
glob('tmp-*', (err, files) => {
if(err) done(err);
files.forEach(file => fs.removeSync(file));
done();
})
})
it('profiles example project successfully', function(done) {
Profiler.required_sources(config.with({
paths: ["./ConvertLib.so... | <|file_sep|>original/packages/truffle-core/test/profiler.js
after("Cleanup tmp files", function(done){
glob('tmp-*', (err, files) => {
if(err) done(err);
files.forEach(file => fs.removeSync(file));
done();
})
})
it('profiles example project successfully', function(done) {
Profiler.r... | 984a722721ea009e719e4c9dbb64f9799abcbbe0 | packages/truffle-core/test/profiler.js | packages/truffle-core/test/profiler.js | JavaScript |
<|file_sep|>test/fixtures/integration_jobs.yml.diff
original:
source:"hdfs1.in"
updated:
source:"hdfs1.in",
retries:5
<|file_sep|>original/test/fixtures/integration_jobs.yml
- name: hdfs1
active: true
trigger: once
status: ""
stage1: hdfs.write target:"/user/mobilize/test/hdf... | - name: hdfs1
active: true
trigger: once
status: ""
stage1: hdfs.write target:"/user/mobilize/test/hdfs1.out",
source:"hdfs1.in",
retries:5
stage2: hdfs.write source:"/user/mobilize/test/hdfs1.out",
target:"test_cluster_2/user/mobilize/test/hdfs1_copy.out",
retr... | <|file_sep|>test/fixtures/integration_jobs.yml.diff
original:
source:"hdfs1.in"
updated:
source:"hdfs1.in",
retries:5
<|file_sep|>original/test/fixtures/integration_jobs.yml
- name: hdfs1
active: true
trigger: once
status: ""
stage1: hdfs.write target:"/user/mobilize/test/hdf... | 5a7189be496ae8dba3f8b731f164bd6c61064116 | test/fixtures/integration_jobs.yml | test/fixtures/integration_jobs.yml | YAML |
<|file_sep|>original/README.md
# Simplicity. Minimalism. Elegance.
> A modern Arch workflow with an emphasis on functionality.
## Table of Contents
- Philosophy
- GNU/Linux
- Arch Linux
- Use Case
- Features
- Installation
- Installing From Source
- Using a Pre-Compiled Image
- Post-Installation
... | - Use Case
- Features
- Installation
- Installing From Source
- Using a Pre-Compiled Image
- Post-Installation
- Workflow
- Help
- Contributing
## Installation
### Installing From Source
**Important:** Do *not* attempt to run this script on your physical machine. This script was made for and has only be... | <|file_sep|>original/README.md
# Simplicity. Minimalism. Elegance.
> A modern Arch workflow with an emphasis on functionality.
## Table of Contents
- Philosophy
- GNU/Linux
- Arch Linux
- Use Case
- Features
- Installation
- Installing From Source
- Using a Pre-Compiled Image
- Post-Installation
... | 3d7dd4a7d326b19d0b388d128eb6e05aa1ea0939 | README.md | README.md | Markdown |
<|file_sep|>original/templates/videos/_team_list.html
{% load i18n %}
{% if teams %}
<div class="video-tools grid_4 omega">
<h3>{% trans "Collaborate" %}</h3>
{% for team in teams %}
<p>
{% trans 'Return to' %} <a href="{% url teams:detail slug=team.slug %}">{{team.name}... | {% load i18n %}
{% if teams %}
<div class="video-tools grid_4 omega">
<h3>{% trans "Collaborate" %}</h3>
{% for team in teams %}
<p>
{% trans 'Visit' %} <a href="{% url teams:detail slug=team.slug %}">{{team.name}}</a> {% trans 'Translation Project' %}.
</p>
... | <|file_sep|>original/templates/videos/_team_list.html
{% load i18n %}
{% if teams %}
<div class="video-tools grid_4 omega">
<h3>{% trans "Collaborate" %}</h3>
{% for team in teams %}
<p>
{% trans 'Return to' %} <a href="{% url teams:detail slug=team.slug %}">{{team.name}... | c64fb227773d747a116bbbf7bfdc36011e26abb5 | templates/videos/_team_list.html | templates/videos/_team_list.html | HTML |
<|file_sep|>original/keymaps/hex-editor.json
{
"atom-workspace": {
"ctrl-shift-h": "hex-editor:encode",
"ctrl-shift-d": "hex-editor:decode"
}
}
<|file_sep|>current/keymaps/hex-editor.json
{
"atom-workspace": {
"ctrl-shift-h": "hex-editor:encode",
"ctrl-shift-d": "hex-editor:decode"
}
}
<|file_se... | {
"atom-workspace": {
"alt-shift-h": "hex-view:encode",
"alt-shift-d": "hex-view:decode"
}
} | <|file_sep|>original/keymaps/hex-editor.json
{
"atom-workspace": {
"ctrl-shift-h": "hex-editor:encode",
"ctrl-shift-d": "hex-editor:decode"
}
}
<|file_sep|>current/keymaps/hex-editor.json
{
"atom-workspace": {
"ctrl-shift-h": "hex-editor:encode",
"ctrl-shift-d": "hex-editor:decode"
}
}
<|file_se... | ba02333c18d1ba4fa78e81651ecd703730e364c6 | keymaps/hex-editor.json | keymaps/hex-editor.json | JSON |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
env:
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=4.0
- WP_VERSION=3.4
before_script:
- bash tests/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- composer install --dev
<|file_sep|>current/.tr... | language: php
php:
- 5.3
- 5.4
- 5.5
env:
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=4.0
before_script:
- bash tests/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- composer install --dev | <|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
env:
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=4.0
- WP_VERSION=3.4
before_script:
- bash tests/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- composer install --dev
<|file_sep|>current/.tr... | a8b3fa0c92c9f415e67b3f469d1cec54ce0c8e89 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/test/java/imagej/ops/OpMatchingServiceTest.java
<|file_sep|>current/src/test/java/imagej/ops/OpMatchingServiceTest.java
<|file_sep|>updated/src/test/java/imagej/ops/OpMatchingServiceTest.java | /*
* #%L
* ImageJ OPS: a framework for reusable algorithms.
* %%
* Copyright (C) 2014 Board of Regents of the University of
* Wisconsin-Madison and University of Konstanz.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditio... | <|file_sep|>original/src/test/java/imagej/ops/OpMatchingServiceTest.java
<|file_sep|>current/src/test/java/imagej/ops/OpMatchingServiceTest.java
<|file_sep|>updated/src/test/java/imagej/ops/OpMatchingServiceTest.java
/*
* #%L
* ImageJ OPS: a framework for reusable algorithms.
* %%
* Copyright (C) 2014 Board of Re... | 0e596cdfebea69de68bafc9983be1c01160ee16b | src/test/java/imagej/ops/OpMatchingServiceTest.java | src/test/java/imagej/ops/OpMatchingServiceTest.java | Java |
<|file_sep|>original/CONTRIBUTORS.md
This is a list of everyone who has made significant contributions to spaCy, in alphabetical order. Thanks a lot for the great work!
* Adam Bittlingmayer, @bittlingmayer
* Andreas Grivas, @andreasgrv
* Chris DuBois, @chrisdubois
* Christoph Schwienheer, @chssch
* Henning Peters, @h... |
This is a list of everyone who has made significant contributions to spaCy, in alphabetical order. Thanks a lot for the great work!
* Adam Bittlingmayer, [@bittlingmayer](https://github.com/bittlingmayer)
* Andreas Grivas, [@andreasgrv](https://github.com/andreasgrv)
* Chris DuBois, [@chrisdubois](https://github.com/... | <|file_sep|>original/CONTRIBUTORS.md
This is a list of everyone who has made significant contributions to spaCy, in alphabetical order. Thanks a lot for the great work!
* Adam Bittlingmayer, @bittlingmayer
* Andreas Grivas, @andreasgrv
* Chris DuBois, @chrisdubois
* Christoph Schwienheer, @chssch
* Henning Peters, @h... | 3dc1e92bf24d30885e695f99846f9ff9706004eb | CONTRIBUTORS.md | CONTRIBUTORS.md | Markdown |
<|file_sep|>examples/service-controller.php.diff
original:
updated:
private $name;
public function __construct($name)
{
$this->name = $name;
}
<|file_sep|>examples/service-controller.php.diff
original:
return "Hallo welt, got swag yo!\n";
updated:
return "Hello, I'm {$this->na... |
$container = Yolo\createContainer(
[
'hello.name' => 'the amazing app',
],
[
new Yolo\DependencyInjection\ServiceControllerExtension(),
new Yolo\DependencyInjection\CallableExtension(
'controller',
function ($configs, $container) {
$container-... | <|file_sep|>examples/service-controller.php.diff
original:
updated:
private $name;
public function __construct($name)
{
$this->name = $name;
}
<|file_sep|>examples/service-controller.php.diff
original:
return "Hallo welt, got swag yo!\n";
updated:
return "Hello, I'm {$this->na... | c71b0f3ed1c89db0368b659aa2b879f31828c2de | examples/service-controller.php | examples/service-controller.php | PHP |
<|file_sep|>original/openmole/gui/plugins/org.openmole.ide.plugin.environment.glite/src/main/scala/org/openmole/ide/plugin/environment/glite/DiracEnvironmentDataUI.scala
class DiracEnvironmentDataUI(val name: String = "",
val voName: String = "",
val service: S... |
class DiracEnvironmentDataUI(val name: String = "",
val voName: String = "",
val service: String = "",
val group: String = "",
val bdii: String = "",
val vomsURL: String = ""... | <|file_sep|>original/openmole/gui/plugins/org.openmole.ide.plugin.environment.glite/src/main/scala/org/openmole/ide/plugin/environment/glite/DiracEnvironmentDataUI.scala
class DiracEnvironmentDataUI(val name: String = "",
val voName: String = "",
val service: S... | e90e7a161164e4974739ab4d1b21315c42a1fb3e | openmole/gui/plugins/org.openmole.ide.plugin.environment.glite/src/main/scala/org/openmole/ide/plugin/environment/glite/DiracEnvironmentDataUI.scala | openmole/gui/plugins/org.openmole.ide.plugin.environment.glite/src/main/scala/org/openmole/ide/plugin/environment/glite/DiracEnvironmentDataUI.scala | Scala |
<|file_sep|>original/requirements.txt
APScheduler==3.5.1
cached-property==1.4.2
boto3==1.7.34
click==6.7
Flask-Sockets==0.2.1
Flask==1.0.2
flask-crossdomain==0.1
future==0.16.0
gevent==1.3.1
greenlet==0.4.13
gunicorn==19.8.1
localconfig==1.1.0
pexpect==4.6.0
psycopg2-binary==2.7.4
psutil==5.4.4
redis==2.10.6
requests==... | APScheduler==3.5.1
cached-property==1.4.2
boto3==1.7.34
click==6.7
Flask-Sockets==0.2.1
Flask==1.0.2
flask-crossdomain==0.1
future==0.16.0
gevent==1.3.3
greenlet==0.4.13
gunicorn==19.8.1
localconfig==1.1.0
pexpect==4.6.0
psycopg2-binary==2.7.4
psutil==5.4.4
redis==2.10.6
requests==2.18.4
rq==0.11.0
selenium==3.12.0
six... | <|file_sep|>original/requirements.txt
APScheduler==3.5.1
cached-property==1.4.2
boto3==1.7.34
click==6.7
Flask-Sockets==0.2.1
Flask==1.0.2
flask-crossdomain==0.1
future==0.16.0
gevent==1.3.1
greenlet==0.4.13
gunicorn==19.8.1
localconfig==1.1.0
pexpect==4.6.0
psycopg2-binary==2.7.4
psutil==5.4.4
redis==2.10.6
requests==... | 7bef0f99ab163c82357d08c9448b7496e12e7ecf | requirements.txt | requirements.txt | Text |
<|file_sep|>original/setup.py
setuptools.setup(
name='ChatExchange6',
version='1.0',
url='https://github.com/ByteCommander/ChatExchange6',
packages=[
'chatexchange6'
],
install_requires=[
'beautifulsoup4>=4.3.2',
'requests>=2.2.1',
'websocket-client>=0.13.0',
... | setuptools.setup(
name='ChatExchange6',
version='1.0',
url='https://github.com/ByteCommander/ChatExchange6',
packages=[
'chatexchange6'
],
install_requires=[
'beautifulsoup4>=4.3.2',
'requests>=2.2.1',
'websocket-client>=0.13.0',
# only for dev:
'c... | <|file_sep|>original/setup.py
setuptools.setup(
name='ChatExchange6',
version='1.0',
url='https://github.com/ByteCommander/ChatExchange6',
packages=[
'chatexchange6'
],
install_requires=[
'beautifulsoup4>=4.3.2',
'requests>=2.2.1',
'websocket-client>=0.13.0',
... | 4ec2a3ba065de6cfaae295ea17d01a2b115e4a7b | setup.py | setup.py | Python |
<|file_sep|>original/app/soc/templates/v2/modules/gci/org_home/_contact_us.html
<div class="block block-connect">
<div class="block-title">Contact Us</div>
<div class="block-content">
<ul class="menu menu-center-inline">
{% if organization.email %}
<li><a href="{{ organization.email }}">
... | <div class="block block-connect">
<div class="block-title">Contact Us</div>
<div class="block-content">
<ul class="menu menu-center-inline">
{% if organization.email %}
<li><a href="mailto:{{ organization.email }}">
<img src="/soc/content/{{ app_version }}/images/v2/gci/block-connect-em.... | <|file_sep|>original/app/soc/templates/v2/modules/gci/org_home/_contact_us.html
<div class="block block-connect">
<div class="block-title">Contact Us</div>
<div class="block-content">
<ul class="menu menu-center-inline">
{% if organization.email %}
<li><a href="{{ organization.email }}">
... | 9df8bbe7d2ab1a9d2121150d822bcf1ead33f195 | app/soc/templates/v2/modules/gci/org_home/_contact_us.html | app/soc/templates/v2/modules/gci/org_home/_contact_us.html | HTML |
<|file_sep|>original/project.clj
(defproject lean-map "0.3.0"
:description "Lean Hash Array Mapped Trie implementation in ClojureScript"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:clean-targets ^{:protect false} ["resources/out"]
:jvm-opts ^:replac... | (defproject lean-map "0.3.0"
:description "Lean Hash Array Mapped Trie implementation in ClojureScript"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:clean-targets ^{:protect false} ["resources/out"]
:source-paths ["src/main"]
:jvm-opts ^:replace ... | <|file_sep|>original/project.clj
(defproject lean-map "0.3.0"
:description "Lean Hash Array Mapped Trie implementation in ClojureScript"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:clean-targets ^{:protect false} ["resources/out"]
:jvm-opts ^:replac... | 9ab53c59943096c6a799901eb0d2236d881a9fa7 | project.clj | project.clj | Clojure |
<|file_sep|>original/run_grain.sh
#!/bin/bash
set -e
CURRENT_VERSION="0"
mkdir -p /var/uploads
test -d /var/db || (mkdir -p /var/db && echo $CURRENT_VERSION > /var/VERSION)
./niscud --fork --logpath /var/mongod.log --dbpath /var/db --noauth --bind_ip 127.0.0.1 --nohttpinterface --noprealloc
sleep 2
LCB_HTTP_HOST=0.... | #!/bin/bash
set -e
CURRENT_VERSION="0"
mkdir -p /var/uploads
test -d /var/db || (mkdir -p /var/db && echo $CURRENT_VERSION > /var/VERSION)
./niscud --fork --logpath /var/mongod.log --dbpath /var/db --noauth --bind_ip 127.0.0.1 --nohttpinterface --noprealloc --smallfiles
sleep 2
LCB_HTTP_HOST=0.0.0.0 npm start | <|file_sep|>original/run_grain.sh
#!/bin/bash
set -e
CURRENT_VERSION="0"
mkdir -p /var/uploads
test -d /var/db || (mkdir -p /var/db && echo $CURRENT_VERSION > /var/VERSION)
./niscud --fork --logpath /var/mongod.log --dbpath /var/db --noauth --bind_ip 127.0.0.1 --nohttpinterface --noprealloc
sleep 2
LCB_HTTP_HOST=0.... | 5dfef829654bad1d5f9e9fe123bc3e3bc74f22c4 | run_grain.sh | run_grain.sh | Shell |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
<|file_sep|>current/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- tr... | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
- composer require satooshi/php-coveralls --dev
script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- php... | <|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
<|file_sep|>current/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- tr... | 4490a43f2194fd8a0dd29e760445212d08048703 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/setup.bash
#!/bin/bash
echo "------- LOAD VARS --------"
source root/_bash_profile
source core/base.bash
source core/fwk-admin.bash
echo "------- DEPLOY bash --------"
bashdeploy
bashprofile
#echo "------- DL completion --------"
#gcompletion
<|file_sep|>current/setup.bash
#!/bin/bash
echo "-----... | #!/bin/bash
echo "------- LOAD VARS --------"
source root/_bash_profile
source core/base.bash
source core/fwk-admin.bash
echo "------- DEPLOY bash --------"
bashdeploy
bashprofile
#echo "------- DL completion --------"
#gcompletion
source ~/.bash_profile | <|file_sep|>original/setup.bash
#!/bin/bash
echo "------- LOAD VARS --------"
source root/_bash_profile
source core/base.bash
source core/fwk-admin.bash
echo "------- DEPLOY bash --------"
bashdeploy
bashprofile
#echo "------- DL completion --------"
#gcompletion
<|file_sep|>current/setup.bash
#!/bin/bash
echo "-----... | cd495a69536b63a1a1ef8e432543004ca528ec7d | setup.bash | setup.bash | Shell |
<|file_sep|>NOTICE.txt.diff
original:
Copyright 2009-2019 Stephane Carrez
updated:
Copyright 2009-2020 Stephane Carrez
<|file_sep|>original/NOTICE.txt
Ada Server Faces
Copyright 2009-2019 Stephane Carrez
This product includes software developed by:
Stephane Carrez (http://blog.vacs.fr/).
-----------------------------... | Ada Server Faces
Copyright 2009-2020 Stephane Carrez
This product includes software developed by:
Stephane Carrez (https://blog.vacs.fr/).
------------------------------------------------------------------------
See the file LICENSE.txt
See licenses for accompanying products in the "/licenses" subdirectory.
---------... | <|file_sep|>NOTICE.txt.diff
original:
Copyright 2009-2019 Stephane Carrez
updated:
Copyright 2009-2020 Stephane Carrez
<|file_sep|>original/NOTICE.txt
Ada Server Faces
Copyright 2009-2019 Stephane Carrez
This product includes software developed by:
Stephane Carrez (http://blog.vacs.fr/).
-----------------------------... | 43419fe67c7ad75fbe56efa911d4cc79384f2c77 | NOTICE.txt | NOTICE.txt | Text |
<|file_sep|>original/widgets/AssetBundle.php
* Base asset bundle for all widgets
*
* @author Kartik Visweswaran <kartikv2@gmail.com>
* @since 1.0
*/
class AssetBundle extends \yii\web\AssetBundle
{
public $depends = [
'yii\web\JqueryAsset',
'yii\bootstrap\BootstrapAsset',
];
/**
... | * Base asset bundle for all widgets
*
* @author Kartik Visweswaran <kartikv2@gmail.com>
* @since 1.0
*/
class AssetBundle extends \yii\web\AssetBundle
{
public $depends = [
'yii\web\JqueryAsset',
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
];
/**
* Set up CSS and ... | <|file_sep|>original/widgets/AssetBundle.php
* Base asset bundle for all widgets
*
* @author Kartik Visweswaran <kartikv2@gmail.com>
* @since 1.0
*/
class AssetBundle extends \yii\web\AssetBundle
{
public $depends = [
'yii\web\JqueryAsset',
'yii\bootstrap\BootstrapAsset',
];
/**
... | cf68db1301371e903b1c589a6a2e2e67c41a4ba5 | widgets/AssetBundle.php | widgets/AssetBundle.php | PHP |
<|file_sep|>original/federation/manifests/federation-apiserver-deployment.yaml
containers:
- name: apiserver
image: {{.FEDERATION_APISERVER_IMAGE_REPO}}:{{.FEDERATION_APISERVER_IMAGE_TAG}}
command:
- /usr/local/bin/federation-apiserver
- --bind-address=0.0.0.0
- --etc... | containers:
- name: apiserver
image: {{.FEDERATION_APISERVER_IMAGE_REPO}}:{{.FEDERATION_APISERVER_IMAGE_TAG}}
command:
- /usr/local/bin/federation-apiserver
- --bind-address=0.0.0.0
- --etcd-servers=http://localhost:2379
- --service-cluster-ip-range={{.FEDERAT... | <|file_sep|>original/federation/manifests/federation-apiserver-deployment.yaml
containers:
- name: apiserver
image: {{.FEDERATION_APISERVER_IMAGE_REPO}}:{{.FEDERATION_APISERVER_IMAGE_TAG}}
command:
- /usr/local/bin/federation-apiserver
- --bind-address=0.0.0.0
- --etc... | 227e836ca5e7bd6d189e37e6ae5e93ccb950c5b2 | federation/manifests/federation-apiserver-deployment.yaml | federation/manifests/federation-apiserver-deployment.yaml | YAML |
<|file_sep|>web/templates/door_group/index.html.eex.diff
original:
<td><%= door_group.name %></td>
updated:
<td><%= link door_group.name, to: door_group_path(@conn, :show, door_group) %></td>
<|file_sep|>original/web/templates/door_group/index.html.eex
<th>Name</th>
<th></th>
</tr>
</thea... | <tr>
<th>Name</th>
<th></th>
</tr>
</thead>
<tbody>
<%= for door_group <- @door_groups do %>
<tr>
<td><%= link door_group.name, to: door_group_path(@conn, :show, door_group) %></td>
<td class="text-right">
<%= link "Edit", to: door_group_path(@conn, :edit, door_group), ... | <|file_sep|>web/templates/door_group/index.html.eex.diff
original:
<td><%= door_group.name %></td>
updated:
<td><%= link door_group.name, to: door_group_path(@conn, :show, door_group) %></td>
<|file_sep|>original/web/templates/door_group/index.html.eex
<th>Name</th>
<th></th>
</tr>
</thea... | 12a848a9805dda790405185a829d140a66d8de1f | web/templates/door_group/index.html.eex | web/templates/door_group/index.html.eex | HTML+EEX |
<|file_sep|>original/package.json
{
"name": "swagger-converter",
"version": "0.0.5",
"description": "Swagger Converter",
"main": "index.js",
"scripts": {
"test": "./node_modules/mocha/bin/mocha",
"build": "npm test; ./node_modules/browserify/bin/cmd.js ./index.js > ./browser.js; ./node_modules/uglify-... | {
"name": "swagger-converter",
"version": "0.0.5",
"description": "Swagger Converter",
"main": "index.js",
"scripts": {
"test": "./node_modules/mocha/bin/mocha",
"build": "npm test; ./node_modules/browserify/bin/cmd.js ./index.js > ./browser.js; ./node_modules/uglify-js/bin/uglifyjs ./browser.js > ./b... | <|file_sep|>original/package.json
{
"name": "swagger-converter",
"version": "0.0.5",
"description": "Swagger Converter",
"main": "index.js",
"scripts": {
"test": "./node_modules/mocha/bin/mocha",
"build": "npm test; ./node_modules/browserify/bin/cmd.js ./index.js > ./browser.js; ./node_modules/uglify-... | c02d03fdbcad6b5a01cd0dc86ca3b37a0d75ce7c | package.json | package.json | JSON |
<|file_sep|>original/app/views/votes/_vote.html.haml
<|file_sep|>current/app/views/votes/_vote.html.haml
<|file_sep|>updated/app/views/votes/_vote.html.haml | - if user_signed_in?
- if @user_vote
- if @user_vote.value == 1
= link_to 'Delete Vote', remove_idea_vote_path(@idea), :method => :delete
- else
= link_to 'Vote Up', change_idea_vote_path(@idea, :value => 1), :method => :patch
- else
= link_to 'Vote Up', create_idea_vote_path(@idea, :value =... | <|file_sep|>original/app/views/votes/_vote.html.haml
<|file_sep|>current/app/views/votes/_vote.html.haml
<|file_sep|>updated/app/views/votes/_vote.html.haml
- if user_signed_in?
- if @user_vote
- if @user_vote.value == 1
= link_to 'Delete Vote', remove_idea_vote_path(@idea), :method => :delete
- else
... | 2eef37cc7496fcc059c812510b72fa6e6a0b02d1 | app/views/votes/_vote.html.haml | app/views/votes/_vote.html.haml | Haml |
<|file_sep|>original/docs/reference/commandline/service_rm.md
description = "The service rm command description and usage"
keywords = ["service, rm"]
[menu.main]
parent = "smn_cli"
+++
<![end-metadata]-->
# service rm
```Markdown
Usage: docker service rm [OPTIONS] SERVICE [SERVICE...]
Remove one or more services
Al... | description = "The service rm command description and usage"
keywords = ["service, rm"]
[menu.main]
parent = "smn_cli"
+++
<![end-metadata]-->
# service rm
```Markdown
Usage: docker service rm SERVICE [SERVICE...]
Remove one or more services
Aliases:
rm, remove
Options:
--help Print usage
```
| <|file_sep|>original/docs/reference/commandline/service_rm.md
description = "The service rm command description and usage"
keywords = ["service, rm"]
[menu.main]
parent = "smn_cli"
+++
<![end-metadata]-->
# service rm
```Markdown
Usage: docker service rm [OPTIONS] SERVICE [SERVICE...]
Remove one or more services
Al... | 6d8cf3fb44e8ce24dfcadfb5537f35337d42f721 | docs/reference/commandline/service_rm.md | docs/reference/commandline/service_rm.md | Markdown |
<|file_sep|>original/.scripts/cut.sh
sed -i "" -e "s/@version .*/@version $VSN/g" doc/overview.edoc
git add doc/overview.edoc
fi
# Commit, tag and push
git commit -m "Version $VSN"
git tag -s "$VSN" -m "Version $VSN"
git push && git push --tags
# Clean and publish package and docs
rm -rf ebin
rm -rf src/**/*.... | sed -i "" -e "s/@version .*/@version $VSN/g" doc/overview.edoc
git add doc/overview.edoc
fi
# Commit, tag and push
git commit -m "Version $VSN"
git tag -s "$VSN" -m "Version $VSN"
git push && git push --tags
# Clean and publish package and docs
rm -rf ebin
rm -rf src/**/*.beam
rm -rf test/**/*.beam
rebar3 hex... | <|file_sep|>original/.scripts/cut.sh
sed -i "" -e "s/@version .*/@version $VSN/g" doc/overview.edoc
git add doc/overview.edoc
fi
# Commit, tag and push
git commit -m "Version $VSN"
git tag -s "$VSN" -m "Version $VSN"
git push && git push --tags
# Clean and publish package and docs
rm -rf ebin
rm -rf src/**/*.... | 09c9fee026e1388acb081155f562997150af7b61 | .scripts/cut.sh | .scripts/cut.sh | Shell |
<|file_sep|>original/src/config.js
// = Server config =============================================================
export const port = 3000
export const enableGraphiQL = true;
export const logFile = 'store.log'
// = App config ================================================================
<|file_sep|>current/src... | // = Server config =============================================================
export const port = process.env.PORT || 3000
export const enableGraphiQL = true;
export const logFile = 'store.log'
// = App config ================================================================ | <|file_sep|>original/src/config.js
// = Server config =============================================================
export const port = 3000
export const enableGraphiQL = true;
export const logFile = 'store.log'
// = App config ================================================================
<|file_sep|>current/src... | 6d22dabca3b69a06fb8f3fdc11469b6da7641bfd | src/config.js | src/config.js | JavaScript |
<|file_sep|>original/packages/gi/gi-ostree.yaml
<|file_sep|>current/packages/gi/gi-ostree.yaml
<|file_sep|>updated/packages/gi/gi-ostree.yaml | homepage: https://github.com/haskell-gi/haskell-gi
changelog-type: markdown
hash: 8e7061b72ca2df8fe27c71150d4b821c5ab8a01c0bde5d05af3438d035a47965
test-bench-deps: {}
maintainer: Iñaki García Etxebarria (garetxe@gmail.com)
synopsis: OSTree bindings
changelog: ! '### 1.0.1
Initial release
'
basic-deps:
haskell-gi... | <|file_sep|>original/packages/gi/gi-ostree.yaml
<|file_sep|>current/packages/gi/gi-ostree.yaml
<|file_sep|>updated/packages/gi/gi-ostree.yaml
homepage: https://github.com/haskell-gi/haskell-gi
changelog-type: markdown
hash: 8e7061b72ca2df8fe27c71150d4b821c5ab8a01c0bde5d05af3438d035a47965
test-bench-deps: {}
maintaine... | e5f0f553c3fe10eea4a15a8b31c3e632a3f08115 | packages/gi/gi-ostree.yaml | packages/gi/gi-ostree.yaml | YAML |
<|file_sep|>original/programmingtheorems/python/theorem_of_summary.py
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
#... | <|file_sep|>original/programmingtheorems/python/theorem_of_summary.py
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... | 49367b2077c1ba6e09e10c05653d0dfc0164b1b7 | programmingtheorems/python/theorem_of_summary.py | programmingtheorems/python/theorem_of_summary.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm: 2.4.1
cache: bundler
sudo: false
<|file_sep|>current/.travis.yml
language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm: 2.4.1
cache: bundler
s... | language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm: 2.4.2
cache: bundler
sudo: false | <|file_sep|>original/.travis.yml
language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm: 2.4.1
cache: bundler
sudo: false
<|file_sep|>current/.travis.yml
language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm: 2.4.1
cache: bundler
s... | 7db708f8c382c54d2389348dedf8eb91aa779e19 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/breezy_rails/lib/breezy/helpers.rb
def breezy_snippet
if defined?(@breezy) && @breezy
snippet = @breezy.gsub(/\;$/, '')
"#{snippet};".html_safe
end
end
def use_breezy_html
@_use_breezy_html = true
end
def breezy_silient?
!!request.heade... | "#{snippet};".html_safe
end
end
def use_breezy_html
@_use_breezy_html = true
end
def breezy_silient?
!!request.headers["X-SILENT"]
end
def breezy_filter
filter = request.params[:_bz] || (session && session[:breezy_filter])
if filter
filter.gsub(/... | <|file_sep|>original/breezy_rails/lib/breezy/helpers.rb
def breezy_snippet
if defined?(@breezy) && @breezy
snippet = @breezy.gsub(/\;$/, '')
"#{snippet};".html_safe
end
end
def use_breezy_html
@_use_breezy_html = true
end
def breezy_silient?
!!request.heade... | daaed97d6f5a52e1256d37f37d150fa8e87f5a35 | breezy_rails/lib/breezy/helpers.rb | breezy_rails/lib/breezy/helpers.rb | Ruby |
<|file_sep|>original/front/src/utils/ebetsArbiters.json
{"Monarchy":{"42":{"address":"0xb01a35b70228fb59a0f99d435df01c7b7671283c"},"name":"Monarchy","description":"The Monarchy contract have a single Arbiter that can decide on the bet outcomes"}}
<|file_sep|>current/front/src/utils/ebetsArbiters.json
{"Monarchy":{"42":... | {"Monarchy":{"42":{"address":"0xb01a35b70228fb59a0f99d435df01c7b7671283c","name":"Monarchy","description":"The Monarchy contract have a single Arbiter that can decide on the bet outcomes"}}} | <|file_sep|>original/front/src/utils/ebetsArbiters.json
{"Monarchy":{"42":{"address":"0xb01a35b70228fb59a0f99d435df01c7b7671283c"},"name":"Monarchy","description":"The Monarchy contract have a single Arbiter that can decide on the bet outcomes"}}
<|file_sep|>current/front/src/utils/ebetsArbiters.json
{"Monarchy":{"42":... | 8323306f7fbb18e1447d67ab2b69d342a0a2699c | front/src/utils/ebetsArbiters.json | front/src/utils/ebetsArbiters.json | JSON |
<|file_sep|>original/.travis.yml
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
install:
- sudo apt-get install libgtest-dev python-dev g++-4.8
- export GXX=g++-4.8
- cd /usr/src/gtest
- sudo cmake .
- sudo make
- sudo mv libgtest* /usr/lib/
- sudo pip install cpp-cove... | - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
install:
- sudo apt-get install libgtest-dev python-dev g++-4.8
- export GXX=g++-4.8
- cd /usr/src/gtest
- sudo cmake .
- sudo make
- sudo mv libgtest* /usr/lib/
- sudo pip install cpp-coveralls pyopenssl ndg-httpsclient p... | <|file_sep|>original/.travis.yml
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
install:
- sudo apt-get install libgtest-dev python-dev g++-4.8
- export GXX=g++-4.8
- cd /usr/src/gtest
- sudo cmake .
- sudo make
- sudo mv libgtest* /usr/lib/
- sudo pip install cpp-cove... | 881bfca71e27a427f463fdbbda1c85fba6bfdd46 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.github/workflows/build_and_docs.yml.diff
original:
branches: [ develop ]
updated:
branches: [ develop, master ]
<|file_sep|>.github/workflows/build_and_docs.yml.diff
original:
build:
updated:
gcc-build:
<|file_sep|>original/.github/workflows/build_and_docs.yml
jobs:
build:
runs-on: ubunt... |
jobs:
gcc-build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.3.1
with:
submodules: recursive
- run: |
mkdir build && cd build
cmake .. && make demos
clang-build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.3.1
... | <|file_sep|>.github/workflows/build_and_docs.yml.diff
original:
branches: [ develop ]
updated:
branches: [ develop, master ]
<|file_sep|>.github/workflows/build_and_docs.yml.diff
original:
build:
updated:
gcc-build:
<|file_sep|>original/.github/workflows/build_and_docs.yml
jobs:
build:
runs-on: ubunt... | a3caf3ab7b5d9bab7eaa9bbabd3077e96d4227ef | .github/workflows/build_and_docs.yml | .github/workflows/build_and_docs.yml | YAML |
<|file_sep|>packages/gl/glazier-pipes.yaml.diff
original:
hash: d2c5abe0646684ab0a258880ce4b83e9edf59ccf8ccc95c71d0577f73bd1834f
updated:
hash: 85511570b1b7c47a29a736fb0ce564470f15226d2d8a992dffd8561fbfa7fdae
<|file_sep|>packages/gl/glazier-pipes.yaml.diff
original:
glazier: ! '>=0.5 && <1'
updated:
glazier: ! '>=0... | basic-deps:
base: ! '>=4.7 && <5'
pipes-misc: ! '>=0.2 && <1'
lens: ! '>=4 && <5'
pipes: ! '>=4 && <5'
mtl: ! '>=2 && <3'
transformers: ! '>=0.4 && <0.6'
glazier: ! '>=0.6 && <1'
all-versions:
- '0.1.0.0'
- '0.1.1.0'
author: Louis Pan
latest: '0.1.1.0'
description-type: markdown
description: ! '[![Hackage... | <|file_sep|>packages/gl/glazier-pipes.yaml.diff
original:
hash: d2c5abe0646684ab0a258880ce4b83e9edf59ccf8ccc95c71d0577f73bd1834f
updated:
hash: 85511570b1b7c47a29a736fb0ce564470f15226d2d8a992dffd8561fbfa7fdae
<|file_sep|>packages/gl/glazier-pipes.yaml.diff
original:
glazier: ! '>=0.5 && <1'
updated:
glazier: ! '>=0... | df2701f731e3be1c3a0f88d7e0d679e0954f76f0 | packages/gl/glazier-pipes.yaml | packages/gl/glazier-pipes.yaml | YAML |
<|file_sep|>SwiftWisdom/Core/StandardLibrary/String/String+NSRange.swift.diff
original:
// TODO: Need to write tests for this
updated:
<|file_sep|>SwiftWisdom/Core/StandardLibrary/String/String+NSRange.swift.diff
original:
updated:
// TODO: Ying to write tests and resolve any merge conflicts
<|file_sep|>origi... | // TODO: collapse with String+Substrings - rename as String+Indexing?
extension String {
// From http://stackoverflow.com/questions/25138339/nsrange-to-rangestring-index/32379600#32379600
func range(from nsRange: NSRange) -> Range<String.Index>? {
guard
let from16 = utf16.index(utf16.startIn... | <|file_sep|>SwiftWisdom/Core/StandardLibrary/String/String+NSRange.swift.diff
original:
// TODO: Need to write tests for this
updated:
<|file_sep|>SwiftWisdom/Core/StandardLibrary/String/String+NSRange.swift.diff
original:
updated:
// TODO: Ying to write tests and resolve any merge conflicts
<|file_sep|>origi... | e7ced66c8025c8f915f9f4d78cb7b97657ac7d59 | SwiftWisdom/Core/StandardLibrary/String/String+NSRange.swift | SwiftWisdom/Core/StandardLibrary/String/String+NSRange.swift | Swift |
<|file_sep|>original/test/pig/datafu/test/pig/sampling/reservoirSampleTest.pig
register $JAR_PATH
DEFINE ReservoirSample datafu.pig.sampling.ReservoirSample('$RESERVOIR_SIZE');
/*
data = LOAD 'input' AS (A_id:chararray, B_id:chararray, C:int);
sampled = FILTER data BY SampleByKey(A_id);
STORE sampled INTO 'output';
*... | register $JAR_PATH
DEFINE ReservoirSample datafu.pig.sampling.ReservoirSample('$RESERVOIR_SIZE');
data = LOAD 'input' AS (A_id:chararray, B_id:chararray, C:int);
sampled = FOREACH (GROUP data ALL) GENERATE ReservoirSample(data) as sample_data;
sampled = FOREACH sampled GENERATE COUNT(sample_data) AS sample_count;
STO... | <|file_sep|>original/test/pig/datafu/test/pig/sampling/reservoirSampleTest.pig
register $JAR_PATH
DEFINE ReservoirSample datafu.pig.sampling.ReservoirSample('$RESERVOIR_SIZE');
/*
data = LOAD 'input' AS (A_id:chararray, B_id:chararray, C:int);
sampled = FILTER data BY SampleByKey(A_id);
STORE sampled INTO 'output';
*... | b9712f97099702f766e648ce1a8153fb1980c1fa | test/pig/datafu/test/pig/sampling/reservoirSampleTest.pig | test/pig/datafu/test/pig/sampling/reservoirSampleTest.pig | PigLatin |
<|file_sep|>original/src/test/resources/config.properties
# Payment Highway Test configuration
service_url=https://v1-hub-psd2.sph-test-solinor.com
sph-account=test
sph-merchant=test_merchantId
signature_key_id=testKey
signature_secret=testSecret
<|file_sep|>current/src/test/resources/config.properties
# Payment Highwa... | # Payment Highway Test configuration
service_url=https://v1-hub-staging.sph-test-solinor.com
sph-account=test
sph-merchant=test_merchantId
signature_key_id=testKey
signature_secret=testSecret | <|file_sep|>original/src/test/resources/config.properties
# Payment Highway Test configuration
service_url=https://v1-hub-psd2.sph-test-solinor.com
sph-account=test
sph-merchant=test_merchantId
signature_key_id=testKey
signature_secret=testSecret
<|file_sep|>current/src/test/resources/config.properties
# Payment Highwa... | 30b13fa7a70c102a674e1ed48956e2c19357eea9 | src/test/resources/config.properties | src/test/resources/config.properties | INI |
<|file_sep|>original/tests/test_apps/tpcc/tpcc-partitioning.sql
<|file_sep|>current/tests/test_apps/tpcc/tpcc-partitioning.sql
<|file_sep|>updated/tests/test_apps/tpcc/tpcc-partitioning.sql | partition table WAREHOUSE on column W_ID;
partition table DISTRICT on column D_W_ID;
partition table CUSTOMER on column C_W_ID;
partition table HISTORY on column H_W_ID;
partition table STOCK on column S_W_ID;
partition table ORDERS on column O_W_ID;
partition table NEW_ORDER on column NO_W_ID;
partition table ORDER_LI... | <|file_sep|>original/tests/test_apps/tpcc/tpcc-partitioning.sql
<|file_sep|>current/tests/test_apps/tpcc/tpcc-partitioning.sql
<|file_sep|>updated/tests/test_apps/tpcc/tpcc-partitioning.sql
partition table WAREHOUSE on column W_ID;
partition table DISTRICT on column D_W_ID;
partition table CUSTOMER on column C_W_ID;
... | f553c478a9c3b6220cabe0934586b8e85017a1bc | tests/test_apps/tpcc/tpcc-partitioning.sql | tests/test_apps/tpcc/tpcc-partitioning.sql | SQL |
<|file_sep|>running.py.diff
original:
updated:
from darksky import forecast
from configparser import ConfigParser
# Darksky weather API.
# Create config file manually
parser = ConfigParser()
parser.read('slowburn.config', encoding='utf-8')
darksky_key = parser.get('darksky', 'key')
<|file_sep|>running.py.diff
origin... | import tcxparser
from darksky import forecast
from configparser import ConfigParser
# Darksky weather API.
# Create config file manually
parser = ConfigParser()
parser.read('slowburn.config', encoding='utf-8')
darksky_key = parser.get('darksky', 'key')
tcx = tcxparser.TCXParser('gps_logs/2017-06-15_Running.tcx')
pri... | <|file_sep|>running.py.diff
original:
updated:
from darksky import forecast
from configparser import ConfigParser
# Darksky weather API.
# Create config file manually
parser = ConfigParser()
parser.read('slowburn.config', encoding='utf-8')
darksky_key = parser.get('darksky', 'key')
<|file_sep|>running.py.diff
origin... | 2ec1975da12cb9d95b1e1db7820f30850e075e4e | running.py | running.py | Python |
<|file_sep|>original/.styleci.yml
preset: laravel
enabled:
- concat_with_spaces
- align_double_arrow
- alpha_ordered_imports
disabled:
- phpdoc_summary
- concat_without_spaces
- not_operator_with_successor_space
- simplified_null_return
- length_ordered_imports
- phpdoc_to_comment
<|file_sep|>curren... | preset: laravel
enabled:
- concat_with_spaces
- align_double_arrow
- alpha_ordered_imports
disabled:
- phpdoc_summary
- concat_without_spaces
- not_operator_with_successor_space
- length_ordered_imports
- phpdoc_to_comment | <|file_sep|>original/.styleci.yml
preset: laravel
enabled:
- concat_with_spaces
- align_double_arrow
- alpha_ordered_imports
disabled:
- phpdoc_summary
- concat_without_spaces
- not_operator_with_successor_space
- simplified_null_return
- length_ordered_imports
- phpdoc_to_comment
<|file_sep|>curren... | cb7b8904af061958b51d16f63fb2dd354e7d92ea | .styleci.yml | .styleci.yml | YAML |
<|file_sep|>froide/helper/search/paginator.py.diff
original:
from django.core.paginator import Paginator
updated:
from django.core.paginator import Paginator, InvalidPage
<|file_sep|>original/froide/helper/search/paginator.py
def page(self, number):
"""
Returns a Page object for the given 1-based p... | """
Returns a Page object for the given 1-based page number.
"""
bottom = (number - 1) * self.per_page
if bottom >= self.MAX_ES_OFFSET:
# Only validate if bigger than offset
number = self.validate_number(number)
bottom = (number - 1) * self.per... | <|file_sep|>froide/helper/search/paginator.py.diff
original:
from django.core.paginator import Paginator
updated:
from django.core.paginator import Paginator, InvalidPage
<|file_sep|>original/froide/helper/search/paginator.py
def page(self, number):
"""
Returns a Page object for the given 1-based p... | 018abd1a80bf0045d1f2d2c04d1caaa4db9433b8 | froide/helper/search/paginator.py | froide/helper/search/paginator.py | Python |
<|file_sep|>original/app/controllers/spree/products_controller_decorator.rb
module Spree
ProductController.class_eval do
def show
@variants = @product.variants_including.active(current_currency).includes([:option_values, :images])
@product_properties = @product.product_properties.includes(:property)
... | module Spree
ProductController.class_eval do
def show
@variants = @product.variants_including.active(current_currency).includes([:option_values, :images])
@product_properties = @product.product_properties.includes(:property)
@taxon = Spree::Taxon.find(params[:taxon_id]) if params[:taxon_id]
... | <|file_sep|>original/app/controllers/spree/products_controller_decorator.rb
module Spree
ProductController.class_eval do
def show
@variants = @product.variants_including.active(current_currency).includes([:option_values, :images])
@product_properties = @product.product_properties.includes(:property)
... | cf29096e0598d3a0ff306d7693d476527fda55f1 | app/controllers/spree/products_controller_decorator.rb | app/controllers/spree/products_controller_decorator.rb | Ruby |
<|file_sep|>src/test/java/com/madhur/uml_parser/main.java.diff
original:
updated:
<|file_sep|>original/src/test/java/com/madhur/uml_parser/main.java
package com.madhur.uml_parser;
import junit.framework.*;
public class FacadeTest extends TestCase{
public TestCase(String testName)
{
super( testName );... | package com.madhur.uml_parser;
import junit.framework.*;
public class FacadeTest extends TestCase{
public TestCase(String testName)
{
super( testName );
}
protected void setUp(){
//TODO
}
public void testMain(){
//TODO
}
} | <|file_sep|>src/test/java/com/madhur/uml_parser/main.java.diff
original:
updated:
<|file_sep|>original/src/test/java/com/madhur/uml_parser/main.java
package com.madhur.uml_parser;
import junit.framework.*;
public class FacadeTest extends TestCase{
public TestCase(String testName)
{
super( testName );... | 2749bf6bb8ab0f877ceee14237a3d1fdc1b6d055 | src/test/java/com/madhur/uml_parser/main.java | src/test/java/com/madhur/uml_parser/main.java | Java |
<|file_sep|>original/standalone/build-native.sh
#!/bin/bash
# Builds the HAL standalone native binary
mvn package -Pnative -Dquarkus.native.container-build=true -Dquarkus.container-image.build=true
<|file_sep|>current/standalone/build-native.sh
#!/bin/bash
# Builds the HAL standalone native binary
mvn package -Pnat... | #!/bin/bash
# Builds the HAL standalone native binary
mvn package \
-Pnative \
-Dquarkus.container-image.build=true \
-Dquarkus.native.remote-container-build=true \
-Dquarkus.native.container-runtime=podman | <|file_sep|>original/standalone/build-native.sh
#!/bin/bash
# Builds the HAL standalone native binary
mvn package -Pnative -Dquarkus.native.container-build=true -Dquarkus.container-image.build=true
<|file_sep|>current/standalone/build-native.sh
#!/bin/bash
# Builds the HAL standalone native binary
mvn package -Pnat... | c05db18d6c8e3dc0673d612c340d0baad71612de | standalone/build-native.sh | standalone/build-native.sh | Shell |
<|file_sep|>original/src/test/groovy/bugs/Groovy8337Bug.groovy
<|file_sep|>current/src/test/groovy/bugs/Groovy8337Bug.groovy
<|file_sep|>updated/src/test/groovy/bugs/Groovy8337Bug.groovy | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | <|file_sep|>original/src/test/groovy/bugs/Groovy8337Bug.groovy
<|file_sep|>current/src/test/groovy/bugs/Groovy8337Bug.groovy
<|file_sep|>updated/src/test/groovy/bugs/Groovy8337Bug.groovy
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
... | e82bd2654536675c7abcf51f250921f44b5c44f1 | src/test/groovy/bugs/Groovy8337Bug.groovy | src/test/groovy/bugs/Groovy8337Bug.groovy | Groovy |
<|file_sep|>original/rpc/grpc/types.proto
syntax = "proto3";
package core_grpc;
import "github.com/tendermint/abci/types/types.proto";
//----------------------------------------
// Message types
//----------------------------------------
// Request types
message RequestBroadcastTx {
bytes tx = 1;
}
//-----------... | syntax = "proto3";
package core_grpc;
import "github.com/tendermint/abci/blob/master/types/types.proto";
//----------------------------------------
// Message types
//----------------------------------------
// Request types
message RequestBroadcastTx {
bytes tx = 1;
}
//----------------------------------------
... | <|file_sep|>original/rpc/grpc/types.proto
syntax = "proto3";
package core_grpc;
import "github.com/tendermint/abci/types/types.proto";
//----------------------------------------
// Message types
//----------------------------------------
// Request types
message RequestBroadcastTx {
bytes tx = 1;
}
//-----------... | b61f5482d4f192dd784e9d8360938704670ce8d1 | rpc/grpc/types.proto | rpc/grpc/types.proto | Protocol Buffer |
<|file_sep|>original/layouts/blog/single.html
<div class="reading-time"><div class="middot"></div>{{ if eq 1 .ReadingTime }}{{ .ReadingTime }} minute read{{ else }}{{ .ReadingTime }} minutes read{{ end }}</div>
</div>
</div>
<div class="markdown">
... | <div class="reading-time"><div class="middot"></div>{{ if eq 1 .ReadingTime }}{{ .ReadingTime }} minute read{{ else }}{{ .ReadingTime }} minutes read{{ end }}</div>
</div>
</div>
<div class="markdown">
{{ if .Site.Params.progressively }}
... | <|file_sep|>original/layouts/blog/single.html
<div class="reading-time"><div class="middot"></div>{{ if eq 1 .ReadingTime }}{{ .ReadingTime }} minute read{{ else }}{{ .ReadingTime }} minutes read{{ end }}</div>
</div>
</div>
<div class="markdown">
... | e375fdc2b9bdde8b188bea9325f4548383235385 | layouts/blog/single.html | layouts/blog/single.html | HTML |
<|file_sep|>original/doc.go
/*
Package spreed-turnservicecli is providing sub packages to interact with the
Spreed.ME TURN service.
It contains the following packages:
The `turnservicecli` package provides a client implementation for the TURN
service api's endpoints.
*/
package spreedturnservicecli
import (
_ "gith... | /*
Package spreed-turnservicecli is providing sub packages to interact with the
Spreed TURN service.
It contains the following packages:
The `turnservicecli` package provides a client implementation for the TURN
service api's endpoints.
*/
package spreedturnservicecli
import (
_ "github.com/strukturag/spreed-turnse... | <|file_sep|>original/doc.go
/*
Package spreed-turnservicecli is providing sub packages to interact with the
Spreed.ME TURN service.
It contains the following packages:
The `turnservicecli` package provides a client implementation for the TURN
service api's endpoints.
*/
package spreedturnservicecli
import (
_ "gith... | 44e8e8616c88984ae4448c76e0bdcaed0305d91f | doc.go | doc.go | Go |
<|file_sep|>original/.travis.yml
cache:
directories:
- resources
- node_modules
before_install:
- brew update
- brew unlink node
- brew install homebrew/versions/node4-lts
script:
- npm install
- npm test
after_script:
- bash -c "$AFTER_SCRIPT"
os:
- osx
<|file_sep|>current/.travis.yml
cache:
... | cache:
directories:
- resources
- node_modules
before_install:
- brew update
- brew unlink node
- brew install homebrew/versions/node4-lts
script:
- npm install
- npm test
os:
- osx | <|file_sep|>original/.travis.yml
cache:
directories:
- resources
- node_modules
before_install:
- brew update
- brew unlink node
- brew install homebrew/versions/node4-lts
script:
- npm install
- npm test
after_script:
- bash -c "$AFTER_SCRIPT"
os:
- osx
<|file_sep|>current/.travis.yml
cache:
... | 4db8fe5c48789c28850ea6b5f13f7bcd99e0fd33 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/manifest.json
},
"browser_action": {
"name": "Enable/Disable ultrasound filtering"
},
"options_ui": {
"page": "options.html"
},
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"content.js"
],
"r... | },
"browser_action": {
"name": "Enable/Disable ultrasound filtering"
},
"options_ui": {
"page": "options.html"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"content.js"
],
"run_at": "document_end",
"all_frames": true
}
]... | <|file_sep|>original/manifest.json
},
"browser_action": {
"name": "Enable/Disable ultrasound filtering"
},
"options_ui": {
"page": "options.html"
},
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"content.js"
],
"r... | bf6cdc473775785dffdac81bd24226cefa1ad7f5 | manifest.json | manifest.json | JSON |
<|file_sep|>blockbuster/bb_logging.py.diff
original:
backupCount=5)
updated:
backupCount=7)
<|file_sep|>original/blockbuster/bb_logging.py
logger = logging.getLogger('bb_log')
logger.setLevel(logging.DEBUG)
# create file ha... | logger = logging.getLogger('bb_log')
logger.setLevel(logging.DEBUG)
# create file handler which logs even debug messages
tfh = logging.handlers.TimedRotatingFileHandler('./logs/app.log', when='midnight', delay=False, encoding=None,
backupCount=7)
tfh.setLevel(logging.DEB... | <|file_sep|>blockbuster/bb_logging.py.diff
original:
backupCount=5)
updated:
backupCount=7)
<|file_sep|>original/blockbuster/bb_logging.py
logger = logging.getLogger('bb_log')
logger.setLevel(logging.DEBUG)
# create file ha... | f9c178e641fa27b6c0c2bf32a969c52ba17042bf | blockbuster/bb_logging.py | blockbuster/bb_logging.py | Python |
<|file_sep|>original/future-friendly.md
<|file_sep|>current/future-friendly.md
<|file_sep|>updated/future-friendly.md | # What is Future Friendly UX design?
The **quantity** and **diversity** of connected **devices**, and the **people** that use them, is increasing. We can deal with this exciting, overwhelming, world by:
1. acknowledging and embracing unpredictability;
* thinking and behaving in a [future friendly]((http://futurefrien... | <|file_sep|>original/future-friendly.md
<|file_sep|>current/future-friendly.md
<|file_sep|>updated/future-friendly.md
# What is Future Friendly UX design?
The **quantity** and **diversity** of connected **devices**, and the **people** that use them, is increasing. We can deal with this exciting, overwhelming, world ... | 5c9a6c63360ce434b94a0ca9ef6c9dd80132f7db | future-friendly.md | future-friendly.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
notifications:
email: false
cache:
directories:
- vendor
- $HOME/.composer/cache
<|file_sep|>.travis.yml.diff
original:
- 5.6
updated:
- 7.3
- 7.2
- 7.1
<|file_sep|>.travis.yml.diff
original:
- 7.1
updated:
<|file_sep|>.travis.yml.dif... | env: WP_VERSION=latest RUN_PHPCS=1
- name: Bleeding Edge
php: 7.3
env: WP_VERSION=trunk
before_install:
- phpenv config-rm xdebug.ini
install:
- composer install --prefer-dist
- bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- mkdir -p build/logs
script:... | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
notifications:
email: false
cache:
directories:
- vendor
- $HOME/.composer/cache
<|file_sep|>.travis.yml.diff
original:
- 5.6
updated:
- 7.3
- 7.2
- 7.1
<|file_sep|>.travis.yml.diff
original:
- 7.1
updated:
<|file_sep|>.travis.yml.dif... | d4ed9ae9fd896ff8877b817601278e88927d42db | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/ember-cli/engine.rb
module EmberCLI
class Engine < Rails::Engine
initializer "ember-cli-rails.view_helpers" do
ActionView::Base.send :include, ViewHelpers
end
initializer "ember-cli-rails.inflector" do
if Rails.version > "3.2"
ActiveSupport::Inflector.inflecti... | module EmberCLI
class Engine < Rails::Engine
initializer "ember-cli-rails.view_helpers" do
ActionView::Base.send :include, ViewHelpers
end
initializer "ember-cli-rails.inflector" do
ActiveSupport::Inflector.inflections do |inflect|
inflect.acronym "CLI" if inflect.respond_to?(:acronym... | <|file_sep|>original/lib/ember-cli/engine.rb
module EmberCLI
class Engine < Rails::Engine
initializer "ember-cli-rails.view_helpers" do
ActionView::Base.send :include, ViewHelpers
end
initializer "ember-cli-rails.inflector" do
if Rails.version > "3.2"
ActiveSupport::Inflector.inflecti... | c754ae0654b9aff24473ed5c8e4e5cd6964ccd8a | lib/ember-cli/engine.rb | lib/ember-cli/engine.rb | Ruby |
<|file_sep|>BHCDatabase/test/controllers/funders_controller_test.rb.diff
original:
get funders_index_url
updated:
get funders_url
<|file_sep|>BHCDatabase/test/controllers/funders_controller_test.rb.diff
original:
test "should get show" do
get funders_show_url
updated:
test "should get one" do
one = ... | assert_response :success
end
test "should get one" do
one = funders(:one)
get funder_url(one)
assert_response :success
end
test "should get new" do
get new_funder_url
assert_response :success
end
test "should get edit" do
one = funders(:one)
get edit_funder_url(one)
as... | <|file_sep|>BHCDatabase/test/controllers/funders_controller_test.rb.diff
original:
get funders_index_url
updated:
get funders_url
<|file_sep|>BHCDatabase/test/controllers/funders_controller_test.rb.diff
original:
test "should get show" do
get funders_show_url
updated:
test "should get one" do
one = ... | 8a5ecd7d82d9db8ddd7cb7cf37c792941ba1c579 | BHCDatabase/test/controllers/funders_controller_test.rb | BHCDatabase/test/controllers/funders_controller_test.rb | Ruby |
<|file_sep|>original/src/test/codegen/panic-in-drop-abort.rs
<|file_sep|>current/src/test/codegen/panic-in-drop-abort.rs
<|file_sep|>updated/src/test/codegen/panic-in-drop-abort.rs | // compile-flags: -Z panic-in-drop=abort -O
// Ensure that unwinding code paths are eliminated from the output after
// optimization.
#![crate_type = "lib"]
use std::any::Any;
use std::mem::forget;
pub struct ExternDrop;
impl Drop for ExternDrop {
#[inline(always)]
fn drop(&mut self) {
// This call m... | <|file_sep|>original/src/test/codegen/panic-in-drop-abort.rs
<|file_sep|>current/src/test/codegen/panic-in-drop-abort.rs
<|file_sep|>updated/src/test/codegen/panic-in-drop-abort.rs
// compile-flags: -Z panic-in-drop=abort -O
// Ensure that unwinding code paths are eliminated from the output after
// optimization.
#... | 5862a0004a65e32ea3a36d33c52e305cd75a69fe | src/test/codegen/panic-in-drop-abort.rs | src/test/codegen/panic-in-drop-abort.rs | Rust |
<|file_sep|>original/Training/DataGenerator/OszArchive.cs
<|file_sep|>current/Training/DataGenerator/OszArchive.cs
<|file_sep|>updated/Training/DataGenerator/OszArchive.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
namespace Meowtrix.osuAMT.Training.DataGenerator
{
class OszArchive : Archive, IDisposable
{
public ZipArchive archive;
public OszArchive(Stream stream)
{
archi... | <|file_sep|>original/Training/DataGenerator/OszArchive.cs
<|file_sep|>current/Training/DataGenerator/OszArchive.cs
<|file_sep|>updated/Training/DataGenerator/OszArchive.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
namespace Meowtrix.osuAMT.Train... | bc99bed0388d2d5691915943e5307144e2ba953c | Training/DataGenerator/OszArchive.cs | Training/DataGenerator/OszArchive.cs | C# |
<|file_sep|>original/lib/composite_logging/logger_builder.rb
@logger_class = logger_class
@formatter_attrs = {}
@logger_attrs = {}
instance_eval(&block)
end
def build
logger = @logger_class.new(*@output_args)
logger.formatter = @formatter_class.new(@formatter_attrs) if @for... | @logger_class = logger_class
@formatter_attrs = {}
@logger_attrs = {}
instance_eval(&block)
end
def build
logger = @logger_class.new(*@output_args)
logger.formatter = @formatter_class.new(@formatter_attrs) if @formatter_class
@logger_attrs.each { |k,v| logger.send("#{... | <|file_sep|>original/lib/composite_logging/logger_builder.rb
@logger_class = logger_class
@formatter_attrs = {}
@logger_attrs = {}
instance_eval(&block)
end
def build
logger = @logger_class.new(*@output_args)
logger.formatter = @formatter_class.new(@formatter_attrs) if @for... | 8ad47b5fcddcd3d9e699a6f96c3617235ee29852 | lib/composite_logging/logger_builder.rb | lib/composite_logging/logger_builder.rb | Ruby |
<|file_sep|>original/lib/watch_tower/appscript.rb
require 'rubygems'
require 'appscript'
rescue LoadError
require 'rbconfig'
if RbConfig::CONFIG['target_os'] =~ /darwin/i
STDERR.puts "Please install 'appscript' to use this gem with Textmate"
STDERR.puts "gem install appscript"
end
# Define a simple ... | if RbConfig::CONFIG['target_os'] =~ /darwin/i
STDERR.puts "Please install 'appscript' to use this gem with Textmate"
STDERR.puts "gem install appscript"
end
# Define a simple class so the gem works even if Appscript is not installed
module ::Appscript
class Application
def is_running?
... | <|file_sep|>original/lib/watch_tower/appscript.rb
require 'rubygems'
require 'appscript'
rescue LoadError
require 'rbconfig'
if RbConfig::CONFIG['target_os'] =~ /darwin/i
STDERR.puts "Please install 'appscript' to use this gem with Textmate"
STDERR.puts "gem install appscript"
end
# Define a simple ... | 2d869ed3701264700cae7d27995c03b823c66ccd | lib/watch_tower/appscript.rb | lib/watch_tower/appscript.rb | Ruby |
<|file_sep|>original/setup.py
#!/usr/bin/env python
from setuptools import setup, find_packages
# Get version string
with open('gdx2py/version.py') as f: exec(f.read())
setup(name='GDX2py',
version=__version__,
author='Erkka Rinne',
author_email='erkka.rinne@vtt.fi',
description='Read and wri... | #!/usr/bin/env python
from setuptools import setup, find_packages
# Get version string
with open('gdx2py/version.py') as f: exec(f.read())
setup(name='GDX2py',
version=__version__,
author='Erkka Rinne',
author_email='erkka.rinne@vtt.fi',
description='Read and write GAMS Data eXchange (GDX) fi... | <|file_sep|>original/setup.py
#!/usr/bin/env python
from setuptools import setup, find_packages
# Get version string
with open('gdx2py/version.py') as f: exec(f.read())
setup(name='GDX2py',
version=__version__,
author='Erkka Rinne',
author_email='erkka.rinne@vtt.fi',
description='Read and wri... | 072f69edbb0ee959ff3a6a5ca8e3ac6d2e9d45ad | setup.py | setup.py | Python |
<|file_sep|>original/CONTRIBUTING.md
## Contributing
Send a PR adding or updating records in `./data/shared_hosts.yml`, listing which versions of PHP they support, and which
version is installed by default when new plans are created.
If you do not know the exact patch version then use `??`, but please try to contri... | ## Contributing
We use Jekyll for this, which yep, trollolol is Jekyll. This is done purely because GitHub Pages isis free and easy, and who cares.
## Getting Started
* [Install](http://jekyllrb.com/docs/installation/) the `jekyll` gem
* Read up about its [Usage](http://jekyllrb.com/docs/usage/) and [Configuration](... | <|file_sep|>original/CONTRIBUTING.md
## Contributing
Send a PR adding or updating records in `./data/shared_hosts.yml`, listing which versions of PHP they support, and which
version is installed by default when new plans are created.
If you do not know the exact patch version then use `??`, but please try to contri... | 7a1d82c1999d0bb6f1f90c04af8506ad344576cb | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>js/game-renderer.js.diff
original:
var len = this.entities.length;
var i;
var entity;
updated:
<|file_sep|>original/js/game-renderer.js
var GameRenderer = function (canvas, entities) {
this.canvas = canvas;
this.entities = entities;
this.gc = this.canvas.getContext('2d');
};
... |
var GameRenderer = function (canvas, entities) {
this.canvas = canvas;
this.entities = entities;
this.gc = this.canvas.getContext('2d');
};
GameRenderer.prototype.paint = function paint() {
this.gc.fillStyle = '#002b36';
this.gc.fillRect(0, 0, this.canvas.width, this.canvas.height);
cons... | <|file_sep|>js/game-renderer.js.diff
original:
var len = this.entities.length;
var i;
var entity;
updated:
<|file_sep|>original/js/game-renderer.js
var GameRenderer = function (canvas, entities) {
this.canvas = canvas;
this.entities = entities;
this.gc = this.canvas.getContext('2d');
};
... | 2f82d5935143783846bf6c6c1fb359069438820e | js/game-renderer.js | js/game-renderer.js | JavaScript |
<|file_sep|>original/roles/dosomething.vagrant/tasks/main.yml
- name: Setup welcome message
become: yes
template: >
src=etc/motd.j2
dest=/etc/update-motd.d/60-dosomething
mode="u=rwx,g=rx,o=rx"
- name: Add custom vagrant hosts
become: yes
lineinfile: >
dest=/etc/hosts
line="{{ item }}"
wi... | become: yes
template: >
src=etc/motd.j2
dest=/etc/update-motd.d/60-dosomething
mode="u=rwx,g=rx,o=rx"
- name: Add custom vagrant hosts
become: yes
lineinfile: >
dest=/etc/hosts
line="{{ item }}"
with_items:
- "10.0.2.2 northstar.dev"
- "10.0.2.2 rogue.dev"
- name: Install NFS too... | <|file_sep|>original/roles/dosomething.vagrant/tasks/main.yml
- name: Setup welcome message
become: yes
template: >
src=etc/motd.j2
dest=/etc/update-motd.d/60-dosomething
mode="u=rwx,g=rx,o=rx"
- name: Add custom vagrant hosts
become: yes
lineinfile: >
dest=/etc/hosts
line="{{ item }}"
wi... | c0827d5828329dfdf5202b8b48ec9f1b9c72fe50 | roles/dosomething.vagrant/tasks/main.yml | roles/dosomething.vagrant/tasks/main.yml | YAML |
<|file_sep|>original/src/app/components/inline-assessment/comment-assessment.component.ts
<textarea placeholder="máximo 250 caracteres ..." maxlength="250" style="width: 100%"></textarea>
<button class="btn btn-success btn-block">Aceptar</button>
</div>
</div>
`,
styles... | <textarea placeholder="máximo 250 caracteres ..." maxlength="250" style="width: 100%"></textarea>
<button class="btn btn-success btn-block">Aceptar</button>
</div>
</div>
`,
styles: [`
.hideOverflow{
overflow:hidden;
white-space:nowrap;
... | <|file_sep|>original/src/app/components/inline-assessment/comment-assessment.component.ts
<textarea placeholder="máximo 250 caracteres ..." maxlength="250" style="width: 100%"></textarea>
<button class="btn btn-success btn-block">Aceptar</button>
</div>
</div>
`,
styles... | 34d48853c1a8fe845d9cfac5cd137207325ddea3 | src/app/components/inline-assessment/comment-assessment.component.ts | src/app/components/inline-assessment/comment-assessment.component.ts | TypeScript |
<|file_sep|>astrobin_apps_platesolving/utils.py.diff
original:
updated:
def encoded(path):
return urllib2.quote(path.encode('utf-8'))
<|file_sep|>astrobin_apps_platesolving/utils.py.diff
original:
updated:
<|file_sep|>astrobin_apps_platesolving/utils.py.diff
original:
url = url.split('://')[1]
u... | def getFromStorage(image, alias):
def encoded(path):
return urllib2.quote(path.encode('utf-8'))
url = image.thumbnail(alias)
if "://" in url:
# We are getting the full path and must only encode the part after the protocol
# (we assume that the hostname is ASCII)
protocol, p... | <|file_sep|>astrobin_apps_platesolving/utils.py.diff
original:
updated:
def encoded(path):
return urllib2.quote(path.encode('utf-8'))
<|file_sep|>astrobin_apps_platesolving/utils.py.diff
original:
updated:
<|file_sep|>astrobin_apps_platesolving/utils.py.diff
original:
url = url.split('://')[1]
u... | 40897be402bd05ed5fb53e116f03d2d954720245 | astrobin_apps_platesolving/utils.py | astrobin_apps_platesolving/utils.py | Python |
<|file_sep|>api-guide/source/microversions.rst.diff
original:
API v2.1 supports Microversions. User uses Microversions to discover the
supported API version in the cloud. If cloud is upgraded to support newer
versions, it will still support all older versions to maintain the backward
compatibility for users using older... | API v2.1 supports Microversions: small, documented changes to the API. A user
can use Microversions to discover the latest API version supported in their
cloud. A cloud that is upgraded to support newer versions will still support
all older versions to maintain the backward compatibility for those users who
depend on o... | <|file_sep|>api-guide/source/microversions.rst.diff
original:
API v2.1 supports Microversions. User uses Microversions to discover the
supported API version in the cloud. If cloud is upgraded to support newer
versions, it will still support all older versions to maintain the backward
compatibility for users using older... | 231c9a1589b5dafdcdd91237746ec850c6472023 | api-guide/source/microversions.rst | api-guide/source/microversions.rst | reStructuredText |
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
## Checklist
<!-- Either add an X inside the [ ], or submit the PR and click the checkboxes. -->
- [ ] I claimed any associated issue(s) and they are not someone else's
- [ ] I have looked at documentation to ensure I made any revisions correctly
-... |
## (If editing Django app) Please add screenshots
<!-- Please copy screenshots, then replace this line by pasting screenshots here -->
<!-- If this doesn't apply, you can delete this header and section. -->
## Checklist
<!-- Either add an X inside the [ ], or submit the PR and click the checkboxes. -->
- [ ] I cl... | <|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
## Checklist
<!-- Either add an X inside the [ ], or submit the PR and click the checkboxes. -->
- [ ] I claimed any associated issue(s) and they are not someone else's
- [ ] I have looked at documentation to ensure I made any revisions correctly
-... | 0bbd617552f4814d36cb7cd0b182dd5004496e8e | .github/PULL_REQUEST_TEMPLATE.md | .github/PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>test/test-init.sh.diff
original:
updated:
tmphome="$(basename "$0" ".sh")"
mkdir -p $tmphome
cp $HOME/.gitconfig $tmphome/
HOME=$PWD/$tmphome
cd $HOME
<|file_sep|>original/test/test-init.sh
begin_test "init with old settings"
(
set -e
git config --global filter.lfs.smudge "git lfs smudge %f... |
[ "git-lfs smudge %f" = "$(git config filter.lfs.smudge)" ]
[ "git-lfs clean %f" = "$(git config filter.lfs.clean)" ]
)
end_test
begin_test "init with old settings"
(
set -e
tmphome="$(basename "$0" ".sh")"
mkdir -p $tmphome
HOME=$PWD/$tmphome
cd $HOME
git config --global filter.lfs.smudge "git lfs ... | <|file_sep|>test/test-init.sh.diff
original:
updated:
tmphome="$(basename "$0" ".sh")"
mkdir -p $tmphome
cp $HOME/.gitconfig $tmphome/
HOME=$PWD/$tmphome
cd $HOME
<|file_sep|>original/test/test-init.sh
begin_test "init with old settings"
(
set -e
git config --global filter.lfs.smudge "git lfs smudge %f... | c97c5dc3351eb54d4b7eecbd3b715437a9c96f9c | test/test-init.sh | test/test-init.sh | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.