prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/jenkins_build.sh
RUNTIME_NAME="python"
CANDIDATE_NAME=`date +%Y-%m-%d_%H_%M`
echo "CANDIDATE_NAME:${CANDIDATE_NAME}"
IMAGE_NAME="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${CANDIDATE_NAME}"
export IMAGE_NAME
export FORCE_REBUILD
make build
if [ "${UPLOAD_TO_STAGING}" = "true" ]; then
STAGING="${DOC... | #!/bin/sh
set -eu
RUNTIME_NAME="python"
CANDIDATE_NAME=`date +%Y-%m-%d_%H_%M`
echo "CANDIDATE_NAME:${CANDIDATE_NAME}"
IMAGE_NAME="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${CANDIDATE_NAME}"
export IMAGE_NAME
export FORCE_REBUILD
make build
if [ "${UPLOAD_TO_STAGING}" = "true" ]; then
STAGING="${DOCKER_NAMESPACE}/${R... | <|file_sep|>original/jenkins_build.sh
RUNTIME_NAME="python"
CANDIDATE_NAME=`date +%Y-%m-%d_%H_%M`
echo "CANDIDATE_NAME:${CANDIDATE_NAME}"
IMAGE_NAME="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${CANDIDATE_NAME}"
export IMAGE_NAME
export FORCE_REBUILD
make build
if [ "${UPLOAD_TO_STAGING}" = "true" ]; then
STAGING="${DOC... | 6ebb53a950cf042a8279decd0cde3a10ad8d32c1 | jenkins_build.sh | jenkins_build.sh | Shell |
<|file_sep|>original/src/_test-helper/sinon-cleanup.js
import sinon from 'sinon';
beforeEach(function() {
this.sinon = sinon.sandbox.create();
});
afterEach(function() {
this.sinon.restore();
});
<|file_sep|>current/src/_test-helper/sinon-cleanup.js
import sinon from 'sinon';
beforeEach(function() {
this.sinon... | import sinon from 'sinon';
beforeEach(function() {
this.sinon = sinon.createSandbox();
});
afterEach(function() {
this.sinon.restore();
}); | <|file_sep|>original/src/_test-helper/sinon-cleanup.js
import sinon from 'sinon';
beforeEach(function() {
this.sinon = sinon.sandbox.create();
});
afterEach(function() {
this.sinon.restore();
});
<|file_sep|>current/src/_test-helper/sinon-cleanup.js
import sinon from 'sinon';
beforeEach(function() {
this.sinon... | 359dfefc90b8341858b784bc65cbf914286214fd | src/_test-helper/sinon-cleanup.js | src/_test-helper/sinon-cleanup.js | JavaScript |
<|file_sep|>original/composer.json
{
"name": "kamisama/cake-resque",
"description" : "A CakePHP plugin for creating background jobs with Resque",
"keywords": ["php-resque", "resque", "cli", "cakephp", "background jobs", "scheduled jobs"],
"homepage": "http://cakeresque.kamisama.me",
"type": "cakephp-plugin",
"aut... | {
"name": "kamisama/cake-resque",
"description" : "A CakePHP plugin for creating background jobs with Resque",
"keywords": ["php-resque", "resque", "cli", "cakephp", "background jobs", "scheduled jobs"],
"homepage": "http://cakeresque.kamisama.me",
"type": "cakephp-plugin",
"extra": {
"installer-name": "C... | <|file_sep|>original/composer.json
{
"name": "kamisama/cake-resque",
"description" : "A CakePHP plugin for creating background jobs with Resque",
"keywords": ["php-resque", "resque", "cli", "cakephp", "background jobs", "scheduled jobs"],
"homepage": "http://cakeresque.kamisama.me",
"type": "cakephp-plugin",
"aut... | fb9e65e67db34abbb72a79b302cbf2b4210fa519 | composer.json | composer.json | JSON |
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
updated:
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.0 on 2013-03-26 at 18:06:09.
*/
updated:
<|file_sep|>tests/Camspiers/Stat... | );
$this->assertInstanceOf(__NAMESPACE__ . '\\' . 'Grouped', $object);
$this->assertEquals(2, count($object->getDataSources()));
}
public function testRead()
{
$source1 = $this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface');
$source1->expects($this->onc... | <|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
updated:
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.0 on 2013-03-26 at 18:06:09.
*/
updated:
<|file_sep|>tests/Camspiers/Stat... | 51d73bb18b91ab6ef672386cc7af1060131e4f4c | tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php | tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php | PHP |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1.1
env:
- DB=sqlite
- DB=pgsql
bundler_args: "--without development"
script:
- RAILS_ENV=test bundle exec rake db:create db:migrate
- RAILS_ENV=test bundle exec rake test
- RAILS_ENV=test bundle exec rake spec
<|file_sep|>current/.travis.ym... | language: ruby
rvm:
- 1.9.3
- 2.1.1
env:
- DB=sqlite
- DB=pgsql
bundler_args: "--without development"
before_script:
- psql -c "CREATE USER katoy WITH PASSWORD 'katoy';" -U postgres
script:
- RAILS_ENV=test bundle exec rake db:create db:migrate
- RAILS_ENV=test bundle exec rake test
- RAILS_ENV=test bun... | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1.1
env:
- DB=sqlite
- DB=pgsql
bundler_args: "--without development"
script:
- RAILS_ENV=test bundle exec rake db:create db:migrate
- RAILS_ENV=test bundle exec rake test
- RAILS_ENV=test bundle exec rake spec
<|file_sep|>current/.travis.ym... | 3f75766190e7ee7f4c977661c16127e31f2d4e12 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
"repository": "angie-party/broccoli-tsc",
"keywords": [
"broccoli-plugin",
"typescript",
"javascript"
],
"dependencies": {
"broccoli-filter": "0.1.12",
"typescript": "1.5.0-beta"
},
"scripts": {
"prepublish": "tsc index.ts;echo",
"pretest": "broc... | "keywords": [
"broccoli-plugin",
"typescript",
"javascript"
],
"dependencies": {
"broccoli-filter": "0.1.12",
"typescript": "1.5.0-beta"
},
"scripts": {
"prepublish": "tsc index.ts;echo",
"pretest": "broccoli build tmp/test && tsc index.ts --out tmp/test/index-tsc.js;echo",
"te... | <|file_sep|>original/package.json
"repository": "angie-party/broccoli-tsc",
"keywords": [
"broccoli-plugin",
"typescript",
"javascript"
],
"dependencies": {
"broccoli-filter": "0.1.12",
"typescript": "1.5.0-beta"
},
"scripts": {
"prepublish": "tsc index.ts;echo",
"pretest": "broc... | 545682bb5f6f32bf680eace06471dce43c461151 | package.json | package.json | JSON |
<|file_sep|>original/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb
File.symlink?("/opt/gitlab/service/#{service_name}") && service_up?(service_name) && service_enabled?(service_name)
end
def not_listening?(service_name)
return true unless service_enabled?(service_name)
service_down?(servic... | File.symlink?("/opt/gitlab/service/#{service_name}") && service_up?(service_name) && service_enabled?(service_name)
end
def not_listening?(service_name)
return true unless service_enabled?(service_name)
service_down?(service_name)
end
def service_enabled?(service_name)
# As part of https://gi... | <|file_sep|>original/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb
File.symlink?("/opt/gitlab/service/#{service_name}") && service_up?(service_name) && service_enabled?(service_name)
end
def not_listening?(service_name)
return true unless service_enabled?(service_name)
service_down?(servic... | 2621cd34f401ef66210057b01a6d0a182e04f025 | files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb | files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb | Ruby |
<|file_sep|>original/requirements.txt
Werkzeug==0.9.4
coverage==3.7.1
django-activelink==0.4
django-allauth==0.19.1
django-bootstrap3==3.3.0
django-coverage==1.2.4
django-datetime-widget==0.6
django-debug-toolbar==1.2.1
django-extensions==1.5.0
django-vanilla-views==1.0.2
django-queryset-csv==0.3.0
djangorestframework=... | Werkzeug==0.9.4
coverage==3.7.1
django-activelink==0.4
django-allauth==0.19.1
django-bootstrap3==3.3.0
django-coverage==1.2.4
django-datetime-widget==0.6
django-debug-toolbar==1.2.1
django-extensions==1.5.0
django-vanilla-views==1.0.2
django-queryset-csv==0.3.1
djangorestframework==3.1.3
master-sake==0.9
mccabe==0.2.1
... | <|file_sep|>original/requirements.txt
Werkzeug==0.9.4
coverage==3.7.1
django-activelink==0.4
django-allauth==0.19.1
django-bootstrap3==3.3.0
django-coverage==1.2.4
django-datetime-widget==0.6
django-debug-toolbar==1.2.1
django-extensions==1.5.0
django-vanilla-views==1.0.2
django-queryset-csv==0.3.0
djangorestframework=... | 9c8fdfc2365acdf9a0a8eee98c0f61308fca7d70 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/views/questions/index.erb
<%=question.vote_count%> votes
<%end%>
</span>
<span>
<%if question.answers.count == 1%>
<%=question.answers.count%> answer
<%else%>
<%=question.answers.count%> answers
<%end%>
</span>
... | <%=question.vote_count%> votes
<%end%>
</span>
<span>
<%if question.answers.count == 1%>
<%=question.answers.count%> answer
<%else%>
<%=question.answers.count%> answers
<%end%>
</span>
<a href="/questions/<%= question.id %>"><%=quest... | <|file_sep|>original/app/views/questions/index.erb
<%=question.vote_count%> votes
<%end%>
</span>
<span>
<%if question.answers.count == 1%>
<%=question.answers.count%> answer
<%else%>
<%=question.answers.count%> answers
<%end%>
</span>
... | 1ab91c99a071b283d5ab3f8d21c20542c9570c3a | app/views/questions/index.erb | app/views/questions/index.erb | HTML+ERB |
<|file_sep|>original/doc-requirements.txt
sphinx==3.0.4
sphinxcontrib-napoleon==0.7
mock==4.0.2
sphinx_rtd_theme==0.4.3
<|file_sep|>current/doc-requirements.txt
sphinx==3.0.4
sphinxcontrib-napoleon==0.7
mock==4.0.2
sphinx_rtd_theme==0.4.3
<|file_sep|>updated/doc-requirements.txt | sphinx==3.0.4
sphinxcontrib-napoleon==0.7
mock==4.0.2
sphinx_rtd_theme==0.5.0 | <|file_sep|>original/doc-requirements.txt
sphinx==3.0.4
sphinxcontrib-napoleon==0.7
mock==4.0.2
sphinx_rtd_theme==0.4.3
<|file_sep|>current/doc-requirements.txt
sphinx==3.0.4
sphinxcontrib-napoleon==0.7
mock==4.0.2
sphinx_rtd_theme==0.4.3
<|file_sep|>updated/doc-requirements.txt
sphinx==3.0.4
sphinxcontrib-napoleon==0.... | 1f89a693e54d2bc90fdea64295b3658cfa53d342 | doc-requirements.txt | doc-requirements.txt | Text |
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
- [ ] I have regenerated screenshots for any af... | Connects-to: # <!-- waffle convention to track a PR's status through its connected, open issue -->
See: <url> <!-- Refer to any external resource, like a PR, document or discussion -->
Depends-on: <url> <!-- This change depends on a PR to get merged/deployed first -->
Change-type: major|minor|patch <!-- The change type... | <|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
- [ ] I have regenerated screenshots for any af... | d3744217e34e584a72b7ed23f60ccb6b3bfc773a | .github/PULL_REQUEST_TEMPLATE.md | .github/PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>original/OpenGL/install-deps.sh
<|file_sep|>current/OpenGL/install-deps.sh
<|file_sep|>updated/OpenGL/install-deps.sh | #!/bin/sh
# Install required packages in Ubuntu:
# 1. SOIL(www.lonesock.net/soil.html) -- Load images for OpenGL Texture
# 2. glm library -- C++ library for OpenGL GLSL type-based mathematics
# 3. assimp -- 3D model import library supporting kinds of model format
# 4. glew -- OpenGL Extension Wrangler to get specific ... | <|file_sep|>original/OpenGL/install-deps.sh
<|file_sep|>current/OpenGL/install-deps.sh
<|file_sep|>updated/OpenGL/install-deps.sh
#!/bin/sh
# Install required packages in Ubuntu:
# 1. SOIL(www.lonesock.net/soil.html) -- Load images for OpenGL Texture
# 2. glm library -- C++ library for OpenGL GLSL type-based mathema... | 203fe020b7842e8ae05cfa86e248d27b57bf81b3 | OpenGL/install-deps.sh | OpenGL/install-deps.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
- 2.2.5
- 2.3.1
updated:
- 2.2.6
- 2.3.2
<|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.9
- 2.2.5
- 2.3.1
- jruby-18mode
- jruby-19mode
- jruby-9.0.5.0
- jruby-9.1.1.0
- jruby-head
- ruby-head
matrix:
allow_failures:... | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.9
- 2.2.6
- 2.3.2
- jruby-18mode
- jruby-19mode
- jruby-9.0.5.0
- jruby-9.1.6.0
- jruby-head
- ruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
gemfile: .travis.gemfile
before_install:
- gem install bundler | <|file_sep|>.travis.yml.diff
original:
- 2.2.5
- 2.3.1
updated:
- 2.2.6
- 2.3.2
<|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.9
- 2.2.5
- 2.3.1
- jruby-18mode
- jruby-19mode
- jruby-9.0.5.0
- jruby-9.1.1.0
- jruby-head
- ruby-head
matrix:
allow_failures:... | 962f944d5877513ca13c5fc7bb9be7ef9c3740c4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
<|file_sep|>current/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
cov... | pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.7.5
cryptography==1.7
PyYAML==3.11
| <|file_sep|>original/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
<|file_sep|>current/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
cov... | 14c56aecb9852a8566f832932204cea99d3c2691 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualS... | // Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Packages.R;
namespace Microsoft.VisualStudio.R.Package.Options.R.Tools... | <|file_sep|>original/src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualS... | 885f548a34c2d6ab01e33be5a92f841efe40ef6c | src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs | src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs | C# |
<|file_sep|>original/pykeg/templates/kegweb/drink_group.html
<|file_sep|>current/pykeg/templates/kegweb/drink_group.html
<|file_sep|>updated/pykeg/templates/kegweb/drink_group.html | {% load kegweblib %}
<div class="box">
{{group.starttime|humanizeTimeDiff}} -
{{group.TotalVolume.ConvertTo.TwelveOunceBeer|floatformat|lower}} beers
{% for user in group.GetUsers %}
<div style="text-align:center; float:left; padding:5px;">
{% mugshot_box user 50 %}<br>
{{ user }}
</div>
{% ... | <|file_sep|>original/pykeg/templates/kegweb/drink_group.html
<|file_sep|>current/pykeg/templates/kegweb/drink_group.html
<|file_sep|>updated/pykeg/templates/kegweb/drink_group.html
{% load kegweblib %}
<div class="box">
{{group.starttime|humanizeTimeDiff}} -
{{group.TotalVolume.ConvertTo.TwelveOunceBeer|floatform... | b7fb310667cd755cfe773ae0eab2dc12b3377105 | pykeg/templates/kegweb/drink_group.html | pykeg/templates/kegweb/drink_group.html | HTML |
<|file_sep|>original/templates/_travis.yml
sudo: false
language: node_js
node_js:
- 'node'
- '6'
<|file_sep|>current/templates/_travis.yml
sudo: false
language: node_js
node_js:
- 'node'
- '6'
<|file_sep|>updated/templates/_travis.yml | sudo: false
language: node_js
node_js:
- 'node'
- '6'
- '5'
- '4' | <|file_sep|>original/templates/_travis.yml
sudo: false
language: node_js
node_js:
- 'node'
- '6'
<|file_sep|>current/templates/_travis.yml
sudo: false
language: node_js
node_js:
- 'node'
- '6'
<|file_sep|>updated/templates/_travis.yml
sudo: false
language: node_js
node_js:
- 'node'
- '6'
- '5'
- '4' | f9b75229df7591cebcd720c08125f26c26085620 | templates/_travis.yml | templates/_travis.yml | YAML |
<|file_sep|>original/.buildkite/prepare-sierra.sh
#!/bin/bash
set -euo pipefail
echo "--- :mac: Preparing installer for macOS Sierra"
sudo SUDO_UID="$UID" SUDO_GID="$GID" \
prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app" installers
<|file_sep|>current/.buildkite/prepare-sierra.sh
#!/bin/bash
set ... | #!/bin/bash
set -euo pipefail
echo "--- :mac: Preparing installer for macOS Sierra"
sudo prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app" installers | <|file_sep|>original/.buildkite/prepare-sierra.sh
#!/bin/bash
set -euo pipefail
echo "--- :mac: Preparing installer for macOS Sierra"
sudo SUDO_UID="$UID" SUDO_GID="$GID" \
prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app" installers
<|file_sep|>current/.buildkite/prepare-sierra.sh
#!/bin/bash
set ... | 658bc192bcf8852fe18fc108871b2636ca6130b5 | .buildkite/prepare-sierra.sh | .buildkite/prepare-sierra.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
cache: bundler
before_install: "gem install bundler -v 1.17.3"
updated:
before_install: "gem install bundler -v '< 2.0'"
<|file_sep|>.travis.yml.diff
original:
- 2.6.0
updated:
- 2.6.1
<|file_sep|>.travis.yml.diff
original:
updated:
- truffleruby
<|file_sep|>original/.travi... | - 2.1.10
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.1
- ruby-head
- jruby-9.1.5.0
- jruby-head
- truffleruby
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.1.5.0
- rvm: truffleruby
fast_finish: true
branches:
only: master
notifications:
email: false | <|file_sep|>.travis.yml.diff
original:
cache: bundler
before_install: "gem install bundler -v 1.17.3"
updated:
before_install: "gem install bundler -v '< 2.0'"
<|file_sep|>.travis.yml.diff
original:
- 2.6.0
updated:
- 2.6.1
<|file_sep|>.travis.yml.diff
original:
updated:
- truffleruby
<|file_sep|>original/.travi... | 58dfd335a6e4015fbf24428ce8f77a3e42d31ba2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/timetable_downloader.sh
source .timetable-settings;
else
log_message "fatal: No source settings file found! Exiting";
exit 65;
fi
# Send variables to
export SBRL_OUTPUT_FILENAME SWS_ROOT_URL SWS_USERNAME SWS_PASSWORD DEBUG;
log_message 'Started university-timetable scraper successfully!';
wh... | source .timetable-settings;
else
log_message "fatal: No source settings file found! Exiting";
exit 65;
fi
# Send variables to
export SBRL_OUTPUT_FILENAME SWS_ROOT_URL SWS_USERNAME SWS_PASSWORD DEBUG;
log_message 'Started university-timetable scraper successfully!';
while true; do
echo -ne "[$(date)] Rescraping ... | <|file_sep|>original/timetable_downloader.sh
source .timetable-settings;
else
log_message "fatal: No source settings file found! Exiting";
exit 65;
fi
# Send variables to
export SBRL_OUTPUT_FILENAME SWS_ROOT_URL SWS_USERNAME SWS_PASSWORD DEBUG;
log_message 'Started university-timetable scraper successfully!';
wh... | e0e035fc92d1d1c51c12984db963010a729402be | timetable_downloader.sh | timetable_downloader.sh | Shell |
<|file_sep|>original/lib/liquid/newspaper_drop.rb
class Liquid::NewspaperDrop < Liquid::BaseDrop
def initialize(account, options = {})
@account = account
end
def sections
@account.sections.collect{|s| s.name}
end
def name
@account.name
end
end
<|file_sep|>current/lib/liquid/newspaper_d... | class Liquid::NewspaperDrop < Liquid::BaseDrop
def initialize(account, options = {})
@account = account
end
def sections
@account.sections
end
def name
@account.name
end
end | <|file_sep|>original/lib/liquid/newspaper_drop.rb
class Liquid::NewspaperDrop < Liquid::BaseDrop
def initialize(account, options = {})
@account = account
end
def sections
@account.sections.collect{|s| s.name}
end
def name
@account.name
end
end
<|file_sep|>current/lib/liquid/newspaper_d... | 72411610bb7323b0768ff5ff95278e05ded292dd | lib/liquid/newspaper_drop.rb | lib/liquid/newspaper_drop.rb | Ruby |
<|file_sep|>original/lib/bundle/brew_services.rb
def self.restart(name)
Bundle.system "brew", "services", "restart", name
end
def self.started?(name)
if @started_services.nil?
@started_services ||= []
@started_names ||= []
`brew services list`.lines.grep(/started/).map ... | Bundle.system "brew", "services", "stop", name
end
def self.restart(name)
Bundle.system "brew", "services", "restart", name
end
def self.started?(name)
@raw_started_services ||= `brew services list`.lines.grep(/started/)
@started_services ||= []
@started_names ||= []
... | <|file_sep|>original/lib/bundle/brew_services.rb
def self.restart(name)
Bundle.system "brew", "services", "restart", name
end
def self.started?(name)
if @started_services.nil?
@started_services ||= []
@started_names ||= []
`brew services list`.lines.grep(/started/).map ... | d385c6a06168305041794f8f701b873d289a6a46 | lib/bundle/brew_services.rb | lib/bundle/brew_services.rb | Ruby |
<|file_sep|>original/packages/he/heist-extra.yaml
<|file_sep|>current/packages/he/heist-extra.yaml
<|file_sep|>updated/packages/he/heist-extra.yaml | homepage: ''
changelog-type: ''
hash: 43d9a856dddbeecdb49998debfdb189447acfb722e80baeb522353fdef00a738
test-bench-deps: {}
maintainer: srid@srid.ca
synopsis: Extra heist functionality
changelog: ''
basic-deps:
heist-emanote: '>=1.2.1'
base: '>=4.13.0.0 && <=4.18.0.0'
map-syntax: -any
filepath: -any
data-defau... | <|file_sep|>original/packages/he/heist-extra.yaml
<|file_sep|>current/packages/he/heist-extra.yaml
<|file_sep|>updated/packages/he/heist-extra.yaml
homepage: ''
changelog-type: ''
hash: 43d9a856dddbeecdb49998debfdb189447acfb722e80baeb522353fdef00a738
test-bench-deps: {}
maintainer: srid@srid.ca
synopsis: Extra heist ... | 65cb3b5187409ff525154838eb13f70c5aa8d811 | packages/he/heist-extra.yaml | packages/he/heist-extra.yaml | YAML |
<|file_sep|>README.md.diff
original:
# Dou(胴)
updated:
# Dou(胴、道、銅)
<|file_sep|>original/README.md
# Dou(胴)
[](https://travis-ci.org/ToQoz/dou)
Package github.com/ToQoz/dou is __tiny__ and __flexible__ toolkit for creating a api server.
And you can cre... | # Dou(胴、道、銅)
[](https://travis-ci.org/ToQoz/dou)
Package github.com/ToQoz/dou is __tiny__ and __flexible__ toolkit for creating a api server.
And you can creating a custom plugin in accordance with your api type or domain-specific use-case.
see http:/... | <|file_sep|>README.md.diff
original:
# Dou(胴)
updated:
# Dou(胴、道、銅)
<|file_sep|>original/README.md
# Dou(胴)
[](https://travis-ci.org/ToQoz/dou)
Package github.com/ToQoz/dou is __tiny__ and __flexible__ toolkit for creating a api server.
And you can cre... | ba7e9223f1c7b1053f95f2b3563ee2c0bb91ad0b | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
# there is no signatory on build server, so call 'gradle jar' rather than
# 'gradle assemble' to prevent 'signArchives' from being called
updated:
# there is no signatory on build server, so exclude the 'signArchives' task
<|file_sep|>original/.travis.yml
language: java
jdk:
- ... | language: java
jdk:
- oraclejdk7
- oraclejdk8
sudo: false
notifications:
email:
on_success: never
# there is no signatory on build server, so exclude the 'signArchives' task
install:
- ./gradlew assemble -x signArchives | <|file_sep|>.travis.yml.diff
original:
# there is no signatory on build server, so call 'gradle jar' rather than
# 'gradle assemble' to prevent 'signArchives' from being called
updated:
# there is no signatory on build server, so exclude the 'signArchives' task
<|file_sep|>original/.travis.yml
language: java
jdk:
- ... | bfd5dcf8c5a50c7ba66305cd9562de8361afc3b5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt.diff
original:
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
updated:
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
<|file_sep|>original/Compiler/Platforms/JavaScriptAppAndroid/JsAnd... | <application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="%%%JAVA_PACKAGE%%%.app.MainActivity"
android:screenOrientation="%%%ANDROID_ORIENTATI... | <|file_sep|>Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt.diff
original:
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
updated:
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
<|file_sep|>original/Compiler/Platforms/JavaScriptAppAndroid/JsAnd... | b2bd6aafd436759103282ae2063e9598b078ed2d | Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt | Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt | Text |
<|file_sep|>src/ui/Video.js.diff
original:
let Video = React.createClass({
updated:
module.exports = React.createClass({
displayName: 'Video',
<|file_sep|>src/ui/Video.js.diff
original:
updated:
shouldComponentUpdate(nextProps) {
if (
this.props.width !== nextProps.width ||
this.props.height !== n... | this.props.height !== nextProps.height ||
this.props.src !== nextProps.src
) {
return true;
}
return false;
},
render() {
const videoProps = {
autoPlay: this.props.autoPlay,
width: this.props.width,
height: this.props.height,
};
return (<video ref="video... | <|file_sep|>src/ui/Video.js.diff
original:
let Video = React.createClass({
updated:
module.exports = React.createClass({
displayName: 'Video',
<|file_sep|>src/ui/Video.js.diff
original:
updated:
shouldComponentUpdate(nextProps) {
if (
this.props.width !== nextProps.width ||
this.props.height !== n... | 96f0fe140e5cbe77d5c31feb60f40c4c562be059 | src/ui/Video.js | src/ui/Video.js | JavaScript |
<|file_sep|>config/prisons/LLI-long-lartin.yml.diff
original:
enabled: false
updated:
enabled: true
<|file_sep|>original/config/prisons/LLI-long-lartin.yml
---
name: Long Lartin
nomis_id: LLI
enabled: false
estate: Long Lartin
<|file_sep|>current/config/prisons/LLI-long-lartin.yml
---
name: Long Lartin
nomis_id: LLI
en... | ---
name: Long Lartin
nomis_id: LLI
enabled: true
estate: Long Lartin
address:
- South Littleton
- Evesham
- Worcestershire
- WR11 8TZ
booking_window: 28
email: Socialvisits.longlartin@hmps.gsi.gov.uk
lead_days: 3
phone: 01386 295188
slots:
tue:
- 1400-1615
thu:
- 1400-1615
sat:
- 1400-1600 | <|file_sep|>config/prisons/LLI-long-lartin.yml.diff
original:
enabled: false
updated:
enabled: true
<|file_sep|>original/config/prisons/LLI-long-lartin.yml
---
name: Long Lartin
nomis_id: LLI
enabled: false
estate: Long Lartin
<|file_sep|>current/config/prisons/LLI-long-lartin.yml
---
name: Long Lartin
nomis_id: LLI
en... | e65dd8416900649343b9e72fe99c6c85371cb6aa | config/prisons/LLI-long-lartin.yml | config/prisons/LLI-long-lartin.yml | YAML |
<|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "git://github.com/stevenbenner/grunt-indent.git"
},
"bugs": {
"url": "https://github.com/stevenbenner/grunt-indent/issues"
},
"license": "MIT",
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts":... | "repository": {
"type": "git",
"url": "git://github.com/stevenbenner/grunt-indent.git"
},
"bugs": {
"url": "https://github.com/stevenbenner/grunt-indent/issues"
},
"license": "MIT",
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.10.0"
},
"scripts": {
"grunt": "grunt",
"tes... | <|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "git://github.com/stevenbenner/grunt-indent.git"
},
"bugs": {
"url": "https://github.com/stevenbenner/grunt-indent/issues"
},
"license": "MIT",
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts":... | 0dc4fa8035b3293b4d8e8d2fa43c709c42e5733f | package.json | package.json | JSON |
<|file_sep|>original/src/main/scala/org/labrad/data/package.scala
<|file_sep|>current/src/main/scala/org/labrad/data/package.scala
<|file_sep|>updated/src/main/scala/org/labrad/data/package.scala | package org.labrad
import io.netty.buffer.ByteBuf
import java.nio.charset.StandardCharsets.UTF_8
package object data {
implicit class Flattenable[T](val value: T) extends AnyVal {
/**
* Flatten this scala object into labrad data.
*
* There must be a setter for this type T available
* in impl... | <|file_sep|>original/src/main/scala/org/labrad/data/package.scala
<|file_sep|>current/src/main/scala/org/labrad/data/package.scala
<|file_sep|>updated/src/main/scala/org/labrad/data/package.scala
package org.labrad
import io.netty.buffer.ByteBuf
import java.nio.charset.StandardCharsets.UTF_8
package object data {
... | bd0255e59c8beeb56e275a845cee5813e789b52a | src/main/scala/org/labrad/data/package.scala | src/main/scala/org/labrad/data/package.scala | Scala |
<|file_sep|>original/scripts/import_submissions.py
<|file_sep|>current/scripts/import_submissions.py
<|file_sep|>updated/scripts/import_submissions.py | #!/usr/bin/env python
# Copyright (C) 2012 Lukas Lalinsky
# Distributed under the MIT license, see the LICENSE file for details.
import json
from acoustid.script import run_script
from acoustid.data.submission import import_queued_submissions
logger = logging.getLogger(__name__)
def main(script, opts, args):
c... | <|file_sep|>original/scripts/import_submissions.py
<|file_sep|>current/scripts/import_submissions.py
<|file_sep|>updated/scripts/import_submissions.py
#!/usr/bin/env python
# Copyright (C) 2012 Lukas Lalinsky
# Distributed under the MIT license, see the LICENSE file for details.
import json
from acoustid.script imp... | 7d89303fddd12fc88fd04bcf27826c3c801b1eff | scripts/import_submissions.py | scripts/import_submissions.py | Python |
<|file_sep|>README.txt.diff
original:
updated:
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install system-wide:
<|file_sep|>README.txt.diff
original:
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install:
python setup.py install
updated:
sudo pyt... | NumPy is a replacement of Numeric Python that adds the features of numarray.
To install system-wide:
sudo python setup.py install
The setup.py script will take advantage of fast BLAS on your system if it can
find it. You can guide the process using a site.cfg file.
If fast BLAS and LAPACK cannot be found, then a sl... | <|file_sep|>README.txt.diff
original:
updated:
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install system-wide:
<|file_sep|>README.txt.diff
original:
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install:
python setup.py install
updated:
sudo pyt... | 49a26ff5e3bec2d20699eb46a1f8fdb819db998e | README.txt | README.txt | Text |
<|file_sep|>original/generators/app/templates/config/default.js
const sharedConfig = require('./universal')
const path = require('path')
const PATH_ROOT = path.resolve(__dirname, '../')
const resolve = file => path.resolve(PATH_ROOT, file)
const config = {
host: process.env.HOST || '0.0.0.0',
port: process.env.POR... | const sharedConfig = require('./universal')
const path = require('path')
const PATH_ROOT = path.resolve(__dirname, '../')
const resolve = file => path.resolve(PATH_ROOT, file)
const config = {
host: process.env.HOST || '0.0.0.0',
port: process.env.PORT || 3000,
paths: {
root: PATH_ROOT,
config: __dirname... | <|file_sep|>original/generators/app/templates/config/default.js
const sharedConfig = require('./universal')
const path = require('path')
const PATH_ROOT = path.resolve(__dirname, '../')
const resolve = file => path.resolve(PATH_ROOT, file)
const config = {
host: process.env.HOST || '0.0.0.0',
port: process.env.POR... | f41d17abbeb8a6f0f3ecb8e3bbcc05d9441ce35d | generators/app/templates/config/default.js | generators/app/templates/config/default.js | JavaScript |
<|file_sep|>original/.eslintrc.yml
env:
es6: true
commonjs: true
browser: true
extends: 'eslint:recommended'
parserOptions:
sourceType: module
ecmaVersion: 6
rules:
indent:
- 2
- 2
linebreak-style:
- 2
- unix
quotes:
- 2
- single
semi:
- 2
- always
<|file_sep|>current/.... | es6: true
commonjs: true
browser: true
extends: 'eslint:recommended'
parserOptions:
sourceType: module
ecmaVersion: 6
rules:
indent:
- 2
- 2
- SwitchCase: 1
linebreak-style:
- 2
- unix
quotes:
- 2
- single
semi:
- 2
- always | <|file_sep|>original/.eslintrc.yml
env:
es6: true
commonjs: true
browser: true
extends: 'eslint:recommended'
parserOptions:
sourceType: module
ecmaVersion: 6
rules:
indent:
- 2
- 2
linebreak-style:
- 2
- unix
quotes:
- 2
- single
semi:
- 2
- always
<|file_sep|>current/.... | 41ad416405cf6868ab77f4dd5ed75228a3842037 | .eslintrc.yml | .eslintrc.yml | YAML |
<|file_sep|>css/chesscards.css.diff
original:
updated:
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
<|file_sep|>original/css/chesscards.css
.stats-container div {
float: left;
position: absolute;
cursor: default;
font-family: "Helvetica Neue", Helvetica, Arial, s... | body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
.stats-container div {
float: left;
position: absolute;
z-index: -1;
}
.anymove {
text-align: center;
} | <|file_sep|>css/chesscards.css.diff
original:
updated:
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
<|file_sep|>original/css/chesscards.css
.stats-container div {
float: left;
position: absolute;
cursor: default;
font-family: "Helvetica Neue", Helvetica, Arial, s... | 2d57bfc59f939907318dd6b6310a15a30a34f4d6 | css/chesscards.css | css/chesscards.css | CSS |
<|file_sep|>original/magic_grid.gemspec
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "magic_grid"
s.version = MagicGrid::VERSION
s.authors = ["Ryan Graham"]
s.email = ["r.m.graham@gmail.com"]
s.homepage = "https://github.com/rmg/magic_grid"
... | # Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "magic_grid"
s.version = MagicGrid::VERSION
s.authors = ["Ryan Graham"]
s.email = ["r.m.graham@gmail.com"]
s.homepage = "https://github.com/rmg/magic_grid"
s.summary = "Simple collection disp... | <|file_sep|>original/magic_grid.gemspec
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "magic_grid"
s.version = MagicGrid::VERSION
s.authors = ["Ryan Graham"]
s.email = ["r.m.graham@gmail.com"]
s.homepage = "https://github.com/rmg/magic_grid"
... | 9e198f531c3d74c9e7c35a5bb887d15e3a646bdd | magic_grid.gemspec | magic_grid.gemspec | Ruby |
<|file_sep|>original/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java
<|file_sep|>current/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java
<|file_sep|>updated/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java | package moe.tristan.easyfxml.model.fxml;
import org.junit.Before;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class FxmlLoaderTest {
private int succ = 0;
private int fail = 0;
private FxmlLoader fxmlLoader;
@Before
public void setUp() {
fxmlL... | <|file_sep|>original/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java
<|file_sep|>current/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java
<|file_sep|>updated/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java
package moe.tristan.easyfxml.model.fxml;
import org.junit.... | 2ac15be219242768d86fffab0728095fd739cb00 | src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java | src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java | Java |
<|file_sep|>original/meeple_mover.go
func corsHandler(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
header := w.Header()
header.Add("Access-Control-Allow-Origin", "http://localhost:8000")
h.ServeHTTP(w, r)
})
}
func collectionHandler(w http.Respo... |
func corsHandler(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
header := w.Header()
header.Add("Access-Control-Allow-Origin", "http://localhost:8000")
h.ServeHTTP(w, r)
})
}
func collectionHandler(w http.ResponseWriter, r *http.Request) {
colle... | <|file_sep|>original/meeple_mover.go
func corsHandler(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
header := w.Header()
header.Add("Access-Control-Allow-Origin", "http://localhost:8000")
h.ServeHTTP(w, r)
})
}
func collectionHandler(w http.Respo... | 2ca9cb9712c074821471aca3936c9499f6bf54b6 | meeple_mover.go | meeple_mover.go | Go |
<|file_sep|>original/LICENSE.txt
Copyright (c) 2009, Julien Fache
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this ... | Copyright (c) 2009-2014, Julien Fache
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the f... | <|file_sep|>original/LICENSE.txt
Copyright (c) 2009, Julien Fache
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this ... | fb5d8102f9cc9a8b10ec01c1e5f9fc0565aeed93 | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>original/.eslintrc.json
{
"extends": [
"./commonjs/.eslintrc.json",
"./browser/.eslintrc.json",
"./es/.eslintrc.json",
"./react/.eslintrc.json",
"./typescript/.eslintrc.json",
"plugin:import/recommended",
"plugin:prettier/recommended"
]
}
<|file_sep|>current/.eslintrc.json
{
... | {
"extends": [
"./commonjs/.eslintrc.json",
"./browser/.eslintrc.json",
"./es/.eslintrc.json",
"./react/.eslintrc.json",
"./typescript/.eslintrc.json",
"plugin:prettier/recommended"
]
} | <|file_sep|>original/.eslintrc.json
{
"extends": [
"./commonjs/.eslintrc.json",
"./browser/.eslintrc.json",
"./es/.eslintrc.json",
"./react/.eslintrc.json",
"./typescript/.eslintrc.json",
"plugin:import/recommended",
"plugin:prettier/recommended"
]
}
<|file_sep|>current/.eslintrc.json
{
... | f38da72266c62e932dcfbe02e678f9d6b833c065 | .eslintrc.json | .eslintrc.json | JSON |
<|file_sep|>original/spec/spec_helper.rb
require "name_checker"
require 'vcr'
unless defined?(SPEC_ROOT)
SPEC_ROOT = File.expand_path("../", __FILE__)
end
# A RoboWhois API Key must b supplied in order to regenerate
# VCR casettes.
ROBO_WHOIS_API_KEY = nil
# Requires supporting ruby files with custom matchers and... | require "name_checker"
require 'vcr'
unless defined?(SPEC_ROOT)
SPEC_ROOT = File.expand_path("../", __FILE__)
end
# A RoboWhois API Key must b supplied in order to regenerate VCR casettes.
ROBO_WHOIS_API_KEY = "12345"
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and it... | <|file_sep|>original/spec/spec_helper.rb
require "name_checker"
require 'vcr'
unless defined?(SPEC_ROOT)
SPEC_ROOT = File.expand_path("../", __FILE__)
end
# A RoboWhois API Key must b supplied in order to regenerate
# VCR casettes.
ROBO_WHOIS_API_KEY = nil
# Requires supporting ruby files with custom matchers and... | b3eb9d53d2e694b613c536cce41f2279db7115f9 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>index.html.diff
original:
updated:
<link rel="stylesheet" type="text/css" href="style/ol.css">
<|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<title>Verkeerbeheer testpage</title>
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" href="... | <!DOCTYPE html>
<html>
<head>
<title>Verkeerbeheer testpage</title>
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" href="style/ol.css">
<link rel="stylesheet" type="text/css" href="style/ol3-layerswitcher.css">
<script src="//ajax.googleapis.com/ajax/libs/j... | <|file_sep|>index.html.diff
original:
updated:
<link rel="stylesheet" type="text/css" href="style/ol.css">
<|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<title>Verkeerbeheer testpage</title>
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" href="... | 4ff47ae2dd526656efcc04cfd442d0f8cfa864a5 | index.html | index.html | HTML |
<|file_sep|>README.rst.diff
original:
updated:
simple photo backup
===================
<|file_sep|>original/README.rst
A very simple photo backup manager.
<|file_sep|>current/README.rst
simple photo backup
===================
A very simple photo backup manager.
<|file_sep|>updated/README.rst | simple photo backup
===================
A very simple photo backup manager.
Installation
------------
If you want ot install SPB on your system:
.. code-block:: sh
sudo python setup.py install
spb --help
If you want to generate a single python file to put it on a USB drive for example:
.. code-block:: sh... | <|file_sep|>README.rst.diff
original:
updated:
simple photo backup
===================
<|file_sep|>original/README.rst
A very simple photo backup manager.
<|file_sep|>current/README.rst
simple photo backup
===================
A very simple photo backup manager.
<|file_sep|>updated/README.rst
simple photo backup
==... | f904c884c7475be5fa22cab46b542fd242d49c9e | README.rst | README.rst | reStructuredText |
<|file_sep|>.travis.yml.diff
original:
before_install:
- apt-key adv --recv-keys --keyserver pgp.mit.edu 0xcbcb082a1bb943db
- bash -c "echo deb http://mirror.jmu.edu/pub/mariadb/repo/10.0/debian wheezy main > /etc/apt/sources.list.d/mariadb-10.0.list"
- apt-get update -y
updated:
script:
- scons debug=$DEBUG_BU... | - DEBUG_BUILD=0
script:
- scons debug=$DEBUG_BUILD -j 4
addons:
apt:
sources:
- mariadb-10.0
packages:
- scons
- libbz2-dev
- zlib1g-dev
- libexpat1-dev
- libssl-dev
- libboost-iostreams-dev
- libboost-system-dev
- libboost-filesystem-dev
- l... | <|file_sep|>.travis.yml.diff
original:
before_install:
- apt-key adv --recv-keys --keyserver pgp.mit.edu 0xcbcb082a1bb943db
- bash -c "echo deb http://mirror.jmu.edu/pub/mariadb/repo/10.0/debian wheezy main > /etc/apt/sources.list.d/mariadb-10.0.list"
- apt-get update -y
updated:
script:
- scons debug=$DEBUG_BU... | 7bd9075fb382203785d940924ac3e88c70368b7a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_layouts/default.html
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/lib/semantic/css/semantic.css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" />
<link rel="stylesheet" href="/css/bas... | <title>{{ page.title }}</title>
<link rel="stylesheet" href="/lib/semantic/css/semantic.css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" />
<link rel="stylesheet" href="/css/base.css" />
</head>
<body>
{{ content }}
<div class="ui divider"></div>
... | <|file_sep|>original/_layouts/default.html
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/lib/semantic/css/semantic.css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" />
<link rel="stylesheet" href="/css/bas... | a6877c3fb11a77655e693c678af2283ab4a69652 | _layouts/default.html | _layouts/default.html | HTML |
<|file_sep|>panoptes/utils/data.py.diff
original:
updated:
import shutil
<|file_sep|>original/panoptes/utils/data.py
for i in range(4214, 4219):
fn = 'index-{}.fits'.format(i)
dest = "{}/{}".format(data_folder, fn)
if not os.path.exists(dest):
url = "http://data.astrometry.net... | download_IERS_A()
for i in range(4214, 4219):
fn = 'index-{}.fits'.format(i)
dest = "{}/{}".format(data_folder, fn)
if not os.path.exists(dest):
url = "http://data.astrometry.net/4200/{}".format(fn)
df = data.download_file(url)
try:
s... | <|file_sep|>panoptes/utils/data.py.diff
original:
updated:
import shutil
<|file_sep|>original/panoptes/utils/data.py
for i in range(4214, 4219):
fn = 'index-{}.fits'.format(i)
dest = "{}/{}".format(data_folder, fn)
if not os.path.exists(dest):
url = "http://data.astrometry.net... | 4d01eb0c1b11680d463d4fcb0888fac4ab6c45c8 | panoptes/utils/data.py | panoptes/utils/data.py | Python |
<|file_sep|>src/helpers.js.diff
original:
updated:
const chalk = require('chalk');
<|file_sep|>original/src/helpers.js
const moment = require('moment-timezone');
exports.printMessage = function (message) {
console.log(message);
};
exports.printError = function (message) {
console.log(message);
};
exports.conver... | const moment = require('moment-timezone');
const chalk = require('chalk');
exports.printMessage = function (message) {
console.log(message);
};
exports.printError = function (message) {
const errorOutput = `${chalk.bgRed('Error')} ${message}`;
console.log(errorOutput);
};
exports.convertTimezone = function (t... | <|file_sep|>src/helpers.js.diff
original:
updated:
const chalk = require('chalk');
<|file_sep|>original/src/helpers.js
const moment = require('moment-timezone');
exports.printMessage = function (message) {
console.log(message);
};
exports.printError = function (message) {
console.log(message);
};
exports.conver... | fa894d1d06975468946623b8bcac2a209aafe98b | src/helpers.js | src/helpers.js | JavaScript |
<|file_sep|>original/package.json
},
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/marmelab/gremlins.js.git"
},
"keywords": [
"monkey",
"test",
"testing",
"stress",
"gremlin"
],
"author": "Francois Zaninotto <fzaninotto@gmail.... | },
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/marmelab/gremlins.js.git"
},
"keywords": [
"monkey",
"test",
"testing",
"stress",
"gremlin"
],
"author": "Francois Zaninotto",
"license": "MIT",
"bugs": {
"url": "https:... | <|file_sep|>original/package.json
},
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/marmelab/gremlins.js.git"
},
"keywords": [
"monkey",
"test",
"testing",
"stress",
"gremlin"
],
"author": "Francois Zaninotto <fzaninotto@gmail.... | 8afcc3dd33bc49629c6c4006bf3ce6e508cc1174 | package.json | package.json | JSON |
<|file_sep|>original/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml
<|file_sep|>current/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml
<|file_sep|>updated/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml | ---
deprecations:
- |
Ceph-ansible has been deprecated by upstream maintainers in favor of
cephadm [1]. With that we don't have any other choice rather than
deprecate Ceph deployment with Ceph Ansible.
It's still available in Yoga, but will be removed in the future releases.
[1] https://github.co... | <|file_sep|>original/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml
<|file_sep|>current/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml
<|file_sep|>updated/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml
---
deprecations:
- |
Ceph-ansible has been deprecated by upstream maintainers in favor o... | f6429b558f744c7dce05bd9484c2ed0ec6f6dae1 | releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml | releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml | YAML |
<|file_sep|>original/demo/scripts/index.js
(function init() {
document.getElementById("input1").addEventListener("input", calc);
document.getElementById("input2").addEventListener("input", calc);
calc();
})();
function calc() {
var str1 = document.getElementById("input1").value;
var str2 = document... | (function init() {
document.getElementById("input1").addEventListener("input", calc);
document.getElementById("input2").addEventListener("input", calc);
calc();
})();
function calc() {
var str1 = document.getElementById("input1").value;
var str2 = document.getElementById("input2").value;
var da... | <|file_sep|>original/demo/scripts/index.js
(function init() {
document.getElementById("input1").addEventListener("input", calc);
document.getElementById("input2").addEventListener("input", calc);
calc();
})();
function calc() {
var str1 = document.getElementById("input1").value;
var str2 = document... | 456fa03b834a71f539c244ac1b0dcce9dd1f213d | demo/scripts/index.js | demo/scripts/index.js | JavaScript |
<|file_sep|>original/resources/logback.xml
<configuration scan="true" scanPeriod="10 seconds">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{HH:mm:ss.SSS} %-5level %logger{36}: %msg%n</pattern>
</enc... | <configuration scan="true" scanPeriod="10 seconds">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{YYY-MM-dd HH:mm:ss.SSS} %-5level %logger{36}: %msg%n</pattern>
</encoder>
</appender>
<logger na... | <|file_sep|>original/resources/logback.xml
<configuration scan="true" scanPeriod="10 seconds">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{HH:mm:ss.SSS} %-5level %logger{36}: %msg%n</pattern>
</enc... | d52b1c355f4db640b543ef2710745cd5d4ae920b | resources/logback.xml | resources/logback.xml | XML |
<|file_sep|>original/package.json
"author": "Howard Huang",
"keywords": [
"github hubot skype adapter"
],
"description": "A Skype adapter written in Ruby for hubot",
"repository": {
"type": "git",
"url": "git://github.com/hahuang65/hubot-skype.git"
},
"dependencies": {
"redis": ">=0.7.2",
... | "author": "Howard Huang",
"keywords": [
"github hubot skype adapter"
],
"description": "A Skype adapter written in Ruby for hubot",
"repository": {
"type": "git",
"url": "git://github.com/hahuang65/hubot-skype.git"
},
"dependencies": {
"redis": ">=0.7.2"
},
"devDependencies": {
"co... | <|file_sep|>original/package.json
"author": "Howard Huang",
"keywords": [
"github hubot skype adapter"
],
"description": "A Skype adapter written in Ruby for hubot",
"repository": {
"type": "git",
"url": "git://github.com/hahuang65/hubot-skype.git"
},
"dependencies": {
"redis": ">=0.7.2",
... | 3917566b03ce7f1bdbabb1b66dcee56ffc9e1b99 | package.json | package.json | JSON |
<|file_sep|>original/project/plugins.sbt
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.3")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")
addS... | // The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.3")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" %... | <|file_sep|>original/project/plugins.sbt
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.3")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")
addS... | f79262454b6c1115b23a036f27e896a8ee1603e8 | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>original/app/models/repository.rb
embeds_many :snapshots, :order => :date.asc
field :url
field :type
field :name
field :latitude
field :longitude
index({ 'snapshots.date' => 1 })
##
# Returns a list of records sorted in descending by the score with respect to
# the given metric.
#
... | embeds_many :snapshots, :order => :date.asc
field :url
field :type
field :name
field :latitude
field :longitude
index({ 'snapshots.date' => 1 })
index({ 'snapshot.statistics.resources' => 1 })
##
# Returns a list of records sorted in descending by the score with respect to
# the given metric.
... | <|file_sep|>original/app/models/repository.rb
embeds_many :snapshots, :order => :date.asc
field :url
field :type
field :name
field :latitude
field :longitude
index({ 'snapshots.date' => 1 })
##
# Returns a list of records sorted in descending by the score with respect to
# the given metric.
#
... | e007defaaf3148df0c63bf33f906363b8c048290 | app/models/repository.rb | app/models/repository.rb | Ruby |
<|file_sep|>original/packages/apollo-server-cache-redis/package.json
{
"name": "apollo-server-cache-redis",
"version": "1.0.0-alpha.0",
"author": "opensource@apollographql.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apollographql/apollo-server/tree/master/packages... | {
"name": "apollo-server-cache-redis",
"version": "1.0.0-alpha.5",
"author": "opensource@apollographql.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-cache-redis"
},
"homepage": "https://github.com/ap... | <|file_sep|>original/packages/apollo-server-cache-redis/package.json
{
"name": "apollo-server-cache-redis",
"version": "1.0.0-alpha.0",
"author": "opensource@apollographql.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apollographql/apollo-server/tree/master/packages... | 8517419e3e529af1cf79a5900a34cc156e2e26a9 | packages/apollo-server-cache-redis/package.json | packages/apollo-server-cache-redis/package.json | JSON |
<|file_sep|>packages/core/src/Rules/CopyTargetsToRoot.js.diff
original:
parameters.every(file => state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
updated:
parameters.every(file => !file.virtual && state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
<|file_sep|>pa... | static alwaysEvaluate: boolean = true
static async appliesToParameters (state: State, command: Command, phase: Phase, options: OptionsInterface, ...parameters: Array<File>): Promise<boolean> {
return !!options.copyTargetsToRoot &&
parameters.every(file => !file.virtual && state.targets.has(file.filePath)... | <|file_sep|>packages/core/src/Rules/CopyTargetsToRoot.js.diff
original:
parameters.every(file => state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
updated:
parameters.every(file => !file.virtual && state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
<|file_sep|>pa... | 764258718d976aa826e16fd470954f18f8eabf65 | packages/core/src/Rules/CopyTargetsToRoot.js | packages/core/src/Rules/CopyTargetsToRoot.js | JavaScript |
<|file_sep|>giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java.diff
original:
Server server = new Server(8080);
updated:
int httpPort = 8080;
for (int i = 0; i < args.length; i++) {
String arg = args[i];
try {
if ("--httpPort".equals(arg)) {
httpPor... | System.err.println("An error occurred in processing an option: " + arg);
System.exit(1);
}
}
Server server = new Server(httpPort);
WebAppContext context = new WebAppContext();
context.setServer(server);
context.setContextPath("/giane");
ProtectionDomain protectionDomain ... | <|file_sep|>giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java.diff
original:
Server server = new Server(8080);
updated:
int httpPort = 8080;
for (int i = 0; i < args.length; i++) {
String arg = args[i];
try {
if ("--httpPort".equals(arg)) {
httpPor... | 73d4079795c7cdabf6ff0581459979e0faab3cb2 | giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java | giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java | Java |
<|file_sep|>original/hooks/settings/settings_gunicorn.py
# -*- coding: utf-8 -*-
"""
Related article: https://sebest.github.io/post/protips-using-gunicorn-inside-a-docker-image/
Parameters you might want to override:
GUNICORN_BIND="0.0.0.0:8005"
"""
import os
workers = 4
bind = "0.0.0.0:8005"
worker_class = "even... | # -*- coding: utf-8 -*-
"""
Related article: https://sebest.github.io/post/protips-using-gunicorn-inside-a-docker-image/
Parameters you might want to override:
GUNICORN_BIND="0.0.0.0:8005"
"""
import os
workers = 4
bind = "0.0.0.0:8005"
worker_class = "eventlet"
worker_connections = 1000
# Overwrite some Gunicor... | <|file_sep|>original/hooks/settings/settings_gunicorn.py
# -*- coding: utf-8 -*-
"""
Related article: https://sebest.github.io/post/protips-using-gunicorn-inside-a-docker-image/
Parameters you might want to override:
GUNICORN_BIND="0.0.0.0:8005"
"""
import os
workers = 4
bind = "0.0.0.0:8005"
worker_class = "even... | 0f3f9ac26e968eab788a9ee2e95c34f2fa05ddbf | hooks/settings/settings_gunicorn.py | hooks/settings/settings_gunicorn.py | Python |
<|file_sep|>original/site/docker-compose.yml
command: jekyll serve --watch --force_polling
ports:
- 4000:4000
volumes:
- .:/srv/jekyll
build-site:
image: jekyll/jekyll:3
command: jekyll build
volumes:
- .:/srv/jekyll
generate-javadoc:
image: maven:alpine
working_dir... | command: jekyll serve --watch --force_polling
ports:
- 4000:4000
volumes:
- .:/srv/jekyll
build-site:
image: jekyll/jekyll:3
command: jekyll build
volumes:
- .:/srv/jekyll
generate-javadoc:
image: maven
working_dir: /usr/src/calcite
command: sh -c "mvn -DskipTes... | <|file_sep|>original/site/docker-compose.yml
command: jekyll serve --watch --force_polling
ports:
- 4000:4000
volumes:
- .:/srv/jekyll
build-site:
image: jekyll/jekyll:3
command: jekyll build
volumes:
- .:/srv/jekyll
generate-javadoc:
image: maven:alpine
working_dir... | f2638b9f7dc878f3f109cbc59d1a6ae02d3d5696 | site/docker-compose.yml | site/docker-compose.yml | YAML |
<|file_sep|>original/bookingsync-application-engine.gemspec
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "bookingsync_application/engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "bookingsync-application-engine"
... | $:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "bookingsync_application/engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "bookingsync-application-engine"
s.version = BookingsyncApplication::ENGINE_VERSION
s.a... | <|file_sep|>original/bookingsync-application-engine.gemspec
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "bookingsync_application/engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "bookingsync-application-engine"
... | a0304c6b123008d085e583e6178b8eeb75ebc845 | bookingsync-application-engine.gemspec | bookingsync-application-engine.gemspec | Ruby |
<|file_sep|>original/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java
<|file_sep|>current/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java
<|file_sep|>updated/annotation-rest/src/main/java/uk/ac/ebi/quickgo... | package uk.ac.ebi.quickgo.annotation.service.search;
import uk.ac.ebi.quickgo.annotation.common.document.AnnotationFields;
import uk.ac.ebi.quickgo.common.SearchableDocumentFields;
import uk.ac.ebi.quickgo.rest.search.SearchableField;
import java.util.stream.Stream;
import org.springframework.stereotype.Component;
/... | <|file_sep|>original/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java
<|file_sep|>current/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java
<|file_sep|>updated/annotation-rest/src/main/java/uk/ac/ebi/quickgo... | 1dd34cc37760a4739b226a345ceee096d635b13c | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java | Java |
<|file_sep|>original/tests/sim/test_skills.py
<|file_sep|>current/tests/sim/test_skills.py
<|file_sep|>updated/tests/sim/test_skills.py | import unittest
import unittest.mock as mock
from hunting.level.map import LevelMap, LevelTile
from hunting.sim.entities import GameObject, Fighter
from hunting.sim.skills import PowerStrike
class TestPowerStrike(unittest.TestCase):
def setUp(self):
level = LevelMap()
level.set_map([[LevelTile()]... | <|file_sep|>original/tests/sim/test_skills.py
<|file_sep|>current/tests/sim/test_skills.py
<|file_sep|>updated/tests/sim/test_skills.py
import unittest
import unittest.mock as mock
from hunting.level.map import LevelMap, LevelTile
from hunting.sim.entities import GameObject, Fighter
from hunting.sim.skills import Po... | c509ef35fb0ba77fbcb66dd968daa0a19a617867 | tests/sim/test_skills.py | tests/sim/test_skills.py | Python |
<|file_sep|>original/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</mode... | <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.h... | <|file_sep|>original/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</mode... | 08229c7b7bacac798bdad5e51648692514e67e6c | pom.xml | pom.xml | XML |
<|file_sep|>original/docs/index.md
<|file_sep|>current/docs/index.md
<|file_sep|>updated/docs/index.md | ---
layout: default
title: Third Coast
---
Stryke Force team 2767's Third Coast swerve drive, talon configuration and telemetry API for FRC robots.
Third Coast [Javadocs](javadoc/).
Third Coast [Documentation](https://strykeforce.github.io/posts/thirdcoast/). | <|file_sep|>original/docs/index.md
<|file_sep|>current/docs/index.md
<|file_sep|>updated/docs/index.md
---
layout: default
title: Third Coast
---
Stryke Force team 2767's Third Coast swerve drive, talon configuration and telemetry API for FRC robots.
Third Coast [Javadocs](javadoc/).
Third Coast [Documentation](ht... | a174d93cd50e26035c278b650ce6da35406d785f | docs/index.md | docs/index.md | Markdown |
<|file_sep|>original/.github/workflows/main.yml
matrix:
include:
- dependencies: black python3-isort
task: make -f Makefile fmt-travis
- dependencies: yamllint
task: make -f Makefile yamllint
- dependencies: pylint python3-hypothesis
task: ... | matrix:
include:
- dependencies: black python3-isort
task: make -f Makefile fmt-travis
- dependencies: yamllint
task: make -f Makefile yamllint
- dependencies: pylint python3-hypothesis
task: PYTHONPATH=./src make -f Makefile lint
... | <|file_sep|>original/.github/workflows/main.yml
matrix:
include:
- dependencies: black python3-isort
task: make -f Makefile fmt-travis
- dependencies: yamllint
task: make -f Makefile yamllint
- dependencies: pylint python3-hypothesis
task: ... | 582fdb24efa2959f61510536cad70abb0e72cc2b | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java
public String calcValueName() {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.calcValueName();
}
return value.type().name();
}
@O... | @Override
public String calcValueName() {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.calcValueName();
}
return value.type().name();
}
@Override
public PsiExpression getDescriptorEvaluation(DebuggerContext debuggerContext) throws EvaluateExcepti... | <|file_sep|>original/plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java
public String calcValueName() {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.calcValueName();
}
return value.type().name();
}
@O... | 3553572524efc543d1b7e4afca6b59ae0f3a2a2e | plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java | plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java | Java |
<|file_sep|>original/project/plugins.sbt
// Run sbt eclipse to create Eclipse project file
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")
// Run sbt gen-idea to create IntelliJ project file
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
<|file_sep|>current/project/plugins.sbt
// R... | // Run sbt eclipse to create Eclipse project file
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0") | <|file_sep|>original/project/plugins.sbt
// Run sbt eclipse to create Eclipse project file
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")
// Run sbt gen-idea to create IntelliJ project file
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
<|file_sep|>current/project/plugins.sbt
// R... | 44ec8797cf565367bf22e4621f185d83623f4be6 | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.6"
services:
- postgresql
addons:
postgresql: "9.4"
install:
- "pip install -r requirements_test.txt"
- "python setup.py install"
before_script:
- psql -c 'create database zoudb;' -U postgres
script: py.test
<|file_sep|>current/.travi... | language: python
python:
- "2.7"
- "3.4"
- "3.6"
services:
- postgresql
addons:
postgresql: "9.4"
install:
- "pip install -r requirements_test.txt"
- "python setup.py install"
before_script:
- psql -c 'create database zoudb;' -U postgres
script: py.test | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.6"
services:
- postgresql
addons:
postgresql: "9.4"
install:
- "pip install -r requirements_test.txt"
- "python setup.py install"
before_script:
- psql -c 'create database zoudb;' -U postgres
script: py.test
<|file_sep|>current/.travi... | 9c80e8093224d93bb2b9ab8c872339bc37d1dc5d | .travis.yml | .travis.yml | YAML |
<|file_sep|>dev-docs/examples/outstream-video-example.md.diff
original:
updated:
<|file_sep|>dev-docs/examples/outstream-video-example.md.diff
original:
updated:
- See also the following examples hosted on Prebid.org - <a href="/examples/video/outstream/outstream-dfp-two-adapters-demo.html">Show an outstream ad usin... | ---
layout: example
title: Outstream Video Example
description: Outstream Video Example
top_nav_section: dev_docs
nav_section: quick-start
hide: true
about:
- Code needed to show outstream video ads using the <code>video</code> media type with <code>outstream</code> context
- Other than setting up the ad unit, very lit... | <|file_sep|>dev-docs/examples/outstream-video-example.md.diff
original:
updated:
<|file_sep|>dev-docs/examples/outstream-video-example.md.diff
original:
updated:
- See also the following examples hosted on Prebid.org - <a href="/examples/video/outstream/outstream-dfp-two-adapters-demo.html">Show an outstream ad usin... | 79da944fe6860f4be031dca2ccaf32831883b45f | dev-docs/examples/outstream-video-example.md | dev-docs/examples/outstream-video-example.md | Markdown |
<|file_sep|>original/attr_utils.py
<|file_sep|>current/attr_utils.py
<|file_sep|>updated/attr_utils.py | def _set_attr( obj, attr_name, value_to_set ):
setattr( obj, attr_name, value_to_set )
return getattr( obj, attr_name )
def _memoize_attr( obj, attr_name, value_to_set ):
return getattr( obj, attr_name, _set_attr( obj, attr_name, value_to_set ) ) | <|file_sep|>original/attr_utils.py
<|file_sep|>current/attr_utils.py
<|file_sep|>updated/attr_utils.py
def _set_attr( obj, attr_name, value_to_set ):
setattr( obj, attr_name, value_to_set )
return getattr( obj, attr_name )
def _memoize_attr( obj, attr_name, value_to_set ):
return getattr( obj, attr_name, _set_... | a142472b86044395e428abea2fa5ff28b892d1fb | attr_utils.py | attr_utils.py | Python |
<|file_sep|>original/external/README.md
<|file_sep|>current/external/README.md
<|file_sep|>updated/external/README.md | # External Tooling
These are tools from external projects that are included in this repo for convenience.
## [bash-preexec](https://github.com/rcaloras/bash-preexec)
`preexec` and `precmd` hook functions for Bash in the style of Zsh. They aim to emulate the behavior as described for [Zsh](http://zsh.sourceforge.net/... | <|file_sep|>original/external/README.md
<|file_sep|>current/external/README.md
<|file_sep|>updated/external/README.md
# External Tooling
These are tools from external projects that are included in this repo for convenience.
## [bash-preexec](https://github.com/rcaloras/bash-preexec)
`preexec` and `precmd` hook fun... | 26e792fc8036f956e75080303d84858590647450 | external/README.md | external/README.md | Markdown |
<|file_sep|>original/metadata/am.zoom.mbrowser.txt
Auto Name:mBrowser
Summary:Web browser
Description:
Simple webview based browser. Touch back or menu buttons for options.
.
Repo Type:git
Repo:https://github.com/chelovek84/mBrowser
Build:10.0,10
commit=ff4ee8b9f1a059f1ac737f9b347e6be9bc6215e6
subdir=mBrowser... | Auto Name:mBrowser
Summary:Web browser
Description:
Simple webview based browser. Touch back or menu buttons for options.
.
Repo Type:git
Repo:https://github.com/chelovek84/mBrowser
Build:10.0,10
commit=ff4ee8b9f1a059f1ac737f9b347e6be9bc6215e6
subdir=mBrowser
Build:11.0,11
commit=0edd757ea4e0ac0fc90da2f9... | <|file_sep|>original/metadata/am.zoom.mbrowser.txt
Auto Name:mBrowser
Summary:Web browser
Description:
Simple webview based browser. Touch back or menu buttons for options.
.
Repo Type:git
Repo:https://github.com/chelovek84/mBrowser
Build:10.0,10
commit=ff4ee8b9f1a059f1ac737f9b347e6be9bc6215e6
subdir=mBrowser... | 5f478003c141fa7b0b97ace0e923924686bc15e8 | metadata/am.zoom.mbrowser.txt | metadata/am.zoom.mbrowser.txt | Text |
<|file_sep|>app-frontend/src/app/services/common/thumbnail.service.js.diff
original:
updated:
/* globals BUILDCONFIG */
<|file_sep|>original/app-frontend/src/app/services/common/thumbnail.service.js
constructor(authService) {
'ngInject';
this.authService = authService;
}
... | constructor(authService) {
'ngInject';
this.authService = authService;
}
getBestFitUrl(thumbnails, size) {
let url = thumbnails.reduce((thumb, next) => {
if (Math.abs(size - next.widthPx) < Math.abs(size - thumb.widthPx)) {
... | <|file_sep|>app-frontend/src/app/services/common/thumbnail.service.js.diff
original:
updated:
/* globals BUILDCONFIG */
<|file_sep|>original/app-frontend/src/app/services/common/thumbnail.service.js
constructor(authService) {
'ngInject';
this.authService = authService;
}
... | 984efe33d50c7c95722b24252bf4beaccaa3889b | app-frontend/src/app/services/common/thumbnail.service.js | app-frontend/src/app/services/common/thumbnail.service.js | JavaScript |
<|file_sep|>main/containers/Search/styles.css.diff
original:
width: 600px;
updated:
width: 100%;
<|file_sep|>original/main/containers/Search/styles.css
}
.inputWrapper {
position: relative;
z-index: 2;
width: 600px;
height: 45px;
}
.autocomplete {
position: absolute;
z-index: 1;
width: 600px;
heig... | }
.inputWrapper {
position: relative;
z-index: 2;
width: 100%;
height: 45px;
}
.autocomplete {
position: absolute;
z-index: 1;
width: 100%;
height: 45px;
font-size: 1.5em;
padding: 0 10px;
line-height: 45px;
box-sizing: border-box;
color: #bbbbbb;
white-space: pre;
} | <|file_sep|>main/containers/Search/styles.css.diff
original:
width: 600px;
updated:
width: 100%;
<|file_sep|>original/main/containers/Search/styles.css
}
.inputWrapper {
position: relative;
z-index: 2;
width: 600px;
height: 45px;
}
.autocomplete {
position: absolute;
z-index: 1;
width: 600px;
heig... | 237059581a37d6055b2e33bee4985ae0eb4cc2a4 | main/containers/Search/styles.css | main/containers/Search/styles.css | CSS |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
before_script:
- git config --global user.email "nobody@example.com"
- git config --global user.name "Nobody Doe"
script: bundle exec rspec
env:
global: TARA_DOWNLOAD_DIR="$HOME/.tara/downloads"
cache:
bundler: true
directories:
- $HOME/.tara/dow... | language: ruby
sudo: false
before_script:
- git config --global user.email "nobody@example.com"
- git config --global user.name "Nobody Doe"
script: bundle exec rspec
env:
global: TARA_DOWNLOAD_DIR="$HOME/.tara/downloads"
cache:
bundler: true
directories:
- $HOME/.tara/downloads
matrix:
include:
- r... | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
before_script:
- git config --global user.email "nobody@example.com"
- git config --global user.name "Nobody Doe"
script: bundle exec rspec
env:
global: TARA_DOWNLOAD_DIR="$HOME/.tara/downloads"
cache:
bundler: true
directories:
- $HOME/.tara/dow... | cd4d696e22b1630715c4abefc16c5496f7378675 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt
*/
class StoreAndForwardTopicTest: StringSpec() {
init {
val dest = "mytopic"
val client = EnMasseClient(createTopicContext(dest))
"Messages should be delivered to multiple subscribers" {
val msg... | */
class StoreAndForwardTopicTest: StringSpec() {
init {
val dest = "mytopic"
val client = EnMasseClient(createTopicContext(dest))
"Messages should be delivered to multiple subscribers" {
val msgs = listOf("foo", "bar", "baz")
val countdownLatch = CountDownLatch(1)... | <|file_sep|>original/src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt
*/
class StoreAndForwardTopicTest: StringSpec() {
init {
val dest = "mytopic"
val client = EnMasseClient(createTopicContext(dest))
"Messages should be delivered to multiple subscribers" {
val msg... | e1addeae7fe0213dd3e6aa4fbc6546ae325415db | src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt | src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt | Kotlin |
<|file_sep|>original/scipy/fftpack/__init__.py
# fftpack - Discrete Fourier Transform algorithms.
#
# Created: Pearu Peterson, August,September 2002
from info import __all__,__doc__
from fftpack_version import fftpack_version as __version__
from basic import *
from pseudo_diffs import *
from helper import *
from nu... | # Created: Pearu Peterson, August,September 2002
from info import __all__,__doc__
from fftpack_version import fftpack_version as __version__
from basic import *
from pseudo_diffs import *
from helper import *
from numpy.dual import register_func
for k in ['fft', 'ifft', 'fftn', 'ifftn', 'fft2', 'ifft2']:
regist... | <|file_sep|>original/scipy/fftpack/__init__.py
# fftpack - Discrete Fourier Transform algorithms.
#
# Created: Pearu Peterson, August,September 2002
from info import __all__,__doc__
from fftpack_version import fftpack_version as __version__
from basic import *
from pseudo_diffs import *
from helper import *
from nu... | 00e9f7d239287896946511b81e2029a5db1f435c | scipy/fftpack/__init__.py | scipy/fftpack/__init__.py | Python |
<|file_sep|>original/zsh/.zsh/vcs_info.zsh
# VCS info
# Configures the vcs_info plugin which displays version control information in
# the prompt. In this case it is configured to show in the right hand prompt.
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn
zstyle ':vcs_info:*' check-for-changes true
... | # VCS info
# Configures the vcs_info plugin which displays version control information in
# the prompt. In this case it is configured to show in the right hand prompt.
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:*' unstagedstr '*'
zstyle... | <|file_sep|>original/zsh/.zsh/vcs_info.zsh
# VCS info
# Configures the vcs_info plugin which displays version control information in
# the prompt. In this case it is configured to show in the right hand prompt.
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn
zstyle ':vcs_info:*' check-for-changes true
... | 64945a6d0cb62a3086bf8107d9dc89fede2676e1 | zsh/.zsh/vcs_info.zsh | zsh/.zsh/vcs_info.zsh | Shell |
<|file_sep|>original/environment_config.yaml
attributes:
metadata:
label: "Keystone settings (NOTE: Requires detach-database plugin!!!)"
weight: 90
yaml_additional_config:
type: "textarea"
weight: 52
value: |
foo: bar
label: "Additional config"
description: "Just put here valid yam... | attributes:
metadata:
label: "Keystone settings (NOTE: Requires detach-database plugin!!!)"
weight: 90
yaml_additional_config:
type: "textarea"
weight: 52
value: |
#Uncomment and adjust to enable remote keystone
#remote_keystone: 10.20.5.22
#keystone:
# admin_token: REMO... | <|file_sep|>original/environment_config.yaml
attributes:
metadata:
label: "Keystone settings (NOTE: Requires detach-database plugin!!!)"
weight: 90
yaml_additional_config:
type: "textarea"
weight: 52
value: |
foo: bar
label: "Additional config"
description: "Just put here valid yam... | d7b5d77422fa70d72c4b5d9c7096ee3c40023f3c | environment_config.yaml | environment_config.yaml | YAML |
<|file_sep|>original/tool_dependencies.xml
<package name="R" version="3.0.1">
<repository name="package_r_3_0_1" owner="iuc" />
</package>
<package name="numpy" version="1.7.1">
<repository name="package_numpy_1_7" owner="iuc" />
</package>
<package name="rseqc" version="2.3.7">
... | <package name="R" version="3.0.1">
<repository name="package_r_3_0_1" owner="iuc" />
</package>
<package name="numpy" version="1.7.1">
<repository name="package_numpy_1_7" owner="iuc" />
</package>
<package name="rseqc" version="2.3.7">
<install version = "1.0">
<... | <|file_sep|>original/tool_dependencies.xml
<package name="R" version="3.0.1">
<repository name="package_r_3_0_1" owner="iuc" />
</package>
<package name="numpy" version="1.7.1">
<repository name="package_numpy_1_7" owner="iuc" />
</package>
<package name="rseqc" version="2.3.7">
... | b3a6d9e773607da703d155c725efb1457a2b8bd7 | tool_dependencies.xml | tool_dependencies.xml | XML |
<|file_sep|>original/lib/troo/api/request.rb
new(verb, urn, query).response
end
end
def initialize(verb, urn, query = {})
@verb, @urn, @query = verb, urn, query
end
def response
@response ||= Response.parse(request)
end
private
attr_reader ... | new(verb, urn, query).response
end
end
def initialize(verb, urn, query = {})
@verb, @urn, @query = verb, urn, query
end
def response
@response ||= Response.parse(request)
rescue RestClient::Exception => e
ErrorResponse.new({ body: e.http_body, co... | <|file_sep|>original/lib/troo/api/request.rb
new(verb, urn, query).response
end
end
def initialize(verb, urn, query = {})
@verb, @urn, @query = verb, urn, query
end
def response
@response ||= Response.parse(request)
end
private
attr_reader ... | 7c0848969953d07b6100e5171724652f48f7971d | lib/troo/api/request.rb | lib/troo/api/request.rb | Ruby |
<|file_sep|>original/src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php
/**
* {@inheritdoc}
*/
public function transform($value)
{
if (!$value instanceof EntityFieldFallbackValue) {
return $value;
}
// if (is_null($value->getFall... | /**
* {@inheritdoc}
*/
public function transform($value)
{
if (!$value instanceof EntityFieldFallbackValue) {
return $value;
}
if (is_null($value->getFallback()) && !$value->getArrayValue()) {
return $value->setScalarValue($value->getOwnValue());
... | <|file_sep|>original/src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php
/**
* {@inheritdoc}
*/
public function transform($value)
{
if (!$value instanceof EntityFieldFallbackValue) {
return $value;
}
// if (is_null($value->getFall... | 9f92adf47806c080003d1c9b9fe108228b2586b3 | src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php | src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php | PHP |
<|file_sep|>original/integration_tests/tests/glacier.rs
extern crate rusoto_glacier;
extern crate env_logger;
use rusoto_glacier::{Glacier, GlacierClient, ListVaultsInput};
use rusoto_core::{DefaultCredentialsProvider, Region, default_tls_client};
#[test]
fn should_list_fleets() {
let _ = env_logger::init();
... | extern crate rusoto_glacier;
extern crate env_logger;
use rusoto_glacier::{Glacier, GlacierClient, ListVaultsInput};
use rusoto_core::{DefaultCredentialsProvider, Region, default_tls_client};
#[test]
fn should_list_fleets() {
let _ = env_logger::init();
let credentials = DefaultCredentialsProvider::new().unwr... | <|file_sep|>original/integration_tests/tests/glacier.rs
extern crate rusoto_glacier;
extern crate env_logger;
use rusoto_glacier::{Glacier, GlacierClient, ListVaultsInput};
use rusoto_core::{DefaultCredentialsProvider, Region, default_tls_client};
#[test]
fn should_list_fleets() {
let _ = env_logger::init();
... | e97668009a93fece84e4140a967a0496568de08f | integration_tests/tests/glacier.rs | integration_tests/tests/glacier.rs | Rust |
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt
// This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots... | // This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots
// until the changes can be landed upstream.
BUG_LEVIN MAC : fast/c... | <|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt
// This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots... | 86863c8fdade7c233f0d77084facfa3b6d6432eb | webkit/tools/layout_tests/test_expectations.txt | webkit/tools/layout_tests/test_expectations.txt | Text |
<|file_sep|>packages/gh/ghc-prof.yaml.diff
original:
hash: 9327597db974c8648fe623e2213d126a96daf9041710da786b1ce1d06492f29c
updated:
hash: 08fb1eed7c12839ec51d8e2a6347ddf02f9457c53fd211389a9875667a75d4c6
<|file_sep|>packages/gh/ghc-prof.yaml.diff
original:
updated:
- '1.2.0'
<|file_sep|>original/packages/gh/ghc-prof.y... | maintainer: Mitsutoshi Aoe <maoe@foldr.in>
synopsis: Library for parsing GHC time and allocation profiling reports
changelog: ''
basic-deps:
base: ==4.*
time: -any
text: -any
containers: ==0.5.*
ghc-prof: -any
attoparsec: <0.14
scientific: <0.4
all-versions:
- '1.0.0'
- '1.0.1'
- '1.1.0'
- '1.2.0'
author:... | <|file_sep|>packages/gh/ghc-prof.yaml.diff
original:
hash: 9327597db974c8648fe623e2213d126a96daf9041710da786b1ce1d06492f29c
updated:
hash: 08fb1eed7c12839ec51d8e2a6347ddf02f9457c53fd211389a9875667a75d4c6
<|file_sep|>packages/gh/ghc-prof.yaml.diff
original:
updated:
- '1.2.0'
<|file_sep|>original/packages/gh/ghc-prof.y... | e4fc6edcf8b876d73e1590e4929741cb5f0cc863 | packages/gh/ghc-prof.yaml | packages/gh/ghc-prof.yaml | YAML |
<|file_sep|>original/IO/Exodus/CMakeLists.txt
vtkExodusIICache.cxx
vtkExodusIIReader.cxx
vtkExodusIIReaderParser.cxx
vtkExodusIIReaderVariableCheck.cxx
vtkExodusModel.cxx
vtkExodusIIWriter.cxx
vtkModelMetadata.cxx
)
set_source_files_properties(
vtkCPExodusIIElementBlock
vtkCPExodusIIInSituReader
... | vtkExodusIICache.cxx
vtkExodusIIReader.cxx
vtkExodusIIReaderParser.cxx
vtkExodusIIReaderVariableCheck.cxx
vtkExodusModel.cxx
vtkExodusIIWriter.cxx
vtkModelMetadata.cxx
)
set_source_files_properties(
vtkCPExodusIINodalCoordinatesTemplate
vtkCPExodusIIResultsArrayTemplate
vtkExodusIIReaderParser
... | <|file_sep|>original/IO/Exodus/CMakeLists.txt
vtkExodusIICache.cxx
vtkExodusIIReader.cxx
vtkExodusIIReaderParser.cxx
vtkExodusIIReaderVariableCheck.cxx
vtkExodusModel.cxx
vtkExodusIIWriter.cxx
vtkModelMetadata.cxx
)
set_source_files_properties(
vtkCPExodusIIElementBlock
vtkCPExodusIIInSituReader
... | 96c8af9baba2455050a458f468859ff89fdccda9 | IO/Exodus/CMakeLists.txt | IO/Exodus/CMakeLists.txt | Text |
<|file_sep|>original/tests.js
prefix: 'my new app',
date: false
});
logger.error("Test 6");
logger = logit();
logger.error("Test 7");
var obj = {"data": "test", "another data": 2};
logger.info(obj);
var tab = ["el1", "el2"];
logger.info(tab);
logger.info('arg1', 'arg2');
fs = require('fs');
fs.lstat('notexist... | date: false
});
logger.error("Test 6");
logger = logit();
logger.error("Test 7");
var obj = {"data": "test", "another data": 2};
logger.info(obj);
var tab = ["el1", "el2"];
logger.info(tab);
logger.info('arg1', 'arg2');
logger.lineBreak();
fs = require('fs');
fs.lstat('notexist', function(err) {
logger.error(... | <|file_sep|>original/tests.js
prefix: 'my new app',
date: false
});
logger.error("Test 6");
logger = logit();
logger.error("Test 7");
var obj = {"data": "test", "another data": 2};
logger.info(obj);
var tab = ["el1", "el2"];
logger.info(tab);
logger.info('arg1', 'arg2');
fs = require('fs');
fs.lstat('notexist... | 5583da7b0961b3f3d94ff08faf606fa5fbaab5f9 | tests.js | tests.js | JavaScript |
<|file_sep|>original/app/views/adminable/resources/index/_has_many.html.haml
- if entry
= Adminable::EntriesPresenter.new(entry.public_send(attribute.name)).to_s
<|file_sep|>current/app/views/adminable/resources/index/_has_many.html.haml
- if entry
= Adminable::EntriesPresenter.new(entry.public_send(attribute.name)... | - if entry
= Adminable::Presenters::Entries.new(entry.public_send(attribute.name)).to_s | <|file_sep|>original/app/views/adminable/resources/index/_has_many.html.haml
- if entry
= Adminable::EntriesPresenter.new(entry.public_send(attribute.name)).to_s
<|file_sep|>current/app/views/adminable/resources/index/_has_many.html.haml
- if entry
= Adminable::EntriesPresenter.new(entry.public_send(attribute.name)... | a78ee20a04599cf2bbea2427936e7b6e7be3eddf | app/views/adminable/resources/index/_has_many.html.haml | app/views/adminable/resources/index/_has_many.html.haml | Haml |
<|file_sep|>roles/ceilometer-common/handlers/main.yml.diff
original:
updated:
failed_when: false
<|file_sep|>original/roles/ceilometer-common/handlers/main.yml
---
- name: restart ceilometer services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
with_items:
- ... | ---
- name: restart ceilometer services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
failed_when: false
with_items:
- "{{ ceilometer.services.ceilometer_api }}"
- "{{ ceilometer.services.ceilometer_collector }}"
- "{{ ceilometer.services.ceilometer_not... | <|file_sep|>roles/ceilometer-common/handlers/main.yml.diff
original:
updated:
failed_when: false
<|file_sep|>original/roles/ceilometer-common/handlers/main.yml
---
- name: restart ceilometer services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
with_items:
- ... | 1130f4b162b485066e9a1c7a7744736bcffa9931 | roles/ceilometer-common/handlers/main.yml | roles/ceilometer-common/handlers/main.yml | YAML |
<|file_sep|>original/dev/app/components/landing/enable-student/enable-student.scss
.enable-student {
}
<|file_sep|>current/dev/app/components/landing/enable-student/enable-student.scss
.enable-student {
}
<|file_sep|>updated/dev/app/components/landing/enable-student/enable-student.scss | .enable-student {
.student.container{
background: transparent;
width: 80%;
}
.form-control:focus {
border-color: none;
box-shadow: none;
outline: 0;
-webkit-box-shadow: none;
box-shadow: none;
}
input{
border-color: #4F628E;
outline: none;
}
.col-xs-12.col-sm-8.col-md-6.col-sm-of... | <|file_sep|>original/dev/app/components/landing/enable-student/enable-student.scss
.enable-student {
}
<|file_sep|>current/dev/app/components/landing/enable-student/enable-student.scss
.enable-student {
}
<|file_sep|>updated/dev/app/components/landing/enable-student/enable-student.scss
.enable-student {
.student... | ca0b555236a005348aa2fa42c29a2f358d8a7d04 | dev/app/components/landing/enable-student/enable-student.scss | dev/app/components/landing/enable-student/enable-student.scss | SCSS |
<|file_sep|>setup.py.diff
original:
updated:
import time
<|file_sep|>original/setup.py
try:
# This borks sdist.
os.remove('.SELF')
except:
pass
setup(
name="pagekite",
version=APPVER.replace('github',
'dev'+date.today().isoformat().replace('-', '')),
license="AGPLv3+",
... | import os
try:
# This borks sdist.
os.remove('.SELF')
except:
pass
setup(
name="pagekite",
version=APPVER.replace('github', 'dev%d' % time.time()),
license="AGPLv3+",
author="Bjarni R. Einarsson",
author_email="bre@pagekite.net",
url="http://pagekite.org/",
description="""PageKite ma... | <|file_sep|>setup.py.diff
original:
updated:
import time
<|file_sep|>original/setup.py
try:
# This borks sdist.
os.remove('.SELF')
except:
pass
setup(
name="pagekite",
version=APPVER.replace('github',
'dev'+date.today().isoformat().replace('-', '')),
license="AGPLv3+",
... | 2e08d602ca6ac1c4ae32d84d9013fa36f6f45f9f | setup.py | setup.py | Python |
<|file_sep|>original/protocols/models.py
from datetime import datetime
from django.db import models
class Topic(models.Model):
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
voted_for = models... | from datetime import datetime
from django.db import models
class Topic(models.Model):
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
voted_for = models.PositiveIntegerField(blank=True, null=Tr... | <|file_sep|>original/protocols/models.py
from datetime import datetime
from django.db import models
class Topic(models.Model):
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
voted_for = models... | 6cabf9c03cd40ae748d03f1a2fd3f4f3db6c47a5 | protocols/models.py | protocols/models.py | Python |
<|file_sep|>original/.github/workflows/mkdocs-requirements.txt
click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.7
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.3.8
mkdocs-material-extensions==1.0.3
Pygments==2.12.0
pymdown-extensions==9.5
python-date... | click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.7
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.3.9
mkdocs-material-extensions==1.0.3
Pygments==2.12.0
pymdown-extensions==9.5
python-dateutil==2.8.2
PyYAML==6.0
repackage==0.7.3
six==1.16.0
termcolor=... | <|file_sep|>original/.github/workflows/mkdocs-requirements.txt
click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.7
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.3.8
mkdocs-material-extensions==1.0.3
Pygments==2.12.0
pymdown-extensions==9.5
python-date... | 87bcfb7a7afba3f65d5aaa74bd17d503a661526d | .github/workflows/mkdocs-requirements.txt | .github/workflows/mkdocs-requirements.txt | Text |
<|file_sep|>original/clang.cmake
SET (CMAKE_C_COMPILER "clang")
SET (CMAKE_CXX_COMPILER "clang++")
SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -Wwrite-strings -std=c99 -pedantic -O2 -fomit-frame-pointer" CACHE STRING "" FORCE)
SET (CMAKE_EXE_LINKER_FLAGS "-Wl,-O2 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--gc-sections" CACH... | SET (CMAKE_C_COMPILER "clang")
SET (CMAKE_CXX_COMPILER "clang++")
SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -Wshadow -Wwrite-strings -std=c99 -pedantic -O2 -fomit-frame-pointer" CACHE STRING "" FORCE)
SET (CMAKE_EXE_LINKER_FLAGS "-Wl,-O2 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--gc-sections" CACHE STRING "" FORCE)
MESS... | <|file_sep|>original/clang.cmake
SET (CMAKE_C_COMPILER "clang")
SET (CMAKE_CXX_COMPILER "clang++")
SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -Wwrite-strings -std=c99 -pedantic -O2 -fomit-frame-pointer" CACHE STRING "" FORCE)
SET (CMAKE_EXE_LINKER_FLAGS "-Wl,-O2 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--gc-sections" CACH... | 61098d902022c7530fae705b27a48d7e24b1b969 | clang.cmake | clang.cmake | CMake |
<|file_sep|>functions/fn_moduleCQBSpawner.sqf.diff
original:
_logic = [_this, 0, objNull, [objNull]] call BIS_fnc_param;
_activated = [_this, 2, true, [true]] call BIS_fnc_param;
updated:
_logic = param [0, objNull, [objNull]];
_activated = param [2, true, [true]];
<|file_sep|>original/functions/fn_moduleCQBSpa... | private ["_logic", "_activated", "_bases", "_areas", "_settings", "_spawns"];
_logic = param [0, objNull, [objNull]];
_activated = param [2, true, [true]];
if (!(isNull _logic) && _activated) then {
_bases = [(synchronizedObjects _logic), { _x isKindOf "LocationBase_F" }] call CBA_fnc_select;
_areas = [(synchro... | <|file_sep|>functions/fn_moduleCQBSpawner.sqf.diff
original:
_logic = [_this, 0, objNull, [objNull]] call BIS_fnc_param;
_activated = [_this, 2, true, [true]] call BIS_fnc_param;
updated:
_logic = param [0, objNull, [objNull]];
_activated = param [2, true, [true]];
<|file_sep|>original/functions/fn_moduleCQBSpa... | 64a29ba2384a69f050e67d4e8183c50a95ecc1eb | functions/fn_moduleCQBSpawner.sqf | functions/fn_moduleCQBSpawner.sqf | SQF |
<|file_sep|>original/objc/message.h
<|file_sep|>current/objc/message.h
<|file_sep|>updated/objc/message.h | #ifndef _OBJC_MESSAGE_H_
#define _OBJC_MESSAGE_H_
#if defined(__x86_64) || defined(__i386) || defined(__arm__) || \
defined(__mips_n64) || defined(__mips_n32)
/**
* Standard message sending function. This function must be cast to the
* correct types for the function before use. The first argument is the
* receiv... | <|file_sep|>original/objc/message.h
<|file_sep|>current/objc/message.h
<|file_sep|>updated/objc/message.h
#ifndef _OBJC_MESSAGE_H_
#define _OBJC_MESSAGE_H_
#if defined(__x86_64) || defined(__i386) || defined(__arm__) || \
defined(__mips_n64) || defined(__mips_n32)
/**
* Standard message sending function. This fun... | d7f50666d97c89c03e2ab8679a7c20523e14b11d | objc/message.h | objc/message.h | C |
<|file_sep|>src/UserScriptHeader.js.diff
original:
// @description Provides the necessary userscripts to test out features for the site. These are scripts that will be placed on the site.
updated:
// @description A userscript that provides all the custom new site features that are being tested. Once fully tested, these... | // ==UserScript==
// @name pmd-rp-beta
// @namespace coaster3000@pmd-roleplay.forumotion.com
// @description A userscript that provides all the custom new site features that are being tested. Once fully tested, these features are removed from this script and added to the site for global use.
// @include http://pmd-role... | <|file_sep|>src/UserScriptHeader.js.diff
original:
// @description Provides the necessary userscripts to test out features for the site. These are scripts that will be placed on the site.
updated:
// @description A userscript that provides all the custom new site features that are being tested. Once fully tested, these... | 23d453aa21367023f4098953ddd8b4c7581591de | src/UserScriptHeader.js | src/UserScriptHeader.js | JavaScript |
<|file_sep|>original/src/peergos/shared/user/JavaScriptPoster.java
}
@Override
public CompletableFuture<byte[]> postMultipart(String url, List<byte[]> files) {
return http.postMultipart(url, files);
}
@Override
public CompletableFuture<byte[]> get(String url) {
return http.get(... | @Override
public CompletableFuture<byte[]> postMultipart(String url, List<byte[]> files) {
return http.postMultipart(url, files);
}
@Override
public CompletableFuture<byte[]> get(String url) {
return http.get(url);
}
@JsMethod
public static byte[] emptyArray() {
... | <|file_sep|>original/src/peergos/shared/user/JavaScriptPoster.java
}
@Override
public CompletableFuture<byte[]> postMultipart(String url, List<byte[]> files) {
return http.postMultipart(url, files);
}
@Override
public CompletableFuture<byte[]> get(String url) {
return http.get(... | 46d7dbf65eb52b8b8bbe904e64fe50a979fbd4c3 | src/peergos/shared/user/JavaScriptPoster.java | src/peergos/shared/user/JavaScriptPoster.java | Java |
<|file_sep|>README.md.diff
original:
:warning: Vue GWT is in an **experimental** state.
The syntax is not final and might change between versions.
It may also contains bugs. :warning:
updated:
<|file_sep|>original/README.md
# Vue GWT Demo
Simple demo GWT app using [Vue GWT](https://github.com/Axellience/vue-gwt).
:... | # Vue GWT Demo
Simple demo GWT app using [Vue GWT](https://github.com/Axellience/vue-gwt).
Vue GWT integrates [Vue.js](https://vuejs.org/) with [GWT](http://www.gwtproject.org/) 2.8 using [JsInterop](https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/view).
Vue GWT makes heavy use of Vue... | <|file_sep|>README.md.diff
original:
:warning: Vue GWT is in an **experimental** state.
The syntax is not final and might change between versions.
It may also contains bugs. :warning:
updated:
<|file_sep|>original/README.md
# Vue GWT Demo
Simple demo GWT app using [Vue GWT](https://github.com/Axellience/vue-gwt).
:... | 9c1a19794360964b216ff61913b783aba96fd5d3 | README.md | README.md | Markdown |
<|file_sep|>original/contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala
import pureconfig._
import scala.util.{Failure, Success, Try}
class RefTypeConfigConvertSpec extends Properties("RefTypeConfigConvert") {
type PosInt = Int Refined Positive
case class Config(val... |
property("load success") = secure {
loadConfigWithValue("1") ?=
Success(Config(1))
}
property("load failure") = secure {
loadConfigWithValue("0") =?
Failure(PredicateFailedException("Predicate failed: (0 > 0)."))
}
property("roundtrip success") = secure {
val config = Config(1)
... | <|file_sep|>original/contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala
import pureconfig._
import scala.util.{Failure, Success, Try}
class RefTypeConfigConvertSpec extends Properties("RefTypeConfigConvert") {
type PosInt = Int Refined Positive
case class Config(val... | 97b3b3a4acba5e8d94c21b81a6ef2e55f2381abd | contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala | contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala | Scala |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.