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|>.codeclimate.yml.diff
original:
- ruby
updated:
<|file_sep|>.codeclimate.yml.diff
original:
- python
updated:
<|file_sep|>.codeclimate.yml.diff
original:
- "**.inc"
updated:
<|file_sep|>.codeclimate.yml.diff
original:
- "**.jsx"
- "**.module"
updated:
<|file_sep|>original/.codeclimate.... | - php
fixme:
enabled: true
phpmd:
enabled: true
checks:
Controversial/CamelCaseParameterName:
enabled: false
Controversial/CamelCasePropertyName:
enabled: false
Controversial/CamelCaseVariableName:
enabled: false
Naming/LongVariable:
enabled:... | <|file_sep|>.codeclimate.yml.diff
original:
- ruby
updated:
<|file_sep|>.codeclimate.yml.diff
original:
- python
updated:
<|file_sep|>.codeclimate.yml.diff
original:
- "**.inc"
updated:
<|file_sep|>.codeclimate.yml.diff
original:
- "**.jsx"
- "**.module"
updated:
<|file_sep|>original/.codeclimate.... | c2d11382eba5413c9228612ace3dc644d5a9b943 | .codeclimate.yml | .codeclimate.yml | YAML |
<|file_sep|>original/phpunit.xml
<|file_sep|>current/phpunit.xml
<|file_sep|>updated/phpunit.xml | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure=... | <|file_sep|>original/phpunit.xml
<|file_sep|>current/phpunit.xml
<|file_sep|>updated/phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
... | 579ed55c34b6082098640d5ee20ecfd42f5e7e5e | phpunit.xml | phpunit.xml | XML |
<|file_sep|>original/src/main/java/com/solsticesquared/schelling/utility/UtilityEvaluator.java
<|file_sep|>current/src/main/java/com/solsticesquared/schelling/utility/UtilityEvaluator.java
<|file_sep|>updated/src/main/java/com/solsticesquared/schelling/utility/UtilityEvaluator.java | /*
* Copyright 2016 Will Knez <wbknez.dev@gmail.com>
*
* 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 applica... | <|file_sep|>original/src/main/java/com/solsticesquared/schelling/utility/UtilityEvaluator.java
<|file_sep|>current/src/main/java/com/solsticesquared/schelling/utility/UtilityEvaluator.java
<|file_sep|>updated/src/main/java/com/solsticesquared/schelling/utility/UtilityEvaluator.java
/*
* Copyright 2016 Will Knez <wbk... | 9e63f53083c64e26eeaeb5f712646d51c518a2a8 | src/main/java/com/solsticesquared/schelling/utility/UtilityEvaluator.java | src/main/java/com/solsticesquared/schelling/utility/UtilityEvaluator.java | Java |
<|file_sep|>original/Casks/azure-cli.rb
<|file_sep|>current/Casks/azure-cli.rb
<|file_sep|>updated/Casks/azure-cli.rb | cask :v1 => 'azure-cli' do
version :latest
sha256 :no_check
url 'http://go.microsoft.com/fwlink/?linkid=252249&clcid=0x409'
name 'Microsoft Azure SDK'
homepage 'http://azure.microsoft.com/en-us/documentation/articles/command-line-tools/'
license :gratis
tags :vendor => 'Microsoft'
pkg 'Install Command... | <|file_sep|>original/Casks/azure-cli.rb
<|file_sep|>current/Casks/azure-cli.rb
<|file_sep|>updated/Casks/azure-cli.rb
cask :v1 => 'azure-cli' do
version :latest
sha256 :no_check
url 'http://go.microsoft.com/fwlink/?linkid=252249&clcid=0x409'
name 'Microsoft Azure SDK'
homepage 'http://azure.microsoft.com/e... | 10bb05f6b73ccfeebe86eccd2ef75ad7b469e34b | Casks/azure-cli.rb | Casks/azure-cli.rb | Ruby |
<|file_sep|>original/.github/release-drafter.yml
version-resolver:
major:
labels:
- "major"
minor:
labels:
- "minor"
patch:
labels:
- "patch"
default: patch
template: |
## Installation
The Third Coast `vendordeps` file is at: http://maven.strykeforce.org/thirdcoast.json
To ... | minor:
labels:
- "minor"
patch:
labels:
- "patch"
default: patch
template: |
## Installation
The Third Coast `vendordeps` file is at: http://maven.strykeforce.org/thirdcoast.json
To install, use **Install new libraries (online)** in VS Code or download manually to your project `vendord... | <|file_sep|>original/.github/release-drafter.yml
version-resolver:
major:
labels:
- "major"
minor:
labels:
- "minor"
patch:
labels:
- "patch"
default: patch
template: |
## Installation
The Third Coast `vendordeps` file is at: http://maven.strykeforce.org/thirdcoast.json
To ... | 0f1ca99984de1b8d421475e7ac5714f954aa4945 | .github/release-drafter.yml | .github/release-drafter.yml | YAML |
<|file_sep|>original/client/app.js
'focus',
'confirmExit',
'ngDebounce',
'ngAnimate',
'xeditable',
'angularBootstrapNavTree'
]);
app.config(['$httpProvider', function ($httpProvider) {
// Add support for HTTP PATCH verb for sending partial updates.
$httpProvider.defaults.headers.patch =... | 'confirmExit',
'ngDebounce',
'ngAnimate',
'xeditable',
'angularBootstrapNavTree'
]);
app.config(['$httpProvider', function ($httpProvider) {
// Add support for HTTP PATCH verb for sending partial updates.
$httpProvider.defaults.headers.patch = {
'Content-Type': 'application/json;cha... | <|file_sep|>original/client/app.js
'focus',
'confirmExit',
'ngDebounce',
'ngAnimate',
'xeditable',
'angularBootstrapNavTree'
]);
app.config(['$httpProvider', function ($httpProvider) {
// Add support for HTTP PATCH verb for sending partial updates.
$httpProvider.defaults.headers.patch =... | 7a47339b59d2aff9e4da91d37b46721876ecd6e6 | client/app.js | client/app.js | JavaScript |
<|file_sep|>original/src/style/flatpickr.styl
$calendar_background = #ffffff
$calendar_border_color = #e6e6e6
$months_color = alpha(black, 0.9)
$months_background = transparent
$weekdays_background = transparent
$day_text_color = #393939
$day_hover_background_color = #e6e6e6
$today_color = #f99595
$selected_day_ba... | $calendar_background = #ffffff
$calendar_border_color = #e6e6e6
$months_color = alpha(black, 0.9)
$months_background = transparent
$weekdays_background = transparent
$day_text_color = #393939
$day_hover_background_color = #e6e6e6
$today_color = #f99595
$selected_day_background = #3da3f3
@import "flatpickr_base" | <|file_sep|>original/src/style/flatpickr.styl
$calendar_background = #ffffff
$calendar_border_color = #e6e6e6
$months_color = alpha(black, 0.9)
$months_background = transparent
$weekdays_background = transparent
$day_text_color = #393939
$day_hover_background_color = #e6e6e6
$today_color = #f99595
$selected_day_ba... | c17ae2801cb3884884dfa642e2e5aedb91110455 | src/style/flatpickr.styl | src/style/flatpickr.styl | Stylus |
<|file_sep|>original/hack/build-func-tests.sh
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permiss... | # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Copyright 2017 Red Hat, Inc.
#
set -e
source hack/common.sh
source h... | <|file_sep|>original/hack/build-func-tests.sh
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permiss... | 60ff0ed354e0e2d9bffe464e3216ca7b3211cede | hack/build-func-tests.sh | hack/build-func-tests.sh | Shell |
<|file_sep|>original/culturefeed_calendar/theme/culturefeed-calendar-button.tpl.php
<?php
/**
* @file
* Template for the calendar add or view buttons.
* Leave the wrapper div class + print classes + data-eventid, as it is used for javascript.
*/
?>
<div class="<?php print $classes; ?>" data-eventid="<?php print $e... | <?php
/**
* @file
* Template for the calendar add or view buttons.
* Leave the wrapper div class + print classes + data-eventid, as it is used for javascript.
*/
?>
<div class="<?php print $classes; ?>" data-eventid="<?php print $event_id; ?>">
<?php if ($started) : ?>
<?php print t('This event is already st... | <|file_sep|>original/culturefeed_calendar/theme/culturefeed-calendar-button.tpl.php
<?php
/**
* @file
* Template for the calendar add or view buttons.
* Leave the wrapper div class + print classes + data-eventid, as it is used for javascript.
*/
?>
<div class="<?php print $classes; ?>" data-eventid="<?php print $e... | 0b055ab77fa68e7f3d8bbd7e0ddf3405d768037d | culturefeed_calendar/theme/culturefeed-calendar-button.tpl.php | culturefeed_calendar/theme/culturefeed-calendar-button.tpl.php | PHP |
<|file_sep|>CefSharp.Wpf.Example/Handlers/MenuHandler.cs.diff
original:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
updated:
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found ... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp.Wpf.Example.Handlers
{
public class MenuHandler : IMenuHandler
{
public bool OnBeforeContextMenu... | <|file_sep|>CefSharp.Wpf.Example/Handlers/MenuHandler.cs.diff
original:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
updated:
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found ... | e6e85f67eb20dc105e1b75dcbb3a8eb67d61d83d | CefSharp.Wpf.Example/Handlers/MenuHandler.cs | CefSharp.Wpf.Example/Handlers/MenuHandler.cs | C# |
<|file_sep|>original/conda.recipe/build.sh
if [ "$(uname)" == "Darwin" ]; then
# C++11 finagling for Mac OSX
export CC=clang
export CXX=clang++
export MACOSX_VERSION_MIN="10.9"
CXXFLAGS="${CXXFLAGS} -mmacosx-version-min=${MACOSX_VERSION_MIN}"
CXXFLAGS="${CXXFLAGS} -Wno-error=unused-command-line-argument"
... | # make sure clang-format is installed
# e.g. brew install clang-format
# make sure autoreconf can be found
# e.g. brew install autoconf
# for graphviz, also brew install autogen libtool
fi
make install PREFIX=$PREFIX
# add the /util directory to the PATH inside this conda env
# http://conda.pydata.org/doc... | <|file_sep|>original/conda.recipe/build.sh
if [ "$(uname)" == "Darwin" ]; then
# C++11 finagling for Mac OSX
export CC=clang
export CXX=clang++
export MACOSX_VERSION_MIN="10.9"
CXXFLAGS="${CXXFLAGS} -mmacosx-version-min=${MACOSX_VERSION_MIN}"
CXXFLAGS="${CXXFLAGS} -Wno-error=unused-command-line-argument"
... | e859feaed2e814ea26b19179f706f365323523d7 | conda.recipe/build.sh | conda.recipe/build.sh | Shell |
<|file_sep|>original/web/app/components/Wallet/BalanceClaimAssetTotal.jsx
return props
}
render() {
var total_by_asset = this.props.balances
.groupBy( v => v.balance.asset_id )
.map( l => l.reduce( (r,v) => r + Number(v.balance.amount), 0 ))
if( ! t... | return props
}
render() {
var total_by_asset = this.props.balances
.groupBy( v => v.balance.asset_id )
.map( l => l.reduce( (r,v) => r + Number(v.balance.amount), 0 ))
if( ! total_by_asset.size)
return <div>No balances to claim</div>
... | <|file_sep|>original/web/app/components/Wallet/BalanceClaimAssetTotal.jsx
return props
}
render() {
var total_by_asset = this.props.balances
.groupBy( v => v.balance.asset_id )
.map( l => l.reduce( (r,v) => r + Number(v.balance.amount), 0 ))
if( ! t... | 0cc601758dfd01b3f6dd413d356e90988f2821cb | web/app/components/Wallet/BalanceClaimAssetTotal.jsx | web/app/components/Wallet/BalanceClaimAssetTotal.jsx | JSX |
<|file_sep|>original/.circleci/config.yml
version: 2
jobs:
checkout_code:
docker:
- image: circleci/node:lts
steps:
- checkout
- persist_to_workspace:
root: .
paths: .
javascript:
docker:
- image: circleci/node:lts
working_directory: ~/material-ui-pickers... | version: 2
jobs:
checkout_code:
docker:
- image: circleci/node:lts
working_directory: ~/material-ui-pickers
steps:
- checkout
- persist_to_workspace:
root: .
paths: .
javascript:
docker:
- image: circleci/node:lts
working_directory: ~/material-ui-pick... | <|file_sep|>original/.circleci/config.yml
version: 2
jobs:
checkout_code:
docker:
- image: circleci/node:lts
steps:
- checkout
- persist_to_workspace:
root: .
paths: .
javascript:
docker:
- image: circleci/node:lts
working_directory: ~/material-ui-pickers... | d70447904b7b184e2b4fd4220b615424154cf806 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/test/run_test.sh
num=$2
v=$(printf "%-${num}s" "$str")
printf "${v// / }"
}
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
COMMAND=$1
CHRLEN=${#COMMAND}
NBSP=`echo 32-${CHRLEN}|bc`
printf "Run $1"
printf_new " " $NBSP
$1 $2 $3 $4 $5 $6 $7 $8 $9 1>$1.log 2>&1
if [ $? -ne 0 ]
then... | num=$2
v=$(printf "%-${num}s" "$str")
printf "${v// / }"
}
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
COMMAND=$1
CHRLEN=${#COMMAND}
NBSP=$((32-$CHRLEN))
printf "Run $1"
printf_new " " $NBSP
$1 $2 $3 $4 $5 $6 $7 $8 $9 1>$1.log 2>&1
if [ $? -ne 0 ]
then
printf "${RED}FAIL${NC}\n"
else | <|file_sep|>original/test/run_test.sh
num=$2
v=$(printf "%-${num}s" "$str")
printf "${v// / }"
}
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
COMMAND=$1
CHRLEN=${#COMMAND}
NBSP=`echo 32-${CHRLEN}|bc`
printf "Run $1"
printf_new " " $NBSP
$1 $2 $3 $4 $5 $6 $7 $8 $9 1>$1.log 2>&1
if [ $? -ne 0 ]
then... | 9ea8387474e3137caecddf7a47db2918a8cd1663 | test/run_test.sh | test/run_test.sh | Shell |
<|file_sep|>Helper/CacheTags.php.diff
original:
updated:
// <= 2.1.*
<|file_sep|>original/Helper/CacheTags.php
class CacheTags extends AbstractHelper
{
/**
* Replaces long Magento Cache tags with a shorter version
*
* @param string
* @return string
*/
public function conver... | * @return string
*/
public function convertCacheTags($tags)
{
$fastlyTags = array(
// <= 2.1.*
'catalog_product_' => 'p',
'catalog_category_' => 'c',
'cms_page' => 'cpg',
'cms_block' => 'cb',
// > 2.2.*
'cat_p... | <|file_sep|>Helper/CacheTags.php.diff
original:
updated:
// <= 2.1.*
<|file_sep|>original/Helper/CacheTags.php
class CacheTags extends AbstractHelper
{
/**
* Replaces long Magento Cache tags with a shorter version
*
* @param string
* @return string
*/
public function conver... | 70a6951c4d8de45a6d5702dec9cc8c305c73b4c2 | Helper/CacheTags.php | Helper/CacheTags.php | PHP |
<|file_sep|>src/markdown-it-incremental-dom.js.diff
original:
(Object.assign(Object.create(Object.getPrototypeOf(base)), base, mixin))
updated:
Object.assign(Object.create(Object.getPrototypeOf(base)), base, mixin)
<|file_sep|>src/markdown-it-incremental-dom.js.diff
original:
((!incrementalDOM && typeof window !=... |
export default function (md, target, opts = {}) {
const options = { incrementalizeDefaultRules: true, ...opts }
const incrementalDOM = processIncrementalDOMArgument(target)
const mixin = rendererMixin(incrementalDOM)
const render = function (method, src, env) {
const renderer = mixinTo(this.renderer, mixi... | <|file_sep|>src/markdown-it-incremental-dom.js.diff
original:
(Object.assign(Object.create(Object.getPrototypeOf(base)), base, mixin))
updated:
Object.assign(Object.create(Object.getPrototypeOf(base)), base, mixin)
<|file_sep|>src/markdown-it-incremental-dom.js.diff
original:
((!incrementalDOM && typeof window !=... | 7efc71319b0d22b2a30a174d3cfa7d984200105f | src/markdown-it-incremental-dom.js | src/markdown-it-incremental-dom.js | JavaScript |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.0
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.0
pyaudio==0.2.11
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3... | pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.0
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.1
pyaudio==0.2.11 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.0
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.0
pyaudio==0.2.11
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3... | 1bdadb26dccf7d95d970eff0acbbb3a501ac2393 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/metadata/it.skarafaz.mercury.txt
[https://github.com/Skarafaz/mercury/wiki the wiki documentation].
.
Repo Type:git
Repo:https://github.com/Skarafaz/mercury
Build:1.0.0,1
commit=v1.0.0
subdir=app
gradle=yes
Build:1.0.1,2
disable=material dialogs lib not in jcenter
commit=v1.0... |
Build:1.0.0,1
commit=v1.0.0
subdir=app
gradle=yes
Build:1.0.1,2
disable=material dialogs lib not in jcenter
commit=v1.0.1
subdir=app
gradle=yes
Build:1.1.0,3
commit=v1.1.0
subdir=app
gradle=yes
Auto Update Mode:None
Update Check Mode:Tags
Current Version:1.1.0
Current Version... | <|file_sep|>original/metadata/it.skarafaz.mercury.txt
[https://github.com/Skarafaz/mercury/wiki the wiki documentation].
.
Repo Type:git
Repo:https://github.com/Skarafaz/mercury
Build:1.0.0,1
commit=v1.0.0
subdir=app
gradle=yes
Build:1.0.1,2
disable=material dialogs lib not in jcenter
commit=v1.0... | 9643a2f092c1066cd82d1f665b7fb02163f876d8 | metadata/it.skarafaz.mercury.txt | metadata/it.skarafaz.mercury.txt | Text |
<|file_sep|>original/cloudbuild.json
{
"steps": [
{
"name": "node:10.10.0",
"entrypoint": "npm",
"args": ["install"]
},
{
"name": "node:10.10.0",
"args": ["bash", "./scripts/test"]
}
]
}
<|file_sep|>current/cloudbuild.json
{
"steps": [
{
"name": "node:10.10.... | {
"steps": [
{
"name": "node:10.10.0",
"args": ["bash", "./scripts/test"]
}
]
} | <|file_sep|>original/cloudbuild.json
{
"steps": [
{
"name": "node:10.10.0",
"entrypoint": "npm",
"args": ["install"]
},
{
"name": "node:10.10.0",
"args": ["bash", "./scripts/test"]
}
]
}
<|file_sep|>current/cloudbuild.json
{
"steps": [
{
"name": "node:10.10.... | 37945d223221069736ab49ca73d6b8ae4b50699f | cloudbuild.json | cloudbuild.json | JSON |
<|file_sep|>original/README.md
First install rethinkdb: https://rethinkdb.com/docs/install/
Start in root directory of repository:
```
git submodule update --init
sudo apt-get install libyaml-dev gnupg libffi-dev build-essential python3 python3-pip # or equivalent for your distro
sudo pip3 install virtualenv # if you... |
Start in root directory of repository:
```
git submodule update --init
sudo apt-get install libyaml-dev gnupg libffi-dev build-essential python3 python3-pip # or equivalent for your distro
sudo pip3 install virtualenv # if you dont have it
virtualenv -p python3 env
source env/bin/activate
pip3 install -r requirements... | <|file_sep|>original/README.md
First install rethinkdb: https://rethinkdb.com/docs/install/
Start in root directory of repository:
```
git submodule update --init
sudo apt-get install libyaml-dev gnupg libffi-dev build-essential python3 python3-pip # or equivalent for your distro
sudo pip3 install virtualenv # if you... | 6131a0c86b512921a76b3c9b89619bb4b76ce91e | README.md | README.md | Markdown |
<|file_sep|>original/README.md
</p>
# OSCCore
This is a tiny module that implements [OpenSoundControl](http://opensoundcontrol.org/spec-1_0) protocol in pure Swift.
Currently only OSX is supported but Linux support is on the way (see Issue #1).
## Roadmap
- [x] Type conversion (Convert numeric and String types to O... |
# OSCCore
This is a tiny module that implements [OpenSoundControl](http://opensoundcontrol.org/spec-1_0) protocol in pure Swift.
Currently only OSX is supported but Linux support is on the way (see Issue #1).
## Roadmap
- [x] Type conversion (Convert numeric and String types to OSC packets and back)
- [x] Build OSC... | <|file_sep|>original/README.md
</p>
# OSCCore
This is a tiny module that implements [OpenSoundControl](http://opensoundcontrol.org/spec-1_0) protocol in pure Swift.
Currently only OSX is supported but Linux support is on the way (see Issue #1).
## Roadmap
- [x] Type conversion (Convert numeric and String types to O... | 4c1045fa7a058a112402683d7dbe8cfa6891a7b2 | README.md | README.md | Markdown |
<|file_sep|>resources/views/admin/testers_index.blade.php.diff
original:
updated:
<p>Click on a name to edit</p>
<|file_sep|>resources/views/admin/testers_index.blade.php.diff
original:
<td>{{ $tester->name }}</td>
<form action="/admin/testers/{{ $tester->id }}/edit" method="POST">
<button type="submit">Edit... | <tr>
@foreach ($chunk as $tester)
<td>{{ $tester->id }}</td>
<td><a href="/admin/testers/{{ $tester->id }}/edit">{{ $tester->name }}</a></td>
@endforeach
</tr>
@endforeach
</tbody>
</table>
<h2>Add a Tester</h2>
<!-- Add a new tester -->
<form class="form-inline" action="/admin/testers" method="POST">
... | <|file_sep|>resources/views/admin/testers_index.blade.php.diff
original:
updated:
<p>Click on a name to edit</p>
<|file_sep|>resources/views/admin/testers_index.blade.php.diff
original:
<td>{{ $tester->name }}</td>
<form action="/admin/testers/{{ $tester->id }}/edit" method="POST">
<button type="submit">Edit... | 2b97b9c4e6cd4a99a03c868196b0c77aef8c6d1a | resources/views/admin/testers_index.blade.php | resources/views/admin/testers_index.blade.php | PHP |
<|file_sep|>original/puppet/modules/postfix/templates/virtual.erb
root <%= @network["admin_mail_forward"] %>
jenkins <%= @network["admin_mail_forward"] %>
backup <%= @network["admin_mail_forward"] %>
gerrit <%= @network["admin_mail_forward"] %>
admin <%= @network["admin_mail_forward"] %>
<|file_sep|>current/pupp... | root <%= @network["admin_mail_forward"] %>
jenkins <%= @network["admin_mail_forward"] %>
backup <%= @network["admin_mail_forward"] %>
gerrit <%= @network["admin_mail_forward"] %>
admin <%= @network["admin_mail_forward"] %>
dev-robot <%= @network["admin_mail_forward"] %> | <|file_sep|>original/puppet/modules/postfix/templates/virtual.erb
root <%= @network["admin_mail_forward"] %>
jenkins <%= @network["admin_mail_forward"] %>
backup <%= @network["admin_mail_forward"] %>
gerrit <%= @network["admin_mail_forward"] %>
admin <%= @network["admin_mail_forward"] %>
<|file_sep|>current/pupp... | d087a7b01edb7a010a809e99506d8a5e2ab5ce35 | puppet/modules/postfix/templates/virtual.erb | puppet/modules/postfix/templates/virtual.erb | HTML+ERB |
<|file_sep|>original/Units/RoutingUnit.php
class RoutingUnit extends UnitBase {
/**
* {@inheritdoc}
*/
protected $requires = array('Request');
/**
* {@inheritdoc}
*/
public function run(App $app, Document $config) {
$app->m->routing = new Routing($app, false);
$app->m->routing->dispa... | */
protected $requires = array('Request');
/**
* {@inheritdoc}
*/
public function run(App $app, Document $config) {
$app->m->routing = new Routing($app, false);
$app->m->routing->dispatchers->add(
new ActionDispatcher($app)
);
$app->m->routing->dispatchers->add(
new S... | <|file_sep|>original/Units/RoutingUnit.php
class RoutingUnit extends UnitBase {
/**
* {@inheritdoc}
*/
protected $requires = array('Request');
/**
* {@inheritdoc}
*/
public function run(App $app, Document $config) {
$app->m->routing = new Routing($app, false);
$app->m->routing->dispa... | c44175098ba63814a3d47472d3b0056d4bcac1c5 | Units/RoutingUnit.php | Units/RoutingUnit.php | PHP |
<|file_sep|>.travis.yml.diff
original:
updated:
- 17.5
- 17.4
<|file_sep|>original/.travis.yml
language: erlang
notifications:
email: false
otp_release:
- 17.3
- 17.1
- 17.0
install: true
script: "make eunit && make ct-connect && make ct-roundtrip"
<|file_sep|>current/.travis.yml
language: erlang
noti... | language: erlang
notifications:
email: false
otp_release:
- 17.5
- 17.4
- 17.3
- 17.1
install: true
script: "make eunit && make ct-connect && make ct-roundtrip" | <|file_sep|>.travis.yml.diff
original:
updated:
- 17.5
- 17.4
<|file_sep|>original/.travis.yml
language: erlang
notifications:
email: false
otp_release:
- 17.3
- 17.1
- 17.0
install: true
script: "make eunit && make ct-connect && make ct-roundtrip"
<|file_sep|>current/.travis.yml
language: erlang
noti... | 9351e19a47ee3b04a3b77539e9f65a8699e0cefc | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
only:
- master
- 1.8.7
notifications:
email:
recipients:
- brixen@gmail.com
- d.bussink@gmail.com
on_success: change
on_failure: always
irc:
channels:
- "chat.freenode.net#rubinius"
template:
- "%{repository}/%{branch} (%{commit}... | - master
- 1.8.7
notifications:
email:
recipients:
- brixen@gmail.com
- d.bussink@gmail.com
on_success: change
on_failure: always
irc:
channels:
- "chat.freenode.net#rubinius"
template:
- "%{repository}/%{branch} (%{commit} - %{author}): %{build_url}: %{message}"
... | <|file_sep|>original/.travis.yml
only:
- master
- 1.8.7
notifications:
email:
recipients:
- brixen@gmail.com
- d.bussink@gmail.com
on_success: change
on_failure: always
irc:
channels:
- "chat.freenode.net#rubinius"
template:
- "%{repository}/%{branch} (%{commit}... | 88a2179cf5830c97587b4ee8122457fea2bb7674 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/www/js/services/desktop-services.js
var App, nw;
angular.module('cesium.desktop.services', ['cesium.device.services', 'cesium.settings.services'])
.factory('csDesktop', function($rootScope, Device) {
'ngInject';
if (!Device.isDesktop()) return;
console.info("Starting desktop mode... | var App, nw;
angular.module('cesium.desktop.services', ['cesium.device.services', 'cesium.settings.services'])
.factory('csDesktop', function($rootScope, Device) {
'ngInject';
Device.ready()
.then(function() {
if (!Device.isDesktop()) return;
console.info("[desktop-service] Starting ... | <|file_sep|>original/www/js/services/desktop-services.js
var App, nw;
angular.module('cesium.desktop.services', ['cesium.device.services', 'cesium.settings.services'])
.factory('csDesktop', function($rootScope, Device) {
'ngInject';
if (!Device.isDesktop()) return;
console.info("Starting desktop mode... | 6a44b2a67b2599c35d52ed89bfa74aa9dadde929 | www/js/services/desktop-services.js | www/js/services/desktop-services.js | JavaScript |
<|file_sep|>original/test/Migrator/no_duplicate_aarch64_use_tbi.swift
// REQUIRES OS=ios
// REQUIRES CPU=arm64
// RUN: %target-swift-frontend -typecheck %s -swift-version 3
// RUN: rm -rf %t && mkdir -p %t && cd %t && %swiftc_driver -c -update-code -target arm64-apple-ios10.3 -output-file-map %S/Inputs/no_duplicate_aar... | // REQUIRES: OS=ios
// REQUIRES: CPU=arm64
// RUN: %target-swift-frontend -typecheck %s -swift-version 3
// RUN: rm -rf %t && mkdir -p %t && cd %t && %swiftc_driver -c -update-code -target arm64-apple-ios10.3 -output-file-map %S/Inputs/no_duplicate_aarch64_use_tbi_ofm.json -swift-version 3 %s -v
// RUN: cd %t && %swift... | <|file_sep|>original/test/Migrator/no_duplicate_aarch64_use_tbi.swift
// REQUIRES OS=ios
// REQUIRES CPU=arm64
// RUN: %target-swift-frontend -typecheck %s -swift-version 3
// RUN: rm -rf %t && mkdir -p %t && cd %t && %swiftc_driver -c -update-code -target arm64-apple-ios10.3 -output-file-map %S/Inputs/no_duplicate_aar... | a1893460c21006f6f541251bc8f032188f147899 | test/Migrator/no_duplicate_aarch64_use_tbi.swift | test/Migrator/no_duplicate_aarch64_use_tbi.swift | Swift |
<|file_sep|>original/requirements.txt
cookiecutter==1.7.0
sh==1.12.14
binaryornot==0.4.4
# Code quality
# ------------------------------------------------------------------------------
black==19.10b0
flake8==3.7.9
# Testing
# ------------------------------------------------------------------------------
tox==3.14.4
p... | cookiecutter==1.7.0
sh==1.12.14
binaryornot==0.4.4
# Code quality
# ------------------------------------------------------------------------------
black==19.10b0
flake8==3.7.9
# Testing
# ------------------------------------------------------------------------------
tox==3.14.4
pytest==5.3.5
pytest_cases==1.12.1
pyte... | <|file_sep|>original/requirements.txt
cookiecutter==1.7.0
sh==1.12.14
binaryornot==0.4.4
# Code quality
# ------------------------------------------------------------------------------
black==19.10b0
flake8==3.7.9
# Testing
# ------------------------------------------------------------------------------
tox==3.14.4
p... | 8c945af82a94ccc61de99038457510b375043826 | requirements.txt | requirements.txt | Text |
<|file_sep|>maildump/web.py.diff
original:
updated:
import json
from datetime import datetime
<|file_sep|>original/maildump/web.py
import maildump
import maildump.db as db
app = Flask(__name__)
app._logger = log = Logger(__name__)
def rest(f):
"""Decorator for simple REST endpoints.
Functions must return ... | from functools import wraps
import maildump
import maildump.db as db
app = Flask(__name__)
app._logger = log = Logger(__name__)
def _json_default(obj):
if isinstance(obj, datetime):
return obj.isoformat()
raise TypeError(repr(obj) + ' is not JSON serializable')
def jsonify(*args, **kwargs):
r... | <|file_sep|>maildump/web.py.diff
original:
updated:
import json
from datetime import datetime
<|file_sep|>original/maildump/web.py
import maildump
import maildump.db as db
app = Flask(__name__)
app._logger = log = Logger(__name__)
def rest(f):
"""Decorator for simple REST endpoints.
Functions must return ... | c4765dc1d68e5a0f20fa94841c0d2ae4d1123918 | maildump/web.py | maildump/web.py | Python |
<|file_sep|>original/css/ie7.css
/* $Id$ */
#showhide_columns {}
.cssmenu_horiz li {
width: 11em;
}
.box-data ol {
margin-left: 0;
}
.box-data ul {
margin-left: 1em;
}
.wikiactions .icons,
.wikiactions form {/*display: inline*/}
.codelisting {
padding-bottom: 1.8em;
}
<|file_sep|>current/css/ie7.css
/* $Id$ */
... | width: 11em;
}
.box-data ol {
margin-left: 0;
}
.box-data ul {
margin-left: 1em;
}
#col2 .cssmenu_vert {
margin-left: 0;
}
.wikiactions .icons,
.wikiactions form {/*display: inline*/}
.codelisting {
padding-bottom: 1.8em;
} | <|file_sep|>original/css/ie7.css
/* $Id$ */
#showhide_columns {}
.cssmenu_horiz li {
width: 11em;
}
.box-data ol {
margin-left: 0;
}
.box-data ul {
margin-left: 1em;
}
.wikiactions .icons,
.wikiactions form {/*display: inline*/}
.codelisting {
padding-bottom: 1.8em;
}
<|file_sep|>current/css/ie7.css
/* $Id$ */
... | 5be1420af198d455d8be47566ffa4339d52b9ca1 | css/ie7.css | css/ie7.css | CSS |
<|file_sep|>src/main/java/com/lichader/alfred/controller/MetroServiceCheckController.java.diff
original:
updated:
import com.lichader.alfred.servant.MetroAlfred;
<|file_sep|>src/main/java/com/lichader/alfred/controller/MetroServiceCheckController.java.diff
original:
import org.springframework.web.bind.annotation.GetMa... |
@RestController
@RequestMapping("api/metro")
public class MetroServiceCheckController {
@Autowired
private TrainlineDisruptionRetrievalLogic logic;
@Autowired
private MetroAlfred alfred;
@RequestMapping(value = "disruptions", method = RequestMethod.GET)
public List<Disruption> get(){
... | <|file_sep|>src/main/java/com/lichader/alfred/controller/MetroServiceCheckController.java.diff
original:
updated:
import com.lichader.alfred.servant.MetroAlfred;
<|file_sep|>src/main/java/com/lichader/alfred/controller/MetroServiceCheckController.java.diff
original:
import org.springframework.web.bind.annotation.GetMa... | 54c0b2e2d3589e7ff55f6fb810b01065d5743a44 | src/main/java/com/lichader/alfred/controller/MetroServiceCheckController.java | src/main/java/com/lichader/alfred/controller/MetroServiceCheckController.java | Java |
<|file_sep|>original/frontend/package.json
"bootstrap": "^3.3.6",
"bower": "^1.5.3",
"brace": "0.7.0",
"browserify": "^ 13.0.0",
"browserify-incremental": "^3.0.1",
"jquery-textcomplete": "^0.8.1",
"lodash": "^3.10.1",
"md5": "^2.0.0",
"query-string": "^2.4.1",
"serverspec-genera... | "bootstrap": "^3.3.6",
"bower": "^1.5.3",
"brace": "0.7.0",
"browserify": "^ 13.0.0",
"browserify-incremental": "^3.0.1",
"jquery-textcomplete": "^0.8.1",
"lodash": "^3.10.1",
"md5": "^2.0.0",
"query-string": "^2.4.1",
"serverspec-generator": "^1.0.0",
"vue": "^1.0.20",
"... | <|file_sep|>original/frontend/package.json
"bootstrap": "^3.3.6",
"bower": "^1.5.3",
"brace": "0.7.0",
"browserify": "^ 13.0.0",
"browserify-incremental": "^3.0.1",
"jquery-textcomplete": "^0.8.1",
"lodash": "^3.10.1",
"md5": "^2.0.0",
"query-string": "^2.4.1",
"serverspec-genera... | b15c4713721b147f4b9d636631e81705386e4f07 | frontend/package.json | frontend/package.json | JSON |
<|file_sep|>README.md.diff
original:
updated:
[](https://codecov.io/github/hakan42/osm-tools?branch=master)
<|file_sep|>original/README.md
osm-tools
=========
Some Java classes to parse and persist OpenStreetMap data with Spring
S... | osm-tools
=========
Some Java classes to parse and persist OpenStreetMap data with Spring
Status
======
[](https://www.versioneye.com/user/projects/53c454a0617ed4a15d000017)
[](https://codecov.io/github/hakan42/osm-tools?branch=master)
<|file_sep|>original/README.md
osm-tools
=========
Some Java classes to parse and persist OpenStreetMap data with Spring
S... | 73bb3812b3c9777342e96f34d7bbcb70325fc5cb | README.md | README.md | Markdown |
<|file_sep|>original/.github/workflows/check-format.yml
<|file_sep|>current/.github/workflows/check-format.yml
<|file_sep|>updated/.github/workflows/check-format.yml | name: Check format
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
check-format:
name: Check the code formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: sudo apt-get install -y clang-format-7
- na... | <|file_sep|>original/.github/workflows/check-format.yml
<|file_sep|>current/.github/workflows/check-format.yml
<|file_sep|>updated/.github/workflows/check-format.yml
name: Check format
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
check-format:
name: Check the code format... | 6caee95986e9f517d3b2b1a3154d3704cebcdbdb | .github/workflows/check-format.yml | .github/workflows/check-format.yml | YAML |
<|file_sep|>original/bindep.txt
# This is a cross-platform list tracking distribution packages needed by tests;
# see https://docs.openstack.org/infra/bindep/ for additional information.
xfsprogs [platform:rpm test]
qemu-img [platform:rpm test]
libffi-dev [platform:dpkg]
libffi-devel [platform:rpm]
libssl-dev [platfor... | # This is a cross-platform list tracking distribution packages needed by tests;
# see https://docs.openstack.org/infra/bindep/ for additional information.
xfsprogs [platform:rpm test]
qemu-img [platform:rpm test]
libffi-dev [platform:dpkg]
libffi-devel [platform:rpm]
libssl-dev [platform:dpkg test]
openssl-devel [plat... | <|file_sep|>original/bindep.txt
# This is a cross-platform list tracking distribution packages needed by tests;
# see https://docs.openstack.org/infra/bindep/ for additional information.
xfsprogs [platform:rpm test]
qemu-img [platform:rpm test]
libffi-dev [platform:dpkg]
libffi-devel [platform:rpm]
libssl-dev [platfor... | 531f36e4b4009ddab5150bcfe6a0c83837ec3c76 | bindep.txt | bindep.txt | Text |
<|file_sep|>hasjob/templates/reject_email.md.diff
original:
This is regarding your job listing on the HasGeek Job Board titled
"**{{ post.headline }}**". Unfortunately, your listing is not in
compliance with our [Terms of Service][tos] and therefore has been
taken down. Your listing was reviewed by {{ post.reviewer.ful... | Hi {{ post.company_name }},
This is regarding your job listing on the HasGeek Job Board titled "**{{ post.headline }}**". Unfortunately, your listing is not in compliance with our [Terms of Service][tos] and therefore has been taken down. Your listing was reviewed by {{ post.reviewer.fullname }}, who left the followin... | <|file_sep|>hasjob/templates/reject_email.md.diff
original:
This is regarding your job listing on the HasGeek Job Board titled
"**{{ post.headline }}**". Unfortunately, your listing is not in
compliance with our [Terms of Service][tos] and therefore has been
taken down. Your listing was reviewed by {{ post.reviewer.ful... | 733272ad1fe2b4065ac39489b400f07362e11103 | hasjob/templates/reject_email.md | hasjob/templates/reject_email.md | Markdown |
<|file_sep|>original/readme.md
# redeuceur
Create a Redux reducer from an array of action handlers.
## Usage
```
const redeuceur = require('redeuceur');
const initialState = [];
const handlers = [
{
handler: action => action.foo,
test: ActionTypes.CREATE_FOO,
},
{
handler: (action, state) => Ob... | # redeuceur
Create a Redux reducer from an array of action handlers.
## Usage
```javascript
const redeuceur = require('redeuceur');
const initialState = [];
const handlers = [
{
handler: action => action.foo,
test: ActionTypes.CREATE_FOO,
},
{
handler: (action, state) => Object.assign({}, state... | <|file_sep|>original/readme.md
# redeuceur
Create a Redux reducer from an array of action handlers.
## Usage
```
const redeuceur = require('redeuceur');
const initialState = [];
const handlers = [
{
handler: action => action.foo,
test: ActionTypes.CREATE_FOO,
},
{
handler: (action, state) => Ob... | 3b10f7ee061a4b457919bf8bd49639e2a7a6e6c8 | readme.md | readme.md | Markdown |
<|file_sep|>src/atoin.c.diff
original:
* $Id: atoin.c,v 1.4 2004-12-13 14:21:55 heikki Exp $
updated:
* $Id: atoin.c,v 1.5 2004-12-16 08:59:56 adam Exp $
<|file_sep|>original/src/atoin.c
* \file atoin.c
* \brief Implements atoi_n function.
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <string.h>
#incl... | * \file atoin.c
* \brief Implements atoi_n function.
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <string.h>
#include <ctype.h>
#include <yaz/marcdisp.h>
/**
* atoi_n: like atoi but reads at most len characters.
*/
int atoi_n (const char *buf, int len)
{
int val = 0;
while (--len >= 0)
... | <|file_sep|>src/atoin.c.diff
original:
* $Id: atoin.c,v 1.4 2004-12-13 14:21:55 heikki Exp $
updated:
* $Id: atoin.c,v 1.5 2004-12-16 08:59:56 adam Exp $
<|file_sep|>original/src/atoin.c
* \file atoin.c
* \brief Implements atoi_n function.
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <string.h>
#incl... | 5475567b7f05fbc245cedb1b3ecdbc63ac671685 | src/atoin.c | src/atoin.c | C |
<|file_sep|>guides/introduction/exit_statuses.md.diff
original:
updated:
## Issue Statuses
<|file_sep|>guides/introduction/exit_statuses.md.diff
original:
consistency: 1
design: 2
readability: 4
refactor: 8
warning: 16
<custom category>: 32... |
[...snip...]
$ echo $?
12
```
So an exit status of `12` tells you that you have only Readability Issues (`4`) and Refactoring Opportunities (`8`), but e.g. no Warnings.
Naturally, custom checks and plugins can provide their own exit statuses.
```bash
<custom category>: 32
<custom category>: 64
```
## Actual... | <|file_sep|>guides/introduction/exit_statuses.md.diff
original:
updated:
## Issue Statuses
<|file_sep|>guides/introduction/exit_statuses.md.diff
original:
consistency: 1
design: 2
readability: 4
refactor: 8
warning: 16
<custom category>: 32... | 77dd3690168768c19a2bb86edae5a8760272f228 | guides/introduction/exit_statuses.md | guides/introduction/exit_statuses.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.5"
# command to install dependencies
install:
- pip install --quiet -r requirements.txt
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip --quiet install http://download.pytorch.org/whl/cu8... | language: python
python:
- "2.7"
- "3.5"
# command to install dependencies
install:
- pip install --quiet -r requirements.txt
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip --quiet install http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp27-cp27mu-linux_x86_64.whl; fi
- if [[ $TRAVIS_PYTHON_VERS... | <|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.5"
# command to install dependencies
install:
- pip install --quiet -r requirements.txt
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip --quiet install http://download.pytorch.org/whl/cu8... | f5d10e44ccfdc0d61699308745e6e170da83c1e8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/Backend/Modules/Pages/Layout/Templates/Settings.html.twig.diff
original:
<p class="help-block">{{ 'msg.HelpMetaNavigation'|trans }}</p>
updated:
<|file_sep|>original/src/Backend/Modules/Pages/Layout/Templates/Settings.html.twig
{{ 'lbl.MetaNavigation'|trans|capitalize }}
... | {{ 'lbl.MetaNavigation'|trans|capitalize }}
</h3>
</div>
<div class="panel-body">
<div class="form-group">
<ul class="list-unstyled">
<li class="checkbox">
<label for="metaNavigation" class="control-label">{% form_... | <|file_sep|>src/Backend/Modules/Pages/Layout/Templates/Settings.html.twig.diff
original:
<p class="help-block">{{ 'msg.HelpMetaNavigation'|trans }}</p>
updated:
<|file_sep|>original/src/Backend/Modules/Pages/Layout/Templates/Settings.html.twig
{{ 'lbl.MetaNavigation'|trans|capitalize }}
... | d98469803ca9dcf59bf1cadb6b75a2f0a3fa4c36 | src/Backend/Modules/Pages/Layout/Templates/Settings.html.twig | src/Backend/Modules/Pages/Layout/Templates/Settings.html.twig | Twig |
<|file_sep|>nginx/init.sls.diff
original:
updated:
nginx-ppa:
pkgrepo.managed:
- humanname: Nginx PPA
- ppa: nginx/stable
- require_in:
- pkg: nginx
<|file_sep|>original/nginx/init.sls
nginx:
pkg:
- installed
service:
- running
- enable: True
/etc/nginx/nginx.conf:
file.sed:
... | nginx-ppa:
pkgrepo.managed:
- humanname: Nginx PPA
- ppa: nginx/stable
- require_in:
- pkg: nginx
nginx:
pkg.latest:
- name: nginx
- refresh: true
service:
- running
- enable: True
/etc/nginx/nginx.conf:
file.sed:
- before: "(# )?server_names_hash_bucket_size .+;"
- a... | <|file_sep|>nginx/init.sls.diff
original:
updated:
nginx-ppa:
pkgrepo.managed:
- humanname: Nginx PPA
- ppa: nginx/stable
- require_in:
- pkg: nginx
<|file_sep|>original/nginx/init.sls
nginx:
pkg:
- installed
service:
- running
- enable: True
/etc/nginx/nginx.conf:
file.sed:
... | 1a93aa7951e64395a4a41de295f735eeb23de310 | nginx/init.sls | nginx/init.sls | SaltStack |
<|file_sep|>original/Cargo.toml
[package]
name = "taster"
version = "0.0.1"
authors = ["Malte Schwarzkopf <malte@csail.mit.edu>"]
[dependencies]
afterparty = "0.1.0"
hyper = "0.9"
log = "0.3"
env_logger = "0.3"
<|file_sep|>current/Cargo.toml
[package]
name = "taster"
version = "0.0.1"
authors = ["Malte Schwarzkopf <ma... | [package]
name = "taster"
version = "0.0.1"
authors = ["Malte Schwarzkopf <malte@csail.mit.edu>"]
[dependencies]
afterparty = { git = "https://github.com/softprops/afterparty.git" }
hyper = "0.9"
log = "0.3"
env_logger = "0.3" | <|file_sep|>original/Cargo.toml
[package]
name = "taster"
version = "0.0.1"
authors = ["Malte Schwarzkopf <malte@csail.mit.edu>"]
[dependencies]
afterparty = "0.1.0"
hyper = "0.9"
log = "0.3"
env_logger = "0.3"
<|file_sep|>current/Cargo.toml
[package]
name = "taster"
version = "0.0.1"
authors = ["Malte Schwarzkopf <ma... | b41aed8f10fd13e6825d56365282027d3a48c94b | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>composer.json.diff
original:
"silverstripe/framework": "~4.0",
"silverstripe/vendor-plugin": "^1.0"
updated:
"silverstripe/framework": "^5",
"silverstripe/vendor-plugin": "^1"
<|file_sep|>original/composer.json
],
"require": {
"silverstripe/framework": "~4.0",
"silverstripe/vendor-plugin": "^1... | ],
"require": {
"silverstripe/framework": "^5",
"silverstripe/vendor-plugin": "^1"
},
"require-dev": {
"phpunit/phpunit": "^5.7"
},
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
}
},
"autoload": {
"psr-4": {
"SilverStripe\\SQLite\\": "code/"
}
},
"scripts": {
"lint": "... | <|file_sep|>composer.json.diff
original:
"silverstripe/framework": "~4.0",
"silverstripe/vendor-plugin": "^1.0"
updated:
"silverstripe/framework": "^5",
"silverstripe/vendor-plugin": "^1"
<|file_sep|>original/composer.json
],
"require": {
"silverstripe/framework": "~4.0",
"silverstripe/vendor-plugin": "^1... | b82750d7f9fdab3fd5b88c47471b2882efc4a4a7 | composer.json | composer.json | JSON |
<|file_sep|>original/README.md
all.js
=====
Version 0.0.1 (Alpha)
Official website: [all.js.org](all.js.org)
A JS library to create, generate, modify, identify, verify and trim stuff.
## API's Planned:
### Create
### Generate
* To generate a string of length specified in arguments.
`all.gstring(length);`
Exa... | all.js
=====
Version 0.0.1 (Alpha)
Official website: [all.js.org](http://all.js.org)
A JS library to create, generate, modify, identify, verify and trim stuff.
## API's Planned:
### Create
### Generate
* To generate a string of length specified in arguments.
`all.gstring(length);`
Example: `all.gstring(5);`
| <|file_sep|>original/README.md
all.js
=====
Version 0.0.1 (Alpha)
Official website: [all.js.org](all.js.org)
A JS library to create, generate, modify, identify, verify and trim stuff.
## API's Planned:
### Create
### Generate
* To generate a string of length specified in arguments.
`all.gstring(length);`
Exa... | 8ab2b56521e02f14b61f00a86fe18e516219c958 | README.md | README.md | Markdown |
<|file_sep|>original/res/xml/preferences.xml
<EditTextPreference
android:key="nickname"
android:title="@string/enter_nickname"
android:summary="@string/enter_nickname_longtext" />
<CheckBoxPreference
android:key="wifi_only"
android:title="@string/upload_wifi_only_title"... |
<EditTextPreference
android:key="nickname"
android:title="@string/enter_nickname"
android:summary="@string/enter_nickname_longtext" />
<CheckBoxPreference
android:key="wifi_only"
android:title="@string/upload_wifi_only_title"
android:summary="@string/upload_wifi... | <|file_sep|>original/res/xml/preferences.xml
<EditTextPreference
android:key="nickname"
android:title="@string/enter_nickname"
android:summary="@string/enter_nickname_longtext" />
<CheckBoxPreference
android:key="wifi_only"
android:title="@string/upload_wifi_only_title"... | 393905fb35552aa597e4d6ee117692f75c6023cd | res/xml/preferences.xml | res/xml/preferences.xml | XML |
<|file_sep|>deployments/stat89a/config/common.yaml.diff
original:
updated:
# Professor
<|file_sep|>deployments/stat89a/config/common.yaml.diff
original:
updated:
# GSIs
<|file_sep|>original/deployments/stat89a/config/common.yaml
admin:
users:
# infrastructure
- rylo
... | # infrastructure
- rylo
- yuvipanda
- felder
# List of other admin users
# Professor
- mahoneymw
# GSIs
- krinsman
- theisen
# UGSI
- wqixuan
singleuser:
memory:
guarantee: 512M
lim... | <|file_sep|>deployments/stat89a/config/common.yaml.diff
original:
updated:
# Professor
<|file_sep|>deployments/stat89a/config/common.yaml.diff
original:
updated:
# GSIs
<|file_sep|>original/deployments/stat89a/config/common.yaml
admin:
users:
# infrastructure
- rylo
... | f7fdb606b316a5897d64bfc7b6d3cc2738ba7b2f | deployments/stat89a/config/common.yaml | deployments/stat89a/config/common.yaml | YAML |
<|file_sep|>original/config/sidekiq.yml
- [mailnewgenotype, 10]
- [zipgenotyping,5]
- [zipfulldata,5]
- [recommend,5]
- [preparse,3]
- [parse,3]
- [fitbit,3]
- [frequency,1]
- [fixphenotypes,1]
- [mailers, 1]
# - [mendeley_details,1]
# - [mendeley,1]
# - [genomegov,1]
# - [pgp,1]
# - [plos_details,1]
# - [plo... | - [mailnewgenotype, 10]
- [zipgenotyping,5]
- [zipfulldata,5]
- [recommend,5]
- [preparse,3]
- [parse,3]
- [fitbit,3]
- [frequency,1]
- [fixphenotypes,1]
- [mailers, 1]
- [default, 1]
# - [mendeley_details,1]
# - [mendeley,1]
# - [genomegov,1]
# - [pgp,1]
# - [plos_details,1]
# - [plos,1]
# - [snpedia,1]
:li... | <|file_sep|>original/config/sidekiq.yml
- [mailnewgenotype, 10]
- [zipgenotyping,5]
- [zipfulldata,5]
- [recommend,5]
- [preparse,3]
- [parse,3]
- [fitbit,3]
- [frequency,1]
- [fixphenotypes,1]
- [mailers, 1]
# - [mendeley_details,1]
# - [mendeley,1]
# - [genomegov,1]
# - [pgp,1]
# - [plos_details,1]
# - [plo... | caec3b4e03b61c4e910bb34fa7237e6983c86a92 | config/sidekiq.yml | config/sidekiq.yml | YAML |
<|file_sep|>original/opal/clearwater/application.rb
unless event.meta_key || event.ctrl_key || event.shift_key || event.alt_key
remote_url = %r{^\w+://|^//}
href = event.current_target[:href]
event.prevent_default unless href.to_s =~ remote_url
if href.nil? || href.empty... | unless event.meta_key || event.ctrl_key || event.shift_key || event.alt_key
remote_url = %r{^\w+://|^//}
href = event.current_target[:href]
event.prevent_default unless href.to_s =~ remote_url
if href.nil? || href.empty?
# Do nothing. There is nowhere to go.
... | <|file_sep|>original/opal/clearwater/application.rb
unless event.meta_key || event.ctrl_key || event.shift_key || event.alt_key
remote_url = %r{^\w+://|^//}
href = event.current_target[:href]
event.prevent_default unless href.to_s =~ remote_url
if href.nil? || href.empty... | 453cf75dfb20fcd03c1d16e54b8d062dd1af0737 | opal/clearwater/application.rb | opal/clearwater/application.rb | Ruby |
<|file_sep|>demo/js/carousels.js.diff
original:
$(function(){
// vars for testimonials carousel
var $txtcarousel = $('#testimonial-list');
var txtcount = $txtcarousel.children().length;
var quoteWidth = $('.carousel-wrap li').get(0).css("width");
var wrapwidth = (txtcount * quoteWidth) + quoteWidth; // 700px ... | // prev & next btns for testimonials
$('#prv-testimonial').on('click', function(){
var $last = $('#testimonial-list li:last');
$last.remove().css({ 'margin-left': '-1106px' });
$('#testimonial-list li:first').before($last);
$last.fadeOut(fadeTime, function(){
//$last.animate({ 'margin-left': '0... | <|file_sep|>demo/js/carousels.js.diff
original:
$(function(){
// vars for testimonials carousel
var $txtcarousel = $('#testimonial-list');
var txtcount = $txtcarousel.children().length;
var quoteWidth = $('.carousel-wrap li').get(0).css("width");
var wrapwidth = (txtcount * quoteWidth) + quoteWidth; // 700px ... | 178d862c444b1627688ee2a44acb48491e9e0bd3 | demo/js/carousels.js | demo/js/carousels.js | JavaScript |
<|file_sep|>.scrutinizer.yml.diff
original:
updated:
paths: [ src/* ]
<|file_sep|>.scrutinizer.yml.diff
original:
updated:
paths: [ src/* ]
<|file_sep|>.scrutinizer.yml.diff
original:
updated:
paths: [ src/* ]
<|file_sep|>original/.scrutinizer.yml
php_code_sniffer:
filter:
excluded-path... | config:
standard: PSR2
php_analyzer:
filter:
paths: [ src/* ]
excluded-paths: [ spec/*, examples/* ]
php_sim:
filter:
paths: [ src/* ]
excluded-paths: [ spec/*, examples/* ]
build_failure_conditions:
- 'issues.label("coding-style").new.exists'
filter:
paths: [ src... | <|file_sep|>.scrutinizer.yml.diff
original:
updated:
paths: [ src/* ]
<|file_sep|>.scrutinizer.yml.diff
original:
updated:
paths: [ src/* ]
<|file_sep|>.scrutinizer.yml.diff
original:
updated:
paths: [ src/* ]
<|file_sep|>original/.scrutinizer.yml
php_code_sniffer:
filter:
excluded-path... | a9296936ae8beacd00bdde6b28b1e967c09854bf | .scrutinizer.yml | .scrutinizer.yml | YAML |
<|file_sep|>original/pyhmsa/gui/util/human.py
"""
Convert code to human readable text
"""
# Standard library modules.
import re
# Third party modules.
# Local modules.
# Globals and constants variables.
_CAMELCASE_TO_WORDS_PATTERN = re.compile('([A-Z][a-z0-9]*)')
def camelcase_to_words(text):
words = _CAMELCAS... | """
Convert code to human readable text
"""
# Standard library modules.
import re
# Third party modules.
# Local modules.
# Globals and constants variables.
_CAMELCASE_TO_WORDS_PATTERN = re.compile('([A-Z][a-z0-9]*)')
def camelcase_to_words(text):
words = _CAMELCASE_TO_WORDS_PATTERN.split(text)
return tupl... | <|file_sep|>original/pyhmsa/gui/util/human.py
"""
Convert code to human readable text
"""
# Standard library modules.
import re
# Third party modules.
# Local modules.
# Globals and constants variables.
_CAMELCASE_TO_WORDS_PATTERN = re.compile('([A-Z][a-z0-9]*)')
def camelcase_to_words(text):
words = _CAMELCAS... | 385879b90d3aaa7452931108c999cbbc5e41a1b2 | pyhmsa/gui/util/human.py | pyhmsa/gui/util/human.py | Python |
<|file_sep|>original/appveyor.yml
# Undocumented feature of nose-show-skipped.
NOSE_SHOW_SKIPPED: 1
matrix:
- PYTHON: C:\Python27
TOX_ENV: py27-test
- PYTHON: C:\Python35
TOX_ENV: py35-test
- PYTHON: C:\Python36
TOX_ENV: py36-test
# Install Tox for run... | # Undocumented feature of nose-show-skipped.
NOSE_SHOW_SKIPPED: 1
matrix:
- PYTHON: C:\Python27
TOX_ENV: py27-test
- PYTHON: C:\Python35
TOX_ENV: py35-test
- PYTHON: C:\Python36
TOX_ENV: py36-test
- PYTHON: C:\Python37
TOX_ENV: py37-te... | <|file_sep|>original/appveyor.yml
# Undocumented feature of nose-show-skipped.
NOSE_SHOW_SKIPPED: 1
matrix:
- PYTHON: C:\Python27
TOX_ENV: py27-test
- PYTHON: C:\Python35
TOX_ENV: py35-test
- PYTHON: C:\Python36
TOX_ENV: py36-test
# Install Tox for run... | a04666eea26d7f903111676e02513483e3046211 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/CHANGES.rst
==================================
Turbulenz Local Development Server
==================================
.. contents::
:local:
.. _version-1.0:
1.0
===
:release-date: 2013-04-20
.. _v1.0-changes:
- First open source release
<|file_sep|>current/CHANGES.rst
==================... | ==================================
Turbulenz Local Development Server
==================================
.. contents::
:local:
.. _version-1.0:
1.0
===
:release-date: 2013-05-02
.. _v1.0-changes:
- First open source release | <|file_sep|>original/CHANGES.rst
==================================
Turbulenz Local Development Server
==================================
.. contents::
:local:
.. _version-1.0:
1.0
===
:release-date: 2013-04-20
.. _v1.0-changes:
- First open source release
<|file_sep|>current/CHANGES.rst
==================... | 9b2912cdb69bc43e40c575acde14011286af0732 | CHANGES.rst | CHANGES.rst | reStructuredText |
<|file_sep|>original/requirements/tests.txt
fxapom==1.10.2
PyPOM==2.0.0
pytest==3.5.0
pytest-selenium==1.12.0
pytest-xdist==1.22.2
selenium==3.11.0
<|file_sep|>current/requirements/tests.txt
fxapom==1.10.2
PyPOM==2.0.0
pytest==3.5.0
pytest-selenium==1.12.0
pytest-xdist==1.22.2
selenium==3.11.0
<|file_sep|>updated/requi... | fxapom==1.10.2
PyPOM==2.0.0
pytest==3.5.1
pytest-selenium==1.12.0
pytest-xdist==1.22.2
selenium==3.11.0 | <|file_sep|>original/requirements/tests.txt
fxapom==1.10.2
PyPOM==2.0.0
pytest==3.5.0
pytest-selenium==1.12.0
pytest-xdist==1.22.2
selenium==3.11.0
<|file_sep|>current/requirements/tests.txt
fxapom==1.10.2
PyPOM==2.0.0
pytest==3.5.0
pytest-selenium==1.12.0
pytest-xdist==1.22.2
selenium==3.11.0
<|file_sep|>updated/requi... | f6aac33922484addd3a83279ba2ba19304f3a362 | requirements/tests.txt | requirements/tests.txt | Text |
<|file_sep|>original/.travis.yml
language: php
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install
php:
- 5.4
- 5.3
<|file_sep|>current/.travis.yml
language: php
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install
php:
- 5.4
- 5.3
<|f... | language: php
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install
php:
- 5.4
- 5.3
- hhvm | <|file_sep|>original/.travis.yml
language: php
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install
php:
- 5.4
- 5.3
<|file_sep|>current/.travis.yml
language: php
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install
php:
- 5.4
- 5.3
<|f... | 100292f8ba22847d2ace221d8ee638afd4b62136 | .travis.yml | .travis.yml | YAML |
<|file_sep|>config/templates/package-scripts/preinst.erb.diff
original:
if ! ${DEST_DIR}/bin/gitlab-rake gitlab:backup:create SKIP=repositories,uploads ; then
notify
notify "Backup failed! If you want to skip this backup, run the following command and"
notify "try again:"
notify
notify " sudo tou... | notify " sudo touch ${skip_migrations_file}"
notify
exit 1
fi
fi
notify "Backing up GitLab CI SQL database"
if [ -d ${DEST_DIR}/service/ci-unicorn ] ; then
if ! ${DEST_DIR}/bin/gitlab-ci-rake backup:create ; then
notify
notify "Backup failed! If you want to skip this backup... | <|file_sep|>config/templates/package-scripts/preinst.erb.diff
original:
if ! ${DEST_DIR}/bin/gitlab-rake gitlab:backup:create SKIP=repositories,uploads ; then
notify
notify "Backup failed! If you want to skip this backup, run the following command and"
notify "try again:"
notify
notify " sudo tou... | 81f88dd4175781fc7444bb7a9deb6fe7f96f8ae2 | config/templates/package-scripts/preinst.erb | config/templates/package-scripts/preinst.erb | HTML+ERB |
<|file_sep|>original/osu.Framework.Tests/VisualTestGame.cs
namespace osu.Framework.Tests
{
internal class VisualTestGame : TestGame
{
[BackgroundDependencyLoader]
private void load()
{
Child = new SafeAreaSnappingContainer
{
SafeEdges = Edges.Left... |
namespace osu.Framework.Tests
{
internal class VisualTestGame : TestGame
{
[BackgroundDependencyLoader]
private void load()
{
Child = new SafeAreaSnappingContainer
{
RelativeSizeAxes = Axes.Both,
SafeEdges = Edges.Left | Edges.Top ... | <|file_sep|>original/osu.Framework.Tests/VisualTestGame.cs
namespace osu.Framework.Tests
{
internal class VisualTestGame : TestGame
{
[BackgroundDependencyLoader]
private void load()
{
Child = new SafeAreaSnappingContainer
{
SafeEdges = Edges.Left... | e9f9d21604d8596bc29362859d7e057b773dc2a6 | osu.Framework.Tests/VisualTestGame.cs | osu.Framework.Tests/VisualTestGame.cs | C# |
<|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/BastianHofmann/fractal-magic)
<|file_sep|>original/README.md
Fractal Wrapper
=============
This package puts a nice wrapper around Phil Sturgeon's fractal packag... | Fractal Wrapper
=============
[](https://travis-ci.org/BastianHofmann/fractal-magic)
This package puts a nice wrapper around Phil Sturgeon's fractal package. | <|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/BastianHofmann/fractal-magic)
<|file_sep|>original/README.md
Fractal Wrapper
=============
This package puts a nice wrapper around Phil Sturgeon's fractal packag... | cd697cc9eb528c94f190568cf4cd8421977b7893 | README.md | README.md | Markdown |
<|file_sep|>original/phpcs.xml.dist
<|file_sep|>current/phpcs.xml.dist
<|file_sep|>updated/phpcs.xml.dist | <?xml version="1.0"?>
<ruleset name="EngineWorks">
<description>The EngineWorks (PSR-2 based) coding standard.</description>
<arg name="tab-width" value="4"/>
<arg name="encoding" value="utf-8"/>
<arg name="report-width" value="auto"/>
<arg name="extensions" value="php"/>
<rule ref="PSR2" />
... | <|file_sep|>original/phpcs.xml.dist
<|file_sep|>current/phpcs.xml.dist
<|file_sep|>updated/phpcs.xml.dist
<?xml version="1.0"?>
<ruleset name="EngineWorks">
<description>The EngineWorks (PSR-2 based) coding standard.</description>
<arg name="tab-width" value="4"/>
<arg name="encoding" value="utf-8"/>
... | cfd1409ea35ea1d3ec71ebbf02f5db8145eefba8 | phpcs.xml.dist | phpcs.xml.dist | unknown |
<|file_sep|>original/src/components/FullsizePicture.jsx
return (
<div style={this.getStyles()}>
<div style={this.getImageWrapperStyles()}>
<Picture
src={this.props.src}
sources={this.props.sources}
... | <Picture
src={this.props.src}
sources={this.props.sources}
style={this.getImageStyles()}
/>
</div>
</div>
);
}
}
FullSizePicture.propTypes = {
sources: React.PropT... | <|file_sep|>original/src/components/FullsizePicture.jsx
return (
<div style={this.getStyles()}>
<div style={this.getImageWrapperStyles()}>
<Picture
src={this.props.src}
sources={this.props.sources}
... | 03feeba4b1aa70633e08681547e3ef4df983c6b1 | src/components/FullsizePicture.jsx | src/components/FullsizePicture.jsx | JSX |
<|file_sep|>tools/build_docker_images.sh.diff
original:
updated:
#!/bin/bash
<|file_sep|>tools/build_docker_images.sh.diff
original:
for image in `ls -d dockerfiles/*`; do
updated:
echo '**********************************************'
echo "Updating base Ubuntu image..."
echo '****************************************... | base_images=`ls -d dockerfiles/base*`
images=`ls -d dockerfiles/* | grep -v base_`
build_image () {
container="mltp/`basename $1`"
echo '**********************************************'
echo Building: $container
echo '**********************************************'
docker build -t $container $imag... | <|file_sep|>tools/build_docker_images.sh.diff
original:
updated:
#!/bin/bash
<|file_sep|>tools/build_docker_images.sh.diff
original:
for image in `ls -d dockerfiles/*`; do
updated:
echo '**********************************************'
echo "Updating base Ubuntu image..."
echo '****************************************... | 064241c4cb6ed2e015a46eab896f81d140c31602 | tools/build_docker_images.sh | tools/build_docker_images.sh | Shell |
<|file_sep|>original/schroot_nvidia.sh
<|file_sep|>current/schroot_nvidia.sh
<|file_sep|>updated/schroot_nvidia.sh | #!/bin/sh -e
./nvidia-installer \
--accept-license \
--no-distro-scripts \
--no-kernel-module \
--no-kernel-module-source \
--no-nvidia-modprobe \
--no-precompiled-interface \
--no-runlevel-check \
--no-x-check \
| <|file_sep|>original/schroot_nvidia.sh
<|file_sep|>current/schroot_nvidia.sh
<|file_sep|>updated/schroot_nvidia.sh
#!/bin/sh -e
./nvidia-installer \
--accept-license \
--no-distro-scripts \
--no-kernel-module \
--no-kernel-module-source \
--no-nvidia-modprobe \
--no-precompiled-interface \
... | f799a3b957386560306f0f0415516612c5abd5d0 | schroot_nvidia.sh | schroot_nvidia.sh | Shell |
<|file_sep|>original/packages/css-modules-flow-types-printer/index.js
'use strict';
import os from 'os';
export const HEADER = `// @flow
/* This file is automatically generated by css-modules-flow-types */`;
export default function printFlowDefinition(tokensArray, indent = ' ') {
const props = tokensArray
.so... | 'use strict';
import os from 'os';
export const HEADER = `// @flow strict
/* This file is automatically generated by css-modules-flow-types */`;
export default function printFlowDefinition(tokensArray, indent = ' ') {
const props = tokensArray
.sort()
.map(key => `${indent}+'${key}': string;`)
.join(o... | <|file_sep|>original/packages/css-modules-flow-types-printer/index.js
'use strict';
import os from 'os';
export const HEADER = `// @flow
/* This file is automatically generated by css-modules-flow-types */`;
export default function printFlowDefinition(tokensArray, indent = ' ') {
const props = tokensArray
.so... | e38ad5a323e5887246c5f4c63197da0828a6da48 | packages/css-modules-flow-types-printer/index.js | packages/css-modules-flow-types-printer/index.js | JavaScript |
<|file_sep|>original/config/jobs/image-pushing/k8s-staging-kustomize.yaml
<|file_sep|>current/config/jobs/image-pushing/k8s-staging-kustomize.yaml
<|file_sep|>updated/config/jobs/image-pushing/k8s-staging-kustomize.yaml | postsubmits:
# This is the github repo we'll build from. This block needs to be repeated
# for each repo.
kubernetes-sigs/kustomize:
# The name should be changed to match the repo name above
- name: post-kustomize-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
# This is... | <|file_sep|>original/config/jobs/image-pushing/k8s-staging-kustomize.yaml
<|file_sep|>current/config/jobs/image-pushing/k8s-staging-kustomize.yaml
<|file_sep|>updated/config/jobs/image-pushing/k8s-staging-kustomize.yaml
postsubmits:
# This is the github repo we'll build from. This block needs to be repeated
# for... | 954a6e14652fcf0a59d7956278aa8192853eb6e7 | config/jobs/image-pushing/k8s-staging-kustomize.yaml | config/jobs/image-pushing/k8s-staging-kustomize.yaml | YAML |
<|file_sep|>osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.cs.diff
original:
updated:
using osu.Game.Skinning;
<|file_sep|>osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.cs.diff
original:
Masking = true;
AutoSizeAxes = Axes.Both;
CornerRadius = widt... | CornerRadius = width / 2,
EdgeEffect = new EdgeEffectParameters
{
Type = EdgeEffectType.Glow,
Colour = Color4.White.Opacity(0.2f),
Radius = 4,
},
Child = new Box
{
... | <|file_sep|>osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.cs.diff
original:
updated:
using osu.Game.Skinning;
<|file_sep|>osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.cs.diff
original:
Masking = true;
AutoSizeAxes = Axes.Both;
CornerRadius = widt... | 18096490b6c16ca22f1de0022f4047a12d22b830 | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.cs | C# |
<|file_sep|>original/dev-requirements.txt
alabaster==0.7.9
bumpversion==0.5.3
coverage==4.5.1
coverage_pth==0.0.2
codecov==2.0.15
flake8==3.5.0
mock==2.0.0
pypandoc==1.4
pytest==3.5.0
recommonmark==0.4.0
sphinxcontrib-spelling==4.1.0
Sphinx==1.7.2
tox==3.0.0
-r requirements.txt
<|file_sep|>current/dev-requirements.txt
... | alabaster==0.7.9
bumpversion==0.5.3
coverage==4.5.1
coverage_pth==0.0.2
codecov==2.0.15
flake8==3.5.0
mock==2.0.0
pypandoc==1.4
pytest==3.5.0
recommonmark==0.4.0
sphinxcontrib-spelling==4.1.0
Sphinx==1.7.3
tox==3.0.0
-r requirements.txt | <|file_sep|>original/dev-requirements.txt
alabaster==0.7.9
bumpversion==0.5.3
coverage==4.5.1
coverage_pth==0.0.2
codecov==2.0.15
flake8==3.5.0
mock==2.0.0
pypandoc==1.4
pytest==3.5.0
recommonmark==0.4.0
sphinxcontrib-spelling==4.1.0
Sphinx==1.7.2
tox==3.0.0
-r requirements.txt
<|file_sep|>current/dev-requirements.txt
... | a3c0be8b7f27cbc3f74e7f8bdb1fcd45bb02c639 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>original/spec/watirspec/spec/spec_helper.rb
begin
require 'spec'
rescue LoadError
require 'rubygems'
gem 'rspec'
require 'spec'
end
Thread.abort_on_exception = true
require "#{File.dirname(__FILE__)}/../watirspec"
hook = File.expand_path("#{File.dirname(__FILE__)}/../../spec_helper")
if File.exi... |
begin
require 'spec'
rescue LoadError
require 'rubygems'
gem 'rspec'
require 'spec'
end
Thread.abort_on_exception = true
require "#{File.dirname(__FILE__)}/../watirspec"
hook = File.expand_path("#{File.dirname(__FILE__)}/../../spec_helper.rb")
if File.exist?(hook)
require hook
else
raise Errno::ENOENT,... | <|file_sep|>original/spec/watirspec/spec/spec_helper.rb
begin
require 'spec'
rescue LoadError
require 'rubygems'
gem 'rspec'
require 'spec'
end
Thread.abort_on_exception = true
require "#{File.dirname(__FILE__)}/../watirspec"
hook = File.expand_path("#{File.dirname(__FILE__)}/../../spec_helper")
if File.exi... | 524db96e78903f1c11d5c34581f6e3b2c9bcb835 | spec/watirspec/spec/spec_helper.rb | spec/watirspec/spec/spec_helper.rb | Ruby |
<|file_sep|>original/app/utils/getParamsFromUrl.js
// Convert params from url into JSON object
export default function getParamsFromUrl(url) {
const params = {};
const { searchParams } = new URL(url);
for (const [key, value] of searchParams.entries()) {
params[key] = value;
}
return params;
}
<|file_sep|>... | // Convert params from url into JSON object
export default function getParamsFromUrl(url) {
const params = {};
const urlObj = new URL(url);
const { searchParams, hostname } = urlObj;
if (hostname === 'youtu.be') {
const { pathname, search } = urlObj;
const videoId = pathname.substring(1);
const vide... | <|file_sep|>original/app/utils/getParamsFromUrl.js
// Convert params from url into JSON object
export default function getParamsFromUrl(url) {
const params = {};
const { searchParams } = new URL(url);
for (const [key, value] of searchParams.entries()) {
params[key] = value;
}
return params;
}
<|file_sep|>... | b6f251c7cb200208911a39fa2f75bd50fc440bb7 | app/utils/getParamsFromUrl.js | app/utils/getParamsFromUrl.js | JavaScript |
<|file_sep|>original/setup-osx.sh
<|file_sep|>current/setup-osx.sh
<|file_sep|>updated/setup-osx.sh |
# Copy files.
echo "Copying configuration files ...."
# Copy glassfish-resources.xml
mkdir -p Logica/setup
cp config-files/logica/setup/glassfish-resources.xml Logica/setup/
echo "Copied logica/setup/glassfish-resources.xml"
# Copy persistence.xml
mkdir -p Logica/src/conf
cp config-files/logica/src/conf/persistence.... | <|file_sep|>original/setup-osx.sh
<|file_sep|>current/setup-osx.sh
<|file_sep|>updated/setup-osx.sh
# Copy files.
echo "Copying configuration files ...."
# Copy glassfish-resources.xml
mkdir -p Logica/setup
cp config-files/logica/setup/glassfish-resources.xml Logica/setup/
echo "Copied logica/setup/glassfish-resour... | 5ed2f58f2337576d90766357d196a382db417716 | setup-osx.sh | setup-osx.sh | Shell |
<|file_sep|>cactus/skeleton/plugins/sprites.disabled.py.diff
original:
(Only if you want to optimize pngs with optipng)
brew install optipng
updated:
<|file_sep|>original/cactus/skeleton/plugins/sprites.disabled.py
CSS_PATH = 'static/css/sprites'
KEY = '_PREV_CHECKSUM'
def checksum(path):
command = 'md5 `find %s -... |
def checksum(path):
command = 'md5 `find %s -type f`' % pipes.quote(IMG_PATH)
return subprocess.check_output(command, shell=True)
def preBuild(site):
currChecksum = checksum(IMG_PATH)
prevChecksum = getattr(site, KEY, None)
# Don't run if none of the images has changed
if currChecksum == prevChecksum:
ret... | <|file_sep|>cactus/skeleton/plugins/sprites.disabled.py.diff
original:
(Only if you want to optimize pngs with optipng)
brew install optipng
updated:
<|file_sep|>original/cactus/skeleton/plugins/sprites.disabled.py
CSS_PATH = 'static/css/sprites'
KEY = '_PREV_CHECKSUM'
def checksum(path):
command = 'md5 `find %s -... | a5791ea2a229b13eb84cc92bd20d87df93687d5e | cactus/skeleton/plugins/sprites.disabled.py | cactus/skeleton/plugins/sprites.disabled.py | Python |
<|file_sep|>original/.travis.yml
php:
- 5.4
- 5.5
- 5.6
before_install:
- wget https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.21.zip
- unzip -q google_appengine_1.9.21.zip -d ~/
before_script:
- composer self-update
- composer install --prefer-source
script:
- mkdir -p b... |
php:
- 5.4
- 5.5
- 5.6
before_install:
- wget https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.21.zip
- unzip -q google_appengine_1.9.21.zip -d ~/
before_script:
- composer self-update
- composer install --prefer-source
script:
- mkdir -p build/logs
- SDK_HOME=~/google_a... | <|file_sep|>original/.travis.yml
php:
- 5.4
- 5.5
- 5.6
before_install:
- wget https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.21.zip
- unzip -q google_appengine_1.9.21.zip -d ~/
before_script:
- composer self-update
- composer install --prefer-source
script:
- mkdir -p b... | b4121cf5a4919dc525ad3dd9a916ee5e4aba0f5d | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
updated:
- 'export DISPLAY=:99.0'
- 'sh -e /etc/init.d/xvfb start'
- 'gem install bundler'
<|file_sep|>original/.travis.yml
- redis-server
notifications:
email: false
before_install:
- "export DISPLAY=:99.... |
notifications:
email: false
before_install:
- 'export DISPLAY=:99.0'
- 'sh -e /etc/init.d/xvfb start'
- 'gem install bundler'
script:
- bundle exec rake test
before_script:
- psql -c 'create database ontohub_test;' -U postgres
- sudo apt-add-repository -y ppa:hets/hets
- sudo apt-add-repository -y '... | <|file_sep|>.travis.yml.diff
original:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
updated:
- 'export DISPLAY=:99.0'
- 'sh -e /etc/init.d/xvfb start'
- 'gem install bundler'
<|file_sep|>original/.travis.yml
- redis-server
notifications:
email: false
before_install:
- "export DISPLAY=:99.... | 01ab034449f45d05468ed9aeecedf321798444cb | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/leiningen/new/re_frame/src/cljs/views_routes.cljs.diff
original:
updated:
(defn show-panel
[panel-name]
[panels panel-name])
<|file_sep|>original/src/leiningen/new/re_frame/src/cljs/views_routes.cljs
;; about
(defn about-panel []
(fn []
[:div "This is the About Page."
[:div [:a {:hre... | (defn about-panel []
(fn []
[:div "This is the About Page."
[:div [:a {:href "#/"} "go to Home Page"]]]))
;; main
(defmulti panels identity)
(defmethod panels :home-panel [] [home-panel])
(defmethod panels :about-panel [] [about-panel])
(defmethod panels :default [] [:div])
(defn show-panel
[panel-name... | <|file_sep|>src/leiningen/new/re_frame/src/cljs/views_routes.cljs.diff
original:
updated:
(defn show-panel
[panel-name]
[panels panel-name])
<|file_sep|>original/src/leiningen/new/re_frame/src/cljs/views_routes.cljs
;; about
(defn about-panel []
(fn []
[:div "This is the About Page."
[:div [:a {:hre... | b4ecd4e82b729f65b0e9a3ca5af59f7bf913fa4f | src/leiningen/new/re_frame/src/cljs/views_routes.cljs | src/leiningen/new/re_frame/src/cljs/views_routes.cljs | Clojure |
<|file_sep|>original/examples/thrift/CMakeLists.txt
set(MUDUO_THRIFT_SRCS
ThriftConnection.cc
ThriftServer.cc
)
add_library(muduo_thrift ${MUDUO_THRIFT_SRCS})
target_link_libraries(muduo_thrift muduo_net thrift)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(tests)
<|file_sep|>current/ex... | set(MUDUO_THRIFT_SRCS
ThriftConnection.cc
ThriftServer.cc
)
add_library(muduo_thrift ${MUDUO_THRIFT_SRCS})
target_link_libraries(muduo_thrift muduo_net thrift)
if(THRIFT_COMPILER AND THRIFT_INCLUDE_DIR AND THRIFT_LIBRARY)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(tests)
endif() | <|file_sep|>original/examples/thrift/CMakeLists.txt
set(MUDUO_THRIFT_SRCS
ThriftConnection.cc
ThriftServer.cc
)
add_library(muduo_thrift ${MUDUO_THRIFT_SRCS})
target_link_libraries(muduo_thrift muduo_net thrift)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(tests)
<|file_sep|>current/ex... | 90a5866424397d22f220f3d2980819d16a620084 | examples/thrift/CMakeLists.txt | examples/thrift/CMakeLists.txt | Text |
<|file_sep|>original/.github/workflows/jpa_integration_ci.yml
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
... | options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
- name: Check out repository code
uses: actions/... | <|file_sep|>original/.github/workflows/jpa_integration_ci.yml
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
... | f1300fbf5d5e0a2359be3fc264a5421b9d0a724d | .github/workflows/jpa_integration_ci.yml | .github/workflows/jpa_integration_ci.yml | YAML |
<|file_sep|>original/features/pages/article.rb
module Pages
class Article < SitePrism::Page
set_url '/articles{/id}'
set_url_matcher /\/articles\/\w+/
end
end
<|file_sep|>current/features/pages/article.rb
module Pages
class Article < SitePrism::Page
set_url '/articles{/id}'
set_url_matcher /\/arti... | module Pages
class Article < SitePrism::Page
set_url '/articles{/id}'
set_url_matcher %r{/articles/\w+}
end
end | <|file_sep|>original/features/pages/article.rb
module Pages
class Article < SitePrism::Page
set_url '/articles{/id}'
set_url_matcher /\/articles\/\w+/
end
end
<|file_sep|>current/features/pages/article.rb
module Pages
class Article < SitePrism::Page
set_url '/articles{/id}'
set_url_matcher /\/arti... | 79d1f20dd50cbb996ddea70e5da9e7cba0d1b17a | features/pages/article.rb | features/pages/article.rb | Ruby |
<|file_sep|>original/docs/xsl/html.xsl
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
<!-- This file is for customizing the default ... | <?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
<!-- This file is for customizing the default XSL stylesheets. -->
<!-- We include th... | <|file_sep|>original/docs/xsl/html.xsl
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
<!-- This file is for customizing the default ... | e9e2348e6e618a1e8f2ab85180b95bb0d2c2777e | docs/xsl/html.xsl | docs/xsl/html.xsl | XSLT |
<|file_sep|>packages/gi/gitlab-haskell.yaml.diff
original:
hash: 6b12986f4720a87782a367d2ab4dc3d162414ef3c23aa03f0c615588a8761111
updated:
hash: e305186040ea69a51e8cfcc42ffbaa1b360e575cc92d972d3ea0377a08984329
<|file_sep|>packages/gi/gitlab-haskell.yaml.diff
original:
time: -any
updated:
<|file_sep|>packages/gi/gitl... | aeson: -any
all-versions:
- 0.1.0.0
- 0.1.0.1
author: Rob Stewart
latest: 0.1.0.1
description-type: markdown
description: |
# A Haskell library for the GitLab web API
This library interacts with a GitLab server's API. It supports queries
about and updates to:
* Branches
* Commits
* Groups
* Issues
*... | <|file_sep|>packages/gi/gitlab-haskell.yaml.diff
original:
hash: 6b12986f4720a87782a367d2ab4dc3d162414ef3c23aa03f0c615588a8761111
updated:
hash: e305186040ea69a51e8cfcc42ffbaa1b360e575cc92d972d3ea0377a08984329
<|file_sep|>packages/gi/gitlab-haskell.yaml.diff
original:
time: -any
updated:
<|file_sep|>packages/gi/gitl... | 8f302125e2412b3137abc0dbc328fbf9344d7972 | packages/gi/gitlab-haskell.yaml | packages/gi/gitlab-haskell.yaml | YAML |
<|file_sep|>original/frame_tools.c
#include <clib/alib_stdio_protos.h>
#include <clib/graphics_protos.h>
#include <inline/graphics_protos.h>
#include <proto/graphics.h>
#include "frame_tools.h"
void RenderFrameNumber(int frameNumber) {
struct RastPort *rastPort = GetCurrentRastPort();
SetDrMd(rastPort, JAM1);
... | #include <clib/alib_stdio_protos.h>
#include <clib/graphics_protos.h>
#include <inline/graphics_protos.h>
#include <proto/graphics.h>
#include "frame_tools.h"
void RenderFrameNumber(int frameNumber) {
struct RastPort *rastPort = GetCurrentRastPort();
SetDrMd(rastPort, JAM1);
char number[5];
sprintf(number,... | <|file_sep|>original/frame_tools.c
#include <clib/alib_stdio_protos.h>
#include <clib/graphics_protos.h>
#include <inline/graphics_protos.h>
#include <proto/graphics.h>
#include "frame_tools.h"
void RenderFrameNumber(int frameNumber) {
struct RastPort *rastPort = GetCurrentRastPort();
SetDrMd(rastPort, JAM1);
... | 297029a7e14db8fd6f30c578e1c1860dadc04096 | frame_tools.c | frame_tools.c | C |
<|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md | # Contributor Code of Conduct
As contributors and maintainers of this project, and in the interest of
fostering an open and welcoming community, we pledge to respect all people who
contribute through reporting issues, posting feature requests, updating
documentation, submitting pull requests or patches, and other acti... | <|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md
# Contributor Code of Conduct
As contributors and maintainers of this project, and in the interest of
fostering an open and welcoming community, we pledge to respect all people who
contribute through... | cf02edf71a4a449a86d720d2bd621ccfd93288f0 | CODE_OF_CONDUCT.md | CODE_OF_CONDUCT.md | Markdown |
<|file_sep|>original/requirements_dev.txt
pip==19.2.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.8
tox==3.13.2
coverage==4.5.4
Sphinx==2.1.2
cryptography==2.7
PyYAML==5.1.2
pytest==5.0.1
pytest-runner==5.1
vcrpy==2.1.0
twine==1.13.0
<|file_sep|>current/requirements_dev.txt
pip==19.2.1
bumpversion==0.5... | pip==19.2.1
bumpversion==0.5.3
wheel==0.33.6
watchdog==0.9.0
flake8==3.7.8
tox==3.13.2
coverage==4.5.4
Sphinx==2.1.2
cryptography==2.7
PyYAML==5.1.2
pytest==5.0.1
pytest-runner==5.1
vcrpy==2.1.0
twine==1.13.0 | <|file_sep|>original/requirements_dev.txt
pip==19.2.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.8
tox==3.13.2
coverage==4.5.4
Sphinx==2.1.2
cryptography==2.7
PyYAML==5.1.2
pytest==5.0.1
pytest-runner==5.1
vcrpy==2.1.0
twine==1.13.0
<|file_sep|>current/requirements_dev.txt
pip==19.2.1
bumpversion==0.5... | e19113fd117e495f40c83733d4005f3a43eb06cf | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/.github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.3, 7.4, 8.0]
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
... | name: CI
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.4, 8.0]
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverag... | <|file_sep|>original/.github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.3, 7.4, 8.0]
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
... | 3fd00095b74e87891191b31bc9e3d0186225717e | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/README.md
# Rollbar for iOS
Objective-C & Swift library for crash reporting and logging with [Rollbar](https://rollbar.com).
## Setup Instructions
1. [Sign up for a Rollbar account](https://rollbar.com/signup)
2. Follow the [Installation](https://docs.rollbar.com/docs/ios#section-installation) i... | [](https://img.shields.io/cocoapods/v/Rollbar.svg)
[](https://github.com/Carthage/Carthage)
# Rollbar for iOS
Objective-C & Swift library for crash repor... | <|file_sep|>original/README.md
# Rollbar for iOS
Objective-C & Swift library for crash reporting and logging with [Rollbar](https://rollbar.com).
## Setup Instructions
1. [Sign up for a Rollbar account](https://rollbar.com/signup)
2. Follow the [Installation](https://docs.rollbar.com/docs/ios#section-installation) i... | 2361db03bf5e8c3f318aa329872343e672920bc5 | README.md | README.md | Markdown |
<|file_sep|>original/lib/trashed/railtie.rb
require 'trashed'
require 'rails/railtie'
module Trashed
class Railtie < ::Rails::Railtie
config.trashed = { :debug => false, :statsd => nil, :logger => nil }
initializer 'measurement middleware' do |app|
app.middleware.insert_after '::Rack::Lock', Trashed::... | require 'trashed'
require 'rails/railtie'
module Trashed
class Railtie < ::Rails::Railtie
config.trashed = { :debug => false, :statsd => nil, :logger => nil }
initializer 'measurement middleware' do |app|
app.middleware.insert_after '::Rack::Lock', Trashed::Rack::MeasureResourceUsage, config.trashed.m... | <|file_sep|>original/lib/trashed/railtie.rb
require 'trashed'
require 'rails/railtie'
module Trashed
class Railtie < ::Rails::Railtie
config.trashed = { :debug => false, :statsd => nil, :logger => nil }
initializer 'measurement middleware' do |app|
app.middleware.insert_after '::Rack::Lock', Trashed::... | 0fed955f200060e4004605ab8b36701b92013e9a | lib/trashed/railtie.rb | lib/trashed/railtie.rb | Ruby |
<|file_sep|>original/README.md
# angular-payment [](https://travis-ci.org/bendrucker/angular-payment)
Demo application for handling credit card payments with AngularJS
<|file_sep|>current/README.md
# angular-payment [](https://travis-ci.org/bendrucker/angular-payment)
Demo application for handling credit card payments with AngularJS. This project is a work-in-progress that I'll continue to build as time permits. If you have any que... | <|file_sep|>original/README.md
# angular-payment [](https://travis-ci.org/bendrucker/angular-payment)
Demo application for handling credit card payments with AngularJS
<|file_sep|>current/README.md
# angular-payment [
<|file_sep|>original/setup-wrap-region.el
;; Only wrap region if trigger key is given a negative prefix argument
(setq wrap-region-only-with-negative-prefix t)
;; Don't screw up key bindings in magit-mod... | ;; Don't screw up key bindings in magit-mode
(add-to-list 'wrap-region-except-modes 'magit-mode)
;; Custom wrappers
(wrap-region-add-wrapper "{ value: " " }" "v" 'js2-mode)
(wrap-region-add-wrapper "$(" ")" "$" 'js2-mode)
(wrap-region-add-wrapper "<c:out value=\"" "\"/>" "o" 'html-mode)
(wrap-region-add-wrapper "<p>... | <|file_sep|>setup-wrap-region.el.diff
original:
updated:
(wrap-region-add-wrapper "<div>" "</div>" "d" 'html-mode)
<|file_sep|>original/setup-wrap-region.el
;; Only wrap region if trigger key is given a negative prefix argument
(setq wrap-region-only-with-negative-prefix t)
;; Don't screw up key bindings in magit-mod... | 8b1f274e71770e791011f5fd8ce532ff2230fcdb | setup-wrap-region.el | setup-wrap-region.el | Emacs Lisp |
<|file_sep|>src/lib/withLinkState.js.diff
original:
const withLinkState = (state = []) => Component => {
updated:
const withLinkState = (baseState = []) => Component => {
<|file_sep|>src/lib/withLinkState.js.diff
original:
if (!Array.isArray(state)) {
updated:
if (!Array.isArray(baseState)) {
<|file_sep|>origin... | }
}
const withLinkState = (baseState = []) => Component => {
const defaultState = {};
if (!Array.isArray(baseState)) {
throw new Error('keys must be an Array of Strings/Objects!');
}
baseState.forEach(item => mapValuesToDefaultState(defaultState, item));
class LinkStateComponent exte... | <|file_sep|>src/lib/withLinkState.js.diff
original:
const withLinkState = (state = []) => Component => {
updated:
const withLinkState = (baseState = []) => Component => {
<|file_sep|>src/lib/withLinkState.js.diff
original:
if (!Array.isArray(state)) {
updated:
if (!Array.isArray(baseState)) {
<|file_sep|>origin... | 69b602f9ac0af7a4921bfe031adfe9bb847ce166 | src/lib/withLinkState.js | src/lib/withLinkState.js | JavaScript |
<|file_sep|>original/midonet/neutron/api.py
<|file_sep|>current/midonet/neutron/api.py
<|file_sep|>updated/midonet/neutron/api.py | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (C) 2014 Midokura SARL.
# All Rights Reserved.
#
# 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.o... | <|file_sep|>original/midonet/neutron/api.py
<|file_sep|>current/midonet/neutron/api.py
<|file_sep|>updated/midonet/neutron/api.py
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (C) 2014 Midokura SARL.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# n... | e3f97f30291a407a54a021d7e4a1805e75c1ec41 | midonet/neutron/api.py | midonet/neutron/api.py | Python |
<|file_sep|>original/onusbutton/src/main/res/values/onusbutton-attrs.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- OnusButton -->
<declare-styleable name="OnusButton">
<attr name="loadingDrawableColor" format="color"/>
<attr name="loadingDrawable" format="reference"/>
</declar... | <?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- OnusButton -->
<declare-styleable name="OnusButton">
<attr name="loadingDrawableColor" format="color"/>
<attr name="loadingDrawable" format="reference"/>
<attr name="drawableLeftCompat" format="reference"/>
<attr name="drawableRightCompat" for... | <|file_sep|>original/onusbutton/src/main/res/values/onusbutton-attrs.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- OnusButton -->
<declare-styleable name="OnusButton">
<attr name="loadingDrawableColor" format="color"/>
<attr name="loadingDrawable" format="reference"/>
</declar... | 8f903e29d89f4adcc71ef46ee4a1a0f7765699c5 | onusbutton/src/main/res/values/onusbutton-attrs.xml | onusbutton/src/main/res/values/onusbutton-attrs.xml | XML |
<|file_sep|>.travis.yml.diff
original:
# - 1.9.3
updated:
- 1.9.3
- 2.0.0
<|file_sep|>.travis.yml.diff
original:
# - PUPPET_VERSION="3.3"
updated:
- PUPPET_VERSION="~> 3.6.0"
- PUPPET_VERSION="~> 3"
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
# - 1.9.3
script: 'rake spec'
env:
- PUPPET_V... | language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
script: 'rake spec'
env:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="~> 3.6.0"
- PUPPET_VERSION="~> 3"
gemfile: .gemfile
matrix:
fast_finish: true
allow_failures:
- rvm: 1.9.3
- rvm: 2.0.0
exclude:
- rvm: 2.0.0
env: ... | <|file_sep|>.travis.yml.diff
original:
# - 1.9.3
updated:
- 1.9.3
- 2.0.0
<|file_sep|>.travis.yml.diff
original:
# - PUPPET_VERSION="3.3"
updated:
- PUPPET_VERSION="~> 3.6.0"
- PUPPET_VERSION="~> 3"
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
# - 1.9.3
script: 'rake spec'
env:
- PUPPET_V... | bb654cfb29158db226056cae23738e7117009bd4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/gir_ffi/receiver_argument_info.rb.diff
original:
updated:
# Assume we don't need to increase the refcount for the receiver argument.
<|file_sep|>original/lib/gir_ffi/receiver_argument_info.rb
class ReceiverArgumentInfo
attr_reader :argument_type
def initialize(type)
@argument_type ... | class ReceiverArgumentInfo
attr_reader :argument_type
def initialize(type)
@argument_type = type
end
def direction
:in
end
# Assume we don't need to increase the refcount for the receiver argument.
def ownership_transfer
:everything
end
def name
'_instan... | <|file_sep|>lib/gir_ffi/receiver_argument_info.rb.diff
original:
updated:
# Assume we don't need to increase the refcount for the receiver argument.
<|file_sep|>original/lib/gir_ffi/receiver_argument_info.rb
class ReceiverArgumentInfo
attr_reader :argument_type
def initialize(type)
@argument_type ... | ec01e6bf0b0b5faefa4392fef3ffb1b2c11ee675 | lib/gir_ffi/receiver_argument_info.rb | lib/gir_ffi/receiver_argument_info.rb | Ruby |
<|file_sep|>original/requirements/doc.txt
sphinx==1.7.4
alagitpull==0.0.20
releases==1.5.0
sphinxcontrib-napoleon==0.6.1
<|file_sep|>current/requirements/doc.txt
sphinx==1.7.4
alagitpull==0.0.20
releases==1.5.0
sphinxcontrib-napoleon==0.6.1
<|file_sep|>updated/requirements/doc.txt | sphinx==1.7.5
alagitpull==0.0.20
releases==1.5.0
sphinxcontrib-napoleon==0.6.1 | <|file_sep|>original/requirements/doc.txt
sphinx==1.7.4
alagitpull==0.0.20
releases==1.5.0
sphinxcontrib-napoleon==0.6.1
<|file_sep|>current/requirements/doc.txt
sphinx==1.7.4
alagitpull==0.0.20
releases==1.5.0
sphinxcontrib-napoleon==0.6.1
<|file_sep|>updated/requirements/doc.txt
sphinx==1.7.5
alagitpull==0.0.20
relea... | 179ec0771ca8b9666d9995f8bd518aaf421ae308 | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>lib/sorty/params.rb.diff
original:
attr_reader :column, :direction, :declared
updated:
attr_reader :column, :direction, :defined_cols, :collection
<|file_sep|>lib/sorty/params.rb.diff
original:
def initialize(col, dir, declared)
updated:
def initialize(col, dir, collection)
<|file_sep|>lib/s... | rescue
DEFAULT_SORT_DIR
end
def sort_col!
fail Sorty::Errors::InvalidColumnDefined.new(column) if column.blank?
col = defined_cols.fetch(:"#{column}").keys.first
fail Sorty::Errors::ColumnDoesNotExist.new(col.to_s) unless collection.column_names.include?(col.to_s)
col
resc... | <|file_sep|>lib/sorty/params.rb.diff
original:
attr_reader :column, :direction, :declared
updated:
attr_reader :column, :direction, :defined_cols, :collection
<|file_sep|>lib/sorty/params.rb.diff
original:
def initialize(col, dir, declared)
updated:
def initialize(col, dir, collection)
<|file_sep|>lib/s... | fbf3eee97f8d114c5b2348056377f4c606b46845 | lib/sorty/params.rb | lib/sorty/params.rb | Ruby |
<|file_sep|>metadata/com.matt.bolton.yml.diff
original:
updated:
- versionName: '5'
versionCode: 5
commit: a34bfe05403deecfd3c120d48a54940025cc546d
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
... | - apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
- versionName: '5'
versionCode: 5
commit: a34bfe05403deecfd3c120d48a54940025cc546d
subdir: app
sudo:
- apt-get update || apt-get update
... | <|file_sep|>metadata/com.matt.bolton.yml.diff
original:
updated:
- versionName: '5'
versionCode: 5
commit: a34bfe05403deecfd3c120d48a54940025cc546d
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
... | c3cd4dd80e9b95018c2198e6cafa8fe7b877cec8 | metadata/com.matt.bolton.yml | metadata/com.matt.bolton.yml | YAML |
<|file_sep|>original/README.md
# data-structures
<|file_sep|>current/README.md
# data-structures
<|file_sep|>updated/README.md | # Data-Structures
### This repo holds sample code for a number of classic data structures implemented in Python.
**Singly-Linked List in Python**
- **Module:** linked_list.py
- **Tests:** test_linked_list.py
- **Recourses Used** http://greenteapress.com/thinkpython/html/chap17.html | <|file_sep|>original/README.md
# data-structures
<|file_sep|>current/README.md
# data-structures
<|file_sep|>updated/README.md
# Data-Structures
### This repo holds sample code for a number of classic data structures implemented in Python.
**Singly-Linked List in Python**
- **Module:** linked_list.py
- **Tests:** tes... | ff41fde274d52e12aaf5014cca32e2024c7f579e | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.6
- 2.7
- 3.0.0-preview1
- jruby
- truffleruby
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.6
- 2.7
- 3.0.0-preview1
- jruby
- truffleruby
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 2.6
- 2.7 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.6
- 2.7
- 3.0.0-preview1
- jruby
- truffleruby
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.6
- 2.7
- 3.0.0-preview1
- jruby
- truffleruby
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 2.6
- 2.7 | a4a85e279bc8f37def1c25524a807e5447228cb9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/images/kubekins-e2e/variants.yaml
BAZEL_VERSION: 0.28.1
UPGRADE_DOCKER: 'true'
master:
CONFIG: master
GO_VERSION: 1.13.6
K8S_RELEASE: stable
BAZEL_VERSION: 0.23.2
'1.18':
CONFIG: '1.18'
GO_VERSION: 1.13.6
K8S_RELEASE: stable-1.18
BAZEL_VERSION: 0.23.2
'... | BAZEL_VERSION: 0.28.1
UPGRADE_DOCKER: 'true'
master:
CONFIG: master
GO_VERSION: 1.13.6
K8S_RELEASE: stable
BAZEL_VERSION: 0.23.2
'1.18':
CONFIG: '1.18'
GO_VERSION: 1.13.6
K8S_RELEASE: latest-1.18
BAZEL_VERSION: 0.23.2
'1.17':
CONFIG: '1.17'
GO_VERSION: 1.13.6
K8... | <|file_sep|>original/images/kubekins-e2e/variants.yaml
BAZEL_VERSION: 0.28.1
UPGRADE_DOCKER: 'true'
master:
CONFIG: master
GO_VERSION: 1.13.6
K8S_RELEASE: stable
BAZEL_VERSION: 0.23.2
'1.18':
CONFIG: '1.18'
GO_VERSION: 1.13.6
K8S_RELEASE: stable-1.18
BAZEL_VERSION: 0.23.2
'... | 75eb0b310066109ffc4795853a82745e35582e30 | images/kubekins-e2e/variants.yaml | images/kubekins-e2e/variants.yaml | YAML |
<|file_sep|>original/app/jobs/expired_dossiers_deletion_job.rb
class ExpiredDossiersDeletionJob < CronJob
self.schedule_expression = "every day at 7 am"
def perform(*args)
ExpiredDossiersDeletionService.process_expired_dossiers_brouillon
end
end
<|file_sep|>current/app/jobs/expired_dossiers_deletion_job.rb
c... | class ExpiredDossiersDeletionJob < CronJob
self.schedule_expression = "every day at 7 am"
def perform(*args)
ExpiredDossiersDeletionService.process_expired_dossiers_brouillon
ExpiredDossiersDeletionService.process_expired_dossiers_en_construction
end
end | <|file_sep|>original/app/jobs/expired_dossiers_deletion_job.rb
class ExpiredDossiersDeletionJob < CronJob
self.schedule_expression = "every day at 7 am"
def perform(*args)
ExpiredDossiersDeletionService.process_expired_dossiers_brouillon
end
end
<|file_sep|>current/app/jobs/expired_dossiers_deletion_job.rb
c... | fcd136c566148acf9ed0766320733bfd42350212 | app/jobs/expired_dossiers_deletion_job.rb | app/jobs/expired_dossiers_deletion_job.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.