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/.travis.yml
language: python
python:
- "3.4"
- "2.7"
install:
# Install conda
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes... | sudo: false
language: python
python:
- "3.4"
- "2.7"
install:
# Install conda
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes --set changeps1... | <|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
- "2.7"
install:
# Install conda
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes... | c619a4cd455cc6e534f275c69a50cf6503ecabd8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/buildout.cfg
--cover-package=app_namespace
--cover-erase
--with-sfd
environment = testenv
[flake8]
recipe = zc.recipe.egg
eggs = flake8
[coveralls]
recipe ... | --cover-package=app_namespace
--cover-erase
--with-sfd
environment = testenv
[flake8]
recipe = zc.recipe.egg
eggs = flake8
[coveralls]
recipe = zc.recipe.egg
eggs ... | <|file_sep|>original/buildout.cfg
--cover-package=app_namespace
--cover-erase
--with-sfd
environment = testenv
[flake8]
recipe = zc.recipe.egg
eggs = flake8
[coveralls]
recipe ... | 1ff64bb1816ce7d9b8cf232c14626d4673f3ecb5 | buildout.cfg | buildout.cfg | INI |
<|file_sep|>original/requirements/test.txt
pytest<4
pytest-mock==1.6.3
pytest-cov==2.5.1
tox<3
# coverage
codacy-coverage==1.3.10
codecov==2.0.13
coverage==4.4.2
coveralls==1.2.0
# linters
bandit==1.4.0
flake8==3.5.0
flake8-colors==0.1.6
flake8-deprecated==1.3
flake8-import-order==0.16
flake8-mutable==1.2.0
flake8-pr... | pytest<4
pytest-mock==1.6.3
pytest-cov==2.5.1
tox<3
# coverage
codacy-coverage==1.3.10
codecov==2.0.14
coverage==4.4.2
coveralls==1.2.0
# linters
bandit==1.4.0
flake8==3.5.0
flake8-colors==0.1.6
flake8-deprecated==1.3
flake8-import-order==0.16
flake8-mutable==1.2.0
flake8-print==3.0.1
pep8-naming==0.5.0 | <|file_sep|>original/requirements/test.txt
pytest<4
pytest-mock==1.6.3
pytest-cov==2.5.1
tox<3
# coverage
codacy-coverage==1.3.10
codecov==2.0.13
coverage==4.4.2
coveralls==1.2.0
# linters
bandit==1.4.0
flake8==3.5.0
flake8-colors==0.1.6
flake8-deprecated==1.3
flake8-import-order==0.16
flake8-mutable==1.2.0
flake8-pr... | 013310812956237adfccdf4eb697c7cff96e56b5 | requirements/test.txt | requirements/test.txt | Text |
<|file_sep|>package.json.diff
original:
"lint": "jslint *.js **/*.js"
updated:
"lint": "jslint *.js **/*.js",
"test:watch": "npm test -s; onchange '*.js' '**/*.js' -- npm test -s",
"lint:watch": "npm run lint -s; onchange '*.js' '**/*.js' -- npm run lint -s"
<|file_sep|>original/package.json
{
"name":... | {
"name": "jsend",
"version": "0.0.0",
"description": "jSend middleware for express",
"main": "index.js",
"scripts": {
"test": "jasmine",
"lint": "jslint *.js **/*.js",
"test:watch": "npm test -s; onchange '*.js' '**/*.js' -- npm test -s",
"lint:watch": "npm run lint -s; onchange '*.js' '**/*.... | <|file_sep|>package.json.diff
original:
"lint": "jslint *.js **/*.js"
updated:
"lint": "jslint *.js **/*.js",
"test:watch": "npm test -s; onchange '*.js' '**/*.js' -- npm test -s",
"lint:watch": "npm run lint -s; onchange '*.js' '**/*.js' -- npm run lint -s"
<|file_sep|>original/package.json
{
"name":... | 4ecfbd118091e2bc7036fefda91eefaa226c7d1b | package.json | package.json | JSON |
<|file_sep|>original/net/data/valgrind/net_unittests.gtest_mac.txt
# Very slow under Valgrind, (see <http://crbug.com/37289>).
KeygenHandlerTest.FLAKY_SmokeTest
<|file_sep|>current/net/data/valgrind/net_unittests.gtest_mac.txt
# Very slow under Valgrind, (see <http://crbug.com/37289>).
KeygenHandlerTest.FLAKY_SmokeTest... | # Very slow under Valgrind, (see <http://crbug.com/37289>).
KeygenHandlerTest.SmokeTest | <|file_sep|>original/net/data/valgrind/net_unittests.gtest_mac.txt
# Very slow under Valgrind, (see <http://crbug.com/37289>).
KeygenHandlerTest.FLAKY_SmokeTest
<|file_sep|>current/net/data/valgrind/net_unittests.gtest_mac.txt
# Very slow under Valgrind, (see <http://crbug.com/37289>).
KeygenHandlerTest.FLAKY_SmokeTest... | 60cdd1764949609511e0ce68c6debc09dd5df3ce | net/data/valgrind/net_unittests.gtest_mac.txt | net/data/valgrind/net_unittests.gtest_mac.txt | Text |
<|file_sep|>reboot_router_claro3G.py.diff
original:
# URL with GET to reboot router
url_get_reboot = 'http://10.11.12.254/log/in?un=admin&pw=admin12&rd=%2Fuir%2Frebo.htm?rc=&Nrd=0&Nsm=1'
updated:
# URL with GET to reboot router or status main page to tests
#url_get_reboot = 'http://10.11.12.254/log/in?un=admin&pw=admi... | import urllib2 as http
# URL with GET to reboot router or status main page to tests
#url_get_reboot = 'http://10.11.12.254/log/in?un=admin&pw=admin12&rd=%2Fuir%2Frebo.htm?rc=&Nrd=0&Nsm=1'
url_get_status = 'http://10.11.12.254/log/in?un=admin&pw=admin12&rd=%2Fuir%2Fstatus.htm&rd2=%2Fuir%2Fwanst.htm&Nrd=1'
url_root = ur... | <|file_sep|>reboot_router_claro3G.py.diff
original:
# URL with GET to reboot router
url_get_reboot = 'http://10.11.12.254/log/in?un=admin&pw=admin12&rd=%2Fuir%2Frebo.htm?rc=&Nrd=0&Nsm=1'
updated:
# URL with GET to reboot router or status main page to tests
#url_get_reboot = 'http://10.11.12.254/log/in?un=admin&pw=admi... | 0c7c19a9edffea9474b0aa6379bafef283425483 | reboot_router_claro3G.py | reboot_router_claro3G.py | Python |
<|file_sep|>original/app/presenters/tree_builder_storage_adapters.rb
class TreeBuilderStorageAdapters < TreeBuilder
has_kids_for GuestDevice, [:x_get_tree_guest_device_kids]
has_kids_for MiqScsiTarget, [:x_get_tree_target_kids]
def initialize(name, sandbox, build = true, **params)
sandbox[:sa_root] = params[... | class TreeBuilderStorageAdapters < TreeBuilder
has_kids_for GuestDevice, [:x_get_tree_guest_device_kids]
has_kids_for MiqScsiTarget, [:x_get_tree_target_kids]
def initialize(name, sandbox, build = true, **params)
@root = params[:root]
super(name, sandbox, build)
end
private
def tree_init_options
... | <|file_sep|>original/app/presenters/tree_builder_storage_adapters.rb
class TreeBuilderStorageAdapters < TreeBuilder
has_kids_for GuestDevice, [:x_get_tree_guest_device_kids]
has_kids_for MiqScsiTarget, [:x_get_tree_target_kids]
def initialize(name, sandbox, build = true, **params)
sandbox[:sa_root] = params[... | 2506c6cd2cd8ec9ed2fde4628915e840e4d1cf09 | app/presenters/tree_builder_storage_adapters.rb | app/presenters/tree_builder_storage_adapters.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
- 1.9.3
updated:
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- ruby-head
- 2.1
- 2.0.0
- 1.9.3
- jruby-head
- jruby
- rbx-2
matrix:
allow_failures:
- rvm: rbx-2
- rvm: jruby-head
before_install: gem install bundler
script:
- bundle exec rake
... | language: ruby
rvm:
- ruby-head
- 2.1
- 2.0.0
- jruby-head
- rbx-2
matrix:
allow_failures:
- rvm: rbx-2
- rvm: jruby-head
before_install: gem install bundler
script:
- bundle exec rake
- cd spec/integration/rails && ./test-against-several-rails-versions.sh | <|file_sep|>.travis.yml.diff
original:
- 1.9.3
updated:
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- ruby-head
- 2.1
- 2.0.0
- 1.9.3
- jruby-head
- jruby
- rbx-2
matrix:
allow_failures:
- rvm: rbx-2
- rvm: jruby-head
before_install: gem install bundler
script:
- bundle exec rake
... | 4455496a0de5747104124721ca920fb59ae3a784 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/metadata.yaml
# Description
description: Deploy Elasticsearch server and the Kibana web interface (refer to the Elasticsearch-Kibana user guide for instructions).
# Required fuel version
fuel_version: ['6.1']
# Licences
licenses: ['Apache License Version 2.0']
# Specify author or company name
autho... | # Description
description: Deploy Elasticsearch server and the Kibana web interface (refer to the Elasticsearch-Kibana user guide for instructions).
# Required fuel version
fuel_version: ['6.1']
# Licences
licenses: ['Apache License Version 2.0']
# Specify author or company name
authors: ['Mirantis Inc.']
# A link to t... | <|file_sep|>original/metadata.yaml
# Description
description: Deploy Elasticsearch server and the Kibana web interface (refer to the Elasticsearch-Kibana user guide for instructions).
# Required fuel version
fuel_version: ['6.1']
# Licences
licenses: ['Apache License Version 2.0']
# Specify author or company name
autho... | 328ee37a68490092cfbf88030c8e6c42267e9d5f | metadata.yaml | metadata.yaml | YAML |
<|file_sep|>Titan/Logging/LogCreator.cs.diff
original:
public static DirectoryInfo LogDirectory = new DirectoryInfo(Environment.CurrentDirectory +
updated:
private static DirectoryInfo _logDir = new DirectoryInfo(Environment.CurrentDirectory +
<|file_sep|>original/Titan/Logging/LogCreator.cs
{
... | {
private static DirectoryInfo _logDir = new DirectoryInfo(Environment.CurrentDirectory +
Path.DirectorySeparatorChar + "logs");
public static Logger Create(string name)
{
return new LoggerConfiguration()
... | <|file_sep|>Titan/Logging/LogCreator.cs.diff
original:
public static DirectoryInfo LogDirectory = new DirectoryInfo(Environment.CurrentDirectory +
updated:
private static DirectoryInfo _logDir = new DirectoryInfo(Environment.CurrentDirectory +
<|file_sep|>original/Titan/Logging/LogCreator.cs
{
... | cfe44c640de8f732fd9a7a0573e42e9f2036d266 | Titan/Logging/LogCreator.cs | Titan/Logging/LogCreator.cs | C# |
<|file_sep|>original/src/PagedList.Tests/SplitAndPartitionFacts.cs
var list = Enumerable.Range(1, 9999);
//act
var splitList = list.Partition(1000);
//assert
Assert.Equal(10, splitList.Count());
Assert.Equal(1000, splitList.First().Count());
Assert.Equal(999, splitList.Last().Count());
}
[Fa... | var list = Enumerable.Range(1, 9999);
//act
var splitList = list.Partition(1000);
//assert
Assert.Equal(10, splitList.Count());
Assert.Equal(1000, splitList.First().Count());
Assert.Equal(999, splitList.Last().Count());
}
[Fact]
public void Paritiion_Returns_Enumerable_With_One_Item_When... | <|file_sep|>original/src/PagedList.Tests/SplitAndPartitionFacts.cs
var list = Enumerable.Range(1, 9999);
//act
var splitList = list.Partition(1000);
//assert
Assert.Equal(10, splitList.Count());
Assert.Equal(1000, splitList.First().Count());
Assert.Equal(999, splitList.Last().Count());
}
[Fa... | 90d6445914b1217a1a7875392837880060c3f8f9 | src/PagedList.Tests/SplitAndPartitionFacts.cs | src/PagedList.Tests/SplitAndPartitionFacts.cs | C# |
<|file_sep|>original/.travis.yml
language: ruby
bundler_args: ""
rvm:
- 2.0.0
- 2.1.5
- 2.2.2
- 2.4
- 2.5
- 2.6
- ruby-head
sudo: false
cache: bundler
branches:
only: [master]
before_script:
- mysql -u root -e 'DROP DATABASE IF EXISTS arsi_test'
- mysql -u root -e 'CREATE DATABASE arsi_test CHARACT... | language: ruby
bundler_args: ""
services:
- mysql
rvm:
- 2.0.0
- 2.1.5
- 2.2.2
- 2.4
- 2.5
- 2.6
- ruby-head
sudo: false
cache: bundler
branches:
only: [master]
before_script:
- mysql -u root -e 'DROP DATABASE IF EXISTS arsi_test'
- mysql -u root -e 'CREATE DATABASE arsi_test CHARACTER SET utf8'
| <|file_sep|>original/.travis.yml
language: ruby
bundler_args: ""
rvm:
- 2.0.0
- 2.1.5
- 2.2.2
- 2.4
- 2.5
- 2.6
- ruby-head
sudo: false
cache: bundler
branches:
only: [master]
before_script:
- mysql -u root -e 'DROP DATABASE IF EXISTS arsi_test'
- mysql -u root -e 'CREATE DATABASE arsi_test CHARACT... | 434081b6cab79f9239cb6d209622e840c417802c | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/src/objects/Game.dart.diff
original:
class Game extends _BaseObj {
updated:
class Game {
<|file_sep|>lib/src/objects/Game.dart.diff
original:
Game._new(Client client, Map<String, dynamic> data) : super(client) {
this.name = data['name'];
this.url = data['url'];
updated:
/// Makes a new game ... | }
if (data['type'] is int) {
this.type = data['type'];
} else if (data['type'] is String) {
try {
this.type = int.parse(data['type']);
} catch (err) {
this.type = null;
}
}
}
Map<String, dynamic> _toMap() {
Map<String, dynamic> map = new Map<String, ... | <|file_sep|>lib/src/objects/Game.dart.diff
original:
class Game extends _BaseObj {
updated:
class Game {
<|file_sep|>lib/src/objects/Game.dart.diff
original:
Game._new(Client client, Map<String, dynamic> data) : super(client) {
this.name = data['name'];
this.url = data['url'];
updated:
/// Makes a new game ... | d7856d19620b8c525e2f6d3425287cfda17caf55 | lib/src/objects/Game.dart | lib/src/objects/Game.dart | Dart |
<|file_sep|>original/src/main/java/net/jgp/labs/spark/l300_reduce/l000/ReducerApp.java
<|file_sep|>current/src/main/java/net/jgp/labs/spark/l300_reduce/l000/ReducerApp.java
<|file_sep|>updated/src/main/java/net/jgp/labs/spark/l300_reduce/l000/ReducerApp.java | package net.jgp.labs.spark.l300_reduce.l000;
import java.io.Serializable;
import java.util.Arrays;
import java.util.List;
import org.apache.spark.api.java.function.ReduceFunction;
import org.apache.spark.sql.Dataset;
import org.apache.spark.sql.Encoders;
import org.apache.spark.sql.SparkSession;
public class Reducer... | <|file_sep|>original/src/main/java/net/jgp/labs/spark/l300_reduce/l000/ReducerApp.java
<|file_sep|>current/src/main/java/net/jgp/labs/spark/l300_reduce/l000/ReducerApp.java
<|file_sep|>updated/src/main/java/net/jgp/labs/spark/l300_reduce/l000/ReducerApp.java
package net.jgp.labs.spark.l300_reduce.l000;
import java.i... | 181ffd3fe7f0397b3f99d93a048eb83fc3ad5457 | src/main/java/net/jgp/labs/spark/l300_reduce/l000/ReducerApp.java | src/main/java/net/jgp/labs/spark/l300_reduce/l000/ReducerApp.java | Java |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.5.1
certifi==2016.9.26
click==6.6
Flask==0.12
future==0.16.0
itsdangerous==0.24
Jinja2==2.8.1
MarkupSafe==0.23
python-telegram-bot==5.3.0
PyYAML==3.12
requests==2.12.4
urllib3==1.19.1
Werkzeug==0.11.15
<|file_sep|>current/requirements.txt
beautifulsoup4==4.5.1
cer... | beautifulsoup4==4.5.1
certifi==2016.9.26
click==6.7
Flask==0.12
future==0.16.0
itsdangerous==0.24
Jinja2==2.8.1
MarkupSafe==0.23
python-telegram-bot==5.3.0
PyYAML==3.12
requests==2.12.4
urllib3==1.19.1
Werkzeug==0.11.15 | <|file_sep|>original/requirements.txt
beautifulsoup4==4.5.1
certifi==2016.9.26
click==6.6
Flask==0.12
future==0.16.0
itsdangerous==0.24
Jinja2==2.8.1
MarkupSafe==0.23
python-telegram-bot==5.3.0
PyYAML==3.12
requests==2.12.4
urllib3==1.19.1
Werkzeug==0.11.15
<|file_sep|>current/requirements.txt
beautifulsoup4==4.5.1
cer... | ee3af5932a2b70eaa1b38a4757df8676e9827a6e | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/models/manageiq/providers/amazon/inventory/persister.rb
class ManageIQ::Providers::Amazon::Inventory::Persister < ManagerRefresh::Inventory::Persister
require_nested :CloudManager
require_nested :NetworkManager
require_nested :TargetCollection
# TODO(lsmola) figure out a way to pass co... | class ManageIQ::Providers::Amazon::Inventory::Persister < ManagerRefresh::Inventory::Persister
require_nested :CloudManager
require_nested :NetworkManager
require_nested :TargetCollection
# TODO(lsmola) figure out a way to pass collector info, probably via target, then remove the below
attr_reader :collector... | <|file_sep|>original/app/models/manageiq/providers/amazon/inventory/persister.rb
class ManageIQ::Providers::Amazon::Inventory::Persister < ManagerRefresh::Inventory::Persister
require_nested :CloudManager
require_nested :NetworkManager
require_nested :TargetCollection
# TODO(lsmola) figure out a way to pass co... | 95098e081569eb630b799bc53b819d94024cff35 | app/models/manageiq/providers/amazon/inventory/persister.rb | app/models/manageiq/providers/amazon/inventory/persister.rb | Ruby |
<|file_sep|>original/install_dependencies.sh
<|file_sep|>current/install_dependencies.sh
<|file_sep|>updated/install_dependencies.sh | #!/bin/bash
# Fail script if any command fails.
set -e
# Check that script is run as root with sudo.
if [ "$(id -u)" != "0" ]; then
echo "Must be run as root with sudo! Try:"
echo "sudo ./install_dependencies"
exit 1
fi
# Warn that OS will be upgraded to testing packages.
echo "WARNING: Your operating system wi... | <|file_sep|>original/install_dependencies.sh
<|file_sep|>current/install_dependencies.sh
<|file_sep|>updated/install_dependencies.sh
#!/bin/bash
# Fail script if any command fails.
set -e
# Check that script is run as root with sudo.
if [ "$(id -u)" != "0" ]; then
echo "Must be run as root with sudo! Try:"
echo ... | 14dfed11aa3d4e68d81b346afdf04130e5e54c3e | install_dependencies.sh | install_dependencies.sh | Shell |
<|file_sep|>original/lib/control/v1/kms.js
/**
* Route handler for KMS secrets
* @returns {function}
*/
function KMS() {
return (req, res, next) => {
(new KMSProvider(req.body)).initialize().then((result) => {
// I don't know how we'd get a falsy `result` but we need a method for handling it
if (!... |
/**
* Route handler for KMS secrets
* @returns {function}
*/
function KMS() {
return (req, res, next) => {
(new KMSProvider(req.body)).initialize().then((result) => {
// I don't know how we'd get a falsy `result` but we need a method for handling it
if (!result) {
return res.json(result);
... | <|file_sep|>original/lib/control/v1/kms.js
/**
* Route handler for KMS secrets
* @returns {function}
*/
function KMS() {
return (req, res, next) => {
(new KMSProvider(req.body)).initialize().then((result) => {
// I don't know how we'd get a falsy `result` but we need a method for handling it
if (!... | ff6a1d88d17e1db4754ab4c4c5f0ba13f89fffd8 | lib/control/v1/kms.js | lib/control/v1/kms.js | JavaScript |
<|file_sep|>gulpfile.js.diff
original:
const pkg = require('./package.json')
updated:
const rename = require("gulp-rename");
const pkg = require('./package.json');
<|file_sep|>original/gulpfile.js
const gulp = require('gulp');
const browserify = require('gulp-browserify');
const pkg = require('./package.json')
gulp.ta... | const gulp = require('gulp');
const browserify = require('gulp-browserify');
const rename = require("gulp-rename");
const pkg = require('./package.json');
gulp.task('build', () =>
gulp.src(pkg.main)
.pipe(browserify({
insertGlobals: true,
debug: !gulp.env.production
}))
.pipe(rename(function(path) {
... | <|file_sep|>gulpfile.js.diff
original:
const pkg = require('./package.json')
updated:
const rename = require("gulp-rename");
const pkg = require('./package.json');
<|file_sep|>original/gulpfile.js
const gulp = require('gulp');
const browserify = require('gulp-browserify');
const pkg = require('./package.json')
gulp.ta... | 7baa60230492c34ca9b1bb881731e0f6b5827d25 | gulpfile.js | gulpfile.js | JavaScript |
<|file_sep|>original/ruby_event_store/lib/ruby_event_store/correlated_commands.rb
def initialize(event_store, command_bus)
@event_store = event_store
@command_bus = command_bus
end
class MiniEvent < Struct.new(:correlation_id, :message_id)
end
def call(command)
if (correlation_i... |
def initialize(event_store, command_bus)
@event_store = event_store
@command_bus = command_bus
end
class MiniEvent < Struct.new(:correlation_id, :message_id)
end
def call(command)
correlation_id = event_store.metadata[:correlation_id]
causation_id = event_store.metadata[... | <|file_sep|>original/ruby_event_store/lib/ruby_event_store/correlated_commands.rb
def initialize(event_store, command_bus)
@event_store = event_store
@command_bus = command_bus
end
class MiniEvent < Struct.new(:correlation_id, :message_id)
end
def call(command)
if (correlation_i... | 2239365935467af3cb824f0ce4faf36e1cba637a | ruby_event_store/lib/ruby_event_store/correlated_commands.rb | ruby_event_store/lib/ruby_event_store/correlated_commands.rb | Ruby |
<|file_sep|>original/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/geneproduct/transformer/GeneProductTypeInjector.java
<|file_sep|>current/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/geneproduct/transformer/GeneProductTypeInjector.java
<|file_sep|>updat... | package uk.ac.ebi.quickgo.annotation.service.comm.rest.geneproduct.transformer;
import uk.ac.ebi.quickgo.annotation.model.Annotation;
import uk.ac.ebi.quickgo.annotation.service.comm.rest.geneproduct.model.BasicGeneProduct;
import uk.ac.ebi.quickgo.rest.search.request.FilterRequest;
import uk.ac.ebi.quickgo.rest.searc... | <|file_sep|>original/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/geneproduct/transformer/GeneProductTypeInjector.java
<|file_sep|>current/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/geneproduct/transformer/GeneProductTypeInjector.java
<|file_sep|>updat... | d8a932a79d9c387b48e22724baa469c2893cc6ae | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/geneproduct/transformer/GeneProductTypeInjector.java | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/comm/rest/geneproduct/transformer/GeneProductTypeInjector.java | Java |
<|file_sep|>original/clubs/migrations/0035_add_public_health_college.py
<|file_sep|>current/clubs/migrations/0035_add_public_health_college.py
<|file_sep|>updated/clubs/migrations/0035_add_public_health_college.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
def add_college(apps, schema_editor):
Club = apps.get_model('clubs', 'Club')
College = apps.get_model('clubs', 'College')
StudentClubYear = apps.get_model('core', 'StudentClubYear')
year_2015_2016 ... | <|file_sep|>original/clubs/migrations/0035_add_public_health_college.py
<|file_sep|>current/clubs/migrations/0035_add_public_health_college.py
<|file_sep|>updated/clubs/migrations/0035_add_public_health_college.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migration... | 06cd9e8e5006d68d7656b7f147442e54aaf9d7a1 | clubs/migrations/0035_add_public_health_college.py | clubs/migrations/0035_add_public_health_college.py | Python |
<|file_sep|>package.json.diff
original:
"babel-core": "^6.3.26",
updated:
"babel-cli": "^6.4.5",
"babel-core": "^6.4.5",
<|file_sep|>original/package.json
"license": "MIT",
"main": "lib/index.js",
"scripts": {
"test": "istanbul test _mocha",
"prebuild": "rm -rf lib/",
"build": "babel src -... | "main": "lib/index.js",
"scripts": {
"test": "istanbul test _mocha",
"prebuild": "rm -rf lib/",
"build": "babel src --out-dir lib",
"prepublish": "npm run build"
},
"keywords": [
"assign",
"babel",
"babel-plugin"
],
"devDependencies": {
"babel-cli": "^6.4.5",
"babel-core"... | <|file_sep|>package.json.diff
original:
"babel-core": "^6.3.26",
updated:
"babel-cli": "^6.4.5",
"babel-core": "^6.4.5",
<|file_sep|>original/package.json
"license": "MIT",
"main": "lib/index.js",
"scripts": {
"test": "istanbul test _mocha",
"prebuild": "rm -rf lib/",
"build": "babel src -... | 66e6714799b98791f3d8d7f13b6bca240951b602 | package.json | package.json | JSON |
<|file_sep|>original/pymt/__init__.py
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
<|file_sep|>current/pymt/__init__.py
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
<|file_sep|>updated/pymt/__init__.py | from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
# See https://github.com/numpy/numpy/blob/master/doc/release/1.14.0-notes.rst#many-changes-to-array-printing-disableable-with-the-new-legacy-printing-mode
import numpy as np
np.set_printoptions(legacy='1.13') | <|file_sep|>original/pymt/__init__.py
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
<|file_sep|>current/pymt/__init__.py
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
<|file_sep|>updated/pymt/__init__.py
from ._version import ge... | e26e3572a81e7ea3fd9ac4b3fd7f7739aa6c5779 | pymt/__init__.py | pymt/__init__.py | Python |
<|file_sep|>original/requirements_test.txt
click==6.7
Sphinx==1.6.2
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.1
pytest==3.1.2
pytest-cov==2.5.1
pytest-runner==2.11.1
<|file_sep|>current/requirements_test.txt
click==6.7
Sphinx==1.6.2
sphinx-rtd-theme==0.2.4
jin... | click==6.7
Sphinx==1.6.3
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.1
pytest==3.1.2
pytest-cov==2.5.1
pytest-runner==2.11.1 | <|file_sep|>original/requirements_test.txt
click==6.7
Sphinx==1.6.2
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.1
pytest==3.1.2
pytest-cov==2.5.1
pytest-runner==2.11.1
<|file_sep|>current/requirements_test.txt
click==6.7
Sphinx==1.6.2
sphinx-rtd-theme==0.2.4
jin... | cebf44b6707de40a2960dfe0d5fbf0c6a0154094 | requirements_test.txt | requirements_test.txt | Text |
<|file_sep|>original/_includes/footer.html
<footer class="clearfix">
<p>{{ site.title }}</p>
<p class="right">Copyleft ࢈ Ronan Chilvers 2014</p>
</footer>
<|file_sep|>current/_includes/footer.html
<footer class="clearfix">
<p>{{ site.title }}</p>
<p class="right">Copyleft ࢈ Ronan Chilvers 20... | <footer class="clearfix">
<p>{{ site.title }}</p>
<p class="right">Copyleft © Ronan Chilvers 2014</p>
</footer> | <|file_sep|>original/_includes/footer.html
<footer class="clearfix">
<p>{{ site.title }}</p>
<p class="right">Copyleft ࢈ Ronan Chilvers 2014</p>
</footer>
<|file_sep|>current/_includes/footer.html
<footer class="clearfix">
<p>{{ site.title }}</p>
<p class="right">Copyleft ࢈ Ronan Chilvers 20... | 3678b50bf25da16a24a474abf380ce09e9c892a0 | _includes/footer.html | _includes/footer.html | HTML |
<|file_sep|>original/test/example.mocha.ts
/// <reference path="../node_modules/@types/mocha/index.d.ts" />
/// <reference path="../node_modules/@types/chai/index.d.ts" />
/// <reference path="../node_modules/@types/sinon/index.d.ts" />
/**
* Module dependencies.
*/
import * as chai from 'chai';
/**
* Globals
*/
... | /**
* Module dependencies.
*/
import * as chai from 'chai';
/**
* Globals
*/
var expect = chai.expect;
/**
* Unit tests
*/
describe('User Model Unit Tests:', () => {
describe('2 + 4', () => {
it('should be 6', (done) => {
expect(2+4).to.equals(6);
done();
}); | <|file_sep|>original/test/example.mocha.ts
/// <reference path="../node_modules/@types/mocha/index.d.ts" />
/// <reference path="../node_modules/@types/chai/index.d.ts" />
/// <reference path="../node_modules/@types/sinon/index.d.ts" />
/**
* Module dependencies.
*/
import * as chai from 'chai';
/**
* Globals
*/
... | 5882ff4328bb7ba6a38a89dc3a83bf7e8142f7a4 | test/example.mocha.ts | test/example.mocha.ts | TypeScript |
<|file_sep|>api/src/main/resources/META-INF/spring/camel-context.xml.diff
original:
updated:
<bean id="service" class="
<|file_sep|>original/api/src/main/resources/META-INF/spring/camel-context.xml
<camel:camelContext xmlns="http://camel.apache.org/schema/spring">
<!-- here is a sample which processes the in... | <camel:choice>
<camel:when>
<camel:xpath>/person/city = 'London'</camel:xpath>
<camel:log message="UK message"/>
<camel:to uri="file:target/messages/uk"/>
</camel:when>
<camel:otherwise>
<camel:log message="Other message"/>
<camel:to uri="f... | <|file_sep|>api/src/main/resources/META-INF/spring/camel-context.xml.diff
original:
updated:
<bean id="service" class="
<|file_sep|>original/api/src/main/resources/META-INF/spring/camel-context.xml
<camel:camelContext xmlns="http://camel.apache.org/schema/spring">
<!-- here is a sample which processes the in... | 375f027dd71dc8aebe384225ce5dc95447859da3 | api/src/main/resources/META-INF/spring/camel-context.xml | api/src/main/resources/META-INF/spring/camel-context.xml | XML |
<|file_sep|>original/dev/linux/sudo/README.md
# sudo
## Articles
* [sudo without password](https://joshtronic.com/2014/12/21/sudo-without-password/)
<|file_sep|>current/dev/linux/sudo/README.md
# sudo
## Articles
* [sudo without password](https://joshtronic.com/2014/12/21/sudo-without-password/)
<|file_sep|>updated/d... | # sudo
## Articles
* [sudo without password](https://joshtronic.com/2014/12/21/sudo-without-password/)
* [How to make `sudo` preserve $PATH?](https://unix.stackexchange.com/questions/83191/how-to-make-sudo-preserve-path) | <|file_sep|>original/dev/linux/sudo/README.md
# sudo
## Articles
* [sudo without password](https://joshtronic.com/2014/12/21/sudo-without-password/)
<|file_sep|>current/dev/linux/sudo/README.md
# sudo
## Articles
* [sudo without password](https://joshtronic.com/2014/12/21/sudo-without-password/)
<|file_sep|>updated/d... | 979e07ac3f67be5dd25bb7af8ed5121cee77be66 | dev/linux/sudo/README.md | dev/linux/sudo/README.md | Markdown |
<|file_sep|>original/docs/manifest.json
[
{
"name": "stati.phar",
"sha1": "4285d0ea11533882e621fec373717542931f6a56",
"url": "https://github.com/jfoucher/stati/blob/0.1.2/build/stati.phar?raw=true",
"version": "0.1.2"
}
]
<|file_sep|>current/docs/manifest.json
[
{
"name": "stati.phar",
"sh... | [
{
"name": "stati.phar",
"sha1": "60ff3018d082a29f0e3b83f9edabc9ec1fd2a611",
"url": "https://raw.githubusercontent.com/jfoucher/stati/0.1.2/build/stati.phar",
"version": "0.1.2"
}
] | <|file_sep|>original/docs/manifest.json
[
{
"name": "stati.phar",
"sha1": "4285d0ea11533882e621fec373717542931f6a56",
"url": "https://github.com/jfoucher/stati/blob/0.1.2/build/stati.phar?raw=true",
"version": "0.1.2"
}
]
<|file_sep|>current/docs/manifest.json
[
{
"name": "stati.phar",
"sh... | 606f84da65f1fdca99fe3f945d141469397842db | docs/manifest.json | docs/manifest.json | JSON |
<|file_sep|>original/srttools/core/tests/test_calibration.py
<|file_sep|>current/srttools/core/tests/test_calibration.py
<|file_sep|>updated/srttools/core/tests/test_calibration.py | from ..calibration import CalibratorTable
from ..read_config import read_config
from ..scan import list_scans
import numpy as np
import matplotlib.pyplot as plt
import unittest
from astropy.table import Table
from ..imager import ScanSet
import os
import glob
class Test2_Calibration(unittest.TestCase):
@classmeth... | <|file_sep|>original/srttools/core/tests/test_calibration.py
<|file_sep|>current/srttools/core/tests/test_calibration.py
<|file_sep|>updated/srttools/core/tests/test_calibration.py
from ..calibration import CalibratorTable
from ..read_config import read_config
from ..scan import list_scans
import numpy as np
import m... | d8ad74b80f214ca313d01533ea6f15082cbb3af2 | srttools/core/tests/test_calibration.py | srttools/core/tests/test_calibration.py | Python |
<|file_sep|>src/Backend/Modules/Pages/Domain/ModuleExtra/ModuleExtraType.php.diff
original:
updated:
use Backend\Modules\Pages\Domain\PageBlock\Type;
<|file_sep|>original/src/Backend/Modules/Pages/Domain/ModuleExtra/ModuleExtraType.php
public static function block(): self
{
return new self(self::BLOCK... |
public static function widget(): self
{
return new self(self::WIDGET);
}
public function __toString(): string
{
return $this->type;
}
public function getPageBlockType(): Type
{
return new Type($this->type);
}
public function jsonSerialize(): string
... | <|file_sep|>src/Backend/Modules/Pages/Domain/ModuleExtra/ModuleExtraType.php.diff
original:
updated:
use Backend\Modules\Pages\Domain\PageBlock\Type;
<|file_sep|>original/src/Backend/Modules/Pages/Domain/ModuleExtra/ModuleExtraType.php
public static function block(): self
{
return new self(self::BLOCK... | b344e7ec691e979003fabc84f9e4b07d918d5e9b | src/Backend/Modules/Pages/Domain/ModuleExtra/ModuleExtraType.php | src/Backend/Modules/Pages/Domain/ModuleExtra/ModuleExtraType.php | PHP |
<|file_sep|>original/cfp/management/commands/update_talks_and_workshops_from_applications.py
workshop_count = workshops.count()
if not talk_count and not workshops:
raise CommandError("No talks or workshops matched.")
print(f"Matched {talk_count} talks:")
for talk in talks:... |
print(f"Matched {talk_count} talks:")
for talk in talks:
print("> ", talk)
print(f"\nMatched {workshop_count} workshops:")
for workshop in workshops:
print("> ", workshop)
print("\nUpdate talk descriptions from talks?")
input("Press any key to c... | <|file_sep|>original/cfp/management/commands/update_talks_and_workshops_from_applications.py
workshop_count = workshops.count()
if not talk_count and not workshops:
raise CommandError("No talks or workshops matched.")
print(f"Matched {talk_count} talks:")
for talk in talks:... | d0e634e4472dcd82009801626c8e51d0a16fcae6 | cfp/management/commands/update_talks_and_workshops_from_applications.py | cfp/management/commands/update_talks_and_workshops_from_applications.py | Python |
<|file_sep|>modules/openstack_project/files/jenkins_job_builder/config/neutron-functional.yaml.diff
original:
# TODO(HenryG): this isn't actually passed through sudo
export OS_SUDO_TESTING=1
updated:
<|file_sep|>modules/openstack_project/files/jenkins_job_builder/config/neutron-functional.y... | export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
$BASE/new/devstack/unstack.sh
... | <|file_sep|>modules/openstack_project/files/jenkins_job_builder/config/neutron-functional.yaml.diff
original:
# TODO(HenryG): this isn't actually passed through sudo
export OS_SUDO_TESTING=1
updated:
<|file_sep|>modules/openstack_project/files/jenkins_job_builder/config/neutron-functional.y... | d8e5d2556a303a4f387955e645e6f67cb9df7cf9 | modules/openstack_project/files/jenkins_job_builder/config/neutron-functional.yaml | modules/openstack_project/files/jenkins_job_builder/config/neutron-functional.yaml | YAML |
<|file_sep|>original/setup.py
from setuptools import setup
setup(
name="img2txt",
version="2.0",
author="hit9",
author_email="hit9@icloud.com",
description="Image to Ascii Text, can output to html or ansi terminal.",
license="BSD",
url="http://hit9.org/img2txt",
install_requires=['docop... | from setuptools import setup
setup(
name="img2txt.py",
version="2.0",
author="hit9",
author_email="hit9@icloud.com",
description="Image to Ascii Text, can output to html or ansi terminal.",
license="BSD",
url="http://hit9.org/img2txt",
install_requires=['docopt', 'Pillow'],
scripts=... | <|file_sep|>original/setup.py
from setuptools import setup
setup(
name="img2txt",
version="2.0",
author="hit9",
author_email="hit9@icloud.com",
description="Image to Ascii Text, can output to html or ansi terminal.",
license="BSD",
url="http://hit9.org/img2txt",
install_requires=['docop... | d78916f43b289ff56d5a5d87f8db6fbf5f9d7436 | setup.py | setup.py | Python |
<|file_sep|>assignFAST/assignFASTExample.js.diff
original:
var currentSuggestIndexDefault = "suggestall"; //initial default value
updated:
var currentSuggestIndexDefault = "suggest50"; //initial default value
<|file_sep|>original/assignFAST/assignFASTExample.js
$('#fastInd' + number).val(ui.item.indicator);
} //... | $('#fastInd' + number).val(ui.item.indicator);
} //end select
}
).data( "autocomplete" )._renderItem = function( ul, item ) { formatSuggest(ul, item);};
} //end setUpPage()
/*
example style - simple reformatting
*/
function autoSubjectExample(request, response) {
currentSuggestIndex = currentSuggestIndex... | <|file_sep|>assignFAST/assignFASTExample.js.diff
original:
var currentSuggestIndexDefault = "suggestall"; //initial default value
updated:
var currentSuggestIndexDefault = "suggest50"; //initial default value
<|file_sep|>original/assignFAST/assignFASTExample.js
$('#fastInd' + number).val(ui.item.indicator);
} //... | ce9abc43dbc217d800f833cff36ee3e51e85a2e9 | assignFAST/assignFASTExample.js | assignFAST/assignFASTExample.js | JavaScript |
<|file_sep|>docs/includes/otp-app.txt.diff
original:
.. tip:: We recommend using FreeOTP to generate two-factor
authentication tokens because it is Free Software. However, if it
does not work for you for any reason, alternatives exist:
updated:
.. tip:: We recommend using FreeOTP (available `for Android <https:/... | .. tip:: We recommend using FreeOTP (available `for Android <https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp>`__
and `for iOS <https://itunes.apple.com/us/app/freeotp-authenticator/id872559395>`__)
to generate two-factor authentication tokens because it is Free Software.
However, if it d... | <|file_sep|>docs/includes/otp-app.txt.diff
original:
.. tip:: We recommend using FreeOTP to generate two-factor
authentication tokens because it is Free Software. However, if it
does not work for you for any reason, alternatives exist:
updated:
.. tip:: We recommend using FreeOTP (available `for Android <https:/... | 228c074492d23af378389cb3541b2724cf121159 | docs/includes/otp-app.txt | docs/includes/otp-app.txt | Text |
<|file_sep|>app/exceptions/CASMissingInfoException.php.diff
original:
updated:
use Nette\Http\IResponse;
<|file_sep|>original/app/exceptions/CASMissingInfoException.php
<?php
namespace App\Exceptions;
/**
* Thrown if some of the CAS LDAP attributes was not found.
*/
class CASMissingInfoException extends ApiExcept... | <?php
namespace App\Exceptions;
use Nette\Http\IResponse;
/**
* Thrown if some of the CAS LDAP attributes was not found.
*/
class CASMissingInfoException extends ApiException {
/**
* Create instance with textual description.
* @param string $msg description
*/
public function __construct(string $msg =... | <|file_sep|>app/exceptions/CASMissingInfoException.php.diff
original:
updated:
use Nette\Http\IResponse;
<|file_sep|>original/app/exceptions/CASMissingInfoException.php
<?php
namespace App\Exceptions;
/**
* Thrown if some of the CAS LDAP attributes was not found.
*/
class CASMissingInfoException extends ApiExcept... | 42715150cc41806673f360f59fb1e33a079f174a | app/exceptions/CASMissingInfoException.php | app/exceptions/CASMissingInfoException.php | PHP |
<|file_sep|>original/packages/react/addons.js
var warning = require('./lib/warning');
warning(
false,
'require' + "('react/addons') is deprecated. " +
'Access using require' + "('react-addons-{addon}') instead."
);
module.exports = require('./lib/ReactWithAddons');
<|file_sep|>current/packages/react/addons.js
va... | var warning = require('./lib/warning');
warning(
false,
// Require examples in this string must be split to prevent React's
// build tools from mistaking them for real requires.
// Otherwise the build tools will attempt to build a 'react-addons-{addon}' module.
'require' + "('react/addons') is deprecated. " +... | <|file_sep|>original/packages/react/addons.js
var warning = require('./lib/warning');
warning(
false,
'require' + "('react/addons') is deprecated. " +
'Access using require' + "('react-addons-{addon}') instead."
);
module.exports = require('./lib/ReactWithAddons');
<|file_sep|>current/packages/react/addons.js
va... | 334372758c27df3a6ef98a4decccef86550fa55f | packages/react/addons.js | packages/react/addons.js | JavaScript |
<|file_sep|>original/examples/configs/dqn_nstep_agent_visual.json
"repeat_update": 1,
"keep_last": true,
"target_update_frequency": 10000,
"discount": 0.99,
"learning_rate": 0.004,
"optimizer": {
"type": "rmsprop",
"decay": 0.99,
"epsilon": 0.1
},
"tf_saver": false,
"tf_summary": null,
... | "batch_size": 6,
"repeat_update": 1,
"keep_last": true,
"target_update_frequency": 10000,
"discount": 0.99,
"learning_rate": 0.004,
"optimizer": {
"type": "rmsprop",
"decay": 0.99,
"epsilon": 0.1
},
"tf_saver": false,
"tf_summary": null,
"log_level": "info",
"gradient_clipping": 40... | <|file_sep|>original/examples/configs/dqn_nstep_agent_visual.json
"repeat_update": 1,
"keep_last": true,
"target_update_frequency": 10000,
"discount": 0.99,
"learning_rate": 0.004,
"optimizer": {
"type": "rmsprop",
"decay": 0.99,
"epsilon": 0.1
},
"tf_saver": false,
"tf_summary": null,
... | 9a6badc5f824504e9eac3540ca2a51ddf6974141 | examples/configs/dqn_nstep_agent_visual.json | examples/configs/dqn_nstep_agent_visual.json | JSON |
<|file_sep|>original/src/js/directive/contacts.js
'use strict';
var ngModule = angular.module('woDirectives');
ngModule.directive('keyfileInput', function() {
return function(scope, elm) {
elm.on('change', function(e) {
for (var i = 0; i < e.target.files.length; i++) {
importKe... | 'use strict';
var ngModule = angular.module('woDirectives');
ngModule.directive('keyfileInput', function() {
return function(scope, elm) {
elm.on('change', function(e) {
for (var i = 0; i < e.target.files.length; i++) {
importKey(e.target.files.item(i));
}
... | <|file_sep|>original/src/js/directive/contacts.js
'use strict';
var ngModule = angular.module('woDirectives');
ngModule.directive('keyfileInput', function() {
return function(scope, elm) {
elm.on('change', function(e) {
for (var i = 0; i < e.target.files.length; i++) {
importKe... | e9a8702b3995781cb5ed6b8c2e746c360e36b812 | src/js/directive/contacts.js | src/js/directive/contacts.js | JavaScript |
<|file_sep|>Assets/Alensia/Core/UI/Cursor/CursorSet.cs.diff
original:
public class CursorSet : ScriptableObject, IDirectory<CursorDefinition>, IEditorSettings
updated:
public class CursorSet : ScriptableObject, INamed, IDirectory<CursorDefinition>, IEditorSettings
<|file_sep|>original/Assets/Alensia/Core/UI/Cur... | using System.Collections.Generic;
using System.Linq;
using Alensia.Core.Common;
using UnityEngine;
namespace Alensia.Core.UI.Cursor
{
public class CursorSet : ScriptableObject, INamed, IDirectory<CursorDefinition>, IEditorSettings
{
public string Name => name;
protected IDictionary<string, Cur... | <|file_sep|>Assets/Alensia/Core/UI/Cursor/CursorSet.cs.diff
original:
public class CursorSet : ScriptableObject, IDirectory<CursorDefinition>, IEditorSettings
updated:
public class CursorSet : ScriptableObject, INamed, IDirectory<CursorDefinition>, IEditorSettings
<|file_sep|>original/Assets/Alensia/Core/UI/Cur... | 547701886f54bce0149c78c95e050d25b6efa436 | Assets/Alensia/Core/UI/Cursor/CursorSet.cs | Assets/Alensia/Core/UI/Cursor/CursorSet.cs | C# |
<|file_sep|>spec/support/worker_macros.rb.diff
original:
def uses_workers
updated:
def use_workers
<|file_sep|>spec/support/worker_macros.rb.diff
original:
updated:
old = Backend.mock
Backend.mock = false
<|file_sep|>original/spec/support/worker_macros.rb
module WorkerMacros
def uses_workers
afte... | module WorkerMacros
def use_workers
after(:each) do
old = Backend.mock
Backend.mock = false
Backend.wait_for_all_workers
Backend.mock = old
end
end
def disable_mocking
before :each do
Backend.mock = false
end
after :each do
Backend.mock = true
end
en... | <|file_sep|>spec/support/worker_macros.rb.diff
original:
def uses_workers
updated:
def use_workers
<|file_sep|>spec/support/worker_macros.rb.diff
original:
updated:
old = Backend.mock
Backend.mock = false
<|file_sep|>original/spec/support/worker_macros.rb
module WorkerMacros
def uses_workers
afte... | c394eec1fd75dea5c45d3e13c1ebe5ab910db6e7 | spec/support/worker_macros.rb | spec/support/worker_macros.rb | Ruby |
<|file_sep|>README.md.diff
original:
Search and replace within a buffer.
updated:
# Find and replace
In buffer and in project
<|file_sep|>original/README.md
Search and replace within a buffer.

* You will need... | # Find and replace
In buffer and in project
 | <|file_sep|>README.md.diff
original:
Search and replace within a buffer.
updated:
# Find and replace
In buffer and in project
<|file_sep|>original/README.md
Search and replace within a buffer.

* You will need... | cd27c66eab02cb46fda50be048cee176e41e167a | README.md | README.md | Markdown |
<|file_sep|>original/openacademy/security/security.xml
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="openacademy_group_manager" model="res.groups">
<field name="name">OpenAcademy / Manager</field>
</record>
<record id="only_responsible_can_modify" model="i... | <?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="openacademy_group_manager" model="res.groups">
<field name="name">OpenAcademy / Manager</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="only_responsible_can_m... | <|file_sep|>original/openacademy/security/security.xml
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="openacademy_group_manager" model="res.groups">
<field name="name">OpenAcademy / Manager</field>
</record>
<record id="only_responsible_can_modify" model="i... | 1db418c6f4389404453f5bffc8293d074c1e6640 | openacademy/security/security.xml | openacademy/security/security.xml | XML |
<|file_sep|>original/.github/workflows/tox.yml
run: |
pip install tox
tox
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.9]
django: [22,32,main]
env:
TOXENV: py${{ matrix.python }}-django${{ matrix.django }}
step... | run: |
pip install tox
tox
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.9]
django: [32,main]
env:
TOXENV: py${{ matrix.python }}-django${{ matrix.django }}
steps:
- name: Check out the repository
... | <|file_sep|>original/.github/workflows/tox.yml
run: |
pip install tox
tox
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.9]
django: [22,32,main]
env:
TOXENV: py${{ matrix.python }}-django${{ matrix.django }}
step... | b7ec4f93a46186b46814ff086b209a58cd8a25ea | .github/workflows/tox.yml | .github/workflows/tox.yml | YAML |
<|file_sep|>original/gulp/config.js
banner: banner,
clean: {
files: [
'dist'
]
},
jshint: {
src: [
'index.js',
'gulpfile.js',
'src/**/*.js'
],
options: require('../config/jshint')
},
uglify: {
debug: ... | banner: banner,
clean: {
files: [
'dist'
]
},
jshint: {
src: [
'index.js',
'gulpfile.js',
'src/**/*.js',
'lib/**/*.js'
],
options: require('../config/jshint')
},
uglify: {
debug: {
... | <|file_sep|>original/gulp/config.js
banner: banner,
clean: {
files: [
'dist'
]
},
jshint: {
src: [
'index.js',
'gulpfile.js',
'src/**/*.js'
],
options: require('../config/jshint')
},
uglify: {
debug: ... | ce627bb604bbb4ce42a14af38f5f7aceef11df4d | gulp/config.js | gulp/config.js | JavaScript |
<|file_sep|>original/app/scripts-browserify/galleries.js
$(function(){
const GALLERY_SLICK_SELECTOR = '.gallery--slick';
$(GALLERY_SLICK_SELECTOR).slick({
infinite: false,
dots: true,
speed: 600,
slidesToShow: 4,
slidesToScroll: 2,
responsive: [
{
breakpoint: 768,
sett... | $(function(){
const GALLERY_SLICK_SELECTOR = '.gallery--slick';
$(GALLERY_SLICK_SELECTOR).slick({
infinite: false,
dots: true,
speed: 600,
slidesToShow: 4,
slidesToScroll: 2,
prevArrow: '<div class="slick-button-container"><button type="button" class="slick-prev">Previous</button></div>',
... | <|file_sep|>original/app/scripts-browserify/galleries.js
$(function(){
const GALLERY_SLICK_SELECTOR = '.gallery--slick';
$(GALLERY_SLICK_SELECTOR).slick({
infinite: false,
dots: true,
speed: 600,
slidesToShow: 4,
slidesToScroll: 2,
responsive: [
{
breakpoint: 768,
sett... | ae4088e69e1a88f80cdfaefcda0f6f42f80f44d0 | app/scripts-browserify/galleries.js | app/scripts-browserify/galleries.js | JavaScript |
<|file_sep|>original/design-docs/features/dependent-components/dependent-components-report/README.md
# Dependent components report
This feature allows a developer to get insight into the reverse dependency graph of the components of a build.
## Stories
`TBD`
## Out of scope
`TBD`
<|file_sep|>current/design-docs/fe... |
This feature allows a developer to get insight into the reverse dependency graph of the components of a build.
## Stories
`TBD`
## Out of scope
`TBD`
## Test Coverage
- Gracefully handle circular dependencies (we don't need to support them, we should just not fail any worse than `build` does now).
- Duplicate de... | <|file_sep|>original/design-docs/features/dependent-components/dependent-components-report/README.md
# Dependent components report
This feature allows a developer to get insight into the reverse dependency graph of the components of a build.
## Stories
`TBD`
## Out of scope
`TBD`
<|file_sep|>current/design-docs/fe... | 96522f061a0dceaff7a321d83a3ae8de748f3abd | design-docs/features/dependent-components/dependent-components-report/README.md | design-docs/features/dependent-components/dependent-components-report/README.md | Markdown |
<|file_sep|>packages/sv/svg-icons.yaml.diff
original:
hash: 264015c711c19e8ccab6032dd787db94537b67dfd63102ee75afb02fca5eac47
updated:
hash: 2657a3f149d54f0e4c558e74a5e45b8ec64a2a03bd715df7b22dc90b9d381f07
<|file_sep|>packages/sv/svg-icons.yaml.diff
original:
updated:
- 0.1.0.2
<|file_sep|>original/packages/sv/svg-icon... | maintainer: ramir659@icloud.com
synopsis: Svg Icons and more
changelog: ''
basic-deps:
blaze-svg: '>=0.3.3.0 && <1.0'
base: '>=4.15.0.0 && <5.0.0'
blaze-markup: '>=0.5 && <0.9'
text: '>=2.0 && <3.0'
directory: '>=1.3.7.0 && <2.0.0'
all-versions:
- 0.1.0.0
- 0.1.0.1
- 0.1.0.2
author: Ramiro
latest: 0.1.0.2
des... | <|file_sep|>packages/sv/svg-icons.yaml.diff
original:
hash: 264015c711c19e8ccab6032dd787db94537b67dfd63102ee75afb02fca5eac47
updated:
hash: 2657a3f149d54f0e4c558e74a5e45b8ec64a2a03bd715df7b22dc90b9d381f07
<|file_sep|>packages/sv/svg-icons.yaml.diff
original:
updated:
- 0.1.0.2
<|file_sep|>original/packages/sv/svg-icon... | a02ebb17c4c14dd241847868de0e41694b54cd3a | packages/sv/svg-icons.yaml | packages/sv/svg-icons.yaml | YAML |
<|file_sep|>original/regserver/regulations/generator/templates/slide-down-interp.html
{% comment %}
For expand/contractable inline interpretations.
{% endcomment %}
<section class="inline-interpretation" data-interp-for="{{interp.for_markup_id}}">
<header class="inline-interp-header">
<h4 tabindex="0">... | {% comment %}
For expand/contractable inline interpretations.
{% endcomment %}
<section class="inline-interpretation" data-interp-for="{{interp.for_markup_id}}">
<header class="inline-interp-header">
<h4 tabindex="0">Official Interpretation to <span class="ref-num">{{ interp.label }}</span></h4>
... | <|file_sep|>original/regserver/regulations/generator/templates/slide-down-interp.html
{% comment %}
For expand/contractable inline interpretations.
{% endcomment %}
<section class="inline-interpretation" data-interp-for="{{interp.for_markup_id}}">
<header class="inline-interp-header">
<h4 tabindex="0">... | b7d3cffeb8cd5f99ec6b88b36ed9bb5c46936da5 | regserver/regulations/generator/templates/slide-down-interp.html | regserver/regulations/generator/templates/slide-down-interp.html | HTML |
<|file_sep|>original/.travis/run-tests.sh
#!/bin/bash
travisdir=$(dirname $(readlink /proc/$$/fd/255))
testdir="$travisdir/../tests"
testedcomponents=(`cat "$travisdir/tested-components"`)
result=0
for tested in "${testedcomponents[@]}"
do
echo "$tested:"
phpunit -c $testdir/phpunit.xml --stderr $t... | #!/bin/bash
travisdir=$(dirname $(readlink /proc/$$/fd/255))
testdir="$travisdir/../tests"
testedcomponents=(`cat "$travisdir/tested-components"`)
result=0
for tested in "${testedcomponents[@]}"
do
echo "$tested:"
phpunit -c $testdir/phpunit.xml $testdir/$tested
result=$(($result || $?))
do... | <|file_sep|>original/.travis/run-tests.sh
#!/bin/bash
travisdir=$(dirname $(readlink /proc/$$/fd/255))
testdir="$travisdir/../tests"
testedcomponents=(`cat "$travisdir/tested-components"`)
result=0
for tested in "${testedcomponents[@]}"
do
echo "$tested:"
phpunit -c $testdir/phpunit.xml --stderr $t... | c745d650a51260e3a0d8230c663cad4681374945 | .travis/run-tests.sh | .travis/run-tests.sh | Shell |
<|file_sep|>.drone.yml.diff
original:
env:
- DRONE_ACCOUNT=996714972814-7q585hf42vmouqkfdbccsnrc6jgclfm1@developer.gserviceaccount.com
updated:
cache:
- /cache
<|file_sep|>original/.drone.yml
- DRONE_ACCOUNT=996714972814-7q585hf42vmouqkfdbccsnrc6jgclfm1@developer.gserviceaccount.com
script:
# workaround for cac... | # workaround for cache, see https://github.com/drone/drone/issues/147
- mkdir -p /cache/node_modules
- rm -rf node_modules
- ln -s /cache/node_modules node_modules
# install dependencies
- npm install
- node_modules/napa/bin/napa mojombo/clippy
# ensure the build works
# this will also run gulp test
... | <|file_sep|>.drone.yml.diff
original:
env:
- DRONE_ACCOUNT=996714972814-7q585hf42vmouqkfdbccsnrc6jgclfm1@developer.gserviceaccount.com
updated:
cache:
- /cache
<|file_sep|>original/.drone.yml
- DRONE_ACCOUNT=996714972814-7q585hf42vmouqkfdbccsnrc6jgclfm1@developer.gserviceaccount.com
script:
# workaround for cac... | 24e6229e21505b8a40c27805abaeff0c7959e6b9 | .drone.yml | .drone.yml | YAML |
<|file_sep|>app/scripts/fix-tabs.sh.diff
original:
echo -e "+ Fixing tabs for all PHP files..."
updated:
echo -e "\e[32mFixing tabs for all PHP files...\e[0m"
<|file_sep|>app/scripts/fix-tabs.sh.diff
original:
echo -e "+ $file"
updated:
echo -e "\e[33m+ $file\e[0m"
<|file_sep|>original/app/scripts/fix-tabs.sh
#... | #!/bin/bash
echo -e "\e[32mFixing tabs for all PHP files...\e[0m"
for file in $(find . -name "*.php");
do
echo -e "\e[33m+ $file\e[0m"
expand -t 4 "$file" > "${file}.tmp" && mv "${file}.tmp" "$file"
done
echo -e "\e[32mDone.\e[0m" | <|file_sep|>app/scripts/fix-tabs.sh.diff
original:
echo -e "+ Fixing tabs for all PHP files..."
updated:
echo -e "\e[32mFixing tabs for all PHP files...\e[0m"
<|file_sep|>app/scripts/fix-tabs.sh.diff
original:
echo -e "+ $file"
updated:
echo -e "\e[33m+ $file\e[0m"
<|file_sep|>original/app/scripts/fix-tabs.sh
#... | 1b158842418a345a620b977bd19105466b808b5b | app/scripts/fix-tabs.sh | app/scripts/fix-tabs.sh | Shell |
<|file_sep|>doc/jsk_2016_01_baxter_apc/apc2016_pick_trial.rst.diff
original:
Pick task trial on real world for APC2016 can be done on ``baxter@satan`` and ``baxter@eyelash``.
updated:
Pick task trial on real world for APC2016 can be done on ``baxter@sheeta``.
<|file_sep|>doc/jsk_2016_01_baxter_apc/apc2016_pick_trial.rs... |
# Launch nodes in recognition pipeline for pick task.
baxter@sheeta $ roslaunch jsk_2016_01_baxter_apc setup_for_pick.launch
# optional: Check sanity.
baxter@sheeta $ rosrun jsk_2016_01_baxter_apc check_sanity_setup_for_pick
# Launch rviz for GUI to start.
baxter@sheeta $ rviz -d $(rospack find jsk_2016_... | <|file_sep|>doc/jsk_2016_01_baxter_apc/apc2016_pick_trial.rst.diff
original:
Pick task trial on real world for APC2016 can be done on ``baxter@satan`` and ``baxter@eyelash``.
updated:
Pick task trial on real world for APC2016 can be done on ``baxter@sheeta``.
<|file_sep|>doc/jsk_2016_01_baxter_apc/apc2016_pick_trial.rs... | 784f47c322356eb3bd9d4d96cc069d91937bfb55 | doc/jsk_2016_01_baxter_apc/apc2016_pick_trial.rst | doc/jsk_2016_01_baxter_apc/apc2016_pick_trial.rst | reStructuredText |
<|file_sep|>original/addon/helpers/page-title.js
import Ember from 'ember';
const get = Ember.get;
const { guidFor } = Ember
function updateTitle(tokens) {
document.title = tokens.toString();
}
export default Ember.Helper.extend({
pageTitleList: Ember.inject.service(),
init() {
this._super();
let toke... | import Ember from 'ember';
const get = Ember.get;
const { guidFor } = Ember;
function updateTitle(tokens) {
document.title = tokens.toString();
}
export default Ember.Helper.extend({
pageTitleList: Ember.inject.service(),
init() {
this._super();
let tokens = get(this, 'pageTitleList');
tokens.push... | <|file_sep|>original/addon/helpers/page-title.js
import Ember from 'ember';
const get = Ember.get;
const { guidFor } = Ember
function updateTitle(tokens) {
document.title = tokens.toString();
}
export default Ember.Helper.extend({
pageTitleList: Ember.inject.service(),
init() {
this._super();
let toke... | 6dcad1a38d6a619066dcf787a237456dde2c6c0e | addon/helpers/page-title.js | addon/helpers/page-title.js | JavaScript |
<|file_sep|>original/README.md
graphite_opengear
=================
Scripts to monitor temperature from an OpenGear Serial Console server and store in Graphite
<|file_sep|>current/README.md
graphite_opengear
=================
Scripts to monitor temperature from an OpenGear Serial Console server and store in Graphite
<... | graphite_opengear
=================
Scripts to monitor temperature from an OpenGear Serial Console server and store in Graphite
This script needs Net::SNMP to work.
Install it with: pkg install p5-Net-SNMP | <|file_sep|>original/README.md
graphite_opengear
=================
Scripts to monitor temperature from an OpenGear Serial Console server and store in Graphite
<|file_sep|>current/README.md
graphite_opengear
=================
Scripts to monitor temperature from an OpenGear Serial Console server and store in Graphite
<... | 69cd295dce774cf631f98349d2697ab04f5eece4 | README.md | README.md | Markdown |
<|file_sep|>original/game/src/plugins/cmd/src/teleport-cmd.plugin.kts
<|file_sep|>current/game/src/plugins/cmd/src/teleport-cmd.plugin.kts
<|file_sep|>updated/game/src/plugins/cmd/src/teleport-cmd.plugin.kts | import org.apollo.game.model.Position
import org.apollo.game.model.entity.setting.PrivilegeLevel
/**
* Sends the player's position.
*/
on_command("pos", PrivilegeLevel.MODERATOR)
.then { player ->
player.sendMessage("You are at: ${player.position}.")
}
/**
* Teleports the player to the ... | <|file_sep|>original/game/src/plugins/cmd/src/teleport-cmd.plugin.kts
<|file_sep|>current/game/src/plugins/cmd/src/teleport-cmd.plugin.kts
<|file_sep|>updated/game/src/plugins/cmd/src/teleport-cmd.plugin.kts
import org.apollo.game.model.Position
import org.apollo.game.model.entity.setting.PrivilegeLevel
/**
* Sends... | 9f67c308930d790c82d8898f8c9794fbaa2d034a | game/src/plugins/cmd/src/teleport-cmd.plugin.kts | game/src/plugins/cmd/src/teleport-cmd.plugin.kts | Kotlin |
<|file_sep|>original/plaid-ios-link.podspec
Pod::Spec.new do |s|
s.name = "plaid-ios-link"
s.version = "0.1.1"
s.summary = "Native iOS implementation of Plaid Link"
s.homepage = "https://github.com/vouch/plaid-ios-link"
s.license = 'MIT'
s.author = {... | Pod::Spec.new do |s|
s.name = "plaid-ios-link"
s.version = "0.1.1"
s.summary = "Native iOS implementation of Plaid Link"
s.homepage = "https://github.com/vouch/plaid-ios-link"
s.license = 'MIT'
s.author = { "Simon Levy" => "simon@vouch.com", "Andres ... | <|file_sep|>original/plaid-ios-link.podspec
Pod::Spec.new do |s|
s.name = "plaid-ios-link"
s.version = "0.1.1"
s.summary = "Native iOS implementation of Plaid Link"
s.homepage = "https://github.com/vouch/plaid-ios-link"
s.license = 'MIT'
s.author = {... | dd33fbc2ae89a3d8b0bd41a61dc5b6aa667cfcc2 | plaid-ios-link.podspec | plaid-ios-link.podspec | Ruby |
<|file_sep|>original/app/controllers/salaries_controller.rb
salary_params.merge!(params[:salary]) if params[:salary]
@salary = Salary.new(salary_params)
# Prebuild an empty attachment instance
@salary.attachments.build
new!
end
def create
@salary = Salary.new(params[:salary])
@salary... | @salary = Salary.new(salary_params)
# Prebuild an empty attachment instance
@salary.attachments.build
new!
end
def create
@salary = Salary.new(params[:salary])
if @salary.valid?
@salary.build_booking
end
create!
end
def payslip
show!
end
end | <|file_sep|>original/app/controllers/salaries_controller.rb
salary_params.merge!(params[:salary]) if params[:salary]
@salary = Salary.new(salary_params)
# Prebuild an empty attachment instance
@salary.attachments.build
new!
end
def create
@salary = Salary.new(params[:salary])
@salary... | 34b7d7c184df654e1955808489b999039882545d | app/controllers/salaries_controller.rb | app/controllers/salaries_controller.rb | Ruby |
<|file_sep|>original/README.md
Literally Canvas
================

```
coffee/ Coffeescript source code
css/ Documentation CSS
js/ Javascript dependencies and temporary Javascript files
lib/ Things you need to use Literally Canvas on your page
example.... | Literally Canvas
================

```
coffee/ Coffeescript source code
css/ Documentation CSS
js/ Javascript dependencies and temporary Javascript files
lib/ Things you need to use Literally Canvas on your page
example.html A very simple ... | <|file_sep|>original/README.md
Literally Canvas
================

```
coffee/ Coffeescript source code
css/ Documentation CSS
js/ Javascript dependencies and temporary Javascript files
lib/ Things you need to use Literally Canvas on your page
example.... | e5cb826ca173d4db0922113591da2a2f65716c18 | README.md | README.md | Markdown |
<|file_sep|>org.eclipse.xtext/src/org/eclipse/xtext/mwe/EquinoxClasspathEntriesProvider.java.diff
original:
updated:
import java.util.Collections;
<|file_sep|>org.eclipse.xtext/src/org/eclipse/xtext/mwe/EquinoxClasspathEntriesProvider.java.diff
original:
updated:
<|file_sep|>original/org.eclipse.xtext/src/org/eclip... | /*******************************************************************************
* Copyright (c) 2010 itemis AG (http://www.itemis.eu) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distr... | <|file_sep|>org.eclipse.xtext/src/org/eclipse/xtext/mwe/EquinoxClasspathEntriesProvider.java.diff
original:
updated:
import java.util.Collections;
<|file_sep|>org.eclipse.xtext/src/org/eclipse/xtext/mwe/EquinoxClasspathEntriesProvider.java.diff
original:
updated:
<|file_sep|>original/org.eclipse.xtext/src/org/eclip... | 4bdb317e1075aee5735f2939f47f09eb32dab379 | org.eclipse.xtext/src/org/eclipse/xtext/mwe/EquinoxClasspathEntriesProvider.java | org.eclipse.xtext/src/org/eclipse/xtext/mwe/EquinoxClasspathEntriesProvider.java | Java |
<|file_sep|>original/_posts/2016-11-05-course-ionic2.markdown
---
published: true
title: (Course) Ionic2 Bootcamp
layout: post
comments: true
categories: course
---
# A Complementary Course Material
ใช้ประกอบการอบรมและทำ workshop สำหรับ Ionic2 Bootcamp
<!-- break -->
Workshop material's available at: [https://tlaoth... | title: (Course) Ionic2 Bootcamp
layout: post
comments: true
categories: course
---
# A Complementary Course Material
ใช้ประกอบการอบรมและทำ workshop สำหรับ Ionic2 Bootcamp
<!-- break -->
Workshop material's available at: [https://tlaothong.gitbooks.io/ionic2-bootcamp/content/](https://tlaothong.gitbooks.io/ionic2-boo... | <|file_sep|>original/_posts/2016-11-05-course-ionic2.markdown
---
published: true
title: (Course) Ionic2 Bootcamp
layout: post
comments: true
categories: course
---
# A Complementary Course Material
ใช้ประกอบการอบรมและทำ workshop สำหรับ Ionic2 Bootcamp
<!-- break -->
Workshop material's available at: [https://tlaoth... | 3a4713925884db414c08efe4cec13aea394c601b | _posts/2016-11-05-course-ionic2.markdown | _posts/2016-11-05-course-ionic2.markdown | Markdown |
<|file_sep|>README.md.diff
original:
= Redmine plugin: extended_spent_time
updated:
Redmine plugin: extended_spent_time
===================================
<|file_sep|>original/README.md
= Redmine plugin: extended_spent_time
Redmine plugin used to extend spent time visualisation options located in "my page".
Tested o... | Redmine plugin: extended_spent_time
===================================
Redmine plugin used to extend spent time visualisation options located in "my page".
Tested on Redmine v1.0.5.

Mise en place d'options d... | <|file_sep|>README.md.diff
original:
= Redmine plugin: extended_spent_time
updated:
Redmine plugin: extended_spent_time
===================================
<|file_sep|>original/README.md
= Redmine plugin: extended_spent_time
Redmine plugin used to extend spent time visualisation options located in "my page".
Tested o... | e1bcdcc6d37e76f40d07b666431d422b53f1517b | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
env:
- DJANGO=1.4.10
virtualenv:
system_site_packages: true
install:
- pip install -q coveralls Django==$DJANGO --use-mirrors
- pip install -r requirements.txt
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip inst... | language: python
python:
- "2.6"
- "2.7"
env:
- DJANGO=1.4.10
- DJANGO=1.5.5
virtualenv:
system_site_packages: true
install:
- pip install -q coveralls Django==$DJANGO --use-mirrors
- pip install -r requirements.txt
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirr... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
env:
- DJANGO=1.4.10
virtualenv:
system_site_packages: true
install:
- pip install -q coveralls Django==$DJANGO --use-mirrors
- pip install -r requirements.txt
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip inst... | 6cfeabf8b0cce51c8f5a88a231f9f42cbce8e854 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tasks/install.deb.yml
---
- name: Install requirements - pt. 1
apt: pkg={{item}}
with_items:
- cron
- lzop
- pv
- python-pip
- name: Install requirements - pt. 2
pip: name=wal-e
<|file_sep|>current/tasks/install.deb.yml
---
- name: Install requirements - pt. 1
apt: pkg={{... | ---
- name: Install requirements - pt. 1
apt: pkg={{item}}
with_items:
- cron
- lzop
- pv
- python-pip
- python-dev
- python-lxml
- name: Install requirements - pt. 2
pip: name=wal-e | <|file_sep|>original/tasks/install.deb.yml
---
- name: Install requirements - pt. 1
apt: pkg={{item}}
with_items:
- cron
- lzop
- pv
- python-pip
- name: Install requirements - pt. 2
pip: name=wal-e
<|file_sep|>current/tasks/install.deb.yml
---
- name: Install requirements - pt. 1
apt: pkg={{... | eea40bdff6efe5c43a894d61115b3ec8ee4b4033 | tasks/install.deb.yml | tasks/install.deb.yml | YAML |
<|file_sep|>original/lib/phoenix/endpoint/server.ex
end
supervise(children, strategy: :one_for_one)
end
defp default(config, otp_app, port) do
config =
config
|> Keyword.put_new(:otp_app, otp_app)
|> Keyword.put_new(:port, port)
Keyword.put(config, :port, to_port(config[:port])... | for {scheme, port} <- [http: 4000, https: 4040],
config = endpoint.config(scheme) do
handler.child_spec(scheme, endpoint, default(config, otp_app, port))
end
supervise(children, strategy: :one_for_one)
end
defp default(config, otp_app, port) do
config =
config
|> K... | <|file_sep|>original/lib/phoenix/endpoint/server.ex
end
supervise(children, strategy: :one_for_one)
end
defp default(config, otp_app, port) do
config =
config
|> Keyword.put_new(:otp_app, otp_app)
|> Keyword.put_new(:port, port)
Keyword.put(config, :port, to_port(config[:port])... | 47064424f9d65ad66d74120e7c5e1b365d8d7cc6 | lib/phoenix/endpoint/server.ex | lib/phoenix/endpoint/server.ex | Elixir |
<|file_sep|>client/src/components/AddItemForm.jsx.diff
original:
updated:
import { Card, CardText } from 'material-ui/Card';
import TextField from 'material-ui/TextField';
import RaisedButton from 'material-ui/RaisedButton';
<|file_sep|>original/client/src/components/AddItemForm.jsx
saveNotes(event) {
this.setS... | this.setState({
notes: event.target.value
});
}
render() {
return (
<Card className="container">
<form>
<h4 className="card-heading">Add New Inventory Item</h4>
<div className="field-line">
<TextField floatingLabelText="Item Name" type="text" value={t... | <|file_sep|>client/src/components/AddItemForm.jsx.diff
original:
updated:
import { Card, CardText } from 'material-ui/Card';
import TextField from 'material-ui/TextField';
import RaisedButton from 'material-ui/RaisedButton';
<|file_sep|>original/client/src/components/AddItemForm.jsx
saveNotes(event) {
this.setS... | 88a855048366dd4b2e2e03dc0a255e71b05744c2 | client/src/components/AddItemForm.jsx | client/src/components/AddItemForm.jsx | JSX |
<|file_sep|>README.md.diff
original:
$ webpack
updated:
$ npm run build:dev
<|file_sep|>README.md.diff
original:
$ webpack-dev-server --port 1973
updated:
$ npm run server
<|file_sep|>original/README.md
This project provides a development web server that listens on port 1973.
Run
```
$ webpack-dev-server --port 1973
... | This project provides a development web server that listens on port 1973.
Run
```
$ npm run server
```
and the project will be ready for development and inspection. The server watches for file changes with hot reloading, so any change you make to the files under `src` folder will cause an automatic reload.
## Produ... | <|file_sep|>README.md.diff
original:
$ webpack
updated:
$ npm run build:dev
<|file_sep|>README.md.diff
original:
$ webpack-dev-server --port 1973
updated:
$ npm run server
<|file_sep|>original/README.md
This project provides a development web server that listens on port 1973.
Run
```
$ webpack-dev-server --port 1973
... | b33b6bb8060d9a20f6ae2fb635fbadbf08365911 | README.md | README.md | Markdown |
<|file_sep|>original/src/CustomError.js
class CustomError extends Error {
constructor(err, name = 'Error') {
super();
if (_.isString(err)) {
this.message = err;
} else if (err instanceof Error) {
this.message = err.message;
this.stack = err.stack;
} else {
throw new Error(`In... |
if (_.isString(err)) {
this.message = err;
} else if (err instanceof Error) {
this.message = err.message;
this.stack = err.stack;
} else {
throw new Error(`Invalid err argument; expected string or error, received ${type(err)}`);
}
if (_.isString(name)) {
this.name = n... | <|file_sep|>original/src/CustomError.js
class CustomError extends Error {
constructor(err, name = 'Error') {
super();
if (_.isString(err)) {
this.message = err;
} else if (err instanceof Error) {
this.message = err.message;
this.stack = err.stack;
} else {
throw new Error(`In... | 5015bc3f36506d2caa27ba158e698bf8c2429228 | src/CustomError.js | src/CustomError.js | JavaScript |
<|file_sep|>original/requirements.txt
aiohttp==2.3.7
elasticsearch==6.1.1
flake8==3.5.0
ipdb==0.10.3
ipython==6.2.1
pytest==3.3.1
pytest-cov==2.5.1
pytest-mock==1.6.3
tox==2.9.1
docker==2.6.1
isort==4.2.15
-e .
<|file_sep|>current/requirements.txt
aiohttp==2.3.7
elasticsearch==6.1.1
flake8==3.5.0
ipdb==0.10.3
ipython==... | aiohttp==2.3.7
elasticsearch==6.1.1
flake8==3.5.0
ipdb==0.10.3
ipython==6.2.1
pytest==3.3.2
pytest-cov==2.5.1
pytest-mock==1.6.3
tox==2.9.1
docker==2.6.1
isort==4.2.15
-e . | <|file_sep|>original/requirements.txt
aiohttp==2.3.7
elasticsearch==6.1.1
flake8==3.5.0
ipdb==0.10.3
ipython==6.2.1
pytest==3.3.1
pytest-cov==2.5.1
pytest-mock==1.6.3
tox==2.9.1
docker==2.6.1
isort==4.2.15
-e .
<|file_sep|>current/requirements.txt
aiohttp==2.3.7
elasticsearch==6.1.1
flake8==3.5.0
ipdb==0.10.3
ipython==... | d2cc16faaf607350dff129be8ab6a882c886a0d0 | requirements.txt | requirements.txt | Text |
<|file_sep|>src/util/MsgUtils.ts.diff
original:
public static sendAsSay(session:Session, msg:string) {
session.say(msg, msg);
}
public static onlyAlpha(msg:string) {
updated:
public static sayAsSend(session:Session, msg:string) {
return session.say(msg, msg);
<|file_sep|>original/src/util/MsgUtils.ts
... | EntityRecognizer,
} from 'botbuilder';
export class MsgUtils {
public static sayAsSend(session:Session, msg:string) {
return session.say(msg, msg);
}
public static getDateFromUtterance(msg:string) : Date | null {
return EntityRecognizer.parseTime(msg);
}
public static meanYes(msg:string) : boolea... | <|file_sep|>src/util/MsgUtils.ts.diff
original:
public static sendAsSay(session:Session, msg:string) {
session.say(msg, msg);
}
public static onlyAlpha(msg:string) {
updated:
public static sayAsSend(session:Session, msg:string) {
return session.say(msg, msg);
<|file_sep|>original/src/util/MsgUtils.ts
... | 24b3c7210997216da21aeb2acfcf51b323455976 | src/util/MsgUtils.ts | src/util/MsgUtils.ts | TypeScript |
<|file_sep|>original/source/proto/CMakeLists.txt
address_book.proto
common.proto
desktop.proto
desktop_extensions.proto
desktop_internal.proto
file_transfer.proto
key_exchange.proto
host_internal.proto
relay_peer.proto
router_admin.proto
router_common.proto
router_peer.pr... | common.proto
desktop.proto
desktop_extensions.proto
desktop_internal.proto
file_transfer.proto
key_exchange.proto
host_internal.proto
relay_peer.proto
router_admin.proto
router_common.proto
router_peer.proto
router_relay.proto
system_info.proto
text_chat.proto)
s... | <|file_sep|>original/source/proto/CMakeLists.txt
address_book.proto
common.proto
desktop.proto
desktop_extensions.proto
desktop_internal.proto
file_transfer.proto
key_exchange.proto
host_internal.proto
relay_peer.proto
router_admin.proto
router_common.proto
router_peer.pr... | 81164b9cc39f2549774fbb4342e980e68be36f45 | source/proto/CMakeLists.txt | source/proto/CMakeLists.txt | Text |
<|file_sep|>packages/neutrine/index.js.diff
original:
export * from "./src/dashboard/index.js";
updated:
<|file_sep|>packages/neutrine/index.js.diff
original:
updated:
export * from "./src/widgets/index.js";
<|file_sep|>packages/neutrine/index.js.diff
original:
//Widgets
updated:
//Big components
export * from "./src... | export * from "./src/future/index.js";
export * from "./src/icon/index.js";
export * from "./src/widgets/index.js";
//Loaders
export * from "./src/loaders/basic-loader/index.js";
export * from "./src/loaders/dna-loader/index.js";
//Big components
export * from "./src/dashboard/index.js";
export * from "./src/datatabl... | <|file_sep|>packages/neutrine/index.js.diff
original:
export * from "./src/dashboard/index.js";
updated:
<|file_sep|>packages/neutrine/index.js.diff
original:
updated:
export * from "./src/widgets/index.js";
<|file_sep|>packages/neutrine/index.js.diff
original:
//Widgets
updated:
//Big components
export * from "./src... | 81a38a4e194deb0e95fa4f914938fd3d9fbab121 | packages/neutrine/index.js | packages/neutrine/index.js | JavaScript |
<|file_sep|>original/README.md
[](https://abeaumont.github.io/ocaml-salsa20-core)
[](https://travis-ci.org/abeaumont/ocaml-salsa20-core)
# The Salsa20 core functions, in pure OC... | [](https://abeaumont.github.io/ocaml-salsa20-core)
[](https://travis-ci.org/abeaumont/ocaml-salsa20-core)
# The Salsa20 core functions, in pure OCaml
A pure OCaml implementatio... | <|file_sep|>original/README.md
[](https://abeaumont.github.io/ocaml-salsa20-core)
[](https://travis-ci.org/abeaumont/ocaml-salsa20-core)
# The Salsa20 core functions, in pure OC... | 6daff52a0dff5441a4c20a9316e4e248ed2876ac | README.md | README.md | Markdown |
<|file_sep|>original/packages/pa/pang-a-lambda.yaml
<|file_sep|>current/packages/pa/pang-a-lambda.yaml
<|file_sep|>updated/packages/pa/pang-a-lambda.yaml | homepage: ''
changelog-type: ''
hash: 8fae70a1b3cb637f23417a43498677220d591a95f51da46b73de51221f3e1d21
test-bench-deps: {}
maintainer: ivan.perez@keera.co.uk
synopsis: A super-pang clone
changelog: ''
basic-deps:
Yampa: ! '>=0.9.6 && <0.11'
bytestring: -any
SDL-gfx: -any
base: ! '>=4.6 && <4.9'
SDL: -any
co... | <|file_sep|>original/packages/pa/pang-a-lambda.yaml
<|file_sep|>current/packages/pa/pang-a-lambda.yaml
<|file_sep|>updated/packages/pa/pang-a-lambda.yaml
homepage: ''
changelog-type: ''
hash: 8fae70a1b3cb637f23417a43498677220d591a95f51da46b73de51221f3e1d21
test-bench-deps: {}
maintainer: ivan.perez@keera.co.uk
synops... | d22699ce17c82ef44298c40a0c2a64f3c62a8ba3 | packages/pa/pang-a-lambda.yaml | packages/pa/pang-a-lambda.yaml | YAML |
<|file_sep|>spi_read_eeprom.ino.diff
original:
unsigned int num_bytes;
unsigned int i;
updated:
<|file_sep|>original/spi_read_eeprom.ino
SPI.transfer(SPI_READ_CMD);
SPI.transfer(0x00);
SPI.transfer(0x00);
SPI.transfer(0x00);
for (addr = 0; addr < num_bytes; addr++) {
resp = SPI.transfer(0xff);
Seri... | SPI.transfer(0x00);
for (addr = 0; addr < num_bytes; addr++) {
resp = SPI.transfer(0xff);
Serial.write(resp);
}
digitalWrite(CS_PIN, HIGH);
}
void loop() {
unsigned int num_bytes;
unsigned int i;
/* wait for the integer with the requested number of bytes */
if (Serial.available() == 4) {
... | <|file_sep|>spi_read_eeprom.ino.diff
original:
unsigned int num_bytes;
unsigned int i;
updated:
<|file_sep|>original/spi_read_eeprom.ino
SPI.transfer(SPI_READ_CMD);
SPI.transfer(0x00);
SPI.transfer(0x00);
SPI.transfer(0x00);
for (addr = 0; addr < num_bytes; addr++) {
resp = SPI.transfer(0xff);
Seri... | 2853f90a74444ba7782239d016a3bbd18168f33b | spi_read_eeprom.ino | spi_read_eeprom.ino | Arduino |
<|file_sep|>original/create_google_cloud_project.sh
<|file_sep|>current/create_google_cloud_project.sh
<|file_sep|>updated/create_google_cloud_project.sh | #!/bin/bash
# Create datastore indexes
gcloud preview datastore create-indexes index.yaml
gcloud preview datastore cleanup-indexes index.yaml
# Create the bucket and configure it as a static site
gsutil -m rm -r gs://www.dartdocs2.com
gsutil mb gs://www.dartdocs2.com -p dartdocs
gsutil acl ch -u AllUsers:R gs://www.d... | <|file_sep|>original/create_google_cloud_project.sh
<|file_sep|>current/create_google_cloud_project.sh
<|file_sep|>updated/create_google_cloud_project.sh
#!/bin/bash
# Create datastore indexes
gcloud preview datastore create-indexes index.yaml
gcloud preview datastore cleanup-indexes index.yaml
# Create the bucket ... | 3a9717ac8193ce79000ba608dab5c383a9786865 | create_google_cloud_project.sh | create_google_cloud_project.sh | Shell |
<|file_sep|>original/src/bookmarklist/bookmarklist.js
*/
angular.module('vlui')
.directive('bookmarkList', function (Bookmarks, consts, Logger) {
return {
templateUrl: 'bookmarklist/bookmarklist.html',
restrict: 'E',
replace: true,
scope: {
highlighted: '='
},
link: fu... | */
angular.module('vlui')
.directive('bookmarkList', function (Bookmarks, consts, Logger) {
return {
templateUrl: 'bookmarklist/bookmarklist.html',
restrict: 'E',
replace: true,
scope: {
highlighted: '='
},
link: function postLink(scope /*, element, attrs*/) {
... | <|file_sep|>original/src/bookmarklist/bookmarklist.js
*/
angular.module('vlui')
.directive('bookmarkList', function (Bookmarks, consts, Logger) {
return {
templateUrl: 'bookmarklist/bookmarklist.html',
restrict: 'E',
replace: true,
scope: {
highlighted: '='
},
link: fu... | 5cae28ecf628263d4c51613051660039ba0ad591 | src/bookmarklist/bookmarklist.js | src/bookmarklist/bookmarklist.js | JavaScript |
<|file_sep|>yolapy/services.py.diff
original:
updated:
from yolapy.configuration import get_config
<|file_sep|>yolapy/services.py.diff
original:
updated:
If using yolapy.configuration:
```
configure(yola={
'url': 'https://wl.yola.net/',
'auth': ('username', 'password')),
})
yola = ... |
See [TODO] for available methods with documentation.
"""
def __init__(self, **kwargs):
"""Initialize with optional headers.
Auth and url are expected to be present in the 'yola' configuration.
Passed arguments will override configuration.
```
Yola(headers={'Heade... | <|file_sep|>yolapy/services.py.diff
original:
updated:
from yolapy.configuration import get_config
<|file_sep|>yolapy/services.py.diff
original:
updated:
If using yolapy.configuration:
```
configure(yola={
'url': 'https://wl.yola.net/',
'auth': ('username', 'password')),
})
yola = ... | 099b8d9b6d546d035e63b6db8714c44364537efd | yolapy/services.py | yolapy/services.py | Python |
<|file_sep|>README.md.diff
original:
## Usage
updated:
## Overview
A basic .NET Core Buildpack that serves up a .NET Core application from behind a lightweight Go HTTP proxy.
<|file_sep|>README.md.diff
original:
For Heroku-16 stack use:
updated:
It relies on there being a `Startup.cs` file alongside a `{PROJECT}.cspro... | - Views
- wwwroot
- appsettings.json
- bower.json
- bundleconfig.json
- Program.cs
- Project.Website.csproj
- Startup.cs
- Project.Framework
- Data
- Business
- Services
```
N.B. The csproj file for the Website must be named the same as it's parent folder, e.g. A folder of `Project.Website` with ... | <|file_sep|>README.md.diff
original:
## Usage
updated:
## Overview
A basic .NET Core Buildpack that serves up a .NET Core application from behind a lightweight Go HTTP proxy.
<|file_sep|>README.md.diff
original:
For Heroku-16 stack use:
updated:
It relies on there being a `Startup.cs` file alongside a `{PROJECT}.cspro... | 6112c832cea4dffb9c663236ff23fcc3384ad85b | README.md | README.md | Markdown |
<|file_sep|>original/project/plugins.sbt
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.9.0")
addSbtPlugin("org.portable-scala" % ... | addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.0")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0... | <|file_sep|>original/project/plugins.sbt
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.9.0")
addSbtPlugin("org.portable-scala" % ... | 835b42fed8270dfd63f100a97c6f0c447be65e73 | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>original/composer.json
"license": "MIT",
"description": "A collection of action and filters for bootstrap based themes",
"homepage": "http://github.com/benignware/wp-bootstrap-hooks",
"authors": [
{
"name": "Rafael Nowrotek",
"email": "mail@benignware.com",
"homepage": "https:/... | "license": "MIT",
"description": "A collection of action and filters for bootstrap based themes",
"homepage": "http://github.com/benignware/wp-bootstrap-hooks",
"authors": [
{
"name": "Rafael Nowrotek",
"email": "mail@benignware.com",
"homepage": "https://github.com/benignware"
}
],
... | <|file_sep|>original/composer.json
"license": "MIT",
"description": "A collection of action and filters for bootstrap based themes",
"homepage": "http://github.com/benignware/wp-bootstrap-hooks",
"authors": [
{
"name": "Rafael Nowrotek",
"email": "mail@benignware.com",
"homepage": "https:/... | 714bc6dd114cb071504f0ecac88f8498a124493e | composer.json | composer.json | JSON |
<|file_sep|>src/AppBundle/Controller/DashboardController.php.diff
original:
updated:
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
<|file_sep|>original/src/AppBundle/Controller/DashboardController.php
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Contro... | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
/**
* Class DashboardControlle... | <|file_sep|>src/AppBundle/Controller/DashboardController.php.diff
original:
updated:
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
<|file_sep|>original/src/AppBundle/Controller/DashboardController.php
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Contro... | 965dd00fd6f9bfcccc87eeb503f8b2dd81c70e17 | src/AppBundle/Controller/DashboardController.php | src/AppBundle/Controller/DashboardController.php | PHP |
<|file_sep|>original/wercker.yml
box: dosomething/ds-docker-php
build:
steps:
- leipert/composer-install@0.9.1
- wercker/npm-install
- script:
name: build assets
code: npm run build
<|file_sep|>current/wercker.yml
box: dosomething/ds-docker-php
build:
steps:
- leipert... | box: dosomething/ds-docker-php
build:
steps:
- script:
name: install php extension
code: |-
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y php7.0-intl
- leipert/composer-install@0.9.1
- wercker/npm-install
- script:
... | <|file_sep|>original/wercker.yml
box: dosomething/ds-docker-php
build:
steps:
- leipert/composer-install@0.9.1
- wercker/npm-install
- script:
name: build assets
code: npm run build
<|file_sep|>current/wercker.yml
box: dosomething/ds-docker-php
build:
steps:
- leipert... | 6a6917705cced405828b35230f6545b51e2a9401 | wercker.yml | wercker.yml | YAML |
<|file_sep|>templates/index.html.diff
original:
updated:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
... | <body>
<h1>Unicode highlight</h1>
<p>
Enter your text and this app will highlight any unicode characters.
</p>
<form method="POST" action="/highlight">
<textarea name="content" rows="15" cols="80" placeholder="Your text here"></textarea>
<br>
<input type="submit" value="Highlight">
</form>
<... | <|file_sep|>templates/index.html.diff
original:
updated:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
... | b052601df7ab9608476ead7f73f9767bc95fbc76 | templates/index.html | templates/index.html | HTML |
<|file_sep|>partials/login.html.diff
original:
<flash-messages></flash-messages>
updated:
<|file_sep|>original/partials/login.html
<input ng-model="email" type="email" name="email" required class="input-block-level" placeholder="Email address">
<input ng-model="password" type="password" requir... | </form>
</form>
<div ng-show="form.uemail.$error.email" class="alert alert-error">
<strong>Error!</strong> Invalid email address
</div>
<div ng-show="failedLogin" class="alert alert-error">
<strong>Error!</strong> Unknown email address or invalid pas... | <|file_sep|>partials/login.html.diff
original:
<flash-messages></flash-messages>
updated:
<|file_sep|>original/partials/login.html
<input ng-model="email" type="email" name="email" required class="input-block-level" placeholder="Email address">
<input ng-model="password" type="password" requir... | de93aab29cef0f7141c9cf2140777cfdcd4708f2 | partials/login.html | partials/login.html | HTML |
<|file_sep|>djangocms_spa/apps.py.diff
original:
Select.render_spa = lambda self, field, initial: {
updated:
Select.render_spa = lambda self, field, initial=None: {
<|file_sep|>original/djangocms_spa/apps.py
CheckboxInput.render_spa = lambda self, field, initial: {
'items': get_seri... |
CheckboxInput.render_spa = lambda self, field, initial: {
'items': get_serialized_choices_for_field(field=field),
'type': 'checkbox',
'multiline': True,
}
RadioSelect.render_spa = lambda self, field, initial: {
'items': get_serialized_choices_for... | <|file_sep|>djangocms_spa/apps.py.diff
original:
Select.render_spa = lambda self, field, initial: {
updated:
Select.render_spa = lambda self, field, initial=None: {
<|file_sep|>original/djangocms_spa/apps.py
CheckboxInput.render_spa = lambda self, field, initial: {
'items': get_seri... | e3a63e686714e888f5c393924fb98e0eea70f8eb | djangocms_spa/apps.py | djangocms_spa/apps.py | Python |
<|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md | Choochoo
--------
Compose functions using method chaining syntax.
.---._
.--(. ' .).--. . .-.
. ( ' _) .)` ( .)-. ( ) '-'
( , ). `(' . _)
(') _________ '-'
____[_________] ____... | <|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md
Choochoo
--------
Compose functions using method chaining syntax.
.---._
.--(. ' .).--. . .-.
. ( ' _) .)` ( .)-. ( ) '-'
( , ). `(' . _)
... | baa5012c7513090a891fa3c528772d4b22377068 | README.md | README.md | Markdown |
<|file_sep|>original/circle.yml
machine:
services:
- docker
environment:
IMAGE_NAME: centurylink/watchtower
dependencies:
override:
- docker pull centurylink/golang-builder:latest
test:
override:
- docker run -v $(pwd):/src centurylink/golang-builder:latest --test
deployment:
hub:
branc... | machine:
services:
- docker
environment:
IMAGE_NAME: rosscado/watchtower
dependencies:
override:
- docker pull centurylink/golang-builder:latest
test:
override:
- docker run -v $(pwd):/src centurylink/golang-builder:latest --test
deployment:
hub:
branch: master
commands:
- doc... | <|file_sep|>original/circle.yml
machine:
services:
- docker
environment:
IMAGE_NAME: centurylink/watchtower
dependencies:
override:
- docker pull centurylink/golang-builder:latest
test:
override:
- docker run -v $(pwd):/src centurylink/golang-builder:latest --test
deployment:
hub:
branc... | 952e720807da0326537df4bf5faedbdfe19f1372 | circle.yml | circle.yml | YAML |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
jobs:
- job: 'Test'
pool:
vmImage: 'Ubuntu 16.04... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# ... | c347b39801c8183097115a3d7d51e436f6918069 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/public/locales/th/send.ftl
<|file_sep|>current/public/locales/th/send.ftl
<|file_sep|>updated/public/locales/th/send.ftl | # Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteFeedback = ข้อคิดเห็น
importingFile = กำลังนำเข้า…
encryptingFile = กำลังเข้ารหัส…
decryptingFile = กำลังถอดรหัส…
downloadCount =
{ $num ->
*[other] การดาวน์โหลด { $num } ครั้ง
}
timespanHours =
{ $num ->
*[ot... | <|file_sep|>original/public/locales/th/send.ftl
<|file_sep|>current/public/locales/th/send.ftl
<|file_sep|>updated/public/locales/th/send.ftl
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteFeedback = ข้อคิดเห็น
importingFile = กำลังนำเข้า…
encryptingFile = กำลังเข้ารหัส…
decrypti... | a60da467b9e8b94e9e5e4f1b21aee24f7c10b38b | public/locales/th/send.ftl | public/locales/th/send.ftl | FreeMarker |
<|file_sep|>original/spark.json
{
"name": "photon-wdgs",
"version": "0.0.1",
"author": "Someone <email@somesite.com>",
"license": "Choose a license",
"description": "Briefly describe this library"
}
<|file_sep|>current/spark.json
{
"name": "photon-wdgs",
"version": "0.0.1",
"author": "So... | {
"name": "photon-wdgs",
"version": "0.0.1",
"author": "stasheddragon",
"license": "MIT",
"description": "Library to employ independent and window watch dogs of STM32F205 for the Particle Photon."
} | <|file_sep|>original/spark.json
{
"name": "photon-wdgs",
"version": "0.0.1",
"author": "Someone <email@somesite.com>",
"license": "Choose a license",
"description": "Briefly describe this library"
}
<|file_sep|>current/spark.json
{
"name": "photon-wdgs",
"version": "0.0.1",
"author": "So... | 7b90cb5c81149463fd6df5a99648dc7b6beb5043 | spark.json | spark.json | JSON |
<|file_sep|>original/src/app/qmlvideofilter/QVideoFrameScopeMap.h
<|file_sep|>current/src/app/qmlvideofilter/QVideoFrameScopeMap.h
<|file_sep|>updated/src/app/qmlvideofilter/QVideoFrameScopeMap.h | #ifndef Q_VIDEO_FRAME_SCOPE_MAP
#define Q_VIDEO_FRAME_SCOPE_MAP 1
// TODO: move to QVideoFrameScope
struct QVideoFrameScopeMap
{
QVideoFrameScopeMap(QVideoFrame *frame, QAbstractVideoBuffer::MapMode mode) : frame(frame)
{
if(frame)
{
status = frame->map(mode);
if (!stat... | <|file_sep|>original/src/app/qmlvideofilter/QVideoFrameScopeMap.h
<|file_sep|>current/src/app/qmlvideofilter/QVideoFrameScopeMap.h
<|file_sep|>updated/src/app/qmlvideofilter/QVideoFrameScopeMap.h
#ifndef Q_VIDEO_FRAME_SCOPE_MAP
#define Q_VIDEO_FRAME_SCOPE_MAP 1
// TODO: move to QVideoFrameScope
struct QVideoFrameSc... | adbab433f0df9179cd0ce060e55c5e1b3f9f094b | src/app/qmlvideofilter/QVideoFrameScopeMap.h | src/app/qmlvideofilter/QVideoFrameScopeMap.h | C |
<|file_sep|>original/.scrutinizer.yml
before_commands:
- composer install --prefer-source --dev --optimize-autoloader --no-interaction
tools:
php_sim: true
php_cpd: false
# PHP Code Sniffer
php_code_sniffer:
config:
standard: PSR2
build:
tests:
override:
-
command: 'phpun... | tools:
php_sim: true
php_cpd: false
# PHP Code Sniffer
php_code_sniffer:
config:
standard: PSR2
build:
dependencies:
before:
- 'pecl install SPL_Types'
environment:
timezone: 'UTC'
tests:
override:
-
command: 'phpunit --coverage-clover=code_coverage.xml'
... | <|file_sep|>original/.scrutinizer.yml
before_commands:
- composer install --prefer-source --dev --optimize-autoloader --no-interaction
tools:
php_sim: true
php_cpd: false
# PHP Code Sniffer
php_code_sniffer:
config:
standard: PSR2
build:
tests:
override:
-
command: 'phpun... | a2faef4d0f9bf2b9268c41cfe0a6f48b9d494f3b | .scrutinizer.yml | .scrutinizer.yml | YAML |
<|file_sep|>tests/all_fixtures.js.diff
original:
updated:
* dir?: string,
<|file_sep|>tests/all_fixtures.js.diff
original:
updated:
dir: "scss_fail_on_error",
<|file_sep|>original/tests/all_fixtures.js
};
/* eslint-enable camelcase */
Object.keys(fixtureTests).forEach(key =>
{
test(`File: ${key}`, ... | status: 0,
},
};
/* eslint-enable camelcase */
Object.keys(fixtureTests).forEach(key =>
{
test(`File: ${key}`, t =>
{
let expected = fixtureTests[key];
let result = runKaba(expected.dir || key, expected.args || []);
let stdout = null !== result.stdout
? result.st... | <|file_sep|>tests/all_fixtures.js.diff
original:
updated:
* dir?: string,
<|file_sep|>tests/all_fixtures.js.diff
original:
updated:
dir: "scss_fail_on_error",
<|file_sep|>original/tests/all_fixtures.js
};
/* eslint-enable camelcase */
Object.keys(fixtureTests).forEach(key =>
{
test(`File: ${key}`, ... | 8beb97bf89aa32f674b108c81c19fd2a38c82e3d | tests/all_fixtures.js | tests/all_fixtures.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
updated:
language: ruby
<|file_sep|>original/.travis.yml
rvm:
- 1.9.2
- 1.9.3
- jruby-19mode
before_install:
- gem update --system
script: "bundle exec rspec"
jdk:
- openjdk6
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- jruby-19mode
before... | language: ruby
rvm:
- 1.9.3
- 1.9.2
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
- ruby-head
- jruby-head
- 1.8.7
before_install:
- gem update --system
script: "bundle exec rspec"
jdk:
- openjdk6 | <|file_sep|>.travis.yml.diff
original:
updated:
language: ruby
<|file_sep|>original/.travis.yml
rvm:
- 1.9.2
- 1.9.3
- jruby-19mode
before_install:
- gem update --system
script: "bundle exec rspec"
jdk:
- openjdk6
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- jruby-19mode
before... | 4b414e94454fe60531662999a7bae6b8f60e6874 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/omniauth/failure_endpoint.rb
def raise_out!
raise env['omniauth.error'] || OmniAuth::Error.new(env['omniauth.error.type'])
end
def redirect_to_failure
message_key = env['omniauth.error.type']
new_path = "#{env['SCRIPT_NAME']}#{OmniAuth.config.path_prefix}/failure?... | def raise_out!
raise env['omniauth.error'] || OmniAuth::Error.new(env['omniauth.error.type'])
end
def redirect_to_failure
message_key = env['omniauth.error.type']
new_path = "#{env['SCRIPT_NAME']}#{OmniAuth.config.path_prefix}/failure?message=#{message_key}#{origin_query_param}#{strategy_... | <|file_sep|>original/lib/omniauth/failure_endpoint.rb
def raise_out!
raise env['omniauth.error'] || OmniAuth::Error.new(env['omniauth.error.type'])
end
def redirect_to_failure
message_key = env['omniauth.error.type']
new_path = "#{env['SCRIPT_NAME']}#{OmniAuth.config.path_prefix}/failure?... | c0e7743b145a738af6e48e6d91a0e3f946f22bc7 | lib/omniauth/failure_endpoint.rb | lib/omniauth/failure_endpoint.rb | Ruby |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
trigger:
- master
pool:
vmImage: 'VS2017-Win2016'
variables:
solution: '**/*.sln'
... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devo... | cf3f2130b129765bedec43abdf971ea32ba31c93 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/ci/pipelines/stemcell/tasks/deploy-director.yml
---
platform: linux
image_resource:
type: docker-image
source:
repository: bosh/main
inputs:
- name: bosh-src
- name: bosh-release
- name: cpi-release
- name: stemcell
- name: bosh-cli
outputs:
- name: director-state
run:
path... | ---
platform: linux
image_resource:
type: docker-image
source:
repository: bosh/main-ruby-go
inputs:
- name: bosh-src
- name: bosh-release
- name: cpi-release
- name: stemcell
- name: bosh-cli
outputs:
- name: director-state
run:
path: bosh-src/ci/pipelines/stemcell/tasks/deploy-director.sh
pa... | <|file_sep|>original/ci/pipelines/stemcell/tasks/deploy-director.yml
---
platform: linux
image_resource:
type: docker-image
source:
repository: bosh/main
inputs:
- name: bosh-src
- name: bosh-release
- name: cpi-release
- name: stemcell
- name: bosh-cli
outputs:
- name: director-state
run:
path... | 4f37e691f31f947f571df0bb0f5674681bd48ce8 | ci/pipelines/stemcell/tasks/deploy-director.yml | ci/pipelines/stemcell/tasks/deploy-director.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.