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/setup.py #!env python from distutils.core import setup setup(name="dailypost", version="0.2", description="Manage MOTD entries and keep your MOTD looking fine.", author="Mustafa Paksoy", url="https://github.com/mustpax/dailypost", scripts=["dailypost.py"]) <|file_se...
#!/usr/bin/python from distutils.core import setup setup(name="dailypost", version="0.2", description="Manage MOTD entries and keep your MOTD looking fine.", author="Mustafa Paksoy", url="https://github.com/mustpax/dailypost", scripts=["dailypost.py"])
<|file_sep|>original/setup.py #!env python from distutils.core import setup setup(name="dailypost", version="0.2", description="Manage MOTD entries and keep your MOTD looking fine.", author="Mustafa Paksoy", url="https://github.com/mustpax/dailypost", scripts=["dailypost.py"]) <|file_se...
e2ce105300b7aed62b689edd7dcab2fbd27cc04b
setup.py
setup.py
Python
<|file_sep|>original/.travis.yml language: ruby cache: bundler script: bundle exec rspec sudo: false gemfile: - gemfiles/rack_1.5.gemfile - gemfiles/rack_1.6.gemfile - gemfiles/rack_2.0.gemfile - gemfiles/rack_2.1.gemfile - gemfiles/rack_2.2.gemfile rvm: - 2.3.8 - 2.4.9 - 2.5.8 - 2.6.5 - 2.7.0 be...
language: ruby cache: bundler script: bundle exec rspec sudo: false gemfile: - gemfiles/rack_1.5.gemfile - gemfiles/rack_1.6.gemfile - gemfiles/rack_2.0.gemfile - gemfiles/rack_2.1.gemfile - gemfiles/rack_2.2.gemfile rvm: - 2.6.8 - 2.7.4 - 3.0.2 - 3.1.0-dev before_install: - gem install bundler -...
<|file_sep|>original/.travis.yml language: ruby cache: bundler script: bundle exec rspec sudo: false gemfile: - gemfiles/rack_1.5.gemfile - gemfiles/rack_1.6.gemfile - gemfiles/rack_2.0.gemfile - gemfiles/rack_2.1.gemfile - gemfiles/rack_2.2.gemfile rvm: - 2.3.8 - 2.4.9 - 2.5.8 - 2.6.5 - 2.7.0 be...
553ff64280492575898144f1f5ef7b456a79f7f1
.travis.yml
.travis.yml
YAML
<|file_sep|>Manifold/Expression+List.swift.diff original: Declaration.Data("List", .Type, { [ updated: Declaration.Datatype("List", .Argument(.Type, { .End([ <|file_sep|>original/Manifold/Expression+List.swift // Copyright © 2015 Rob Rix. All rights reserved. extension Expression where Recur: TermType {...
// Copyright © 2015 Rob Rix. All rights reserved. extension Expression where Recur: TermType { public static var list: Module<Recur> { return Module([ Declaration.Datatype("List", .Argument(.Type, { .End([ "nil": .End, "cons": .Argument($0, const(.Recursive(.End))) ]) })) ]) } } import...
<|file_sep|>Manifold/Expression+List.swift.diff original: Declaration.Data("List", .Type, { [ updated: Declaration.Datatype("List", .Argument(.Type, { .End([ <|file_sep|>original/Manifold/Expression+List.swift // Copyright © 2015 Rob Rix. All rights reserved. extension Expression where Recur: TermType {...
ce13a25b9925cd105d409dc06ecf56edf6a2d4b2
Manifold/Expression+List.swift
Manifold/Expression+List.swift
Swift
<|file_sep|>original/src/server/interface/elements.kmd.json "java": { "mavenGroupId": "org.kurento", "mavenArtifactId": "kms-api-elements" } }, "api": { "java": { "packageName": "org.kurento.client", "mavenGroupId": "org.kurento", "mavenArtifactId": "kur...
"mavenGroupId": "org.kurento", "mavenArtifactId": "kms-api-elements" } }, "api": { "java": { "packageName": "org.kurento.client", "mavenGroupId": "org.kurento", "mavenArtifactId": "kurento-client" }, "js": { "nodeName": "kurento-client-elem...
<|file_sep|>original/src/server/interface/elements.kmd.json "java": { "mavenGroupId": "org.kurento", "mavenArtifactId": "kms-api-elements" } }, "api": { "java": { "packageName": "org.kurento.client", "mavenGroupId": "org.kurento", "mavenArtifactId": "kur...
613b9c153d0de2fb81d43a9445f59f8b8f5bea43
src/server/interface/elements.kmd.json
src/server/interface/elements.kmd.json
JSON
<|file_sep|>original/.travis.yml python: - 2.6 - 2.7 cache: pip: true directories: - $HOME/perl5 install: - export PERL5LIB=~/perl5/lib/perl5 - export PYTHONPATH=$(echo $(dirname $(which python))/../lib/python*/site-packages) - export PATH=~/perl5/bin:$PATH - pip install coverage - curl -L https:/...
python: - 2.6 - 2.7 cache: pip: true directories: - $HOME/perl5 install: - export PERL5LIB=~/perl5/lib/perl5 - export PYTHONPATH=$(echo $(dirname $(which python))/../lib/python*/site-packages) - export PATH=~/perl5/bin:$PATH - pip install coverage - curl -L https://cpanmin.us/ -o cpanm && chmod a+...
<|file_sep|>original/.travis.yml python: - 2.6 - 2.7 cache: pip: true directories: - $HOME/perl5 install: - export PERL5LIB=~/perl5/lib/perl5 - export PYTHONPATH=$(echo $(dirname $(which python))/../lib/python*/site-packages) - export PATH=~/perl5/bin:$PATH - pip install coverage - curl -L https:/...
9f743578572ae8214b9cb8627ec10c798f773f71
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/java/com/jmb/springfactory/model/dto/RolDto.java <|file_sep|>current/src/main/java/com/jmb/springfactory/model/dto/RolDto.java <|file_sep|>updated/src/main/java/com/jmb/springfactory/model/dto/RolDto.java
package com.jmb.springfactory.model.dto; public class RolDto extends BaseDto { private static final long serialVersionUID = 8906176643020347221L; private String name; public String getName() { return name; } public void setName(String name) { this.name = name; } }
<|file_sep|>original/src/main/java/com/jmb/springfactory/model/dto/RolDto.java <|file_sep|>current/src/main/java/com/jmb/springfactory/model/dto/RolDto.java <|file_sep|>updated/src/main/java/com/jmb/springfactory/model/dto/RolDto.java package com.jmb.springfactory.model.dto; public class RolDto extends BaseDto { ...
c9572217ce67af396f2208603240a781d7be78a7
src/main/java/com/jmb/springfactory/model/dto/RolDto.java
src/main/java/com/jmb/springfactory/model/dto/RolDto.java
Java
<|file_sep|>original/config.mk # Also bump lib/mosquitto.h, lib/python/setup.py, CMakeLists.txt VERSION=0.9.90 TIMESTAMP:=$(shell date "+%F %T%z") #MANCOUNTRIES=en_GB CFLAGS=-I. -I.. -ggdb -Wall -O3 -I../lib LDFLAGS= # Add -lwrap to LDFLAGS if compiling with tcp wrappers support. CC=gcc INSTALL=install XGETTEXT=xget...
# Also bump lib/mosquitto.h, lib/python/setup.py, CMakeLists.txt VERSION=0.9.90 TIMESTAMP:=$(shell date "+%F %T%z") #MANCOUNTRIES=en_GB CFLAGS=-I. -I.. -ggdb -Wall -O2 -I../lib LDFLAGS= # Add -lwrap to LDFLAGS if compiling with tcp wrappers support. CC=gcc INSTALL=install XGETTEXT=xgettext MSGMERGE=msgmerge MSGFMT=m...
<|file_sep|>original/config.mk # Also bump lib/mosquitto.h, lib/python/setup.py, CMakeLists.txt VERSION=0.9.90 TIMESTAMP:=$(shell date "+%F %T%z") #MANCOUNTRIES=en_GB CFLAGS=-I. -I.. -ggdb -Wall -O3 -I../lib LDFLAGS= # Add -lwrap to LDFLAGS if compiling with tcp wrappers support. CC=gcc INSTALL=install XGETTEXT=xget...
bbfc3d8bceb4d1a5ce647acce0bae75084fedf4a
config.mk
config.mk
Makefile
<|file_sep|>original/migrations/m170221_090302_add_sent_time_index.php <|file_sep|>current/migrations/m170221_090302_add_sent_time_index.php <|file_sep|>updated/migrations/m170221_090302_add_sent_time_index.php
<?php use yii\db\Migration; use nterms\mailqueue\MailQueue; class m170221_090302_add_sent_time_index extends Migration { public function up() { $this->createIndex('IX_sent_time', Yii::$app->get(MailQueue::NAME)->table, 'sent_time'); } public function down() { $this->dropIndex('IX_sen...
<|file_sep|>original/migrations/m170221_090302_add_sent_time_index.php <|file_sep|>current/migrations/m170221_090302_add_sent_time_index.php <|file_sep|>updated/migrations/m170221_090302_add_sent_time_index.php <?php use yii\db\Migration; use nterms\mailqueue\MailQueue; class m170221_090302_add_sent_time_index extend...
1808026bea9355be7974878e4a2d8c6b2d567f7c
migrations/m170221_090302_add_sent_time_index.php
migrations/m170221_090302_add_sent_time_index.php
PHP
<|file_sep|>original/swagger_to_sdk_config.json { "$schema": "https://raw.githubusercontent.com/lmazuel/swagger-to-sdk/master/swagger_to_sdk_config.schema.json", "meta": { "autorest_options": { "nodejs": "", "license-header": "MICROSOFT_MIT_NO_VERSION", "sdkrel:node-sdks-folder": ".", "u...
{ "$schema": "https://raw.githubusercontent.com/lmazuel/swagger-to-sdk/master/swagger_to_sdk_config.schema.json", "meta": { "autorest_options": { "nodejs": "", "license-header": "MICROSOFT_MIT_NO_VERSION", "sdkrel:node-sdks-folder": ".", "use": "@microsoft.azure/autorest.nodejs@2.1.99" ...
<|file_sep|>original/swagger_to_sdk_config.json { "$schema": "https://raw.githubusercontent.com/lmazuel/swagger-to-sdk/master/swagger_to_sdk_config.schema.json", "meta": { "autorest_options": { "nodejs": "", "license-header": "MICROSOFT_MIT_NO_VERSION", "sdkrel:node-sdks-folder": ".", "u...
82bbbad6631fc3effa5fb6d7fbe4b813665ad0f8
swagger_to_sdk_config.json
swagger_to_sdk_config.json
JSON
<|file_sep|>original/config/deploy.rb require 'capistrano/ext/multistage' # Deployment set :server, :passenger set :user, "deployer" # The server's user for deploys # Configuration set :scm, :git set :branch, "master" ssh_options[:forward_agent] = true set :use_sudo, false set :deploy_vi...
# Configuration set :scm, :git set :branch, "master" ssh_options[:forward_agent] = true set :use_sudo, false set :deploy_via, :remote_cache set :git_enable_submodules, 1 set :copy_exclude, [".git", "spec"] # Passenger require 'cap_recipes/tasks/passenger' # Bundle install require "bundler/capistrano" after "bundle:i...
<|file_sep|>original/config/deploy.rb require 'capistrano/ext/multistage' # Deployment set :server, :passenger set :user, "deployer" # The server's user for deploys # Configuration set :scm, :git set :branch, "master" ssh_options[:forward_agent] = true set :use_sudo, false set :deploy_vi...
2951452c2cb18a504fd3f1a2e5009ecdbece9599
config/deploy.rb
config/deploy.rb
Ruby
<|file_sep|>original/README.md Basic Standard Library (BSL) ============================ This is the Basic Standard Library, part of Bloomberg's Basic Development Environment (BDE). For more information about BSL and BDE, follow the links below: * [BSL wiki](http://github.com/bloomberg/bsl/wiki) * [Quick-Start Guide]...
[![build status](https://secure.travis-ci.org/bloomberg/bsl.png)](http://travis-ci.org/bloomberg/bsl) Basic Standard Library (BSL) ============================ This is the Basic Standard Library, part of Bloomberg's Basic Development Environment (BDE). For more information about BSL and BDE, follow the links below: *...
<|file_sep|>original/README.md Basic Standard Library (BSL) ============================ This is the Basic Standard Library, part of Bloomberg's Basic Development Environment (BDE). For more information about BSL and BDE, follow the links below: * [BSL wiki](http://github.com/bloomberg/bsl/wiki) * [Quick-Start Guide]...
4787ffa59c370ef4ec0b0d2a9eb8b0b137c0ca7c
README.md
README.md
Markdown
<|file_sep|>original/.github/ISSUE_TEMPLATE.md ### Descriptive summary Include what version of Hyrax relates to this issue (7.x, 6.x, HEAD, etc.) if appropriate, and any relevant tracebacks if you're reporting a bug. ### Expected behavior ### Actual behavior ### Steps to reproduce the behavior 1. Do this 1. Then d...
### Descriptive summary Include what version of Hyrax relates to this issue (7.x, 6.x, HEAD, etc.) if appropriate, and any relevant tracebacks if you're reporting a bug. ### Rationale Provide the rationale or user story that describes "why" this issue should be addressed. Especially if this is a new feature or signi...
<|file_sep|>original/.github/ISSUE_TEMPLATE.md ### Descriptive summary Include what version of Hyrax relates to this issue (7.x, 6.x, HEAD, etc.) if appropriate, and any relevant tracebacks if you're reporting a bug. ### Expected behavior ### Actual behavior ### Steps to reproduce the behavior 1. Do this 1. Then d...
1b0eea47974adf0de44fb0dcb03034e2998b73fd
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
Markdown
<|file_sep|>original/metadata/com.opentaxi.android.txt Description: Interact with web services provided by taxi companies for internet communication with taxis: sending a new request, real-time monitoring of status and positioning of taxis, order history, leave feedback for quality of service and more. Currently only ...
Description: Interact with web services provided by taxi companies for internet communication with taxis: sending a new request, real-time monitoring of status and positioning of taxis, order history, leave feedback for quality of service and more. Currently only available for Burgas, Bulgaria. . Repo Type:git Repo:h...
<|file_sep|>original/metadata/com.opentaxi.android.txt Description: Interact with web services provided by taxi companies for internet communication with taxis: sending a new request, real-time monitoring of status and positioning of taxis, order history, leave feedback for quality of service and more. Currently only ...
caae91025b92e9a1a72ca53d183ea3b53acea3f9
metadata/com.opentaxi.android.txt
metadata/com.opentaxi.android.txt
Text
<|file_sep|>modules/govuk_jenkins/templates/jobs/tagging_migration_check.yaml.erb.diff original: NSCA_CHECK_DESCRIPTION=<%= @service_description -%> NSCA_OUTPUT=<%= @service_description -%> success updated: NSCA_CHECK_DESCRIPTION=<%= @service_description %> NSCA_OUTPUT=<%...
artifactNumToKeep: 100 triggers: - timed: '0 * * * *' # every hour builders: - shell: | bin/verify_migrated_apps publishers: - trigger-parameterized-builds: - project: Success_Passive_Check condition: 'SUCCESS' predefined-parameters: | ...
<|file_sep|>modules/govuk_jenkins/templates/jobs/tagging_migration_check.yaml.erb.diff original: NSCA_CHECK_DESCRIPTION=<%= @service_description -%> NSCA_OUTPUT=<%= @service_description -%> success updated: NSCA_CHECK_DESCRIPTION=<%= @service_description %> NSCA_OUTPUT=<%...
a65835ec12f7c769e869083dc792b4217f8e6827
modules/govuk_jenkins/templates/jobs/tagging_migration_check.yaml.erb
modules/govuk_jenkins/templates/jobs/tagging_migration_check.yaml.erb
HTML+ERB
<|file_sep|>original/salary_calc.gemspec Gem::Specification.new do |spec| spec.name = "salary_calc" spec.version = SalaryCalc::VERSION spec.authors = ["Adrian Perez"] spec.email = ["adrianperez.deb@gmail.com"] spec.description = %q{A very simple salary calculator} spec.summar...
Gem::Specification.new do |spec| spec.name = "salary_calc" spec.version = SalaryCalc::VERSION spec.authors = ["Adrian Perez"] spec.email = ["adrianperez.deb@gmail.com"] spec.description = %q{A very simple salary calculator} spec.summary = spec.description spec.homepage...
<|file_sep|>original/salary_calc.gemspec Gem::Specification.new do |spec| spec.name = "salary_calc" spec.version = SalaryCalc::VERSION spec.authors = ["Adrian Perez"] spec.email = ["adrianperez.deb@gmail.com"] spec.description = %q{A very simple salary calculator} spec.summar...
6dc71f97dbe077e749cf5b05db5193a7319ddfeb
salary_calc.gemspec
salary_calc.gemspec
Ruby
<|file_sep|>chrome/noise/content/noise/noise.js.diff original: player: null, enabled: false, updated: <|file_sep|>chrome/noise/content/noise/noise.js.diff original: this.player = Noise.player; this.prefs = Noise.prefs; this.enabled = Noise.enabled; updated: <|file_sep|>chrome/noise/content/noise/nois...
Noise.addEventHandlers(window); }, uninit: function () { Noise.undoPatchWindow(window); Noise.removeEventHandlers(window); }, reset: function (newMappings) { Noise.removeEventHandlers(window); Noise.addEventHandlers(window, newMappings); } }; window.addEventListener("load", function () ...
<|file_sep|>chrome/noise/content/noise/noise.js.diff original: player: null, enabled: false, updated: <|file_sep|>chrome/noise/content/noise/noise.js.diff original: this.player = Noise.player; this.prefs = Noise.prefs; this.enabled = Noise.enabled; updated: <|file_sep|>chrome/noise/content/noise/nois...
12ccf347f0d4513bb34ef54c7492ec9a66aa967f
chrome/noise/content/noise/noise.js
chrome/noise/content/noise/noise.js
JavaScript
<|file_sep|>original/util/compile-sass.sh #!/bin/bash # # This script compiles site's SASS into CSS # It requires either the presence of `sass` command (which will be tried first) # or the CSS::Sass Perl 5 module: https://metacpan.org/pod/CSS::Sass # if command -v sass >/dev/null 2>&1; then sass -t compressed asse...
#!/bin/bash # # This script compiles site's SASS into CSS # It requires either the presence of `sass` command (which will be tried first) # or the CSS::Sass Perl 5 module: https://metacpan.org/pod/CSS::Sass # if command -v sass >/dev/null 2>&1 && sass --version 2>&1/dev/null; then sass -t compressed assets/sass/st...
<|file_sep|>original/util/compile-sass.sh #!/bin/bash # # This script compiles site's SASS into CSS # It requires either the presence of `sass` command (which will be tried first) # or the CSS::Sass Perl 5 module: https://metacpan.org/pod/CSS::Sass # if command -v sass >/dev/null 2>&1; then sass -t compressed asse...
d6a7645a3e679beb7b12832b01f48d5040ff3a25
util/compile-sass.sh
util/compile-sass.sh
Shell
<|file_sep|>original/spec/build_process_spec.rb end it "Should run a given command in a subshell" do watcher = Juici::Watcher.instance.start build = Juici::Build.new(parent: "test project", environment: {}, command: "/bin/echo 'test build succeeded'") $build...
# Wait a reasonable time for build to finish # TODO: This can leverage the hooks system # TODO: Easer will be to have worker.block or something sleep 2 build.reload build[:status].should == :success build[:output].chomp.should == "test build succeeded" end it "Should catch failed build...
<|file_sep|>original/spec/build_process_spec.rb end it "Should run a given command in a subshell" do watcher = Juici::Watcher.instance.start build = Juici::Build.new(parent: "test project", environment: {}, command: "/bin/echo 'test build succeeded'") $build...
2e16baf995d042337f31163982f988089193dfc9
spec/build_process_spec.rb
spec/build_process_spec.rb
Ruby
<|file_sep|>original/package.json { "name": "angularcontext", "version": "0.0.16", "description": "Use AngularJS in Node applications", "author": "Martin Atkins <mart@degeneration.co.uk>", "keywords": ["angularjs"], "repository": { "type": "git", "url": "git://github.com/apparent...
{ "name": "angularcontext", "version": "0.0.17", "description": "Use AngularJS in Node applications", "author": "Martin Atkins <mart@degeneration.co.uk>", "keywords": ["angularjs"], "repository": { "type": "git", "url": "git://github.com/apparentlymart/node-angularcontext.git" ...
<|file_sep|>original/package.json { "name": "angularcontext", "version": "0.0.16", "description": "Use AngularJS in Node applications", "author": "Martin Atkins <mart@degeneration.co.uk>", "keywords": ["angularjs"], "repository": { "type": "git", "url": "git://github.com/apparent...
d854e8b45c33e1606964fd875817af6a8b255c5a
package.json
package.json
JSON
<|file_sep|>original/build_tools/bots/linux/nacl-install-linux-ports-1.sh # cairo also builds png, zlib, freetype, fontconfig, expat, and pixman BuildPackage agg BuildPackage openscenegraph BuildPackage freeimage BuildPackage imagemagick BuildPackage cairo BuildPackage pango BuildPackage openal BuildPackage ncurses Bui...
BuildPackage agg BuildPackage openscenegraph BuildPackage freeimage BuildPackage imagemagick BuildPackage cairo BuildPackage pango BuildPackage openal BuildPackage ncurses BuildPackage box2d BuildPackage xml2 BuildPackage yajl echo "@@@BUILD_STEP ${NACL_ARCH} Summary@@@" if [[ $RESULT != 0 ]] ; then echo "@@@STEP_FA...
<|file_sep|>original/build_tools/bots/linux/nacl-install-linux-ports-1.sh # cairo also builds png, zlib, freetype, fontconfig, expat, and pixman BuildPackage agg BuildPackage openscenegraph BuildPackage freeimage BuildPackage imagemagick BuildPackage cairo BuildPackage pango BuildPackage openal BuildPackage ncurses Bui...
5d1fd3732dcdcbabf3484e868bdc90b9ed2015b9
build_tools/bots/linux/nacl-install-linux-ports-1.sh
build_tools/bots/linux/nacl-install-linux-ports-1.sh
Shell
<|file_sep|>original/profiles/tasks.py LOGGER = logging.getLogger(None) """The logger for this module""" # Note: Logging doesn't appear to work properly unless we get the root logger class Update_Users(PeriodicTask): """ Periodic task to update users as inactive who have not logged in for more than 90 days ...
LOGGER = logging.getLogger(None) """The logger for this module""" # Note: Logging doesn't appear to work properly unless we get the root logger class Update_Users(PeriodicTask): """ Periodic task to update users as inactive who have not logged in for more than 90 days This class runs every day at midnigh...
<|file_sep|>original/profiles/tasks.py LOGGER = logging.getLogger(None) """The logger for this module""" # Note: Logging doesn't appear to work properly unless we get the root logger class Update_Users(PeriodicTask): """ Periodic task to update users as inactive who have not logged in for more than 90 days ...
7cfb3d6be9e1fc24b5e86e3179e874bcbe01c47c
profiles/tasks.py
profiles/tasks.py
Python
<|file_sep|>original/ci/tasks/create_release.yml - name: pcf-pipelines-release-files run: path: sh args: - -ce - | version=v$(cat version/version) tar --extract --file cf-cli/*.tgz tar \ --exclude .git \ --exclude ci \ --exclude "*.go" \ --create \ --gzip \ --f...
- name: pcf-pipelines-release-files run: path: sh args: - -ce - | version=v$(cat version/version) tar --extract --file cf-cli/*.tgz tar \ --exclude .git \ --exclude ci \ --exclude "*.go" \ --create \ --gzip \ --file pcf-pipelines-release-files/pcf-pipelines-$ve...
<|file_sep|>original/ci/tasks/create_release.yml - name: pcf-pipelines-release-files run: path: sh args: - -ce - | version=v$(cat version/version) tar --extract --file cf-cli/*.tgz tar \ --exclude .git \ --exclude ci \ --exclude "*.go" \ --create \ --gzip \ --f...
fb1ef7b7b360296b50a653f00849e6dafd2fb354
ci/tasks/create_release.yml
ci/tasks/create_release.yml
YAML
<|file_sep|>original/scripts/key_extend_helper.sh # Extends a keybord key. # Benefits: tmux won't report errors and everything will work fine even if the # script is deleted. extend_key() { local key="$1" local script="$2" tmux bind-key -n "$key" run-shell " \ tmux send-keys '$key'; \ $script; \ true" } <|fil...
# Extends a keybord key. # Benefits: tmux won't report errors and everything will work fine even if the # script is deleted. extend_key() { local key="$1" local script="$2" # 1. 'key' is sent to tmux. This ensures the default key action is done. # 2. Script is executed. # 3. `true` command ensures an exit status ...
<|file_sep|>original/scripts/key_extend_helper.sh # Extends a keybord key. # Benefits: tmux won't report errors and everything will work fine even if the # script is deleted. extend_key() { local key="$1" local script="$2" tmux bind-key -n "$key" run-shell " \ tmux send-keys '$key'; \ $script; \ true" } <|fil...
313805136b54e59bf5996f2561e24b1989950b20
scripts/key_extend_helper.sh
scripts/key_extend_helper.sh
Shell
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.2 tox==2.3.1 coverage==4.2 Sphinx==1.4.5 cryptography==1.4 PyYAML==3.11 requests-mock==1.0.0 setuptools==25.1.0 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.2 t...
bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.2 tox==2.3.1 coverage==4.2 Sphinx==1.4.5 cryptography==1.6 PyYAML==3.11 requests-mock==1.0.0 setuptools==25.1.0
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.2 tox==2.3.1 coverage==4.2 Sphinx==1.4.5 cryptography==1.4 PyYAML==3.11 requests-mock==1.0.0 setuptools==25.1.0 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.2 t...
afba5a2b8a705d4ba012c0a9eae3eecb5b862e1c
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/tasks/nof-task.coffee module.exports = (grunt) -> {spawn} = require('./task-helpers')(grunt) grunt.registerTask 'nof', 'Un-focus all specs', -> nof = require.resolve('.bin/nof') spawn({cmd: nof, args: ['spec', 'src']}, @async()) <|file_sep|>current/tasks/nof-task.coffee module.exports ...
module.exports = (grunt) -> {spawn} = require('./task-helpers')(grunt) grunt.registerTask 'nof', 'Un-focus all specs', -> nof = require.resolve('.bin/nof') spawn({cmd: nof, args: ['spec']}, @async())
<|file_sep|>original/tasks/nof-task.coffee module.exports = (grunt) -> {spawn} = require('./task-helpers')(grunt) grunt.registerTask 'nof', 'Un-focus all specs', -> nof = require.resolve('.bin/nof') spawn({cmd: nof, args: ['spec', 'src']}, @async()) <|file_sep|>current/tasks/nof-task.coffee module.exports ...
2f8c9ffa66a1cadf3c6a47dbca61bd194b149de6
tasks/nof-task.coffee
tasks/nof-task.coffee
CoffeeScript
<|file_sep|>original/Common/config/production-windows.json "name": "storage-fs", "fs": { "folderPath": "../../App_Data", "secretString": "onlyoffice" } }, "services": { "CoAuthoring": { "server": { "sockjsUrl": "/web-apps/vendor/sockjs/sockjs.min.js", "editor_settin...
"name": "storage-fs", "fs": { "folderPath": "../../App_Data", "secretString": "onlyoffice" } }, "services": { "CoAuthoring": { "server": { "sockjsUrl": "/web-apps/vendor/sockjs/sockjs.min.js", "static_content": [ { "name": "/sdkjs", ...
<|file_sep|>original/Common/config/production-windows.json "name": "storage-fs", "fs": { "folderPath": "../../App_Data", "secretString": "onlyoffice" } }, "services": { "CoAuthoring": { "server": { "sockjsUrl": "/web-apps/vendor/sockjs/sockjs.min.js", "editor_settin...
0a9483e2f9cae9154d51db27621c390e4952c2b1
Common/config/production-windows.json
Common/config/production-windows.json
JSON
<|file_sep|>original/templates/rsyslog.conf.erb ########################### #### GLOBAL DIRECTIVES #### ########################### # # Set the default permissions for all log files. # $FileOwner <%= scope.lookupvar('rsyslog::log_user') %> $FileGroup <%= scope.lookupvar('rsyslog::log_group') %> $FileCreateMode <%= sco...
########################### #### GLOBAL DIRECTIVES #### ########################### # # Set the default permissions for all log files. # $FileOwner <%= scope.lookupvar('rsyslog::log_user') %> $FileGroup <%= scope.lookupvar('rsyslog::log_group') %> $FileCreateMode <%= scope.lookupvar('rsyslog::perm_file') %> $DirOwner ...
<|file_sep|>original/templates/rsyslog.conf.erb ########################### #### GLOBAL DIRECTIVES #### ########################### # # Set the default permissions for all log files. # $FileOwner <%= scope.lookupvar('rsyslog::log_user') %> $FileGroup <%= scope.lookupvar('rsyslog::log_group') %> $FileCreateMode <%= sco...
67af76cbe46f3123e14a936ea213adce25f21037
templates/rsyslog.conf.erb
templates/rsyslog.conf.erb
HTML+ERB
<|file_sep|>original/behat.yml default: extensions: MvLabs\Zf2Extension\Zf2Extension: ~ Behat\MinkExtension: base_url: 'http://localhost:8085' sessions: default: zombie: node_modules_path: /Users/Christopher/.npm-packages/lib/node_modules/ <|file_sep|>current/behat.ym...
default: extensions: MvLabs\Zf2Extension\Zf2Extension: ~ Behat\MinkExtension: base_url: 'http://localhost:8085' sessions: default: zombie: ~
<|file_sep|>original/behat.yml default: extensions: MvLabs\Zf2Extension\Zf2Extension: ~ Behat\MinkExtension: base_url: 'http://localhost:8085' sessions: default: zombie: node_modules_path: /Users/Christopher/.npm-packages/lib/node_modules/ <|file_sep|>current/behat.ym...
049f90a51a6e5c97072a5319f9aa3d067e1193d4
behat.yml
behat.yml
YAML
<|file_sep|>recipes/raven-hydro/meta.yaml.diff original: updated: skip: true # [not win] <|file_sep|>recipes/raven-hydro/meta.yaml.diff original: maintainers: updated: recipe-maintainers: <|file_sep|>original/recipes/raven-hydro/meta.yaml build: - {{ compiler('cxx') }} - make # [not win] - libnet...
- {{ compiler('cxx') }} - make # [not win] - libnetcdf host: - libnetcdf run: - libnetcdf about: home: http://raven.uwaterloo.ca/ dev_url: https://chyms.nrc.gc.ca/ docs_url: http://raven.uwaterloo.ca/files/v{{ version }}/RavenManual_v{{ version }}.pdf doc_source_url: http://raven.uwate...
<|file_sep|>recipes/raven-hydro/meta.yaml.diff original: updated: skip: true # [not win] <|file_sep|>recipes/raven-hydro/meta.yaml.diff original: maintainers: updated: recipe-maintainers: <|file_sep|>original/recipes/raven-hydro/meta.yaml build: - {{ compiler('cxx') }} - make # [not win] - libnet...
e319f83b867a58619c1ca43e59ef3c53057842ce
recipes/raven-hydro/meta.yaml
recipes/raven-hydro/meta.yaml
YAML
<|file_sep|>original/adash.gemspec Gem::Specification.new do |spec| spec.name = "adash" spec.version = Adash::VERSION spec.authors = ["Code Ass"] spec.email = ["aycabta@gmail.com"] spec.summary = %q{Adash is a Dash Replenishment Service CLI client} spec.description = %Q...
Gem::Specification.new do |spec| spec.name = "adash" spec.version = Adash::VERSION spec.authors = ["Code Ass"] spec.email = ["aycabta@gmail.com"] spec.summary = %q{Adash is a Dash Replenishment Service CLI client} spec.description = %Q{Adash is a Dash Replenishment Ser...
<|file_sep|>original/adash.gemspec Gem::Specification.new do |spec| spec.name = "adash" spec.version = Adash::VERSION spec.authors = ["Code Ass"] spec.email = ["aycabta@gmail.com"] spec.summary = %q{Adash is a Dash Replenishment Service CLI client} spec.description = %Q...
50bda104e46108d944dd62e69d58b087f40cdab6
adash.gemspec
adash.gemspec
Ruby
<|file_sep|>requirements.txt.diff original: posix_ipc updated: <|file_sep|>original/requirements.txt lockfile>=0.9.1 netaddr oslo.config>=1.4.0.0a1 oslo.db>=0.5.0 oslo.serialization>=1.0.0 oslo.utils>=0.3.0 oslosphinx>=2.2.0 # Apache-2.0 oslotest pandas pecan<0.8 posix_ipc python-swiftclient pytimeparse # pytimeparse...
netaddr oslo.config>=1.4.0.0a1 oslo.db>=0.5.0 oslo.serialization>=1.0.0 oslo.utils>=0.3.0 oslosphinx>=2.2.0 # Apache-2.0 oslotest pandas pecan<0.8 python-swiftclient pytimeparse # pytimeparse misses this dep for now future six sqlalchemy sqlalchemy-utils stevedore sysv_ipc>=0.6.8 tooz>=0.4 voluptuous werkzeug
<|file_sep|>requirements.txt.diff original: posix_ipc updated: <|file_sep|>original/requirements.txt lockfile>=0.9.1 netaddr oslo.config>=1.4.0.0a1 oslo.db>=0.5.0 oslo.serialization>=1.0.0 oslo.utils>=0.3.0 oslosphinx>=2.2.0 # Apache-2.0 oslotest pandas pecan<0.8 posix_ipc python-swiftclient pytimeparse # pytimeparse...
1635ae1da215747a554e84fa1e0514cbac10def2
requirements.txt
requirements.txt
Text
<|file_sep|>cgit-wp-breadcrumb-nav-menu.php.diff original: Version: 3.0 updated: Version: 3.1 <|file_sep|>cgit-wp-breadcrumb-nav-menu.php.diff original: /** * Load plugin */ add_action('plugins_loaded', function () { if (!class_exists('Cgit\Breadcrumb')) { add_action('admin_notices', function () { ...
Plugin Name: Castlegate IT WP Breadcrumb Nav Menu Plugin URI: http://github.com/castlegateit/cgit-wp-breadcrumb-nav-menu Description: Simple breadcrumb navigation for WordPress using WordPress Nav Menus. Version: 3.1 Author: Castlegate IT Author URI: http://www.castlegateit.co.uk/ License: MIT */ if (!defined('ABSPA...
<|file_sep|>cgit-wp-breadcrumb-nav-menu.php.diff original: Version: 3.0 updated: Version: 3.1 <|file_sep|>cgit-wp-breadcrumb-nav-menu.php.diff original: /** * Load plugin */ add_action('plugins_loaded', function () { if (!class_exists('Cgit\Breadcrumb')) { add_action('admin_notices', function () { ...
e252fcf6b9d234515f8c8f973462a6c1f0a03da7
cgit-wp-breadcrumb-nav-menu.php
cgit-wp-breadcrumb-nav-menu.php
PHP
<|file_sep|>original/requirements_dev.txt pip==19.0.3 bumpversion==0.5.3 wheel==0.33.1 watchdog==0.9.0 flake8==3.7.7 tox==3.8.0 Sphinx==1.8.5 coverage==4.5.3 PyYAML==5.1 pytest==4.3.1 <|file_sep|>current/requirements_dev.txt pip==19.0.3 bumpversion==0.5.3 wheel==0.33.1 watchdog==0.9.0 flake8==3.7.7 tox==3.8.0 Sphinx==1...
pip==19.0.3 bumpversion==0.5.3 wheel==0.33.1 watchdog==0.9.0 flake8==3.7.7 tox==3.8.1 Sphinx==1.8.5 coverage==4.5.3 PyYAML==5.1 pytest==4.3.1
<|file_sep|>original/requirements_dev.txt pip==19.0.3 bumpversion==0.5.3 wheel==0.33.1 watchdog==0.9.0 flake8==3.7.7 tox==3.8.0 Sphinx==1.8.5 coverage==4.5.3 PyYAML==5.1 pytest==4.3.1 <|file_sep|>current/requirements_dev.txt pip==19.0.3 bumpversion==0.5.3 wheel==0.33.1 watchdog==0.9.0 flake8==3.7.7 tox==3.8.0 Sphinx==1...
a7b6e491aba1ae52c769a900ce1120b2595a7b6a
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>ci/images/get-jdk-url.sh.diff original: echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.7_10.tar.gz" updated: echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.8%2B10/OpenJDK11U-jdk_x64_l...
#!/bin/bash set -e case "$1" in java8) echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u262-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u262b10.tar.gz" ;; java11) echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.8%2B10/OpenJDK11U-jdk_x64_linux_hotspot_...
<|file_sep|>ci/images/get-jdk-url.sh.diff original: echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.7_10.tar.gz" updated: echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.8%2B10/OpenJDK11U-jdk_x64_l...
f19afe0c76de5eaf93f49a1ba88d006d2c063747
ci/images/get-jdk-url.sh
ci/images/get-jdk-url.sh
Shell
<|file_sep|>website/data/alert-banner.js.diff original: tag: 'June 8-11', url: 'https://hashiconf.com/europe/?utm_source=DocsBanner', text: 'HashiConf Europe is happening now. Join all sessions live June 8 & 9.', linkText: 'Join Now', updated: tag: 'Thank you', url: 'https://hashiconf.com/europe', text: '...
export const ALERT_BANNER_ACTIVE = true // https://github.com/hashicorp/web-components/tree/master/packages/alert-banner export default { tag: 'Thank you', url: 'https://hashiconf.com/europe', text: 'HashiConf Europe is a wrap. Watch this year’s sessions on-demand.', linkText: 'Watch Now', // Set the `expira...
<|file_sep|>website/data/alert-banner.js.diff original: tag: 'June 8-11', url: 'https://hashiconf.com/europe/?utm_source=DocsBanner', text: 'HashiConf Europe is happening now. Join all sessions live June 8 & 9.', linkText: 'Join Now', updated: tag: 'Thank you', url: 'https://hashiconf.com/europe', text: '...
7f42e3c02ad693f932cd8ec48280684f94b9234f
website/data/alert-banner.js
website/data/alert-banner.js
JavaScript
<|file_sep|>original/MIGRATION_GUIDE_0_2_0.md <|file_sep|>current/MIGRATION_GUIDE_0_2_0.md <|file_sep|>updated/MIGRATION_GUIDE_0_2_0.md
# Migration Guide from v0.1.x to v0.2.0 Due to changes in the `Google API`, `Candy Check` needed to introduce some breaking changes in version `0.2.0`. To adapt your old implementation to these changes, follow the steps below: ## Authorization Change the old authorization config from something like ```ruby # < v0....
<|file_sep|>original/MIGRATION_GUIDE_0_2_0.md <|file_sep|>current/MIGRATION_GUIDE_0_2_0.md <|file_sep|>updated/MIGRATION_GUIDE_0_2_0.md # Migration Guide from v0.1.x to v0.2.0 Due to changes in the `Google API`, `Candy Check` needed to introduce some breaking changes in version `0.2.0`. To adapt your old implementa...
cbad48c0c421e46f8a3f014c9591be06f55e266b
MIGRATION_GUIDE_0_2_0.md
MIGRATION_GUIDE_0_2_0.md
Markdown
<|file_sep|>packages/sr/srcloc.yaml.diff original: hash: 3bb7238782d89f7be1a5d60460a5c15d5f309a8c33bda2b0ea213f9d21e8372e updated: hash: 0783b40fd57211c95fbeccbe98df9d54d0926e544e0540bf2e10b1a1dca800c4 <|file_sep|>packages/sr/srcloc.yaml.diff original: updated: - '0.5.1.2' <|file_sep|>original/packages/sr/srcloc.yaml ...
all-versions: - '0.1' - '0.1.1' - '0.1.1.1' - '0.1.2' - '0.2.0' - '0.2.1' - '0.3.0' - '0.4.0' - '0.4.1' - '0.5.0' - '0.5.0.1' - '0.5.0.2' - '0.5.1.0' - '0.5.1.1' - '0.5.1.2' author: Geoffrey Mainland <mainland@drexel.edu> latest: '0.5.1.2' description-type: haddock description: Data types for tracking, combining, and p...
<|file_sep|>packages/sr/srcloc.yaml.diff original: hash: 3bb7238782d89f7be1a5d60460a5c15d5f309a8c33bda2b0ea213f9d21e8372e updated: hash: 0783b40fd57211c95fbeccbe98df9d54d0926e544e0540bf2e10b1a1dca800c4 <|file_sep|>packages/sr/srcloc.yaml.diff original: updated: - '0.5.1.2' <|file_sep|>original/packages/sr/srcloc.yaml ...
b26fd02a02a09c9314b0a0151c19ea640e87a2ad
packages/sr/srcloc.yaml
packages/sr/srcloc.yaml
YAML
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md
# Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/). ## How to Report For more information on how to re...
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md # Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines]...
5fff7b7435ed3ecfeacefc5eff526c10e74861c9
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
Markdown
<|file_sep|>original/.travis.yml language: go go: - master install: - go get golang.org/x/net/context - go get golang.org/x/time/rate - go get github.com/Sirupsen/logrus - go get github.com/stretchr/testify/assert <|file_sep|>current/.travis.yml language: go go: - master install: - go get golang.org/x...
language: go go: - master install: - go get golang.org/x/net/context - go get golang.org/x/time/rate - go get github.com/Sirupsen/logrus - go get github.com/stretchr/testify/assert script: go test -v -race ./...
<|file_sep|>original/.travis.yml language: go go: - master install: - go get golang.org/x/net/context - go get golang.org/x/time/rate - go get github.com/Sirupsen/logrus - go get github.com/stretchr/testify/assert <|file_sep|>current/.travis.yml language: go go: - master install: - go get golang.org/x...
75475e755332e94d0bfe525d0a724df987699ddc
.travis.yml
.travis.yml
YAML
<|file_sep|>original/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/SpanGradientFormatter.java <|file_sep|>current/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/SpanGradientFormatter.java <|file_sep|>updated/sandbox/contributions/highlighter/src/java/org/...
package org.apache.lucene.search.highlight; /** * Copyright 2002-2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licen...
<|file_sep|>original/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/SpanGradientFormatter.java <|file_sep|>current/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/SpanGradientFormatter.java <|file_sep|>updated/sandbox/contributions/highlighter/src/java/org/...
bf046bee37e5d64bd87a7143ca5216579048da32
sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/SpanGradientFormatter.java
sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/SpanGradientFormatter.java
Java
<|file_sep|>snakeeyes/tests/conftest.py.diff original: @pytest.yield_fixture(scope='session') updated: @pytest.fixture(scope='session') <|file_sep|>original/snakeeyes/tests/conftest.py _app = create_app(settings_override=params) # Establish an application context before running the tests. ctx = _app.app_c...
_app = create_app(settings_override=params) # Establish an application context before running the tests. ctx = _app.app_context() ctx.push() yield _app ctx.pop() @pytest.fixture(scope='function') def client(app): """ Setup an app client, this gets executed for each test function. ...
<|file_sep|>snakeeyes/tests/conftest.py.diff original: @pytest.yield_fixture(scope='session') updated: @pytest.fixture(scope='session') <|file_sep|>original/snakeeyes/tests/conftest.py _app = create_app(settings_override=params) # Establish an application context before running the tests. ctx = _app.app_c...
945e8a256e384ed441fc8f9ec4cf15743ecf5b22
snakeeyes/tests/conftest.py
snakeeyes/tests/conftest.py
Python
<|file_sep|>original/geneproduct-common/src/test/resources/application.properties ## ================= Profile ============== spring.profiles.active=embeddedServer ## ================= Solr ================= solr.solr.home=../solr-cores/src/main/cores # tests can overwrite this value with use of uk.ac.ebi.quickgo.rep...
## ================= Profile ============== spring.profiles.active=embeddedServer ## ================= Solr ================= solr.solr.home=../solr-cores/src/main/cores # tests can overwrite this value with use of uk.ac.ebi.quickgo.repo.solr.io.geneproduct.TemporarySolrDataStore # otherwise, this value ensures tests...
<|file_sep|>original/geneproduct-common/src/test/resources/application.properties ## ================= Profile ============== spring.profiles.active=embeddedServer ## ================= Solr ================= solr.solr.home=../solr-cores/src/main/cores # tests can overwrite this value with use of uk.ac.ebi.quickgo.rep...
4f9d84d4654060c6654e6a3a6be234b1426f8429
geneproduct-common/src/test/resources/application.properties
geneproduct-common/src/test/resources/application.properties
INI
<|file_sep|>packages/co/compactable.yaml.diff original: hash: 878bfac3143a8b16a3ffb64f6b1175adb692f3e0e7b44aa65d86a5af05489f97 updated: hash: f146e4aed5474c9eca7a6f9a23993a57c16e16f83ae5dfa4b7b81360f594717c <|file_sep|>packages/co/compactable.yaml.diff original: updated: - '0.1.0.1' <|file_sep|>original/packages/co/co...
## 0.1.0.0 -- YYYY-mm-dd * First version. Released on an unsuspecting world. ' basic-deps: base: ! '>=4.9 && <4.10' containers: ! '>=0.5.7 && <0.6' transformers: ! '>=0.5.2 && <0.6' vector: ! '>=0.12.0 && <0.13' all-versions: - '0.1.0.0' - '0.1.0.1' author: Isaac Shapira latest: '0.1.0.1' description-ty...
<|file_sep|>packages/co/compactable.yaml.diff original: hash: 878bfac3143a8b16a3ffb64f6b1175adb692f3e0e7b44aa65d86a5af05489f97 updated: hash: f146e4aed5474c9eca7a6f9a23993a57c16e16f83ae5dfa4b7b81360f594717c <|file_sep|>packages/co/compactable.yaml.diff original: updated: - '0.1.0.1' <|file_sep|>original/packages/co/co...
b9dd465f5ac2f6cc76e114b834dec6897f83a73e
packages/co/compactable.yaml
packages/co/compactable.yaml
YAML
<|file_sep|>original/playbook.yml --- - name: Prepare the enviorment of remote host for ansible hoats: all gather_factes: False pre_tasks: - name: Install python for Ansible raw: test -e /usr/bin/python || (apt -y update && apt install -y python-simplejson) changed_when: False - name: Set up the ...
--- - name: Prepare the enviorment of remote host for ansible hosts: all gather_facts: False pre_tasks: - name: Install python for Ansible raw: test -e /usr/bin/python || (apt -y update && apt install -y python-simplejson) changed_when: False - name: Set up the development system by vagrant ansib...
<|file_sep|>original/playbook.yml --- - name: Prepare the enviorment of remote host for ansible hoats: all gather_factes: False pre_tasks: - name: Install python for Ansible raw: test -e /usr/bin/python || (apt -y update && apt install -y python-simplejson) changed_when: False - name: Set up the ...
9b69b6191c70652e03c5d4176aabbd72c46fe403
playbook.yml
playbook.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>.travis.yml.diff original: - sudo apt-get update -qq updated: <|file_sep|>.travis.yml.diff original: updated: - pip install coveralls <|file_sep|>original/.travis.yml - "3.3" - "3.4" install: - sudo apt-get update -qq - if [[ "$TRAVI...
install: - if [[ "$TRAVIS_PYTHON_VERSION" == 2.* ]]; then wget http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Linux-x86_64.sh -O miniconda.sh; fi - bash miniconda.sh -b -p $HOME/miniconda - expor...
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>.travis.yml.diff original: - sudo apt-get update -qq updated: <|file_sep|>.travis.yml.diff original: updated: - pip install coveralls <|file_sep|>original/.travis.yml - "3.3" - "3.4" install: - sudo apt-get update -qq - if [[ "$TRAVI...
f95420a972e842d003eb8e47fc6089c72e168e4a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/dist.rs // file, then keep going. match self.dist.call(req) { Ok(ref resp) if resp.status.0 == 404 => {} ret => return ret, } // Second, if we're requesting html, then we've only got one page so // serve up that page. Otherwise pr...
// file, then keep going. match self.dist.call(req) { Ok(ref resp) if resp.status.0 == 404 => {} ret => return ret, } // Second, if we're requesting html, then we've only got one page so // serve up that page. Otherwise proxy on to the rest of the app. ...
<|file_sep|>original/src/dist.rs // file, then keep going. match self.dist.call(req) { Ok(ref resp) if resp.status.0 == 404 => {} ret => return ret, } // Second, if we're requesting html, then we've only got one page so // serve up that page. Otherwise pr...
fadf6b94caec4c9fc1afd4cc7767afdb1105668c
src/dist.rs
src/dist.rs
Rust
<|file_sep|>original/README.md Apache Hadoop's SequenceFile Wet Reader. ======================================== TODO: ---- - Look at http://blog.cloudera.com/blog/2011/01/hadoop-io-sequence-map-set-array-bloommap-files/ <|file_sep|>current/README.md Apache Hadoop's SequenceFile Wet Reader. ==========================...
Apache Hadoop's SequenceFile Wet Reader. ======================================== Don't use it in production purpose. It was tested on 1 billion strings, but I can't say that it is fully compatible with official version. TODO: ---- - Look at http://blog.cloudera.com/blog/2011/01/hadoop-io-sequence-map-set-array-bloo...
<|file_sep|>original/README.md Apache Hadoop's SequenceFile Wet Reader. ======================================== TODO: ---- - Look at http://blog.cloudera.com/blog/2011/01/hadoop-io-sequence-map-set-array-bloommap-files/ <|file_sep|>current/README.md Apache Hadoop's SequenceFile Wet Reader. ==========================...
663d294d85e765206dda93973e39eb6b6f3cf2cc
README.md
README.md
Markdown
<|file_sep|>001-xoxoxo-obj/harness.py.diff original: if move is None: updated: if move is False: <|file_sep|>001-xoxoxo-obj/harness.py.diff original: continue updated: continue <|file_sep|>001-xoxoxo-obj/harness.py.diff original: continue updated: break <|file_se...
# Draw. self._output.show_draw() else: self._output.show_winner(w) break def main(): inputcon1 = InputCon() inputcon2 = InputCon() outputcon = OutputCon() player_inputs = [ inputcon1, inputcon2 ] player_output = outputcon h = Harness(player_output, player_inputs) h.S...
<|file_sep|>001-xoxoxo-obj/harness.py.diff original: if move is None: updated: if move is False: <|file_sep|>001-xoxoxo-obj/harness.py.diff original: continue updated: continue <|file_sep|>001-xoxoxo-obj/harness.py.diff original: continue updated: break <|file_se...
c7fd327623dfa84a91931771265932d4da95d766
001-xoxoxo-obj/harness.py
001-xoxoxo-obj/harness.py
Python
<|file_sep|>.github/ISSUE_TEMPLATE/Bug_report.md.diff original: updated: <|file_sep|>.github/ISSUE_TEMPLATE/Bug_report.md.diff original: <!-- Please don't delete this template or we'll close your issue --> updated: <!-- Please don't delete this template because we'll close your issue --> <|file_sep|>.github/ISSUE_TEM...
**If the current behavior is a bug, please provide the steps to reproduce.** <!-- A great way to do this is to provide your configuration via a GitHub repository --> <!-- The most helpful is a minimal reproduction with instructions on how to reproduce --> <!-- Repositories with too many files or large `webpack.config...
<|file_sep|>.github/ISSUE_TEMPLATE/Bug_report.md.diff original: updated: <|file_sep|>.github/ISSUE_TEMPLATE/Bug_report.md.diff original: <!-- Please don't delete this template or we'll close your issue --> updated: <!-- Please don't delete this template because we'll close your issue --> <|file_sep|>.github/ISSUE_TEM...
da536b0ac69ba473e891d992c6d6974225a6b3f1
.github/ISSUE_TEMPLATE/Bug_report.md
.github/ISSUE_TEMPLATE/Bug_report.md
Markdown
<|file_sep|>app/utils/colorize-trends.js.diff original: let transitServiceColor = { 'CORE - METRORAIL': 'red', 'CORE - METRORAPID': '#f24d6e', 'CORE - LIMITED': '#649dce', 'CORE - RADIAL': '#5190c8', 'CORE - FEEDER': '#3d84c2', 'CORE - EXPRESS/FLYERS': '#3777ae', 'CORE - CROSSTOWN': '#77a9d4', 'SPECIAL ...
import transitServiceColors from 'capmetrics-web/utils/service-colors'; export default function(datum) { for (let i = 0; i < datum.length; i++) { let data = datum[i]; let color = 'purple'; if (transitServiceColors.hasOwnProperty(data.key)) { color = transitServiceColors[data.key]; } data.co...
<|file_sep|>app/utils/colorize-trends.js.diff original: let transitServiceColor = { 'CORE - METRORAIL': 'red', 'CORE - METRORAPID': '#f24d6e', 'CORE - LIMITED': '#649dce', 'CORE - RADIAL': '#5190c8', 'CORE - FEEDER': '#3d84c2', 'CORE - EXPRESS/FLYERS': '#3777ae', 'CORE - CROSSTOWN': '#77a9d4', 'SPECIAL ...
9859fc9e8e5b6185b0c9638da130726632289b97
app/utils/colorize-trends.js
app/utils/colorize-trends.js
JavaScript
<|file_sep|>collectors/socket/README.md.diff original: **Path: ** Describes the endpoint of a given socket. updated: **Path:** Describes the endpoint of a given socket. <|file_sep|>collectors/socket/README.md.diff original: **Timeout: ** Number of seconds to connect/query a given socket and return. updated: **Timeout:*...
Unix supports: * Path * Timeout * Match * Query ### Check Attributes **Path:** Describes the endpoint of a given socket. **Timeout:** Number of seconds to connect/query a given socket and return. **Match:** Parse the output ensuring it includes the given match string. **Query (TCP Only):** Input to a given a ...
<|file_sep|>collectors/socket/README.md.diff original: **Path: ** Describes the endpoint of a given socket. updated: **Path:** Describes the endpoint of a given socket. <|file_sep|>collectors/socket/README.md.diff original: **Timeout: ** Number of seconds to connect/query a given socket and return. updated: **Timeout:*...
6757217f88e400e6937349510822aee9f1a699dc
collectors/socket/README.md
collectors/socket/README.md
Markdown
<|file_sep|>original/dist.ini name = MooseX-StrictConstructor author = Dave Rolsky <autarch@urth.org> license = Artistic_2_0 copyright_holder = Dave Rolsky version = 0.15 [@Basic] [InstallGuide] [MetaJSON] [MetaResources] bugtracker.web = http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-StrictConstructor bugtrac...
name = MooseX-StrictConstructor author = Dave Rolsky <autarch@urth.org> license = Artistic_2_0 copyright_holder = Dave Rolsky version = 0.16 [NextRelease] format = %-8v %{yyyy-MM-dd}d [@Basic] [InstallGuide] [MetaJSON] [MetaResources] bugtracker.web = http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-StrictConst...
<|file_sep|>original/dist.ini name = MooseX-StrictConstructor author = Dave Rolsky <autarch@urth.org> license = Artistic_2_0 copyright_holder = Dave Rolsky version = 0.15 [@Basic] [InstallGuide] [MetaJSON] [MetaResources] bugtracker.web = http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-StrictConstructor bugtrac...
209d1e20a401d4aadb02f1f22e7e1f6f25a1fe5a
dist.ini
dist.ini
INI
<|file_sep|>original/.github/workflows/build-test.yml <|file_sep|>current/.github/workflows/build-test.yml <|file_sep|>updated/.github/workflows/build-test.yml
name: Build and Test on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [2.7, 3.5, 3.6, 3.7, 3.8] fail-fast: False steps: - uses: actions/checkout@v2 # https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches - run: ...
<|file_sep|>original/.github/workflows/build-test.yml <|file_sep|>current/.github/workflows/build-test.yml <|file_sep|>updated/.github/workflows/build-test.yml name: Build and Test on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [2.7, 3.5, 3.6, 3.7, 3.8] ...
37cf1e5baa0c4f780496023949d10082957865e9
.github/workflows/build-test.yml
.github/workflows/build-test.yml
YAML
<|file_sep|>original/setup.py from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='7.0.14', packages=['todoist', 'todoist.managers'], author='Doist Team', ...
from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='7.0.15', packages=['todoist', 'todoist.managers'], author='Doist Team', author_email='info@todoist....
<|file_sep|>original/setup.py from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='7.0.14', packages=['todoist', 'todoist.managers'], author='Doist Team', ...
8e3227416f60fca6b1cbd7d370b6ccfceb721ee4
setup.py
setup.py
Python
<|file_sep|>requirements.txt.diff original: MySQL-python==1.2.5 updated: <|file_sep|>original/requirements.txt Flask==0.10.1 Flask-Assets==0.9 Flask-WTF==0.9.5 Jinja2==2.7.2 MarkupSafe==0.19 MySQL-python==1.2.5 PyYAML==3.11 SQLAlchemy==0.9.4 WTForms==1.0.5 Werkzeug==0.9.4 ansible==1.5.3 argparse==1.2.1 args==0.1.0 cli...
Flask==0.10.1 Flask-Assets==0.9 Flask-WTF==0.9.5 Jinja2==2.7.2 MarkupSafe==0.19 PyYAML==3.11 WTForms==1.0.5 Werkzeug==0.9.4 ansible==1.5.3 argparse==1.2.1 args==0.1.0 clint==0.3.6 docopt==0.6.1 ecdsa==0.11 elasticsearch==0.4.5 elasticutils==0.9.1 flask-paginate==0.2.1 inflect==0.2.4 ipdb==0.8 ipython==2.0.0 itsdangerou...
<|file_sep|>requirements.txt.diff original: MySQL-python==1.2.5 updated: <|file_sep|>original/requirements.txt Flask==0.10.1 Flask-Assets==0.9 Flask-WTF==0.9.5 Jinja2==2.7.2 MarkupSafe==0.19 MySQL-python==1.2.5 PyYAML==3.11 SQLAlchemy==0.9.4 WTForms==1.0.5 Werkzeug==0.9.4 ansible==1.5.3 argparse==1.2.1 args==0.1.0 cli...
6ede672b000b84619ba16e3e5c22d0c16b75dea3
requirements.txt
requirements.txt
Text
<|file_sep|>package/build-package.sh.diff original: updated: # Fail early of any of the commands below fail. set -e if [ -z "$VERSION" ]; then echo '$VERSION must be set to build a package.' exit -1 fi <|file_sep|>original/package/build-package.sh # Set package filename. PKGNAME="hoff_$VERSION-1" # Fail early ...
set -e if [ -z "$VERSION" ]; then echo '$VERSION must be set to build a package.' exit -1 fi # Set package filename. PKGNAME="hoff_$VERSION-1" # Recreate the file system layout as it should be on the target machine. mkdir -p "$PKGNAME/DEBIAN" mkdir -p "$PKGNAME/usr/bin" cp "$(stack path --local-install-root)/bin...
<|file_sep|>package/build-package.sh.diff original: updated: # Fail early of any of the commands below fail. set -e if [ -z "$VERSION" ]; then echo '$VERSION must be set to build a package.' exit -1 fi <|file_sep|>original/package/build-package.sh # Set package filename. PKGNAME="hoff_$VERSION-1" # Fail early ...
a000e220bb3a2340ffc535398bd3135e3a9d2fd3
package/build-package.sh
package/build-package.sh
Shell
<|file_sep|>original/lib/datasets/__init__.py from .imdb import imdb from .pascal_voc import pascal_voc from . import factory import os.path as osp ROOT_DIR = osp.join(osp.dirname(__file__), '..', '..') # We assume your matlab binary is in your path and called `matlab'. # If either is not true, just add it to your pa...
from .imdb import imdb from .pascal_voc import pascal_voc from . import factory import os.path as osp ROOT_DIR = osp.join(osp.dirname(__file__), '..', '..') # We assume your matlab binary is in your path and called `matlab'. # If either is not true, just add it to your path and alias it as matlab, or # you could chan...
<|file_sep|>original/lib/datasets/__init__.py from .imdb import imdb from .pascal_voc import pascal_voc from . import factory import os.path as osp ROOT_DIR = osp.join(osp.dirname(__file__), '..', '..') # We assume your matlab binary is in your path and called `matlab'. # If either is not true, just add it to your pa...
e08be68c9a998678edbb24620518fad7d02582b6
lib/datasets/__init__.py
lib/datasets/__init__.py
Python
<|file_sep|>original/README.md # fiftyfive-util-js This project contains various JavaScript bits and pieces that we've authored and collected over the years to improve browser detection, cookie management, and debugging; and to fill in some gaps in jQuery and jQuery UI. ## Credits Unless otherwise noted below, the J...
# fiftyfive-util-js This project contains various JavaScript bits and pieces that we've authored and collected over the years to improve browser detection, cookie management, and debugging; and to fill in some gaps in jQuery and jQuery UI. ## Credits Unless otherwise noted below, the JavaScript code in this project ...
<|file_sep|>original/README.md # fiftyfive-util-js This project contains various JavaScript bits and pieces that we've authored and collected over the years to improve browser detection, cookie management, and debugging; and to fill in some gaps in jQuery and jQuery UI. ## Credits Unless otherwise noted below, the J...
00d5c0557c248afa22a7e43337f6e9d8f5674a07
README.md
README.md
Markdown
<|file_sep|>original/test/options_test.rb argv = [ "-l", "Apache 2.0", "-u", "matsumoto-r", "-p", "/path/to/root", "-c", "FooClass", "-a", "Ryosuke Matsumoto", "--no-local-builder", "--no-ci", "mruby-buz" ] params = MrbgemTemplate.parse_options!(argv) assert_equal(params[:licens...
assert_equal(params[:license], "Apache 2.0") assert_equal(params[:github_user], "matsumoto-r") assert_equal(params[:mrbgem_prefix], "/path/to/root") assert_equal(params[:class_name], "FooClass") assert_equal(params[:author], "Ryosuke Matsumoto") assert_equal(params[:local_builder], false) assert_equal(pa...
<|file_sep|>original/test/options_test.rb argv = [ "-l", "Apache 2.0", "-u", "matsumoto-r", "-p", "/path/to/root", "-c", "FooClass", "-a", "Ryosuke Matsumoto", "--no-local-builder", "--no-ci", "mruby-buz" ] params = MrbgemTemplate.parse_options!(argv) assert_equal(params[:licens...
cb7d42c988719b3e763e2b2abc58a92e711c4a42
test/options_test.rb
test/options_test.rb
Ruby
<|file_sep|>original/requirements.txt fonttools[unicode,lxml,ufo]==4.28.3; platform_python_implementation == 'CPython' fonttools[unicode,ufo]==4.28.2; platform_python_implementation != 'CPython' cu2qu==1.6.7.post1 glyphsLib==6.0.0 ufo2ft[pathops]==2.25.1 MutatorMath==3.0.1 fontMath==0.8.1 defcon[lxml]==0.9.0; platform_...
fonttools[unicode,lxml,ufo]==4.28.3; platform_python_implementation == 'CPython' fonttools[unicode,ufo]==4.28.3; platform_python_implementation != 'CPython' cu2qu==1.6.7.post1 glyphsLib==6.0.0 ufo2ft[pathops]==2.25.1 MutatorMath==3.0.1 fontMath==0.8.1 defcon[lxml]==0.9.0; platform_python_implementation == 'CPython' def...
<|file_sep|>original/requirements.txt fonttools[unicode,lxml,ufo]==4.28.3; platform_python_implementation == 'CPython' fonttools[unicode,ufo]==4.28.2; platform_python_implementation != 'CPython' cu2qu==1.6.7.post1 glyphsLib==6.0.0 ufo2ft[pathops]==2.25.1 MutatorMath==3.0.1 fontMath==0.8.1 defcon[lxml]==0.9.0; platform_...
68da22d60a70535468ac63620cf59c440f10406b
requirements.txt
requirements.txt
Text
<|file_sep|>original/lib/devise/uncommon_password/model.rb file.each { |password| passwords << password.chomp } end passwords end included do validate :not_common_password end private def not_common_password return unless password.present? ...
file.each { |password| passwords << password.chomp } end passwords end included do validate :not_common_password end private def not_common_password return unless password_required? if Devise::Models::UncommonPassword.common_passwords.i...
<|file_sep|>original/lib/devise/uncommon_password/model.rb file.each { |password| passwords << password.chomp } end passwords end included do validate :not_common_password end private def not_common_password return unless password.present? ...
7279b3941741649ae5cb916a7ac7c42ed317a36a
lib/devise/uncommon_password/model.rb
lib/devise/uncommon_password/model.rb
Ruby
<|file_sep|>original/pronto.gemspec s.version = Pronto::VERSION s.platform = Gem::Platform::RUBY s.author = 'Mindaugas Mozūras' s.email = 'mindaugas.mozuras@gmail.com' s.homepage = 'http://github.org/mmozuras/pronto' s.summary = 'pronto' s.description = 'pronto' s.required_ruby...
s.version = Pronto::VERSION s.platform = Gem::Platform::RUBY s.author = 'Mindaugas Mozūras' s.email = 'mindaugas.mozuras@gmail.com' s.homepage = 'http://github.org/mmozuras/pronto' s.summary = 'pronto' s.description = 'pronto' s.required_rubygems_version = '>= 1.3.6' s.licens...
<|file_sep|>original/pronto.gemspec s.version = Pronto::VERSION s.platform = Gem::Platform::RUBY s.author = 'Mindaugas Mozūras' s.email = 'mindaugas.mozuras@gmail.com' s.homepage = 'http://github.org/mmozuras/pronto' s.summary = 'pronto' s.description = 'pronto' s.required_ruby...
7ff652538c2fd930385db571b03033e8778a36af
pronto.gemspec
pronto.gemspec
Ruby
<|file_sep|>original/lib/eeny-meeny/railtie.rb initializer 'eeny_meeny.configure' do |app| # Configrue EenyMeeny (defaults set in eeny_meeny.rb) EenyMeeny.configure do |config| config.cookies = app.config.eeny_meeny[:cookies] if app.config.eeny_meeny.key?(:cookies) ...
initializer 'eeny_meeny.configure' do |app| # Configrue EenyMeeny (defaults set in eeny_meeny.rb) EenyMeeny.configure do |config| config.cookies = app.config.eeny_meeny[:cookies] if app.config.eeny_meeny.key?(:cookies) config.experiments = app.config.eeny...
<|file_sep|>original/lib/eeny-meeny/railtie.rb initializer 'eeny_meeny.configure' do |app| # Configrue EenyMeeny (defaults set in eeny_meeny.rb) EenyMeeny.configure do |config| config.cookies = app.config.eeny_meeny[:cookies] if app.config.eeny_meeny.key?(:cookies) ...
021f4dc3c919ac11fa5894047df1fd373c2f2824
lib/eeny-meeny/railtie.rb
lib/eeny-meeny/railtie.rb
Ruby
<|file_sep|>original/src/test/resources/com/excilys/ebi/utils/spring/log/logback/logback-test.xml <?xml version="1.0" encoding="UTF-8" ?> <configuration> <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"> <resetJUL>true</resetJUL> </contextListener> <appender name="CONSOLE" class="ch.qos...
<?xml version="1.0" encoding="UTF-8" ?> <configuration> <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"> <resetJUL>true</resetJUL> </contextListener> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%level %logger{36}.%M - %msg%n%rEx</patter...
<|file_sep|>original/src/test/resources/com/excilys/ebi/utils/spring/log/logback/logback-test.xml <?xml version="1.0" encoding="UTF-8" ?> <configuration> <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"> <resetJUL>true</resetJUL> </contextListener> <appender name="CONSOLE" class="ch.qos...
7960e026776ac46690fd8b02b62664e5bca0857b
src/test/resources/com/excilys/ebi/utils/spring/log/logback/logback-test.xml
src/test/resources/com/excilys/ebi/utils/spring/log/logback/logback-test.xml
XML
<|file_sep|>original/manifests/cf-manifest/env-specific/prod-lon.yml --- cell_instances: 15 router_instances: 3 api_instances: 4 doppler_instances: 12 <|file_sep|>current/manifests/cf-manifest/env-specific/prod-lon.yml --- cell_instances: 15 router_instances: 3 api_instances: 4 doppler_instances: 12 <|file_sep|>updated...
--- cell_instances: 18 router_instances: 3 api_instances: 4 doppler_instances: 12
<|file_sep|>original/manifests/cf-manifest/env-specific/prod-lon.yml --- cell_instances: 15 router_instances: 3 api_instances: 4 doppler_instances: 12 <|file_sep|>current/manifests/cf-manifest/env-specific/prod-lon.yml --- cell_instances: 15 router_instances: 3 api_instances: 4 doppler_instances: 12 <|file_sep|>updated...
8da23e4b06b1587ca5dcaf3695d0c0d12c40c978
manifests/cf-manifest/env-specific/prod-lon.yml
manifests/cf-manifest/env-specific/prod-lon.yml
YAML
<|file_sep|>original/project.clj (defproject io.aviso/rook "0.1.6-SNAPSHOT" :description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps" :url "https://github.com/AvisoNovate/rook" :license {:name "Apache Sofware Licencse 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html...
(defproject io.aviso/rook "0.1.6-SNAPSHOT" :description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps" :url "https://github.com/AvisoNovate/rook" :license {:name "Apache Sofware Licencse 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"} ;; Normally we don't AOT com...
<|file_sep|>original/project.clj (defproject io.aviso/rook "0.1.6-SNAPSHOT" :description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps" :url "https://github.com/AvisoNovate/rook" :license {:name "Apache Sofware Licencse 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html...
a0ca3f30ceaa07eaeb4a55e51bba35a1f8c67f82
project.clj
project.clj
Clojure
<|file_sep|>original/config/initializers/secret_token.rb # Be sure to restart your server when you modify this file. # Your secret key for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # ...
# Be sure to restart your server when you modify this file. # Your secret key for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attac...
<|file_sep|>original/config/initializers/secret_token.rb # Be sure to restart your server when you modify this file. # Your secret key for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # ...
ec5c890cc4746d93a7a9ff972dc09d3bc8410a61
config/initializers/secret_token.rb
config/initializers/secret_token.rb
Ruby
<|file_sep|>original/requirements/base.txt django-mptt==0.9.0 djangorestframework-csv==2.1.0 tqdm==4.19.6 # progress bars requests==2.18.4 cherrypy==13.0.1 # Temporarily pinning this until CherryPy stops depending on namespaced package, see #2971 # pyup: <13.1.0 iceqube==0.0.4 porter2stemmer==1.0 u...
django-mptt==0.9.0 djangorestframework-csv==2.1.0 tqdm==4.19.6 # progress bars requests==2.18.4 cherrypy==13.0.1 # Temporarily pinning this until CherryPy stops depending on namespaced package, see #2971 # pyup: <13.1.0 iceqube==0.0.4 porter2stemmer==1.0 unicodecsv==0.14.1 metafone==0.5 le-utils==0...
<|file_sep|>original/requirements/base.txt django-mptt==0.9.0 djangorestframework-csv==2.1.0 tqdm==4.19.6 # progress bars requests==2.18.4 cherrypy==13.0.1 # Temporarily pinning this until CherryPy stops depending on namespaced package, see #2971 # pyup: <13.1.0 iceqube==0.0.4 porter2stemmer==1.0 u...
37b823e4130d75d66908cfbfa09659699f52c3f1
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/tests/functional/A02_Frontend_IndexCest.php <?php class A01_Frontend_IndexCest extends CestAbstract { /** * @before setupComplete * @before login */ public function seeHomepage(FunctionalTester $I) { $I->wantTo('See the proper data on the homepage.'); $...
<?php class A01_Frontend_IndexCest extends CestAbstract { /** * @before setupComplete * @before login */ public function seeHomepage(FunctionalTester $I) { $I->wantTo('See the proper data on the homepage.'); $I->amOnPage('/'); $I->see('Dashboard'); $I->see('L...
<|file_sep|>original/tests/functional/A02_Frontend_IndexCest.php <?php class A01_Frontend_IndexCest extends CestAbstract { /** * @before setupComplete * @before login */ public function seeHomepage(FunctionalTester $I) { $I->wantTo('See the proper data on the homepage.'); $...
e74e9118915d3efe95672e0b4605405b6bcd9363
tests/functional/A02_Frontend_IndexCest.php
tests/functional/A02_Frontend_IndexCest.php
PHP
<|file_sep|>original/checks/check_deprecation_warning.py <|file_sep|>current/checks/check_deprecation_warning.py <|file_sep|>updated/checks/check_deprecation_warning.py
from __future__ import print_function, absolute_import, division import imgaug as ia class Dummy1(object): @ia.deprecated(alt_func="Foo") def __init__(self): pass class Dummy2(object): @ia.deprecated(alt_func="Foo", comment="Some example comment.") def __init__(self): pass class D...
<|file_sep|>original/checks/check_deprecation_warning.py <|file_sep|>current/checks/check_deprecation_warning.py <|file_sep|>updated/checks/check_deprecation_warning.py from __future__ import print_function, absolute_import, division import imgaug as ia class Dummy1(object): @ia.deprecated(alt_func="Foo") ...
fc72ca537e6eaf5f4bf04ed4511ec1acdd9eae11
checks/check_deprecation_warning.py
checks/check_deprecation_warning.py
Python
<|file_sep|>Gruntfile.js.diff original: updated: grunt.registerTask('simplemochaGrep', function() { grunt.config('simplemocha.options.grep', grunt.option('grep')); grunt.task.run('simplemocha'); }); <|file_sep|>original/Gruntfile.js }, cmd: 'node', args: ['app.js'] } }, ...
simplemocha: { control: { src: ['specs/sandbox-control.spec.js'] }, jsonRpc: { src: ['specs/sandbox-json-rpc.spec.js'] } } }); grunt.loadNpmTasks('grunt-run'); grunt.loadNpmTasks('grunt-simple-mocha'); grunt.registerTask('simplemochaGrep', function() { grunt.config('simplemocha.options...
<|file_sep|>Gruntfile.js.diff original: updated: grunt.registerTask('simplemochaGrep', function() { grunt.config('simplemocha.options.grep', grunt.option('grep')); grunt.task.run('simplemocha'); }); <|file_sep|>original/Gruntfile.js }, cmd: 'node', args: ['app.js'] } }, ...
7efd2e90aa25f7ded66d2c69d78a285825d02f2d
Gruntfile.js
Gruntfile.js
JavaScript
<|file_sep|>original/dev-requirements.txt bandit==1.7.4 black==22.3.0 coverage==6.4 diff-cover==6.5.0 flake8==4.0.1 mock==4.0.3 pytest==7.1.2 pytest-cov==3.0.0 # Required to test building the docs sphinx==4.5.0 # Mypy test requirements mypy==0.950 types-requests==2.27.29 types-redis==4.2.6 <|file_sep|>current/dev-req...
bandit==1.7.4 black==22.3.0 coverage==6.4 diff-cover==6.5.0 flake8==4.0.1 mock==4.0.3 pytest==7.1.2 pytest-cov==3.0.0 # Required to test building the docs sphinx==4.5.0 # Mypy test requirements mypy==0.960 types-requests==2.27.29 types-redis==4.2.6
<|file_sep|>original/dev-requirements.txt bandit==1.7.4 black==22.3.0 coverage==6.4 diff-cover==6.5.0 flake8==4.0.1 mock==4.0.3 pytest==7.1.2 pytest-cov==3.0.0 # Required to test building the docs sphinx==4.5.0 # Mypy test requirements mypy==0.950 types-requests==2.27.29 types-redis==4.2.6 <|file_sep|>current/dev-req...
2726e90192d5c7f3f01999357919338b8ec039eb
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/spec/debian/grub_spec.rb require 'spec_helper' describe file('/etc/default/grub') do it { should be_file } it { should contain "tsc=reliable" } it { should contain "divider=10" } end <|file_sep|>current/spec/debian/grub_spec.rb require 'spec_helper' describe file('/etc/default/grub') do it {...
require 'spec_helper' describe file('/etc/default/grub') do it { should be_file } it { should contain "tsc=reliable" } it { should contain "divider=10" } it { should contain "GRUB_TIMEOUT=5" } end
<|file_sep|>original/spec/debian/grub_spec.rb require 'spec_helper' describe file('/etc/default/grub') do it { should be_file } it { should contain "tsc=reliable" } it { should contain "divider=10" } end <|file_sep|>current/spec/debian/grub_spec.rb require 'spec_helper' describe file('/etc/default/grub') do it {...
bd8844651719a1e9acf47e7dfe7b41360bdb6ffb
spec/debian/grub_spec.rb
spec/debian/grub_spec.rb
Ruby
<|file_sep|>original/.drone.yml --- kind: pipeline name: test steps: - name: build image: python:2.7-slim environment: VIRTUAL_ENV: "/opt/venv" commands: - apt-get update && apt-get -y install gcc - export PATH="$VIRTUAL_ENV/bin:$PATH" - pip install virtualenv - virtualenv $...
--- kind: pipeline name: test steps: - name: build image: python:2.7-slim environment: VIRTUAL_ENV: "/opt/venv" commands: - apt-get update && apt-get -y install gcc libjpeg-dev - export PATH="$VIRTUAL_ENV/bin:$PATH" - pip install virtualenv - virtualenv $VIRTUAL_ENV - ...
<|file_sep|>original/.drone.yml --- kind: pipeline name: test steps: - name: build image: python:2.7-slim environment: VIRTUAL_ENV: "/opt/venv" commands: - apt-get update && apt-get -y install gcc - export PATH="$VIRTUAL_ENV/bin:$PATH" - pip install virtualenv - virtualenv $...
a686b40d4ec1106fc01a479546778125540d6141
.drone.yml
.drone.yml
YAML
<|file_sep|>src/components/search_bar.js.diff original: updated: constructor(props) { super(props); this.state = { term: '' }; } <|file_sep|>original/src/components/search_bar.js import React, { Component } from 'react'; class SearchBar extends Component { render() { return <input />; ...
class SearchBar extends Component { constructor(props) { super(props); this.state = { term: '' }; } render() { return ( <div> <input onChange={event => this.setState({ term: event.target.value })} /> Value of the input: {this.state.term} </div> ); } } ex...
<|file_sep|>src/components/search_bar.js.diff original: updated: constructor(props) { super(props); this.state = { term: '' }; } <|file_sep|>original/src/components/search_bar.js import React, { Component } from 'react'; class SearchBar extends Component { render() { return <input />; ...
13da3cf815b1d2d95bd979017c621babfe709603
src/components/search_bar.js
src/components/search_bar.js
JavaScript
<|file_sep|>.github/workflows/ci-build.yml.diff original: with: node-version: 10.x updated: <|file_sep|>original/.github/workflows/ci-build.yml runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: volta-cli/action@v1 with: node-version: 10.x -...
timeout-minutes: 10 name: Tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: volta-cli/action@v1 - run: yarn install --frozen-lockfile - run: yarn lint - run: yarn test floating-dependencies: timeout-minutes: 10 name: "Floating Dependencies"...
<|file_sep|>.github/workflows/ci-build.yml.diff original: with: node-version: 10.x updated: <|file_sep|>original/.github/workflows/ci-build.yml runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: volta-cli/action@v1 with: node-version: 10.x -...
c513398108e06de9b4539f7bc84f023ff6b90804
.github/workflows/ci-build.yml
.github/workflows/ci-build.yml
YAML
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" install: pip install tox-travis script: tox <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" install: pip install tox-travis script: tox <|file_sep|>updated/.travis.yml
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" install: pip install tox-travis script: tox
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" install: pip install tox-travis script: tox <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" install: pip install tox-travis script: tox <|file_sep|>updated/.travis.yml...
9a1449b95d4275a6a12adb4d278e6f0a6d9eb692
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json "OCR", "ocrad.js", "ocr" ], "author": "yosuke-furukawa", "license": "MIT", "bugs": { "url": "https://github.com/yosuke-furukawa/okrabyte/issues" }, "homepage": "https://github.com/yosuke-furukawa/okrabyte", "dependencies": { "colo": "^1.0.0", "comm...
"OCR", "ocrad.js", "ocr" ], "author": "yosuke-furukawa", "license": "MIT", "bugs": { "url": "https://github.com/yosuke-furukawa/okrabyte/issues" }, "homepage": "https://github.com/yosuke-furukawa/okrabyte", "dependencies": { "colo": "^1.0.0", "commander": "^6.0.0", "ocrad.js": ...
<|file_sep|>original/package.json "OCR", "ocrad.js", "ocr" ], "author": "yosuke-furukawa", "license": "MIT", "bugs": { "url": "https://github.com/yosuke-furukawa/okrabyte/issues" }, "homepage": "https://github.com/yosuke-furukawa/okrabyte", "dependencies": { "colo": "^1.0.0", "comm...
a6e21d08d270bf3fa9ed2499bff1b10fe866f6a9
package.json
package.json
JSON
<|file_sep|>original/app/src/main/kotlin/de/markusfisch/android/binaryeye/app/BinaryEyeApp.kt val db = Database() val prefs = Preferences() class BinaryEyeApp : Application() { override fun onCreate() { super.onCreate() prefs.init(this) if (prefs.forceCompat || System.getProperty("os.version")?.contains( ...
import android.app.Application import android.support.v8.renderscript.RenderScript import de.markusfisch.android.binaryeye.data.Database import de.markusfisch.android.binaryeye.preference.Preferences val db = Database() val prefs = Preferences() class BinaryEyeApp : Application() { override fun onCreate() { super...
<|file_sep|>original/app/src/main/kotlin/de/markusfisch/android/binaryeye/app/BinaryEyeApp.kt val db = Database() val prefs = Preferences() class BinaryEyeApp : Application() { override fun onCreate() { super.onCreate() prefs.init(this) if (prefs.forceCompat || System.getProperty("os.version")?.contains( ...
f392baca8bf1982c612f090ec5b7694a1e499ccc
app/src/main/kotlin/de/markusfisch/android/binaryeye/app/BinaryEyeApp.kt
app/src/main/kotlin/de/markusfisch/android/binaryeye/app/BinaryEyeApp.kt
Kotlin
<|file_sep|>original/composer.json "name": "react/http-client", "description": "Asynchronous HTTP client library.", "keywords": ["http"], "license": "MIT", "require": { "php": ">=5.3.3", "guzzle/http": "2.8.*", "guzzle/parser": "2.8.*", "react/socket": "0.2.*", ...
"name": "react/http-client", "description": "Asynchronous HTTP client library.", "keywords": ["http"], "license": "MIT", "require": { "php": ">=5.3.3", "guzzle/http": "2.8.*", "guzzle/parser": "2.8.*", "react/socket": "0.2.*", "react/dns": "0.2.*" }, "...
<|file_sep|>original/composer.json "name": "react/http-client", "description": "Asynchronous HTTP client library.", "keywords": ["http"], "license": "MIT", "require": { "php": ">=5.3.3", "guzzle/http": "2.8.*", "guzzle/parser": "2.8.*", "react/socket": "0.2.*", ...
a4ef120d9bce90fdddf24baf98d4fe365639f8ad
composer.json
composer.json
JSON
<|file_sep|>webpack.config.base.js.diff original: use: [ { loader: 'eslint-loader', options: {configFile: './.eslintrc'}, }, { loader: 'babel-loader', } ], updated: loader: 'eslint-loader', enforce: 'pre', ...
loader: 'eslint-loader', enforce: 'pre', query: { configFile: './.eslintrc', }, }, { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader', }, { test: /\.scss$/, use: ExtractTextPlugin.extract({ ...
<|file_sep|>webpack.config.base.js.diff original: use: [ { loader: 'eslint-loader', options: {configFile: './.eslintrc'}, }, { loader: 'babel-loader', } ], updated: loader: 'eslint-loader', enforce: 'pre', ...
25816c53bde649329e0f413ca02ee553932c8261
webpack.config.base.js
webpack.config.base.js
JavaScript
<|file_sep|>original/examples/custom-request.html <|file_sep|>current/examples/custom-request.html <|file_sep|>updated/examples/custom-request.html
<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="utf-8" /> <meta http-equiv="x-ua-compatible" content="ie=edge" /> <title></title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../src/makeup.css" media="screen" charset="utf-8"> <style> h1 {c...
<|file_sep|>original/examples/custom-request.html <|file_sep|>current/examples/custom-request.html <|file_sep|>updated/examples/custom-request.html <!DOCTYPE html> <html lang="en-US"> <head> <meta charset="utf-8" /> <meta http-equiv="x-ua-compatible" content="ie=edge" /> <title></title> <meta name="viewport" ...
865ca82906aacb0ca8a41abaf0ddb57856f6a817
examples/custom-request.html
examples/custom-request.html
HTML
<|file_sep|>original/roles/controller/tasks/nova.yml - name: nova controller service start scripts action: template src=etc/init/{{ item }}.conf dest=/etc/init/{{ item }}.conf with_items: - nova-api - nova-cert - nova-conductor - nova-consoleauth - nova-scheduler - name: nova controller service...
--- - name: nova controller service start scripts action: template src=etc/init/{{ item }}.conf dest=/etc/init/{{ item }}.conf with_items: - nova-api - nova-cert - nova-conductor - nova-consoleauth - nova-scheduler - name: nova controller services action: service name={{ item }} state=started...
<|file_sep|>original/roles/controller/tasks/nova.yml - name: nova controller service start scripts action: template src=etc/init/{{ item }}.conf dest=/etc/init/{{ item }}.conf with_items: - nova-api - nova-cert - nova-conductor - nova-consoleauth - nova-scheduler - name: nova controller service...
c946d9fd72baf08d0ad70484729e3aebac36994b
roles/controller/tasks/nova.yml
roles/controller/tasks/nova.yml
YAML
<|file_sep|>original/appveyor.yml version: 1.0.{build} before_build: - cmd: nuget restore build: verbosity: minimal <|file_sep|>current/appveyor.yml version: 1.0.{build} before_build: - cmd: nuget restore build: verbosity: minimal <|file_sep|>updated/appveyor.yml
version: 1.0.{build} before_build: - cmd: dnu restore - cmd: nuget restore build: verbosity: minimal
<|file_sep|>original/appveyor.yml version: 1.0.{build} before_build: - cmd: nuget restore build: verbosity: minimal <|file_sep|>current/appveyor.yml version: 1.0.{build} before_build: - cmd: nuget restore build: verbosity: minimal <|file_sep|>updated/appveyor.yml version: 1.0.{build} before_build: - cmd: dnu restor...
49eac776a6f61814fab882d9669da22c79d13c1f
appveyor.yml
appveyor.yml
YAML
<|file_sep|>modules/lang/latex/+viewers.el.diff original: ;; Update PDF buffers after successful LaTeX runs updated: <|file_sep|>original/modules/lang/latex/+viewers.el ;;; lang/latex/+viewers.el -*- lexical-binding: t; -*- ;; Update PDF buffers after successful LaTeX runs (when (featurep! +okular) ;; Configure O...
(when (featurep! +okular) ;; Configure Okular as viewer. Including a bug fix ;; (https://bugs.kde.org/show_bug.cgi?id=373855) (add-to-list 'TeX-view-program-list '("Okular" ("okular --unique file:%o" (mode-io-correlate "#src:%n%a")))) (add-to-list 'TeX-view-program-selection '(output-pdf "Okular"))) ;; Or Ski...
<|file_sep|>modules/lang/latex/+viewers.el.diff original: ;; Update PDF buffers after successful LaTeX runs updated: <|file_sep|>original/modules/lang/latex/+viewers.el ;;; lang/latex/+viewers.el -*- lexical-binding: t; -*- ;; Update PDF buffers after successful LaTeX runs (when (featurep! +okular) ;; Configure O...
eeb10ae6cdc32b9f67a6fab10350d372ff506c6f
modules/lang/latex/+viewers.el
modules/lang/latex/+viewers.el
Emacs Lisp
<|file_sep|>original/codeclimate_ci.gemspec # encoding: utf-8 require File.expand_path('../lib/codeclimate_ci/version', __FILE__) Gem::Specification.new do |spec| spec.name = 'codeclimate_ci' spec.version = CodeclimateCi::VERSION spec.authors = ['FlatStack team'] spec.summary = %q{Si...
# encoding: utf-8 require File.expand_path('../lib/codeclimate_ci/version', __FILE__) Gem::Specification.new do |spec| spec.name = 'codeclimate_ci' spec.version = CodeclimateCi::VERSION spec.authors = ['FlatStack team'] spec.summary = %q{Simple gem for checking your code with CodeCli...
<|file_sep|>original/codeclimate_ci.gemspec # encoding: utf-8 require File.expand_path('../lib/codeclimate_ci/version', __FILE__) Gem::Specification.new do |spec| spec.name = 'codeclimate_ci' spec.version = CodeclimateCi::VERSION spec.authors = ['FlatStack team'] spec.summary = %q{Si...
715a991a3def0fbb89ab394ed8f56d73a79aac57
codeclimate_ci.gemspec
codeclimate_ci.gemspec
Ruby
<|file_sep|>application/templates/_macros.html.diff original: <p>Linked with:</p> <ul> updated: <h3 class="heading-small">Linked to:</h3> <ul class="linked-list"> {% if links %} <|file_sep|>application/templates/_macros.html.diff original: <li> {%- if link.__class__.__name__ == 'Competency' -%}...
{%- if link.__class__.__name__ == 'Competency' -%} Competency: <a href="">{{ link.name }}</a> {%- elif link.entry_type == 'objective' -%} Objective: <a href="">{{ link.entry.what|truncate(40) }}</a> {%- elif link.entry_type == 'feedback' -%} Feedback: <a href="">{{ link.entry...
<|file_sep|>application/templates/_macros.html.diff original: <p>Linked with:</p> <ul> updated: <h3 class="heading-small">Linked to:</h3> <ul class="linked-list"> {% if links %} <|file_sep|>application/templates/_macros.html.diff original: <li> {%- if link.__class__.__name__ == 'Competency' -%}...
6edf60fbae6a2b158f3af47e144cd23715eac8bb
application/templates/_macros.html
application/templates/_macros.html
HTML
<|file_sep|>original/calaccess_website/management/commands/updatedownloadswebsite.py action="store_true", dest="publish", default=False, help="Publish baked content" ) def handle(self, *args, **options): """ Make it happen. """ ...
default=False, help="Publish baked content" ) def handle(self, *args, **options): """ Make it happen. """ super(Command, self).handle(*args, **options) call_command( 'processcalaccessdata', verbosity=self.verbosity, ...
<|file_sep|>original/calaccess_website/management/commands/updatedownloadswebsite.py action="store_true", dest="publish", default=False, help="Publish baked content" ) def handle(self, *args, **options): """ Make it happen. """ ...
0ca662090e4b10b5fbc10b3d00fb87b861943272
calaccess_website/management/commands/updatedownloadswebsite.py
calaccess_website/management/commands/updatedownloadswebsite.py
Python
<|file_sep|>run_tests.py.diff original: import coverage updated: try: import coverage except ImportError: pass <|file_sep|>run_tests.py.diff original: cov = coverage.coverage() updated: if "coverage" in sys.modules: cov = coverage.coverage() cov.start() <|file_sep|>run_tests.py.diff orig...
os.unlink(os.path.join(root, f)) for d in dirs: shutil.rmtree(os.path.join(root, d)) #Perform coverage analisys: if "coverage" in sys.modules: cov = coverage.coverage() cov.start() #Discover the tests and execute them: loader = unittest.TestLoader() ...
<|file_sep|>run_tests.py.diff original: import coverage updated: try: import coverage except ImportError: pass <|file_sep|>run_tests.py.diff original: cov = coverage.coverage() updated: if "coverage" in sys.modules: cov = coverage.coverage() cov.start() <|file_sep|>run_tests.py.diff orig...
427b894fdd5690bc7a52dbcea42c4918b87d0046
run_tests.py
run_tests.py
Python
<|file_sep|>original/tests/test_elasticsearch_processor.py <|file_sep|>current/tests/test_elasticsearch_processor.py <|file_sep|>updated/tests/test_elasticsearch_processor.py
import utils from scrapi.linter.document import NormalizedDocument, RawDocument from scrapi.processing.elastic_search import es, ElasticsearchProcessor test_db = ElasticsearchProcessor() RAW = RawDocument(utils.RAW_DOC) NORMALIZED = NormalizedDocument(utils.RECORD) def test_process_normalized(): NORMALIZED['s...
<|file_sep|>original/tests/test_elasticsearch_processor.py <|file_sep|>current/tests/test_elasticsearch_processor.py <|file_sep|>updated/tests/test_elasticsearch_processor.py import utils from scrapi.linter.document import NormalizedDocument, RawDocument from scrapi.processing.elastic_search import es, Elasticsearch...
d722f788c231a8dedc6ed2a48efc97195c82d7b7
tests/test_elasticsearch_processor.py
tests/test_elasticsearch_processor.py
Python
<|file_sep|>original/.travis.yml language: php sudo: false matrix: include: - php: 7.1 env: SYMFONY_VERSION=3.3.* - php: 7.2 env: SYMFONY_VERSION=3.3.* allow_failures: - php: 7.2 env: global: - SYMFONY_VERSION="" cache: directories: - $HOME/.composer/cache <|file_sep|>curren...
language: php sudo: false matrix: include: - php: 7.1 env: SYMFONY_VERSION=3.3.* - php: 7.2 env: SYMFONY_VERSION=3.3.* env: global: - SYMFONY_VERSION="" cache: directories: - $HOME/.composer/cache before_install: - composer self-update
<|file_sep|>original/.travis.yml language: php sudo: false matrix: include: - php: 7.1 env: SYMFONY_VERSION=3.3.* - php: 7.2 env: SYMFONY_VERSION=3.3.* allow_failures: - php: 7.2 env: global: - SYMFONY_VERSION="" cache: directories: - $HOME/.composer/cache <|file_sep|>curren...
943b02c0b25a89f4be21963e679cabbe2c4b98ec
.travis.yml
.travis.yml
YAML
<|file_sep|>original/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/templates/core/tags/topic_of_the_day.html <|file_sep|>current/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/templates/core/tags/topic_of_the_day.html <|file_sep|>updated/mol...
{% raw %} {% load wagtailcore_tags wagtailimages_tags i18n %} {% if articles %} <div class="ListTitle ListTitle--latest" id="latest"> <h1 class="ListTitle-name">{% trans "Topic of the Day" %}</h1> </div> {% for article in articles %} <ul class="ListView ListView--latest"> ...
<|file_sep|>original/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/templates/core/tags/topic_of_the_day.html <|file_sep|>current/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/templates/core/tags/topic_of_the_day.html <|file_sep|>updated/mol...
a008fa7d5672b72fb502f2c85bf308c16010bf5d
molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/templates/core/tags/topic_of_the_day.html
molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/templates/core/tags/topic_of_the_day.html
HTML
<|file_sep|>original/project/build.properties #Project properties #Sat Jun 27 13:29:42 EDT 2009 project.organization=org.scala-tools.sxr project.name=sxr sbt.version=0.5.1 project.version=0.2.1 scala.version=2.7.5 <|file_sep|>current/project/build.properties #Project properties #Sat Jun 27 13:29:42 EDT 2009 project.org...
#Project properties #Sat Jun 27 13:29:42 EDT 2009 project.organization=org.scala-tools.sxr project.name=sxr sbt.version=0.5.1 project.version=0.2.2 scala.version=2.7.5
<|file_sep|>original/project/build.properties #Project properties #Sat Jun 27 13:29:42 EDT 2009 project.organization=org.scala-tools.sxr project.name=sxr sbt.version=0.5.1 project.version=0.2.1 scala.version=2.7.5 <|file_sep|>current/project/build.properties #Project properties #Sat Jun 27 13:29:42 EDT 2009 project.org...
1f36d07a2613d113440e6e691eacc7d1263aabc6
project/build.properties
project/build.properties
INI
<|file_sep|>xstream/src/test/com/thoughtworks/acceptance/someobjects/ZConverter.java.diff original: import com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter; updated: import com.thoughtworks.xstream.converters.basic.AbstractBasicConverter; <|file_sep|>xstream/src/test/com/thoughtworks/acceptance/so...
package com.thoughtworks.acceptance.someobjects; import com.thoughtworks.xstream.converters.basic.AbstractBasicConverter; public class ZConverter extends AbstractBasicConverter { public boolean canConvert(Class type) { return type.equals(Z.class); } protected Object fromString(String str) { ...
<|file_sep|>xstream/src/test/com/thoughtworks/acceptance/someobjects/ZConverter.java.diff original: import com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter; updated: import com.thoughtworks.xstream.converters.basic.AbstractBasicConverter; <|file_sep|>xstream/src/test/com/thoughtworks/acceptance/so...
83b0d76a7057fb7a1e25d8de426cf35181080534
xstream/src/test/com/thoughtworks/acceptance/someobjects/ZConverter.java
xstream/src/test/com/thoughtworks/acceptance/someobjects/ZConverter.java
Java
<|file_sep|>src/mui/layout/Notification.js.diff original: updated: function getStyles(context) { if (!context) return { primary1Color: '#00bcd4', accent1Color: '#ff4081' }; const { muiTheme: { baseTheme: { palette: { primary1Color, accent1Color, },...
Notification.propTypes = { message: PropTypes.string, type: PropTypes.string.isRequired, hideNotification: PropTypes.func.isRequired, }; Notification.defaultProps = { type: 'info', }; Notification.contextTypes = { muiTheme: PropTypes.object.isRequired, }; const mapStateToProps = (state) => ({ ...
<|file_sep|>src/mui/layout/Notification.js.diff original: updated: function getStyles(context) { if (!context) return { primary1Color: '#00bcd4', accent1Color: '#ff4081' }; const { muiTheme: { baseTheme: { palette: { primary1Color, accent1Color, },...
717199f14ccbd4bedf15568e935c4d9c7da2e5df
src/mui/layout/Notification.js
src/mui/layout/Notification.js
JavaScript
<|file_sep|>original/setup.py # Requirements install_requires = [ # PyPi # Non PyPi ] dependency_links = [ ] setup(name='giturlparse', description='A Git URL parsing module (supports parsing and rewriting)', keywords='git url parse ssh github bitbucket', version=version_string, url='https://g...
# Requirements install_requires = [ # PyPi # Non PyPi ] dependency_links = [ ] setup(name='giturlparse.py', description='A Git URL parsing module (supports parsing and rewriting)', keywords='git url parse ssh github bitbucket', version=version_string, url='https://github.com/FriendCode/giturl...
<|file_sep|>original/setup.py # Requirements install_requires = [ # PyPi # Non PyPi ] dependency_links = [ ] setup(name='giturlparse', description='A Git URL parsing module (supports parsing and rewriting)', keywords='git url parse ssh github bitbucket', version=version_string, url='https://g...
247419dce957ad1fa8c1c61a0e13d857b0d8f038
setup.py
setup.py
Python
<|file_sep|>original/src/en/2017-01/info.yml --- title: "The Holy Spirit and Spirituality" description: "Many of us have heard the words: “And I baptize you in the name of the Father, and of the Son, and of the Holy Spirit.” And, if baptized, we surely heard them just before a minister immersed us in the water" h...
--- title: "The Holy Spirit and Spirituality" description: "Many of us have heard the words: “And I baptize you in the name of the Father, and of the Son, and of the Holy Spirit.” And, if baptized, we surely heard them just before a minister immersed us in the water" human_date: "First Quarter 2017" start_date:...
<|file_sep|>original/src/en/2017-01/info.yml --- title: "The Holy Spirit and Spirituality" description: "Many of us have heard the words: “And I baptize you in the name of the Father, and of the Son, and of the Holy Spirit.” And, if baptized, we surely heard them just before a minister immersed us in the water" h...
33f84e351def0b822ac2a6d847714ed11e9bdedc
src/en/2017-01/info.yml
src/en/2017-01/info.yml
YAML
<|file_sep|>original/StringStylizer.podspec # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html # Pod::Spec.new do |s| s.name = "StringStylizer" s.version = "4.2.0" s.summary = "Type strict builder class for NSAttributedString." s.description ...
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html # Pod::Spec.new do |s| s.name = "StringStylizer" s.version = "4.2.0" s.summary = "Type strict builder class for NSAttributedString." s.description = <<-DESC StringStylizer makes NSAttribute...
<|file_sep|>original/StringStylizer.podspec # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html # Pod::Spec.new do |s| s.name = "StringStylizer" s.version = "4.2.0" s.summary = "Type strict builder class for NSAttributedString." s.description ...
0c7f44171a92edb6fb05351ae3accda561cec131
StringStylizer.podspec
StringStylizer.podspec
Ruby
<|file_sep|>docker/build/README.md.diff original: ./build.sh ./dev.x86_64.dockerfile updated: ./build_dev.sh ./dev.x86_64.dockerfile <|file_sep|>original/docker/build/README.md # Docker image build process ## Usage Simply run ```bash ./build.sh ./dev.x86_64.dockerfile ``` Please notice that deep refactoring is ongoi...
# Docker image build process ## Usage Simply run ```bash ./build_dev.sh ./dev.x86_64.dockerfile ``` ## Add new installer The best practice of a new installer would be: 1. Well tested. Of course. Make it work, and don't break other installers, such as incompatible versions of libraries. 1. Standalone. H...
<|file_sep|>docker/build/README.md.diff original: ./build.sh ./dev.x86_64.dockerfile updated: ./build_dev.sh ./dev.x86_64.dockerfile <|file_sep|>original/docker/build/README.md # Docker image build process ## Usage Simply run ```bash ./build.sh ./dev.x86_64.dockerfile ``` Please notice that deep refactoring is ongoi...
8f5e812d6ef4de20377cdbfdd7de25ca8b47ffed
docker/build/README.md
docker/build/README.md
Markdown
<|file_sep|>original/sipXconfig/web/context/WEB-INF/upload/ManageUploads_de.properties title=Ger\u00E4tedateien prompt.description=Hier gespeicherte Ger\u00E4tedateien k\u00F6nnen mittels FTP oder TFTP von einem Telefon, Gateway, oder einem \ anderen Ger\u00E4t angesprochen und heruntergeladen werden. Dies ist voralle...
title=Ger\u00E4tedateien prompt.description=Hier gespeicherte Ger\u00E4tedateien k\u00F6nnen mittels FTP oder TFTP von einem Telefon, Gateway, oder einem \ anderen Ger\u00E4t angesprochen und heruntergeladen werden. Dies ist vorallem n\u00FCtzlich f\u00FCr Konfigurations- und \ Firmwaredateien. Aktive Dateien sind ve...
<|file_sep|>original/sipXconfig/web/context/WEB-INF/upload/ManageUploads_de.properties title=Ger\u00E4tedateien prompt.description=Hier gespeicherte Ger\u00E4tedateien k\u00F6nnen mittels FTP oder TFTP von einem Telefon, Gateway, oder einem \ anderen Ger\u00E4t angesprochen und heruntergeladen werden. Dies ist voralle...
3d4dc53ab910580f88380ee09875dce319556e70
sipXconfig/web/context/WEB-INF/upload/ManageUploads_de.properties
sipXconfig/web/context/WEB-INF/upload/ManageUploads_de.properties
INI