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|>migrations/2_deploy_contracts.js.diff
original:
// This does not seem to write all contract address into build/contracts/*json
// module.exports = async function(deployer) {
// if (deployer.network == 'test' || config.invitation) {
// await deployer.deploy(InvitationRepository);
// invitationAddre... | if (yargs.argv.config) {
var config = JSON.parse(yargs.argv.config);
}
module.exports = function(deployer) {
deployer
.then(() => {
if (deployer.network == 'test' || config.invitation) {
return deployer.deploy(InvitationRepository)
.then(instance => invitationAddress = InvitationReposit... | <|file_sep|>migrations/2_deploy_contracts.js.diff
original:
// This does not seem to write all contract address into build/contracts/*json
// module.exports = async function(deployer) {
// if (deployer.network == 'test' || config.invitation) {
// await deployer.deploy(InvitationRepository);
// invitationAddre... | 9080d53e541065b1a7caabc2f69c26afefd03198 | migrations/2_deploy_contracts.js | migrations/2_deploy_contracts.js | JavaScript |
<|file_sep|>original/configuration/config_flags.go
import (
"flag"
"time"
)
// parseConfigFlags overwrites configuration with set flags
func parseConfigFlags(Conf *SplendidConfig) (*SplendidConfig, error) {
// TODO: This should only happen if the flag has been passed
flag.StringVar(&Conf.Workspace, "w", "./splendi... | package configuration
import (
"flag"
"time"
)
// parseConfigFlags overwrites configuration with set flags
func parseConfigFlags(Conf *SplendidConfig) (*SplendidConfig, error) {
// Set to passed flags, otherwise go with config
flag.IntVar(&Conf.Concurrency, "c", Conf.Concurrency, "Number of collector processes")
... | <|file_sep|>original/configuration/config_flags.go
import (
"flag"
"time"
)
// parseConfigFlags overwrites configuration with set flags
func parseConfigFlags(Conf *SplendidConfig) (*SplendidConfig, error) {
// TODO: This should only happen if the flag has been passed
flag.StringVar(&Conf.Workspace, "w", "./splendi... | 7f956da3f46268dc33006bb3222f8cf1213d2e84 | configuration/config_flags.go | configuration/config_flags.go | Go |
<|file_sep|>README.md.diff
original:
EVEnado is an asynchronous EVE API library. It automatically caches all API responses (including error responses) for the minimum allowed time. The cache system is pluggable, and EVEnado comes with a Redis implementation.
updated:
EVEnado is an asynchronous EVE API library. It autom... | from evenado.sqlite import SqliteCacheProvider
from tornado import gen, ioloop
@gen.coroutine
def async_main():
client = APIClient(SqliteProvider(), keyid=..., vcode=...)
for char in (yield client.characters()):
print char.name
if __name__ == '__main__':
ioloop.IOLoop.instance().run_sync(async_mai... | <|file_sep|>README.md.diff
original:
EVEnado is an asynchronous EVE API library. It automatically caches all API responses (including error responses) for the minimum allowed time. The cache system is pluggable, and EVEnado comes with a Redis implementation.
updated:
EVEnado is an asynchronous EVE API library. It autom... | 16c39543dd2561754590a1f37583d2b3aefff4db | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>original/.travis.yml
sudo: false
language: python
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: pypy
env: TOXENV=pypy
- python: 3.5
env: TOXENV=py35
- python: 2.7
env: TOXENV=style
- pyt... | dist: trusty
sudo: false
group: beta
language: python
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: pypy
env: TOXENV=pypy
- python: 3.5
env: TOXENV=py35
- python: 2.7
env: TOXENV=style
- python: 2.7
env: TOXENV=readme
install: pip install tox
| <|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>original/.travis.yml
sudo: false
language: python
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: pypy
env: TOXENV=pypy
- python: 3.5
env: TOXENV=py35
- python: 2.7
env: TOXENV=style
- pyt... | 3190b8266777aeca3b29bc0f82cf663c40f1380d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test/NotifierTest.h
};
~NotifierTest() {
}
protected:
virtual void SetUp() {
};
virtual void TearDown() {
FileIO::RemoveFileAsRoot(notifierIPCPath);
FileIO::RemoveFileAsRoot(handshakeIPCPath);
zctx_interrupted = false;
};
private:
const std::string not... | };
~NotifierTest() {
}
protected:
virtual void SetUp() {
};
virtual void TearDown() {
FileIO::RemoveFile(notifierIPCPath);
FileIO::RemoveFile(handshakeIPCPath);
zctx_interrupted = false;
};
private:
const std::string notifierIPCPath = "/tmp/RestartServicesQueue.ipc";
co... | <|file_sep|>original/test/NotifierTest.h
};
~NotifierTest() {
}
protected:
virtual void SetUp() {
};
virtual void TearDown() {
FileIO::RemoveFileAsRoot(notifierIPCPath);
FileIO::RemoveFileAsRoot(handshakeIPCPath);
zctx_interrupted = false;
};
private:
const std::string not... | da663dd03d71768b4b58c0ac2c1ec7b7513b3ef8 | test/NotifierTest.h | test/NotifierTest.h | C |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- node
after_script:
- npm run codecov
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- node
after_script:
- npm run codecov
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "9"
after_script:
- npm run codecov | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- node
after_script:
- npm run codecov
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- node
after_script:
- npm run codecov
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "9"
after_script:
- npm run codecov | 5f379f8db1d7eaed865d0087d10b463ff827348d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_posts/2022-1-5-material-for-new-developers.md
<|file_sep|>current/_posts/2022-1-5-material-for-new-developers.md
<|file_sep|>updated/_posts/2022-1-5-material-for-new-developers.md | ---
layout: post
title: Material for (new) developers
excerpt: Collection of books, links and videos that can be helpful for new developers.
---
Collection of books, links and videos that can be helpful for new developers.
### Books, links and videos
Technical and non technical tips and guides. These can help you be... | <|file_sep|>original/_posts/2022-1-5-material-for-new-developers.md
<|file_sep|>current/_posts/2022-1-5-material-for-new-developers.md
<|file_sep|>updated/_posts/2022-1-5-material-for-new-developers.md
---
layout: post
title: Material for (new) developers
excerpt: Collection of books, links and videos that can be hel... | 2f518b9bde0d11050cbf3b1359408ce97ba20ba8 | _posts/2022-1-5-material-for-new-developers.md | _posts/2022-1-5-material-for-new-developers.md | Markdown |
<|file_sep|>original/jest.config.js
]);
}
// eslint-disable-next-line import/no-commonjs
module.exports = {
testMatch: ['<rootDir>/spec/frontend/**/*_spec.js'],
moduleFileExtensions: ['js', 'json', 'vue'],
moduleNameMapper: {
'^~(.*)$': '<rootDir>/app/assets/javascripts$1',
'^helpers(.*)$': '<rootDir>/... | ]);
}
// eslint-disable-next-line import/no-commonjs
module.exports = {
testMatch: ['<rootDir>/spec/frontend/**/*_spec.js'],
moduleFileExtensions: ['js', 'json', 'vue'],
moduleNameMapper: {
'^~(.*)$': '<rootDir>/app/assets/javascripts$1',
'^helpers(.*)$': '<rootDir>/spec/frontend/helpers$1',
'^vend... | <|file_sep|>original/jest.config.js
]);
}
// eslint-disable-next-line import/no-commonjs
module.exports = {
testMatch: ['<rootDir>/spec/frontend/**/*_spec.js'],
moduleFileExtensions: ['js', 'json', 'vue'],
moduleNameMapper: {
'^~(.*)$': '<rootDir>/app/assets/javascripts$1',
'^helpers(.*)$': '<rootDir>/... | 948df0e383d4d39f74e75e5c3b42b08f54eb82af | jest.config.js | jest.config.js | JavaScript |
<|file_sep|>original/.travis.yml
python:
- "2.7"
- "3.5"
addons:
postgresql: "9.4"
services:
- postgresql
branches:
only:
- master
env:
global:
- SECRET_KEY="SecretKeyForTravisCI"
- DATABASE_URL="postgis://postgres@localhost:5432/travis_ci_test"
- AZUREAD_AUTHORIT... | python:
- "2.7"
- "3.5"
addons:
postgresql: "9.4"
services:
- postgresql
branches:
only:
- master
- prod-oldui
env:
global:
- SECRET_KEY="SecretKeyForTravisCI"
- DATABASE_URL="postgis://postgres@localhost:5432/travis_ci_test"
- AZUREAD_AUTHORITY="https://l... | <|file_sep|>original/.travis.yml
python:
- "2.7"
- "3.5"
addons:
postgresql: "9.4"
services:
- postgresql
branches:
only:
- master
env:
global:
- SECRET_KEY="SecretKeyForTravisCI"
- DATABASE_URL="postgis://postgres@localhost:5432/travis_ci_test"
- AZUREAD_AUTHORIT... | 8cc7bde8d4969dd46f0c599281048dbcb7cc8796 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/startup.sh
#!/bin/bash
sh /setup.sh
IP_ADDRESS=`ifconfig eth0 | grep inet | grep -oP "\\d+.\\d+.\\d+.\\d+" | head -n 1`
CMD_OPTS=""
if [[ $IEX_NAME ]]
then
NODE_NAME=`echo "$IEX_NAME" | sed -e "s/@ip/@$IP_ADDRESS/"`
CMD_OPTS="$CMD_OPTS --name $NODE_NAME"
fi
if [[ $IEX_COOKIE ]]
then
... | #!/bin/bash
sh /setup.sh
IP_ADDRESS=`ifconfig eth0 | grep inet | grep -oP "\\d+.\\d+.\\d+.\\d+" | head -n 1`
CMD_OPTS=""
if [[ $IEX_NAME ]]
then
NODE_NAME=`echo "$IEX_NAME" | sed -e "s/@ip/@$IP_ADDRESS/"`
CMD_OPTS="$CMD_OPTS --name $NODE_NAME"
fi
if [[ $IEX_COOKIE ]]
then
CMD_OPTS="$CMD_OPTS --cookie $I... | <|file_sep|>original/startup.sh
#!/bin/bash
sh /setup.sh
IP_ADDRESS=`ifconfig eth0 | grep inet | grep -oP "\\d+.\\d+.\\d+.\\d+" | head -n 1`
CMD_OPTS=""
if [[ $IEX_NAME ]]
then
NODE_NAME=`echo "$IEX_NAME" | sed -e "s/@ip/@$IP_ADDRESS/"`
CMD_OPTS="$CMD_OPTS --name $NODE_NAME"
fi
if [[ $IEX_COOKIE ]]
then
... | a0f0827c9b45382497fa2c8cc2941b35faf54258 | startup.sh | startup.sh | Shell |
<|file_sep|>original/docs/SharedFramework.md
<|file_sep|>current/docs/SharedFramework.md
<|file_sep|>updated/docs/SharedFramework.md | ASP.NET Core Shared Framework
=============================
Guidance on on developing the ASP.NET Core shared framework (`Microsoft.AspNetCore.App`).
### What goes into the base framework?
The ASP.NET Core shared framework, Microsoft.AspNetCore.App, will contain assemblies that are fully developed, supported, and se... | <|file_sep|>original/docs/SharedFramework.md
<|file_sep|>current/docs/SharedFramework.md
<|file_sep|>updated/docs/SharedFramework.md
ASP.NET Core Shared Framework
=============================
Guidance on on developing the ASP.NET Core shared framework (`Microsoft.AspNetCore.App`).
### What goes into the base frame... | 4e44e5bcbedd961cc0d4f6b846699c7c494f5597 | docs/SharedFramework.md | docs/SharedFramework.md | Markdown |
<|file_sep|>board.rb.diff
original:
require_relative 'piece' #update accordingly
updated:
require_relative 'pieces' #update accordingly
<|file_sep|>original/board.rb
4 => King.new(:w)
5 => Bishop.new(:w)
6 => Knight.new(:w)
7 => Rook.new(:w)
8..15 => Pawn.new(:w)
16..47 => nil
... |
48..55 => Pawn.new(:b)
56 => Rook.new(:b)
57 => Knight.new(:b)
58 => Bishop.new(:b)
59 => Queen.new(:b)
60 => King.new(:b)
61 => Bishop.new(:b)
62 => Knight.new(:b)
63 => Rook.new(:b)
}
end
def in_check?
valid_moves = []
@board.each do |position, p... | <|file_sep|>board.rb.diff
original:
require_relative 'piece' #update accordingly
updated:
require_relative 'pieces' #update accordingly
<|file_sep|>original/board.rb
4 => King.new(:w)
5 => Bishop.new(:w)
6 => Knight.new(:w)
7 => Rook.new(:w)
8..15 => Pawn.new(:w)
16..47 => nil
... | 557cace569e8bc931d4ad197bfded213ca7ace4f | board.rb | board.rb | Ruby |
<|file_sep|>original/.github/ISSUE_TEMPLATE/config.yml
blank_issues_enabled: false
contact_links:
- name: 🙋 Ask questions on Stack Overflow (prefered)
url: https://stackoverflow.com/questions/tagged/wagtail
about: Ask structured and fully-formed questions about Wagtail or about building a site with Wagtail
... | blank_issues_enabled: false
contact_links:
- name: 🙋 Ask questions on Stack Overflow (preferred)
url: https://stackoverflow.com/questions/tagged/wagtail
about: Ask structured and fully-formed questions about Wagtail or about building a site with Wagtail
- name: 🙋 Ask questions on Slack
url: https://gi... | <|file_sep|>original/.github/ISSUE_TEMPLATE/config.yml
blank_issues_enabled: false
contact_links:
- name: 🙋 Ask questions on Stack Overflow (prefered)
url: https://stackoverflow.com/questions/tagged/wagtail
about: Ask structured and fully-formed questions about Wagtail or about building a site with Wagtail
... | 9735a22bd5965819f5dbb7e48498b695f006fcd4 | .github/ISSUE_TEMPLATE/config.yml | .github/ISSUE_TEMPLATE/config.yml | YAML |
<|file_sep|>original/vagrant/tournament/generate_tournament.py
<|file_sep|>current/vagrant/tournament/generate_tournament.py
<|file_sep|>updated/vagrant/tournament/generate_tournament.py | import random
from tournament import connect
from tournament import reportMatch
from tournament_test import testDelete
the_players = [
(1, 'Jeff'),
(2, 'Adarsh'),
(3, 'Amanda'),
(4, 'Eduardo'),
(5, 'Philip'),
(6, 'Jee')
]
def registerPlayerUpdated(name):
"""Add a player to the tourname... | <|file_sep|>original/vagrant/tournament/generate_tournament.py
<|file_sep|>current/vagrant/tournament/generate_tournament.py
<|file_sep|>updated/vagrant/tournament/generate_tournament.py
import random
from tournament import connect
from tournament import reportMatch
from tournament_test import testDelete
the_play... | c34f6bf526049be86e6cff713986bf25645f5223 | vagrant/tournament/generate_tournament.py | vagrant/tournament/generate_tournament.py | Python |
<|file_sep|>original/README.md
# PHP-CFG
A Control-Flow-Graph implementation in Pure PHP.
## Usage
To bootstrap the parser, you need to give it a `PhpParser` instance:
```php
$parser = new PHPCfg\Parser(
new PhpParser\Parser(new PhpParser\Lexer)
);
```
Then, just call parse on a block of code, giving it a filen... | ](https://travis-ci.org/ircmaxell/php-cfg)
# PHP-CFG
A Control-Flow-Graph implementation in Pure PHP.
## Usage
To bootstrap the parser, you need to give it a `PhpParser` instance:
```php
$parser = new PHPCfg\Parser(
new PhpParser\Parser(new PhpParser\... | <|file_sep|>original/README.md
# PHP-CFG
A Control-Flow-Graph implementation in Pure PHP.
## Usage
To bootstrap the parser, you need to give it a `PhpParser` instance:
```php
$parser = new PHPCfg\Parser(
new PhpParser\Parser(new PhpParser\Lexer)
);
```
Then, just call parse on a block of code, giving it a filen... | ccd429503f22859b7cc773464ecc051dc980aacd | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.0.0
- 2.1.10
- 2.2.9
- 2.3.6
- 2.4.3
- ruby-head
before_install:
- stty cols 160
- gem install bundler -v 1.15.4
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- 2.0.0
- 2.1.10
- 2.2.9
- 2.3.6
- 2.4.3
- rub... | sudo: false
language: ruby
rvm:
- 2.0.0
- 2.1.10
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
- ruby-head
before_install:
- stty cols 160
- gem install bundler -v 1.15.4 | <|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.0.0
- 2.1.10
- 2.2.9
- 2.3.6
- 2.4.3
- ruby-head
before_install:
- stty cols 160
- gem install bundler -v 1.15.4
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- 2.0.0
- 2.1.10
- 2.2.9
- 2.3.6
- 2.4.3
- rub... | fe5bd9342965f33aec16a5efd2e4ad1eec6f8bf7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/views/layouts/application.html.erb.diff
original:
<title>Portfolio</title>
updated:
<title>Zach Newburgh</title>
<|file_sep|>app/views/layouts/application.html.erb.diff
original:
updated:
<%= javascript_include_tag 'application' %>
<|file_sep|>original/app/views/layouts/application.html.erb... | <!DOCTYPE html>
<html>
<head>
<title>Zach Newburgh</title>
<%= csrf_meta_tags %>
<%= javascript_include_tag 'application' %>
<%= stylesheet_link_tag 'application', media: 'all' %>
</head>
<body>
<%= yield %>
</body>
</html> | <|file_sep|>app/views/layouts/application.html.erb.diff
original:
<title>Portfolio</title>
updated:
<title>Zach Newburgh</title>
<|file_sep|>app/views/layouts/application.html.erb.diff
original:
updated:
<%= javascript_include_tag 'application' %>
<|file_sep|>original/app/views/layouts/application.html.erb... | ce6fa508145733ccaeded2fa20714cfebb26d89d | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/core/core-workgroups.el
;;; core-workgroups.el
;; see lib/workgroup-defuns.el
(use-package workgroups2
:init
(setq wg-session-file (! (expand-file-name "wg-default" narf-temp-dir))
wg-workgroup-directory (! (expand-file-name "workgroups" narf-temp-dir))
wg-first-wg-n... | ;;; core-workgroups.el
;; see lib/workgroup-defuns.el
(use-package workgroups2
:when window-system
:init
(setq wg-session-file (! (expand-file-name "wg-default" narf-temp-dir))
wg-workgroup-directory (! (expand-file-name "workgroups" narf-temp-dir))
wg-first-wg-name "main"
... | <|file_sep|>original/core/core-workgroups.el
;;; core-workgroups.el
;; see lib/workgroup-defuns.el
(use-package workgroups2
:init
(setq wg-session-file (! (expand-file-name "wg-default" narf-temp-dir))
wg-workgroup-directory (! (expand-file-name "workgroups" narf-temp-dir))
wg-first-wg-n... | 41efd16a62a2f91478749455c8c4a174e39ada60 | core/core-workgroups.el | core/core-workgroups.el | Emacs Lisp |
<|file_sep|>packages/cd/cdeps.yaml.diff
original:
hash: 9075959b6929e46867c138fb66b3d23ab16c5db3b07ad4181ea1b41eb246d14e
updated:
hash: 5d6cb4fa04a97c66c0c3e0362c90d393aeef5e12cb1cc130d9dd485fe68351e4
<|file_sep|>original/packages/cd/cdeps.yaml
hash: 9075959b6929e46867c138fb66b3d23ab16c5db3b07ad4181ea1b41eb246d14e
test... | hash: 5d6cb4fa04a97c66c0c3e0362c90d393aeef5e12cb1cc130d9dd485fe68351e4
test-bench-deps:
base: -any
hspec: -any
cdeps: -any
maintainer: vamchale@gmail.com
synopsis: Extract dependencies from C code.
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.11 && <5'
text: -any
filepath: -any
array: -any
... | <|file_sep|>packages/cd/cdeps.yaml.diff
original:
hash: 9075959b6929e46867c138fb66b3d23ab16c5db3b07ad4181ea1b41eb246d14e
updated:
hash: 5d6cb4fa04a97c66c0c3e0362c90d393aeef5e12cb1cc130d9dd485fe68351e4
<|file_sep|>original/packages/cd/cdeps.yaml
hash: 9075959b6929e46867c138fb66b3d23ab16c5db3b07ad4181ea1b41eb246d14e
test... | 3fe38ee9c67182d0449fae7317e096ebe2a1f53c | packages/cd/cdeps.yaml | packages/cd/cdeps.yaml | YAML |
<|file_sep|>recipes/conda-build-all/meta.yaml.diff
original:
{% set version = "1.0.1" %}
updated:
{% set version = "1.0.4" %}
<|file_sep|>recipes/conda-build-all/meta.yaml.diff
original:
url: https://github.com/SciTools/conda-build-all/archive/v{{version}}.tar.gz
sha256: 1e34102f9055ce99500ce8ec87933d46a482cd20... | - setuptools
run:
- python
- gitpython
- conda >4
- conda-build >=1.21.7
- anaconda-client
- mock
test:
imports:
- conda_build_all
commands:
- conda build-all --version
about:
license: BSD 3-clause
license_file: LICENSE
home: https://github.com/conda-tools/conda-build-... | <|file_sep|>recipes/conda-build-all/meta.yaml.diff
original:
{% set version = "1.0.1" %}
updated:
{% set version = "1.0.4" %}
<|file_sep|>recipes/conda-build-all/meta.yaml.diff
original:
url: https://github.com/SciTools/conda-build-all/archive/v{{version}}.tar.gz
sha256: 1e34102f9055ce99500ce8ec87933d46a482cd20... | a5fbd9882db40e7c3756a26f165fc0094b4e541f | recipes/conda-build-all/meta.yaml | recipes/conda-build-all/meta.yaml | YAML |
<|file_sep|>original/app/views/partials/ctas/_live-report.html.erb
<section class="cta--<%= cta_live_report.css_class %> bg--grey-xdark">
<div class="container cta__container">
<div class="cta__content">
<% if cta_live_report.updated %>
<span class="cta__ribbon"><%= t('global.status.updated') %></sp... | <section class="cta--<%= cta_live_report.css_class %> bg--grey-xdark">
<div class="container cta__container">
<div class="cta__content">
<% if cta_live_report.updated %>
<span class="cta__ribbon"><%= t('global.status.updated') %></span>
<% end %>
<div>
<h2 class="cta__title h2-b... | <|file_sep|>original/app/views/partials/ctas/_live-report.html.erb
<section class="cta--<%= cta_live_report.css_class %> bg--grey-xdark">
<div class="container cta__container">
<div class="cta__content">
<% if cta_live_report.updated %>
<span class="cta__ribbon"><%= t('global.status.updated') %></sp... | b28f999dd82766fec1b8368654789cfe0088d0f8 | app/views/partials/ctas/_live-report.html.erb | app/views/partials/ctas/_live-report.html.erb | HTML+ERB |
<|file_sep|>original/README.md
- [.NET Core SDK v1.1](https://www.microsoft.com/net/download/core#/current)
- [Heroku Toolbelt](https://toolbelt.heroku.com/) (to authenticate with the Docker registry hosted by Heroku)
- [Docker Toolbox](https://docker.com/toolbox) (to build the images and push to a registry)
## Up and... | ## Up and Running
```sh
git clone git@github.com:jyunderwood/HeroicHaiku.git
cd HeroicHaiku
heroku create name-of-your-application
docker login --username=_ --password=$(heroku auth:token) registry.heroku.com
dotnet publish
docker build bin/Debug/netcoreapp1.1/publish -t name-of-your-application
docker tag name-of-... | <|file_sep|>original/README.md
- [.NET Core SDK v1.1](https://www.microsoft.com/net/download/core#/current)
- [Heroku Toolbelt](https://toolbelt.heroku.com/) (to authenticate with the Docker registry hosted by Heroku)
- [Docker Toolbox](https://docker.com/toolbox) (to build the images and push to a registry)
## Up and... | a087fe4d98eedfb4e18a22f6c4848a8dd891b547 | README.md | README.md | Markdown |
<|file_sep|>original/wiki/FitNesseRoot/HsacAcceptanceTests/SlimTests/BrowserTest/RichFacesTest.wiki
---
Help: Test support for RichFaces Ajax (disabled because Richfaces showcase site is too unreliable/slow)
---
Unfortunately we can't check with local server (since we don't want to set up all javascript dependencies).
... | ---
Help: Test support for RichFaces Ajax
---
Unfortunately we can't check with local server (since we don't want to set up all javascript dependencies).
We ensure we can properly wait for richfaces ajax to render elements.
|script |rich faces test ... | <|file_sep|>original/wiki/FitNesseRoot/HsacAcceptanceTests/SlimTests/BrowserTest/RichFacesTest.wiki
---
Help: Test support for RichFaces Ajax (disabled because Richfaces showcase site is too unreliable/slow)
---
Unfortunately we can't check with local server (since we don't want to set up all javascript dependencies).
... | c4005b8520e5737ce554e636e2fd08285ac7af28 | wiki/FitNesseRoot/HsacAcceptanceTests/SlimTests/BrowserTest/RichFacesTest.wiki | wiki/FitNesseRoot/HsacAcceptanceTests/SlimTests/BrowserTest/RichFacesTest.wiki | MediaWiki |
<|file_sep|>original/extras/deploy_settings_local.sh
#!/usr/bin/env bash
APPENGINE_INSTANCE=local
SETTINGS_MODULE="development app_engine ggrc_basic_permissions.settings.development ggrc_risks.settings.development ggrc_risk_assessments.settings.development ggrc_workflows.settings.development"
DATABASE_URI='mysql+mysql... | #!/usr/bin/env bash
APPENGINE_INSTANCE=local
SETTINGS_MODULE="development app_engine ggrc_basic_permissions.settings.development ggrc_risks.settings.development ggrc_risk_assessments.settings.development ggrc_workflows.settings.development"
DATABASE_URI="mysql+mysqldb://root:root@${GGRC_DATABASE_HOST:-localhost}/ggrcd... | <|file_sep|>original/extras/deploy_settings_local.sh
#!/usr/bin/env bash
APPENGINE_INSTANCE=local
SETTINGS_MODULE="development app_engine ggrc_basic_permissions.settings.development ggrc_risks.settings.development ggrc_risk_assessments.settings.development ggrc_workflows.settings.development"
DATABASE_URI='mysql+mysql... | 8cd19ca0e702fef2a73198d736d61b87f9b893c1 | extras/deploy_settings_local.sh | extras/deploy_settings_local.sh | Shell |
<|file_sep|>lib/rubocop/cop/style/send.rb.diff
original:
updated:
def_node_matcher :sending?, '(send _ :send $...)'
<|file_sep|>original/lib/rubocop/cop/style/send.rb
# frozen_string_literal: true
module RuboCop
module Cop
module Style
# This cop checks for the use of the send method.
class... |
module RuboCop
module Cop
module Style
# This cop checks for the use of the send method.
class Send < Cop
MSG = 'Prefer `Object#__send__` or `Object#public_send` to ' \
'`send`.'.freeze
def_node_matcher :sending?, '(send _ :send $...)'
def on_send(node)
... | <|file_sep|>lib/rubocop/cop/style/send.rb.diff
original:
updated:
def_node_matcher :sending?, '(send _ :send $...)'
<|file_sep|>original/lib/rubocop/cop/style/send.rb
# frozen_string_literal: true
module RuboCop
module Cop
module Style
# This cop checks for the use of the send method.
class... | 6907b13320493b334dc60a1a7687fc381f1f3740 | lib/rubocop/cop/style/send.rb | lib/rubocop/cop/style/send.rb | Ruby |
<|file_sep|>app/src/main/res/layout/list_item_contact.xml.diff
original:
android:padding="16dp"
updated:
<|file_sep|>app/src/main/res/layout/list_item_contact.xml.diff
original:
android:layout_width="60dp"
android:layout_height="wrap_content">
updated:
android:layout_width="72dp"
an... | android:gravity="center_vertical"
android:orientation="horizontal">
<FrameLayout
android:layout_width="72dp"
android:layout_height="72dp">
<ImageView
android:id="@+id/list_item_contact_image"
android:layout_gravity="center"
android:layout_width="... | <|file_sep|>app/src/main/res/layout/list_item_contact.xml.diff
original:
android:padding="16dp"
updated:
<|file_sep|>app/src/main/res/layout/list_item_contact.xml.diff
original:
android:layout_width="60dp"
android:layout_height="wrap_content">
updated:
android:layout_width="72dp"
an... | b21a751c02a77a72170915dda1677be45184adb2 | app/src/main/res/layout/list_item_contact.xml | app/src/main/res/layout/list_item_contact.xml | XML |
<|file_sep|>appveyor.yml.diff
original:
updated:
generator:
<|file_sep|>appveyor.yml.diff
original:
- msbuild /m:4 FORMAT.sln
updated:
- ps: |
if ($env:build -eq "mingw") {
mingw32-make -j4
} else {
msbuild /m:4 FORMAT.sln
}
<|file_sep|>original/appveyor.yml
# Install MinGW.... | - cmake -DFMT_EXTRA_TESTS=ON $generator .
build_script:
- ps: |
if ($env:build -eq "mingw") {
mingw32-make -j4
} else {
msbuild /m:4 FORMAT.sln
}
test_script:
- ps: |
if ($env:build -eq "mingw") {
mingw32-make test
} else {
msbuild RUN_TESTS.vcxproj
... | <|file_sep|>appveyor.yml.diff
original:
updated:
generator:
<|file_sep|>appveyor.yml.diff
original:
- msbuild /m:4 FORMAT.sln
updated:
- ps: |
if ($env:build -eq "mingw") {
mingw32-make -j4
} else {
msbuild /m:4 FORMAT.sln
}
<|file_sep|>original/appveyor.yml
# Install MinGW.... | b1c89e37bf8099fb0db2149afc134375b7c557dc | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/app/src/main/res/layout/login_fragment.xml
specific language governing permissions and limitations under the License.
-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
... | OR CONDITIONS OF ANY KIND, either express or implied. See the License for
specific language governing permissions and limitations under the License.
-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="ma... | <|file_sep|>original/app/src/main/res/layout/login_fragment.xml
specific language governing permissions and limitations under the License.
-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
... | 71d9c73173a8aca70cee21a7b33d7664aad26804 | app/src/main/res/layout/login_fragment.xml | app/src/main/res/layout/login_fragment.xml | XML |
<|file_sep|>original/utils/lit/lit/ExampleTests/ManyTests/lit.local.cfg
<|file_sep|>current/utils/lit/lit/ExampleTests/ManyTests/lit.local.cfg
<|file_sep|>updated/utils/lit/lit/ExampleTests/ManyTests/lit.local.cfg | # -*- Python -*-
Test = lit.Test
class ManyTests(object):
def __init__(self, N=10000):
self.N = N
def getTestsInDirectory(self, testSuite, path_in_suite,
litConfig, localConfig):
for i in range(self.N):
test_name = 'test-%04d' % (i,)
yield T... | <|file_sep|>original/utils/lit/lit/ExampleTests/ManyTests/lit.local.cfg
<|file_sep|>current/utils/lit/lit/ExampleTests/ManyTests/lit.local.cfg
<|file_sep|>updated/utils/lit/lit/ExampleTests/ManyTests/lit.local.cfg
# -*- Python -*-
Test = lit.Test
class ManyTests(object):
def __init__(self, N=10000):
sel... | d7956f1feb27db8f908cab7e029e9f2e3359458e | utils/lit/lit/ExampleTests/ManyTests/lit.local.cfg | utils/lit/lit/ExampleTests/ManyTests/lit.local.cfg | INI |
<|file_sep|>original/circle.yml
test:
pre:
- mkdir -p $CIRCLE_TEST_REPORTS/nose
override:
- python setup.py nosetests --with-xunit --xunit-file $CIRCLE_TEST_REPORTS/nose/tests.xml
<|file_sep|>current/circle.yml
test:
pre:
- mkdir -p $CIRCLE_TEST_REPORTS/nose
override:
- p... | machine:
python:
version: 3.4.2
test:
pre:
- mkdir -p $CIRCLE_TEST_REPORTS/nose
override:
- python setup.py nosetests --with-xunit --xunit-file $CIRCLE_TEST_REPORTS/nose/tests.xml | <|file_sep|>original/circle.yml
test:
pre:
- mkdir -p $CIRCLE_TEST_REPORTS/nose
override:
- python setup.py nosetests --with-xunit --xunit-file $CIRCLE_TEST_REPORTS/nose/tests.xml
<|file_sep|>current/circle.yml
test:
pre:
- mkdir -p $CIRCLE_TEST_REPORTS/nose
override:
- p... | 85447fb42866601e8bae022402aceede3f098f37 | circle.yml | circle.yml | YAML |
<|file_sep|>original/src/api/post-photoset-bulk-reorder.ts
import * as request from 'superagent'
import { getLogger } from '../services/log'
import * as API from './types/api'
const debugPostPhotosetBulkReorder = getLogger('/api/post-photoset-bulk-reorder.ts').debug
export function postPhotosetBulkReorder(
ns... | import { getLogger } from '../services/log'
import * as API from './types/api'
const debugPostPhotosetBulkReorder = getLogger('/api/post-photoset-bulk-reorder.ts').debug
export function postPhotosetBulkReorder(
nsid: string,
setIds: string[],
orderBy: API.IOrderByOption,
isDesc: boolean,
token: string,... | <|file_sep|>original/src/api/post-photoset-bulk-reorder.ts
import * as request from 'superagent'
import { getLogger } from '../services/log'
import * as API from './types/api'
const debugPostPhotosetBulkReorder = getLogger('/api/post-photoset-bulk-reorder.ts').debug
export function postPhotosetBulkReorder(
ns... | 6414d8619e1f8889aea4c094717c3d3454a0ef4a | src/api/post-photoset-bulk-reorder.ts | src/api/post-photoset-bulk-reorder.ts | TypeScript |
<|file_sep|>original/packages/lesswrong/components/questions/PostsPageQuestionContent.tsx
const MAX_ANSWERS_QUERIED = 100
const PostsPageQuestionContent = ({post, refetch}: {
post: PostsWithNavigation|PostsWithNavigationAndRevision,
refetch: any,
}) => {
const currentUser = useCurrentUser();
const { AnswersLis... | const MAX_ANSWERS_QUERIED = 100
const PostsPageQuestionContent = ({post, refetch}: {
post: PostsWithNavigation|PostsWithNavigationAndRevision,
refetch: any,
}) => {
const currentUser = useCurrentUser();
const { AnswersList, NewAnswerCommentQuestionForm, CantCommentExplanation, RelatedQuestionsList } = Componen... | <|file_sep|>original/packages/lesswrong/components/questions/PostsPageQuestionContent.tsx
const MAX_ANSWERS_QUERIED = 100
const PostsPageQuestionContent = ({post, refetch}: {
post: PostsWithNavigation|PostsWithNavigationAndRevision,
refetch: any,
}) => {
const currentUser = useCurrentUser();
const { AnswersLis... | e4313a121d8ec7a872d49abac7fe2edcf7728f39 | packages/lesswrong/components/questions/PostsPageQuestionContent.tsx | packages/lesswrong/components/questions/PostsPageQuestionContent.tsx | TypeScript |
<|file_sep|>original/nbgrader_config.py
c = get_config()
c.CourseDirectory.db_assignments = [dict(name="1", duedate="2019-12-09 17:00:00 UTC")]
c.CourseDirectory.db_students = [
dict(id="foo", first_name="foo", last_name="foo")
]
c.ClearSolutions.code_stub = {'python': '##### Implement this part of the code #####\n... | c = get_config()
c.CourseDirectory.db_assignments = [dict(name="1", duedate="2019-12-09 17:00:00 UTC")]
c.CourseDirectory.db_students = [
dict(id="foo", first_name="foo", last_name="foo")
]
c.ClearSolutions.code_stub = {'python': '''##### Implement this part of the code #####
raise NotImplementedError("Code not imp... | <|file_sep|>original/nbgrader_config.py
c = get_config()
c.CourseDirectory.db_assignments = [dict(name="1", duedate="2019-12-09 17:00:00 UTC")]
c.CourseDirectory.db_students = [
dict(id="foo", first_name="foo", last_name="foo")
]
c.ClearSolutions.code_stub = {'python': '##### Implement this part of the code #####\n... | 458d61ffb5161394f8080cea59716b2f9cb492f3 | nbgrader_config.py | nbgrader_config.py | Python |
<|file_sep|>original/releasenotes/notes/share-pci-between-numa-nodes-0bd206eeca4ebcde.yaml
---
features:
- |
Added support for PCI device NUMA affinity policies. These allow you to
configure how strict your NUMA affinity should be on a per-device basis or,
more specifically, per device alias. These are co... | ---
features:
- |
Added support for PCI device NUMA affinity policies. These allow you to
configure how strict your NUMA affinity should be on a per-device basis or,
more specifically, per device alias. These are configured as part of the
``[pci]alias`` configuration option(s).
There are three po... | <|file_sep|>original/releasenotes/notes/share-pci-between-numa-nodes-0bd206eeca4ebcde.yaml
---
features:
- |
Added support for PCI device NUMA affinity policies. These allow you to
configure how strict your NUMA affinity should be on a per-device basis or,
more specifically, per device alias. These are co... | 5622a9082aa37d7ae67adc01c5044edc0cf8df74 | releasenotes/notes/share-pci-between-numa-nodes-0bd206eeca4ebcde.yaml | releasenotes/notes/share-pci-between-numa-nodes-0bd206eeca4ebcde.yaml | YAML |
<|file_sep|>original/build-configuration.properties
#------------------------------------------------- Source Directories -------------------------------------------------#
source.main.dir=${basedir}/Source/Main
source.unit.test.dir=${basedir}/Source/Specs/Unit
source.integration.test.dir=${basedir}/Source/Specs/Integ... |
#------------------------------------------------- Source Directories -------------------------------------------------#
source.main.dir=${basedir}/Source/Main
source.unit.test.dir=${basedir}/Source/Specs/Unit
source.integration.test.dir=${basedir}/Source/Specs/Integration
source.installer.dir=${basedir}/Source/Instal... | <|file_sep|>original/build-configuration.properties
#------------------------------------------------- Source Directories -------------------------------------------------#
source.main.dir=${basedir}/Source/Main
source.unit.test.dir=${basedir}/Source/Specs/Unit
source.integration.test.dir=${basedir}/Source/Specs/Integ... | c87c263795d859ecb93f04a4a1d18950c17cb3ff | build-configuration.properties | build-configuration.properties | INI |
<|file_sep|>.travis.yml.diff
original:
- unzip gae_sdk.zip
updated:
- unzip -q gae_sdk.zip
<|file_sep|>original/.travis.yml
language: go
install:
- curl -sSo gae_sdk.zip https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.12.zip
- unzip gae_sdk.zip
script:
- ./go_appengine/... | language: go
install:
- curl -sSo gae_sdk.zip https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.12.zip
- unzip -q gae_sdk.zip
script:
- ./go_appengine/goapp test -v ./endpoints | <|file_sep|>.travis.yml.diff
original:
- unzip gae_sdk.zip
updated:
- unzip -q gae_sdk.zip
<|file_sep|>original/.travis.yml
language: go
install:
- curl -sSo gae_sdk.zip https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.12.zip
- unzip gae_sdk.zip
script:
- ./go_appengine/... | ac49895f32e4dd52e7f4a9e3418ce21cdd58da7c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/ember-cli-build.js
/* eslint-env node */
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon')
module.exports = function (defaults) {
var app = new EmberAddon(defaults, {
babel: {
optional: ['es7.decorators']
},
snippetSearchPaths: ['tests/dummy/app'],
'ember-cli... | /* eslint-env node */
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon')
module.exports = function (defaults) {
var app = new EmberAddon(defaults, {
babel: {
optional: ['es7.decorators']
},
snippetSearchPaths: ['tests/dummy/app']
})
app.import('bower_components/sinonjs/sinon.js')... | <|file_sep|>original/ember-cli-build.js
/* eslint-env node */
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon')
module.exports = function (defaults) {
var app = new EmberAddon(defaults, {
babel: {
optional: ['es7.decorators']
},
snippetSearchPaths: ['tests/dummy/app'],
'ember-cli... | 2e16c9aabf99bda18cf92932efea5f09461de83f | ember-cli-build.js | ember-cli-build.js | JavaScript |
<|file_sep|>original/lib/metasploit_data_models/engine.rb
# @see http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
config.generators do |g|
g.assets false
g.fixture_replacement :factory_girl, :dir => 'spec/factories'
g.helper false
g.test_framework :rspec, :fixture => ... | # @see http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
config.generators do |g|
g.assets false
g.fixture_replacement :factory_girl, :dir => 'spec/factories'
g.helper false
g.test_framework :rspec, :fixture => false
end
# Remove ActiveSupport::Dependencies loadin... | <|file_sep|>original/lib/metasploit_data_models/engine.rb
# @see http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
config.generators do |g|
g.assets false
g.fixture_replacement :factory_girl, :dir => 'spec/factories'
g.helper false
g.test_framework :rspec, :fixture => ... | 9cc442988b1abfc7188a9c01d91640ada50c7d07 | lib/metasploit_data_models/engine.rb | lib/metasploit_data_models/engine.rb | Ruby |
<|file_sep|>original/packages/pe/periodic-server.yaml
<|file_sep|>current/packages/pe/periodic-server.yaml
<|file_sep|>updated/packages/pe/periodic-server.yaml | homepage: https://github.com/Lupino/haskell-periodic/tree/master/periodic-server#readme
changelog-type: ''
hash: e0d39294b68880a7ae778994f0dba54b3657fe09cf3d4d9165c0662f6a79d671
test-bench-deps: {}
maintainer: lmjubuntu@gmail.com
synopsis: Periodic task system haskell server
changelog: ''
basic-deps:
bytestring: -any... | <|file_sep|>original/packages/pe/periodic-server.yaml
<|file_sep|>current/packages/pe/periodic-server.yaml
<|file_sep|>updated/packages/pe/periodic-server.yaml
homepage: https://github.com/Lupino/haskell-periodic/tree/master/periodic-server#readme
changelog-type: ''
hash: e0d39294b68880a7ae778994f0dba54b3657fe09cf3d4... | e8e3f54ce5b7e89d1bbb4f23907865cd8952049e | packages/pe/periodic-server.yaml | packages/pe/periodic-server.yaml | YAML |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
<|file_sep|>current/gradle/wrapper/gradle-wrapper.proper... | distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
<|file_sep|>current/gradle/wrapper/gradle-wrapper.proper... | bb5c575a976c8644eaf158fbd499f0d3a8aec39a | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>original/evt-bridge-core/src/main/java/com/github/aureliano/evtbridge/core/listener/DataWritingListener.java
<|file_sep|>current/evt-bridge-core/src/main/java/com/github/aureliano/evtbridge/core/listener/DataWritingListener.java
<|file_sep|>updated/evt-bridge-core/src/main/java/com/github/aureliano/evtbri... | package com.github.aureliano.evtbridge.core.listener;
import com.github.aureliano.evtbridge.core.event.AfterWritingEvent;
import com.github.aureliano.evtbridge.core.event.BeforeWritingEvent;
public interface DataWritingListener {
public abstract void beforeDataWriting(BeforeWritingEvent event);
public abstract v... | <|file_sep|>original/evt-bridge-core/src/main/java/com/github/aureliano/evtbridge/core/listener/DataWritingListener.java
<|file_sep|>current/evt-bridge-core/src/main/java/com/github/aureliano/evtbridge/core/listener/DataWritingListener.java
<|file_sep|>updated/evt-bridge-core/src/main/java/com/github/aureliano/evtbri... | 64aa8d6d7122882733f671b59001cc32d7b139d9 | evt-bridge-core/src/main/java/com/github/aureliano/evtbridge/core/listener/DataWritingListener.java | evt-bridge-core/src/main/java/com/github/aureliano/evtbridge/core/listener/DataWritingListener.java | Java |
<|file_sep|>original/app/config/config_test.yml
session:
storage_id: session.storage.mock_file
profiler:
collect: false
router:
resource: "%kernel.root_dir%/config/routing_install.yml"
web_profiler:
toolbar: false
intercept_redirects: false
services:
database:
c... | storage_id: session.storage.mock_file
profiler:
collect: false
router:
resource: "%kernel.root_dir%/config/routing_install.yml"
web_profiler:
toolbar: false
intercept_redirects: false
doctrine:
dbal:
dbname: %database.name%_test
services:
database:
class: S... | <|file_sep|>original/app/config/config_test.yml
session:
storage_id: session.storage.mock_file
profiler:
collect: false
router:
resource: "%kernel.root_dir%/config/routing_install.yml"
web_profiler:
toolbar: false
intercept_redirects: false
services:
database:
c... | cc1098f54c898b2cc2fe189099e8128a08a338af | app/config/config_test.yml | app/config/config_test.yml | YAML |
<|file_sep|>original/test/iota_api_checks_tests.erl
-module(iota_api_checks_tests).
-include_lib("eunit/include/eunit.hrl").
internal_consistency_test_() ->
EmptyResults = iota_result:new(foo),
ExpectedWarning = iota_errors:emit_warning(EmptyResults,
foo, {api, unrestr... | -module(iota_api_checks_tests).
-include_lib("eunit/include/eunit.hrl").
internal_consistency_test_() ->
EmptyResults = iota_result:new(),
ExpectedWarning = iota_errors:emit_warning(EmptyResults,
foo, {api, unrestricted_api}),
[ ?_assertMatch(ExpectedWarning,
... | <|file_sep|>original/test/iota_api_checks_tests.erl
-module(iota_api_checks_tests).
-include_lib("eunit/include/eunit.hrl").
internal_consistency_test_() ->
EmptyResults = iota_result:new(foo),
ExpectedWarning = iota_errors:emit_warning(EmptyResults,
foo, {api, unrestr... | 4bfac28b728ad22e7c6b3ed0fc7e7f9f714355c7 | test/iota_api_checks_tests.erl | test/iota_api_checks_tests.erl | Erlang |
<|file_sep|>original/test/algorithms/sorting/testBubbleSort.js
/* eslint-env mocha */
const BubbleSort = require('../../../src').Algorithms.Sorting.BubbleSort;
const assert = require('assert');
describe('BubbleSort', () => {
it('should have no data when empty initialization', () => {
const inst = new BubbleSort(... | });
it('should sort the array', () => {
const inst = new BubbleSort([2, 1, 3, 4]);
assert.equal(inst.size, 4);
assert.deepEqual(inst.unsortedList, [2, 1, 3, 4]);
assert.deepEqual(inst.sortedList, [1, 2, 3, 4]);
assert.equal(inst.toString(), '1, 2, 3, 4');
});
it('should sort 2 element arr... | <|file_sep|>original/test/algorithms/sorting/testBubbleSort.js
/* eslint-env mocha */
const BubbleSort = require('../../../src').Algorithms.Sorting.BubbleSort;
const assert = require('assert');
describe('BubbleSort', () => {
it('should have no data when empty initialization', () => {
const inst = new BubbleSort(... | b7ce152994ea7add667862e0b8a5c503903ef63a | test/algorithms/sorting/testBubbleSort.js | test/algorithms/sorting/testBubbleSort.js | JavaScript |
<|file_sep|>app/helpers/fields_helper.rb.diff
original:
updated:
field = resolve_field(item, field)
<|file_sep|>original/app/helpers/fields_helper.rb
module FieldsHelper
def field_help_text(field, _attribute=:default_value)
model_key = field.model_name.i18n_key
t("helpers.help.#{model_key}")
end
def... | def field_help_text(field, _attribute=:default_value)
model_key = field.model_name.i18n_key
t("helpers.help.#{model_key}")
end
def field_value(item, field, options={})
field_presenter(item, field, options).value
end
def field_presenter(item, field, options={})
field = resolve_field(item, fie... | <|file_sep|>app/helpers/fields_helper.rb.diff
original:
updated:
field = resolve_field(item, field)
<|file_sep|>original/app/helpers/fields_helper.rb
module FieldsHelper
def field_help_text(field, _attribute=:default_value)
model_key = field.model_name.i18n_key
t("helpers.help.#{model_key}")
end
def... | fcda514e1a42f9224147de001e862691fe96f1bc | app/helpers/fields_helper.rb | app/helpers/fields_helper.rb | Ruby |
<|file_sep|>app/views/layouts/engine.html.erb.diff
original:
updated:
<% content_for :context_bar do %>
<%= render 'shared/breadcrumbs', breadcrumbs: breadcrumbs %>
<% end %>
<|file_sep|>original/app/views/layouts/engine.html.erb
<% end %>
<% end %>
<%= render layout: 'layouts/unconstrained' do %>
<div class="... | <% end %>
<% end %>
<% content_for :context_bar do %>
<%= render 'shared/breadcrumbs', breadcrumbs: breadcrumbs %>
<% end %>
<%= render layout: 'layouts/unconstrained' do %>
<div class="l-constrained">
<div class="l-container-tool">
<%= yield :engine_content %>
</div>
</div>
<% if display_cat... | <|file_sep|>app/views/layouts/engine.html.erb.diff
original:
updated:
<% content_for :context_bar do %>
<%= render 'shared/breadcrumbs', breadcrumbs: breadcrumbs %>
<% end %>
<|file_sep|>original/app/views/layouts/engine.html.erb
<% end %>
<% end %>
<%= render layout: 'layouts/unconstrained' do %>
<div class="... | f3dc40fceb5e1871de4daac11a09b7c80a3614d5 | app/views/layouts/engine.html.erb | app/views/layouts/engine.html.erb | HTML+ERB |
<|file_sep|>original/_posts/2019-03-31-GoogleMockInterview-By-TechLead.md
<|file_sep|>current/_posts/2019-03-31-GoogleMockInterview-By-TechLead.md
<|file_sep|>updated/_posts/2019-03-31-GoogleMockInterview-By-TechLead.md | ---
layout: post
title: "Mock Google Interview Question"
date: 2019-03-31 21:53:32 -0700
categories: Scala
---
* This will become a table of contents (this text will be scraped).
{:toc}
## Mock Google Interview Question
Randomly browsering youtube videos online, found an interesting video posted by my favorite yout... | <|file_sep|>original/_posts/2019-03-31-GoogleMockInterview-By-TechLead.md
<|file_sep|>current/_posts/2019-03-31-GoogleMockInterview-By-TechLead.md
<|file_sep|>updated/_posts/2019-03-31-GoogleMockInterview-By-TechLead.md
---
layout: post
title: "Mock Google Interview Question"
date: 2019-03-31 21:53:32 -0700
catego... | cfba7ecd02dc8375e448e5d821d4337630cf4b1f | _posts/2019-03-31-GoogleMockInterview-By-TechLead.md | _posts/2019-03-31-GoogleMockInterview-By-TechLead.md | Markdown |
<|file_sep|>original/chapter17/wb_chapter17_ex03.pl
<|file_sep|>current/chapter17/wb_chapter17_ex03.pl
<|file_sep|>updated/chapter17/wb_chapter17_ex03.pl | #!C:\strawberry\perl\bin\perl.exe
# Use grep to select multiples of 3 between 1 and 1000
use 5.020;
use warnings;
my @list = grep ! ( $_ % 3 ), 1..1000;
say "@list"; | <|file_sep|>original/chapter17/wb_chapter17_ex03.pl
<|file_sep|>current/chapter17/wb_chapter17_ex03.pl
<|file_sep|>updated/chapter17/wb_chapter17_ex03.pl
#!C:\strawberry\perl\bin\perl.exe
# Use grep to select multiples of 3 between 1 and 1000
use 5.020;
use warnings;
my @list = grep ! ( $_ % 3 ), 1..1000;
say "@li... | 283dbcbe61406f8a7b9eeea88fc576f33b0ba54f | chapter17/wb_chapter17_ex03.pl | chapter17/wb_chapter17_ex03.pl | Perl |
<|file_sep|>original/src/main/java/pokefenn/totemic/ceremony/CeremonySunDance.java
import pokefenn.totemic.util.EntityUtil;
public class CeremonySunDance extends Ceremony
{
public CeremonySunDance(String name, int musicNeeded, int maxStartupTime, MusicInstrument... selectors)
{
super(name, musicNeeded,... |
public class CeremonySunDance extends Ceremony
{
public CeremonySunDance(String name, int musicNeeded, int maxStartupTime, MusicInstrument... selectors)
{
super(name, musicNeeded, maxStartupTime, selectors);
}
@Override
public void effect(World world, BlockPos pos, int time)
{
... | <|file_sep|>original/src/main/java/pokefenn/totemic/ceremony/CeremonySunDance.java
import pokefenn.totemic.util.EntityUtil;
public class CeremonySunDance extends Ceremony
{
public CeremonySunDance(String name, int musicNeeded, int maxStartupTime, MusicInstrument... selectors)
{
super(name, musicNeeded,... | 769ee1e4be54296f973d66dcf4431670357f9d49 | src/main/java/pokefenn/totemic/ceremony/CeremonySunDance.java | src/main/java/pokefenn/totemic/ceremony/CeremonySunDance.java | Java |
<|file_sep|>.github/ISSUE_TEMPLATE/issue-template.md.diff
original:
If you want to add an information please provide the following information:
updated:
If you want to add an information please provide at least the following information:
<|file_sep|>original/.github/ISSUE_TEMPLATE/issue-template.md
---
name: issue temp... | ---
name: issue template
about: standard template for issues
title: ''
labels: ''
assignees: ''
---
If you want to add an information please provide at least the following information:
* link to the web service this is about
* link to a source (in best by the service itself) stating that it is 2fa is supported
If yo... | <|file_sep|>.github/ISSUE_TEMPLATE/issue-template.md.diff
original:
If you want to add an information please provide the following information:
updated:
If you want to add an information please provide at least the following information:
<|file_sep|>original/.github/ISSUE_TEMPLATE/issue-template.md
---
name: issue temp... | 2f7813c735f67d846931266047dd62f6e492f82c | .github/ISSUE_TEMPLATE/issue-template.md | .github/ISSUE_TEMPLATE/issue-template.md | Markdown |
<|file_sep|>uart_echo.c.diff
original:
updated:
#include <util/delay.h>
<|file_sep|>uart_echo.c.diff
original:
updated:
DDRB = 0xFF;
<|file_sep|>uart_echo.c.diff
original:
updated:
// Do some blinking if we receive a number between 1 and 9.
if (c >= '1' && c <= '9') {
for (int i = 0; i < (c-'0'); +... |
unsigned char c = 0;
do {
c = uart_receive();
// Do some blinking if we receive a number between 1 and 9.
if (c >= '1' && c <= '9') {
for (int i = 0; i < (c-'0'); ++i) {
PORTB = 0xFF;
_delay_ms(100);
PORTB = 0x00;
_delay_ms(100);
}
}
uart_transm... | <|file_sep|>uart_echo.c.diff
original:
updated:
#include <util/delay.h>
<|file_sep|>uart_echo.c.diff
original:
updated:
DDRB = 0xFF;
<|file_sep|>uart_echo.c.diff
original:
updated:
// Do some blinking if we receive a number between 1 and 9.
if (c >= '1' && c <= '9') {
for (int i = 0; i < (c-'0'); +... | d351c50c960d6bad2469b08fd547936512c58a08 | uart_echo.c | uart_echo.c | C |
<|file_sep|>deal.II/base/source/job_identifier.cc.diff
original:
// Copyright (C) 1998, 1999, 2000, 2001, 2002 by the deal authors
updated:
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal authors
<|file_sep|>original/deal.II/base/source/job_identifier.cc
JobIdentifier::JobIdentifier()
{
time_t ... |
JobIdentifier::JobIdentifier()
{
time_t t = std::time(0);
id = std::string(program_id());
//TODO:[GK] try to avoid this hack
// It should be possible not to check DEBUG, but there is this
// tedious -ansi, which causes problems with linux headers
#if defined(HAVE_GETHOSTNAME) && !defined(DEBUG)
char name[100... | <|file_sep|>deal.II/base/source/job_identifier.cc.diff
original:
// Copyright (C) 1998, 1999, 2000, 2001, 2002 by the deal authors
updated:
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal authors
<|file_sep|>original/deal.II/base/source/job_identifier.cc
JobIdentifier::JobIdentifier()
{
time_t ... | 451190e6356a50c903989eb2e4549d470958a631 | deal.II/base/source/job_identifier.cc | deal.II/base/source/job_identifier.cc | C++ |
<|file_sep|>packages/hv/hvega-theme.yaml.diff
original:
hash: 0ef9816dc64273135f4662f4d39d3ead4f596eca26e59c26db13f05ec649a990
updated:
hash: ad75ef0260c19bab8dd0dc66970694da97a030de29afa9cfccb618c9847bbdb1
<|file_sep|>packages/hv/hvega-theme.yaml.diff
original:
updated:
- 0.2.0.3
<|file_sep|>original/packages/hv/hveg... | hash: ad75ef0260c19bab8dd0dc66970694da97a030de29afa9cfccb618c9847bbdb1
test-bench-deps: {}
maintainer: gsch@pennmedicine.upenn.edu
synopsis: Theme for hvega.
changelog: ''
basic-deps:
base: '>=4.7 && <5'
text: -any
hvega: '>=0.7.0.1'
all-versions:
- 0.1.0.0
- 0.1.0.1
- 0.2.0.0
- 0.2.0.1
- 0.2.0.2
- 0.2.0.3
author... | <|file_sep|>packages/hv/hvega-theme.yaml.diff
original:
hash: 0ef9816dc64273135f4662f4d39d3ead4f596eca26e59c26db13f05ec649a990
updated:
hash: ad75ef0260c19bab8dd0dc66970694da97a030de29afa9cfccb618c9847bbdb1
<|file_sep|>packages/hv/hvega-theme.yaml.diff
original:
updated:
- 0.2.0.3
<|file_sep|>original/packages/hv/hveg... | 9b5aff88d3ec9a082f45d18a689689e6991c1343 | packages/hv/hvega-theme.yaml | packages/hv/hvega-theme.yaml | YAML |
<|file_sep|>original/docs/README.md
# uPortal Documentation
## Table of Contents
* [Ant Help](antHelp.txt)
* [Skinning uPortal](SKINNING_UPORTAL.md)
* [Using Angular](USING_ANGULAR.md)
## External Links
* [Apereo Foundation Home](https://www.apereo.org/)
* [uPortal Wiki](https://wiki.jasig.org/display/UPC... | # uPortal Documentation
## Pages
* [Ant Help](antHelp.txt)
* [Skinning uPortal](SKINNING_UPORTAL.md)
* [Using Angular](USING_ANGULAR.md)
## External Links
* [Apereo Foundation Home](https://www.apereo.org/)
* [uPortal Wiki](https://wiki.jasig.org/display/UPC/Home)
## Documentation for Previous Releases
... | <|file_sep|>original/docs/README.md
# uPortal Documentation
## Table of Contents
* [Ant Help](antHelp.txt)
* [Skinning uPortal](SKINNING_UPORTAL.md)
* [Using Angular](USING_ANGULAR.md)
## External Links
* [Apereo Foundation Home](https://www.apereo.org/)
* [uPortal Wiki](https://wiki.jasig.org/display/UPC... | 9209a5ecdeafb14a93d26c2e0347950a8ccf74e7 | docs/README.md | docs/README.md | Markdown |
<|file_sep|>original/lib/abilities/extensions/action_controller/base.rb
module ActionController
module Base
extend ActiveSupport::Concern
included do
helper_method :can?, :cannot?
end
%w(can? cannot?).each do |name|
define_method name do |action, resource|... | module ActionController
module Base
extend ActiveSupport::Concern
included do
helper_method :can?, :cannot?
end
%w(can? cannot?).each do |name|
define_method name do |action, resource|
Abilities.send name, @user, action, resource
end
... | <|file_sep|>original/lib/abilities/extensions/action_controller/base.rb
module ActionController
module Base
extend ActiveSupport::Concern
included do
helper_method :can?, :cannot?
end
%w(can? cannot?).each do |name|
define_method name do |action, resource|... | 228af1c2e0bcaf76d329ce054fdaeec4f94819fa | lib/abilities/extensions/action_controller/base.rb | lib/abilities/extensions/action_controller/base.rb | Ruby |
<|file_sep|>doc/release/release_notes.rst.diff
original:
.. release:: Upcoming
updated:
.. release:: 0.1.0
:date: 2016-05-25
<|file_sep|>original/doc/release/release_notes.rst
.. _release/release_notes:
*************
Release Notes
*************
.. release:: Upcoming
.. change:: new
Initial rel... | .. _release/release_notes:
*************
Release Notes
*************
.. release:: 0.1.0
:date: 2016-05-25
.. change:: new
Initial release for evaluation. | <|file_sep|>doc/release/release_notes.rst.diff
original:
.. release:: Upcoming
updated:
.. release:: 0.1.0
:date: 2016-05-25
<|file_sep|>original/doc/release/release_notes.rst
.. _release/release_notes:
*************
Release Notes
*************
.. release:: Upcoming
.. change:: new
Initial rel... | ffaa66d35a10f67944ca49027bb723aa28d97329 | doc/release/release_notes.rst | doc/release/release_notes.rst | reStructuredText |
<|file_sep|>original/application/views/manage/group/deleteForm.php
<h2>Confirm deletion</h2>
<form action="<?php echo URL::base(true,true);?>manage/group/removeMember/<?php echo $id; ?>" method="POST">
<input type="hidden" value="1" name="confirm" />
<p>Are you sure you want to remove '<?php echo $data['accessName... |
<h2>Confirm deletion</h2>
<form action="<?php echo URL::base(true,true);?>manage/group/removeMember/<?php echo $id; ?>" method="POST">
<input type="hidden" value="1" name="confirm" />
<p>Are you sure you want to remove '<?php echo $data['accessName']; ?>' from the group access?</p>
<button type="submit" class="b... | <|file_sep|>original/application/views/manage/group/deleteForm.php
<h2>Confirm deletion</h2>
<form action="<?php echo URL::base(true,true);?>manage/group/removeMember/<?php echo $id; ?>" method="POST">
<input type="hidden" value="1" name="confirm" />
<p>Are you sure you want to remove '<?php echo $data['accessName... | 03098546c785da1888cf17421707ca4960edd8e0 | application/views/manage/group/deleteForm.php | application/views/manage/group/deleteForm.php | PHP |
<|file_sep|>original/java-vtl-documentation/mkdocs.yml
site_name: Java VTL
site_url: https://statisticsnorway.github.io/java-vtl/
repo_url: https://github.com/statisticsnorway/java-vtl
edit_uri: edit/feature/tooling/java-vtl-documentation/docs
theme_dir: cinder
pages:
- Home: index.md
- Reference: reference.md
- Play... | site_name: Java VTL
site_url: https://statisticsnorway.github.io/java-vtl/
repo_url: https://github.com/statisticsnorway/java-vtl
edit_uri: edit/develop/java-vtl-documentation/docs
theme_dir: cinder
pages:
- Home: index.md
- Reference: reference.md
- Playground: playground.md
extra_css:
- 'https://unpkg.com/code... | <|file_sep|>original/java-vtl-documentation/mkdocs.yml
site_name: Java VTL
site_url: https://statisticsnorway.github.io/java-vtl/
repo_url: https://github.com/statisticsnorway/java-vtl
edit_uri: edit/feature/tooling/java-vtl-documentation/docs
theme_dir: cinder
pages:
- Home: index.md
- Reference: reference.md
- Play... | a99896bd9e1a4d75622ad8a66c96074c5d8f9a0a | java-vtl-documentation/mkdocs.yml | java-vtl-documentation/mkdocs.yml | YAML |
<|file_sep|>original/sources/ru/ce/grozny.json
{
"coverage": {
"country": "ru",
"city": "Grozny"
},
"data": "http://geoportal95.ru:6080/arcgis/rest/services/%D0%90%D0%B4%D1%80%D0%B5%D1%81%D0%BD%D1%8B%D0%B9_%D0%BF%D0%BB%D0%B0%D0%BD_zd/MapServer/7",
"type": "ESRI",
"language": "ru",
... | {
"coverage": {
"country": "ru",
"city": "Grozny"
},
"data": "http://geoportal95.ru:6080/arcgis/rest/services/%D0%90%D0%B4%D1%80%D0%B5%D1%81%D0%BD%D1%8B%D0%B9_%D0%BF%D0%BB%D0%B0%D0%BD_zd/MapServer/7",
"type": "ESRI",
"language": "ru",
"conform": {
"number": "Nomer_doma",
... | <|file_sep|>original/sources/ru/ce/grozny.json
{
"coverage": {
"country": "ru",
"city": "Grozny"
},
"data": "http://geoportal95.ru:6080/arcgis/rest/services/%D0%90%D0%B4%D1%80%D0%B5%D1%81%D0%BD%D1%8B%D0%B9_%D0%BF%D0%BB%D0%B0%D0%BD_zd/MapServer/7",
"type": "ESRI",
"language": "ru",
... | d9b701e330b0ed7093741e90d55f0c4832013774 | sources/ru/ce/grozny.json | sources/ru/ce/grozny.json | JSON |
<|file_sep|>original/lib/facter/python_version.rb
# Make python versions available as facts
def get_python_version(executable)
if Facter::Util::Resolution.which(executable)
Facter::Util::Resolution.exec("#{executable} -V 2>&1").match(/^.*(\d+\.\d+\.\d+)$/)[1]
end
end
Facter.add("python_version") do
setcode ... | # Make python versions available as facts
def get_python_version(executable)
if Facter::Util::Resolution.which(executable)
results = Facter::Util::Resolution.exec("#{executable} -V 2>&1").match(/^.*(\d+\.\d+\.\d+)$/)
if results
results[1]
end
end
end
Facter.add("python_version") do
setcode do
... | <|file_sep|>original/lib/facter/python_version.rb
# Make python versions available as facts
def get_python_version(executable)
if Facter::Util::Resolution.which(executable)
Facter::Util::Resolution.exec("#{executable} -V 2>&1").match(/^.*(\d+\.\d+\.\d+)$/)[1]
end
end
Facter.add("python_version") do
setcode ... | 44728efa617d8b486b27fef33b5b33b52c78137b | lib/facter/python_version.rb | lib/facter/python_version.rb | Ruby |
<|file_sep|>original/test-requirements.txt
PyYAML==3.12
pytest==3.2.1
pytest-asyncio==0.6.0
pytest-cov==2.5.1
docker-py==1.10.6
<|file_sep|>current/test-requirements.txt
PyYAML==3.12
pytest==3.2.1
pytest-asyncio==0.6.0
pytest-cov==2.5.1
docker-py==1.10.6
<|file_sep|>updated/test-requirements.txt | PyYAML==3.12
pytest==3.2.2
pytest-asyncio==0.6.0
pytest-cov==2.5.1
docker-py==1.10.6 | <|file_sep|>original/test-requirements.txt
PyYAML==3.12
pytest==3.2.1
pytest-asyncio==0.6.0
pytest-cov==2.5.1
docker-py==1.10.6
<|file_sep|>current/test-requirements.txt
PyYAML==3.12
pytest==3.2.1
pytest-asyncio==0.6.0
pytest-cov==2.5.1
docker-py==1.10.6
<|file_sep|>updated/test-requirements.txt
PyYAML==3.12
pytest==3.... | 3ac38b9edf1b3489b2bcf6216808a6a0c946144d | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/core/src/main/resources/hudson/model/Cause/UserIdCause/description.properties
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without li... | #
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# c... | <|file_sep|>original/core/src/main/resources/hudson/model/Cause/UserIdCause/description.properties
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without li... | 7dbefd7463a9c580b04ff07d4123a1885a08641d | core/src/main/resources/hudson/model/Cause/UserIdCause/description.properties | core/src/main/resources/hudson/model/Cause/UserIdCause/description.properties | INI |
<|file_sep|>djangae/checks.py.diff
original:
from google.appengine.tools.devappserver2.application_configuration import ModuleConfiguration
updated:
<|file_sep|>original/djangae/checks.py
from django.core import checks
from google.appengine.tools.devappserver2.application_configuration import ModuleConfiguration
fro... |
from django.core import checks
from djangae.environment import get_application_root
def check_deferred_builtin(app_configs=None, **kwargs):
"""
Check that the deferred builtin is switched off, as it'll override Djangae's deferred handler
"""
from google.appengine.tools.devappserver2.application_conf... | <|file_sep|>djangae/checks.py.diff
original:
from google.appengine.tools.devappserver2.application_configuration import ModuleConfiguration
updated:
<|file_sep|>original/djangae/checks.py
from django.core import checks
from google.appengine.tools.devappserver2.application_configuration import ModuleConfiguration
fro... | e642716c0815c989b994d436921b0fb1a4f3dfa1 | djangae/checks.py | djangae/checks.py | Python |
<|file_sep|>original/src/server/interface/filters.kmd.json
{
"name": "filters",
"version": "6.6.0",
"kurentoVersion": "^6.1.0",
"code": {
"kmd": {
"java": {
"mavenGroupId": "org.kurento",
"mavenArtifactId": "kms-api-filters"
}
},
"api": {
"java": {
"packageN... | {
"name": "filters",
"version": "6.6.1-dev",
"kurentoVersion": "^6.1.0",
"code": {
"kmd": {
"java": {
"mavenGroupId": "org.kurento",
"mavenArtifactId": "kms-api-filters"
}
},
"api": {
"java": {
"packageName": "org.kurento.client",
"mavenGroupId": "or... | <|file_sep|>original/src/server/interface/filters.kmd.json
{
"name": "filters",
"version": "6.6.0",
"kurentoVersion": "^6.1.0",
"code": {
"kmd": {
"java": {
"mavenGroupId": "org.kurento",
"mavenArtifactId": "kms-api-filters"
}
},
"api": {
"java": {
"packageN... | 9acbf2d334a6aa09db1fd19941846dfd4479bd6f | src/server/interface/filters.kmd.json | src/server/interface/filters.kmd.json | JSON |
<|file_sep|>original/src/render/justin-let-us-understand-functional-thinking.html
<|file_sep|>current/src/render/justin-let-us-understand-functional-thinking.html
<|file_sep|>updated/src/render/justin-let-us-understand-functional-thinking.html | ---
layout: 'speakers_video'
---
<div class="countdown-video">
<iframe width="560" height="315" src="https://www.youtube.com/embed/6aaIJ4CLV9U" frameborder="0"
allowfullscreen></iframe>
</div>
<h1 class="col-lg-10 align-center counter-logo" style="text-transform: none; line-height: 2em"><span>✨ <... | <|file_sep|>original/src/render/justin-let-us-understand-functional-thinking.html
<|file_sep|>current/src/render/justin-let-us-understand-functional-thinking.html
<|file_sep|>updated/src/render/justin-let-us-understand-functional-thinking.html
---
layout: 'speakers_video'
---
<div class="countdown-video">
<iframe... | ad53523473918d5d773ad974b84161cfb21dde53 | src/render/justin-let-us-understand-functional-thinking.html | src/render/justin-let-us-understand-functional-thinking.html | HTML |
<|file_sep|>mesoblog/models.py.diff
original:
updated:
import random
import re
import string
<|file_sep|>mesoblog/models.py.diff
original:
updated:
def save(self):
# Make sure that the slug is:
# a) not just integers so it doen't look like an ID
# b) unique amongst all other objects ... | return self.title+" ["+str(self.id)+"]"
def save(self):
# Make sure that the slug is:
# a) not just integers so it doen't look like an ID
# b) unique amongst all other objects of that type
# a):
if re.match(r'^\d+$', self.slug):
self.slug += ... | <|file_sep|>mesoblog/models.py.diff
original:
updated:
import random
import re
import string
<|file_sep|>mesoblog/models.py.diff
original:
updated:
def save(self):
# Make sure that the slug is:
# a) not just integers so it doen't look like an ID
# b) unique amongst all other objects ... | d79fde9a1bceea2ea8bc9aa8d14e5ec66a44600d | mesoblog/models.py | mesoblog/models.py | Python |
<|file_sep|>original/README.md
# hackathon-against-polarization
Hackathon against polarization of social groups
<|file_sep|>current/README.md
# hackathon-against-polarization
Hackathon against polarization of social groups
<|file_sep|>updated/README.md | # hackathon-against-polarization
## Why?
Increasing polarisation of societies across the world, leading to tunnel vision
Examples:
* Rise of populism (Donald Trump, Marine LePen, Geert Wilders, …)
* Terrorism
* Police shootings
* …
## What?
### Goals
Contribute with meaningful and impactful ideas on how to bring soci... | <|file_sep|>original/README.md
# hackathon-against-polarization
Hackathon against polarization of social groups
<|file_sep|>current/README.md
# hackathon-against-polarization
Hackathon against polarization of social groups
<|file_sep|>updated/README.md
# hackathon-against-polarization
## Why?
Increasing polarisation o... | 33ef318bc466f4e860d14feeac4abb113182e2ad | README.md | README.md | Markdown |
<|file_sep|>docs/index.rst.diff
original:
updated:
:annotation: : float
<|file_sep|>docs/index.rst.diff
original:
The X coordinate of the vector
updated:
The X coordinate of the vector
<|file_sep|>docs/index.rst.diff
original:
updated:
:annotation: : float
<|file_sep|>original/docs/inde... | :members:
:special-members:
:exclude-members: __weakref__, __init__, scale
.. autoattribute:: x
:annotation: : float
The X coordinate of the vector
.. autoattribute:: y
:annotation: : float
The Y coordinate of the vector
Indices and tables
===========... | <|file_sep|>docs/index.rst.diff
original:
updated:
:annotation: : float
<|file_sep|>docs/index.rst.diff
original:
The X coordinate of the vector
updated:
The X coordinate of the vector
<|file_sep|>docs/index.rst.diff
original:
updated:
:annotation: : float
<|file_sep|>original/docs/inde... | 739d5af2d86b71d68fea56c2e8f89c82097d78ff | docs/index.rst | docs/index.rst | reStructuredText |
<|file_sep|>original/scripts/common.py
if 'CATMAID_CONFIGURATION' in os.environ:
path = os.environ['CATMAID_CONFIGURATION']
else:
path = os.path.join(os.environ['HOME'], '.catmaid-db')
try:
conf = yaml.load(open(path))
except:
print >> sys.stderr, '''Your %s file should look like:
host: localhost
dat... | try:
conf = yaml.load(open(path))
except:
print >> sys.stderr, '''Your %s file should look like:
host: localhost
database: catmaid
username: catmaid_user
password: password_of_your_catmaid_user''' % (path,)
sys.exit(1)
# Make a variable for each of these so that they can be imported:
db_host = conf['host'... | <|file_sep|>original/scripts/common.py
if 'CATMAID_CONFIGURATION' in os.environ:
path = os.environ['CATMAID_CONFIGURATION']
else:
path = os.path.join(os.environ['HOME'], '.catmaid-db')
try:
conf = yaml.load(open(path))
except:
print >> sys.stderr, '''Your %s file should look like:
host: localhost
dat... | 9ca0549ceff05f9f8a391c8ec2b685af48c0a5a8 | scripts/common.py | scripts/common.py | Python |
<|file_sep|>app/views/renalware/mdm/prescriptions/_table.html.slim.diff
original:
th.col-width-small= t(".drug_type")
updated:
- if local_assigns[:show_drug_types]
th.col-width-small= t(".drug_type")
<|file_sep|>original/app/views/renalware/mdm/prescriptions/_table.html.slim
th.col-width-tiny=... | - if local_assigns[:show_administer_on_hd]
th.col-width-small= t(".administer_on_hd")
th.col-width-tiny=t(".provider")
th.col-width-date= t(".started_on")
- if local_assigns[:show_terminated_on]
th.col-width-date= t(".terminated_on")
tbody
- prescriptions.each do |prescript... | <|file_sep|>app/views/renalware/mdm/prescriptions/_table.html.slim.diff
original:
th.col-width-small= t(".drug_type")
updated:
- if local_assigns[:show_drug_types]
th.col-width-small= t(".drug_type")
<|file_sep|>original/app/views/renalware/mdm/prescriptions/_table.html.slim
th.col-width-tiny=... | 15156140bca6083814e0a9aea2bc1e8569db7410 | app/views/renalware/mdm/prescriptions/_table.html.slim | app/views/renalware/mdm/prescriptions/_table.html.slim | Slim |
<|file_sep|>original/bindi.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/bindi/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ['Shannon Skipper']
gem.email = ['shannonskipper@gmail.com']
gem.description = %q{A DSL for saving Ruby Objects to Redis.}
gem.su... | # -*- encoding: utf-8 -*-
require File.expand_path('../lib/bindi/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ['Shannon Skipper']
gem.email = ['shannonskipper@gmail.com']
gem.description = %q{A DSL for saving Ruby Objects to Redis.}
gem.summary = %q{Bindi is a DSL tha... | <|file_sep|>original/bindi.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/bindi/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ['Shannon Skipper']
gem.email = ['shannonskipper@gmail.com']
gem.description = %q{A DSL for saving Ruby Objects to Redis.}
gem.su... | 7d9d09c311ea94492fe27cbc8a626f9e31084c7c | bindi.gemspec | bindi.gemspec | Ruby |
<|file_sep|>original/package.json
"yeoman-generator",
"latex",
"tex"
],
"dependencies": {
"html-wiring": "^2.0.0",
"lodash": "^4.11.1",
"mkdirp": "^1.0.3",
"yeoman-generator": "^5.2.0",
"yosay": "^2.0.0"
},
"devDependencies": {
"eslint": "^7.2.0",
"eslint-config-airbnb-ba... | "yeoman-generator",
"latex",
"tex"
],
"dependencies": {
"html-wiring": "^2.0.0",
"lodash": "^4.11.1",
"mkdirp": "^1.0.3",
"yeoman-generator": "^5.2.0",
"yosay": "^2.0.0"
},
"devDependencies": {
"eslint": "^8.3.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin... | <|file_sep|>original/package.json
"yeoman-generator",
"latex",
"tex"
],
"dependencies": {
"html-wiring": "^2.0.0",
"lodash": "^4.11.1",
"mkdirp": "^1.0.3",
"yeoman-generator": "^5.2.0",
"yosay": "^2.0.0"
},
"devDependencies": {
"eslint": "^7.2.0",
"eslint-config-airbnb-ba... | 077baae23e678050b56b6157de5aabddb039fb8e | package.json | package.json | JSON |
<|file_sep|>tasks/git_shell.yml.diff
original:
- user: name={{ git_username }} shell=/usr/bin/git-shell home={{ git_home }} group={{ ansible_admin_group | default(omit) }}
updated:
<|file_sep|>tasks/git_shell.yml.diff
original:
- file: name={{ git_home }}/git-shell-commands state=directory
updated:
- name: Create user... |
- set_fact: git_home=/srv/git
- name: Create user {{ git_username }}
user: name={{ git_username }} shell=/usr/bin/git-shell home={{ git_home }} group={{ ansible_admin_group | default(omit) }}
- name: Create git-shell-commands directory
file: name={{ git_home }}/git-shell-commands state=directory
- name: Copy co... | <|file_sep|>tasks/git_shell.yml.diff
original:
- user: name={{ git_username }} shell=/usr/bin/git-shell home={{ git_home }} group={{ ansible_admin_group | default(omit) }}
updated:
<|file_sep|>tasks/git_shell.yml.diff
original:
- file: name={{ git_home }}/git-shell-commands state=directory
updated:
- name: Create user... | 903f2504a00501b592e0c99dbdfa5e177638aea1 | tasks/git_shell.yml | tasks/git_shell.yml | YAML |
<|file_sep|>original/web/helpers/validation.ex
defmodule Appointments.Validators do
import Ecto.Changeset
def validate_uri(changeset, column) do
error_message = "Please enter a valid URL, e.g. http://www.cnn.com."
value = get_field(changeset, column)
case value do
nil -> changeset
_ ->
... | defmodule Appointments.Validators do
import Ecto.Changeset
def validate_uri(changeset, column) do
error_message = "Please enter a valid URL, e.g. http://www.cnn.com."
value = get_field(changeset, column)
if value != nil && !is_valid?(value) do
add_error(changeset, column, error_message)
else... | <|file_sep|>original/web/helpers/validation.ex
defmodule Appointments.Validators do
import Ecto.Changeset
def validate_uri(changeset, column) do
error_message = "Please enter a valid URL, e.g. http://www.cnn.com."
value = get_field(changeset, column)
case value do
nil -> changeset
_ ->
... | 111b4e16c4517cb608b28d5761722bfcd3a8526a | web/helpers/validation.ex | web/helpers/validation.ex | Elixir |
<|file_sep|>original/BookShelf.Mobile/views/BookAdd.js
BookShelf.BookAdd = function(params) {
return $.extend(BookShelf.BookForm(params), {
resetBook: function() {
this.book.title("");
this.book.author("");
},
save: function() {
BookShelf.db.books.add(... | BookShelf.BookAdd = function(params) {
return $.extend(BookShelf.BookForm(params), {
resetBook: function() {
this.book.title("");
this.book.author("");
this.book.status(params.status);
this.book.startDate(new Date());
this.book.finishDate(new Da... | <|file_sep|>original/BookShelf.Mobile/views/BookAdd.js
BookShelf.BookAdd = function(params) {
return $.extend(BookShelf.BookForm(params), {
resetBook: function() {
this.book.title("");
this.book.author("");
},
save: function() {
BookShelf.db.books.add(... | 73e797b3b9765455d66cdc7ee9edb67d2e321689 | BookShelf.Mobile/views/BookAdd.js | BookShelf.Mobile/views/BookAdd.js | JavaScript |
<|file_sep|>original/README.md
# WordPress Autoload
[](https://travis-ci.org/wpup/autoload)
Simple autoloader that will autoload classes, interfaces or traits with namespace prefix
# Install
```
$ composer require frozzare/wp-autoload
```
## Exa... | # WordPress Autoload
[](https://travis-ci.org/wpup/autoload)
Simple autoloader that will autoload classes, interfaces or traits with namespace prefix
# Install
```
composer require frozzare/wp-autoload
```
## Example
Example of your main php fi... | <|file_sep|>original/README.md
# WordPress Autoload
[](https://travis-ci.org/wpup/autoload)
Simple autoloader that will autoload classes, interfaces or traits with namespace prefix
# Install
```
$ composer require frozzare/wp-autoload
```
## Exa... | 337902ba7849aa339fb588d62d0fe93f0caca907 | README.md | README.md | Markdown |
<|file_sep|>original/src/components/Footer/Footer.js
import React, { Component } from 'react';
class Footer extends Component {
render() {
return (
<footer className="app-footer">
<a href="https://teamdigitale.governo.it">Team Digitale</a> © 2017 Team Digitale.
<span className="float-r... | import React, { Component } from 'react';
class Footer extends Component {
render() {
return (
<footer className="app-footer">
<a href="https://teamdigitale.governo.it">Team Digitale</a> © 2017-2018 Team Digitale.
<span className="float-right">Powered by <a href="https://teamdigitale.g... | <|file_sep|>original/src/components/Footer/Footer.js
import React, { Component } from 'react';
class Footer extends Component {
render() {
return (
<footer className="app-footer">
<a href="https://teamdigitale.governo.it">Team Digitale</a> © 2017 Team Digitale.
<span className="float-r... | 04228d04fc48d4901ae3a10e8e8c520795856cbd | src/components/Footer/Footer.js | src/components/Footer/Footer.js | JavaScript |
<|file_sep|>original/root/forms/dashboard/coverage_changes.yml
auto_fieldset: 1
elements:
- type: Hidden
name: compare_media_sets
id: compare_media_sets
default: false
- type: Hidden
name: show_results
- type: Select
name: dashboard_topics_id1
id: dashboard_topics_id1ssfdsdf
label:... | auto_fieldset: 1
method: get
elements:
- type: Hidden
name: compare_media_sets
id: compare_media_sets
default: false
- type: Hidden
name: show_results
- type: Select
name: dashboard_topics_id1
id: dashboard_topics_id1ssfdsdf
label: topic 1
- type: Select
name: dashboard_topi... | <|file_sep|>original/root/forms/dashboard/coverage_changes.yml
auto_fieldset: 1
elements:
- type: Hidden
name: compare_media_sets
id: compare_media_sets
default: false
- type: Hidden
name: show_results
- type: Select
name: dashboard_topics_id1
id: dashboard_topics_id1ssfdsdf
label:... | 23de1b7024933f0ed483665208b57a851e3ae200 | root/forms/dashboard/coverage_changes.yml | root/forms/dashboard/coverage_changes.yml | YAML |
<|file_sep|>original/Cargo.toml
[package]
name = "dotenv"
version = "0.4.0"
authors = [
"Santiago Lapresta <santiago.lapresta@gmail.com>",
"Craig Hills <chills@gmail.com>",
"Mike Piccolo <mfpiccolo@gmail.com>",
]
readme = "README.md"
keywords = ["environment", "env", "dotenv", "settings", "config"]
license = "MIT"
... | [package]
name = "dotenv"
version = "0.4.0"
authors = [
"Santiago Lapresta <santiago.lapresta@gmail.com>",
"Craig Hills <chills@gmail.com>",
"Mike Piccolo <mfpiccolo@gmail.com>",
"Alice Maz <alice@alicemaz.com>",
]
readme = "README.md"
keywords = ["environment", "env", "dotenv", "settings", "config"]
license = "MI... | <|file_sep|>original/Cargo.toml
[package]
name = "dotenv"
version = "0.4.0"
authors = [
"Santiago Lapresta <santiago.lapresta@gmail.com>",
"Craig Hills <chills@gmail.com>",
"Mike Piccolo <mfpiccolo@gmail.com>",
]
readme = "README.md"
keywords = ["environment", "env", "dotenv", "settings", "config"]
license = "MIT"
... | 22091f3846fd4ce9d30a29e41529c17f999821be | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>samples/fire.py.diff
original:
updated:
text = Figlet(font="banner", width=200).renderText("ASCIIMATICS")
width = max([len(x) for x in text.split("\n")])
<|file_sep|>samples/fire.py.diff
original:
Fire(screen.height, 80,
Figlet(font="banner", width=200).renderText(... | width = max([len(x) for x in text.split("\n")])
effects = [
Print(screen,
Fire(screen.height, 80, text, 100),
0,
speed=1,
transparent=False),
Print(screen,
FigletText("ASCIIMATICS", "banner"),
screen.height - 9,... | <|file_sep|>samples/fire.py.diff
original:
updated:
text = Figlet(font="banner", width=200).renderText("ASCIIMATICS")
width = max([len(x) for x in text.split("\n")])
<|file_sep|>samples/fire.py.diff
original:
Fire(screen.height, 80,
Figlet(font="banner", width=200).renderText(... | 1c14d45ba620118401728c56e5ef3a189f9b4145 | samples/fire.py | samples/fire.py | Python |
<|file_sep|>original/metadata/com.dozingcatsoftware.bouncy.txt
Vector Pinball is a pinball game.
.
Repo Type:git
Repo:https://github.com/dozingcat/Vector-Pinball.git
Build:1.1,4
commit=45b5218594320ffb4b37
Build:1.3,10
commit=1210949b1e373916d096
Build:1.3.1,11
commit=04ee044b27
target=android-10
A... | Vector Pinball is a pinball game.
.
Repo Type:git
Repo:https://github.com/dozingcat/Vector-Pinball.git
Build:1.1,4
commit=45b5218594320ffb4b37
Build:1.3,10
commit=1210949b1e373916d096
Build:1.3.1,11
commit=04ee044b27
target=android-10
Auto Update Mode:None
Update Check Mode:RepoManifest
Current Ver... | <|file_sep|>original/metadata/com.dozingcatsoftware.bouncy.txt
Vector Pinball is a pinball game.
.
Repo Type:git
Repo:https://github.com/dozingcat/Vector-Pinball.git
Build:1.1,4
commit=45b5218594320ffb4b37
Build:1.3,10
commit=1210949b1e373916d096
Build:1.3.1,11
commit=04ee044b27
target=android-10
A... | bf5924996938386d7769565e4057e30033770d45 | metadata/com.dozingcatsoftware.bouncy.txt | metadata/com.dozingcatsoftware.bouncy.txt | Text |
<|file_sep|>original/README.adoc
= AsciiBinder
image:https://badge.fury.io/rb/ascii_binder.svg["Gem Version", link="https://badge.fury.io/rb/ascii_binder"]
AsciiBinder is an AsciiDoc-based system for authoring and publishing closely related documentation sets from a single source.
== Learn More
* See the http://www... | = AsciiBinder
image:https://badge.fury.io/rb/ascii_binder.svg["Gem Version", link="https://badge.fury.io/rb/ascii_binder"]
AsciiBinder is an AsciiDoc-based system for authoring and publishing closely related documentation sets from a single source.
== Learn More
* Have a gander at the https://github.com/redhatacces... | <|file_sep|>original/README.adoc
= AsciiBinder
image:https://badge.fury.io/rb/ascii_binder.svg["Gem Version", link="https://badge.fury.io/rb/ascii_binder"]
AsciiBinder is an AsciiDoc-based system for authoring and publishing closely related documentation sets from a single source.
== Learn More
* See the http://www... | 0563338e61781db621d9bfbcf201a4c2c753dae4 | README.adoc | README.adoc | AsciiDoc |
<|file_sep|>original/crd/README.md
<|file_sep|>current/crd/README.md
<|file_sep|>updated/crd/README.md | # Custom Dataset controller
This controller should be deployed on each cluster.
It is used to delete S3 object when a Kubernetes Dataset is being deleted.
## Some resources regarding controllers
- [Writing custom Kubernetes controllers](https://medium.com/@cloudark/kubernetes-custom-controllers-b6c7d0668fdf), it's a... | <|file_sep|>original/crd/README.md
<|file_sep|>current/crd/README.md
<|file_sep|>updated/crd/README.md
# Custom Dataset controller
This controller should be deployed on each cluster.
It is used to delete S3 object when a Kubernetes Dataset is being deleted.
## Some resources regarding controllers
- [Writing custom... | 09c88b7932fe169008d4398482ae8e2b328bca97 | crd/README.md | crd/README.md | Markdown |
<|file_sep|>original/app/assets/stylesheets/base/_typography.scss
margin: 0 0 $small-spacing;
}
p {
margin: 0 0 $small-spacing;
}
a {
color: $action-color;
text-decoration: none;
transition: color $base-duration $base-timing;
&:active,
&:focus,
&:hover {
color: shade($action-color, 25%);
}
}
h... | margin: 0 0 $small-spacing;
}
p {
margin: 0 0 $small-spacing;
}
a {
color: $action-color;
text-decoration: none;
word-wrap: break-word;
transition: color $base-duration $base-timing;
&:active,
&:focus,
&:hover {
color: shade($action-color, 25%);
}
}
hr { | <|file_sep|>original/app/assets/stylesheets/base/_typography.scss
margin: 0 0 $small-spacing;
}
p {
margin: 0 0 $small-spacing;
}
a {
color: $action-color;
text-decoration: none;
transition: color $base-duration $base-timing;
&:active,
&:focus,
&:hover {
color: shade($action-color, 25%);
}
}
h... | 030df746bcce038764988e24c8565109611d0e98 | app/assets/stylesheets/base/_typography.scss | app/assets/stylesheets/base/_typography.scss | SCSS |
<|file_sep|>.travis.yml.diff
original:
- go install github.com/vdobler/ht/cmd/ht
updated:
<|file_sep|>original/.travis.yml
# allow_failures:
# - go: tip
fast_finish: true
install:
- go get -t ./...
- go get github.com/golang/lint/golint
- go get github.com/gordonklaus/ineffassign
- go get github.com/... | # allow_failures:
# - go: tip
fast_finish: true
install:
- go get -t ./...
- go get github.com/golang/lint/golint
- go get github.com/gordonklaus/ineffassign
- go get github.com/mholt/caddy/...
- go get github.com/vdobler/ht/...
script:
- diff <(echo -n) <(gofmt -s -d .)
- ineffassign .
- go ve... | <|file_sep|>.travis.yml.diff
original:
- go install github.com/vdobler/ht/cmd/ht
updated:
<|file_sep|>original/.travis.yml
# allow_failures:
# - go: tip
fast_finish: true
install:
- go get -t ./...
- go get github.com/golang/lint/golint
- go get github.com/gordonklaus/ineffassign
- go get github.com/... | 25f0cf4e6ff275349cd5918a95ac64e7ad95c558 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/bigtop-packages/src/common/crunch/patch0-CRUNCH-671.diff
<|file_sep|>current/bigtop-packages/src/common/crunch/patch0-CRUNCH-671.diff
<|file_sep|>updated/bigtop-packages/src/common/crunch/patch0-CRUNCH-671.diff | From 923ea820a0d2285569e92da14c5b35e675589600 Mon Sep 17 00:00:00 2001
From: Jun He <jun.he@linaro.org>
Date: Thu, 9 Aug 2018 05:49:09 +0000
Subject: [PATCH] CRUNCH-671: Failed to generate reports using "mvn site"
Crunch build failed due to "ClassNotFound" in doxia.
This is caused by maven-project-info-reports-plugin ... | <|file_sep|>original/bigtop-packages/src/common/crunch/patch0-CRUNCH-671.diff
<|file_sep|>current/bigtop-packages/src/common/crunch/patch0-CRUNCH-671.diff
<|file_sep|>updated/bigtop-packages/src/common/crunch/patch0-CRUNCH-671.diff
From 923ea820a0d2285569e92da14c5b35e675589600 Mon Sep 17 00:00:00 2001
From: Jun He <j... | 83a2ab92f6a367dbb133384f167449ebac78f111 | bigtop-packages/src/common/crunch/patch0-CRUNCH-671.diff | bigtop-packages/src/common/crunch/patch0-CRUNCH-671.diff | Diff |
<|file_sep|>blueprints/ember-cli-mirage/files/app/mirage/factories/contact.js.diff
original:
name: 'Pete',
age: 20,
updated:
// name: 'Pete', // strings
// age: 20, // numbers
// tall: true, // booleans
<|file_sep|>blueprints/ember... | /*
This is an example factory definition. Factories are
used inside acceptance tests.
Create more files in this directory to define additional factories.
*/
import Mirage from 'ember-cli-mirage';
export default Mirage.Factory.extend({
// name: 'Pete', // strings
// age: 20, ... | <|file_sep|>blueprints/ember-cli-mirage/files/app/mirage/factories/contact.js.diff
original:
name: 'Pete',
age: 20,
updated:
// name: 'Pete', // strings
// age: 20, // numbers
// tall: true, // booleans
<|file_sep|>blueprints/ember... | c210a34a20955ac96f5d8bc0913f5aa8e2aa6634 | blueprints/ember-cli-mirage/files/app/mirage/factories/contact.js | blueprints/ember-cli-mirage/files/app/mirage/factories/contact.js | JavaScript |
<|file_sep|>original/.zuul.yml
ui: mocha-bdd
browsers:
- name: chrome
version: ["45", "latest"]
- name: ie
version: ["9", "10", "latest"]
- name: firefox
version: ["36", "latest"]
- name: android
version: ["4.0", "latest"]
- name: opera
version: ["12", "latest"]
- name: safari
versio... | ui: mocha-bdd
browsers:
- name: chrome
version: ["45", "latest"]
- name: ie
version: ["9", "10", "latest"]
- name: firefox
version: ["36", "latest"]
- name: android
version: ["4.0", "latest"]
- name: safari
version: ["6", "latest"] | <|file_sep|>original/.zuul.yml
ui: mocha-bdd
browsers:
- name: chrome
version: ["45", "latest"]
- name: ie
version: ["9", "10", "latest"]
- name: firefox
version: ["36", "latest"]
- name: android
version: ["4.0", "latest"]
- name: opera
version: ["12", "latest"]
- name: safari
versio... | a11878c4a4af0ce70f445130823bb2c9ecea655e | .zuul.yml | .zuul.yml | YAML |
<|file_sep|>.circleci/config.yml.diff
original:
key: {{ checksum "project.clj" }}
updated:
key: << checksum "project.clj" >>
<|file_sep|>original/.circleci/config.yml
jobs:
build:
working_directory: ~/libx
docker:
- image: openjdk:8
environment:
LEIN_ROOT=nbd
steps:
... | jobs:
build:
working_directory: ~/libx
docker:
- image: openjdk:8
environment:
LEIN_ROOT=nbd
steps:
- checkout
- restore_cache:
key: << checksum "project.clj" >>
- run: bin/lein deps
- save_cache:
paths:
- $HOME/.m2
- $HOM... | <|file_sep|>.circleci/config.yml.diff
original:
key: {{ checksum "project.clj" }}
updated:
key: << checksum "project.clj" >>
<|file_sep|>original/.circleci/config.yml
jobs:
build:
working_directory: ~/libx
docker:
- image: openjdk:8
environment:
LEIN_ROOT=nbd
steps:
... | d65d1560d0adb93af07f11582aa09cdf56db77f8 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/webpack.config.babel.js
},
module: {
rules: [
{
test: /\.css$/,
loaders: [
'style-loader',
{
loader: 'css-loader',
query: {
modules: true,
},
},
],
},
],
},
resolve: {... | },
module: {
rules: [
{
test: /\.css$/,
loaders: [
'style-loader',
{
loader: 'css-loader',
query: {
modules: false,
},
},
],
},
],
},
resolve: {
extensions: ['.js', '.jsx'],
module... | <|file_sep|>original/webpack.config.babel.js
},
module: {
rules: [
{
test: /\.css$/,
loaders: [
'style-loader',
{
loader: 'css-loader',
query: {
modules: true,
},
},
],
},
],
},
resolve: {... | 177ff8455ce3e84453defd2c6bb3508b7748af43 | webpack.config.babel.js | webpack.config.babel.js | JavaScript |
<|file_sep|>original/.github/workflows/verify-pip-installation.yml
<|file_sep|>current/.github/workflows/verify-pip-installation.yml
<|file_sep|>updated/.github/workflows/verify-pip-installation.yml | name: Verify pip-installability
on: [push]
jobs:
deploy:
name: Verify pip-installability
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Set branch name as env variable
... | <|file_sep|>original/.github/workflows/verify-pip-installation.yml
<|file_sep|>current/.github/workflows/verify-pip-installation.yml
<|file_sep|>updated/.github/workflows/verify-pip-installation.yml
name: Verify pip-installability
on: [push]
jobs:
deploy:
name: Verify pip-installability
runs-on: ubuntu-la... | bdb1daac683aa1192ad5f826c0d644395e0adde6 | .github/workflows/verify-pip-installation.yml | .github/workflows/verify-pip-installation.yml | YAML |
<|file_sep|>tests/test_funcargs.py.diff
original:
updated:
import py
<|file_sep|>original/tests/test_funcargs.py
from django.test.client import Client
from pytest_django.client import RequestFactory
pytest_plugins = ['pytester']
def test_params(testdir):
testdir.makeconftest("""
import os, sys
im... | from django.test.client import Client
from pytest_django.client import RequestFactory
import py
pytest_plugins = ['pytester']
def test_params(testdir):
# Setting up the path isn't working - plugin.__file__ points to the wrong place
return
testdir.makeconftest("""
import os, sys
import... | <|file_sep|>tests/test_funcargs.py.diff
original:
updated:
import py
<|file_sep|>original/tests/test_funcargs.py
from django.test.client import Client
from pytest_django.client import RequestFactory
pytest_plugins = ['pytester']
def test_params(testdir):
testdir.makeconftest("""
import os, sys
im... | 4b172a9b2b9a9a70843bd41ad858d6f3120769b0 | tests/test_funcargs.py | tests/test_funcargs.py | Python |
<|file_sep|>original/test/unit/GameOfLife.spec.js
}
function DeadCell() {
return new Cell(DEAD);
}
return {
AliveCell: AliveCell,
DeadCell: DeadCell
};
})();
describe('Live cell', function () {
it('should die when it has fewer than two live neighbours', function () {
... | AliveCell: AliveCell,
DeadCell: DeadCell
};
})();
describe('Live cell', function () {
it('should die when it has fewer than two live neighbours', function () {
var cell = new GameOfLife.AliveCell();
cell.setNeighbours([new GameOfLife.AliveCell()]);
expect(cell.isAlive(... | <|file_sep|>original/test/unit/GameOfLife.spec.js
}
function DeadCell() {
return new Cell(DEAD);
}
return {
AliveCell: AliveCell,
DeadCell: DeadCell
};
})();
describe('Live cell', function () {
it('should die when it has fewer than two live neighbours', function () {
... | 903205447e40f08de7a719bef18e3bc581aff98b | test/unit/GameOfLife.spec.js | test/unit/GameOfLife.spec.js | JavaScript |
<|file_sep|>metadata/com.junjunguo.pocketmaps.txt.diff
original:
updated:
Build:2.3,13
commit=2.3
subdir=PocketMaps/app
gradle=yes
<|file_sep|>original/metadata/com.junjunguo.pocketmaps.txt
Build:1.7,8
commit=ae65d065c1606e3abf4afa51e20d6891fd149f5d
subdir=PocketMaps/app
gradle=yes
Build:1.9... |
Build:1.9,9
commit=1.9
subdir=PocketMaps/app
gradle=yes
Build:2.0,10
commit=2.0
subdir=PocketMaps/app
gradle=yes
Build:2.3,13
commit=2.3
subdir=PocketMaps/app
gradle=yes
Archive Policy:2 versions
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:2.3
Current Versi... | <|file_sep|>metadata/com.junjunguo.pocketmaps.txt.diff
original:
updated:
Build:2.3,13
commit=2.3
subdir=PocketMaps/app
gradle=yes
<|file_sep|>original/metadata/com.junjunguo.pocketmaps.txt
Build:1.7,8
commit=ae65d065c1606e3abf4afa51e20d6891fd149f5d
subdir=PocketMaps/app
gradle=yes
Build:1.9... | 74edd2e3df86f6f92c04b7441e2b4d588d25f7ed | metadata/com.junjunguo.pocketmaps.txt | metadata/com.junjunguo.pocketmaps.txt | Text |
<|file_sep|>test/fitnesse/components/PluginsClassLoaderTest.java.diff
original:
//todo This fails because some other test probably loads plugin path assertLoadingClassCausesException(dynamicClasses);
updated:
<|file_sep|>original/test/fitnesse/components/PluginsClassLoaderTest.java
new PluginsClassLoader().... | new PluginsClassLoader().getClassLoader("nonExistingRootDirectory");
assertTrue("didn't cause exception", true);
}
@Test
public void addPluginsToClassLoader() throws Exception {
String[] dynamicClasses = new String[]{"fitnesse.testing.PluginX", "fitnesse.testing.PluginY"};
ClassLoader cl = Plugi... | <|file_sep|>test/fitnesse/components/PluginsClassLoaderTest.java.diff
original:
//todo This fails because some other test probably loads plugin path assertLoadingClassCausesException(dynamicClasses);
updated:
<|file_sep|>original/test/fitnesse/components/PluginsClassLoaderTest.java
new PluginsClassLoader().... | 8845f1bd4b7554f885ea74f6a842caa28b6246ac | test/fitnesse/components/PluginsClassLoaderTest.java | test/fitnesse/components/PluginsClassLoaderTest.java | Java |
<|file_sep|>original/src/utils/run_check.py
def check_argv(argv):
"""Check if arguments are ok.
When executing, there must be argument switch for test/live.
There also must be filename.
Method returns set(is_correct, filename, is_test)
"""``
python_file_name = argv[0]
usage_msg = "Usage: py... | def check_argv(argv):
"""Check if arguments are ok.
When executing, there must be argument switch for test/live.
There also must be filename.
Method returns set(is_correct, filename, is_test)
"""
python_file_name = argv[0]
usage_msg = "Usage: python %s [-test | -live] filename.txt" % python... | <|file_sep|>original/src/utils/run_check.py
def check_argv(argv):
"""Check if arguments are ok.
When executing, there must be argument switch for test/live.
There also must be filename.
Method returns set(is_correct, filename, is_test)
"""``
python_file_name = argv[0]
usage_msg = "Usage: py... | 21b91eeade40d750da12cc42e89ab157911ed403 | src/utils/run_check.py | src/utils/run_check.py | Python |
<|file_sep|>original/build_grass.sh
export PATH=$ANACONDA_PREFIX/bin:/usr/bin:/bin:/usr/sbin:/etc:/usr/lib
svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_7_2 grass-7.2.2
# curl -O https://grass.osgeo.org/grass72/source/grass-7.2.0.tar.gz
# tar xvfz grass-7.2.0.tar.gz
conda create -n grass pytho... | export PATH=$ANACONDA_PREFIX/bin:/usr/bin:/bin:/usr/sbin:/etc:/usr/lib
svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_7_2 grass-7.2.2
# curl -O https://grass.osgeo.org/grass72/source/grass-7.2.0.tar.gz
# tar xvfz grass-7.2.0.tar.gz
conda create -n grass python=2.7
source activate grass
conda in... | <|file_sep|>original/build_grass.sh
export PATH=$ANACONDA_PREFIX/bin:/usr/bin:/bin:/usr/sbin:/etc:/usr/lib
svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_7_2 grass-7.2.2
# curl -O https://grass.osgeo.org/grass72/source/grass-7.2.0.tar.gz
# tar xvfz grass-7.2.0.tar.gz
conda create -n grass pytho... | 77a00dee785f1a7e83e225896bf11490b5fb77e1 | build_grass.sh | build_grass.sh | Shell |
<|file_sep|>original/sourcelover.json
<|file_sep|>current/sourcelover.json
<|file_sep|>updated/sourcelover.json | {
"name": "Draw!",
"description": "Draw 16 x 16 animated pictures. Draw! is a social flavored online pixel art editor.",
"author": {
"name": "Giovanni Cappellotto",
"email": "potomak84@gmail.com"
},
"languages": ["ruby", "javascript"],
"version": "0.5.20",
"keywords": ["pixel", "art", "animation",... | <|file_sep|>original/sourcelover.json
<|file_sep|>current/sourcelover.json
<|file_sep|>updated/sourcelover.json
{
"name": "Draw!",
"description": "Draw 16 x 16 animated pictures. Draw! is a social flavored online pixel art editor.",
"author": {
"name": "Giovanni Cappellotto",
"email": "potomak84@gmail.c... | 7360fc8bc6dc651669d0dc9be1208731451bfc37 | sourcelover.json | sourcelover.json | JSON |
<|file_sep|>original/CONTRIBUTORS.md
* [Pavel Polyakov](http://pavelpolyakov.com) [[github]](https://github.com/PavelPolyakov) [[linkedin]](https://de.linkedin.com/pub/pavel-polyakov/15/b23/856)
<|file_sep|>current/CONTRIBUTORS.md
* [Pavel Polyakov](http://pavelpolyakov.com) [[github]](https://github.com/PavelPolyakov)... | * [Pavel Polyakov](http://pavelpolyakov.com) [[github]](https://github.com/PavelPolyakov) [[linkedin]](https://de.linkedin.com/pub/pavel-polyakov/15/b23/856)
* Devin Ivy [[github]](https://github.com/devinivy) | <|file_sep|>original/CONTRIBUTORS.md
* [Pavel Polyakov](http://pavelpolyakov.com) [[github]](https://github.com/PavelPolyakov) [[linkedin]](https://de.linkedin.com/pub/pavel-polyakov/15/b23/856)
<|file_sep|>current/CONTRIBUTORS.md
* [Pavel Polyakov](http://pavelpolyakov.com) [[github]](https://github.com/PavelPolyakov)... | 1b06d7ecafa98800857c7934e320ff9d8c3b828b | CONTRIBUTORS.md | CONTRIBUTORS.md | Markdown |
<|file_sep|>original/packages/sm/smtlib2-timing.yaml
<|file_sep|>current/packages/sm/smtlib2-timing.yaml
<|file_sep|>updated/packages/sm/smtlib2-timing.yaml | homepage: ''
changelog-type: ''
hash: 75f8a394aec8be1890bafa13d084369b105d4ab5d84c045f7279c79611ec0f9f
test-bench-deps: {}
maintainer: guenther@forsyte.at
synopsis: Get timing informations for SMT queries
changelog: ''
basic-deps:
smtlib2: ! '>=1.0 && <1.1'
dependent-sum: -any
base: ! '>=4 && <5'
time: -any
m... | <|file_sep|>original/packages/sm/smtlib2-timing.yaml
<|file_sep|>current/packages/sm/smtlib2-timing.yaml
<|file_sep|>updated/packages/sm/smtlib2-timing.yaml
homepage: ''
changelog-type: ''
hash: 75f8a394aec8be1890bafa13d084369b105d4ab5d84c045f7279c79611ec0f9f
test-bench-deps: {}
maintainer: guenther@forsyte.at
synops... | be8c76649a90e733c2a9b18fd7973e31f8a61d36 | packages/sm/smtlib2-timing.yaml | packages/sm/smtlib2-timing.yaml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.