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|>src/user/containers/statements.js.diff
original:
updated:
import { fetch_member_user } from '../../shared/redux/modules/member.js'
<|file_sep|>src/user/containers/statements.js.diff
original:
const MemberPaymentsTable = ({payments}) =>
<div>
<PaymentsTable payments={payments} />
</div>
updated:
cl... | import { pick } from 'ramda'
import { fetch_member_user } from '../../shared/redux/modules/member.js'
const PaymentsTable = require('../../shared/components/payments_table')
class MemberPaymentsTable extends React.Component {
componentDidMount () {
this.props.fetch_member_user()
}
render () {
return (... | <|file_sep|>src/user/containers/statements.js.diff
original:
updated:
import { fetch_member_user } from '../../shared/redux/modules/member.js'
<|file_sep|>src/user/containers/statements.js.diff
original:
const MemberPaymentsTable = ({payments}) =>
<div>
<PaymentsTable payments={payments} />
</div>
updated:
cl... | bd03abf01965906da1c9e6ec65e0af010dd731d4 | src/user/containers/statements.js | src/user/containers/statements.js | JavaScript |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '8'
- '10'
- '11'
script:
- npm run build
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '8'
- '10'
- '11'
script:
- npm run build
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- '8'
- '10'
- '12'
script:
- npm run build | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '8'
- '10'
- '11'
script:
- npm run build
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '8'
- '10'
- '11'
script:
- npm run build
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- '8'
- '10'
- '12'
script:
- ... | bb39e09a9a526e582e06e343d8075d620344c576 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/hawkbit-repository/hawkbit-repository-api/src/main/java/org/eclipse/hawkbit/repository/Identifiable.java
/**
* Copyright (c) 2020 Bosch.IO GmbH and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... | /**
* Copyright (c) 2020 Bosch.IO GmbH and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.ecl... | <|file_sep|>original/hawkbit-repository/hawkbit-repository-api/src/main/java/org/eclipse/hawkbit/repository/Identifiable.java
/**
* Copyright (c) 2020 Bosch.IO GmbH and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... | c17ba89c6c064f875e38618beda28c3f33d993d5 | hawkbit-repository/hawkbit-repository-api/src/main/java/org/eclipse/hawkbit/repository/Identifiable.java | hawkbit-repository/hawkbit-repository-api/src/main/java/org/eclipse/hawkbit/repository/Identifiable.java | Java |
<|file_sep|>original/mod_admin_web/admin_web/get_deps.sh
#!/bin/sh
JQUERY_VERSION="1.10.2"
STROPHE_VERSION="1.0.2"
BOOTSTRAP_VERSION="1.4.0"
ADHOC_COMMITISH="87bfedccdb91e2ff7cfb165e989e5259c155b513"
cd www_files/js
rm -f jquery-$JQUERY_VERSION.min.js
wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js
rm -f a... | #!/bin/sh
JQUERY_VERSION="1.10.2"
STROPHE_VERSION="1.1.0"
BOOTSTRAP_VERSION="1.4.0"
ADHOC_COMMITISH="87bfedccdb91e2ff7cfb165e989e5259c155b513"
cd www_files/js
rm -f jquery-$JQUERY_VERSION.min.js
wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js
rm -f adhoc.js
wget -O adhoc.js "http://git.babelmonkeys.de/?p=a... | <|file_sep|>original/mod_admin_web/admin_web/get_deps.sh
#!/bin/sh
JQUERY_VERSION="1.10.2"
STROPHE_VERSION="1.0.2"
BOOTSTRAP_VERSION="1.4.0"
ADHOC_COMMITISH="87bfedccdb91e2ff7cfb165e989e5259c155b513"
cd www_files/js
rm -f jquery-$JQUERY_VERSION.min.js
wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js
rm -f a... | 42a7595774b6eee506a2bca6c43e09dc6048454e | mod_admin_web/admin_web/get_deps.sh | mod_admin_web/admin_web/get_deps.sh | Shell |
<|file_sep|>original/README.md
# Math
Simple mathematical expression parser and calculator.
## Install
The recommended way to install Match is [through composer](http://getcomposer.org).
```JSON
{
"require": {
"aboyadzhiev/php-math-parser": "0.1"
}
}
```
## Usage
Here is an simple example of evaluat... | # Math
Simple mathematical expression parser and calculator.
## Install
The recommended way to install Match is [through composer](http://getcomposer.org).
```JSON
{
"require": {
"aboyadzhiev/php-math-parser": "dev-master"
}
}
```
## Usage
Here is an simple example of evaluation of mathematical expr... | <|file_sep|>original/README.md
# Math
Simple mathematical expression parser and calculator.
## Install
The recommended way to install Match is [through composer](http://getcomposer.org).
```JSON
{
"require": {
"aboyadzhiev/php-math-parser": "0.1"
}
}
```
## Usage
Here is an simple example of evaluat... | 4b43e24388c0c656ae87d8a6e02d364a03467952 | README.md | README.md | Markdown |
<|file_sep|>original/v-ol2/src/main/java/org/vaadin/vol/client/OpenLayersMapState.java
import com.vaadin.shared.Connector;
import java.util.*;
public class OpenLayersMapState extends AbstractComponentState {
public List<Connector> layers = new LinkedList<Connector>();
public Point center;
public int zoom... | import com.vaadin.shared.Connector;
import java.util.*;
public class OpenLayersMapState extends AbstractComponentState {
public List<Connector> layers = new LinkedList<Connector>();
public Point center;
public int zoom = 3;
public Bounds bounds = Bounds.WORLD;
public Connector baseLayer;
pub... | <|file_sep|>original/v-ol2/src/main/java/org/vaadin/vol/client/OpenLayersMapState.java
import com.vaadin.shared.Connector;
import java.util.*;
public class OpenLayersMapState extends AbstractComponentState {
public List<Connector> layers = new LinkedList<Connector>();
public Point center;
public int zoom... | dcd5462db00480da82ea3b12f5397aba7330de30 | v-ol2/src/main/java/org/vaadin/vol/client/OpenLayersMapState.java | v-ol2/src/main/java/org/vaadin/vol/client/OpenLayersMapState.java | Java |
<|file_sep|>original/src/Filters/CSS/FontSwap/Filter.php
use Kibo\Phast\Services\ServiceFilter;
use Kibo\Phast\ValueObjects\Resource;
class Filter implements ServiceFilter {
const FONT_FACE_REGEXP = '/(@font-face\s*\{)([^}]*)/i';
const ICON_FONT_FAMILIES = [
'Font Awesome',
'GeneratePress',
... | use Kibo\Phast\Services\ServiceFilter;
use Kibo\Phast\ValueObjects\Resource;
class Filter implements ServiceFilter {
const FONT_FACE_REGEXP = '/(@font-face\s*\{)([^}]*)/i';
const ICON_FONT_FAMILIES = [
'Font Awesome',
'GeneratePress',
'Dashicons',
'Ionicons',
];
privat... | <|file_sep|>original/src/Filters/CSS/FontSwap/Filter.php
use Kibo\Phast\Services\ServiceFilter;
use Kibo\Phast\ValueObjects\Resource;
class Filter implements ServiceFilter {
const FONT_FACE_REGEXP = '/(@font-face\s*\{)([^}]*)/i';
const ICON_FONT_FAMILIES = [
'Font Awesome',
'GeneratePress',
... | 155b8b62bb5fd8e7a6e1221f34345d675bf85aca | src/Filters/CSS/FontSwap/Filter.php | src/Filters/CSS/FontSwap/Filter.php | PHP |
<|file_sep|>original/test/controllers/aliases_controller_test.rb
require 'test_helper'
class AliasesControllerTest < ActionController::TestCase
# test "the truth" do
# assert true
# end
end
<|file_sep|>current/test/controllers/aliases_controller_test.rb
require 'test_helper'
class AliasesControllerTest < Acti... | # Encoding: utf-8
require 'test_helper'
class AliasesControllerTest < ActionController::TestCase
# test "the truth" do
# assert true
# end
end | <|file_sep|>original/test/controllers/aliases_controller_test.rb
require 'test_helper'
class AliasesControllerTest < ActionController::TestCase
# test "the truth" do
# assert true
# end
end
<|file_sep|>current/test/controllers/aliases_controller_test.rb
require 'test_helper'
class AliasesControllerTest < Acti... | d7bcbc15efaef9d89f32f3800b0fa785c0f00809 | test/controllers/aliases_controller_test.rb | test/controllers/aliases_controller_test.rb | Ruby |
<|file_sep|>bin/test-with-real-projects.sh.diff
original:
git clone git@github.com:Ocramius/ProxyManager.git
updated:
git clone git@github.com:muglug/ProxyManager.git
<|file_sep|>original/bin/test-with-real-projects.sh
cd /tmp/testing-with-real-projects
git clone git@github.com:muglug/collections.git
cd collections
co... |
git clone git@github.com:muglug/collections.git
cd collections
composer install
~/project/psalm --monochrome --show-info=false
cd /tmp/testing-with-real-projects
git clone git@github.com:muglug/ProxyManager.git
cd ProxyManager
git checkout c61365d3a856d5a88f53b7c1fc8dc775f06fa25c
composer install
~/project/psalm --m... | <|file_sep|>bin/test-with-real-projects.sh.diff
original:
git clone git@github.com:Ocramius/ProxyManager.git
updated:
git clone git@github.com:muglug/ProxyManager.git
<|file_sep|>original/bin/test-with-real-projects.sh
cd /tmp/testing-with-real-projects
git clone git@github.com:muglug/collections.git
cd collections
co... | 608ca417bc1e625933b99ee1b7a43f06d6edf120 | bin/test-with-real-projects.sh | bin/test-with-real-projects.sh | Shell |
<|file_sep|>original/templates/Cheffile.erb
site "http://community.opscode.com/api/v1"
cookbook "homebrewalt", :github => "kitchenplan/chef-homebrewalt", :ref => "v1.8.8"
cookbook "nodejs", :github => "kitchenplan/chef-nodejs", :ref => "v1.2"
cookbook "applications", :githu... | site "http://community.opscode.com/api/v1"
cookbook "homebrewalt", :github => "kitchenplan/chef-homebrewalt", :ref => "v1.8.8"
cookbook "nodejs", :github => "kitchenplan/chef-nodejs", :ref => "v1.2"
cookbook "applications", :github => "kitchenplan/chef-applications", :ref... | <|file_sep|>original/templates/Cheffile.erb
site "http://community.opscode.com/api/v1"
cookbook "homebrewalt", :github => "kitchenplan/chef-homebrewalt", :ref => "v1.8.8"
cookbook "nodejs", :github => "kitchenplan/chef-nodejs", :ref => "v1.2"
cookbook "applications", :githu... | c5d699085f7b789b1508235210296f48f9fe1d72 | templates/Cheffile.erb | templates/Cheffile.erb | HTML+ERB |
<|file_sep|>docs/_includes/top-menu.html.diff
original:
<a href="https://tidelift.com/subscription/pkg/rubygems-activeadmin?utm_source=rubygems-activeadmin&utm_medium=readme" target="_blank">
updated:
<a href="https://tidelift.com/subscription/pkg/rubygems-activeadmin?utm_source=rubygems-activeadmin&utm... | <div id="header">
<h1><a href="{{ site.baseurl }}/index.html"><span>Active Admin</span></a></h1>
<div id="nav">
<a href="{{ site.baseurl }}/documentation.html">Documentation</a>
<a href="http://demo.activeadmin.info/admin">Try It Now!</a>
<a href="http://github.com/activeadmin/activeadm... | <|file_sep|>docs/_includes/top-menu.html.diff
original:
<a href="https://tidelift.com/subscription/pkg/rubygems-activeadmin?utm_source=rubygems-activeadmin&utm_medium=readme" target="_blank">
updated:
<a href="https://tidelift.com/subscription/pkg/rubygems-activeadmin?utm_source=rubygems-activeadmin&utm... | 638e1174ff1ef95a527f5b36689f5c63d1c0b91d | docs/_includes/top-menu.html | docs/_includes/top-menu.html | HTML |
<|file_sep|>pgcli/pgtoolbar.py.diff
original:
if cli.current_buffer.completer.smart_completion:
updated:
if cli.buffers['default'].completer.smart_completion:
<|file_sep|>pgcli/pgtoolbar.py.diff
original:
if cli.current_buffer.always_multiline:
updated:
if cli.buffers['default'].always_m... | token = token or Token.Toolbar.Status
super(self.__class__, self).__init__(token=token)
def get_tokens(self, cli, width):
result = TokenList()
result.append((self.token, ' '))
if cli.buffers['default'].completer.smart_completion:
result.append((self.token.On, '[F... | <|file_sep|>pgcli/pgtoolbar.py.diff
original:
if cli.current_buffer.completer.smart_completion:
updated:
if cli.buffers['default'].completer.smart_completion:
<|file_sep|>pgcli/pgtoolbar.py.diff
original:
if cli.current_buffer.always_multiline:
updated:
if cli.buffers['default'].always_m... | 5ddaf8f653df98752ca67b8bfec9b8adfcf168b1 | pgcli/pgtoolbar.py | pgcli/pgtoolbar.py | Python |
<|file_sep|>original/insertion_sort.py
def insertion_sort(un_list):
for idx in range(1, len(un_list)):
current = un_list[idx]
position = idx
while position > 0 and un_list[position-1] > current:
un_list[position] = un_list[position-1]
position = position - 1
... | current = un_list[idx]
position = idx
while position > 0 and un_list[position-1] > current:
un_list[position] = un_list[position-1]
position = position - 1
un_list[position] = current
if __name__ == '__main__':
BEST_CASE = range(1000)
WORST_CASE = BEST_... | <|file_sep|>original/insertion_sort.py
def insertion_sort(un_list):
for idx in range(1, len(un_list)):
current = un_list[idx]
position = idx
while position > 0 and un_list[position-1] > current:
un_list[position] = un_list[position-1]
position = position - 1
... | 9cfc5c5acf568b56f4f150e3040827e5856b52c2 | insertion_sort.py | insertion_sort.py | Python |
<|file_sep|>original/README.md
# classroom
This module is used to configure the classroom environment for all Puppet Labs
training courses. Unless you are an instructor, this is probably not the module
you are looking for. It makes certain assumptions about the environment and is
only flexible within the design specs ... | # classroom
[](https://travis-ci.org/puppetlabs/pltraining-classroom)
This module is used to configure the classroom environment for all Puppet Labs
training courses. Unless you are an instructor, this is probably not the module
y... | <|file_sep|>original/README.md
# classroom
This module is used to configure the classroom environment for all Puppet Labs
training courses. Unless you are an instructor, this is probably not the module
you are looking for. It makes certain assumptions about the environment and is
only flexible within the design specs ... | 76fcbfb7b743e289e00ad0eebdebddea4864cb62 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
dist: xenial
services:
- docker
language: python
python: 3.8
before_install:
- docker-compose -v
- docker -v
matrix:
include:
- name: Test results
script: tox -e py38
- name: Black template
script: tox -e black-template
- name: Basic Docker
scr... | services:
- docker
language: python
python: 3.8
before_install:
- docker-compose -v
- docker -v
matrix:
include:
- name: Test results
script: tox -e py38
- name: Black template
script: tox -e black-template
- name: Basic Docker
script: sh tests/test_docker.sh
- name: Extend... | <|file_sep|>original/.travis.yml
dist: xenial
services:
- docker
language: python
python: 3.8
before_install:
- docker-compose -v
- docker -v
matrix:
include:
- name: Test results
script: tox -e py38
- name: Black template
script: tox -e black-template
- name: Basic Docker
scr... | 05a5bbbad73cf37ba7527e2efd6283697a733145 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/sample.travis.yml
# Install with:
# cp git-hooks-go/sample.travis.yml .travis.yml
#
# travis-ci.org does *not* support .travis.yml to be a symlink!
language: go
go:
- 1.3
install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get code.google.com/p/go.tools/cm... | # Install with:
# cp git-hooks-go/sample.travis.yml .travis.yml
#
# travis-ci.org does *not* support .travis.yml to be a symlink!
language: go
go:
- 1.3
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get code.google.com/p/go.tools/cmd/cover
script:
- ./git-hooks... | <|file_sep|>original/sample.travis.yml
# Install with:
# cp git-hooks-go/sample.travis.yml .travis.yml
#
# travis-ci.org does *not* support .travis.yml to be a symlink!
language: go
go:
- 1.3
install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get code.google.com/p/go.tools/cm... | 365baac83e4083c8327ccd35c13668773dd7aea4 | sample.travis.yml | sample.travis.yml | YAML |
<|file_sep|>original/requirements_for_test.txt
-r requirements.txt
isort==4.3.4
pytest==3.7.1
pytest-env==0.6.2
pytest-mock==1.10.0
pytest-cov==2.5.1
pytest-xdist==1.22.5
coveralls==1.3.0
httpretty==0.9.5
beautifulsoup4==4.6.3
freezegun==0.3.10
flake8==3.5.0
flake8-print==3.1.0
<|file_sep|>current/requirements_for_test... | -r requirements.txt
isort==4.3.4
pytest==3.7.2
pytest-env==0.6.2
pytest-mock==1.10.0
pytest-cov==2.5.1
pytest-xdist==1.22.5
coveralls==1.3.0
httpretty==0.9.5
beautifulsoup4==4.6.3
freezegun==0.3.10
flake8==3.5.0
flake8-print==3.1.0 | <|file_sep|>original/requirements_for_test.txt
-r requirements.txt
isort==4.3.4
pytest==3.7.1
pytest-env==0.6.2
pytest-mock==1.10.0
pytest-cov==2.5.1
pytest-xdist==1.22.5
coveralls==1.3.0
httpretty==0.9.5
beautifulsoup4==4.6.3
freezegun==0.3.10
flake8==3.5.0
flake8-print==3.1.0
<|file_sep|>current/requirements_for_test... | 2a06748a32bdf4f41b618d3a40e40d8cae188d05 | requirements_for_test.txt | requirements_for_test.txt | Text |
<|file_sep|>original/stock_planning/models/stock_move.py
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id... |
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id),
('date', '<=', to_date),
... | <|file_sep|>original/stock_planning/models/stock_move.py
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id... | 6f83e51dc505366187c911b90a017e0fe0531a17 | stock_planning/models/stock_move.py | stock_planning/models/stock_move.py | Python |
<|file_sep|>original/src/SecucardConnect/Product/Payment/Model/SecupayCreditcard.php
namespace SecucardConnect\Product\Payment\Model;
/**
* Payment Secupaycreditcards Api Model class
*
*/
class SecupayCreditcard extends Transaction
{
/**
* @var \SecucardConnect\Product\Payment\Model\Customer
*/
p... |
namespace SecucardConnect\Product\Payment\Model;
/**
* Payment Secupaycreditcards Api Model class
*
*/
class SecupayCreditcard extends Transaction
{
/**
* @var \SecucardConnect\Product\Payment\Model\Customer
*/
public $customer;
public $url_success;
public $url_failure;
public $ifr... | <|file_sep|>original/src/SecucardConnect/Product/Payment/Model/SecupayCreditcard.php
namespace SecucardConnect\Product\Payment\Model;
/**
* Payment Secupaycreditcards Api Model class
*
*/
class SecupayCreditcard extends Transaction
{
/**
* @var \SecucardConnect\Product\Payment\Model\Customer
*/
p... | a8fdbf84d54010ad129431d058ff254ff9141d3b | src/SecucardConnect/Product/Payment/Model/SecupayCreditcard.php | src/SecucardConnect/Product/Payment/Model/SecupayCreditcard.php | PHP |
<|file_sep|>original/db/migrate/20170411153944_add_project_errors_projectid_error_idx.rb
<|file_sep|>current/db/migrate/20170411153944_add_project_errors_projectid_error_idx.rb
<|file_sep|>updated/db/migrate/20170411153944_add_project_errors_projectid_error_idx.rb | class AddProjectErrorsProjectidErrorIdx < ActiveRecord::Migration
def up
execute <<-SQL
CREATE INDEX project_errors_projectid_error_idx
ON public.project_errors
USING btree
(project_id, error COLLATE pg_catalog."default");
SQL
end
def down
execute <<-SQL
DROP INDEX proje... | <|file_sep|>original/db/migrate/20170411153944_add_project_errors_projectid_error_idx.rb
<|file_sep|>current/db/migrate/20170411153944_add_project_errors_projectid_error_idx.rb
<|file_sep|>updated/db/migrate/20170411153944_add_project_errors_projectid_error_idx.rb
class AddProjectErrorsProjectidErrorIdx < ActiveRecor... | 7806d02c9a75bfa5dc7ca2161585a5864c02d91e | db/migrate/20170411153944_add_project_errors_projectid_error_idx.rb | db/migrate/20170411153944_add_project_errors_projectid_error_idx.rb | Ruby |
<|file_sep|>original/recipes/pyribs/meta.yaml
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=3.6
run:
- pyribs-base =={{ version }}
# Remaining deps come from the ribs[all] extra.
- matplotlib >=0.3.0
test:
imports:
- ... | build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=3.6
run:
- python >=3.6
- pyribs-base =={{ version }}
# Remaining deps come from the ribs[all] extra.
- matplotlib >=0.3.0
test:
imports:
- ribs
- ribs.visualize
... | <|file_sep|>original/recipes/pyribs/meta.yaml
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=3.6
run:
- pyribs-base =={{ version }}
# Remaining deps come from the ribs[all] extra.
- matplotlib >=0.3.0
test:
imports:
- ... | b34f3c51f044673c1eadb5dc97714e39bac13215 | recipes/pyribs/meta.yaml | recipes/pyribs/meta.yaml | YAML |
<|file_sep|>original/example/simple/index.html
<div id="drop-zone" class="simple-card">Drag & Drop to this element!</div>
<div id="preview-zone" class="simple-card">Will preview image.</div>
<script src="../../index.js"></script>
<script>
var filednd = new FileDnD('#drop-zone', {
preview: ... | <script src="../../index.js"></script>
<script>
var filednd = new FileDnD('#drop-zone', {
preview: '#preview-zone',
dragoverClass: 'emphasis',
imageMinWidth: '100%',
imageMaxWidth: '100%',
imageMinHeight: '100%',
imageMaxHeight: '100%',
});
filednd.addEv... | <|file_sep|>original/example/simple/index.html
<div id="drop-zone" class="simple-card">Drag & Drop to this element!</div>
<div id="preview-zone" class="simple-card">Will preview image.</div>
<script src="../../index.js"></script>
<script>
var filednd = new FileDnD('#drop-zone', {
preview: ... | 257fa798c9f1a5102fa32d2b52f47f002048ae5e | example/simple/index.html | example/simple/index.html | HTML |
<|file_sep|>original/test/data/expected-config.json
<|file_sep|>current/test/data/expected-config.json
<|file_sep|>updated/test/data/expected-config.json | {
"string-item1": "string-item1-env-value",
"string-item2": "string-item2-config-value",
"string-item3": "string-item3-base-value",
"boolean-item1": true,
"boolean-item2": false,
"boolean-item3": true,
"int-item1": 11,
"int-item2": 22,
"int-item3": 33,
"float-item1": 1.1,
"fl... | <|file_sep|>original/test/data/expected-config.json
<|file_sep|>current/test/data/expected-config.json
<|file_sep|>updated/test/data/expected-config.json
{
"string-item1": "string-item1-env-value",
"string-item2": "string-item2-config-value",
"string-item3": "string-item3-base-value",
"boolean-item1":... | a931c205dd3310133472d57ae4706255b2985cce | test/data/expected-config.json | test/data/expected-config.json | JSON |
<|file_sep|>original/bower.json
{
"name": "basic-selection-scroll",
"description": "Aspect which scrolls a container to keep the selected item visible.",
"version": "0.6.0-preview",
"license": "MIT",
"main": "basic-selection-scroll.html",
"dependencies": {
"basic-aspect": "basic-web-components/basic-asp... | {
"name": "basic-selection-scroll",
"description": "Aspect which scrolls a container to keep the selected item visible.",
"version": "0.6.0-preview",
"license": "MIT",
"main": "basic-selection-scroll.html",
"dependencies": {
"basic-aspect": "basic-web-components/basic-aspect#master",
"iron-icons": "... | <|file_sep|>original/bower.json
{
"name": "basic-selection-scroll",
"description": "Aspect which scrolls a container to keep the selected item visible.",
"version": "0.6.0-preview",
"license": "MIT",
"main": "basic-selection-scroll.html",
"dependencies": {
"basic-aspect": "basic-web-components/basic-asp... | d190422b2cec169352770fb1c534cf6214ebaf88 | bower.json | bower.json | JSON |
<|file_sep|>urdf/README.md.diff
original:
## `ud.urdf.xacro`
updated:
### ud.urdf.xacro
<|file_sep|>urdf/README.md.diff
original:
## `youbot_base_only.urdf.xacro`
updated:
### youbot_base_only.urdf.xacro
<|file_sep|>original/urdf/README.md
## `ud.urdf.xacro`
UDをパーツの組み合わせとして記述するための、トップレベルのURDFです。このファイルは、各パーツのURDFをinclud... | ### ud.urdf.xacro
UDをパーツの組み合わせとして記述するための、トップレベルのURDFです。このファイルは、各パーツのURDFをincludeするだけ、というふうにできるだけ簡潔に記述されるようにしたいです。
### youbot_base_only.urdf.xacro
移動プラットフォーム部分であるyoubotを記述するためのURDFです。
### body.urdf.xacro
胴体部を記述するURDFです。ルートは `bottom_pillers_link` です。 hokuyoセンサは `front_laser_adjuster_link` 、 `rear_laser_adjuster_link` に... | <|file_sep|>urdf/README.md.diff
original:
## `ud.urdf.xacro`
updated:
### ud.urdf.xacro
<|file_sep|>urdf/README.md.diff
original:
## `youbot_base_only.urdf.xacro`
updated:
### youbot_base_only.urdf.xacro
<|file_sep|>original/urdf/README.md
## `ud.urdf.xacro`
UDをパーツの組み合わせとして記述するための、トップレベルのURDFです。このファイルは、各パーツのURDFをinclud... | 9eedefa061559ba49b75227a5c36435a040844ab | urdf/README.md | urdf/README.md | Markdown |
<|file_sep|>original/package.json
{
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"fh-mbaas-api": "^5.13.11",
"request": "2.34.0",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-c... | {
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"fh-mbaas-api": "5.13.12",
"request": "2.34.0",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-co... | <|file_sep|>original/package.json
{
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"fh-mbaas-api": "^5.13.11",
"request": "2.34.0",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-c... | 956a20b4bc64bed4cf59d180c7df7b38dcb03e76 | package.json | package.json | JSON |
<|file_sep|>original/tests/test_compat.py
from rest_framework_jwt.compat import get_request_data
class CompatTests(TestCase):
def setUp(self):
self.factory = APIRequestFactory()
def test_get_request_data(self):
data = '{"a":"b"}'
post = self.factory.post('/', data, content_type='appli... | def setUp(self):
self.factory = APIRequestFactory()
def test_get_request_data(self):
data = '{"a":"b"}'
post = self.factory.post('/', data, content_type='application/json')
request = Request(post, parsers=[JSONParser()])
assert get_request_data(request) == {'a': 'b'}
... | <|file_sep|>original/tests/test_compat.py
from rest_framework_jwt.compat import get_request_data
class CompatTests(TestCase):
def setUp(self):
self.factory = APIRequestFactory()
def test_get_request_data(self):
data = '{"a":"b"}'
post = self.factory.post('/', data, content_type='appli... | 72f4dc35375ba001c2b1dbaca4d0914dc2c4de9d | tests/test_compat.py | tests/test_compat.py | Python |
<|file_sep|>original/components/ChoiceList.qml
QStyleBackground {
anchors.fill:parent
style: QStyleItem {
elementType: "menuitem"
text: choicelist.model.get(index).text
selected: highlighted
}
}
}
popupFrame: QS... | width:choicelist.width
QStyleBackground {
anchors.fill:parent
style: QStyleItem {
elementType: "menuitem"
text: choicelist.model.get(index).text
selected: highlighted
}
}
}
popupFrame: QStyleBackground {... | <|file_sep|>original/components/ChoiceList.qml
QStyleBackground {
anchors.fill:parent
style: QStyleItem {
elementType: "menuitem"
text: choicelist.model.get(index).text
selected: highlighted
}
}
}
popupFrame: QS... | 55b4931ec18030280344de906edcde24703980f2 | components/ChoiceList.qml | components/ChoiceList.qml | QML |
<|file_sep|>original/css/style.css
* {
box-sizing: border-box;
font-family: monospace;
font-size: 16px;
}
.app-watcher {
width: 300px;
}
.app-watcher__db {
padding: 6px 9px;
border-radius: 3px;
border: solid 1px #c7c7c7;
width: 100%;
}
.app-watcher__submit-btn {
width: 100%;
border-radius: 3px;
... | * {
box-sizing: border-box;
font-family: monospace;
font-size: 16px;
}
.app-watcher {
min-width: 300px;
}
.app-watcher__db {
padding: 6px 9px;
border-radius: 3px;
border: solid 1px #c7c7c7;
width: 100%;
}
.app-watcher__submit-btn {
width: 100%;
border-radius: 3px;
border: none; | <|file_sep|>original/css/style.css
* {
box-sizing: border-box;
font-family: monospace;
font-size: 16px;
}
.app-watcher {
width: 300px;
}
.app-watcher__db {
padding: 6px 9px;
border-radius: 3px;
border: solid 1px #c7c7c7;
width: 100%;
}
.app-watcher__submit-btn {
width: 100%;
border-radius: 3px;
... | 37c38333885c7eba9b2673df852438a2a9da8b38 | css/style.css | css/style.css | CSS |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '6'
before_script:
- npm install --no-save react react-dom prop-types
notifications:
email: false
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '6'
before_script:
- npm install --no-save react react-dom prop-t... | sudo: false
language: node_js
node_js:
- '8'
- '6'
before_script:
- npm install --no-save react react-dom prop-types
notifications:
email: false | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '6'
before_script:
- npm install --no-save react react-dom prop-types
notifications:
email: false
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '6'
before_script:
- npm install --no-save react react-dom prop-t... | d581e5b2f0e26882111d0650159eb36c6f90509f | .travis.yml | .travis.yml | YAML |
<|file_sep|>rally-scenarios/README.rst.diff
original:
* designate.yaml is rally task that will be run in gates
updated:
* designate-designate.yaml is rally task that will be run in gates
<|file_sep|>rally-scenarios/README.rst.diff
original:
updated:
<|file_sep|>rally-scenarios/README.rst.diff
original:
updated:
<... | * designate-designate.yaml is rally task that will be run in gates
* plugins - directory where you can add rally plugins. Almost everything in
Rally is plugin. Benchmark context, Benchmark scenario, SLA checks, Generic
cleanup resources, ....
* extra - all files from this directory will be copy pasted to gates, s... | <|file_sep|>rally-scenarios/README.rst.diff
original:
* designate.yaml is rally task that will be run in gates
updated:
* designate-designate.yaml is rally task that will be run in gates
<|file_sep|>rally-scenarios/README.rst.diff
original:
updated:
<|file_sep|>rally-scenarios/README.rst.diff
original:
updated:
<... | 0c0a4a3b3845280ada81cfa1ab0734ec3f49f6d8 | rally-scenarios/README.rst | rally-scenarios/README.rst | reStructuredText |
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.7
- 3.6
- 3.5
- 3.4
- pypy
cache:
directories:
- ".cache/pip/"
- "$HOME/.cache/pip"
- docs/node_modules/
- "$HOME/docs/node_modules"
install: "pip install -r elastic_panel/test/requirement.txt"
script: python setup.py test
sudo: false
deploy:... | language: python
dist: xenial
sudo: true
python:
- 2.7
- 3.7
- 3.6
- 3.5
- 3.4
- pypy
cache:
directories:
- ".cache/pip/"
- "$HOME/.cache/pip"
- docs/node_modules/
- "$HOME/docs/node_modules"
install: "pip install -r elastic_panel/test/requirement.txt"
script: python setup.py test
sudo: false
deploy: | <|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.7
- 3.6
- 3.5
- 3.4
- pypy
cache:
directories:
- ".cache/pip/"
- "$HOME/.cache/pip"
- docs/node_modules/
- "$HOME/docs/node_modules"
install: "pip install -r elastic_panel/test/requirement.txt"
script: python setup.py test
sudo: false
deploy:... | 3b15eba4a18164ce457d74978b0e05d319c07649 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/recipes/exmol/meta.yaml
- rdkit
- requests
- scikit-learn
- selfies
- tqdm
test:
imports:
- exmol
- exmol.stoned
commands:
- pip check
requires:
- pip
about:
home: https://ur-whitelab.github.io/exmol/
summary: Counterfactual generation with STONED SEL... | - rdkit
- requests
- scikit-learn
- selfies
- tqdm
test:
imports:
- exmol
- exmol.stoned
requires:
- pip
about:
home: https://ur-whitelab.github.io/exmol/
summary: Counterfactual generation with STONED SELFIES
license: MIT
license_file: LICENSE
extra:
recipe-maintainers: | <|file_sep|>original/recipes/exmol/meta.yaml
- rdkit
- requests
- scikit-learn
- selfies
- tqdm
test:
imports:
- exmol
- exmol.stoned
commands:
- pip check
requires:
- pip
about:
home: https://ur-whitelab.github.io/exmol/
summary: Counterfactual generation with STONED SEL... | d70ba1adbe9579d560a04c40fdbc2f9dfc1c94e4 | recipes/exmol/meta.yaml | recipes/exmol/meta.yaml | YAML |
<|file_sep|>original/billplz.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'billplz/version'
Gem::Specification.new do |spec|
spec.name = "billplz"
spec.version = Billplz::VERSION
spec.summary = 'Abstraction library to int... | lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'billplz/version'
Gem::Specification.new do |spec|
spec.name = "billplz"
spec.version = Billplz::VERSION
spec.summary = 'Abstraction library to interface with the Billplz API'
spec.l... | <|file_sep|>original/billplz.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'billplz/version'
Gem::Specification.new do |spec|
spec.name = "billplz"
spec.version = Billplz::VERSION
spec.summary = 'Abstraction library to int... | 88c55f9da2e78ce9688704b3e0e1d0f5c7d93494 | billplz.gemspec | billplz.gemspec | Ruby |
<|file_sep|>original/requirements.txt
pymongo == 3.3.0
redis == 2.10.5
redis-dump-load == 0.4.0
Ghost.py == 0.2.3
requests==2.11.1
cassandra-driver==3.6.0
CouchDB==1.1
couchpy == 0.2dev
scapy == 2.3.2
shodan==1.5.5
starbase == 0.3.3
termcolor == 1.1.0
pcapy == 0.10.10
dnet == 1.12
<|file_sep|>current/requirements.txt
p... | pymongo == 3.3.0
redis == 2.10.5
redis-dump-load==1.0
Ghost.py == 0.2.3
requests==2.11.1
cassandra-driver==3.6.0
CouchDB==1.1
couchpy == 0.2dev
scapy == 2.3.2
shodan==1.5.5
starbase == 0.3.3
termcolor == 1.1.0
pcapy == 0.10.10
dnet == 1.12 | <|file_sep|>original/requirements.txt
pymongo == 3.3.0
redis == 2.10.5
redis-dump-load == 0.4.0
Ghost.py == 0.2.3
requests==2.11.1
cassandra-driver==3.6.0
CouchDB==1.1
couchpy == 0.2dev
scapy == 2.3.2
shodan==1.5.5
starbase == 0.3.3
termcolor == 1.1.0
pcapy == 0.10.10
dnet == 1.12
<|file_sep|>current/requirements.txt
p... | 85c7b927bff9978bb03025ab7980a3f7f4bb0f9d | requirements.txt | requirements.txt | Text |
<|file_sep|>original/MarkovNetwork/_version.py
"""
Copyright 2016 Randal S. Olson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to us... | """
Copyright 2016 Randal S. Olson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, su... | <|file_sep|>original/MarkovNetwork/_version.py
"""
Copyright 2016 Randal S. Olson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to us... | 3989abf6de879af6982a76ea3522f11f789c6569 | MarkovNetwork/_version.py | MarkovNetwork/_version.py | Python |
<|file_sep|>original/setup.py
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_emai... | 'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_email="michael@zerodb.io",
lic... | <|file_sep|>original/setup.py
'zc.zlibstorage',
'pycryptodome',
'click',
'flask-cors',
'flask',
'requests',
'jsonpickle',
'pyelliptic',
'ecdsa']
setup(
name="zerodb",
version="0.96.4",
description="End-to-end encrypted database",
author="ZeroDB Inc.",
author_emai... | 02ff4dd9434b4ff8f72128550fc70b8ba94ca506 | setup.py | setup.py | Python |
<|file_sep|>lib/vagrant-vbguest/helpers.rb.diff
original:
!!@@rebooted[vm.name]
updated:
!!@@rebooted[vm.uuid]
<|file_sep|>lib/vagrant-vbguest/helpers.rb.diff
original:
@@rebooted[vm.name] = true
updated:
@@rebooted[vm.uuid] = true
<|file_sep|>original/lib/vagrant-vbguest/helpers.rb
... |
def rebooted?(vm)
!!@@rebooted[vm.uuid]
end
def reboot(vm, options)
if rebooted?(vm)
vm.ui.error(I18n.t("vagrant.plugins.vbguest.restart_loop_guard_activated"))
false
elsif options[:auto_reboot]
vm.ui.warn(I18n.t("vagrant.plugins.vbguest.restart_... | <|file_sep|>lib/vagrant-vbguest/helpers.rb.diff
original:
!!@@rebooted[vm.name]
updated:
!!@@rebooted[vm.uuid]
<|file_sep|>lib/vagrant-vbguest/helpers.rb.diff
original:
@@rebooted[vm.name] = true
updated:
@@rebooted[vm.uuid] = true
<|file_sep|>original/lib/vagrant-vbguest/helpers.rb
... | 8d620c35da068107fb2942385372a5d7e33699b8 | lib/vagrant-vbguest/helpers.rb | lib/vagrant-vbguest/helpers.rb | Ruby |
<|file_sep|>database/initialize.py.diff
original:
updated:
from sqlalchemy.orm import sessionmaker
<|file_sep|>original/database/initialize.py
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, String
engine = create_engine('sqlite:///:memory:', echo=True)
Base = declarat... |
class User(Base):
__tablename__ = 'users'
id = Column(Integer, primary_key=True)
name = Column(String)
fullname = Column(String)
password = Column(String)
def __repr__(self):
return "<User(name='%s', fullname='%s', password='%s')>" % (
self.name, self.fullname, self.passwor... | <|file_sep|>database/initialize.py.diff
original:
updated:
from sqlalchemy.orm import sessionmaker
<|file_sep|>original/database/initialize.py
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, String
engine = create_engine('sqlite:///:memory:', echo=True)
Base = declarat... | 7bd606d40372d874f49016ea381270e34c7c7d58 | database/initialize.py | database/initialize.py | Python |
<|file_sep|>modules/test.py.diff
original:
def getFellowPlayers(response):
updated:
def winOrLose(championsID, response):
wlRatio = 0
kdRatio = 0
gamesWon = 0
gamesLoss = 0
numKills = 0
numDeaths = 0
<|file_sep|>modules/test.py.diff
original:
for players in range(9):
print(response["games"][games]... | if response["games"][games]["stats"]["win"] == "true":
gamesWon += 1
if response["games"][games]["stats"]["win"] == "false":
gamesLoss += 1
if gamesLoss > 0:
wlRatio = gamesWon/gamesLoss
else:
wlRatio = gamesWon
if numDeaths > 0:
kdRatio = numKills/numDeaths
e... | <|file_sep|>modules/test.py.diff
original:
def getFellowPlayers(response):
updated:
def winOrLose(championsID, response):
wlRatio = 0
kdRatio = 0
gamesWon = 0
gamesLoss = 0
numKills = 0
numDeaths = 0
<|file_sep|>modules/test.py.diff
original:
for players in range(9):
print(response["games"][games]... | 7c679e019d455564f2f609799b33cab75bc361c8 | modules/test.py | modules/test.py | Python |
<|file_sep|>original/validation-test/compiler_crashers/28257-swift-typechecker-resolvetypewitness.swift
<|file_sep|>current/validation-test/compiler_crashers/28257-swift-typechecker-resolvetypewitness.swift
<|file_sep|>updated/validation-test/compiler_crashers/28257-swift-typechecker-resolvetypewitness.swift | // RUN: not --crash %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
protocol A{
class A:a{
}
typealias e:a
protocol a{
typealias r
}
typealias e:A | <|file_sep|>original/validation-test/compiler_crashers/28257-swift-typechecker-resolvetypewitness.swift
<|file_sep|>current/validation-test/compiler_crashers/28257-swift-typechecker-resolvetypewitness.swift
<|file_sep|>updated/validation-test/compiler_crashers/28257-swift-typechecker-resolvetypewitness.swift
// RUN: ... | 3148d6e4114df91390abbb7693a39160b0d554a8 | validation-test/compiler_crashers/28257-swift-typechecker-resolvetypewitness.swift | validation-test/compiler_crashers/28257-swift-typechecker-resolvetypewitness.swift | Swift |
<|file_sep|>original/src/Bootstrap/Views/Shared/_validationSummary.cshtml
@if (ViewData.ModelState.Any(x => x.Value.Errors.Any()))
{
<div class="alert alert-error">
<a class="close" data-dismiss="alert">�</a>
@Html.ValidationSummary(true)
</div>
}
<|file_sep|>current/src/Bootstrap/Views/Shared/_va... | @if (ViewData.ModelState.Any(x => x.Value.Errors.Any()))
{
<div class="alert alert-error">
<a class="close" data-dismiss="alert">×/a>
@Html.ValidationSummary(true)
</div>
} | <|file_sep|>original/src/Bootstrap/Views/Shared/_validationSummary.cshtml
@if (ViewData.ModelState.Any(x => x.Value.Errors.Any()))
{
<div class="alert alert-error">
<a class="close" data-dismiss="alert">�</a>
@Html.ValidationSummary(true)
</div>
}
<|file_sep|>current/src/Bootstrap/Views/Shared/_va... | fa84a0bb401f8caf320998fa848835727e3dd6f4 | src/Bootstrap/Views/Shared/_validationSummary.cshtml | src/Bootstrap/Views/Shared/_validationSummary.cshtml | C# |
<|file_sep|>lib/data_mapper/finalizer/base_relation_mappers_finalizer.rb.diff
original:
relation = register_base_relation(mapper)
finalize_mapper(mapper, relation)
updated:
finalize_mapper(mapper, register_base_relation(mapper))
<|file_sep|>lib/data_mapper/finalizer/base_relation_mappers_f... | def finalize_edges
mappers.each do |mapper|
mapper.relationships.each do |relationship|
connector_builder.call(relations, mapper_registry, relationship)
end
end
end
private
def registered_node(mapper, name, header)
relation = registered_r... | <|file_sep|>lib/data_mapper/finalizer/base_relation_mappers_finalizer.rb.diff
original:
relation = register_base_relation(mapper)
finalize_mapper(mapper, relation)
updated:
finalize_mapper(mapper, register_base_relation(mapper))
<|file_sep|>lib/data_mapper/finalizer/base_relation_mappers_f... | 5a50032319c31cd12018c8522a31be13bf9e7969 | lib/data_mapper/finalizer/base_relation_mappers_finalizer.rb | lib/data_mapper/finalizer/base_relation_mappers_finalizer.rb | Ruby |
<|file_sep|>original/features/reviewer_can_discuss_proposals.feature
And a reviewer User exists
And that user is logged in
Scenario: Comment on a proposal
Given I am on the "proposals" page
When I follow "Discuss" for "The great Ruby talk"
And I follow "Comment"
And I fill in the following:
... | And that user is logged in
Scenario: Comment on a proposal
Given I am on the "proposals" page
When I follow "Discuss" for "The great Ruby talk"
And I follow "Comment"
And I fill in the following:
| Comment | The comment that I just made |
And I press the "Create Comment" button
Then... | <|file_sep|>original/features/reviewer_can_discuss_proposals.feature
And a reviewer User exists
And that user is logged in
Scenario: Comment on a proposal
Given I am on the "proposals" page
When I follow "Discuss" for "The great Ruby talk"
And I follow "Comment"
And I fill in the following:
... | ef9e267a357cada28ef47fe68655d1d436a126ea | features/reviewer_can_discuss_proposals.feature | features/reviewer_can_discuss_proposals.feature | Cucumber |
<|file_sep|>original/app/helpers/markdown_helper.rb
module MarkdownHelper
# Make auto-links target=_blank
class TargetBlankRenderer < Redcarpet::Render::HTML
def initialize(extensions = {})
super extensions.merge(link_attributes: { target: '_blank' })
end
end
# Render markdown
def render_markdo... | module MarkdownHelper
# Make auto-links target=_blank
class TargetBlankRenderer < Redcarpet::Render::HTML
def initialize(extensions = {})
super extensions.merge(link_attributes: { target: '_blank' })
end
end
# Render markdown
def render_markdown(text)
Redcarpet::Markdown.new(
TargetBl... | <|file_sep|>original/app/helpers/markdown_helper.rb
module MarkdownHelper
# Make auto-links target=_blank
class TargetBlankRenderer < Redcarpet::Render::HTML
def initialize(extensions = {})
super extensions.merge(link_attributes: { target: '_blank' })
end
end
# Render markdown
def render_markdo... | 7d0e8a56e1987f2ecaeb1864daa69f942b24ad8f | app/helpers/markdown_helper.rb | app/helpers/markdown_helper.rb | Ruby |
<|file_sep|>original/gradle.properties
######################################################################
# Name of the service and group that is responsible for it
######################################################################
serviceGroup=org.openlmis
serviceName=openlmis-fulfillment
####################... | ######################################################################
# Name of the service and group that is responsible for it
######################################################################
serviceGroup=org.openlmis
serviceName=openlmis-fulfillment
###########################################################... | <|file_sep|>original/gradle.properties
######################################################################
# Name of the service and group that is responsible for it
######################################################################
serviceGroup=org.openlmis
serviceName=openlmis-fulfillment
####################... | be0a569d81c034284830104022e3cf9571b8893c | gradle.properties | gradle.properties | INI |
<|file_sep|>original/Casks/balsamiq-mockups.rb
cask :v1 => 'balsamiq-mockups' do
version '3.1.6'
sha256 '5f6fec35f0ab2fdaea766b5139cc9ea604782eeda6ac417b606e6d309c7b89b7'
# amazonaws is the official download host per the vendor homepage
url "https://s3.amazonaws.com/build_production/mockups-desktop/Balsamiq_Mo... | cask :v1 => 'balsamiq-mockups' do
version '3.1.7'
sha256 'e46f9d6c7abfc95b34ec6ff944efbdef9c256f5ac49fb54767c3f287fe38919a'
# amazonaws is the official download host per the vendor homepage
url "https://s3.amazonaws.com/build_production/mockups-desktop/Balsamiq_Mockups_#{version}.dmg"
name 'Balsamiq Mockups'... | <|file_sep|>original/Casks/balsamiq-mockups.rb
cask :v1 => 'balsamiq-mockups' do
version '3.1.6'
sha256 '5f6fec35f0ab2fdaea766b5139cc9ea604782eeda6ac417b606e6d309c7b89b7'
# amazonaws is the official download host per the vendor homepage
url "https://s3.amazonaws.com/build_production/mockups-desktop/Balsamiq_Mo... | 108055f6e6cbfbf81eca3eafb6a440c2eccb396f | Casks/balsamiq-mockups.rb | Casks/balsamiq-mockups.rb | Ruby |
<|file_sep|>stack-ghcjs.yaml.diff
original:
compiler: ghcjs-0.2.0.20160703_ghc-7.10.3
updated:
compiler: ghcjs-0.2.0.20160917_ghc-7.10.3
<|file_sep|>original/stack-ghcjs.yaml
resolver: lts-6.6
packages:
- '.'
- location:
git: https://github.com/agocorona/transient.git
commit: b06645a46462e68a2712de8ecd0d8f325b0... | resolver: lts-6.6
packages:
- '.'
- location:
git: https://github.com/agocorona/transient.git
commit: b06645a46462e68a2712de8ecd0d8f325b07a520
extra-dep: true
extra-package-dbs: []
flags: {}
compiler: ghcjs-0.2.0.20160917_ghc-7.10.3
compiler-check: match-exact
setup-info:
ghcjs:
source:
ghcjs-0.2... | <|file_sep|>stack-ghcjs.yaml.diff
original:
compiler: ghcjs-0.2.0.20160703_ghc-7.10.3
updated:
compiler: ghcjs-0.2.0.20160917_ghc-7.10.3
<|file_sep|>original/stack-ghcjs.yaml
resolver: lts-6.6
packages:
- '.'
- location:
git: https://github.com/agocorona/transient.git
commit: b06645a46462e68a2712de8ecd0d8f325b0... | 075c784a5b820318d54d46a1a251363e5aa9c04d | stack-ghcjs.yaml | stack-ghcjs.yaml | YAML |
<|file_sep|>original/README.md
# AkamaiNativeJSLib
A Native JS library to access Akamai's CDN system using CORS requests.
#Required Libraries
* CryptoJS v3.1.2 - Custom rollup containing core.js + env-base64.js, sha256.js, hmac.js
* querystring v0.1.0 - Simple querystring lib with no dependencies
* xml2json
* jsmin.... | # AkamaiNativeJSLib
A Native JS library to access Akamai's Netstorage CDN system using CORS requests.
#Required Libraries
* CryptoJS v3.1.2 - Custom rollup containing core.js + env-base64.js, sha256.js, hmac.js
* querystring v0.1.0 - Simple querystring lib with no dependencies
* xml2json
* jsmin.js (full) 2010-01-15... | <|file_sep|>original/README.md
# AkamaiNativeJSLib
A Native JS library to access Akamai's CDN system using CORS requests.
#Required Libraries
* CryptoJS v3.1.2 - Custom rollup containing core.js + env-base64.js, sha256.js, hmac.js
* querystring v0.1.0 - Simple querystring lib with no dependencies
* xml2json
* jsmin.... | 7a37523e8b250a18ea5e5c4092bafa935bfabef0 | README.md | README.md | Markdown |
<|file_sep|>original/documentation/rtd/contributing.md
# Contributing
Contributions to Yggdrasil Decision Forests and Tensorflow Decision Forests are
welcome. If you want to contribute, make sure to review the
[developer manual](https://github.com/google/yggdrasil-decision-forests/blob/main/developer_manual.md)
and
[c... | # Contributing
Contributions to Yggdrasil Decision Forests and Tensorflow Decision Forests are
welcome. If you want to contribute, make sure to review the
[developer manual](https://github.com/google/yggdrasil-decision-forests/blob/main/documentation/developer_manual.md)
and
[contribution guidelines](https://github.co... | <|file_sep|>original/documentation/rtd/contributing.md
# Contributing
Contributions to Yggdrasil Decision Forests and Tensorflow Decision Forests are
welcome. If you want to contribute, make sure to review the
[developer manual](https://github.com/google/yggdrasil-decision-forests/blob/main/developer_manual.md)
and
[c... | 6aeac6dab2c4f39ce353f8fd35e7552ea2d05015 | documentation/rtd/contributing.md | documentation/rtd/contributing.md | Markdown |
<|file_sep|>original/src/Instantiator/ContainerInstantiator.php
<?php
namespace Emonkak\Framework\Instantiator;
use Emonkak\Di\ContainerInterface;
use Emonkak\Di\ContainerConfiguratorInterface;
use Doctrine\Common\Cache\Cache;
class ContainerInstantiator implements InstantiatorInterface
{
/**
* @var Contain... | <?php
namespace Emonkak\Framework\Instantiator;
use Emonkak\Di\ContainerInterface;
use Emonkak\Di\ContainerConfiguratorInterface;
class ContainerInstantiator implements InstantiatorInterface
{
/**
* @var ContainerInterface
*/
private $container;
/**
* @param ContainerInterface $container
... | <|file_sep|>original/src/Instantiator/ContainerInstantiator.php
<?php
namespace Emonkak\Framework\Instantiator;
use Emonkak\Di\ContainerInterface;
use Emonkak\Di\ContainerConfiguratorInterface;
use Doctrine\Common\Cache\Cache;
class ContainerInstantiator implements InstantiatorInterface
{
/**
* @var Contain... | e57beb847b1d6647becd3b0f786a110023aa6c57 | src/Instantiator/ContainerInstantiator.php | src/Instantiator/ContainerInstantiator.php | PHP |
<|file_sep|>Content.Server/GameObjects/Components/Mobs/VisitingMindComponent.cs.diff
original:
updated:
using Robust.Shared.ViewVariables;
<|file_sep|>original/Content.Server/GameObjects/Components/Mobs/VisitingMindComponent.cs
using Content.Server.Mobs;
using Robust.Shared.GameObjects;
namespace Content.Server.Game... | using Robust.Shared.GameObjects;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects.Components.Mobs
{
[RegisterComponent]
public sealed class VisitingMindComponent : Component
{
public override string Name => "VisitingMind";
[ViewVariables]
public Mind Mind { g... | <|file_sep|>Content.Server/GameObjects/Components/Mobs/VisitingMindComponent.cs.diff
original:
updated:
using Robust.Shared.ViewVariables;
<|file_sep|>original/Content.Server/GameObjects/Components/Mobs/VisitingMindComponent.cs
using Content.Server.Mobs;
using Robust.Shared.GameObjects;
namespace Content.Server.Game... | 834bcda840dcd253fe8ad7de6c3bb6618cfe0a6f | Content.Server/GameObjects/Components/Mobs/VisitingMindComponent.cs | Content.Server/GameObjects/Components/Mobs/VisitingMindComponent.cs | C# |
<|file_sep|>original/CMakeLists.txt
cmake_minimum_required (VERSION 2.6)
project (molch)
subdirs(test lib)
set(CMAKE_BUILD_TYPE Debug)
enable_testing()
#Set the linker flag for sodium
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINKER_FLAGS} -lsodium")
<|file_sep|>... | cmake_minimum_required (VERSION 2.6)
project (molch)
subdirs(test lib)
set(CMAKE_BUILD_TYPE Debug)
enable_testing()
#Set the linker flag for sodium
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -Wno-typedef-redefinition")
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINKER_FLAGS} -lsodium") | <|file_sep|>original/CMakeLists.txt
cmake_minimum_required (VERSION 2.6)
project (molch)
subdirs(test lib)
set(CMAKE_BUILD_TYPE Debug)
enable_testing()
#Set the linker flag for sodium
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINKER_FLAGS} -lsodium")
<|file_sep|>... | 3ecfbe7d4d713700e010b5144430bbecb4c01ae3 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>docs/pages/running-tests.markdown.diff
original:
* `UT_DEFAULT_MAIN`
updated:
`UT_DEFAULT_MAIN`
: Deprecated. This macro expands to definition of a `main()` function.
<|file_sep|>docs/pages/running-tests.markdown.diff
original:
* `ut_run_all_tests`
updated:
`int ut_run_all_tests (void)`
<|file_sep|>ori... | executable file. Therefore to be able to run it, the needs to be a `main`
function.
There is a default main provided which you can insert into your program with
`UT_DEFAULT_MAIN` (now deprecated). Starting from version 0.2, there is no need
to manually include `UT_DEFAULT_MAIN` anymore, as the default `main` function
... | <|file_sep|>docs/pages/running-tests.markdown.diff
original:
* `UT_DEFAULT_MAIN`
updated:
`UT_DEFAULT_MAIN`
: Deprecated. This macro expands to definition of a `main()` function.
<|file_sep|>docs/pages/running-tests.markdown.diff
original:
* `ut_run_all_tests`
updated:
`int ut_run_all_tests (void)`
<|file_sep|>ori... | 09c4b6084b872e64b460f3b26b7470030fa56e63 | docs/pages/running-tests.markdown | docs/pages/running-tests.markdown | Markdown |
<|file_sep|>original/README.md
# ciudadenlinea
Prueba tecnica ciudadenlinea
<|file_sep|>current/README.md
# ciudadenlinea
Prueba tecnica ciudadenlinea
<|file_sep|>updated/README.md | # ciudadenlinea
Prueba tecnica ciudadenlinea
Para acceder al sitio ir a: http://formul.brinkster.net/ciudadenlinea/ | <|file_sep|>original/README.md
# ciudadenlinea
Prueba tecnica ciudadenlinea
<|file_sep|>current/README.md
# ciudadenlinea
Prueba tecnica ciudadenlinea
<|file_sep|>updated/README.md
# ciudadenlinea
Prueba tecnica ciudadenlinea
Para acceder al sitio ir a: http://formul.brinkster.net/ciudadenlinea/ | 81a483f0089af213a15402c9f727fc42d834bc73 | README.md | README.md | Markdown |
<|file_sep|>original/src/plugins/resourceeditor/ResourceEditor.mimetypes.xml
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/vnd.nokia.xml.qt.resource">
<sub-class-of type="text/xml"/>
<comment>Qt Resource file</comment>
... | <?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/vnd.qt.xml.resource">
<sub-class-of type="text/xml"/>
<comment>Qt Resource file</comment>
<glob pattern="*.qrc"/>
</mime-type>
</mime-info> | <|file_sep|>original/src/plugins/resourceeditor/ResourceEditor.mimetypes.xml
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/vnd.nokia.xml.qt.resource">
<sub-class-of type="text/xml"/>
<comment>Qt Resource file</comment>
... | 4a2d602e366c7d820da93df84177ac4ac02546ce | src/plugins/resourceeditor/ResourceEditor.mimetypes.xml | src/plugins/resourceeditor/ResourceEditor.mimetypes.xml | XML |
<|file_sep|>wafer/talks/templates/wafer.talks/speakers.html.diff
original:
<div class="container" class="speakers-list">
updated:
<div class="container speakers-list">
<|file_sep|>original/wafer/talks/templates/wafer.talks/speakers.html
<section class="wafer wafer-speakers">
{% for talk_type, type_rows in... | <section class="wafer wafer-speakers">
{% for talk_type, type_rows in speaker_rows.items %}
{% if talk_type is None %}
<h1>{% trans 'Speakers' %}</h1>
{% else %}
<h1>{% blocktrans %}{{ talk_type }} Speakers{% endblocktrans %}</h1>
{% endif %}
{% if talk_type is None %}
<div class="co... | <|file_sep|>wafer/talks/templates/wafer.talks/speakers.html.diff
original:
<div class="container" class="speakers-list">
updated:
<div class="container speakers-list">
<|file_sep|>original/wafer/talks/templates/wafer.talks/speakers.html
<section class="wafer wafer-speakers">
{% for talk_type, type_rows in... | 5c7ccbf20f69c2b0b4020b3e385ba28d60e8e662 | wafer/talks/templates/wafer.talks/speakers.html | wafer/talks/templates/wafer.talks/speakers.html | HTML |
<|file_sep|>original/config/initializers/rails_admin.rb
end
config.model 'Device' do
navigation_icon 'fa fa-phone'
end
config.model 'Notification' do
navigation_icon 'icon-bell'
end
config.model 'ApiKey' do
navigation_icon 'icon-cog'
end
config.actions do
dashboard ... | end
config.model 'Device' do
navigation_icon 'fa fa-phone'
end
config.model 'Notification' do
navigation_icon 'icon-bell'
end
config.model 'Sending' do
navigation_icon 'fa fa-send'
end
config.model 'ApiKey' do
navigation_icon 'icon-cog'
end
config.actions do
da... | <|file_sep|>original/config/initializers/rails_admin.rb
end
config.model 'Device' do
navigation_icon 'fa fa-phone'
end
config.model 'Notification' do
navigation_icon 'icon-bell'
end
config.model 'ApiKey' do
navigation_icon 'icon-cog'
end
config.actions do
dashboard ... | 9586ca8ebb20578844292c20345d3890a5fbc3d6 | config/initializers/rails_admin.rb | config/initializers/rails_admin.rb | Ruby |
<|file_sep|>original/metadata/org.softcatala.traductor.txt
Auto Name:Traductor Softcatalà
Summary:Translate to and from Catalan
Description:
Client for the Softcatalà Catalan on-line [http://www.softcatala.org/traductor translation service].
.
Repo Type:git
Repo:https://github.com/Softcatala/TraductorSoftcatalaAndroi... |
Auto Name:Traductor Softcatalà
Summary:Translate to and from Catalan
Description:
Client for the Softcatalà Catalan on-line [http://www.softcatala.org/traductor translation service].
.
Repo Type:git
Repo:https://github.com/Softcatala/TraductorSoftcatalaAndroid.git
Build:0.7.1,15
commit=v0.7.1
srclibs=1:MobAd... | <|file_sep|>original/metadata/org.softcatala.traductor.txt
Auto Name:Traductor Softcatalà
Summary:Translate to and from Catalan
Description:
Client for the Softcatalà Catalan on-line [http://www.softcatala.org/traductor translation service].
.
Repo Type:git
Repo:https://github.com/Softcatala/TraductorSoftcatalaAndroi... | 1d312a299b9da3511838d3a3a6e23343715aef72 | metadata/org.softcatala.traductor.txt | metadata/org.softcatala.traductor.txt | Text |
<|file_sep|>.travis.yml.diff
original:
- "1.9.3-p551"
- "2.0.0-p648"
- "2.1.8"
updated:
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- "1.9.3-p551"
- "2.0.0-p648"
- "2.1.8"
- "2.2.4"
- "2.3.0"
- jruby-19mode
before_install:
- gem update --system
- gem update bundler
<|file_sep|>current/.travis.yml
language: ru... | language: ruby
rvm:
- "2.2.4"
- "2.3.0"
before_install:
- gem update --system
- gem update bundler | <|file_sep|>.travis.yml.diff
original:
- "1.9.3-p551"
- "2.0.0-p648"
- "2.1.8"
updated:
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- "1.9.3-p551"
- "2.0.0-p648"
- "2.1.8"
- "2.2.4"
- "2.3.0"
- jruby-19mode
before_install:
- gem update --system
- gem update bundler
<|file_sep|>current/.travis.yml
language: ru... | bf2ec28bc9282700de9461829341e320594f7318 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/at.ecrit.target/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>at.ecrit.target</art... | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>ecrit-luna</artifactId>
<packaging>eclipse-target-definition</pa... | <|file_sep|>original/at.ecrit.target/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>at.ecrit.target</art... | 83550d3c020e19e0247670c9e8df50c79a28f01d | at.ecrit.target/pom.xml | at.ecrit.target/pom.xml | XML |
<|file_sep|>web/concrete/config/install/base/image_editor.xml.diff
original:
<imageeditor_controlset handle="crop" name="Crop"/>
updated:
<|file_sep|>original/web/concrete/config/install/base/image_editor.xml
<?xml version="1.0"?>
<concrete5-cif version="1.0">
<imageeditor_controlsets>
<imageeditor... | <?xml version="1.0"?>
<concrete5-cif version="1.0">
<imageeditor_controlsets>
<imageeditor_controlset handle="position" name="Position"/>
<imageeditor_controlset handle="filter" name="Filter"/>
</imageeditor_controlsets>
<imageeditor_filters>
<imageeditor_filter handle="none" name="N... | <|file_sep|>web/concrete/config/install/base/image_editor.xml.diff
original:
<imageeditor_controlset handle="crop" name="Crop"/>
updated:
<|file_sep|>original/web/concrete/config/install/base/image_editor.xml
<?xml version="1.0"?>
<concrete5-cif version="1.0">
<imageeditor_controlsets>
<imageeditor... | 130125314759543752db3761b5b8873e91036ecf | web/concrete/config/install/base/image_editor.xml | web/concrete/config/install/base/image_editor.xml | XML |
<|file_sep|>original/requirements.txt
# src/aggregate.py: 6
fuzzywuzzy==0.17.0
# src/aggregate.py: 5
numpy==1.15.1
# src/aggregate.py: 4
# src/my_aws.py: 6
# src/numbers_scraper.py: 5
# src/omdb_api.py: 8
# src/torrents.py: 7
pandas==0.22.0
# src/numbers_scraper.py: 4
# src/omdb_api.py: 7
# src/torrents.py: 6
reque... |
# src/aggregate.py: 6
fuzzywuzzy==0.17.0
# src/aggregate.py: 5
numpy==1.15.1
# src/aggregate.py: 4
# src/my_aws.py: 6
# src/numbers_scraper.py: 5
# src/omdb_api.py: 8
# src/torrents.py: 7
pandas==0.23.4
# src/numbers_scraper.py: 4
# src/omdb_api.py: 7
# src/torrents.py: 6
requests == 2.18.4
# src/my_aws.py: 7
s3fs... | <|file_sep|>original/requirements.txt
# src/aggregate.py: 6
fuzzywuzzy==0.17.0
# src/aggregate.py: 5
numpy==1.15.1
# src/aggregate.py: 4
# src/my_aws.py: 6
# src/numbers_scraper.py: 5
# src/omdb_api.py: 8
# src/torrents.py: 7
pandas==0.22.0
# src/numbers_scraper.py: 4
# src/omdb_api.py: 7
# src/torrents.py: 6
reque... | 9410c2008eb57d092037f128cca059c6cd82b6f3 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/PHPHub/Constants/APIConstant.h
//
#define APIAccessTokenURL [NSString stringWithFormat:@"%@%@", APIBaseURL, @"/oauth/access_token"]
#define QiniuUploadTokenIdentifier @"QiniuUploadTokenIdentifier"
#if DEBUG
#define APIBaseURL @"https://staging_api.phphub.org"
#else
#define APIBaseURL @"... | //
#define APIAccessTokenURL [NSString stringWithFormat:@"%@%@", APIBaseURL, @"/oauth/access_token"]
#define QiniuUploadTokenIdentifier @"QiniuUploadTokenIdentifier"
#if DEBUG
#define APIBaseURL @"https://staging_api.phphub.org"
#else
#define APIBaseURL @"https://api.phphub.org"
#endif
#define PHPHubHost ... | <|file_sep|>original/PHPHub/Constants/APIConstant.h
//
#define APIAccessTokenURL [NSString stringWithFormat:@"%@%@", APIBaseURL, @"/oauth/access_token"]
#define QiniuUploadTokenIdentifier @"QiniuUploadTokenIdentifier"
#if DEBUG
#define APIBaseURL @"https://staging_api.phphub.org"
#else
#define APIBaseURL @"... | 0792fc5f0e66031338143ee8ed46a91907b37f81 | PHPHub/Constants/APIConstant.h | PHPHub/Constants/APIConstant.h | C |
<|file_sep|>original/src/Frontend/Modules/MediaLibrary/Js/Slider.js
showControls = false
showPager = false
}
// init slick slider
$slider.find('.widget-body').show().slick({
arrows: showControls,
autoplay: multipleItems,
adaptiveHeight: true,
dots: show... | showControls = false
showPager = false
}
// init slick slider
$slider.find('.widget-body').show().slick({
arrows: showControls,
autoplay: multipleItems,
adaptiveHeight: true,
dots: showPager,
// fade: true, // this has side effects in bootstrap ... | <|file_sep|>original/src/Frontend/Modules/MediaLibrary/Js/Slider.js
showControls = false
showPager = false
}
// init slick slider
$slider.find('.widget-body').show().slick({
arrows: showControls,
autoplay: multipleItems,
adaptiveHeight: true,
dots: show... | e943e246c696dc26b139fabde36a3a014e1a126f | src/Frontend/Modules/MediaLibrary/Js/Slider.js | src/Frontend/Modules/MediaLibrary/Js/Slider.js | JavaScript |
<|file_sep|>original/src/test/java/com/google/gwt/resources/client/AllGwtTests.java
<|file_sep|>current/src/test/java/com/google/gwt/resources/client/AllGwtTests.java
<|file_sep|>updated/src/test/java/com/google/gwt/resources/client/AllGwtTests.java | package com.google.gwt.resources.client;
import com.google.gwt.junit.tools.GWTTestSuite;
import junit.framework.Test;
/**
* Suite for all GWT tests.
*/
public class AllGwtTests extends GWTTestSuite {
public static Test suite() {
GWTTestSuite suite = new GWTTestSuite();
return suite;
}
} | <|file_sep|>original/src/test/java/com/google/gwt/resources/client/AllGwtTests.java
<|file_sep|>current/src/test/java/com/google/gwt/resources/client/AllGwtTests.java
<|file_sep|>updated/src/test/java/com/google/gwt/resources/client/AllGwtTests.java
package com.google.gwt.resources.client;
import com.google.gwt.juni... | 0afe766ec6e7b329d1b6aa3fd6c68cba0ea83bd0 | src/test/java/com/google/gwt/resources/client/AllGwtTests.java | src/test/java/com/google/gwt/resources/client/AllGwtTests.java | Java |
<|file_sep|>original/requirements/constraints.txt
path.py==12.0.2
# Requires python 3.6
mock<4.0.0
zipp<2.0.0
# Remaining version pins to maintain behavior in
Django<2.3
# Functional pin for dev.in
docker-compose >= 1.5.1
# Version pins required to retain quality-check behavior
isort==4.2.5
# django-storages versi... | mock<4.0.0
zipp<2.0.0
# Remaining version pins to maintain behavior in
Django<2.3
# Functional pin for dev.in
docker-compose >= 1.5.1
# Version pins required to retain quality-check behavior
isort==4.2.5
# django-storages version 1.9 drops support for boto storage backend.
django-storages<1.9
# This package is pi... | <|file_sep|>original/requirements/constraints.txt
path.py==12.0.2
# Requires python 3.6
mock<4.0.0
zipp<2.0.0
# Remaining version pins to maintain behavior in
Django<2.3
# Functional pin for dev.in
docker-compose >= 1.5.1
# Version pins required to retain quality-check behavior
isort==4.2.5
# django-storages versi... | 154f574e96a13e3c25a5ed4ef726d85899997876 | requirements/constraints.txt | requirements/constraints.txt | Text |
<|file_sep|>modules/backup/templates/post_command.sh.erb.diff
original:
NAGIOS_MESSAGE=\"OK\"
updated:
NAGIOS_MESSAGE="OK"
<|file_sep|>original/modules/backup/templates/post_command.sh.erb
if [[ $? = 0 ]]; then
NAGIOS_CODE=0
NAGIOS_MESSAGE=\"OK\"
else
NAGIOS_CODE=2
NAGIOS_MESSAGE=\"CRITICAL\"
fi
printf "<%... | if [[ $? = 0 ]]; then
NAGIOS_CODE=0
NAGIOS_MESSAGE="OK"
else
NAGIOS_CODE=2
NAGIOS_MESSAGE="CRITICAL"
fi
printf "<%= @fqdn -%>\t<%= @service_description -%>\t${NAGIOS_CODE}\t${NAGIOS_MESSAGE}\n" | /usr/sbin/send_nsca -H alert.cluster >/dev/null | <|file_sep|>modules/backup/templates/post_command.sh.erb.diff
original:
NAGIOS_MESSAGE=\"OK\"
updated:
NAGIOS_MESSAGE="OK"
<|file_sep|>original/modules/backup/templates/post_command.sh.erb
if [[ $? = 0 ]]; then
NAGIOS_CODE=0
NAGIOS_MESSAGE=\"OK\"
else
NAGIOS_CODE=2
NAGIOS_MESSAGE=\"CRITICAL\"
fi
printf "<%... | 62e0d43cfc9d2d4d2f35874d4ddd3d63f9dcfa10 | modules/backup/templates/post_command.sh.erb | modules/backup/templates/post_command.sh.erb | HTML+ERB |
<|file_sep|>app/src/dataobjects/AddonAuthor.php.diff
original:
updated:
use SilverStripe\ORM\ArrayList;
<|file_sep|>app/src/dataobjects/AddonAuthor.php.diff
original:
updated:
use SilverStripe\ORM\ManyManyList;
<|file_sep|>original/app/src/dataobjects/AddonAuthor.php
public function GravatarUrl($size, $default =... | md5(strtolower(trim($this->Email))),
$size,
$default
);
}
public function Link()
{
return Controller::join_links(Director::baseURL(), 'authors', $this->ID);
}
public function Addons()
{
/** @var ManyManyList $versions */
$vers... | <|file_sep|>app/src/dataobjects/AddonAuthor.php.diff
original:
updated:
use SilverStripe\ORM\ArrayList;
<|file_sep|>app/src/dataobjects/AddonAuthor.php.diff
original:
updated:
use SilverStripe\ORM\ManyManyList;
<|file_sep|>original/app/src/dataobjects/AddonAuthor.php
public function GravatarUrl($size, $default =... | f62b7d0443bd65b2e0e71cb04651b00d73f80b41 | app/src/dataobjects/AddonAuthor.php | app/src/dataobjects/AddonAuthor.php | PHP |
<|file_sep|>original/config/initializers/task_scheduler.rb
require 'feed_fetcher'
scheduler = Rufus::Scheduler.start_new
scheduler.every "20m" do
FeedFetcher.fetch_and_save_torrents_from_tpb
end
<|file_sep|>current/config/initializers/task_scheduler.rb
require 'feed_fetcher'
scheduler = Rufus::Scheduler.start_new... | require 'feed_fetcher'
scheduler = Rufus::Scheduler.start_new
scheduler.every "20m" do
FeedFetcher.fetch_and_save_torrents_from_tpb
Torrent.process_artists
end | <|file_sep|>original/config/initializers/task_scheduler.rb
require 'feed_fetcher'
scheduler = Rufus::Scheduler.start_new
scheduler.every "20m" do
FeedFetcher.fetch_and_save_torrents_from_tpb
end
<|file_sep|>current/config/initializers/task_scheduler.rb
require 'feed_fetcher'
scheduler = Rufus::Scheduler.start_new... | 74a721e6e70c658073d3c4dcfa22014cd906872f | config/initializers/task_scheduler.rb | config/initializers/task_scheduler.rb | Ruby |
<|file_sep|>original/robot-name/src/test/java/RobotTest.java
import org.junit.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsNot.not;
import static org.junit.Assert.assertThat;
public class RobotTest {
private static final String EX... | import org.junit.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsNot.not;
import static org.junit.Assert.assertThat;
public class RobotTest {
private static final String EXPECTED_ROBOT_NAME_PATTERN = "[A-Z]{2}\\d{3}";
private fin... | <|file_sep|>original/robot-name/src/test/java/RobotTest.java
import org.junit.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsNot.not;
import static org.junit.Assert.assertThat;
public class RobotTest {
private static final String EX... | d62489a350fa95e0357924c7f05d70324d554a83 | robot-name/src/test/java/RobotTest.java | robot-name/src/test/java/RobotTest.java | Java |
<|file_sep|>original/r/db_subnet_group.html.markdown
resource "aws_db_subnet_group" "default" {
name = "main"
description = "Our main group of subnets"
subnet_ids = ["${aws_subnet.frontend.id}", "${aws_subnet.backend.id}"]
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Req... | resource "aws_db_subnet_group" "default" {
name = "main"
description = "Our main group of subnets"
subnet_ids = ["${aws_subnet.frontend.id}", "${aws_subnet.backend.id}"]
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) The name of the DB subnet group.
* `descriptio... | <|file_sep|>original/r/db_subnet_group.html.markdown
resource "aws_db_subnet_group" "default" {
name = "main"
description = "Our main group of subnets"
subnet_ids = ["${aws_subnet.frontend.id}", "${aws_subnet.backend.id}"]
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Req... | 8bfbd7274f4f31788d26e8e115ff94590fbb5dcd | r/db_subnet_group.html.markdown | r/db_subnet_group.html.markdown | Markdown |
<|file_sep|>original/scripts/update_doxygen.sh
#!/bin/bash
# Copyright (c) 2014-2015 Kartik Kumar (me@kartikkumar.com)
# Distributed under the MIT License.
# See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT
set -ev
# Uninstall doxygen install. Fetch and build updated version from source.... | #!/bin/bash
# Copyright (c) 2014-2015 Kartik Kumar (me@kartikkumar.com)
# Distributed under the MIT License.
# See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT
set -ev
# Uninstall doxygen install. Fetch and build updated version from source.
#yes | sudo apt-get --purge remove doxygen;
#s... | <|file_sep|>original/scripts/update_doxygen.sh
#!/bin/bash
# Copyright (c) 2014-2015 Kartik Kumar (me@kartikkumar.com)
# Distributed under the MIT License.
# See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT
set -ev
# Uninstall doxygen install. Fetch and build updated version from source.... | bc97d0b186208cecf54d5e2d3fdc250efd2b42b7 | scripts/update_doxygen.sh | scripts/update_doxygen.sh | Shell |
<|file_sep|>original/lib/honeydew/dsl.rb
module Honeydew
module DSL
def use_device(name, serial)
eval <<-EOF
define_singleton_method name.to_sym do |*args, &block|
Honeydew.using_device('#{serial}', &block)
end
EOF
end
end
end
<|file_sep|>current/lib/honeydew/dsl.rb
mod... | module Honeydew
module DSL
def use_device(name, serial)
eval <<-EOF
define_singleton_method name.to_sym do |*args, &block|
Honeydew.using_device('#{serial}', &block)
end
EOF
end
def use_default_device(name)
define_singleton_method name.to_sym do |*args, &block|... | <|file_sep|>original/lib/honeydew/dsl.rb
module Honeydew
module DSL
def use_device(name, serial)
eval <<-EOF
define_singleton_method name.to_sym do |*args, &block|
Honeydew.using_device('#{serial}', &block)
end
EOF
end
end
end
<|file_sep|>current/lib/honeydew/dsl.rb
mod... | e902e8f316714689938f2ddc3f2423e8248370e3 | lib/honeydew/dsl.rb | lib/honeydew/dsl.rb | Ruby |
<|file_sep|>original/fabfile.py
local('git push origin development')
local('git checkout master')
local('git merge development')
local('git push origin master')
with cd('/var/www/twweb'):
run('git fetch origin')
run('git merge origin/master')
run('bower install')
run(... | local('git push origin development')
local('git checkout master')
local('git merge development')
local('git push origin master')
with cd('/var/www/twweb'):
run('git fetch origin')
run('git merge origin/master')
run('bower install')
run('npm install')
run('embe... | <|file_sep|>original/fabfile.py
local('git push origin development')
local('git checkout master')
local('git merge development')
local('git push origin master')
with cd('/var/www/twweb'):
run('git fetch origin')
run('git merge origin/master')
run('bower install')
run(... | 82bd8ced41e2aa4a5f0ca9384c902f7e36fd1005 | fabfile.py | fabfile.py | Python |
<|file_sep|>downstream_node/lib/node.py.diff
original:
from downstream_node.models import Challenges
updated:
from downstream_node.models import Challenges, Files
<|file_sep|>downstream_node/lib/node.py.diff
original:
updated:
files = Files(name=filepath)
db.session.add(files)
<|file_sep|>original/downstream_n... |
def gen_challenges(filepath, root_seed):
secret = getattr(config, 'HEARTBEAT_SECRET')
hb = Heartbeat(filepath, secret=secret)
hb.generate_challenges(1000, root_seed)
files = Files(name=filepath)
db.session.add(files)
for challenge in hb.challenges:
chal = Challenges(
filena... | <|file_sep|>downstream_node/lib/node.py.diff
original:
from downstream_node.models import Challenges
updated:
from downstream_node.models import Challenges, Files
<|file_sep|>downstream_node/lib/node.py.diff
original:
updated:
files = Files(name=filepath)
db.session.add(files)
<|file_sep|>original/downstream_n... | 0389fabdb0343b189b153cc909b05e88d3830b94 | downstream_node/lib/node.py | downstream_node/lib/node.py | Python |
<|file_sep|>packages/ca/category.yaml.diff
original:
hash: e991ad5597b3fb6352c8060d1bcaa0f1a665d60efe018f5c664fe66ebdc27f38
updated:
hash: ebce2c9625dc93b2dff1f0860e25d1b3e95c097fab1703d5f47d2b348df5e3d0
<|file_sep|>packages/ca/category.yaml.diff
original:
updated:
- '0.2.0.0'
<|file_sep|>original/packages/ca/category... | homepage: ''
changelog-type: ''
hash: ebce2c9625dc93b2dff1f0860e25d1b3e95c097fab1703d5f47d2b348df5e3d0
test-bench-deps: {}
maintainer: strake888@gmail.com
synopsis: Categorical types and classes
changelog: ''
basic-deps:
alg: ! '>=0.2 && <0.3'
base: ! '>=4.10 && <5'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.1.0'... | <|file_sep|>packages/ca/category.yaml.diff
original:
hash: e991ad5597b3fb6352c8060d1bcaa0f1a665d60efe018f5c664fe66ebdc27f38
updated:
hash: ebce2c9625dc93b2dff1f0860e25d1b3e95c097fab1703d5f47d2b348df5e3d0
<|file_sep|>packages/ca/category.yaml.diff
original:
updated:
- '0.2.0.0'
<|file_sep|>original/packages/ca/category... | 996a9750067ada4a28f70d718f3016222616403a | packages/ca/category.yaml | packages/ca/category.yaml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
cache: yarn
<|file_sep|>original/.travis.yml
language: node_js
node_js: "7"
sudo: required
script:
- yarn global add lerna
- lerna exec --concurrency 1 -- yarn --production=false
- yarn build
deploy:
provider: pages
local_dir: dist
repo: slupjs/slupjs.github... | language: node_js
node_js: "7"
sudo: required
cache: yarn
script:
- yarn --production=false
- yarn global add lerna
- lerna exec --concurrency 1 -- yarn --production=false
- yarn build
deploy:
provider: pages
local_dir: dist
repo: slupjs/slupjs.github.io
target_branch: master
project_name: slup
ski... | <|file_sep|>.travis.yml.diff
original:
updated:
cache: yarn
<|file_sep|>original/.travis.yml
language: node_js
node_js: "7"
sudo: required
script:
- yarn global add lerna
- lerna exec --concurrency 1 -- yarn --production=false
- yarn build
deploy:
provider: pages
local_dir: dist
repo: slupjs/slupjs.github... | 88cd1cf2c06b4a58220e01040d7a8079686f40d2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/rails_admin/main/_option_values.html.haml
:ruby
column_type_dom_id = form.dom_id(field).sub(field.method_name.to_s, "")
attr = column_type_dom_id.gsub(/[a-z_]+_variants_attributes/, '').gsub(/^_/, '[').gsub(/_$/, ']')
- options_for_klass(@object.class).each do |option|
%h5= option.... | :ruby
column_type_dom_id = form.dom_id(field).sub(field.method_name.to_s, "")
attr = column_type_dom_id.gsub(/[a-z_]+_variants_attributes/, '').gsub(/^_/, '[').gsub(/_$/, ']')
- options_for_klass(@object.class).each do |option|
%h5= option.name
= hidden_field_tag "#{@object.class.to_s.underscore}[variants_attr... | <|file_sep|>original/app/views/rails_admin/main/_option_values.html.haml
:ruby
column_type_dom_id = form.dom_id(field).sub(field.method_name.to_s, "")
attr = column_type_dom_id.gsub(/[a-z_]+_variants_attributes/, '').gsub(/^_/, '[').gsub(/_$/, ']')
- options_for_klass(@object.class).each do |option|
%h5= option.... | 0fc910aa96dede2bc3517f439708248e921c3019 | app/views/rails_admin/main/_option_values.html.haml | app/views/rails_admin/main/_option_values.html.haml | Haml |
<|file_sep|>app/helpers/owners_helper.rb.diff
original:
tooltip_text = owner.nickname if tooltip_text.nil?
options[:data] = {placement: "bottom", title: tooltip_text, container: 'body'}
updated:
if tooltip_text.nil?
tooltip_text = owner_tooltip_content(owner)
html = true
else
... | # tooltips are activated
if tooltip_text.nil?
tooltip_text = owner_tooltip_content(owner)
html = true
else
html = false
end
options[:data] = {placement: "bottom", title: tooltip_text, html: html, container: 'body'}
end
options[:alt] = owner.nickname
imag... | <|file_sep|>app/helpers/owners_helper.rb.diff
original:
tooltip_text = owner.nickname if tooltip_text.nil?
options[:data] = {placement: "bottom", title: tooltip_text, container: 'body'}
updated:
if tooltip_text.nil?
tooltip_text = owner_tooltip_content(owner)
html = true
else
... | de8c19ce0ce9f12a1ff8cb098646d9bc7b297d1a | app/helpers/owners_helper.rb | app/helpers/owners_helper.rb | Ruby |
<|file_sep|>original/app/views/assets/_core_asset_dt_columns.html.haml
%td.left= a.organization
%td.left= a.asset_subtype
%td.left= a.asset_tag
%td.left= a.description
%td.left= link_to(a.parent, inventory_path(a.parent) ) unless a.parent.nil?
%td.right= format_as_date(a.in_service_date)
%td.right= format_as_integer(a... | %td.left= a.organization
%td.left= a.asset_subtype
%td.left= a.asset_tag
%td.left= a.description
%td.left= link_to(a.parent.name, inventory_path(a.parent) ) unless a.parent.nil?
%td.right= format_as_date(a.in_service_date)
%td.right= format_as_integer(a.age)
%td.center= format_as_decimal(a.reported_condition_rating, 1... | <|file_sep|>original/app/views/assets/_core_asset_dt_columns.html.haml
%td.left= a.organization
%td.left= a.asset_subtype
%td.left= a.asset_tag
%td.left= a.description
%td.left= link_to(a.parent, inventory_path(a.parent) ) unless a.parent.nil?
%td.right= format_as_date(a.in_service_date)
%td.right= format_as_integer(a... | d3f1bd4e8ced4af1eefeb41332f9d9bb72d02818 | app/views/assets/_core_asset_dt_columns.html.haml | app/views/assets/_core_asset_dt_columns.html.haml | Haml |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- node
- 8
- 6
- 4 | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- node
- 8
- 6
- 4 | 7655f585c455df080a55ddcd7ba5f431f86a78f8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/group_vars/all/files.yml
---
## ---------------------
## Files to download
## ---------------------
download_files:
- url: https://raw.githubusercontent.com/99designs/aws-vault/master/completions/zsh/_aws-vault
dest: "{{ ansible_user_dir }}/.oh-my-zsh/custom/plugins/aws-vault/aws-vault.plugin... | ---
## ---------------------
## Files to download
## ---------------------
download_files:
- url: https://raw.githubusercontent.com/99designs/aws-vault/master/contrib/completions/zsh/aws-vault.zsh
dest: "{{ ansible_user_dir }}/.oh-my-zsh/custom/plugins/aws-vault/aws-vault.plugin.zsh" | <|file_sep|>original/group_vars/all/files.yml
---
## ---------------------
## Files to download
## ---------------------
download_files:
- url: https://raw.githubusercontent.com/99designs/aws-vault/master/completions/zsh/_aws-vault
dest: "{{ ansible_user_dir }}/.oh-my-zsh/custom/plugins/aws-vault/aws-vault.plugin... | 1516c3b52ad83d82351a1bab9aa0ccc37916d6a2 | group_vars/all/files.yml | group_vars/all/files.yml | YAML |
<|file_sep|>original/CHANGELOG.md
## Changelog
### 0.1.0 (*2014 Nov 18*)
- Initial "release". (Not on NPM yet)
- Random sentinel connection to a sentinel group.
- Master / Slave detection for replica sets.
- Push notifications from sentinel on configuration changes.
- Up / Down detection for RedisClient connectio... | ## Changelog
### 0.1.0 (*2014 Nov 18*)
- Initial release.
- Random sentinel connection to a sentinel group.
- Master / Slave detection for replica sets.
- Push notifications from sentinel on configuration changes.
- Up / Down detection for RedisClient connections.
- Can connect to masters, a random slave, or all... | <|file_sep|>original/CHANGELOG.md
## Changelog
### 0.1.0 (*2014 Nov 18*)
- Initial "release". (Not on NPM yet)
- Random sentinel connection to a sentinel group.
- Master / Slave detection for replica sets.
- Push notifications from sentinel on configuration changes.
- Up / Down detection for RedisClient connectio... | 9432a6e4b625a2e386d731074beba0677cb2ac6c | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/src/CoreBundle/Model/PageableManagerInterface.php
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\CoreBundle\Model;
if (interface_exist... |
namespace Sonata\CoreBundle\Model;
if (interface_exists(\Sonata\Doctrine\Model\PageableManagerInterface::class, false)) {
@trigger_error(
'The '.__NAMESPACE__.'\PageableManagerInterface class is deprecated since version 3.x and will be removed in 4.0.'
.' Use Sonata\DatagridBundle\Pager\PageableIn... | <|file_sep|>original/src/CoreBundle/Model/PageableManagerInterface.php
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\CoreBundle\Model;
if (interface_exist... | 5151bbecafc09a40b28988a9514aa71082308d03 | src/CoreBundle/Model/PageableManagerInterface.php | src/CoreBundle/Model/PageableManagerInterface.php | PHP |
<|file_sep|>original/Casks/endlesssky.rb
cask :v1 => 'endlesssky' do
version '0.8.2'
sha256 '65ae266e629c17b46fa69593fdbb7b318620f4eb68085f135e63046dae6751ad'
url "https://github.com/endless-sky/endless-sky/releases/download/v#{version}/endless-sky-macosx-#{version}.dmg"
appcast 'https://github.com/endless-sky... | cask :v1 => 'endlesssky' do
version '0.8.3'
sha256 'f3f96120d6222c8546986d39687af063924ec1bd64671ff54929a571361325f3'
url "https://github.com/endless-sky/endless-sky/releases/download/v#{version}/endless-sky-macosx-#{version}.dmg"
appcast 'https://github.com/endless-sky/endless-sky/releases.atom'
name 'Endle... | <|file_sep|>original/Casks/endlesssky.rb
cask :v1 => 'endlesssky' do
version '0.8.2'
sha256 '65ae266e629c17b46fa69593fdbb7b318620f4eb68085f135e63046dae6751ad'
url "https://github.com/endless-sky/endless-sky/releases/download/v#{version}/endless-sky-macosx-#{version}.dmg"
appcast 'https://github.com/endless-sky... | 8237d0c69817e52ef48bd5d845a87bdb67aa1c84 | Casks/endlesssky.rb | Casks/endlesssky.rb | Ruby |
<|file_sep|>original/client-shared-js-test-mocha/package.json
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "mocha --require ts-node/register src/**/*.test.ts"
},
"author": "",
"license": "MIT",
"dependencies": {
"client-shared-js": "file:../client-shared-js",
... | "version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "mocha --require ts-node/register src/**/*.test.ts"
},
"author": "",
"license": "MIT",
"dependencies": {
"client-shared-js": "file:../client-shared-js",
"requirejs": "^2.3.6"
},
"devDependencies": {
"@typ... | <|file_sep|>original/client-shared-js-test-mocha/package.json
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "mocha --require ts-node/register src/**/*.test.ts"
},
"author": "",
"license": "MIT",
"dependencies": {
"client-shared-js": "file:../client-shared-js",
... | fa82c22801adaa5e5c75a60eb13bca88eb8ebac4 | client-shared-js-test-mocha/package.json | client-shared-js-test-mocha/package.json | JSON |
<|file_sep|>shell-commands/src/main/resources/org/apache/maven/shell/commands/basic/AboutCommand.properties.diff
original:
The @|bold ${command.name}| command does some shit. \
updated:
The @|bold ${command.name}| command does some stuff. \
<|file_sep|>shell-commands/src/main/resources/org/apache/maven/shell/comman... | ## KIND, either express or implied. See the License for the
## specific language governing permissions and limitations
## under the License.
##
##
## $Rev$ $Date$
##
command.description=Display information about the current shell.
command.manual=\
The @|bold ${command.name}| command does some stuff. \
\
And t... | <|file_sep|>shell-commands/src/main/resources/org/apache/maven/shell/commands/basic/AboutCommand.properties.diff
original:
The @|bold ${command.name}| command does some shit. \
updated:
The @|bold ${command.name}| command does some stuff. \
<|file_sep|>shell-commands/src/main/resources/org/apache/maven/shell/comman... | 0df482c7c9f2d14e1562a0c76d83a85fd40d0ed2 | shell-commands/src/main/resources/org/apache/maven/shell/commands/basic/AboutCommand.properties | shell-commands/src/main/resources/org/apache/maven/shell/commands/basic/AboutCommand.properties | INI |
<|file_sep|>lib/omc/cli.rb.diff
original:
iam_account = vault.account account
user = iam_account.users.first
updated:
iam_account = vault.account(account) || abort("Account #{account.inspect} not configured")
user = iam_account.users.first || abort("No users configured under #{account.inspect}")... | class Cli < Thor
desc 'ssh', 'Connect to an instance on a stack on an account'
def ssh(account, stack)
iam_account = vault.account(account) || abort("Account #{account.inspect} not configured")
user = iam_account.users.first || abort("No users configured under #{account.inspect}")
ops = ::AW... | <|file_sep|>lib/omc/cli.rb.diff
original:
iam_account = vault.account account
user = iam_account.users.first
updated:
iam_account = vault.account(account) || abort("Account #{account.inspect} not configured")
user = iam_account.users.first || abort("No users configured under #{account.inspect}")... | fbb71ea785538debde2e071a09e329afc5a490f4 | lib/omc/cli.rb | lib/omc/cli.rb | Ruby |
<|file_sep|>original/lib/index.js
function (chunk) {
inputString += chunk;
},
function () {
var options, css, moduleBody;
// new copy of globalOptions for each file
options = extend({}, globalOptions || {});
options.includePaths = exte... | function (chunk) {
inputString += chunk;
},
function () {
var options, css, moduleBody;
// new copy of globalOptions for each file
options = extend({}, globalOptions || {});
options.includePaths = extend([], (globalOptions ? globalOpti... | <|file_sep|>original/lib/index.js
function (chunk) {
inputString += chunk;
},
function () {
var options, css, moduleBody;
// new copy of globalOptions for each file
options = extend({}, globalOptions || {});
options.includePaths = exte... | edcb529531029187b2a3a001fa2c631fd9693316 | lib/index.js | lib/index.js | JavaScript |
<|file_sep|>original/doc/book/book-dist.py
<|file_sep|>current/doc/book/book-dist.py
<|file_sep|>updated/doc/book/book-dist.py | #!/usr/bin/env python2
import sys
import os
import shutil
def die(msg):
sys.stderr.write('ERROR: ' + msg)
sys.exit(1)
cwd = os.getcwd()
if not os.path.exists('book') \
or not os.path.exists('Makefile'):
die('Please run this from the Subversion book source directory\n')
if not os.getenv('JAVA_HOME'):
die(... | <|file_sep|>original/doc/book/book-dist.py
<|file_sep|>current/doc/book/book-dist.py
<|file_sep|>updated/doc/book/book-dist.py
#!/usr/bin/env python2
import sys
import os
import shutil
def die(msg):
sys.stderr.write('ERROR: ' + msg)
sys.exit(1)
cwd = os.getcwd()
if not os.path.exists('book') \
or not os.pat... | ee621978cf6a218f71046afb0c1afeb9dd738677 | doc/book/book-dist.py | doc/book/book-dist.py | Python |
<|file_sep|>original/src/arch/i686/arch_start.asm
;; Push params on 16-byte aligned stack
sub esp, 8
and esp, -16
mov [esp], eax
mov [esp+4], ebx
call kernel_start
;; Restore stack frame
mov esp, ebp
pop ebp
ret
sentinel_table:
dd sentinel_table ;; 0x0
dd 0 ;; 0x8
... | __arch_start:
;; Create stack frame for backtrace
push ebp
mov ebp, esp
;; hack to avoid stack protector
mov DWORD [0x1014], 0x89abcdef
;; Push params on 16-byte aligned stack
sub esp, 8
and esp, -16
mov [esp], eax
mov [esp+4], ebx
call kernel_start
;; Restore stack ... | <|file_sep|>original/src/arch/i686/arch_start.asm
;; Push params on 16-byte aligned stack
sub esp, 8
and esp, -16
mov [esp], eax
mov [esp+4], ebx
call kernel_start
;; Restore stack frame
mov esp, ebp
pop ebp
ret
sentinel_table:
dd sentinel_table ;; 0x0
dd 0 ;; 0x8
... | e918bf8dc9129eb3d83808b816fa66be02aa112d | src/arch/i686/arch_start.asm | src/arch/i686/arch_start.asm | Assembly |
<|file_sep|>app/components/polls/questions/answers_component.html.erb.diff
original:
<% question_answers.order(id: :desc).each do |question_answer| %>
updated:
<% question_answers.each do |question_answer| %>
<|file_sep|>app/components/polls/questions/answers_component.html.erb.diff
original:
<% question_an... | remote: true,
title: t("poll_questions.show.vote_answer", answer: question_answer.title),
class: "button secondary hollow" do %>
<%= question_answer.title %>
<% end %>
<% end %>
<% end %>
<% elsif !user_signed_in? %>
<% ... | <|file_sep|>app/components/polls/questions/answers_component.html.erb.diff
original:
<% question_answers.order(id: :desc).each do |question_answer| %>
updated:
<% question_answers.each do |question_answer| %>
<|file_sep|>app/components/polls/questions/answers_component.html.erb.diff
original:
<% question_an... | df65ba57cc157f31130af6e5c9cabc0204a55c4a | app/components/polls/questions/answers_component.html.erb | app/components/polls/questions/answers_component.html.erb | HTML+ERB |
<|file_sep|>.travis.yml.diff
original:
rvm: 2.2.7
updated:
rvm: 2.3.7
<|file_sep|>original/.travis.yml
language: ruby
rvm: 2.2.7
sudo: false
matrix:
include:
- rvm: 2.3.6
- rvm: 2.4.2
- rvm: 2.5.0
- rvm: ruby-head
allow_failures:
- rvm: ruby-head
fast_finish: true
os:
- linux
before_instal... | language: ruby
rvm: 2.3.7
sudo: false
matrix:
include:
- rvm: 2.3.7
- rvm: 2.4.4
- rvm: 2.5.1
- rvm: ruby-head
allow_failures:
- rvm: ruby-head
fast_finish: true
os:
- linux
before_install:
- gem install bundler
script:
- gem list -l | <|file_sep|>.travis.yml.diff
original:
rvm: 2.2.7
updated:
rvm: 2.3.7
<|file_sep|>original/.travis.yml
language: ruby
rvm: 2.2.7
sudo: false
matrix:
include:
- rvm: 2.3.6
- rvm: 2.4.2
- rvm: 2.5.0
- rvm: ruby-head
allow_failures:
- rvm: ruby-head
fast_finish: true
os:
- linux
before_instal... | fecf54fa30fe130c879389804830c665e867d7de | .travis.yml | .travis.yml | YAML |
<|file_sep|>patches/mailnewspref.patch.diff
original:
# Parent 5f659702021e2d505c40ac4d452e80fe0b7be590
updated:
# Parent 721cec51e68558ab41a21d7f3db1b7de0e20f3bd
<|file_sep|>patches/mailnewspref.patch.diff
original:
@@ -812,8 +812,15 @@ pref("mail.smtp.qos", 0);
updated:
@@ -814,8 +814,16 @@ pref("mail.smtp.qos", 0);
... |
diff --git a/mailnews/mailnews.js b/mailnews/mailnews.js
--- a/mailnews/mailnews.js
+++ b/mailnews/mailnews.js
@@ -814,8 +814,16 @@ pref("mail.smtp.qos", 0);
pref("mail.nntp.qos", 0);
// default value for IMAP4
// in a DSCP environment this should be 56 (0x38, or AF13), ibid.
pref("mail.imap.qos", 0);
// PgpM... | <|file_sep|>patches/mailnewspref.patch.diff
original:
# Parent 5f659702021e2d505c40ac4d452e80fe0b7be590
updated:
# Parent 721cec51e68558ab41a21d7f3db1b7de0e20f3bd
<|file_sep|>patches/mailnewspref.patch.diff
original:
@@ -812,8 +812,15 @@ pref("mail.smtp.qos", 0);
updated:
@@ -814,8 +814,16 @@ pref("mail.smtp.qos", 0);
... | db9d9fe4a2f526830ca9b986698af46ffe36ff24 | patches/mailnewspref.patch | patches/mailnewspref.patch | Diff |
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
updated:
<!--- Provide a general summary of the issue in the Title above -->
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
Provide a brief overview of the enhancement or issue.
updated:
<!--- Provide a brief overview of the enhancement or issue. -->
<|file_se... | <!--- Provide a brief overview of the enhancement or issue. -->
## Steps to Reproduce
<!-- Please add as much detail as possible to reproduce the error/issue. -->
<!-- Don't assume the reader knows anything about the Mifos X Web App. -->
## Expected Behaviour
<!--- Tell us what should happen -->
## Actual Behaviour
... | <|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
updated:
<!--- Provide a general summary of the issue in the Title above -->
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
Provide a brief overview of the enhancement or issue.
updated:
<!--- Provide a brief overview of the enhancement or issue. -->
<|file_se... | cca4f33ec7e3373ad08ebda1f7056cd5b0e843cd | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/test/Parse/ConditionalCompilation/aarch64AndroidTarget.swift
<|file_sep|>current/test/Parse/ConditionalCompilation/aarch64AndroidTarget.swift
<|file_sep|>updated/test/Parse/ConditionalCompilation/aarch64AndroidTarget.swift | // RUN: %swift -typecheck %s -verify -target aarch64-none-linux-android -disable-objc-interop -parse-stdlib
// RUN: %swift-ide-test -test-input-complete -source-filename=%s -target aarch64-none-linux-android
#if os(Linux)
// This block should not parse.
// os(Android) does not imply os(Linux).
let i: Int = "Hello"
#en... | <|file_sep|>original/test/Parse/ConditionalCompilation/aarch64AndroidTarget.swift
<|file_sep|>current/test/Parse/ConditionalCompilation/aarch64AndroidTarget.swift
<|file_sep|>updated/test/Parse/ConditionalCompilation/aarch64AndroidTarget.swift
// RUN: %swift -typecheck %s -verify -target aarch64-none-linux-android -d... | f0a6948632f20c758ae51543b19bf4afce12489f | test/Parse/ConditionalCompilation/aarch64AndroidTarget.swift | test/Parse/ConditionalCompilation/aarch64AndroidTarget.swift | Swift |
<|file_sep|>original/docs/changes.rst
<|file_sep|>current/docs/changes.rst
<|file_sep|>updated/docs/changes.rst | ==========
Change Log
==========
1.1.0
-----
- Update parser behavior in response to cssselect2 changes (#86)
- Pin the version of pyICU for mac (#84)
- Add support for namespace prefixes in `container:` (#81)
- Properly handle namespace prefixes in container:
- Add tests for namespace prefixes in content:
- Add ... | <|file_sep|>original/docs/changes.rst
<|file_sep|>current/docs/changes.rst
<|file_sep|>updated/docs/changes.rst
==========
Change Log
==========
1.1.0
-----
- Update parser behavior in response to cssselect2 changes (#86)
- Pin the version of pyICU for mac (#84)
- Add support for namespace prefixes in `container:` ... | 10299e42e828058acf485f27bab8b1c72264a3af | docs/changes.rst | docs/changes.rst | reStructuredText |
<|file_sep|>original/config/asset_packages.yml
- controls
- application
- calendar
- calendar-en
- calendar-setup
- tt:
- juggernaut_javascript
- tt
- portal:
- prototype
- tz
- frontpage
stylesheets:
- base:
- scaffold
- portal:
- portal
- tt:
- calendar-system
- ui.datepicker.css
- tt
<|... | - controls
- application
- calendar
- calendar-en
- calendar-setup
- tt:
- juggernaut_javascript
- tt
- portal:
- prototype
- tz
- frontpage
stylesheets:
- base:
- scaffold
- portal:
- portal
- tt:
- calendar-system
- ui.datepicker
- tt | <|file_sep|>original/config/asset_packages.yml
- controls
- application
- calendar
- calendar-en
- calendar-setup
- tt:
- juggernaut_javascript
- tt
- portal:
- prototype
- tz
- frontpage
stylesheets:
- base:
- scaffold
- portal:
- portal
- tt:
- calendar-system
- ui.datepicker.css
- tt
<|... | ebeccc304ef9681d3e980db4905a4e87dfd8c8ef | config/asset_packages.yml | config/asset_packages.yml | YAML |
<|file_sep|>resources/views/users/show_not_found.blade.php.diff
original:
updated:
'legacyNav' => false,
<|file_sep|>original/resources/views/users/show_not_found.blade.php
You should have received a copy of the GNU Affero General Public License
along with osu!web. If not, see <http://www.gnu.org/licenses... | You should have received a copy of the GNU Affero General Public License
along with osu!web. If not, see <http://www.gnu.org/licenses/>.
--}}
@extends('master', [
'currentSection' => 'community',
'currentAction' => 'profile',
'legacyNav' => false,
])
@section('content')
@include('layout._page_... | <|file_sep|>resources/views/users/show_not_found.blade.php.diff
original:
updated:
'legacyNav' => false,
<|file_sep|>original/resources/views/users/show_not_found.blade.php
You should have received a copy of the GNU Affero General Public License
along with osu!web. If not, see <http://www.gnu.org/licenses... | 8be068ec8e425c609f75e6b90f52db3ccbba0932 | resources/views/users/show_not_found.blade.php | resources/views/users/show_not_found.blade.php | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.