prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/provision/ansible/services.yml
# Variables
#
vars:
- app_env: 'prod'
- app_root_dir: '/var/www/casebox-admin'
#
# Tasks
#
tasks:
- name: "APP | Stop dashboard webserver."
shell: "php {{ app_root_dir }}/bin/console server:stop 0.0.0.0:8000 --env={{ app_env }}"
... | # Variables
#
vars:
- app_env: 'prod'
- app_root_dir: '/var/www/casebox-admin'
#
# Tasks
#
tasks:
- name: "APP | Update Admin UI source."
shell: "cd {{ app_root_dir }}; git pull origin master;"
ignore_errors: yes
become: yes
- name: "APP | Stop dashboard webserver."
... | <|file_sep|>original/provision/ansible/services.yml
# Variables
#
vars:
- app_env: 'prod'
- app_root_dir: '/var/www/casebox-admin'
#
# Tasks
#
tasks:
- name: "APP | Stop dashboard webserver."
shell: "php {{ app_root_dir }}/bin/console server:stop 0.0.0.0:8000 --env={{ app_env }}"
... | 4b1c73682e27d4d2c7bcc8550a33c1cb8c4e4589 | provision/ansible/services.yml | provision/ansible/services.yml | YAML |
<|file_sep|>original/README.md
# neo-core
[](https://travis-ci.org/neo-framework/neo-core)
Core components from Neo Framework. :tanabata_tree:
## License
_Neo Framework_ is open-sourced software licensed under the [MIT license](LICENSE).... | # neo-core
[](https://travis-ci.org/neo-framework/neo-core)
Core components from Neo Framework. :tanabata_tree:
## Testing
Run the test suite like this:
```bash
composer test
```
## License
_Neo Framework_ is open-sourced software lic... | <|file_sep|>original/README.md
# neo-core
[](https://travis-ci.org/neo-framework/neo-core)
Core components from Neo Framework. :tanabata_tree:
## License
_Neo Framework_ is open-sourced software licensed under the [MIT license](LICENSE).... | 989ad71707770e6108c6d24a4366ca1c07c1447b | README.md | README.md | Markdown |
<|file_sep|>original/docs/client/lib/navigate.js
navigate = function (hash) {
window.location.replace(Meteor.absoluteUrl(null, { secure: true }) + hash);
};
<|file_sep|>current/docs/client/lib/navigate.js
navigate = function (hash) {
window.location.replace(Meteor.absoluteUrl(null, { secure: true }) + hash);
};
<|f... | navigate = function (hash) {
window.location.replace(Meteor.absoluteUrl() + hash);
}; | <|file_sep|>original/docs/client/lib/navigate.js
navigate = function (hash) {
window.location.replace(Meteor.absoluteUrl(null, { secure: true }) + hash);
};
<|file_sep|>current/docs/client/lib/navigate.js
navigate = function (hash) {
window.location.replace(Meteor.absoluteUrl(null, { secure: true }) + hash);
};
<|f... | a4d85bb42cf25879f154fba5b647778f503984a4 | docs/client/lib/navigate.js | docs/client/lib/navigate.js | JavaScript |
<|file_sep|>original/config/config-local.json
{
"AB_SERVER": "icelocal.icenium.com",
"AB_SERVER_PROTO": "https",
"DEBUG": false
}
<|file_sep|>current/config/config-local.json
{
"AB_SERVER": "icelocal.icenium.com",
"AB_SERVER_PROTO": "https",
"DEBUG": false
}
<|file_sep|>updated/config/config-local.json | {
"AB_SERVER": "integrationtap.telerik.com",
"AB_SERVER_PROTO": "https",
"DEBUG": false
} | <|file_sep|>original/config/config-local.json
{
"AB_SERVER": "icelocal.icenium.com",
"AB_SERVER_PROTO": "https",
"DEBUG": false
}
<|file_sep|>current/config/config-local.json
{
"AB_SERVER": "icelocal.icenium.com",
"AB_SERVER_PROTO": "https",
"DEBUG": false
}
<|file_sep|>updated/config/config-local.json
{
"AB_SER... | 96ebe4490227432425bfa4ea3815c1b002a95217 | config/config-local.json | config/config-local.json | JSON |
<|file_sep|>original/README.md
[![Coverage Status][coverage-badge]][coverage]
## Development
Make sure that you have an [installation][capnp-installation] of Cap'n Proto in your shell path. Use `yarn` to build
and test the project:
```
yarn install
yarn lint
yarn test
```
[capnp]: https://capnproto.org
[capnp-insta... | [![Coverage Status][coverage-badge]][coverage]
## Development
Make sure that you have an [installation][capnp-installation] of Cap'n Proto in your shell path. Use `yarn` to build
and test the project:
```
yarn install
yarn lint
yarn build
yarn test
```
[capnp]: https://capnproto.org
[capnp-installation]: https://ca... | <|file_sep|>original/README.md
[![Coverage Status][coverage-badge]][coverage]
## Development
Make sure that you have an [installation][capnp-installation] of Cap'n Proto in your shell path. Use `yarn` to build
and test the project:
```
yarn install
yarn lint
yarn test
```
[capnp]: https://capnproto.org
[capnp-insta... | 681aa55067102c840219a4725e23ae7459f91320 | README.md | README.md | Markdown |
<|file_sep|>original/gui/build.sh
#!/bin/sh
for a in *.ui; do pyuic4 $a -o Ui_`basename $a .ui`.py -x; done
pyrcc4 icons.qrc -o icons_rc.py
<|file_sep|>current/gui/build.sh
#!/bin/sh
for a in *.ui; do pyuic4 $a -o Ui_`basename $a .ui`.py -x; done
pyrcc4 icons.qrc -o icons_rc.py
<|file_sep|>updated/gui/build.sh |
#!/bin/sh
for a in *.ui
do
sed -i 's/^# Created.*$//' $a
pyuic4 $a -o Ui_`basename $a .ui`.py -x
done
pyrcc4 icons.qrc -o icons_rc.py | <|file_sep|>original/gui/build.sh
#!/bin/sh
for a in *.ui; do pyuic4 $a -o Ui_`basename $a .ui`.py -x; done
pyrcc4 icons.qrc -o icons_rc.py
<|file_sep|>current/gui/build.sh
#!/bin/sh
for a in *.ui; do pyuic4 $a -o Ui_`basename $a .ui`.py -x; done
pyrcc4 icons.qrc -o icons_rc.py
<|file_sep|>updated/gui/build.sh
#!/... | 5ca554d46ea75b3b62ffc38588440891674a5a0e | gui/build.sh | gui/build.sh | Shell |
<|file_sep|>original/doc/release-notes-16807.md
Updated RPCs
------------
- The `validateaddress` RPC now optionally returns an `error_locations` array, with the indices of
invalid characters in the address. For example, this will return the locations of up to two Bech32
errors.
<|file_sep|>current/doc/release-notes-1... | Updated RPCs
------------
- The `validateaddress` RPC now returns an `error_locations` array for invalid
addresses, with the indices of invalid character locations in the address (if
known). For example, this will attempt to locate up to two Bech32 errors, and
return their locations if successful. Success and correctn... | <|file_sep|>original/doc/release-notes-16807.md
Updated RPCs
------------
- The `validateaddress` RPC now optionally returns an `error_locations` array, with the indices of
invalid characters in the address. For example, this will return the locations of up to two Bech32
errors.
<|file_sep|>current/doc/release-notes-1... | 63f7b6977989b93e13c3afd8dfd22b524842b9d7 | doc/release-notes-16807.md | doc/release-notes-16807.md | Markdown |
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.4
before_install:
- pip install -r requires/testing.txt
- pip install codecov
install:
- pip install -e .
script: nosetests
after_success:
- codecov
sudo: false
deploy:
distributions: sdist bdist_wheel
provider: pypi
on:
python: 3.4
tags:... | language: python
python:
- 2.7
- 3.4
before_install:
- pip install -r requires/testing.txt
- pip install codecov
install:
- pip install -e .
script: nosetests --with-coverage
after_success:
- codecov
sudo: false
deploy:
distributions: sdist bdist_wheel
provider: pypi
on:
python: 3.4
tags: true
all_bra... | <|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.4
before_install:
- pip install -r requires/testing.txt
- pip install codecov
install:
- pip install -e .
script: nosetests
after_success:
- codecov
sudo: false
deploy:
distributions: sdist bdist_wheel
provider: pypi
on:
python: 3.4
tags:... | 604ed2399555c06ebbf7df830044468d2a8ec47d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements_test.txt
click==6.7
Sphinx==1.5.5
sphinx-rtd-theme==0.2.4
jinja2==2.9.6
pip==9.0.1
wheel==0.29.0
flake8==3.3.0
tox==2.7.0
coverage==4.4
pytest==3.0.7
pytest-cov==2.5.0
pytest-runner==2.11.1
<|file_sep|>current/requirements_test.txt
click==6.7
Sphinx==1.5.5
sphinx-rtd-theme==0.2.4
jinja... | click==6.7
Sphinx==1.5.5
sphinx-rtd-theme==0.2.4
jinja2==2.9.6
pip==9.0.1
wheel==0.29.0
flake8==3.3.0
tox==2.7.0
coverage==4.4
pytest==3.0.7
pytest-cov==2.5.1
pytest-runner==2.11.1 | <|file_sep|>original/requirements_test.txt
click==6.7
Sphinx==1.5.5
sphinx-rtd-theme==0.2.4
jinja2==2.9.6
pip==9.0.1
wheel==0.29.0
flake8==3.3.0
tox==2.7.0
coverage==4.4
pytest==3.0.7
pytest-cov==2.5.0
pytest-runner==2.11.1
<|file_sep|>current/requirements_test.txt
click==6.7
Sphinx==1.5.5
sphinx-rtd-theme==0.2.4
jinja... | 23ce3a5b70029c803c49f3d9537da8165acab6ea | requirements_test.txt | requirements_test.txt | Text |
<|file_sep|>original/.buzzy/links.yaml
- !git-env
url: git://github.com/redjack/libcork.git
commit: master
<|file_sep|>current/.buzzy/links.yaml
- !git-env
url: git://github.com/redjack/libcork.git
commit: master
<|file_sep|>updated/.buzzy/links.yaml | - !git-env
url: git://github.com/redjack/libcork.git
commit: develop | <|file_sep|>original/.buzzy/links.yaml
- !git-env
url: git://github.com/redjack/libcork.git
commit: master
<|file_sep|>current/.buzzy/links.yaml
- !git-env
url: git://github.com/redjack/libcork.git
commit: master
<|file_sep|>updated/.buzzy/links.yaml
- !git-env
url: git://github.com/redjack/libcork.git
comm... | dd9cc153617cbed85e5e826aae92c4a8c2e92330 | .buzzy/links.yaml | .buzzy/links.yaml | YAML |
<|file_sep|>original/AirTrafficControl.Web/PackageRoot/ServiceManifest.xml
<CodePackage Name="Code" Version="1.0.0.0">
<EntryPoint>
<ExeHost>
<Program>AirTrafficControl.Web.exe</Program>
</ExeHost>
</EntryPoint>
</CodePackage>
<!-- Config package is the contents of the Config directoy... | <CodePackage Name="Code" Version="1.0.0.0">
<EntryPoint>
<ExeHost>
<Program>AirTrafficControl.Web.exe</Program>
</ExeHost>
</EntryPoint>
</CodePackage>
<!-- Config package is the contents of the Config directoy under PackageRoot that contains an
independently-updateable and ve... | <|file_sep|>original/AirTrafficControl.Web/PackageRoot/ServiceManifest.xml
<CodePackage Name="Code" Version="1.0.0.0">
<EntryPoint>
<ExeHost>
<Program>AirTrafficControl.Web.exe</Program>
</ExeHost>
</EntryPoint>
</CodePackage>
<!-- Config package is the contents of the Config directoy... | a4951ceac8ab9c6c4771d7ab597199923b172797 | AirTrafficControl.Web/PackageRoot/ServiceManifest.xml | AirTrafficControl.Web/PackageRoot/ServiceManifest.xml | XML |
<|file_sep|>recursion-vs-iteration/recursion_matt.rb.diff
original:
updated:
require "benchmark"
def all_prime_factors_recursive(num, factors = [])
return nil if num == 1
return factors << num if is_prime?(num) # base case: breaks the recursion
# base case must be conditional
factors << lowest_factor(num)
... | else
range.each do | poss_factor |
if num % poss_factor == 0
factors << poss_factor
end
end
if factors.length == 0
return true
else
return false
end
end
end
def lowest_factor(num)
range = (2..num-1).to_a
return range.find { |poss_factor| (num % poss_factor) ... | <|file_sep|>recursion-vs-iteration/recursion_matt.rb.diff
original:
updated:
require "benchmark"
def all_prime_factors_recursive(num, factors = [])
return nil if num == 1
return factors << num if is_prime?(num) # base case: breaks the recursion
# base case must be conditional
factors << lowest_factor(num)
... | 9dd459e0f75762a4661bed1afe50251727fad788 | recursion-vs-iteration/recursion_matt.rb | recursion-vs-iteration/recursion_matt.rb | Ruby |
<|file_sep|>original/README.md
sinatra-gen
===========
**sinatra-gen** is a simple command-line utility to generate a starter [Sinatra]
project.

I noticed that I was constantly repeating the same steps to create new [Sinatra]
projects, so I creat... | sinatra-gen
===========
**sinatra-gen** is a simple command-line utility to generate a starter [Sinatra]
project.

I noticed that I was constantly repeating the same steps to create new [Sinatra]
projects, so I created this to automate the task. I... | <|file_sep|>original/README.md
sinatra-gen
===========
**sinatra-gen** is a simple command-line utility to generate a starter [Sinatra]
project.

I noticed that I was constantly repeating the same steps to create new [Sinatra]
projects, so I creat... | fcb44202a4ab5a28927ecc31d8b140ee007d4327 | README.md | README.md | Markdown |
<|file_sep|>original/web/concrete/startup/config_check.php
<?
defined('C5_EXECUTE') or die("Access Denied.");
$config_check_failed = false;
if (version_compare(PHP_VERSION, '5.1.0', '<')) {
die("Concrete5 requires PHP5.1.");
}
if (!defined('CONFIG_FILE')) {
define('CONFIG_FILE', DIR_CONFIG_SITE . '/site.php');
}
... | <?
defined('C5_EXECUTE') or die("Access Denied.");
$config_check_failed = false;
if (version_compare(PHP_VERSION, '5.1.0', '<')) {
die("Concrete5 requires PHP5.1.");
}
if (!defined('CONFIG_FILE')) {
define('CONFIG_FILE', DIR_CONFIG_SITE . '/site.php');
}
if (file_exists(CONFIG_FILE)) {
include(CONFIG_FILE);
} el... | <|file_sep|>original/web/concrete/startup/config_check.php
<?
defined('C5_EXECUTE') or die("Access Denied.");
$config_check_failed = false;
if (version_compare(PHP_VERSION, '5.1.0', '<')) {
die("Concrete5 requires PHP5.1.");
}
if (!defined('CONFIG_FILE')) {
define('CONFIG_FILE', DIR_CONFIG_SITE . '/site.php');
}
... | 494ff37622bb5fa48a8f6f7f1c1404e26abebd79 | web/concrete/startup/config_check.php | web/concrete/startup/config_check.php | PHP |
<|file_sep|>lib/setup.js.diff
original:
var body = $(document.body).addClass(namespace);
updated:
var root = $('html').addClass(namespace);
<|file_sep|>original/lib/setup.js
module.exports = function(namespace) {
var toggleSelector = '[data-' + namespace + '-toggle]';
var openClass = namespace + '--open... | module.exports = function(namespace) {
var toggleSelector = '[data-' + namespace + '-toggle]';
var openClass = namespace + '--open';
var root = $('html').addClass(namespace);
$(document)
.on('click.' + namespace, toggleSelector, function(e) {
e.preventDefault();
var ex... | <|file_sep|>lib/setup.js.diff
original:
var body = $(document.body).addClass(namespace);
updated:
var root = $('html').addClass(namespace);
<|file_sep|>original/lib/setup.js
module.exports = function(namespace) {
var toggleSelector = '[data-' + namespace + '-toggle]';
var openClass = namespace + '--open... | d516cc28ca767dda67179798711494d26ba1c197 | lib/setup.js | lib/setup.js | JavaScript |
<|file_sep|>package.json.diff
original:
"azure-storage": "^0.6.0",
updated:
"azure-storage": "~0.7.0",
<|file_sep|>original/package.json
"main": "init.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Artur Grunau",
"license": "MPL-2.0",
"repository": "amgaera... | "main": "init.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Artur Grunau",
"license": "MPL-2.0",
"repository": "amgaera/azure-storage-navigator",
"dependencies": {
"azure-storage": "~0.7.0",
"bootstrap": "~3.3.6",
"browserify": "~12.0.1",
"gulp":... | <|file_sep|>package.json.diff
original:
"azure-storage": "^0.6.0",
updated:
"azure-storage": "~0.7.0",
<|file_sep|>original/package.json
"main": "init.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Artur Grunau",
"license": "MPL-2.0",
"repository": "amgaera... | 1a5d3f222b0eaec5c4d600b76d3e8b950f94ef41 | package.json | package.json | JSON |
<|file_sep|>original/api/transit-stop/models.js
route_type: 1,
route_id: 1,
route_direction_slug: 1
} );
TransitStopSchema.statics.forTrain = function ( filter, done ) {
filter.route_type = "train";
this.find( filter )
.select( "name latitude longitude system route_direction" )
.s... | route_type: 1,
route_id: 1,
route_direction_slug: 1
} );
TransitStopSchema.statics.forTrain = function ( filter, done ) {
filter.route_type = "train";
this.find( filter )
.select( "name latitude longitude system route_direction stop_order" )
.sort( {
route_id: 1,
... | <|file_sep|>original/api/transit-stop/models.js
route_type: 1,
route_id: 1,
route_direction_slug: 1
} );
TransitStopSchema.statics.forTrain = function ( filter, done ) {
filter.route_type = "train";
this.find( filter )
.select( "name latitude longitude system route_direction" )
.s... | 4a8559eba9bed8e97e06196a2e16be1bc87bcffb | api/transit-stop/models.js | api/transit-stop/models.js | JavaScript |
<|file_sep|>original/LICENSE.txt
(The MIT License)
Copyright (c) 2013 Hugo Barauna
MIT License
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 t... | (The MIT License)
Copyright (c) 2013 Hugo Barauna
Copyright (c) 2012 David Chelimsky, Myron Marston
Copyright (c) 2006 David Chelimsky, The RSpec Development Team
Copyright (c) 2005 Steven Baker
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated d... | <|file_sep|>original/LICENSE.txt
(The MIT License)
Copyright (c) 2013 Hugo Barauna
MIT License
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 t... | 5f2751cc58c088b52f47f7a90357e56479e2d97a | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>original/packages/un/unescaping-print.yaml
<|file_sep|>current/packages/un/unescaping-print.yaml
<|file_sep|>updated/packages/un/unescaping-print.yaml | homepage: https://github.com/bravit/unescaping-print#readme
changelog-type: markdown
hash: 1b414a95f7cc603601a30769f5a28ed730f0235881b6ef697078d78edd0bd948
test-bench-deps: {}
maintainer: Vitaly Bragilevsky <vit.bragilevsky@gmail.com>
synopsis: Tiny package providing unescaping versions of show and print
changelog: ! "... | <|file_sep|>original/packages/un/unescaping-print.yaml
<|file_sep|>current/packages/un/unescaping-print.yaml
<|file_sep|>updated/packages/un/unescaping-print.yaml
homepage: https://github.com/bravit/unescaping-print#readme
changelog-type: markdown
hash: 1b414a95f7cc603601a30769f5a28ed730f0235881b6ef697078d78edd0bd948... | d97422920735d9690e70413b228ffa0f61868a9e | packages/un/unescaping-print.yaml | packages/un/unescaping-print.yaml | YAML |
<|file_sep|>original/core/lib/spree/testing_support/factories/zone_factory.rb
FactoryGirl.define do
factory :global_zone, class: Spree::Zone do
name 'GlobalZone'
description { generate(:random_string) }
zone_members do |proxy|
zone = proxy.instance_eval { @instance }
Spree::Country.all.map do ... | FactoryGirl.define do
factory :global_zone, class: Spree::Zone do
name 'GlobalZone'
description { generate(:random_string) }
zone_members do |proxy|
zone = proxy.instance_eval { @instance }
Spree::Country.all.map do |c|
zone_member = Spree::ZoneMember.create(zoneable: c, zone: zone)
... | <|file_sep|>original/core/lib/spree/testing_support/factories/zone_factory.rb
FactoryGirl.define do
factory :global_zone, class: Spree::Zone do
name 'GlobalZone'
description { generate(:random_string) }
zone_members do |proxy|
zone = proxy.instance_eval { @instance }
Spree::Country.all.map do ... | c21b30d2c04a006afda1c2121940e6e74735418c | core/lib/spree/testing_support/factories/zone_factory.rb | core/lib/spree/testing_support/factories/zone_factory.rb | Ruby |
<|file_sep|>original/test-core.ini
[app:main]
#use = config:../ckan/test.ini
use = config:../ckanext-kata/test-core.ini
#ckan.site_url = http://localhost:5000
# Here we hard-code the database and a flag to make default tests
# run fast.
ckan.plugins = kata oaipmh_harvester oaipmh
# NB: other test configuration sho... |
[app:main]
#use = config:../ckan/test.ini
use = config:../ckanext-kata/test-core.ini
#ckan.site_url = http://localhost:5000
# Here we hard-code the database and a flag to make default tests
# run fast.
ckan.plugins = kata oaipmh_harvester oaipmh image_view recline_view
# NB: other test configuration should go in t... | <|file_sep|>original/test-core.ini
[app:main]
#use = config:../ckan/test.ini
use = config:../ckanext-kata/test-core.ini
#ckan.site_url = http://localhost:5000
# Here we hard-code the database and a flag to make default tests
# run fast.
ckan.plugins = kata oaipmh_harvester oaipmh
# NB: other test configuration sho... | 43edc85cde60b610f4ac8da84de706f6eb03ea85 | test-core.ini | test-core.ini | INI |
<|file_sep|>original/.github/ISSUE_TEMPLATE/data-source-recommendation.md
## Size (GB/TB/?) - (if you record a different size, note it next to the number)
-
## Accessible (How can we access it either API or scrape with permission or no access option or -
something else)
-
## Start Date (When it started being colle... | ## Accessible (How can we access it either API or scrape with permission or no access option or -
something else)
-
## Start Date (When it started being collected - at a minimum what year)
-
## End Date (When it stopped being collected or note today if its kept current - at a minimum what year)
-
## Update Frequ... | <|file_sep|>original/.github/ISSUE_TEMPLATE/data-source-recommendation.md
## Size (GB/TB/?) - (if you record a different size, note it next to the number)
-
## Accessible (How can we access it either API or scrape with permission or no access option or -
something else)
-
## Start Date (When it started being colle... | 535af63f296a0051693c43bb345460ce569456d4 | .github/ISSUE_TEMPLATE/data-source-recommendation.md | .github/ISSUE_TEMPLATE/data-source-recommendation.md | Markdown |
<|file_sep|>original/config.json
{
"connectionString": "mongodb://dbtest:dbtest@10.0.2.67:27017/mytasktest",
"apiUrl": "http://localhost:3000/api",
"secret": "REPLACE THIS WITH YOUR OWN SECRET, IT CAN BE ANY STRING",
"redisHost" : "127.0.0.1",
"redisPort" : 6379,
"redisTCP" : "tcp://test-redis... | {
"connectionString": "mongodb://dbtemp:dbtemp@10.0.2.67:27017/mytasktest",
"redisHost" : "127.0.0.1",
"redisPort" : 6379,
"redisTCP" : "tcp://test-redis-rohit.aq7i2s.0001.use1.cache.amazonaws.com:6379",
"elasticSearchConnection" : "search-my-test-elastic-5fbryhm3zdtymg7rolyc6vcyl4.us-east-1.es.am... | <|file_sep|>original/config.json
{
"connectionString": "mongodb://dbtest:dbtest@10.0.2.67:27017/mytasktest",
"apiUrl": "http://localhost:3000/api",
"secret": "REPLACE THIS WITH YOUR OWN SECRET, IT CAN BE ANY STRING",
"redisHost" : "127.0.0.1",
"redisPort" : 6379,
"redisTCP" : "tcp://test-redis... | 1ae1b335b67b4937665831045137e4d3207d5280 | config.json | config.json | JSON |
<|file_sep|>original/app/controllers/index.rb
#create a new session w/ conditional logic
redirect '/'
end
get '/signup' do
erb :signup
#sign up form
end
post '/signup' do
#create user, set the session
redirect '/'
end
get '/logout' do
redirect '/'
end
#-------------USERS---------------
get '/user/:id... | #create a new session w/ conditional logic
redirect '/'
end
get '/signup' do
erb :signup
#sign up form
end
post '/signup' do
user = User.new(params[:user])
if user.save
session[:user_id] = user.id
redirect "/"
else
redirect "/signup"
end
redirect '/'
end
| <|file_sep|>original/app/controllers/index.rb
#create a new session w/ conditional logic
redirect '/'
end
get '/signup' do
erb :signup
#sign up form
end
post '/signup' do
#create user, set the session
redirect '/'
end
get '/logout' do
redirect '/'
end
#-------------USERS---------------
get '/user/:id... | f286be59604c8f846d8238eb76bc3692795dfba1 | app/controllers/index.rb | app/controllers/index.rb | Ruby |
<|file_sep|>tests/test_engine_import.py.diff
original:
'openfoam',
updated:
'openfoam_file_io',
'openfoam_internal',
<|file_sep|>original/tests/test_engine_import.py
import unittest
import os
from stevedore.extension import ExtensionManager
ENGINES = [
'lammps',
'openfoam',
'kratos',
'jyul... | import unittest
import os
from stevedore.extension import ExtensionManager
ENGINES = [
'lammps',
'openfoam_file_io',
'openfoam_internal',
'kratos',
'jyulb_fileio_isothermal',
'jyulb_internal_isothermal']
if os.getenv("HAVE_NUMERRIN", "no") == "yes":
ENGINES.append("numerrin")
class Test... | <|file_sep|>tests/test_engine_import.py.diff
original:
'openfoam',
updated:
'openfoam_file_io',
'openfoam_internal',
<|file_sep|>original/tests/test_engine_import.py
import unittest
import os
from stevedore.extension import ExtensionManager
ENGINES = [
'lammps',
'openfoam',
'kratos',
'jyul... | a25d7cbe7a2fb583e08e642e846edd7d647f2013 | tests/test_engine_import.py | tests/test_engine_import.py | Python |
<|file_sep|>original/pom.xml
<modules>
<module>core</module>
<module>feature</module>
<module>site</module>
<module>ui</module>
</modules>
<repositories>
<repository>
<id>eclipse-indigo</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/mars</url>
</reposi... | <modules>
<module>core</module>
<module>feature</module>
<module>site</module>
<module>ui</module>
</modules>
<repositories>
<repository>
<id>eclipse-indigo</id>
<layout>p2</layout>
<url>https://download.eclipse.org/releases/mars</url>
</repository>
</repositories>
<b... | <|file_sep|>original/pom.xml
<modules>
<module>core</module>
<module>feature</module>
<module>site</module>
<module>ui</module>
</modules>
<repositories>
<repository>
<id>eclipse-indigo</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/mars</url>
</reposi... | 59dbbf4280570decfa512fcab87550e26e00a1f1 | pom.xml | pom.xml | XML |
<|file_sep|>gpio_components/input_devices.py.diff
original:
def __init__(self, pin):
updated:
def __init__(self, pin=None):
if pin is None:
raise InputDeviceError('No GPIO pin number given')
<|file_sep|>gpio_components/input_devices.py.diff
original:
GPIO.setup(pin, GPIO.IN, GPIO.PU... | return GPIO.input(self.pin) == self.active
def wait_for_input(self):
GPIO.wait_for_edge(self.pin, self.edge)
def add_callback(self, callback=None, bouncetime=1000):
if callback is None:
raise InputDeviceError('No callback function given')
GPIO.add_event_detect(self... | <|file_sep|>gpio_components/input_devices.py.diff
original:
def __init__(self, pin):
updated:
def __init__(self, pin=None):
if pin is None:
raise InputDeviceError('No GPIO pin number given')
<|file_sep|>gpio_components/input_devices.py.diff
original:
GPIO.setup(pin, GPIO.IN, GPIO.PU... | 3e52078450a4205fdfaa2d4ba2448bce3d3d19d7 | gpio_components/input_devices.py | gpio_components/input_devices.py | Python |
<|file_sep|>original/wagtail/wagtailadmin/edit_bird.py
template = 'wagtailadmin/edit_bird/edit_page_item.html'
def __init__(self, page):
self.page = page
def render(self, request):
# Don't render if the page doesn't have an id
if not self.page.id:
return
return... | template = 'wagtailadmin/edit_bird/edit_page_item.html'
def __init__(self, page):
self.page = page
def render(self, request):
# Don't render if the page doesn't have an id
if not self.page.id:
return
# Don't render if user doesn't have permission to access the ... | <|file_sep|>original/wagtail/wagtailadmin/edit_bird.py
template = 'wagtailadmin/edit_bird/edit_page_item.html'
def __init__(self, page):
self.page = page
def render(self, request):
# Don't render if the page doesn't have an id
if not self.page.id:
return
return... | 4e67491bda3204d449c540fa80cbbb8ab73921dd | wagtail/wagtailadmin/edit_bird.py | wagtail/wagtailadmin/edit_bird.py | Python |
<|file_sep|>original/resources/templates/Dockerfile.twig
{% block from %}
FROM jolicode/base:latest
{% endblock %}
{% block content %}
{% endblock %}
ENV WORKDIR $HOME/project
ADD . $WORKDIR
WORKDIR ~/project
{% block env %}{% endblock %}
{% block before_install %}{% endblock %}
{% block install %}{% endblock %}
... | {% block from %}
FROM jolicode/base:latest
{% endblock %}
{% block content %}
{% endblock %}
ENV WORKDIR $HOME/project
ADD . $WORKDIR
WORKDIR $HOME/project
RUN sudo chown travis:travis -R $HOME/project
{% block env %}{% endblock %}
{% block before_install %}{% endblock %}
{% block install %}{% endblock %}
{% bloc... | <|file_sep|>original/resources/templates/Dockerfile.twig
{% block from %}
FROM jolicode/base:latest
{% endblock %}
{% block content %}
{% endblock %}
ENV WORKDIR $HOME/project
ADD . $WORKDIR
WORKDIR ~/project
{% block env %}{% endblock %}
{% block before_install %}{% endblock %}
{% block install %}{% endblock %}
... | 2641d0d7e3270330ee0921ca86a6f2ccea3008be | resources/templates/Dockerfile.twig | resources/templates/Dockerfile.twig | Twig |
<|file_sep|>original/scripts/run_gunicorn_server.py
<|file_sep|>current/scripts/run_gunicorn_server.py
<|file_sep|>updated/scripts/run_gunicorn_server.py | import subprocess
import argparse
import pwd
import os
def _get_user_home_dir(user):
return os.path.expanduser('~' + user)
def build_parser():
def _get_current_user():
return pwd.getpwuid(os.getuid())[0]
DEFAULTS = {
'workers': 3,
'user': _get_current_user(),
'group': _... | <|file_sep|>original/scripts/run_gunicorn_server.py
<|file_sep|>current/scripts/run_gunicorn_server.py
<|file_sep|>updated/scripts/run_gunicorn_server.py
import subprocess
import argparse
import pwd
import os
def _get_user_home_dir(user):
return os.path.expanduser('~' + user)
def build_parser():
def _get... | 56992cc873c5837da0907a44af562646b54ed173 | scripts/run_gunicorn_server.py | scripts/run_gunicorn_server.py | Python |
<|file_sep|>composer.json.diff
original:
updated:
"prefer-stable": true,
<|file_sep|>original/composer.json
{
"name": "soneritics/beslistshopitem",
"type": "library",
"description": "Beslist.nl ShopItem implementation for PHP",
"homepage": "https://github.com/Soneritics/BeslistShopItem",
"license"... | {
"name": "soneritics/beslistshopitem",
"type": "library",
"description": "Beslist.nl ShopItem implementation for PHP",
"homepage": "https://github.com/Soneritics/BeslistShopItem",
"license": "MIT",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=5.5.0"
... | <|file_sep|>composer.json.diff
original:
updated:
"prefer-stable": true,
<|file_sep|>original/composer.json
{
"name": "soneritics/beslistshopitem",
"type": "library",
"description": "Beslist.nl ShopItem implementation for PHP",
"homepage": "https://github.com/Soneritics/BeslistShopItem",
"license"... | 0c7cb96bf09f6da92d9f090f77e7891534b75fef | composer.json | composer.json | JSON |
<|file_sep|>original/_layouts/post.html
{% if page.slides %}
| <span class="entry-date">
<a href="{{ page.slides }}"><span class="fa fa-file"></span> Slides</a>
</span>
{% endif %}
{% if page.video %}
| <span class="entry-date">
<a href="{{... | {% if page.slides %}
| <span class="entry-date">
<a href="{{ page.slides }}"><span class="fa fa-file"></span> Slides</a>
</span>
{% endif %}
{% if page.video %}
| <span class="entry-date">
<a href="{{ page.video }}"><span class="fa fa-youtu... | <|file_sep|>original/_layouts/post.html
{% if page.slides %}
| <span class="entry-date">
<a href="{{ page.slides }}"><span class="fa fa-file"></span> Slides</a>
</span>
{% endif %}
{% if page.video %}
| <span class="entry-date">
<a href="{{... | 68c9ff1d0d5af2dcb972ca2e382500c988478e20 | _layouts/post.html | _layouts/post.html | HTML |
<|file_sep|>original/scripts/upload-artifacts.sh
#!/bin/bash
# This script uploads the Travis artifacts to Google Cloud Storage.
# Installation of https://github.com/travis-ci/dpl.
gem instal dpl
# Prepare the test and coverage reports for the upload.
mkdir reports
# Find all directories matching path to add to arch... | #!/bin/bash
# This script uploads the Travis artifacts to Google Cloud Storage.
# Installation of https://github.com/travis-ci/dpl.
gem instal dpl
# Prepare the test and coverage reports for the upload.
mkdir reports
# Find all directories matching path to add to archive.
BUILD_REPORTS=$(find . -type d -path "*buil... | <|file_sep|>original/scripts/upload-artifacts.sh
#!/bin/bash
# This script uploads the Travis artifacts to Google Cloud Storage.
# Installation of https://github.com/travis-ci/dpl.
gem instal dpl
# Prepare the test and coverage reports for the upload.
mkdir reports
# Find all directories matching path to add to arch... | 944a2b6f9a54829545798c9956df86121ee6a407 | scripts/upload-artifacts.sh | scripts/upload-artifacts.sh | Shell |
<|file_sep|>resources/db.cql.diff
original:
CREATE KEYSPACE uuuurrrrllll
updated:
CREATE KEYSPACE IF NOT EXISTS uuuurrrrllll
<|file_sep|>original/resources/db.cql
-- Keyspace -------------------------------------------------------------------
CREATE KEYSPACE uuuurrrrllll
WITH replication = {
-- 'class': 'NetworkTo... | -- Keyspace -------------------------------------------------------------------
CREATE KEYSPACE IF NOT EXISTS uuuurrrrllll
WITH replication = {
-- 'class': 'NetworkTopologyStrategy', 'replication_factor': '3'
'class': 'SimpleStrategy', 'replication_factor': '1'
};
CREATE TABLE IF NOT EXISTS uuuurrrrllll.messa... | <|file_sep|>resources/db.cql.diff
original:
CREATE KEYSPACE uuuurrrrllll
updated:
CREATE KEYSPACE IF NOT EXISTS uuuurrrrllll
<|file_sep|>original/resources/db.cql
-- Keyspace -------------------------------------------------------------------
CREATE KEYSPACE uuuurrrrllll
WITH replication = {
-- 'class': 'NetworkTo... | d95230ecc20f7050b0fc23efddbd75339ed1b2d4 | resources/db.cql | resources/db.cql | SQL |
<|file_sep|>original/gradle.properties
org.gradle.daemon=true
bintrayUser=
bintrayKey=
releaseBuild=false
targetCompatibility=1.7
sourceCompatibility=1.7
jrubyVersion=9.0.1.0
jettyVersion=9.2.12.v20150709
rubygemsProxy=http://rubygems.lasagna.io/proxy/maven/releases
<|file_sep|>current/gradle.properties
org.gradle.dae... | org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.configureondemand=true
bintrayUser=
bintrayKey=
releaseBuild=false
targetCompatibility=1.7
sourceCompatibility=1.7
jrubyVersion=9.0.1.0
jettyVersion=9.2.12.v20150709
rubygemsProxy=http://rubygems.lasagna.io/proxy/maven/releases | <|file_sep|>original/gradle.properties
org.gradle.daemon=true
bintrayUser=
bintrayKey=
releaseBuild=false
targetCompatibility=1.7
sourceCompatibility=1.7
jrubyVersion=9.0.1.0
jettyVersion=9.2.12.v20150709
rubygemsProxy=http://rubygems.lasagna.io/proxy/maven/releases
<|file_sep|>current/gradle.properties
org.gradle.dae... | 2548df4f207fd4b0077bf9073fc756bb285f99e1 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/notSquare.html
<!DOCTYPE html>
<html>
<head>
<title>Not Square</title>
<link rel="stylesheet" type="text/css" href="notSquare.css">
</head>
<body>
<h1>These are not squares.</h1>
<div id="menuBar">
<span id="statusDisplay"></span>
</div>
<div id="container">
<div class="square">... | <!DOCTYPE html>
<html>
<head>
<title>Not Square</title>
<link rel="stylesheet" type="text/css" href="notSquare.css">
</head>
<body>
<h1>These are not squares.</h1>
<div id="stripe">
<button id="reset">New Colors</button>
<span id="status"></span>
</div>
<div id="container">
<div class="square"><... | <|file_sep|>original/notSquare.html
<!DOCTYPE html>
<html>
<head>
<title>Not Square</title>
<link rel="stylesheet" type="text/css" href="notSquare.css">
</head>
<body>
<h1>These are not squares.</h1>
<div id="menuBar">
<span id="statusDisplay"></span>
</div>
<div id="container">
<div class="square">... | 20b9d2d28d1c73fa62864ff3cfa0a300d178f4a6 | notSquare.html | notSquare.html | HTML |
<|file_sep|>original/requirements/dev.txt
# Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==4.1.1
factory-boy==2.11.1
pytest-mock==1.10.0
webtest==2.0.32
pytest-cov==2.6.1
# Lint and code style
flake8==3.6.0
flake8-docstrings==1.3.0
flake8-quotes==1.0.0
pep8-nam... | # Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==4.1.1
factory-boy==2.11.1
pytest-mock==1.10.0
webtest==2.0.32
pytest-cov==2.6.1
# Lint and code style
flake8==3.7.1
flake8-docstrings==1.3.0
flake8-quotes==1.0.0
pep8-naming==0.8.0 | <|file_sep|>original/requirements/dev.txt
# Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==4.1.1
factory-boy==2.11.1
pytest-mock==1.10.0
webtest==2.0.32
pytest-cov==2.6.1
# Lint and code style
flake8==3.6.0
flake8-docstrings==1.3.0
flake8-quotes==1.0.0
pep8-nam... | 32c52aa2838176eea3d1fde1d2e43aee4278e3d0 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/releasenotes/notes/bug-1823200-scaleio-upgrade-3e83b5c9dd148714.yaml
<|file_sep|>current/releasenotes/notes/bug-1823200-scaleio-upgrade-3e83b5c9dd148714.yaml
<|file_sep|>updated/releasenotes/notes/bug-1823200-scaleio-upgrade-3e83b5c9dd148714.yaml | ---
fixes:
- |
`Bug #1823200 <https://bugs.launchpad.net/cinder/+bug/1823200>`_:
Prior fixes for this bug changed the connection properties but did
not take into account an upgrade scenario in which currently attached
volumes had the old format connection properties and could fail on
detatch with ... | <|file_sep|>original/releasenotes/notes/bug-1823200-scaleio-upgrade-3e83b5c9dd148714.yaml
<|file_sep|>current/releasenotes/notes/bug-1823200-scaleio-upgrade-3e83b5c9dd148714.yaml
<|file_sep|>updated/releasenotes/notes/bug-1823200-scaleio-upgrade-3e83b5c9dd148714.yaml
---
fixes:
- |
`Bug #1823200 <https://bugs.l... | 7ca8e56d505f62c0c7ee8f614d26e8b0ccf32b3d | releasenotes/notes/bug-1823200-scaleio-upgrade-3e83b5c9dd148714.yaml | releasenotes/notes/bug-1823200-scaleio-upgrade-3e83b5c9dd148714.yaml | YAML |
<|file_sep|>original/Godeps/Godeps.json
<|file_sep|>current/Godeps/Godeps.json
<|file_sep|>updated/Godeps/Godeps.json | {
"ImportPath": "github.com/abh/geodns",
"GoVersion": "go1.3.1",
"Deps": [
{
"ImportPath": "code.google.com/p/gcfg",
"Rev": "c2d3050044d05357eaf6c3547249ba57c5e235cb"
},
{
"ImportPath": "code.google.com/p/go.net/websocket",
"Comment": "null-163",
"Rev": "b39f3d42a398493ea477d6aa63ae43d818d1f78a"... | <|file_sep|>original/Godeps/Godeps.json
<|file_sep|>current/Godeps/Godeps.json
<|file_sep|>updated/Godeps/Godeps.json
{
"ImportPath": "github.com/abh/geodns",
"GoVersion": "go1.3.1",
"Deps": [
{
"ImportPath": "code.google.com/p/gcfg",
"Rev": "c2d3050044d05357eaf6c3547249ba57c5e235cb"
},
{
"ImportPat... | 24ce842203c348e4b30eff00819a5f6384bb5235 | Godeps/Godeps.json | Godeps/Godeps.json | JSON |
<|file_sep|>original/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.1
pytest-asyncio==0.5.0
pytest-cov==2.3.1
pytest-xdist==1.15
pytest==3.0.3
<|file_sep|>current/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.1
pytest-asyncio==0.5.0
pytest-cov==2.3.1
pytest-xdist==1.15... | -e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.1
pytest-asyncio==0.5.0
pytest-cov==2.4.0
pytest-xdist==1.15
pytest==3.0.3 | <|file_sep|>original/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.1
pytest-asyncio==0.5.0
pytest-cov==2.3.1
pytest-xdist==1.15
pytest==3.0.3
<|file_sep|>current/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.1
pytest-asyncio==0.5.0
pytest-cov==2.3.1
pytest-xdist==1.15... | 6afac06ca70e5b95d68c5b8c34b523fb85d49a97 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/netlify.toml
[build]
publish = "public"
command = "npm run build"
[build.environment]
NODE_VERSION = "14.15.3"
<|file_sep|>current/netlify.toml
[build]
publish = "public"
command = "npm run build"
[build.environment]
NODE_VERSION = "14.15.3"
<|file_sep|>updated/netlify.toml | [build]
publish = "public"
command = "npm run build"
[build.environment]
YARN_VERSION = "1.9.4"
YARN_FLAGS = "--no-ignore-optional" | <|file_sep|>original/netlify.toml
[build]
publish = "public"
command = "npm run build"
[build.environment]
NODE_VERSION = "14.15.3"
<|file_sep|>current/netlify.toml
[build]
publish = "public"
command = "npm run build"
[build.environment]
NODE_VERSION = "14.15.3"
<|file_sep|>updated/netlify.toml
[build]
pu... | 503b6e6bf289b13e5652ba9ad47f40c155de44a9 | netlify.toml | netlify.toml | TOML |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- hhvm
install: composer install
script: ./vendor/bin/phpunit test/
<|file_sep|>current/.travis.yml
language: php
php:
- 5.5
- hhvm
install: composer install
script: ./vendor/bin/phpunit test/
<|file_sep|>updated/.travis.yml | language: php
php:
- 5.5
- hhvm
install: composer install
script: ./vendor/bin/phpunit --coverage-text test/ | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- hhvm
install: composer install
script: ./vendor/bin/phpunit test/
<|file_sep|>current/.travis.yml
language: php
php:
- 5.5
- hhvm
install: composer install
script: ./vendor/bin/phpunit test/
<|file_sep|>updated/.travis.yml
language: php
php:
... | 3976a36e221d98fd91f7d2ca3d05cf97d080b021 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- jruby-head
- rbx-19mode
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-19mode # jruby 1.7.3 fibers are broken
- rvm: jruby-head
- rvm: rbx-19mode # deadlocks :(
notifications:
irc: "irc.freenode.... | rvm:
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- jruby-head
- rbx-19mode
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: rbx-19mode # deadlocks :(
notifications:
irc: "irc.freenode.org#celluloid" | <|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- jruby-head
- rbx-19mode
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-19mode # jruby 1.7.3 fibers are broken
- rvm: jruby-head
- rvm: rbx-19mode # deadlocks :(
notifications:
irc: "irc.freenode.... | 34eca3095df042f499e2a949522d52439c7f9934 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/feedback/feedback_sprint4.md
<|file_sep|>current/feedback/feedback_sprint4.md
<|file_sep|>updated/feedback/feedback_sprint4.md | # PL2 - Pantzerfaust
-------
## Rubrics
| | Sprint 4 | | | | | |
|-------------------------------------|------------|-----------|----------------|-----------------------|----------------|------------|
| ... | <|file_sep|>original/feedback/feedback_sprint4.md
<|file_sep|>current/feedback/feedback_sprint4.md
<|file_sep|>updated/feedback/feedback_sprint4.md
# PL2 - Pantzerfaust
-------
## Rubrics
| | Sprint 4 | | | | | ... | b9714e8875c87c71505ea3b677d8324e4e662868 | feedback/feedback_sprint4.md | feedback/feedback_sprint4.md | Markdown |
<|file_sep|>package.json.diff
original:
"test": "echo \"Error: no test specified\" && exit 1"
updated:
"test": "grunt"
<|file_sep|>original/package.json
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git://github.com/Kazark/conway-game-of-life-wit... | "repository": {
"type": "git",
"url": "git://github.com/Kazark/conway-game-of-life-with-angular-js.git"
},
"author": "Kazark",
"license": "Public Domain",
"bugs": {
"url": "https://github.com/Kazark/conway-game-of-life-with-angular-js/issues"
},
"homepage": "https://github.com/Kazark/conway-ga... | <|file_sep|>package.json.diff
original:
"test": "echo \"Error: no test specified\" && exit 1"
updated:
"test": "grunt"
<|file_sep|>original/package.json
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git://github.com/Kazark/conway-game-of-life-wit... | f4541d9a8cded95c1164696d8999519a728322b0 | package.json | package.json | JSON |
<|file_sep|>original/Vim-Editor/resource.md
# **EVERYTHING ABOUT VIM**
## **Links**
* [Basic of Vim](https://www.linux.com/learn/vim-101-beginners-guide-vim)
* [Vim Commands](http://www.radford.edu/~mhtay/CPSC120/VIM_Editor_Commands.htm)
* [Vim Cheat Sheet](http://vim.rtorr.com/)
* [Interactive Vim Tutorial](http://www... | # **EVERYTHING ABOUT VIM**
## **Links**
* [Basic of Vim](https://www.linux.com/learn/vim-101-beginners-guide-vim)
* [Vim Commands](http://www.radford.edu/~mhtay/CPSC120/VIM_Editor_Commands.htm)
* [Vim Cheat Sheet](http://vim.rtorr.com/)
* [Interactive Vim Tutorial](http://www.openvim.com/)
* [Become a vim genius](http:... | <|file_sep|>original/Vim-Editor/resource.md
# **EVERYTHING ABOUT VIM**
## **Links**
* [Basic of Vim](https://www.linux.com/learn/vim-101-beginners-guide-vim)
* [Vim Commands](http://www.radford.edu/~mhtay/CPSC120/VIM_Editor_Commands.htm)
* [Vim Cheat Sheet](http://vim.rtorr.com/)
* [Interactive Vim Tutorial](http://www... | 4b954ed100ff96af5aae50fcf0c51a0db879764e | Vim-Editor/resource.md | Vim-Editor/resource.md | Markdown |
<|file_sep|>setup.py.diff
original:
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
updated:
<|file_sep|>setup.py.diff
original:
version='0.0.14',
updated:
version='0.0.15',
<|file_sep|>original... | from setuptools import setup
setup(
name='dacite',
version='0.0.15',
description='Simple creation of data classes from dictionaries.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='Konrad Hałas',
author_email='halas.konrad@gmail.com',
... | <|file_sep|>setup.py.diff
original:
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
updated:
<|file_sep|>setup.py.diff
original:
version='0.0.14',
updated:
version='0.0.15',
<|file_sep|>original... | 89bb9c31e0e35f4d5bdacca094581ff8bcc213d2 | setup.py | setup.py | Python |
<|file_sep|>original/lib/micromachine.rb
end
def on key, &block
@callbacks[key] << block
end
def trigger event
if trigger?(event)
@state = transitions_for[event][@state]
callbacks = @callbacks[@state] + @callbacks[:any]
callbacks.each { |callback| callback.call }
true
end
... | end
def trigger event
if trigger?(event)
@state = transitions_for[event][@state]
callbacks = @callbacks[@state] + @callbacks[:any]
callbacks.each { |callback| callback.call }
true
end
end
def trigger?(event)
transitions_for[event][state]
rescue NoMethodError
raise Inv... | <|file_sep|>original/lib/micromachine.rb
end
def on key, &block
@callbacks[key] << block
end
def trigger event
if trigger?(event)
@state = transitions_for[event][@state]
callbacks = @callbacks[@state] + @callbacks[:any]
callbacks.each { |callback| callback.call }
true
end
... | 6befbf53c9b91c4471377dd0addf9dac95891f23 | lib/micromachine.rb | lib/micromachine.rb | Ruby |
<|file_sep|>original/sources/us/mn/hennepin.json
"coverage": {
"US Census": {
"geoid": "27053",
"name": "Hennepin County",
"state": "Minnesota"
},
"country": "us",
"state": "mn",
"county": "Hennepin"
},
"data": "http://gis-stage.hen... | "coverage": {
"US Census": {
"geoid": "27053",
"name": "Hennepin County",
"state": "Minnesota"
},
"country": "us",
"state": "mn",
"county": "Hennepin"
},
"data": "https://gis.hennepin.us/publicgisdata/hennepin_county_address_points.... | <|file_sep|>original/sources/us/mn/hennepin.json
"coverage": {
"US Census": {
"geoid": "27053",
"name": "Hennepin County",
"state": "Minnesota"
},
"country": "us",
"state": "mn",
"county": "Hennepin"
},
"data": "http://gis-stage.hen... | 4274e283d8b867d103c0ceb80de60a809d28355e | sources/us/mn/hennepin.json | sources/us/mn/hennepin.json | JSON |
<|file_sep|>original/pyroot/inc/LinkDef.h
#ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ function TPython::Exec;
#pragma link C++ function TPython::Eval;
#pragma link C++ function TPython::Bind;
#pragma link C++ function TPython::Prompt;
#... | #ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ class TPython;
#endif | <|file_sep|>original/pyroot/inc/LinkDef.h
#ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ function TPython::Exec;
#pragma link C++ function TPython::Eval;
#pragma link C++ function TPython::Bind;
#pragma link C++ function TPython::Prompt;
#... | bbd0db9d8b3329cacffc55cdca9a5e63911ed510 | pyroot/inc/LinkDef.h | pyroot/inc/LinkDef.h | C |
<|file_sep|>original/test/Interpreter/NewtypeLeak.swift
// RUN: %empty-directory(%t)
// RUN: %target-clang -c %S/Inputs/newtype.m -o %t/newtype.objc.o -I %S/Inputs/usr/include -fmodules
// RUN: %target-build-swift -c -I %S/Inputs/usr/include -o %t/newtype.swift.o %s
// RUN: %swiftc_driver %t/newtype.objc.o %t/newtype.s... | // RUN: %empty-directory(%t)
// RUN: %target-clang -c %S/Inputs/newtype.m -o %t/newtype.objc.o -I %S/Inputs/usr/include -fmodules
// RUN: %target-build-swift -c -I %S/Inputs/usr/include -o %t/newtype.swift.o %s
// RUN: %target-swiftc_driver %t/newtype.objc.o %t/newtype.swift.o -o %t/newtype
// RUN: %target-codesign %t/... | <|file_sep|>original/test/Interpreter/NewtypeLeak.swift
// RUN: %empty-directory(%t)
// RUN: %target-clang -c %S/Inputs/newtype.m -o %t/newtype.objc.o -I %S/Inputs/usr/include -fmodules
// RUN: %target-build-swift -c -I %S/Inputs/usr/include -o %t/newtype.swift.o %s
// RUN: %swiftc_driver %t/newtype.objc.o %t/newtype.s... | 495a9a08e9caa0ff8caaee65ae7690e4ec968273 | test/Interpreter/NewtypeLeak.swift | test/Interpreter/NewtypeLeak.swift | Swift |
<|file_sep|>app/controllers/balances.js.diff
original:
function userIndex(req, res) {
updated:
function index(req, res) {
<|file_sep|>original/app/controllers/balances.js
RippleTransaction = require("../models/ripple_transaction");
var async = require("async");
module.exports = (function(){
function userIndex(re... | RippleTransaction = require("../models/ripple_transaction");
var async = require("async");
module.exports = (function(){
function index(req, res) {
req.user.balances(function(err, balances) {
res.send({ error: err, balances: balances });
});
}
return {
index: index
}
})(); | <|file_sep|>app/controllers/balances.js.diff
original:
function userIndex(req, res) {
updated:
function index(req, res) {
<|file_sep|>original/app/controllers/balances.js
RippleTransaction = require("../models/ripple_transaction");
var async = require("async");
module.exports = (function(){
function userIndex(re... | 33a3a86f224f9c75bf5d1cbadf2444eb71c84db7 | app/controllers/balances.js | app/controllers/balances.js | JavaScript |
<|file_sep|>original/_includes/js.html
<!-- jQuery Version 1.11.0 -->
<script src="{{ "/js/jquery-1.11.0.js" | prepend: site.baseurl }}"></script>
<!-- Bootstrap Core JavaScript -->
<script src="{{ "/js/bootstrap.min.js" | prepend: site.baseurl }}"></script>
<!-- Plugin JavaScript -->
<script src... | <!-- jQuery Version 1.11.0 -->
<script src="{{ "/js/jquery-1.11.0.js" | prepend: site.baseurl }}"></script>
<!-- Bootstrap Core JavaScript -->
<script src="{{ "/js/bootstrap.min.js" | prepend: site.baseurl }}"></script>
<!-- Plugin JavaScript -->
<script src="{{ "/js/jquery.easing.min.js" | prepe... | <|file_sep|>original/_includes/js.html
<!-- jQuery Version 1.11.0 -->
<script src="{{ "/js/jquery-1.11.0.js" | prepend: site.baseurl }}"></script>
<!-- Bootstrap Core JavaScript -->
<script src="{{ "/js/bootstrap.min.js" | prepend: site.baseurl }}"></script>
<!-- Plugin JavaScript -->
<script src... | 2132ffd09489043e62b5ce58a35abb25256ac8b4 | _includes/js.html | _includes/js.html | HTML |
<|file_sep|>package.json.diff
original:
"test": "mocha test/*.spec.js --require config/mocha.js --compilers js:babel/register",
"test-watch": "mocha test/*.spec.js --require config/mocha.js --compilers js:babel/register --watch",
updated:
"test": "mocha test/*.spec.js --require config/mocha.js --compilers j... | "repository": "michaelzoidl/babel-root-import",
"scripts": {
"test": "mocha test/*.spec.js --require config/mocha.js --compilers js:babel-core/register",
"test-watch": "mocha test/*.spec.js --require config/mocha.js --compilers js:babel-core/register --watch",
"pack": "webpack --config config/webpack.js... | <|file_sep|>package.json.diff
original:
"test": "mocha test/*.spec.js --require config/mocha.js --compilers js:babel/register",
"test-watch": "mocha test/*.spec.js --require config/mocha.js --compilers js:babel/register --watch",
updated:
"test": "mocha test/*.spec.js --require config/mocha.js --compilers j... | 6a5fb51fdc54510f84aab5680bad9e5d4b9eeddc | package.json | package.json | JSON |
<|file_sep|>original/paypal/merchant-sdk-php/CVE-2017-6099.yaml
title: Cross-site scripting (XSS) vulnerability in Paypal-Merchant-SDK-PHP
link: https://github.com/paypal/merchant-sdk-php/tree/v3.9.1
cve: CVE-2017-6099
branches:
2.x:
time: 2017-03-31,
versions: ['<2.1.96']
ma... | title: Cross-site scripting (XSS) vulnerability in Paypal-Merchant-SDK-PHP
link: https://github.com/paypal/merchant-sdk-php/tree/v3.9.1
cve: CVE-2017-6099
branches:
2.x:
time: 2017-03-31,
versions: ['<=2.11.118']
master:
time: 2017-03-31,
versions: ['<3.1... | <|file_sep|>original/paypal/merchant-sdk-php/CVE-2017-6099.yaml
title: Cross-site scripting (XSS) vulnerability in Paypal-Merchant-SDK-PHP
link: https://github.com/paypal/merchant-sdk-php/tree/v3.9.1
cve: CVE-2017-6099
branches:
2.x:
time: 2017-03-31,
versions: ['<2.1.96']
ma... | ab4082a2b7a4898bc0d2ad7a2801f73719910a13 | paypal/merchant-sdk-php/CVE-2017-6099.yaml | paypal/merchant-sdk-php/CVE-2017-6099.yaml | YAML |
<|file_sep|>original/Binary-tree/iterative-traversal.lisp
(cl:in-package #:clump-binary-tree)
(defgeneric iterative-traversal (tree enter))
(defmethod iterative-traversal ((tree node-with-parent) enter leave)
(let ((current-node tree))
(loop do (if (or (not (funcall enter current-node))
(and (null (left ... | (cl:in-package #:clump-binary-tree)
(defgeneric iterative-traversal (tree enter leave))
(defmethod iterative-traversal ((tree node-with-parent) enter leave)
(let ((current-node tree))
(loop do (if (or (not (funcall enter current-node))
(and (null (left current-node))
(null (right current-node))))
... | <|file_sep|>original/Binary-tree/iterative-traversal.lisp
(cl:in-package #:clump-binary-tree)
(defgeneric iterative-traversal (tree enter))
(defmethod iterative-traversal ((tree node-with-parent) enter leave)
(let ((current-node tree))
(loop do (if (or (not (funcall enter current-node))
(and (null (left ... | ed7f24d2f79f522401808b6cdc04e4a6d0276364 | Binary-tree/iterative-traversal.lisp | Binary-tree/iterative-traversal.lisp | Common Lisp |
<|file_sep|>original/sweetercat/data/requirements.txt
numpy==1.18.4
pyyaml>=4.2b1
pandas==1.0.4
scipy==1.4.1
astropy==4.0.1.post1
matplotlib==3.2.1
tables==3.6.1
<|file_sep|>current/sweetercat/data/requirements.txt
numpy==1.18.4
pyyaml>=4.2b1
pandas==1.0.4
scipy==1.4.1
astropy==4.0.1.post1
matplotlib==3.2.1
tables==3.6... | numpy==1.19.0
pyyaml>=4.2b1
pandas==1.0.4
scipy==1.4.1
astropy==4.0.1.post1
matplotlib==3.2.1
tables==3.6.1 | <|file_sep|>original/sweetercat/data/requirements.txt
numpy==1.18.4
pyyaml>=4.2b1
pandas==1.0.4
scipy==1.4.1
astropy==4.0.1.post1
matplotlib==3.2.1
tables==3.6.1
<|file_sep|>current/sweetercat/data/requirements.txt
numpy==1.18.4
pyyaml>=4.2b1
pandas==1.0.4
scipy==1.4.1
astropy==4.0.1.post1
matplotlib==3.2.1
tables==3.6... | b61929955ab6cca7ecc64c3f1f99d76bedf0ac90 | sweetercat/data/requirements.txt | sweetercat/data/requirements.txt | Text |
<|file_sep|>original/app/views/devise/registrations/new.haml
.col-sm-8.offset-sm-2
.card.mt-3
.card-body
%h1= t('views.sessions.new')
= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
= render 'devise/shared/error_messages',... | .col-sm-8.offset-sm-2
.card.mt-3
.card-body
%h1= t('views.sessions.new')
= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
= render 'devise/shared/error_messages', resource: resource
= render 'layouts/messages'
... | <|file_sep|>original/app/views/devise/registrations/new.haml
.col-sm-8.offset-sm-2
.card.mt-3
.card-body
%h1= t('views.sessions.new')
= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
= render 'devise/shared/error_messages',... | e3c9d1b7b42204d7f8a4e00db9a019ba63a73d58 | app/views/devise/registrations/new.haml | app/views/devise/registrations/new.haml | Haml |
<|file_sep|>tamarackcollector/worker.py.diff
original:
updated:
'request_count': 0,
'error_count': 0,
<|file_sep|>original/tamarackcollector/worker.py
if (minute, endpoint) not in by_minute:
by_minute[(minute, endpoint)] = {
'senso... | if (minute, endpoint) not in by_minute:
by_minute[(minute, endpoint)] = {
'sensor_data': Counter(),
'timestamp': minute,
'endpoint': endpoint,
'request_count': 0,
'error_count': 0,
... | <|file_sep|>tamarackcollector/worker.py.diff
original:
updated:
'request_count': 0,
'error_count': 0,
<|file_sep|>original/tamarackcollector/worker.py
if (minute, endpoint) not in by_minute:
by_minute[(minute, endpoint)] = {
'senso... | 9bcacb5488d32e9e4483c0b54abfa548885148d2 | tamarackcollector/worker.py | tamarackcollector/worker.py | Python |
<|file_sep|>spec/dummy/config/environments/development.rb.diff
original:
config.active_record.mass_assignment_sanitizer = :strict
updated:
#config.active_record.mass_assignment_sanitizer = :strict
<|file_sep|>original/spec/dummy/config/environments/development.rb
config.action_mailer.raise_delivery_errors = false... | config.action_mailer.raise_delivery_errors = false
# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin
# Raise exception on mass assignment protection for Ac... | <|file_sep|>spec/dummy/config/environments/development.rb.diff
original:
config.active_record.mass_assignment_sanitizer = :strict
updated:
#config.active_record.mass_assignment_sanitizer = :strict
<|file_sep|>original/spec/dummy/config/environments/development.rb
config.action_mailer.raise_delivery_errors = false... | e7a6c73f0f1a6d9779be5171e484c0958fb068e3 | spec/dummy/config/environments/development.rb | spec/dummy/config/environments/development.rb | Ruby |
<|file_sep|>original/wp-theme/home.php
*/
get_header(); ?>
<div id="primary">
<div id="content" class="home" role="main">
<img src="/public/wp-content/themes/muteswan/i/phone.png" />
<h2>Anonymous friends<br />trusted face-to-face.</h2>
<p>Create secure social networks using shared QR codes. Share... | */
get_header(); ?>
<div id="primary">
<div id="content" class="home" role="main">
<img src="/public/wp-content/themes/muteswan/i/phone.png" />
<h2>Anonymous friends<br />trusted face-to-face.</h2>
<p>Create secure social networks using shared QR codes. Share them with whomever you trust, face-to-... | <|file_sep|>original/wp-theme/home.php
*/
get_header(); ?>
<div id="primary">
<div id="content" class="home" role="main">
<img src="/public/wp-content/themes/muteswan/i/phone.png" />
<h2>Anonymous friends<br />trusted face-to-face.</h2>
<p>Create secure social networks using shared QR codes. Share... | 4312ef1d44e07181108f20531e523453b776f04c | wp-theme/home.php | wp-theme/home.php | PHP |
<|file_sep|>original/stock.py
class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price = None
def update(self, timestamp, price):
self.price = price
<|file_sep|>current/stock.py
class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price ... | class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price = None
def update(self, timestamp, price):
if price < 0:
raise ValueError("price should not be negative")
self.price = price | <|file_sep|>original/stock.py
class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price = None
def update(self, timestamp, price):
self.price = price
<|file_sep|>current/stock.py
class Stock:
def __init__(self, symbol):
self.symbol = symbol
self.price ... | a612e39f2395aa04bb3fd063188c4a1038324b04 | stock.py | stock.py | Python |
<|file_sep|>original/.travis.yml
language: objective-c
xcode_project: libPhoneNumber.xcodeproj # path to your xcodeproj folder
xcode_scheme: libPhoneNumber
script: xctool -project libPhoneNumber.xcodeproj -target 'libPhoneNumberTests' -sdk iphonesimulator -arch i386 build test
<|file_sep|>current/.travis.yml
language: ... | language: objective-c
xcode_project: libPhoneNumber.xcodeproj # path to your xcodeproj folder
xcode_scheme: libPhoneNumber
script: xctool test -project libPhoneNumber.xcodeproj -target libPhoneNumberTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | <|file_sep|>original/.travis.yml
language: objective-c
xcode_project: libPhoneNumber.xcodeproj # path to your xcodeproj folder
xcode_scheme: libPhoneNumber
script: xctool -project libPhoneNumber.xcodeproj -target 'libPhoneNumberTests' -sdk iphonesimulator -arch i386 build test
<|file_sep|>current/.travis.yml
language: ... | 3a80554790b2646ce1231b44e162e0ef5b29bb11 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/main/webapp/template/user/summary/categories.ftl.diff
original:
updated:
<#-- @ftlvariable name="categories" type="com.github.cstroe.spendhawk.entity.Category[]" -->
<#-- @ftlvariable name="fw" type="com.github.cstroe.spendhawk.util.TemplateForwarder" -->
<#--noinspection FtlReferencesInspection-->
<|... | <#--noinspection FtlReferencesInspection-->
<a href="${fw.url('/category/manage', "user.id", user.id)}">Manage Categories</a>
<h2>Categories:</h2>
<table border='1'>
<tr>
<th>Name</th>
</tr>
<#list categories as category>
<tr>
<td>
<#--noinspection FtlReferencesInspection-->
... | <|file_sep|>src/main/webapp/template/user/summary/categories.ftl.diff
original:
updated:
<#-- @ftlvariable name="categories" type="com.github.cstroe.spendhawk.entity.Category[]" -->
<#-- @ftlvariable name="fw" type="com.github.cstroe.spendhawk.util.TemplateForwarder" -->
<#--noinspection FtlReferencesInspection-->
<|... | 1a95e8cace4b409506bfbdaff46670ff38eaa595 | src/main/webapp/template/user/summary/categories.ftl | src/main/webapp/template/user/summary/categories.ftl | FreeMarker |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.10
after_script:
- npm run coveralls
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.10
after_script:
- npm run coveralls
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "0.10"
after_script:
- npm run coveralls | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.10
after_script:
- npm run coveralls
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.10
after_script:
- npm run coveralls
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "0.10"
after_script:
- npm run coveralls | 61bbd4722d2016a88745b9532a7c27c7ae71c891 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
dj-config-url==0.1.1
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-crispy-forms==1.6.1
django-registration-redux==1.6
-e git://github.com/dubirajara/django-tagulous#egg=django_tagulous
djangorestframework==3.6.3
gunicorn==19.7.1
psycopg2==2.7.1
python-decouple==3.0
... | dj-config-url==0.1.1
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-crispy-forms==1.6.1
django-registration-redux==1.7
-e git://github.com/dubirajara/django-tagulous#egg=django_tagulous
djangorestframework==3.6.3
gunicorn==19.7.1
psycopg2==2.7.1
python-decouple==3.0
social-auth-app-django==1.2.0 | <|file_sep|>original/requirements.txt
dj-config-url==0.1.1
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-crispy-forms==1.6.1
django-registration-redux==1.6
-e git://github.com/dubirajara/django-tagulous#egg=django_tagulous
djangorestframework==3.6.3
gunicorn==19.7.1
psycopg2==2.7.1
python-decouple==3.0
... | 821e1be579929420910e0549be6f51343c74fae0 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/source/css/main.css
/* custom properties */
/* custom selectors */
/* usage */h1,h2,h3,h4,h5,h6{color:#000;color:rgba(0,0,0,.9)}.highlight,pre{background:#212121;color:#f5f5f5}.highlight .string,pre .string{color:#ffeb3b}.highlight .comment,pre .comment{color:#727272}.highlight .keyword,pre .keyw... | h1,h2,h3,h4,h5,h6{color:#000;color:rgba(0,0,0,.9)}.highlight,pre{background:#212121;color:#f5f5f5}.highlight .string,pre .string{color:#ffeb3b}.highlight .comment,pre .comment{color:#727272}.highlight .keyword,pre .keyword{color:#ff4081}.highlight .built_in,pre .built_in{color:#00bcd4} | <|file_sep|>original/source/css/main.css
/* custom properties */
/* custom selectors */
/* usage */h1,h2,h3,h4,h5,h6{color:#000;color:rgba(0,0,0,.9)}.highlight,pre{background:#212121;color:#f5f5f5}.highlight .string,pre .string{color:#ffeb3b}.highlight .comment,pre .comment{color:#727272}.highlight .keyword,pre .keyw... | 8c04d7d06aa546d3df907d7f0e8b4e4fc13284e4 | source/css/main.css | source/css/main.css | CSS |
<|file_sep|>original/_posts/2016-02-22-PastPapers-Where-Are-We.md
<|file_sep|>current/_posts/2016-02-22-PastPapers-Where-Are-We.md
<|file_sep|>updated/_posts/2016-02-22-PastPapers-Where-Are-We.md | ---
layout: post
title: PastPapers - Where are we at?
author: <a href="https://www.jamierocks.uk/">Jamie Mansfield</a>
section: blog
---
So recently PastPapers has become more of a priority at Lexteam, and as such a website and public API documentation has appeared.
Now before I continue PastPapers is a tool in which ... | <|file_sep|>original/_posts/2016-02-22-PastPapers-Where-Are-We.md
<|file_sep|>current/_posts/2016-02-22-PastPapers-Where-Are-We.md
<|file_sep|>updated/_posts/2016-02-22-PastPapers-Where-Are-We.md
---
layout: post
title: PastPapers - Where are we at?
author: <a href="https://www.jamierocks.uk/">Jamie Mansfield</a>
sec... | d9281766ec8cc94f3d8b35b27eeb4422dc44debf | _posts/2016-02-22-PastPapers-Where-Are-We.md | _posts/2016-02-22-PastPapers-Where-Are-We.md | Markdown |
<|file_sep|>original/ghost/job-manager/package.json
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@sinonjs/fake-timers": "7.1.1",
"date-fns": "2.22.0",
"delay": "5.0.0",
"mocha": "8.3.2",
"should": "13.2.3",
"sinon": "11... | },
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@sinonjs/fake-timers": "7.1.1",
"date-fns": "2.22.1",
"delay": "5.0.0",
"mocha": "8.3.2",
"should": "13.2.3",
"sinon": "11.0.0"
},
"dependencies": {
"@breejs/later": ... | <|file_sep|>original/ghost/job-manager/package.json
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@sinonjs/fake-timers": "7.1.1",
"date-fns": "2.22.0",
"delay": "5.0.0",
"mocha": "8.3.2",
"should": "13.2.3",
"sinon": "11... | b47312607df4b6032495fb9d0c8796799a33bda9 | ghost/job-manager/package.json | ghost/job-manager/package.json | JSON |
<|file_sep|>original/locales/sl/server-client-shared.properties
# Strings used in both the client scripts, viz. in public/, #
# and the server views, viz. in views/ #
#############################################################
#############################################################
#######... | # and the server views, viz. in views/ #
#############################################################
#############################################################
##############
## Homepage ##
##############
remixGalleryTitle=Začnite tako, da predelate projekt ...
############
## Editor ##
###... | <|file_sep|>original/locales/sl/server-client-shared.properties
# Strings used in both the client scripts, viz. in public/, #
# and the server views, viz. in views/ #
#############################################################
#############################################################
#######... | 564a0131d77746e6a3d4686837f50109bcdfe52a | locales/sl/server-client-shared.properties | locales/sl/server-client-shared.properties | INI |
<|file_sep|>original/omnibus.rb
# Disable git caching
# ------------------------------
# use_git_caching false
# Enable S3 asset caching
# ------------------------------
use_s3_caching true
s3_access_key ENV['AWS_ACCESS_KEY_ID']
s3_secret_key ENV['AWS_SECRET_ACCESS_KEY']
s3_bucket 'opscode-omnibus-cache'
# Cus... | # Disable git caching
# ------------------------------
# use_git_caching false
# Enable S3 asset caching
# ------------------------------
use_s3_caching true
s3_access_key ENV['AWS_ACCESS_KEY_ID']
s3_secret_key ENV['AWS_SECRET_ACCESS_KEY']
s3_bucket 'opscode-omnibus-cache'
# Customize compiler bits
# ---------... | <|file_sep|>original/omnibus.rb
# Disable git caching
# ------------------------------
# use_git_caching false
# Enable S3 asset caching
# ------------------------------
use_s3_caching true
s3_access_key ENV['AWS_ACCESS_KEY_ID']
s3_secret_key ENV['AWS_SECRET_ACCESS_KEY']
s3_bucket 'opscode-omnibus-cache'
# Cus... | 21b77b04e58cb1731fc8634413ce6ecb6da1272a | omnibus.rb | omnibus.rb | Ruby |
<|file_sep|>original/scheduling-manager/src/main/resources/log4j2.xml
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="INFO" packages="com.amazonaws.services.lambda.runtime.log4j2">
<Appenders>
<Lambda name="LambdaAppender">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %X{AWSRequestId} %-5p %c{1}:... | <?xml version="1.0" encoding="UTF-8"?>
<Configuration status="INFO" packages="com.amazonaws.services.lambda.runtime.log4j2">
<Appenders>
<Lambda name="LambdaAppender">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %X{AWSRequestId} %-5p %c{1}:%L - %m%n"/>
</Lambda>
</Appenders>
<Loggers>
<Root level="warn">
... | <|file_sep|>original/scheduling-manager/src/main/resources/log4j2.xml
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="INFO" packages="com.amazonaws.services.lambda.runtime.log4j2">
<Appenders>
<Lambda name="LambdaAppender">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %X{AWSRequestId} %-5p %c{1}:... | 311dd3034bc84c5df8f23f86229104a896b80aee | scheduling-manager/src/main/resources/log4j2.xml | scheduling-manager/src/main/resources/log4j2.xml | XML |
<|file_sep|>original/run.sh
#/usr/bin/env bash
# Kippo
docker rm -f kippo
docker pull andrewmichaelsmith/docker-kippo
docker run -d -p 22:2222 --name kippo andrewmichaelsmith/docker-kippo
# Dionaea
docker rm -f dionaea
docker pull andrewmichaelsmith/docker-dionaea
docker run -d -p 21:21 -p 42:42 -p 80:80 -p 135:135... | #/usr/bin/env bash
# Move SSH server from Port 22 to Port 66534
sudo sed -i 's:Port 22:Port 65534:g' /etc/ssh/sshd_config
sudo service ssh reload
# Kippo
docker rm -f kippo
docker pull andrewmichaelsmith/docker-kippo
docker run -d -p 22:2222 --name kippo andrewmichaelsmith/docker-kippo
# Dionaea
docker rm -f diona... | <|file_sep|>original/run.sh
#/usr/bin/env bash
# Kippo
docker rm -f kippo
docker pull andrewmichaelsmith/docker-kippo
docker run -d -p 22:2222 --name kippo andrewmichaelsmith/docker-kippo
# Dionaea
docker rm -f dionaea
docker pull andrewmichaelsmith/docker-dionaea
docker run -d -p 21:21 -p 42:42 -p 80:80 -p 135:135... | e0bd1a32650ab007a5115d8ed27ced72dbffc1e5 | run.sh | run.sh | Shell |
<|file_sep|>lib/volt/page/path_string_renderer.rb.diff
original:
updated:
class ViewLookupException < Exception ; end
<|file_sep|>lib/volt/page/path_string_renderer.rb.diff
original:
updated:
if full_path == nil
raise ViewLookupException, "Unable to find view at `#{path}`"
end
<|file_sep|>origi... | # Make path into a full path
@view_lookup = Volt::ViewLookupForPath.new(page, render_from_path)
full_path, controller_path = @view_lookup.path_for_template(path, nil)
if full_path == nil
raise ViewLookupException, "Unable to find view at `#{path}`"
end
controller_class, act... | <|file_sep|>lib/volt/page/path_string_renderer.rb.diff
original:
updated:
class ViewLookupException < Exception ; end
<|file_sep|>lib/volt/page/path_string_renderer.rb.diff
original:
updated:
if full_path == nil
raise ViewLookupException, "Unable to find view at `#{path}`"
end
<|file_sep|>origi... | 7fcff0410522ba89b42b027d013f095180a40280 | lib/volt/page/path_string_renderer.rb | lib/volt/page/path_string_renderer.rb | Ruby |
<|file_sep|>util.go.diff
original:
// "bufio"
// "fmt"
// "os"
// "regexp"
updated:
"bufio"
"fmt"
"os"
"regexp"
<|file_sep|>util.go.diff
original:
return "/dev/xvda", nil
/*
updated:
//return "/dev/xvda", nil
<|file_sep|>original/util.go
r := regexp.MustCompile(`^(?P<device>/\S+) (?P<mount>\S+) `)
... | r := regexp.MustCompile(`^(?P<device>/\S+) (?P<mount>\S+) `)
for scanner.Scan() {
result := r.FindStringSubmatch(scanner.Text())
if len(result) > 1 {
if result[2] == mount {
println ("fDFM: found device", result[1], " mount ", result[2])
device = result[1]
}
}
}
if device... | <|file_sep|>util.go.diff
original:
// "bufio"
// "fmt"
// "os"
// "regexp"
updated:
"bufio"
"fmt"
"os"
"regexp"
<|file_sep|>util.go.diff
original:
return "/dev/xvda", nil
/*
updated:
//return "/dev/xvda", nil
<|file_sep|>original/util.go
r := regexp.MustCompile(`^(?P<device>/\S+) (?P<mount>\S+) `)
... | c3a633c440d6658490191a819be4f33b909f808a | util.go | util.go | Go |
<|file_sep|>original/README.md
# gulp-minify-ejs
gulp-minify-ejs is a gulp plugin to minify ejs template file files easily.
[](https://nodei.co/npm/gulp-rename/)
[](https://nodei.co/npm/gulp-rename/)
[:
"""A hook for adding params that protractor will receive."""
return {
'live_server_url': self.live_server_url
}
<|file_sep|>original/protractor/test.py
def setUpClass(cls):
super... | cls.webdriver.kill()
super(ProtractorTestCaseMixin, cls).tearDownClass()
def get_protractor_params(self):
"""A hook for adding params that protractor will receive."""
return {
'live_server_url': self.live_server_url
}
def test_run(self):
protractor_c... | <|file_sep|>protractor/test.py.diff
original:
updated:
def get_protractor_params(self):
"""A hook for adding params that protractor will receive."""
return {
'live_server_url': self.live_server_url
}
<|file_sep|>original/protractor/test.py
def setUpClass(cls):
super... | 6fa5c20f4d3b6ea9716adbf4c5fd50739f2f987e | protractor/test.py | protractor/test.py | Python |
<|file_sep|>original/misc/travis_test.sh
#!/bin/bash
set -eux
rm ~/.birdseye_test.db || true
export BIRDSEYE_SERVER_RUNNING=true
gunicorn -b 127.0.0.1:7777 birdseye.server:app &
sleep 3
set +e
python setup.py test
result=$?
kill $(ps aux | grep birdseye.server:app | grep -v grep | awk '{print $2}')
exit ${result}... | #!/bin/bash
set -eux
pip install -e .
rm ~/.birdseye_test.db || true
export BIRDSEYE_SERVER_RUNNING=true
gunicorn -b 127.0.0.1:7777 birdseye.server:app &
sleep 3
set +e
python setup.py test
result=$?
kill $(ps aux | grep birdseye.server:app | grep -v grep | awk '{print $2}')
exit ${result} | <|file_sep|>original/misc/travis_test.sh
#!/bin/bash
set -eux
rm ~/.birdseye_test.db || true
export BIRDSEYE_SERVER_RUNNING=true
gunicorn -b 127.0.0.1:7777 birdseye.server:app &
sleep 3
set +e
python setup.py test
result=$?
kill $(ps aux | grep birdseye.server:app | grep -v grep | awk '{print $2}')
exit ${result}... | af86e892bd1d1e4e1eabde7a8f14c793a829a022 | misc/travis_test.sh | misc/travis_test.sh | Shell |
<|file_sep|>original/requirements.txt
molecule==2.9.0
pytest==3.4.1
python-vagrant==0.5.15
testinfra==1.11.0
tox==2.9.1
<|file_sep|>current/requirements.txt
molecule==2.9.0
pytest==3.4.1
python-vagrant==0.5.15
testinfra==1.11.0
tox==2.9.1
<|file_sep|>updated/requirements.txt | molecule==2.9.0
pytest==3.4.1
python-vagrant==0.5.15
testinfra==1.11.1
tox==2.9.1 | <|file_sep|>original/requirements.txt
molecule==2.9.0
pytest==3.4.1
python-vagrant==0.5.15
testinfra==1.11.0
tox==2.9.1
<|file_sep|>current/requirements.txt
molecule==2.9.0
pytest==3.4.1
python-vagrant==0.5.15
testinfra==1.11.0
tox==2.9.1
<|file_sep|>updated/requirements.txt
molecule==2.9.0
pytest==3.4.1
python-vagrant... | 47b37f3ba21fc7226ae45681b9ef5387033fe434 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/src/css/alert.css
#note {
position: absolute;
z-index: 999999;
top: 0;
left: 0;
right: 0;
background: #fde073;
text-align: center;
line-height: 2.5;
overflow: hidden;
-webkit-box-shadow: 0 0 5px black;
-moz-box-shadow: 0 0 5px black;
box-shadow: ... | #note {
position: fixed;
z-index: 999999;
top: 0;
left: 0;
right: 0;
background: #fde073;
text-align: center;
line-height: 2.5;
overflow: hidden;
-webkit-box-shadow: 0 0 5px black;
-moz-box-shadow: 0 0 5px black;
box-shadow: 0 0 5px black;
} | <|file_sep|>original/src/css/alert.css
#note {
position: absolute;
z-index: 999999;
top: 0;
left: 0;
right: 0;
background: #fde073;
text-align: center;
line-height: 2.5;
overflow: hidden;
-webkit-box-shadow: 0 0 5px black;
-moz-box-shadow: 0 0 5px black;
box-shadow: ... | 7889162ecc35a1dfa434a306d71f270cfad0a42f | src/css/alert.css | src/css/alert.css | CSS |
<|file_sep|>tox.ini.diff
original:
deps = -r{toxinidir}/requirements.txt
updated:
deps = matplotlib
ipython
memory_profiler
psutil
pytest-cov
pytest
-r{toxinidir}/requirements.txt
<|file_sep|>original/tox.ini
envdir = .devenv27
basepython = python2.7
usedevelop = True
commands... | memory_profiler
psutil
pytest-cov
pytest
-r{toxinidir}/requirements.txt
[testenv:devenv34]
envdir = .devenv34
basepython = python3.4
usedevelop = True
commands =
deps = matplotlib
ipython
memory_profiler
psutil
pytest-cov
pytest
-r{toxinidir... | <|file_sep|>tox.ini.diff
original:
deps = -r{toxinidir}/requirements.txt
updated:
deps = matplotlib
ipython
memory_profiler
psutil
pytest-cov
pytest
-r{toxinidir}/requirements.txt
<|file_sep|>original/tox.ini
envdir = .devenv27
basepython = python2.7
usedevelop = True
commands... | da11a471f57c232c42927dbd8b6e60d1d908f931 | tox.ini | tox.ini | INI |
<|file_sep|>original/concourse/scripts/deb_create_package.bash
# Regex to capture required gporca version and download gporca source
ORCA_TAG=$(grep -Po 'v\d+.\d+.\d+' ${SRC_DIR}/depends/conanfile_orca.txt)
git clone --branch ${ORCA_TAG} https://github.com/greenplum-db/gporca.git ${SRC_DIR}/gporca
pushd ${SRC_DIR}
... |
# Regex to capture required gporca version and download gporca source
ORCA_TAG=$(grep -Po 'v\d+.\d+.\d+' ${SRC_DIR}/depends/conanfile_orca.txt)
git clone --branch ${ORCA_TAG} https://github.com/greenplum-db/gporca.git ${SRC_DIR}/gporca
pushd ${SRC_DIR}
VERSION=`./getversion | tr " " "."`-oss
SHA=`git rev-pars... | <|file_sep|>original/concourse/scripts/deb_create_package.bash
# Regex to capture required gporca version and download gporca source
ORCA_TAG=$(grep -Po 'v\d+.\d+.\d+' ${SRC_DIR}/depends/conanfile_orca.txt)
git clone --branch ${ORCA_TAG} https://github.com/greenplum-db/gporca.git ${SRC_DIR}/gporca
pushd ${SRC_DIR}
... | 49875077660275b32e86b428148de46485786139 | concourse/scripts/deb_create_package.bash | concourse/scripts/deb_create_package.bash | Shell |
<|file_sep|>original/requirements_dev.txt
pip==9.0.2
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.1
cryptography==2.2
PyYAML==3.12
pytest==3.4.2
pytz==2018.3
<|file_sep|>current/requirements_dev.txt
pip==9.0.2
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flak... | pip==9.0.2
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.2
cryptography==2.2
PyYAML==3.12
pytest==3.4.2
pytz==2018.3 | <|file_sep|>original/requirements_dev.txt
pip==9.0.2
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.1
cryptography==2.2
PyYAML==3.12
pytest==3.4.2
pytz==2018.3
<|file_sep|>current/requirements_dev.txt
pip==9.0.2
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flak... | fec2c78fcb0f79e2aefffb2f3dc0b9c86e3d54fd | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>Source/MQTTnet/Extensions/UserPropertyExtension.cs.diff
original:
return message?.UserProperties?.SingleOrDefault(up => up.Name.Equals(propertyName, comparisonType))?.Value;
updated:
if (message == null) throw new ArgumentNullException(nameof(message));
if (propertyName =... | public static string GetUserProperty(this MqttApplicationMessage message, string propertyName, StringComparison comparisonType = StringComparison.OrdinalIgnoreCase)
{
if (message == null) throw new ArgumentNullException(nameof(message));
if (propertyName == null) throw new Argume... | <|file_sep|>Source/MQTTnet/Extensions/UserPropertyExtension.cs.diff
original:
return message?.UserProperties?.SingleOrDefault(up => up.Name.Equals(propertyName, comparisonType))?.Value;
updated:
if (message == null) throw new ArgumentNullException(nameof(message));
if (propertyName =... | 763d9778bb66bf131960d9281d243d9a826219a5 | Source/MQTTnet/Extensions/UserPropertyExtension.cs | Source/MQTTnet/Extensions/UserPropertyExtension.cs | C# |
<|file_sep|>examples/helloworld/helloworld.sql.diff
original:
CREATE TABLE HELLOWORLD (
HELLO VARCHAR(15),
WORLD VARCHAR(15),
DIALECT VARCHAR(15) NOT NULL,
updated:
CREATE TABLE helloworld (
hello VARCHAR(15),
world VARCHAR(15),
dialect VARCHAR(15) NOT NULL,
<|file_sep|>original/examples/helloworld/he... | CREATE TABLE helloworld (
hello VARCHAR(15),
world VARCHAR(15),
dialect VARCHAR(15) NOT NULL,
PRIMARY KEY (DIALECT)
);
PARTITION TABLE HELLOWORLD ON COLUMN DIALECT;
CREATE PROCEDURE INSERT PARTITION ON TABLE helloworld COLUMN dialect
AS INSERT INTO helloworld (dialect, hello, world) VALUES (?, ?, ?);
CR... | <|file_sep|>examples/helloworld/helloworld.sql.diff
original:
CREATE TABLE HELLOWORLD (
HELLO VARCHAR(15),
WORLD VARCHAR(15),
DIALECT VARCHAR(15) NOT NULL,
updated:
CREATE TABLE helloworld (
hello VARCHAR(15),
world VARCHAR(15),
dialect VARCHAR(15) NOT NULL,
<|file_sep|>original/examples/helloworld/he... | 1c279febffb11f6edad6d0a4adfd425b0158f2cd | examples/helloworld/helloworld.sql | examples/helloworld/helloworld.sql | SQL |
<|file_sep|>original/package.json
"author": "W3C",
"repository": "https://github.com/w3c/node-w3capi.git",
"bugs": {
"url": "https://github.com/w3c/node-w3capi/issues"
},
"dependencies": {
"async": "3.2.0",
"superagent": "5.3.1"
},
"devDependencies": {
"browserify": "16.5.1",
"expect.j... | "author": "W3C",
"repository": "https://github.com/w3c/node-w3capi.git",
"bugs": {
"url": "https://github.com/w3c/node-w3capi/issues"
},
"dependencies": {
"async": "3.2.0",
"superagent": "5.3.1"
},
"devDependencies": {
"browserify": "16.5.2",
"expect.js": "0.3",
"mocha": "8.1.0"
... | <|file_sep|>original/package.json
"author": "W3C",
"repository": "https://github.com/w3c/node-w3capi.git",
"bugs": {
"url": "https://github.com/w3c/node-w3capi/issues"
},
"dependencies": {
"async": "3.2.0",
"superagent": "5.3.1"
},
"devDependencies": {
"browserify": "16.5.1",
"expect.j... | b91458092cbbd7c947d167308ec306a3d6955d93 | package.json | package.json | JSON |
<|file_sep|>original/app/assets/javascripts/tests.js
}
$('.sidebar__donate-cta__button').on('click', function(e){
if( typeof ga !== 'undefined' && ga.loaded ){
e.preventDefault();
var $link = $(this);
ga('send', {
hitType: 'event',
eventCategory: 'sidebar__dona... | }
$('.sidebar__donate-cta__button').on('click', function(e){
if( typeof ga !== 'undefined' && ga.loaded ){
e.preventDefault();
var $link = $(this);
ga('send', {
hitType: 'event',
eventCategory: 'sidebar__donate-cta',
eventAction: 'click',
ev... | <|file_sep|>original/app/assets/javascripts/tests.js
}
$('.sidebar__donate-cta__button').on('click', function(e){
if( typeof ga !== 'undefined' && ga.loaded ){
e.preventDefault();
var $link = $(this);
ga('send', {
hitType: 'event',
eventCategory: 'sidebar__dona... | f6aee1feb5f1cd4625fa565d08daaac3e797d9fe | app/assets/javascripts/tests.js | app/assets/javascripts/tests.js | JavaScript |
<|file_sep|>original/app/serializers/pipeline_serializer.rb
def with_pagination(request, response)
tap { @paginator = Gitlab::Serializer::Pagination.new(request, response) }
end
def paginated?
@paginator.present?
end
def represent(resource, opts = {})
if resource.is_a?(ActiveRecord::Relation)
... | def with_pagination(request, response)
tap { @paginator = Gitlab::Serializer::Pagination.new(request, response) }
end
def paginated?
@paginator.present?
end
def represent(resource, opts = {})
if resource.is_a?(ActiveRecord::Relation)
resource = resource.preload([
:retryable_builds,... | <|file_sep|>original/app/serializers/pipeline_serializer.rb
def with_pagination(request, response)
tap { @paginator = Gitlab::Serializer::Pagination.new(request, response) }
end
def paginated?
@paginator.present?
end
def represent(resource, opts = {})
if resource.is_a?(ActiveRecord::Relation)
... | 7547e86579a931c31f0b3dd1047e2519d5824fd5 | app/serializers/pipeline_serializer.rb | app/serializers/pipeline_serializer.rb | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
cache:
bundler: true
matrix:
fast_finish: true
include:
- rvm: 2.2.3
- rvm: 2.2.3
gemfile: gemfiles/opal_master.gemfile
script:
- "bundle exec rake"
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
cache:
bundler: true
m... | language: ruby
sudo: false
cache:
bundler: true
matrix:
fast_finish: true
include:
- rvm: 2.2.4
script:
- "bundle exec rake" | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
cache:
bundler: true
matrix:
fast_finish: true
include:
- rvm: 2.2.3
- rvm: 2.2.3
gemfile: gemfiles/opal_master.gemfile
script:
- "bundle exec rake"
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
cache:
bundler: true
m... | f5437fd8c39e435ae83a943f1d08475e465d0ade | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tox.ini
pandoc
sphinx
sphinx-rtd-theme
sphinxcontrib-napoleon
commands =
make -C docs html
whitelist_externals =
make
[testenv:flake8]
deps =
pytest
pytest-flake8
sqlalchemy
commands =
py.test --flake8
[tox:travis]
2.7 = py27
3.4 = py34
3.5 = py35, docs, fl... | sphinx
sphinx-rtd-theme
sphinxcontrib-napoleon
commands =
make -C docs html
whitelist_externals =
make
[testenv:flake8]
deps =
pytest
pytest-flake8
sqlalchemy
statsmodels
commands =
py.test --flake8
[tox:travis]
2.7 = py27
3.4 = py34
3.5 = py35, docs, flake8 | <|file_sep|>original/tox.ini
pandoc
sphinx
sphinx-rtd-theme
sphinxcontrib-napoleon
commands =
make -C docs html
whitelist_externals =
make
[testenv:flake8]
deps =
pytest
pytest-flake8
sqlalchemy
commands =
py.test --flake8
[tox:travis]
2.7 = py27
3.4 = py34
3.5 = py35, docs, fl... | a40ab7ab1c1dd6dc7ff3473092b0689339f31e5a | tox.ini | tox.ini | INI |
<|file_sep|>README.md.diff
original:
updated:
Work in progress. Most of the things below are not yet implemented.
## Options
- `--port`: Specify a server port
- `--config`: Use a configuration file
## Goals
### Easy usage
No configuration needed.
- Provide a hot-reloading enabled development server without the ... | - Allow extension of default webpack config
- Allow use of a completely separate webpack config
- Allow easy replacement through webpack itself
## Nice-to-have
- Always route all routes to the app, to enable HTML5 pushState routing
## Global install (good for quick no-config experiments)
npm install packup -g
... | <|file_sep|>README.md.diff
original:
updated:
Work in progress. Most of the things below are not yet implemented.
## Options
- `--port`: Specify a server port
- `--config`: Use a configuration file
## Goals
### Easy usage
No configuration needed.
- Provide a hot-reloading enabled development server without the ... | 441f26704dd31c9393cca9b27b00dd7a3f83423e | README.md | README.md | Markdown |
<|file_sep|>original/app/models/poll/shift.rb
validates :date, uniqueness: { scope: [:officer_id, :booth_id] }
before_create :persist_data
after_create :create_officer_assignments
def create_officer_assignments
booth.booth_assignments.each do |booth_assignment|
attrs = { officer_id: ... | validates :date, uniqueness: { scope: [:officer_id, :booth_id] }
before_create :persist_data
after_create :create_officer_assignments
def create_officer_assignments
booth.booth_assignments.each do |booth_assignment|
attrs = { officer_id: officer_id,
date: ... | <|file_sep|>original/app/models/poll/shift.rb
validates :date, uniqueness: { scope: [:officer_id, :booth_id] }
before_create :persist_data
after_create :create_officer_assignments
def create_officer_assignments
booth.booth_assignments.each do |booth_assignment|
attrs = { officer_id: ... | d9575baaab1d371b34742d18bc9205cda8255f7a | app/models/poll/shift.rb | app/models/poll/shift.rb | Ruby |
<|file_sep|>original/src/index.js
* @license MIT
*/
// requires
var Client = require('./classes/Client');
/**
* Creates a new client at the specified host, if none
* is provided the client will use the local domain socket.
* @param {string?} host
* @param {object?} authentication
* @param {string?} authenticat... | */
// requires
var Client = require('./classes/Client');
/**
* Creates a new client at the specified host, if none
* is provided the client will use the local domain socket.
* @param {string?} host
* @param {object?} authentication
* @param {string?} authentication.cert
* @param {string?} authentication.key
*... | <|file_sep|>original/src/index.js
* @license MIT
*/
// requires
var Client = require('./classes/Client');
/**
* Creates a new client at the specified host, if none
* is provided the client will use the local domain socket.
* @param {string?} host
* @param {object?} authentication
* @param {string?} authenticat... | 3ca2c46fef9c7b2339ca8df5e64044736f166ed0 | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/package.json
{
"name": "lastfm-now",
"version": "1.0.2",
"description": "A now listening display for Last.fm.",
"author": "Jason Puglisi <jason@puglisi.im>",
"scripts": {
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "https://github.com/JasonPuglisi/la... | {
"name": "lastfm-now",
"version": "1.0.2",
"description": "A now listening display for Last.fm.",
"author": "Jason Puglisi <jason@puglisi.im>",
"scripts": {
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "https://github.com/JasonPuglisi/lastfm-now.git"
},
"bugs": {
... | <|file_sep|>original/package.json
{
"name": "lastfm-now",
"version": "1.0.2",
"description": "A now listening display for Last.fm.",
"author": "Jason Puglisi <jason@puglisi.im>",
"scripts": {
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "https://github.com/JasonPuglisi/la... | f3c9225fefc4037b46efe5299e6849c1edea1317 | package.json | package.json | JSON |
<|file_sep|>.travis.yml.diff
original:
before_install:
- apt-get install libfontconfig-dev
updated:
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "6.1.0"
env:
- CXX=g++-4.8
before_install:
- apt-get install libfontconfig-dev
install:
- npm i -g yarn
- yarn instal... | sudo: false
language: node_js
node_js:
- "6.1.0"
env:
- CXX=g++-4.8
install:
- npm i -g yarn
- yarn install
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- libfontconfig-dev | <|file_sep|>.travis.yml.diff
original:
before_install:
- apt-get install libfontconfig-dev
updated:
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "6.1.0"
env:
- CXX=g++-4.8
before_install:
- apt-get install libfontconfig-dev
install:
- npm i -g yarn
- yarn instal... | 0f6e674aa0b85412f07a13a4a94884827794623a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/base.php
<?php
use Roots\Sage\Setup;
use Roots\Sage\Wrapper;
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<?php get_template_part('templates/head'); ?>
<body <?php body_class(); ?>>
<!--[if IE]>
<div class="alert alert-warning">
<?php _e('You are using an <stro... | <?php
use Roots\Sage\Setup;
use Roots\Sage\Wrapper;
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<?php get_template_part('templates/head'); ?>
<body <?php body_class('has-drawer'); ?>>
<!--[if IE]>
<div class="alert alert-warning">
<?php _e('You are using an <strong>outdated</stron... | <|file_sep|>original/base.php
<?php
use Roots\Sage\Setup;
use Roots\Sage\Wrapper;
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<?php get_template_part('templates/head'); ?>
<body <?php body_class(); ?>>
<!--[if IE]>
<div class="alert alert-warning">
<?php _e('You are using an <stro... | 3c72f6ae2b7d1a147753df737fe1ba525882e04c | base.php | base.php | PHP |
<|file_sep|>original/setup.cfg
[aliases]
# A handy alias to make a release to pypi
release = egg_info -RDb "" sdist bdist_egg register upload
# A handy alias to run tests with a covergae report
cover = nosetests --with-coverage
[egg_info]
#tag_build = dev
#tag_svn_revision = true
[nosetests]
exclude=who_testutil|kaji... | [aliases]
# A handy alias to make a release to pypi
release = egg_info -RDb "" sdist bdist_egg register upload
# A handy alias to install for development
tgdevelop = develop -i http://www.turbogears.org/2.1/downloads/development/index/
# Another alias to install the next branch for development
tgnext = develop -i http... | <|file_sep|>original/setup.cfg
[aliases]
# A handy alias to make a release to pypi
release = egg_info -RDb "" sdist bdist_egg register upload
# A handy alias to run tests with a covergae report
cover = nosetests --with-coverage
[egg_info]
#tag_build = dev
#tag_svn_revision = true
[nosetests]
exclude=who_testutil|kaji... | 144cee2f97e7fd4bfaf4916054b307d9b1373b4a | setup.cfg | setup.cfg | INI |
<|file_sep|>original/styles/application.scss
html, body {
box-sizing: border-box;
font-family: Ubuntu;
font-size: 11pt;
}
@import "palette";
@import "_/*.scss";
@import "atoms/*.scss";
@import "molecules/*.scss";
@import "organisms/*.scss";
@import "pages/*.scss";
@import "sheet/*.scss";
<|file_sep|>current/styl... | html, body {
box-sizing: border-box;
font-family: Ubuntu;
font-size: 11pt;
margin: 0;
padding: 0;
}
@import "palette";
@import "_/*.scss";
@import "atoms/*.scss";
@import "molecules/*.scss";
@import "organisms/*.scss";
@import "pages/*.scss";
@import "sheet/*.scss"; | <|file_sep|>original/styles/application.scss
html, body {
box-sizing: border-box;
font-family: Ubuntu;
font-size: 11pt;
}
@import "palette";
@import "_/*.scss";
@import "atoms/*.scss";
@import "molecules/*.scss";
@import "organisms/*.scss";
@import "pages/*.scss";
@import "sheet/*.scss";
<|file_sep|>current/styl... | 1c6bf60f616ed1093286fe1ef53468bbb5e1d9f5 | styles/application.scss | styles/application.scss | SCSS |
<|file_sep|>src/Libraries/NavigationExperimental/NavigationCard.js.diff
original:
updated:
import React from 'react';
<|file_sep|>original/src/Libraries/NavigationExperimental/NavigationCard.js
class CardStackPanResponder {
}
class PagerPanResponder {
}
const NavigationCard = (props) => null;
NavigationCard.CardSt... | import React from 'react';
class CardStackPanResponder {
}
class PagerPanResponder {
}
class NavigationCard extends React.Component {
static CardStackPanResponder = CardStackPanResponder;
static CardStackStyleInterpolator = {
forHorizontal: () => ({}),
forVertical: () => ({}),
};
static PagerPanRespo... | <|file_sep|>src/Libraries/NavigationExperimental/NavigationCard.js.diff
original:
updated:
import React from 'react';
<|file_sep|>original/src/Libraries/NavigationExperimental/NavigationCard.js
class CardStackPanResponder {
}
class PagerPanResponder {
}
const NavigationCard = (props) => null;
NavigationCard.CardSt... | ab1d0f5dad1cf41b793aeb0c7952812bdb0468b7 | src/Libraries/NavigationExperimental/NavigationCard.js | src/Libraries/NavigationExperimental/NavigationCard.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.