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
setup(
name='firetv',
version='1.0.6',
description='Communicate with an Amazon Fire TV device via ADB over a network.',
url='https://github.com/happyleavesaoc/python-firetv/',
license='MIT',
author='happyleaves',
author_email='happyleaves.tfr@gmail.com',
pa... |
setup(
name='firetv',
version='1.0.6',
description='Communicate with an Amazon Fire TV device via ADB over a network.',
url='https://github.com/happyleavesaoc/python-firetv/',
license='MIT',
author='happyleaves',
author_email='happyleaves.tfr@gmail.com',
packages=['firetv'],
install... | <|file_sep|>original/setup.py
setup(
name='firetv',
version='1.0.6',
description='Communicate with an Amazon Fire TV device via ADB over a network.',
url='https://github.com/happyleavesaoc/python-firetv/',
license='MIT',
author='happyleaves',
author_email='happyleaves.tfr@gmail.com',
pa... | 0c0c11da08a05ee0b1de4cfc74003f31358a294b | setup.py | setup.py | Python |
<|file_sep|>original/public/todos.html
<div class="checkbox">
<label>
<input type="checkbox" ng-model="todo.complete">
<input
type="text"
ng-class="[{'completed-task': todo.complete}, 'todo-item']"
ng-blur="ctrl.updateTodo(todo)"
... | <div class="checkbox">
<label>
<input type="checkbox" ng-model="todo.complete">
<input
type="text"
ng-class="[{'completed-task': todo.complete}, 'todo-item']"
ng-blur="ctrl.updateTodo(todo)"
ng-model="todo.content">
... | <|file_sep|>original/public/todos.html
<div class="checkbox">
<label>
<input type="checkbox" ng-model="todo.complete">
<input
type="text"
ng-class="[{'completed-task': todo.complete}, 'todo-item']"
ng-blur="ctrl.updateTodo(todo)"
... | a7b062baccf7b7d3d501f39ec560d0af36575eb7 | public/todos.html | public/todos.html | HTML |
<|file_sep|>src/server/config/index.js.diff
original:
this._jsonConfig = jsonServerConfig;
updated:
<|file_sep|>original/src/server/config/index.js
import Joi from 'joi';
import jsonServerConfig from 'config/server.json';
import schema from './schema.js';
class ServerConfig {
constructor() {
this._jsonConf... | import Joi from 'joi';
import jsonServerConfig from 'config/server.json';
import schema from './schema.js';
class ServerConfig {
constructor() {
/**
* Validate the JSON config
*/
try {
this._jsonConfig = Joi.validate(jsonServerConfig, schema).value;
} catch (e) {
console.error('The ... | <|file_sep|>src/server/config/index.js.diff
original:
this._jsonConfig = jsonServerConfig;
updated:
<|file_sep|>original/src/server/config/index.js
import Joi from 'joi';
import jsonServerConfig from 'config/server.json';
import schema from './schema.js';
class ServerConfig {
constructor() {
this._jsonConf... | e5d4685e2aec3c40253a62f75b1266024ad3af2f | src/server/config/index.js | src/server/config/index.js | JavaScript |
<|file_sep|>original/src/pages/index.js
import { do_plot_json } from "../components/chart";
import { setupTimeline } from "../components/timeline";
import { setupGlobeByClass } from "../components/globe";
import { setupTippy } from "../components/tippy";
const IndexPage = context => {
$(document).ready(function() {
... | import { do_plot_json } from "../components/chart";
import { setupTimeline } from "../components/timeline";
import { setupGlobeByClass } from "../components/globe";
import { setupTippy } from "../components/tippy";
const IndexPage = context => {
$(document).ready(function() {
$(".dashboard-graph", context).each(... | <|file_sep|>original/src/pages/index.js
import { do_plot_json } from "../components/chart";
import { setupTimeline } from "../components/timeline";
import { setupGlobeByClass } from "../components/globe";
import { setupTippy } from "../components/tippy";
const IndexPage = context => {
$(document).ready(function() {
... | 24e4f4c6649e1333c67c4596559f016745fc2565 | src/pages/index.js | src/pages/index.js | JavaScript |
<|file_sep|>original/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-ducati_git.bb
DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
require gstreamer1.0-p... | DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
require gstreamer1.0-plugins-ti.inc
PR = "${INC_PR}.26"
SRCREV = "c8f6051ac3dff629aa00c22667fcc33cb1cfd074"
BRANCH ?= "master"
... | <|file_sep|>original/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-ducati_git.bb
DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
require gstreamer1.0-p... | 070829c681255bbfa566a8a59573532763606a31 | meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-ducati_git.bb | meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-ducati_git.bb | BitBake |
<|file_sep|>original/event_store-client.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'event_store-client'
s.version = '0.0.1.4'
s.summary = 'Common code for the EventStore client'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.c... | # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'event_store-client'
s.version = '0.0.1.5'
s.summary = 'Common code for the EventStore client'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.com'
s.homepage = 'https://github.com/obsidian-... | <|file_sep|>original/event_store-client.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'event_store-client'
s.version = '0.0.1.4'
s.summary = 'Common code for the EventStore client'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.c... | 6bdd042bed23ca286c1d489fbd1c395a6f163b60 | event_store-client.gemspec | event_store-client.gemspec | Ruby |
<|file_sep|>original/app/client/templates/globalEvents.js
Template.MasterLayout.events({
'click [data-action="install-app"]': function(evt, tmp) {
if (!$(evt.target).attr('href')) {
evt.preventDefault();
AppMarket.getSandstormHost(this.packageId, function() {
Tracker.afterFlush(function() {
... | Template.MasterLayout.events({
'click [data-action="install-app"]': function(evt, tmp) {
if (!$(evt.currentTarget).attr('href')) {
evt.preventDefault();
AppMarket.getSandstormHost(this.packageId, function() {
Tracker.afterFlush(function() {
tmp.$('[data-action="install-app"]').clic... | <|file_sep|>original/app/client/templates/globalEvents.js
Template.MasterLayout.events({
'click [data-action="install-app"]': function(evt, tmp) {
if (!$(evt.target).attr('href')) {
evt.preventDefault();
AppMarket.getSandstormHost(this.packageId, function() {
Tracker.afterFlush(function() {
... | c4301fa7cc5e479afdd62c093014a29b4586c7af | app/client/templates/globalEvents.js | app/client/templates/globalEvents.js | JavaScript |
<|file_sep|>original/qpid-proton4j-transport/src/main/java/org/apache/qpid/proton4j/transport/ProtocolFrame.java
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permiss... | * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.qpid.proton4j.transport;
import org.apache.qpi... | <|file_sep|>original/qpid-proton4j-transport/src/main/java/org/apache/qpid/proton4j/transport/ProtocolFrame.java
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permiss... | 7b532f42cc872e1e174bcdf5a07275b2bd8dff83 | qpid-proton4j-transport/src/main/java/org/apache/qpid/proton4j/transport/ProtocolFrame.java | qpid-proton4j-transport/src/main/java/org/apache/qpid/proton4j/transport/ProtocolFrame.java | Java |
<|file_sep|>original/.circleci/config.yml
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
# specify the version
- image: circleci/golang:1.9
# Specify service dependencies here if necessary
# Ci... | # Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
# specify the version
- image: circleci/golang:1.14
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built i... | <|file_sep|>original/.circleci/config.yml
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
# specify the version
- image: circleci/golang:1.9
# Specify service dependencies here if necessary
# Ci... | 632d80b4db74814e28c812fe1442c6873f94dacc | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>packages/truffle-migrate/resolverintercept.js.diff
original:
updated:
const path = require("path");
<|file_sep|>original/packages/truffle-migrate/resolverintercept.js
function ResolverIntercept(resolver) {
this.resolver = resolver;
this.cache = {};
};
ResolverIntercept.prototype.require = function(im... | const path = require("path");
function ResolverIntercept(resolver) {
this.resolver = resolver;
this.cache = {};
};
ResolverIntercept.prototype.require = function(import_path) {
// Modify import_path so the cache key is consistently based only on the contract name.
// This works because Truffle already prevent... | <|file_sep|>packages/truffle-migrate/resolverintercept.js.diff
original:
updated:
const path = require("path");
<|file_sep|>original/packages/truffle-migrate/resolverintercept.js
function ResolverIntercept(resolver) {
this.resolver = resolver;
this.cache = {};
};
ResolverIntercept.prototype.require = function(im... | 90497a45efb68ad6bee1bb97ba5a03f5467746ad | packages/truffle-migrate/resolverintercept.js | packages/truffle-migrate/resolverintercept.js | JavaScript |
<|file_sep|>original/lib/themes/dosomething/paraneue_dosomething/scss/feature/_auth.scss
.auth--login {
.form-actions {
text-align: center;
}
}
.auth--register {
.field-label-optional {
color: $light-gray;
}
.form-actions {
text-align: center;
margin: 1rem 0;
}
.field-name-field-first-n... | .auth--login {
.form-actions {
text-align: center;
margin: 1rem 0;
}
}
.auth--register {
.field-label-optional {
color: $light-gray;
}
.form-actions {
text-align: center;
margin: 1rem 0;
}
.field-name-field-first-name {
@include media($tablet) {
float: left;
width: 5... | <|file_sep|>original/lib/themes/dosomething/paraneue_dosomething/scss/feature/_auth.scss
.auth--login {
.form-actions {
text-align: center;
}
}
.auth--register {
.field-label-optional {
color: $light-gray;
}
.form-actions {
text-align: center;
margin: 1rem 0;
}
.field-name-field-first-n... | bed75eaca8b1fd4299b254fa85126e58505834fa | lib/themes/dosomething/paraneue_dosomething/scss/feature/_auth.scss | lib/themes/dosomething/paraneue_dosomething/scss/feature/_auth.scss | SCSS |
<|file_sep|>original/src/main/resources/sql/V4__Index_on_entry_item_table.sql
<|file_sep|>current/src/main/resources/sql/V4__Index_on_entry_item_table.sql
<|file_sep|>updated/src/main/resources/sql/V4__Index_on_entry_item_table.sql | create index if not exists entry_item_entry_number_index on entry_item (entry_number);
create index if not exists entry_item_sha256hex_index on entry_item (sha256hex); | <|file_sep|>original/src/main/resources/sql/V4__Index_on_entry_item_table.sql
<|file_sep|>current/src/main/resources/sql/V4__Index_on_entry_item_table.sql
<|file_sep|>updated/src/main/resources/sql/V4__Index_on_entry_item_table.sql
create index if not exists entry_item_entry_number_index on entry_item (entry_number);... | 6aabd4d7bd31f799f6ce23bd0fd55a81a93abe3c | src/main/resources/sql/V4__Index_on_entry_item_table.sql | src/main/resources/sql/V4__Index_on_entry_item_table.sql | SQL |
<|file_sep|>original/Resources/views/Form/time_widget.html.php
<?php if ($widget == 'single_text'): ?>
<?php echo $view['form']->block($form, 'form_widget_simple'); ?>
<?php else: ?>
<div <?php echo $view['form']->block($form, 'widget_container_attributes') ?>>
<?php
// There should be no sp... | <?php if ($widget == 'single_text'): ?>
<?php echo $view['form']->block($form, 'form_widget_simple'); ?>
<?php else: ?>
<div <?php echo $view['form']->block($form, 'widget_container_attributes') ?>>
<?php
// There should be no spaces between the colons and the widgets, that's why
... | <|file_sep|>original/Resources/views/Form/time_widget.html.php
<?php if ($widget == 'single_text'): ?>
<?php echo $view['form']->block($form, 'form_widget_simple'); ?>
<?php else: ?>
<div <?php echo $view['form']->block($form, 'widget_container_attributes') ?>>
<?php
// There should be no sp... | fc121d2cc34e456827ced72b7277882eafd62ec8 | Resources/views/Form/time_widget.html.php | Resources/views/Form/time_widget.html.php | PHP |
<|file_sep|>original/Casks/adobe-digital-editions2.rb
<|file_sep|>current/Casks/adobe-digital-editions2.rb
<|file_sep|>updated/Casks/adobe-digital-editions2.rb | cask :v1 => 'adobe-digital-editions2' do
version '2.0.1'
sha256 'dcaec3e2cbb2faa7720a2ff06d13af4fe0433cdf991c76eeeed28cb0019b69c0'
url 'http://download.adobe.com/pub/adobe/digitaleditions/ADE_2.0_Installer.dmg'
name 'Adobe Digital Editions 2.0.1'
homepage 'https://www.adobe.com/solutions/ebook/digital-editi... | <|file_sep|>original/Casks/adobe-digital-editions2.rb
<|file_sep|>current/Casks/adobe-digital-editions2.rb
<|file_sep|>updated/Casks/adobe-digital-editions2.rb
cask :v1 => 'adobe-digital-editions2' do
version '2.0.1'
sha256 'dcaec3e2cbb2faa7720a2ff06d13af4fe0433cdf991c76eeeed28cb0019b69c0'
url 'http://downloa... | 99a9a15b611e2302794e14b522a1269ce4f1a6c6 | Casks/adobe-digital-editions2.rb | Casks/adobe-digital-editions2.rb | Ruby |
<|file_sep|>original/develop_requirements.txt
ansible==2.7.9
pip==19.0.3
wheel==0.33.0
watchdog==0.9.0
flake8==3.7.6
tox==3.8.4
coverage==4.5.3
Sphinx==2.0.0
twine==1.12.1
rstcheck==3.3.1
pycodestyle==2.5.0
pylint==2.3.1
<|file_sep|>current/develop_requirements.txt
ansible==2.7.9
pip==19.0.3
wheel==0.33.0
watchdog==0.9... | ansible==2.7.9
pip==19.0.3
wheel==0.33.0
watchdog==0.9.0
flake8==3.7.6
tox==3.9.0
coverage==4.5.3
Sphinx==2.0.0
twine==1.12.1
rstcheck==3.3.1
pycodestyle==2.5.0
pylint==2.3.1 | <|file_sep|>original/develop_requirements.txt
ansible==2.7.9
pip==19.0.3
wheel==0.33.0
watchdog==0.9.0
flake8==3.7.6
tox==3.8.4
coverage==4.5.3
Sphinx==2.0.0
twine==1.12.1
rstcheck==3.3.1
pycodestyle==2.5.0
pylint==2.3.1
<|file_sep|>current/develop_requirements.txt
ansible==2.7.9
pip==19.0.3
wheel==0.33.0
watchdog==0.9... | 80472835a347daae9defd840c371e7b4f9a58cbb | develop_requirements.txt | develop_requirements.txt | Text |
<|file_sep|>original/transfluent.gemspec
Gem::Specification.new do |s|
s.name = 'transfluent'
s.version = '0.0.0'
s.date = '2014-02-03'
s.summary = "Transfluent API client"
s.description = "Order human powered translations directly from your Ruby code!"
s.authors = ["Transfluent Lt... | Gem::Specification.new do |s|
s.name = 'transfluent'
s.version = '0.0.0'
s.date = '2014-02-03'
s.summary = "Transfluent API client"
s.description = "Order human powered translations directly from your Ruby code!"
s.authors = ["Transfluent Ltd"]
s.email = 'coders@transfluent... | <|file_sep|>original/transfluent.gemspec
Gem::Specification.new do |s|
s.name = 'transfluent'
s.version = '0.0.0'
s.date = '2014-02-03'
s.summary = "Transfluent API client"
s.description = "Order human powered translations directly from your Ruby code!"
s.authors = ["Transfluent Lt... | ccaf77c3fae8c48e6e7c1f347e2b4fbaeb1b403a | transfluent.gemspec | transfluent.gemspec | Ruby |
<|file_sep|>test.sh.diff
original:
echo "Start Travis Test Without Coverage Upload"
istanbul cover ./node_modules/mocha/bin/_mocha --report html
updated:
<|file_sep|>original/test.sh
#!/bin/bash
#
# This script starts the test module using Istanbul for codecoverage
# The coverage is NOT uploaded afterwards to codeco... | #
# This script starts the test module using Istanbul for codecoverage
# The coverage is NOT uploaded afterwards to codecov.io
# it is used on NON TRAVIS machines
#
# it is started by npm test with the $TRAVIS variable set to nothing
# ("test": "NODE_ENV=test ./test$TRAVIS.sh") (from package.json)
#
#
if [ $TRAVIS =... | <|file_sep|>test.sh.diff
original:
echo "Start Travis Test Without Coverage Upload"
istanbul cover ./node_modules/mocha/bin/_mocha --report html
updated:
<|file_sep|>original/test.sh
#!/bin/bash
#
# This script starts the test module using Istanbul for codecoverage
# The coverage is NOT uploaded afterwards to codeco... | 2275e2b2e66894c51b0ff34d55dd84aa67fff9d1 | test.sh | test.sh | Shell |
<|file_sep|>lib/sms_sender_tester.rb.diff
original:
debug('SmsSenderTester::send_sms method. ' +
updated:
Rails.logger.debug('SmsSenderTester::send_sms method. ' +
<|file_sep|>lib/sms_sender_tester.rb.diff
original:
debug('SmsSenderTester::get_balance method. ' +
updated:
Rails.logger.debug('SmsSende... | 'Credentials: ' + credentials.to_s +
'Mobile number: ' + mobile_number.to_s +
'Message: ' + message +
'Sender: ' + sender.to_s +
'Options: ' + options.to_s
)
end
def self.get_balance(credentials)
Rails.logger.debug('SmsSenderTester::get_balance method. ' +
'Credentia... | <|file_sep|>lib/sms_sender_tester.rb.diff
original:
debug('SmsSenderTester::send_sms method. ' +
updated:
Rails.logger.debug('SmsSenderTester::send_sms method. ' +
<|file_sep|>lib/sms_sender_tester.rb.diff
original:
debug('SmsSenderTester::get_balance method. ' +
updated:
Rails.logger.debug('SmsSende... | 14291ad15200765251f75e8693b9eb4822a59017 | lib/sms_sender_tester.rb | lib/sms_sender_tester.rb | Ruby |
<|file_sep|>original/.idea/google-java-format.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GoogleJavaFormatSettings">
<option name="enabled" value="true" />
<option name="style" value="AOSP" />
</component>
</project>
<|file_sep|>current/.idea/google-java-format.xml
<?xm... | <?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GoogleJavaFormatSettings">
<option name="enabled" value="true" />
</component>
</project> | <|file_sep|>original/.idea/google-java-format.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GoogleJavaFormatSettings">
<option name="enabled" value="true" />
<option name="style" value="AOSP" />
</component>
</project>
<|file_sep|>current/.idea/google-java-format.xml
<?xm... | a4df2ce6060bd3a4989232f101ca03abcd6cce7a | .idea/google-java-format.xml | .idea/google-java-format.xml | XML |
<|file_sep|>original/Deferred.podspec
Pod::Spec.new do |spec|
spec.name = 'Deferred'
spec.version = '0.1.2'
spec.summary = 'Promises in Swift'
spec.homepage = 'https://github.com/remarkableio/Deferred'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.author = {
'Giles Van Gruisen' => 'giles@va... | Pod::Spec.new do |spec|
spec.name = 'Deferred'
spec.version = '0.1.2'
spec.summary = 'Promises in Swift'
spec.homepage = 'https://github.com/remarkableio/Deferred'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.author = {
'Giles Van Gruisen' => 'giles@vangruisen.com',
}
spec.source = { :... | <|file_sep|>original/Deferred.podspec
Pod::Spec.new do |spec|
spec.name = 'Deferred'
spec.version = '0.1.2'
spec.summary = 'Promises in Swift'
spec.homepage = 'https://github.com/remarkableio/Deferred'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.author = {
'Giles Van Gruisen' => 'giles@va... | ed4240517270205c933d67878ef97d66875febed | Deferred.podspec | Deferred.podspec | Ruby |
<|file_sep|>original/Casks/shimo.rb
cask 'shimo' do
version '4.0.5_7199'
sha256 'e413fedd9dcb0161986433eb26599de07428ef1a2c443b0e9448bb8bc86af504'
url "https://www.feingeist.io/fg-library/appcasts/Shimo4/Shimo_#{version}.zip"
name 'Shimo'
homepage 'https://www.feingeist.io/shimo/'
license :commercial
ap... | cask 'shimo' do
version '4.0.5_7199'
sha256 'e413fedd9dcb0161986433eb26599de07428ef1a2c443b0e9448bb8bc86af504'
url "https://www.feingeist.io/fg-library/appcasts/Shimo4/Shimo_#{version}.zip"
name 'Shimo'
homepage 'https://www.feingeist.io/shimo/'
license :commercial
auto_updates true
app 'Shimo.app'
e... | <|file_sep|>original/Casks/shimo.rb
cask 'shimo' do
version '4.0.5_7199'
sha256 'e413fedd9dcb0161986433eb26599de07428ef1a2c443b0e9448bb8bc86af504'
url "https://www.feingeist.io/fg-library/appcasts/Shimo4/Shimo_#{version}.zip"
name 'Shimo'
homepage 'https://www.feingeist.io/shimo/'
license :commercial
ap... | 6448d9a0dc4dfe9b428bb510e355c93b02b45098 | Casks/shimo.rb | Casks/shimo.rb | Ruby |
<|file_sep|>original/requirements.txt
ansible-lint==4.3.7
docker==4.4.1
flake8==3.8.4
molecule==3.0.8
pytest==6.2.0
testinfra==6.0.0
tox==3.20.1
<|file_sep|>current/requirements.txt
ansible-lint==4.3.7
docker==4.4.1
flake8==3.8.4
molecule==3.0.8
pytest==6.2.0
testinfra==6.0.0
tox==3.20.1
<|file_sep|>updated/requirement... | ansible-lint==4.3.7
docker==4.4.1
flake8==3.8.4
molecule==3.0.8
pytest==6.2.0
testinfra==6.0.0
tox==3.21.0 | <|file_sep|>original/requirements.txt
ansible-lint==4.3.7
docker==4.4.1
flake8==3.8.4
molecule==3.0.8
pytest==6.2.0
testinfra==6.0.0
tox==3.20.1
<|file_sep|>current/requirements.txt
ansible-lint==4.3.7
docker==4.4.1
flake8==3.8.4
molecule==3.0.8
pytest==6.2.0
testinfra==6.0.0
tox==3.20.1
<|file_sep|>updated/requirement... | 2b0accc2e93bafc73b8da6a86c127e529ea44404 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/static/styles.css
}
#programs-dropdown {
width: 100%;
}
#rotation-buttons {
width: 100%;
}
.slider {
width: 100% !important;
}
.dropdown-menu {
font-size: 18px;
left: 50%;
transform: translate(-50%, 0);
text-align: center;
width: 75%;
}
<|file_sep|>current/app/static/styles.... | #programs-dropdown {
width: 100%;
}
#rotation-buttons {
width: 100%;
}
.slider {
width: 100% !important;
}
.dropdown-menu {
font-size: 18px;
left: 50%;
transform: translate(-50%, 0);
text-align: center;
width: 75%;
max-height: 300px;
overflow-x: hidden;
} | <|file_sep|>original/app/static/styles.css
}
#programs-dropdown {
width: 100%;
}
#rotation-buttons {
width: 100%;
}
.slider {
width: 100% !important;
}
.dropdown-menu {
font-size: 18px;
left: 50%;
transform: translate(-50%, 0);
text-align: center;
width: 75%;
}
<|file_sep|>current/app/static/styles.... | 222e3e562e11ec1f9639d0422cdf65e34bc303d9 | app/static/styles.css | app/static/styles.css | CSS |
<|file_sep|>aboutpopup.html.diff
original:
<h4>Links</h4>
updated:
<h4>Source code</h4>
<|file_sep|>original/aboutpopup.html
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="about-popu... | </div>
<div class="modal-body">
<h4>Keyboard shortcuts</h4>
<ul>
<li>Space: display next building</li>
<li>Backspace: display previous building</li>
<li>Numpad 0-9: select roof material</li>
</ul>
<h4>Source code</h4>
<ul>
<li><... | <|file_sep|>aboutpopup.html.diff
original:
<h4>Links</h4>
updated:
<h4>Source code</h4>
<|file_sep|>original/aboutpopup.html
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="about-popu... | 723b17d750f0e907368b71062b7a3e2f887e62d1 | aboutpopup.html | aboutpopup.html | HTML |
<|file_sep|>original/README.md
Install from https://addons.mozilla.org/firefox/addon/u2f-support-add-on/
## Build instructions ##
1. `cd c_src`
2. `cmake`
3. `make && make install`
4. `cd ../ext`
5. `jpm run`
On OS X and Linux the u2f binary may lose its executable bit upon packaging XPI this way.
It's possible to... | 1. `cd c_src`
2. `cmake`
3. `make && make install`
4. `cd ../ext`
5. `jpm run`
On OS X and Linux the u2f binary may lose its executable bit upon packaging XPI this way.
It's possible to make XPI file manually by executing `cd ext; zip -9r ../u2f.xpi *`, this way
permissions in final file will be correct.
## Enabling... | <|file_sep|>original/README.md
Install from https://addons.mozilla.org/firefox/addon/u2f-support-add-on/
## Build instructions ##
1. `cd c_src`
2. `cmake`
3. `make && make install`
4. `cd ../ext`
5. `jpm run`
On OS X and Linux the u2f binary may lose its executable bit upon packaging XPI this way.
It's possible to... | 89d1ce8c52b73a54a83f4d4d77b68556515d7d1e | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
sudo: false
install: travis_retry composer install --no-interaction --no-scripts --prefer-source
before_script: php artisan cachet:one-click-deploy
script:
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpun... | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
sudo: false
install: travis_retry composer install --no-interaction --ignore-platform-reqs --no-scripts --prefer-source
before_script: php artisan cachet:one-click-deploy
script:
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi;'
... | <|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
sudo: false
install: travis_retry composer install --no-interaction --no-scripts --prefer-source
before_script: php artisan cachet:one-click-deploy
script:
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpun... | 99964998ecedaf60a76ad338a66f62bc10c4083a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/database/seeds/ItemCategoriesTableSeeder.php
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Illuminate\Database\Seeder;
class ItemCategoriesTableSeeder extends Seeder
{
public function run()
{
... | * file that was distributed with this source code.
*/
use Illuminate\Database\Seeder;
class ItemCategoriesTableSeeder extends Seeder
{
public function run()
{
DB::table('item_categories')->delete();
$categories = [
['name' => 'Veículos', 'slug' => 'veiculos', 'code' => '01'],
... | <|file_sep|>original/database/seeds/ItemCategoriesTableSeeder.php
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Illuminate\Database\Seeder;
class ItemCategoriesTableSeeder extends Seeder
{
public function run()
{
... | c74a640ee42f5d64abb745b7a5adf19eb746ee93 | database/seeds/ItemCategoriesTableSeeder.php | database/seeds/ItemCategoriesTableSeeder.php | PHP |
<|file_sep|>stylesheets/design-patterns/_alpha-beta.scss.diff
original:
updated:
display: table;
<|file_sep|>original/stylesheets/design-patterns/_alpha-beta.scss
color: $banner-text-colour;
@include core-16;
}
.phase-tag {
@include phase-tag($state);
}
span {
vertical-align: baseline;
... | margin: 0;
color: $banner-text-colour;
@include core-16;
}
.phase-tag {
@include phase-tag($state);
}
span {
display: table-cell;
vertical-align: baseline;
}
}
// Phase tag usage:
//
// Alpha
// .phase-tag {
// @include phase-tag;
// } | <|file_sep|>stylesheets/design-patterns/_alpha-beta.scss.diff
original:
updated:
display: table;
<|file_sep|>original/stylesheets/design-patterns/_alpha-beta.scss
color: $banner-text-colour;
@include core-16;
}
.phase-tag {
@include phase-tag($state);
}
span {
vertical-align: baseline;
... | 5741bf52684a02268e13856146ec64b634fb2c6c | stylesheets/design-patterns/_alpha-beta.scss | stylesheets/design-patterns/_alpha-beta.scss | SCSS |
<|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md | # katharsis-docs
## Quickstart
### Setup
1. [Install sphinx][sphinx]
* installing with pip in a local virtualenv is recommended
2. Install the sphinx theme `sphinx_rtd_theme`
* `pip install sphinx_rtd_theme`
### Build
**Build HTML**
```
make html
```
Docs output to: `build/html/index.html`
| <|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md
# katharsis-docs
## Quickstart
### Setup
1. [Install sphinx][sphinx]
* installing with pip in a local virtualenv is recommended
2. Install the sphinx theme `sphinx_rtd_theme`
* `pip install sphinx_rtd_theme`
### Build
... | 5a847f17b0f090daba31478acd65e7a24ee89692 | README.md | README.md | Markdown |
<|file_sep|>lib/elements/atom/assets.js.diff
original:
const WEBPACK_FILELOADER_PATH_KEY = "default";
updated:
let LogoPath = '../../../assets/logo.svg';
let LogoSmallPath = '../../../assets/logo-small.svg';
let ScreenshotPath = '../../../assets/plotscreenshot.png';
let DemoVideoPath = '../../../assets/demo.mp4';
let I... | const path = require('path');
let LogoPath = '../../../assets/logo.svg';
let LogoSmallPath = '../../../assets/logo-small.svg';
let ScreenshotPath = '../../../assets/plotscreenshot.png';
let DemoVideoPath = '../../../assets/demo.mp4';
let InstallLessPath = '../../../styles/install.less';
// Environment variable set by... | <|file_sep|>lib/elements/atom/assets.js.diff
original:
const WEBPACK_FILELOADER_PATH_KEY = "default";
updated:
let LogoPath = '../../../assets/logo.svg';
let LogoSmallPath = '../../../assets/logo-small.svg';
let ScreenshotPath = '../../../assets/plotscreenshot.png';
let DemoVideoPath = '../../../assets/demo.mp4';
let I... | 629dc52bcaeb3fb9952421e2b5cdf04b19e16a03 | lib/elements/atom/assets.js | lib/elements/atom/assets.js | JavaScript |
<|file_sep|>original/README.md
# https
A little https proxy with no frills for local development. Generates a self-signed certificate on-demand.
## installation
```bash
$ curl -sSL https://github.com/mattrobenolt/https/releases/download/0.1.0/https-darwin-amd64 > /usr/local/bin/https && chmod +x /usr/local/bin/https... | # https
A little https proxy with no frills for local development. Generates a self-signed certificate on-demand.
## installation
```bash
$ curl -sSL https://github.com/mattrobenolt/https/releases/download/0.1.0/https-darwin-amd64 > /usr/local/bin/https && chmod +x /usr/local/bin/https
```
_or_
```bash
$ go get gi... | <|file_sep|>original/README.md
# https
A little https proxy with no frills for local development. Generates a self-signed certificate on-demand.
## installation
```bash
$ curl -sSL https://github.com/mattrobenolt/https/releases/download/0.1.0/https-darwin-amd64 > /usr/local/bin/https && chmod +x /usr/local/bin/https... | 6801f970f2b35902d1ebd31156140d1eaf2c84b9 | README.md | README.md | Markdown |
<|file_sep|>original/index.php
add_action('plugins_loaded', 'woocommerce_komoju_init', 0);
function woocommerce_komoju_init() {
if ( !class_exists( 'WC_Payment_Gateway' ) ) return;
/**
* Localisation
*/
//load_plugin_textdomain('wc-komoju', false, dirname( plugin_basename( __FILE__ ) ) . '/languages');
... |
add_action('plugins_loaded', 'woocommerce_komoju_init', 0);
function woocommerce_komoju_init() {
if ( !class_exists( 'WC_Payment_Gateway' ) ) return;
/**
* Localisation
*/
load_textdomain( 'woocommerce', WP_PLUGIN_DIR.'/'.dirname( plugin_basename( __FILE__ ) ).'/lang/ja_JP.mo' );
require_once 'class-w... | <|file_sep|>original/index.php
add_action('plugins_loaded', 'woocommerce_komoju_init', 0);
function woocommerce_komoju_init() {
if ( !class_exists( 'WC_Payment_Gateway' ) ) return;
/**
* Localisation
*/
//load_plugin_textdomain('wc-komoju', false, dirname( plugin_basename( __FILE__ ) ) . '/languages');
... | 1801085c1f2d1e83fdab6fd97f93d5aab0550f4e | index.php | index.php | PHP |
<|file_sep|>original/app/components/HeaderNotifications/HeaderNotifications.css
}
&:active {
border: 2px solid var(--color-light-gray-1);
}
}
.innerNotification {
display: flex;
flex-direction: row;
align-items: center;
padding-right: 15px;
}
.unRead {
background-color: rgba(255, 143, 131, 0.29);... |
&:active {
border: 2px solid var(--color-light-gray-1);
}
}
.innerNotification {
display: flex;
flex-direction: row;
align-items: center;
padding-right: 15px;
word-break: break-word;
}
.unRead {
background-color: rgba(255, 143, 131, 0.29);
}
.icon {
padding-right: 15px;
} | <|file_sep|>original/app/components/HeaderNotifications/HeaderNotifications.css
}
&:active {
border: 2px solid var(--color-light-gray-1);
}
}
.innerNotification {
display: flex;
flex-direction: row;
align-items: center;
padding-right: 15px;
}
.unRead {
background-color: rgba(255, 143, 131, 0.29);... | ccff3ce2d6bf0fee16b6aa70a2ebec4594e3ab66 | app/components/HeaderNotifications/HeaderNotifications.css | app/components/HeaderNotifications/HeaderNotifications.css | CSS |
<|file_sep|>original/tasks/main.yml
---
- name: "Upload Upstart Script | {{ upstart_name }}"
template:
src: etc/init/template
dest: "/etc/init/{{ upstart_name }}.conf"
- name: "Link Upstart Script to /etc/init.d/{{ upstart_name }}"
file:
state: link
src: /etc/init/upstart-job
dest: "/etc/init.d... | ---
- name: "Upload Upstart Script | {{ upstart_name }}"
template:
src: etc/init/template
dest: "/etc/init/{{ upstart_name }}.conf"
- name: "Link Upstart Script to /etc/init.d/{{ upstart_name }}"
file:
state: link
src: /etc/init/upstart-job
dest: "/etc/init.d/{{ upstart_name }}"
force: yes | <|file_sep|>original/tasks/main.yml
---
- name: "Upload Upstart Script | {{ upstart_name }}"
template:
src: etc/init/template
dest: "/etc/init/{{ upstart_name }}.conf"
- name: "Link Upstart Script to /etc/init.d/{{ upstart_name }}"
file:
state: link
src: /etc/init/upstart-job
dest: "/etc/init.d... | 9ce26966fa3c96a30d71fe07ba37455f2b2b512e | tasks/main.yml | tasks/main.yml | YAML |
<|file_sep|>original/examples.rb
require File.join(File.dirname(__FILE__), 'lib', 'tickle')
['May 30', '6:30 PM', 'tomorrow at 6:00', 'June 18, 2011',].each {|s|
print "s: ", s, " ", Tickle.parse(s)
puts
}
<|file_sep|>current/examples.rb
require File.join(File.dirname(__FILE__), 'lib', 'tickle')
['May 30', ... |
require File.join(File.dirname(__FILE__), 'lib', 'tickle')
=begin
Time is ignored if there's also a date, unless the date is 'tomorrow'(?)
Tickle creates times in the servers local time zone.
To go from server time to user's local time...
user_time = server_time + (user_time_offset - server_time_offset)
eg (5:0... | <|file_sep|>original/examples.rb
require File.join(File.dirname(__FILE__), 'lib', 'tickle')
['May 30', '6:30 PM', 'tomorrow at 6:00', 'June 18, 2011',].each {|s|
print "s: ", s, " ", Tickle.parse(s)
puts
}
<|file_sep|>current/examples.rb
require File.join(File.dirname(__FILE__), 'lib', 'tickle')
['May 30', ... | 38329d32666c9feb77d7d40000f91966406fe415 | examples.rb | examples.rb | Ruby |
<|file_sep|>README.md.diff
original:
# akka-cqrs-activator #
updated:
# akka-cqrs-activator
<|file_sep|>README.md.diff
original:
Welcome to akka-cqrs-activator!
updated:
###Issue tracking demo application which shows implementation of event sourcing and CQRS with Akka
<|file_sep|>README.md.diff
original:
## Contributio... | # akka-cqrs-activator
###Issue tracking demo application which shows implementation of event sourcing and CQRS with Akka
General concept:
- Cassandra is being used as an event store and also as a "read side" data store
- Akka Persistent FSM is being used on "write side" to store current state and to define behavior.... | <|file_sep|>README.md.diff
original:
# akka-cqrs-activator #
updated:
# akka-cqrs-activator
<|file_sep|>README.md.diff
original:
Welcome to akka-cqrs-activator!
updated:
###Issue tracking demo application which shows implementation of event sourcing and CQRS with Akka
<|file_sep|>README.md.diff
original:
## Contributio... | fab7c5f3f94efe5906f610b56104a38a5f5f175d | README.md | README.md | Markdown |
<|file_sep|>original/core/src/main/resources/IAF_Util/ConfigurationCheckReload.xml
<module>
<adapter name="CheckReload" active="${checkReload.active}">
<receiver className="nl.nn.adapterframework.receivers.GenericReceiver"
name="CheckReload" onError="close">
<listener name="CheckReload"
className="nl.nn.ad... | <module>
<adapter name="CheckReload" active="${checkReload.active}"
msgLogLevel="None">
<receiver className="nl.nn.adapterframework.receivers.GenericReceiver"
name="CheckReload" onError="close">
<listener name="CheckReload"
className="nl.nn.adapterframework.receivers.JavaListener" />
</receiver>
<pip... | <|file_sep|>original/core/src/main/resources/IAF_Util/ConfigurationCheckReload.xml
<module>
<adapter name="CheckReload" active="${checkReload.active}">
<receiver className="nl.nn.adapterframework.receivers.GenericReceiver"
name="CheckReload" onError="close">
<listener name="CheckReload"
className="nl.nn.ad... | 403b024e2bba162e606a92f5259b71aacd724761 | core/src/main/resources/IAF_Util/ConfigurationCheckReload.xml | core/src/main/resources/IAF_Util/ConfigurationCheckReload.xml | XML |
<|file_sep|>clowder/clowder/cli/save_controller.py.diff
original:
updated:
import os
import sys
<|file_sep|>clowder/clowder/cli/save_controller.py.diff
original:
updated:
import clowder.util.formatting as fmt
<|file_sep|>clowder/clowder/cli/save_controller.py.diff
original:
updated:
from clowder.util.decorators imp... | stacked_on = 'base'
stacked_type = 'nested'
description = 'Create version of clowder.yaml for current repos'
arguments = [
(['version'], dict(help='version to save', metavar='VERSION'))
]
@expose(help="second-controller default command", hide=True)
@valid... | <|file_sep|>clowder/clowder/cli/save_controller.py.diff
original:
updated:
import os
import sys
<|file_sep|>clowder/clowder/cli/save_controller.py.diff
original:
updated:
import clowder.util.formatting as fmt
<|file_sep|>clowder/clowder/cli/save_controller.py.diff
original:
updated:
from clowder.util.decorators imp... | c83a680603b83edafe61f6d41b34989c70a4e4ae | clowder/clowder/cli/save_controller.py | clowder/clowder/cli/save_controller.py | Python |
<|file_sep|>spec/integration/cookbook_spec.rb.diff
original:
structure = tar.map(&:full_name)
updated:
structure = tar.map(&:full_name).sort
<|file_sep|>spec/integration/cookbook_spec.rb.diff
original:
updated:
basic/CHANGELOG.md
<|file_sep|>spec/integration/cookbook_spec.rb.diff
orig... | expect(structure).to eq(%w(
basic/CHANGELOG.md
basic/README.md
basic/attributes/default.rb
basic/attributes/system.rb
basic/definitions/web_app.rb
basic/files/default
basic/files/default/example.txt
basic/files/default/patch.txt
... | <|file_sep|>spec/integration/cookbook_spec.rb.diff
original:
structure = tar.map(&:full_name)
updated:
structure = tar.map(&:full_name).sort
<|file_sep|>spec/integration/cookbook_spec.rb.diff
original:
updated:
basic/CHANGELOG.md
<|file_sep|>spec/integration/cookbook_spec.rb.diff
orig... | 9c43980f4011fd8b70b5866d10831b5a0aeef021 | spec/integration/cookbook_spec.rb | spec/integration/cookbook_spec.rb | Ruby |
<|file_sep|>docs/development.rst.diff
original:
updated:
Add Adams-Bashforth family of timestepping algorithms up to fifth-order (15 MArch 2018)
<|file_sep|>docs/development.rst.diff
original:
updated:
<|file_sep|>original/docs/development.rst
Development
===========
Since latest release
--------------------
Mak... | ===========
Since latest release
--------------------
Add Adams-Bashforth family of timestepping algorithms up to fifth-order (15 MArch 2018)
Make test suite plot all differences when a test fails, as suggested in `GH136 <https://github.com/edoddridge/aronnax/issues/136>`_ (12 March 2018)
Refactor Fortran code int... | <|file_sep|>docs/development.rst.diff
original:
updated:
Add Adams-Bashforth family of timestepping algorithms up to fifth-order (15 MArch 2018)
<|file_sep|>docs/development.rst.diff
original:
updated:
<|file_sep|>original/docs/development.rst
Development
===========
Since latest release
--------------------
Mak... | b7471e90cce7c2e7195a115739a0e95291bab148 | docs/development.rst | docs/development.rst | reStructuredText |
<|file_sep|>original/circle.yml
machine:
node:
version: 4.4.5
general:
artifacts:
- "dist"
- "jsdoc"
dependencies:
override:
- npm install
test:
post:
- npm run lint
- npm run jsdoc
<|file_sep|>current/circle.yml
machine:
node:
version: 4.4.5
general:
artifacts:
- "dist"
... | machine:
node:
version: 4.4.5
general:
artifacts:
- "dist"
- "jsdoc"
dependencies:
post:
- npm run build
test:
post:
- npm run lint
- npm run jsdoc | <|file_sep|>original/circle.yml
machine:
node:
version: 4.4.5
general:
artifacts:
- "dist"
- "jsdoc"
dependencies:
override:
- npm install
test:
post:
- npm run lint
- npm run jsdoc
<|file_sep|>current/circle.yml
machine:
node:
version: 4.4.5
general:
artifacts:
- "dist"
... | e7bdd7acbea62ae6d8bbf3997558229013f8c069 | circle.yml | circle.yml | YAML |
<|file_sep|>original/site/content/about/people/mercedes.md
<|file_sep|>current/site/content/about/people/mercedes.md
<|file_sep|>updated/site/content/about/people/mercedes.md | +++
bio = "Administración"
date = "2019-12-18T09:00:00+02:00"
enrollDate = "2019-12-18"
name = "Mercedes Gasca"
title = "mercedes"
+++
| <|file_sep|>original/site/content/about/people/mercedes.md
<|file_sep|>current/site/content/about/people/mercedes.md
<|file_sep|>updated/site/content/about/people/mercedes.md
+++
bio = "Administración"
date = "2019-12-18T09:00:00+02:00"
enrollDate = "2019-12-18"
name = "Mercedes Gasca"
title = "mercedes"
+++
| d645a5e5fc79b7498683166ba0de5af62192c591 | site/content/about/people/mercedes.md | site/content/about/people/mercedes.md | Markdown |
<|file_sep|>original/project/plugins.sbt
scalacOptions += "-deprecation"
libraryDependencies += "org.slf4j" % "slf4j-nop" % "1.7.30"
val scalaJsVersion = Option(System.getenv("SCALA_JS_VERSION")).getOrElse("1.0.1")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.7.0")
addSbtPlugin("com... | scalacOptions += "-deprecation"
libraryDependencies += "org.slf4j" % "slf4j-nop" % "1.7.30"
val scalaJsVersion = Option(System.getenv("SCALA_JS_VERSION")).getOrElse("1.1.0")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.7.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-os... | <|file_sep|>original/project/plugins.sbt
scalacOptions += "-deprecation"
libraryDependencies += "org.slf4j" % "slf4j-nop" % "1.7.30"
val scalaJsVersion = Option(System.getenv("SCALA_JS_VERSION")).getOrElse("1.0.1")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.7.0")
addSbtPlugin("com... | 7b2ec2a805f0a636861e507dae41901d0aafd04b | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>original/firebase.json
{
"hosting": {
"public": "public",
"headers": [
{
"source": "**/*.@(js|json|ico)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000"
}
]
},
{
"source": "**/service-... | {
"hosting": {
"public": "public",
"headers": [
{
"source": "**/*.@(js|json|ico|png|html)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000"
}
]
},
{
"source": "**/service-worker.js",
"heade... | <|file_sep|>original/firebase.json
{
"hosting": {
"public": "public",
"headers": [
{
"source": "**/*.@(js|json|ico)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000"
}
]
},
{
"source": "**/service-... | 6a5527943e1e9fb64a7a1d1a27d6c5b57f2a64fa | firebase.json | firebase.json | JSON |
<|file_sep|>original/lib/global_session/rails.rb
basedir = File.dirname(__FILE__)
require 'rack/contrib/cookies'
#Require the files necessary for Rails integration
require 'global_session/rack'
require 'global_session/rails/action_controller_class_methods'
require 'global_session/rails/action_controller_instance_met... | basedir = File.dirname(__FILE__)
require 'rack/contrib/cookies'
require 'actionpack'
require 'action_controller'
#Require the files necessary for Rails integration
require 'global_session/rack'
require 'global_session/rails/action_controller_class_methods'
require 'global_session/rails/action_controller_instance_meth... | <|file_sep|>original/lib/global_session/rails.rb
basedir = File.dirname(__FILE__)
require 'rack/contrib/cookies'
#Require the files necessary for Rails integration
require 'global_session/rack'
require 'global_session/rails/action_controller_class_methods'
require 'global_session/rails/action_controller_instance_met... | 6ed28407fe84803ad5ec96f06d38312dd01ac655 | lib/global_session/rails.rb | lib/global_session/rails.rb | Ruby |
<|file_sep|>original/lib/eye/patch/capistrano3.rb
<|file_sep|>current/lib/eye/patch/capistrano3.rb
<|file_sep|>updated/lib/eye/patch/capistrano3.rb | namespace :load do
task :defaults do
set :eye_config, -> { "config/eye.yml" }
set :eye_bin, -> { "bundle exec eye-patch" }
set :eye_roles, -> { :app }
end
end
namespace :eye do
desc "Start eye with the desired configuration file"
task :load_config do
on roles(fetch(:eye_roles)) do
withi... | <|file_sep|>original/lib/eye/patch/capistrano3.rb
<|file_sep|>current/lib/eye/patch/capistrano3.rb
<|file_sep|>updated/lib/eye/patch/capistrano3.rb
namespace :load do
task :defaults do
set :eye_config, -> { "config/eye.yml" }
set :eye_bin, -> { "bundle exec eye-patch" }
set :eye_roles, -> { :app }
en... | 2eae636fc0f46f22c8720d89721ef181d5c23548 | lib/eye/patch/capistrano3.rb | lib/eye/patch/capistrano3.rb | Ruby |
<|file_sep|>original/week-2/design-reflection.md
<!DOCTYPE html>
<html>
<head>
<title>Reflecting on Design</title>
</head>
<body>

<p> Here we see the map of my site, known as a site map. Very advanced stuff. </p>
</body>
</html>
<|file_sep|>current/week-2... | <!DOCTYPE html>
<html>
<head>
<title>Reflecting on Design</title>
</head>
<body>

<p> Here we see the map of my site, known as a site map. Very advanced stuff. </p>
</body>
</html> | <|file_sep|>original/week-2/design-reflection.md
<!DOCTYPE html>
<html>
<head>
<title>Reflecting on Design</title>
</head>
<body>

<p> Here we see the map of my site, known as a site map. Very advanced stuff. </p>
</body>
</html>
<|file_sep|>current/week-2... | 06c1d87cdcfc18dff60c130eb6e5df37d85e006b | week-2/design-reflection.md | week-2/design-reflection.md | Markdown |
<|file_sep|>original/.github/workflows/macos_cmake.yml
name: MacOS Cmake
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
env:
EXTRA_RESOLVE_OPTIONS: ${{ github.... | name: MacOS Cmake
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
env:
EXTRA_RESOLVE_OPTIONS: ${{ github.event.inputs.extra_resolve_options }}
jobs:
MacOS-cma... | <|file_sep|>original/.github/workflows/macos_cmake.yml
name: MacOS Cmake
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
env:
EXTRA_RESOLVE_OPTIONS: ${{ github.... | 90def69622bb2097f80d240610d30e61df4656bf | .github/workflows/macos_cmake.yml | .github/workflows/macos_cmake.yml | YAML |
<|file_sep|>juxtapose.gemspec.diff
original:
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'juxtapose/version'
updated:
require File.expand_path('../lib/juxtapose/version', __FILE__)
<|file_sep|>original/juxtapose.gemspec
# coding: utf-8
lib = File.expand_pat... | # coding: utf-8
require File.expand_path('../lib/juxtapose/version', __FILE__)
Gem::Specification.new do |spec|
spec.name = "juxtapose"
spec.version = Juxtapose::VERSION
spec.authors = ["Joe Lind", "Thomas Mayfield"]
spec.email = ["thomas@terriblelabs.com"]
spec.description = %... | <|file_sep|>juxtapose.gemspec.diff
original:
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'juxtapose/version'
updated:
require File.expand_path('../lib/juxtapose/version', __FILE__)
<|file_sep|>original/juxtapose.gemspec
# coding: utf-8
lib = File.expand_pat... | 892f71a498c8c92a32d94816bd45e4e7e55f819e | juxtapose.gemspec | juxtapose.gemspec | Ruby |
<|file_sep|>original/.travis.yml
language: java
before_install:
- wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
- tar -zxf android-sdk_r21.0.1-linux.tgz
- export ANDROID_HOME=~/builds/lexs/webimageloader/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-to... | language: java
before_install:
- wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
- tar -zxf android-sdk_r21.0.1-linux.tgz
- export ANDROID_HOME=`pwd`/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
- android update sdk --filter 1,4 --no-ui --force | <|file_sep|>original/.travis.yml
language: java
before_install:
- wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
- tar -zxf android-sdk_r21.0.1-linux.tgz
- export ANDROID_HOME=~/builds/lexs/webimageloader/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-to... | fb35d20c67b11efa252c8007d4893afa13b695a4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
before_script:
npm install -g mocha
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
before_script:
npm install -g mocha
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
before_script:
npm install -g chai | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
before_script:
npm install -g mocha
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
before_script:
npm install -g mocha
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
... | 46494517f400eba3e8aa8a044f40ebfc5037338c | .travis.yml | .travis.yml | YAML |
<|file_sep|>lisp/init-direnv.el.diff
original:
(defun sanityinc/maybe-enable-envrc-global-mode ()
"Enable `envrc-global-mode' if `direnv' is installed."
(when (executable-find "direnv")
(envrc-global-mode)))
updated:
(when (maybe-require-package 'envrc)
(defun sanityinc/maybe-enable-envrc-global-mode ()
"... | ;;; init-direnv.el --- Integrate with direnv -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(when (maybe-require-package 'envrc)
(defun sanityinc/maybe-enable-envrc-global-mode ()
"Enable `envrc-global-mode' if `direnv' is installed."
(when (executable-find "direnv")
(envrc-global-mode)))
(wit... | <|file_sep|>lisp/init-direnv.el.diff
original:
(defun sanityinc/maybe-enable-envrc-global-mode ()
"Enable `envrc-global-mode' if `direnv' is installed."
(when (executable-find "direnv")
(envrc-global-mode)))
updated:
(when (maybe-require-package 'envrc)
(defun sanityinc/maybe-enable-envrc-global-mode ()
"... | 2e24253e8144cf40970373d6f6c37cc75539b4bb | lisp/init-direnv.el | lisp/init-direnv.el | Emacs Lisp |
<|file_sep|>original/iatidataquality/templates/organisations.html
</a>
</div>
{% endif %}
<h1>Organisations</h1>
<p class="lead">
The following organisations are included in
the 2015 mid-term progress review. Each organisation's page contains an
initial assessment of the quality of the aid in... | </a>
</div>
{% endif %}
<h1>Organisations</h1>
<p class="lead">
The following organisations are included in
the 2016 Aid Transparency Index. Each organisation's page contains an
initial assessment of the quality of the aid information they
publish. Publish What You Fund will work with thes... | <|file_sep|>original/iatidataquality/templates/organisations.html
</a>
</div>
{% endif %}
<h1>Organisations</h1>
<p class="lead">
The following organisations are included in
the 2015 mid-term progress review. Each organisation's page contains an
initial assessment of the quality of the aid in... | 77eaf54eabd1038d0e57c7dc5f8e4890b6ba6f77 | iatidataquality/templates/organisations.html | iatidataquality/templates/organisations.html | HTML |
<|file_sep|>richtextfx/src/integrationTest/java/org/fxmisc/richtext/keyboard/navigation/MultiLineJaggedTextTests.java.diff
original:
area.moveTo(27);
updated:
area.moveTo(0);
assertEquals(0, area.getCaretSelectionBind().getLineIndex().getAsInt());
<|file_sep|>richtextfx/src/integrationTest/java/... | @Test
public void pressing_down_moves_caret_to_next_line() {
area.moveTo(0);
assertEquals(0, area.getCaretSelectionBind().getLineIndex().getAsInt());
push(DOWN);
assertEquals(1, area.getCaretSelectionBind().getLineIndex().getAsInt());
}
@Test
public void pressing_u... | <|file_sep|>richtextfx/src/integrationTest/java/org/fxmisc/richtext/keyboard/navigation/MultiLineJaggedTextTests.java.diff
original:
area.moveTo(27);
updated:
area.moveTo(0);
assertEquals(0, area.getCaretSelectionBind().getLineIndex().getAsInt());
<|file_sep|>richtextfx/src/integrationTest/java/... | 7c5757dda96ec65a594f484590643509ba1c1407 | richtextfx/src/integrationTest/java/org/fxmisc/richtext/keyboard/navigation/MultiLineJaggedTextTests.java | richtextfx/src/integrationTest/java/org/fxmisc/richtext/keyboard/navigation/MultiLineJaggedTextTests.java | Java |
<|file_sep|>original/platforms/darwin-pgi/platform.cmake
if (NOT PLIBSYS_SIZEOF_VOID_P EQUAL 4)
message (FATAL_ERROR
"
PGI compiler doesn't support 64-bit shared libraries on
macOS. Use 32-bit version of the compiler instead.
")
endif()
set (... | if (NOT PLIBSYS_SIZEOF_VOID_P EQUAL 4)
if (CMAKE_VERSION VERSION_LESS 2.8.10)
message (WARNING
"
Unable to detect PGI compiler version. Beware that old
PGI versions doesn't support shared libraries on 64-bit
... | <|file_sep|>original/platforms/darwin-pgi/platform.cmake
if (NOT PLIBSYS_SIZEOF_VOID_P EQUAL 4)
message (FATAL_ERROR
"
PGI compiler doesn't support 64-bit shared libraries on
macOS. Use 32-bit version of the compiler instead.
")
endif()
set (... | 17a156b55f5f9eca8ecadb2a139f95a8a509254f | platforms/darwin-pgi/platform.cmake | platforms/darwin-pgi/platform.cmake | CMake |
<|file_sep|>original/src/wdc65816/Cargo.toml
[package]
name = "wdc65816"
description = "A WDC65816 emulator - The CPU used in the Super Nintendo (SNES)"
version = "0.1.0"
authors = ["Jonas Schievink <jonas@schievink.net>"]
license = "Apache-2.0/MIT"
documentation = "https://jonas-schievink.github.io/breeze-emu/wdc65816... | [package]
name = "wdc65816"
description = "A WDC65816 emulator - The CPU used in the Super Nintendo (SNES)"
version = "0.1.0"
authors = ["Jonas Schievink <jonas@schievink.net>"]
license = "Apache-2.0/MIT"
documentation = "https://jonas-schievink.github.io/breeze-emu/wdc65816/"
repository = "https://github.com/jonas-sch... | <|file_sep|>original/src/wdc65816/Cargo.toml
[package]
name = "wdc65816"
description = "A WDC65816 emulator - The CPU used in the Super Nintendo (SNES)"
version = "0.1.0"
authors = ["Jonas Schievink <jonas@schievink.net>"]
license = "Apache-2.0/MIT"
documentation = "https://jonas-schievink.github.io/breeze-emu/wdc65816... | 8caa88d6b9f7272bf9168f54b3e860066b31c15a | src/wdc65816/Cargo.toml | src/wdc65816/Cargo.toml | TOML |
<|file_sep|>original/.travis.yml
- ruby-head
env:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~> 5.0.0"
- RAILS_VERSION="~> 5.1.0"
- RAILS_VERSION="~> 5.2.0"
- RAILS_VERSION="~> 6.0.0.rc1"
matrix:
exclude:
- rvm: 2.4.6
env: RAILS_VERSION="~> 6.0.0.beta1"
- rvm: 2.6.3
env: RAILS_VERSION... | - ruby-head
env:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~> 5.0.0"
- RAILS_VERSION="~> 5.1.0"
- RAILS_VERSION="~> 5.2.0"
- RAILS_VERSION="~> 6.0.0.rc1"
matrix:
exclude:
- rvm: 2.4.6
env: RAILS_VERSION="~> 6.0.0.rc1"
- rvm: 2.6.3
env: RAILS_VERSION="~> 4.2.0"
allow_failures:
-... | <|file_sep|>original/.travis.yml
- ruby-head
env:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~> 5.0.0"
- RAILS_VERSION="~> 5.1.0"
- RAILS_VERSION="~> 5.2.0"
- RAILS_VERSION="~> 6.0.0.rc1"
matrix:
exclude:
- rvm: 2.4.6
env: RAILS_VERSION="~> 6.0.0.beta1"
- rvm: 2.6.3
env: RAILS_VERSION... | 7e57f3b0dc299bea16387f104dfce365639d2c0e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/main/java/com/beatsbucket/mashub/kitchen/History.java
<|file_sep|>current/src/main/java/com/beatsbucket/mashub/kitchen/History.java
<|file_sep|>updated/src/main/java/com/beatsbucket/mashub/kitchen/History.java | /*
* Copyright 2015 The Mashub Project
*
* The Mashub Project licenses this file to you 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/licenses/LICENSE-2.0
*
* Unles... | <|file_sep|>original/src/main/java/com/beatsbucket/mashub/kitchen/History.java
<|file_sep|>current/src/main/java/com/beatsbucket/mashub/kitchen/History.java
<|file_sep|>updated/src/main/java/com/beatsbucket/mashub/kitchen/History.java
/*
* Copyright 2015 The Mashub Project
*
* The Mashub Project licenses this file... | 4cf165b0b0ebcd089da6073f8d9bc35a81523aac | src/main/java/com/beatsbucket/mashub/kitchen/History.java | src/main/java/com/beatsbucket/mashub/kitchen/History.java | Java |
<|file_sep|>original/src/protocolsupport/ProtocolSupport.java
BungeeNettyChannelInjector.inject();
} catch (Throwable t) {
t.printStackTrace();
ProxyServer.getInstance().stop();
}
}
@Override
public void onEnable() {
if (Utils.getJavaPropertyValue("enablepe", false, Boolean::parseBoolean)) {
getLo... | t.printStackTrace();
ProxyServer.getInstance().stop();
}
}
@Override
public void onEnable() {
if (Utils.getJavaPropertyValue("enablepe", false, Boolean::parseBoolean)) {
getLogger().log(Level.INFO, "Enabling MCPE support");
(peserver = new PEProxyServer()).start();
}
}
@Override
public void on... | <|file_sep|>original/src/protocolsupport/ProtocolSupport.java
BungeeNettyChannelInjector.inject();
} catch (Throwable t) {
t.printStackTrace();
ProxyServer.getInstance().stop();
}
}
@Override
public void onEnable() {
if (Utils.getJavaPropertyValue("enablepe", false, Boolean::parseBoolean)) {
getLo... | 429f4f949926891ef4f0fbcb850939e46bd2884e | src/protocolsupport/ProtocolSupport.java | src/protocolsupport/ProtocolSupport.java | Java |
<|file_sep|>original/requirements-dev.txt
black[typed-ast]==22.3.0;platform_python_implementation == "PyPy"
black==22.3.0;platform_python_implementation != "PyPy"
bumpversion~=0.6.0
flake8~=4.0.1
isort~=5.10.0
pytest-cov~=3.0.0
pytest>=4.6.0
<|file_sep|>current/requirements-dev.txt
black[typed-ast]==22.3.0;platform_pyt... | black[typed-ast]==22.3.0;platform_python_implementation == "PyPy"
black==22.3.0;platform_python_implementation != "PyPy"
bumpversion~=0.6.0
flake8~=5.0.4
isort~=5.10.0
pytest-cov~=3.0.0
pytest>=4.6.0 | <|file_sep|>original/requirements-dev.txt
black[typed-ast]==22.3.0;platform_python_implementation == "PyPy"
black==22.3.0;platform_python_implementation != "PyPy"
bumpversion~=0.6.0
flake8~=4.0.1
isort~=5.10.0
pytest-cov~=3.0.0
pytest>=4.6.0
<|file_sep|>current/requirements-dev.txt
black[typed-ast]==22.3.0;platform_pyt... | b2768c69d46e96535a3ffe587602e87b82b2a9bf | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/docs/index.md
xcat is an advanced tool for exploiting XPath injection vulnerabilities, featuring a comprehensive
set of features to read the entire file being queried as well as other files on the filesystem,
environment variables and directories.
## Quickstart
The easiest way to get started is... | environment variables and directories.
## Quickstart
The easiest way to get started is to install the tool via pip:
`pip install xcat`
You can then use the `xcat` command to launch attacks.
See [commands](commands.md) for a full reference.
There [is also a demo application you can run to test xcat](https://github... | <|file_sep|>original/docs/index.md
xcat is an advanced tool for exploiting XPath injection vulnerabilities, featuring a comprehensive
set of features to read the entire file being queried as well as other files on the filesystem,
environment variables and directories.
## Quickstart
The easiest way to get started is... | 5cab4a2142f3096fea0dd77c128c1cd46b2f6c5d | docs/index.md | docs/index.md | Markdown |
<|file_sep|>original/README.md
```
$ manala build ~/my-awesome-project
```
#### Diff
Get the diff:
```
$ manala diff ~/my-awesome-project
```
Apply the diff:
```
$ manala diff ~/my-awesome-project | git apply
```
License
-------
This project is licensed under MIT.
For the whole copyright, see the [LICENSE](LICEN... | $ manala build ~/my-awesome-project
```
#### Diff
Get the diff:
```
$ manala diff ~/my-awesome-project
```
Apply the diff:
```
$ cd ~/my-awesome-project
$ manala diff | git apply
```
License
-------
This project is licensed under MIT.
For the whole copyright, see the [LICENSE](LICENSE) file distributed with this... | <|file_sep|>original/README.md
```
$ manala build ~/my-awesome-project
```
#### Diff
Get the diff:
```
$ manala diff ~/my-awesome-project
```
Apply the diff:
```
$ manala diff ~/my-awesome-project | git apply
```
License
-------
This project is licensed under MIT.
For the whole copyright, see the [LICENSE](LICEN... | 964dd88c969da9702ea4d4af852261a9afcd88cc | README.md | README.md | Markdown |
<|file_sep|>lib/powapps.rb.diff
original:
# Sets the domain to keep apps relative to.
updated:
# Set the domain to keep apps relative to.
<|file_sep|>lib/powapps.rb.diff
original:
# ".dev" if it's from http://pow.dev
updated:
# "dev" if it's from http://powapps.dev
<|file_sep|>original/lib/powapps.rb
... | private
# Directories and symlinks in ~/.pow
def directories
Dir[File.join(ENV['HOME'], '.pow', '*')]
end
# Set the domain to keep apps relative to.
# "10.0.0.1.xip.io" if accessed from http://powapps.10.0.0.1.xip.io or
# "dev" if it's from http://powapps.dev
def set_domain
@... | <|file_sep|>lib/powapps.rb.diff
original:
# Sets the domain to keep apps relative to.
updated:
# Set the domain to keep apps relative to.
<|file_sep|>lib/powapps.rb.diff
original:
# ".dev" if it's from http://pow.dev
updated:
# "dev" if it's from http://powapps.dev
<|file_sep|>original/lib/powapps.rb
... | f711b53ad987d310bc1f5aa9f20893834dddd429 | lib/powapps.rb | lib/powapps.rb | Ruby |
<|file_sep|>src/com/nasmlanguage/NASMLexerAdapter.java.diff
original:
Copyright (c) 2017-2018 Aidan Khoury. All rights reserved.
updated:
Copyright (c) 2017-2018 Aidan Khoury
<|file_sep|>src/com/nasmlanguage/NASMLexerAdapter.java.diff
original:
This program is free software: you can redistribute it and/or modify
it und... | Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the ... | <|file_sep|>src/com/nasmlanguage/NASMLexerAdapter.java.diff
original:
Copyright (c) 2017-2018 Aidan Khoury. All rights reserved.
updated:
Copyright (c) 2017-2018 Aidan Khoury
<|file_sep|>src/com/nasmlanguage/NASMLexerAdapter.java.diff
original:
This program is free software: you can redistribute it and/or modify
it und... | f69985dc5a2b4c54b56eb6f18ae19174e0b07c90 | src/com/nasmlanguage/NASMLexerAdapter.java | src/com/nasmlanguage/NASMLexerAdapter.java | Java |
<|file_sep|>original/exercises/bob/example.el
;;; Commentary:
;;; Code:
(require 'subr-x)
(defun response-for (phrase)
"Provides Bob's response to PHRASE."
(let ((stripped-phrase (string-trim phrase)))
(cond ((shout-questionp stripped-phrase) "Calm down, I know what I'm doing!")
((shoutp stripped-ph... | ;;; Commentary:
;;; Code:
(require 'subr-x)
(defun response-for (phrase)
"Provides Bob's response to PHRASE."
(let ((stripped-phrase (string-trim phrase)))
(cond ((shout-questionp stripped-phrase) "Calm down, I know what I'm doing!")
((shoutp stripped-phrase) "Whoa, chill out!")
((string-e... | <|file_sep|>original/exercises/bob/example.el
;;; Commentary:
;;; Code:
(require 'subr-x)
(defun response-for (phrase)
"Provides Bob's response to PHRASE."
(let ((stripped-phrase (string-trim phrase)))
(cond ((shout-questionp stripped-phrase) "Calm down, I know what I'm doing!")
((shoutp stripped-ph... | 70fd6eecc5463a42e26ab1d0092a8ec59a7e5867 | exercises/bob/example.el | exercises/bob/example.el | Emacs Lisp |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- '0.10'
env:
global:
secure: lMMzNhMw7H5+FNxRO0PQ8cKQa3QQtIxkygSrWy90Typ89ZvWFOoHz4q+QUggZcg2RvTWOpHvFuZSFz4ndr1VVtFNM7Sn8MEec7Xfqntpojw3F3QJVaLcIkpY95G6HCDh0ZXoKnHBYxCOamWaopScRXRuYl6q/+liSdDRNfABX5g= | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- '0.10'
env:
global:
secure: lMMzNhMw7H5+FNxRO0PQ8cKQa3QQtIxkygSrWy90Typ89ZvWFOoHz4q+QUggZcg2RvTWOpHvFuZSFz4ndr1V... | 0036cf80c2e3c2f95a084a18f6d09d233cdb397f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/arxiv_vanity/papers/management/commands/mark_failed_renders_as_expired.py
<|file_sep|>current/arxiv_vanity/papers/management/commands/mark_failed_renders_as_expired.py
<|file_sep|>updated/arxiv_vanity/papers/management/commands/mark_failed_renders_as_expired.py | from django.core.management.base import BaseCommand, CommandError
from ...models import Render
class Command(BaseCommand):
help = 'Marks all renders as expired so they will be rerendered'
def handle(self, *args, **options):
qs = Render.objects.defer("container_inspect", "container_logs").failed().not... | <|file_sep|>original/arxiv_vanity/papers/management/commands/mark_failed_renders_as_expired.py
<|file_sep|>current/arxiv_vanity/papers/management/commands/mark_failed_renders_as_expired.py
<|file_sep|>updated/arxiv_vanity/papers/management/commands/mark_failed_renders_as_expired.py
from django.core.management.base im... | 68dfe9c86ec1d2042b3f1eef21738300a3c6caf2 | arxiv_vanity/papers/management/commands/mark_failed_renders_as_expired.py | arxiv_vanity/papers/management/commands/mark_failed_renders_as_expired.py | Python |
<|file_sep|>original/website/blog/2019-01-30-version-0.127-release.md
<|file_sep|>current/website/blog/2019-01-30-version-0.127-release.md
<|file_sep|>updated/website/blog/2019-01-30-version-0.127-release.md | ---
title: Arez 0.127 released
author: Arez Project
authorURL: https://github.com/arez
---
[Full Changelog](https://github.com/arez/arez/compare/v0.126...v0.127)
Changes in this release:
* **\[processor\]** Fix a bug in the generated component classes that contain `@Observe(executor=EXTERNAL)`
and no elements that... | <|file_sep|>original/website/blog/2019-01-30-version-0.127-release.md
<|file_sep|>current/website/blog/2019-01-30-version-0.127-release.md
<|file_sep|>updated/website/blog/2019-01-30-version-0.127-release.md
---
title: Arez 0.127 released
author: Arez Project
authorURL: https://github.com/arez
---
[Full Changelog](h... | e7f3cd413b7b3072a0525c2de0604542fe336db1 | website/blog/2019-01-30-version-0.127-release.md | website/blog/2019-01-30-version-0.127-release.md | Markdown |
<|file_sep|>original/lib/gitlab/ldap/person.rb
module Gitlab
module LDAP
class Person
AD_USER_DISABLED = Net::LDAP::Filter.ex("userAccountControl:1.2.840.113556.1.4.803", "2")
def self.find_by_uid(uid, adapter=nil)
adapter ||= Gitlab::LDAP::Adapter.new
adapter.user(config.uid, uid)
... | module Gitlab
module LDAP
class Person
# Active Directory-specific LDAP filter that checks if bit 2 of the
# userAccountControl attribute is set.
# Source: http://ctogonewild.com/2009/09/03/bitmask-searches-in-ldap/
AD_USER_DISABLED = Net::LDAP::Filter.ex("userAccountControl:1.2.840.113556... | <|file_sep|>original/lib/gitlab/ldap/person.rb
module Gitlab
module LDAP
class Person
AD_USER_DISABLED = Net::LDAP::Filter.ex("userAccountControl:1.2.840.113556.1.4.803", "2")
def self.find_by_uid(uid, adapter=nil)
adapter ||= Gitlab::LDAP::Adapter.new
adapter.user(config.uid, uid)
... | a966f72224427fe6830426f459d445cd19ecd5a0 | lib/gitlab/ldap/person.rb | lib/gitlab/ldap/person.rb | Ruby |
<|file_sep|>original/finders/metadata/vehicle-recalls-and-faults-alert.json
{
"content_id": "76290530-743e-4a8c-8752-04ebee25f64a",
"base_path": "/vehicle-recalls-faults",
"format_name": "Vehicle recalls and faults",
"name": "Vehicle recalls and faults",
"beta": true,
"summary": "<p>Find out if your vehicle... | {
"content_id": "76290530-743e-4a8c-8752-04ebee25f64a",
"base_path": "/vehicle-recalls-faults",
"format_name": "Vehicle recalls and faults",
"name": "Vehicle recalls and faults",
"beta": true,
"summary": "<p>Find out if your vehicle has been recalled by the manufacturer or has a fault. You can also search f... | <|file_sep|>original/finders/metadata/vehicle-recalls-and-faults-alert.json
{
"content_id": "76290530-743e-4a8c-8752-04ebee25f64a",
"base_path": "/vehicle-recalls-faults",
"format_name": "Vehicle recalls and faults",
"name": "Vehicle recalls and faults",
"beta": true,
"summary": "<p>Find out if your vehicle... | 3017f12367661328d8e8adc1d398087c0b2dc562 | finders/metadata/vehicle-recalls-and-faults-alert.json | finders/metadata/vehicle-recalls-and-faults-alert.json | JSON |
<|file_sep|>original/cineio-broadcast-ios/cineio-broadcast-ios/CineConstants.h
#import <Foundation/Foundation.h>
#define API_VERSION "1"
#define BASE_URL "https://www.cine.io/api/"
#define SDK_VERSION "0.6.1"
#define USER_AGENT "cineio-ios"
extern NSString* const BaseUrl;
extern NSString* const UserAgent;
<|file_sep|>... | #import <Foundation/Foundation.h>
#define API_VERSION "1"
#define BASE_URL "https://www.cine.io/api/"
#define SDK_VERSION "0.6.1"
#define USER_AGENT "cineio-ios"
extern NSString* const BaseUrl;
extern NSString* const UserAgent; | <|file_sep|>original/cineio-broadcast-ios/cineio-broadcast-ios/CineConstants.h
#import <Foundation/Foundation.h>
#define API_VERSION "1"
#define BASE_URL "https://www.cine.io/api/"
#define SDK_VERSION "0.6.1"
#define USER_AGENT "cineio-ios"
extern NSString* const BaseUrl;
extern NSString* const UserAgent;
<|file_sep|>... | f9fab9d5c1d8a5711cc6d4a32e06a720958c24aa | cineio-broadcast-ios/cineio-broadcast-ios/CineConstants.h | cineio-broadcast-ios/cineio-broadcast-ios/CineConstants.h | C |
<|file_sep|>original/src/js/cilantro/utils/url.js
// Parse existing params on URL
var params = {},
search = a.search.substr(1).split('&');
// De-parametize URL
for (var i = 0; i< search.length; i++) {
var param = search[i].split('=');
if (param[0]) ... |
// Parse existing params on URL
var params = {},
search = a.search.substr(1).split('&');
// De-parametize URL
for (var i = 0; i< search.length; i++) {
var param = search[i].split('=');
if (param[0]) {
// Reverse what jQuery parametiz... | <|file_sep|>original/src/js/cilantro/utils/url.js
// Parse existing params on URL
var params = {},
search = a.search.substr(1).split('&');
// De-parametize URL
for (var i = 0; i< search.length; i++) {
var param = search[i].split('=');
if (param[0]) ... | f7212257213f639fca03277cda24c40f4fa653dd | src/js/cilantro/utils/url.js | src/js/cilantro/utils/url.js | JavaScript |
<|file_sep|>original/app/src/release/java/io/particle/android/sdk/ReleaseBuildAppInitializer.java
package io.particle.android.sdk;
import android.app.Application;
import com.segment.analytics.Analytics;
import com.segment.analytics.android.integrations.firebase.FirebaseIntegration;
import com.segment.analytics.androi... |
import android.app.Application;
import com.segment.analytics.Analytics;
import com.segment.analytics.android.integrations.firebase.FirebaseIntegration;
import com.segment.analytics.android.integrations.intercom.IntercomIntegration;
public class ReleaseBuildAppInitializer {
public static void onApplicationCreat... | <|file_sep|>original/app/src/release/java/io/particle/android/sdk/ReleaseBuildAppInitializer.java
package io.particle.android.sdk;
import android.app.Application;
import com.segment.analytics.Analytics;
import com.segment.analytics.android.integrations.firebase.FirebaseIntegration;
import com.segment.analytics.androi... | e65afbe04f19c0b4f807bdd33e5390adef056777 | app/src/release/java/io/particle/android/sdk/ReleaseBuildAppInitializer.java | app/src/release/java/io/particle/android/sdk/ReleaseBuildAppInitializer.java | Java |
<|file_sep|>original/src/test/scala/core/controllers/graphql/user/UserSpec.scala
<|file_sep|>current/src/test/scala/core/controllers/graphql/user/UserSpec.scala
<|file_sep|>updated/src/test/scala/core/controllers/graphql/user/UserSpec.scala | package core.controllers.graphql.user
import akka.http.scaladsl.model.HttpEntity
import akka.http.scaladsl.model.MediaTypes.`application/json`
import akka.http.scaladsl.model.StatusCodes.OK
import akka.util.ByteString
import core.controllers.graphql.TestHelper
import core.controllers.graphql.jsonProtocols.GraphQLMessa... | <|file_sep|>original/src/test/scala/core/controllers/graphql/user/UserSpec.scala
<|file_sep|>current/src/test/scala/core/controllers/graphql/user/UserSpec.scala
<|file_sep|>updated/src/test/scala/core/controllers/graphql/user/UserSpec.scala
package core.controllers.graphql.user
import akka.http.scaladsl.model.HttpEn... | bb0f29a9ca54d1a24e2352d8e4ec5ecab189fe4d | src/test/scala/core/controllers/graphql/user/UserSpec.scala | src/test/scala/core/controllers/graphql/user/UserSpec.scala | Scala |
<|file_sep|>original/test/helper.rb
def test_site
@site ||= UsesThis::Site.new(Dimples::Configuration.new(
'source_path' => File.join(__dir__, 'source'),
'destination_path' => File.join(File::SEPARATOR, 'tmp', 'site', "usesthis-#{Time.new.to_i}"),
'class_overrides' => {
'site' => 'UsesThis::Site',
... |
def test_site
@site ||= UsesThis::Site.new(Dimples::Configuration.new(
'source_path' => File.join(__dir__, 'source'),
'destination_path' => File.join(File::SEPARATOR, 'tmp', 'site', "usesthis-#{Time.new.to_i}"),
'class_overrides' => {
'site' => 'UsesThis::Site',
'post' => 'UsesThis::Interview... | <|file_sep|>original/test/helper.rb
def test_site
@site ||= UsesThis::Site.new(Dimples::Configuration.new(
'source_path' => File.join(__dir__, 'source'),
'destination_path' => File.join(File::SEPARATOR, 'tmp', 'site', "usesthis-#{Time.new.to_i}"),
'class_overrides' => {
'site' => 'UsesThis::Site',
... | 224aa11b237efa3817cc45468db5a30f48d9a6fe | test/helper.rb | test/helper.rb | Ruby |
<|file_sep|>fuzzinator/call_job.py.diff
original:
# Copyright (c) 2016 Renata Hodovan, Akos Kiss.
updated:
# Copyright (c) 2016-2018 Renata Hodovan, Akos Kiss.
<|file_sep|>original/fuzzinator/call_job.py
def add_issue(self, issue, new_issues):
test = issue['test']
# Save issue details.
iss... |
def add_issue(self, issue, new_issues):
test = issue['test']
# Save issue details.
issue.update(dict(sut=self.sut_section,
fuzzer=self.fuzzer_name,
test=test,
reduced=False,
reported=Fal... | <|file_sep|>fuzzinator/call_job.py.diff
original:
# Copyright (c) 2016 Renata Hodovan, Akos Kiss.
updated:
# Copyright (c) 2016-2018 Renata Hodovan, Akos Kiss.
<|file_sep|>original/fuzzinator/call_job.py
def add_issue(self, issue, new_issues):
test = issue['test']
# Save issue details.
iss... | 7ca4b1652dc5fa35bbacc2d587addacc9ce9da83 | fuzzinator/call_job.py | fuzzinator/call_job.py | Python |
<|file_sep|>app/containers/App/saga.js.diff
original:
updated:
<|file_sep|>original/app/containers/App/saga.js
import client from 'utils/client';
import {
SESSION_CHECKED,
RELOAD_SESSION,
} from './constants';
import { SEARCH_CHANGED } from '../SearchPage/constants';
export function* checkSession() {
const { d... | } from './constants';
import { SEARCH_CHANGED } from '../SearchPage/constants';
export function* checkSession() {
const { data } = yield call(client.get, '/user/exists');
yield put({ type: SESSION_CHECKED, data });
}
export function* handleSearchChange(data) {
//hack to keep gqlsearch as non-default search pag... | <|file_sep|>app/containers/App/saga.js.diff
original:
updated:
<|file_sep|>original/app/containers/App/saga.js
import client from 'utils/client';
import {
SESSION_CHECKED,
RELOAD_SESSION,
} from './constants';
import { SEARCH_CHANGED } from '../SearchPage/constants';
export function* checkSession() {
const { d... | c450c04bc5cfca30438ffb2bb0f9d43bb443c304 | app/containers/App/saga.js | app/containers/App/saga.js | JavaScript |
<|file_sep|>original/about.md
<img style="float:center" src="https://dl.dropboxusercontent.com/u/100502983/funny_pic.jpg" />
My name is Sam, I'm a Computer Science graduate and a lifelong learner. Software Craftsmanship enthusiast. Clean Code fanatic. Love UNIX and eXtreme Programming. Super interested in Programmin... |
<img style="float:center" src="https://dl.dropboxusercontent.com/u/100502983/funny_pic.jpg" />
My name is Sam, I'm a Computer Science graduate and a lifelong learner. Software Craftsmanship enthusiast. Clean Code fanatic. Love UNIX and eXtreme Programming. Super interested in Programming Language Design Concepts and... | <|file_sep|>original/about.md
<img style="float:center" src="https://dl.dropboxusercontent.com/u/100502983/funny_pic.jpg" />
My name is Sam, I'm a Computer Science graduate and a lifelong learner. Software Craftsmanship enthusiast. Clean Code fanatic. Love UNIX and eXtreme Programming. Super interested in Programmin... | 29513bc7f8c76185b42ae8639f5c5d39c59479e7 | about.md | about.md | Markdown |
<|file_sep|>original/CHANGELOG.md
# aria-query Change Log
## 1.0.0
- Updated values of aria-haspopup to include ARIA 1.1 role values
- Added the CHANGELOG file
-
<|file_sep|>current/CHANGELOG.md
# aria-query Change Log
## 1.0.0
- Updated values of aria-haspopup to include ARIA 1.1 role values
- Added the CHANGELO... | # aria-query Change Log
## 1.0.0
- Updated values of aria-haspopup to include ARIA 1.1 role values
- Added the CHANGELOG file
## 2.0.0
- Remove package-lock file.
- Add Watchman config file. | <|file_sep|>original/CHANGELOG.md
# aria-query Change Log
## 1.0.0
- Updated values of aria-haspopup to include ARIA 1.1 role values
- Added the CHANGELOG file
-
<|file_sep|>current/CHANGELOG.md
# aria-query Change Log
## 1.0.0
- Updated values of aria-haspopup to include ARIA 1.1 role values
- Added the CHANGELO... | 93c01f4c4af413476d85375df9af440f3e7434e4 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/_scripts/test.sh
#!/bin/bash
echo "Proofing the HTML"
timeout 240s bundle exec htmlproofer ./_site --check-html --check-favicon --allow-hash-href --external_only --only-4xx --http-status-ignore 429
<|file_sep|>current/_scripts/test.sh
#!/bin/bash
echo "Proofing the HTML"
timeout 240s bundle exec ... | #!/bin/bash
echo "Proofing the HTML"
bundle exec htmlproofer ./_site --check-html --check-favicon --allow-hash-href --check_opengraph
timeout --preserve-status 180s bundle exec htmlproofer ./_site --external_only --only-4xx --http-status-ignore 429 | <|file_sep|>original/_scripts/test.sh
#!/bin/bash
echo "Proofing the HTML"
timeout 240s bundle exec htmlproofer ./_site --check-html --check-favicon --allow-hash-href --external_only --only-4xx --http-status-ignore 429
<|file_sep|>current/_scripts/test.sh
#!/bin/bash
echo "Proofing the HTML"
timeout 240s bundle exec ... | 955e52d4961eb440aaefa998598cccf18cf6b58b | _scripts/test.sh | _scripts/test.sh | Shell |
<|file_sep|>original/docker-compose.builder.yml
version: "2"
services:
builder:
image: openlmis/dev:4
links:
- db
- log
- redis
volumes:
- '.:/app'
command:
- './build.sh'
environment:
GRADLE_OPTS: '-Dorg.gradle.daemon=false'
env_file: .env
sonar:
im... | version: "2"
services:
builder:
image: openlmis/dev:4
links:
- db
- log
volumes:
- '.:/app'
command:
- './build.sh'
environment:
GRADLE_OPTS: '-Dorg.gradle.daemon=false'
env_file: .env
sonar:
image: openlmis/dev:4
links:
- db
- log | <|file_sep|>original/docker-compose.builder.yml
version: "2"
services:
builder:
image: openlmis/dev:4
links:
- db
- log
- redis
volumes:
- '.:/app'
command:
- './build.sh'
environment:
GRADLE_OPTS: '-Dorg.gradle.daemon=false'
env_file: .env
sonar:
im... | 005ca5a109a23e14270f05f4acb1d8701451614e | docker-compose.builder.yml | docker-compose.builder.yml | YAML |
<|file_sep|>packages/@sanity/default-layout/src/components/DefaultLayoutRouter.js.diff
original:
updated:
import LoginWrapper from 'component:@sanity/base/login-wrapper'
<|file_sep|>original/packages/@sanity/default-layout/src/components/DefaultLayoutRouter.js
}
render() {
const {location} = this.state
if... | render() {
const {location} = this.state
if (!location) {
return null
}
return (
<SanityIntlProvider>
<LoginWrapper>
<Router location={location} navigate={this.handleNavigate}>
<Route path="/:site/*" component={DefaultLayout} />
<Redirect path="/"... | <|file_sep|>packages/@sanity/default-layout/src/components/DefaultLayoutRouter.js.diff
original:
updated:
import LoginWrapper from 'component:@sanity/base/login-wrapper'
<|file_sep|>original/packages/@sanity/default-layout/src/components/DefaultLayoutRouter.js
}
render() {
const {location} = this.state
if... | e583d332d04d6fa45e387525793d6f120ee7dcd4 | packages/@sanity/default-layout/src/components/DefaultLayoutRouter.js | packages/@sanity/default-layout/src/components/DefaultLayoutRouter.js | JavaScript |
<|file_sep|>original/test/CodeGen/X86/2007-10-05-3AddrConvert.ll
<|file_sep|>current/test/CodeGen/X86/2007-10-05-3AddrConvert.ll
<|file_sep|>updated/test/CodeGen/X86/2007-10-05-3AddrConvert.ll | ; RUN: llvm-as < %s | llc | grep lea
%struct.anon = type { [3 x double], double, %struct.node*, [64 x %struct.bnode*], [64 x %struct.bnode*] }
%struct.bnode = type { i16, double, [3 x double], i32, i32, [3 x double], [3 x double], [3 x double], double, %struct.bnode*, %struct.bnode* }
%struct.node = type { i16, dou... | <|file_sep|>original/test/CodeGen/X86/2007-10-05-3AddrConvert.ll
<|file_sep|>current/test/CodeGen/X86/2007-10-05-3AddrConvert.ll
<|file_sep|>updated/test/CodeGen/X86/2007-10-05-3AddrConvert.ll
; RUN: llvm-as < %s | llc | grep lea
%struct.anon = type { [3 x double], double, %struct.node*, [64 x %struct.bnode*], [64 ... | bf287b63b33aafc07e29e91fd1ec00e92a6ad0c9 | test/CodeGen/X86/2007-10-05-3AddrConvert.ll | test/CodeGen/X86/2007-10-05-3AddrConvert.ll | LLVM |
<|file_sep|>original/regressions/__init__.py
<|file_sep|>current/regressions/__init__.py
<|file_sep|>updated/regressions/__init__.py | # regressions
"""A package which implements various forms of regression."""
import numpy as np
try:
import scipy.linalg as linalg
linalg_source = 'scipy'
except ImportError:
import numpy.linalg as linalg
linalg_source = 'numpy'
class ParameterError(Exception):
"""Parameters passed to a regression... | <|file_sep|>original/regressions/__init__.py
<|file_sep|>current/regressions/__init__.py
<|file_sep|>updated/regressions/__init__.py
# regressions
"""A package which implements various forms of regression."""
import numpy as np
try:
import scipy.linalg as linalg
linalg_source = 'scipy'
except ImportError:
... | 731bc1308e94cdb341511618ba5739f6fd37b0b7 | regressions/__init__.py | regressions/__init__.py | Python |
<|file_sep|>original/docs/02-Configuration.md
```json
{
"level": {
"mapping": {
"V001": "PATCH"
}
}
}
```
## Configuration sections
The following describes every section of the configuration in more details in order to allow you to customize `php-semver-checker` to your liking.
### Level
#### Mapping
Ever... | ```json
{
"level": {
"mapping": {
"V001": "PATCH"
}
}
}
```
## Configuration file
By default, `php-semver-checker` will search for a file called `php-semver-checker.yml` within the current directory. If one is found, it'll read its configuration from that file.
If no `php-semver-checker.yml` file exists bu... | <|file_sep|>original/docs/02-Configuration.md
```json
{
"level": {
"mapping": {
"V001": "PATCH"
}
}
}
```
## Configuration sections
The following describes every section of the configuration in more details in order to allow you to customize `php-semver-checker` to your liking.
### Level
#### Mapping
Ever... | 73f0192640d93a8780ec4139f0fba19c189bd80d | docs/02-Configuration.md | docs/02-Configuration.md | Markdown |
<|file_sep|>original/core/ext/src/main/java/imagej/ext/display/DefaultDisplay.java
<|file_sep|>current/core/ext/src/main/java/imagej/ext/display/DefaultDisplay.java
<|file_sep|>updated/core/ext/src/main/java/imagej/ext/display/DefaultDisplay.java | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2012 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | <|file_sep|>original/core/ext/src/main/java/imagej/ext/display/DefaultDisplay.java
<|file_sep|>current/core/ext/src/main/java/imagej/ext/display/DefaultDisplay.java
<|file_sep|>updated/core/ext/src/main/java/imagej/ext/display/DefaultDisplay.java
/*
* #%L
* ImageJ software for multidimensional image processing and ... | fada1e5ce4d44ce565444ec21c31a282852569c9 | core/ext/src/main/java/imagej/ext/display/DefaultDisplay.java | core/ext/src/main/java/imagej/ext/display/DefaultDisplay.java | Java |
<|file_sep|>original/.travis.yml
language: scala
scala:
- "2.10.2"
jdk:
- openjdk6
<|file_sep|>current/.travis.yml
language: scala
scala:
- "2.10.2"
jdk:
- openjdk6
<|file_sep|>updated/.travis.yml | language: scala
before_script:
- mvn dependency:tree
scala:
- "2.10.2"
jdk:
- openjdk6 | <|file_sep|>original/.travis.yml
language: scala
scala:
- "2.10.2"
jdk:
- openjdk6
<|file_sep|>current/.travis.yml
language: scala
scala:
- "2.10.2"
jdk:
- openjdk6
<|file_sep|>updated/.travis.yml
language: scala
before_script:
- mvn dependency:tree
scala:
- "2.10.2"
jdk:
- openjdk6 | 7015e3ff73323b1b1b2162a033b3b8dd48f51aa4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>composer.json.diff
original:
"php": ">=5.4.0",
updated:
"php": ">=7.1.0",
<|file_sep|>original/composer.json
"email": "contacto@davidmartinez.net"
}
],
"autoload": {
"psr-4": {
"Vaites\\ApacheTika\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Vaites\\ApacheT... | "email": "contacto@davidmartinez.net"
}
],
"autoload": {
"psr-4": {
"Vaites\\ApacheTika\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Vaites\\ApacheTika\\Tests\\": "tests/"
}
},
"require": {
"php": ">=7.1.0",
"ext-curl": "*"
},
"require-dev": {
"phpunit/... | <|file_sep|>composer.json.diff
original:
"php": ">=5.4.0",
updated:
"php": ">=7.1.0",
<|file_sep|>original/composer.json
"email": "contacto@davidmartinez.net"
}
],
"autoload": {
"psr-4": {
"Vaites\\ApacheTika\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Vaites\\ApacheT... | 938701ce54833891263ac5adcc34751534554242 | composer.json | composer.json | JSON |
<|file_sep|>app/__init__.py.diff
original:
updated:
from app.converters import WordClassConverter
app.url_map.converters["word_class"] = WordClassConverter
<|file_sep|>original/app/__init__.py
def load_user(id):
return User.query.get(int(id))
def create_app(config_name):
app = Flask(__name__)
ap... | def load_user(id):
return User.query.get(int(id))
def create_app(config_name):
app = Flask(__name__)
app.config.from_object(config[config_name])
db.init_app(app)
lm.init_app(app)
oa.init_app(app)
from app.converters import WordClassConverter
app.url_map.converters["word_class"] = Wor... | <|file_sep|>app/__init__.py.diff
original:
updated:
from app.converters import WordClassConverter
app.url_map.converters["word_class"] = WordClassConverter
<|file_sep|>original/app/__init__.py
def load_user(id):
return User.query.get(int(id))
def create_app(config_name):
app = Flask(__name__)
ap... | bc485e3deb47897fb5d87c80c299f2da240419db | app/__init__.py | app/__init__.py | Python |
<|file_sep|>handlers/middlewares/addedToGroup.js.diff
original:
const bot = require('../../bot');
updated:
<|file_sep|>handlers/middlewares/addedToGroup.js.diff
original:
updated:
const { telegram } = ctx;
<|file_sep|>original/handlers/middlewares/addedToGroup.js
const { masterID } = require('../../config.json');
c... |
const addedToGroupHandler = async (ctx, next) => {
const msg = ctx.message;
const { telegram } = ctx;
const wasAdded = msg.new_chat_members.some(user =>
user.username === ctx.me);
if (wasAdded && ctx.from.id === masterID) {
await admin(ctx.from);
if (!await managesGroup(ctx.chat)) {
try {
const link ... | <|file_sep|>handlers/middlewares/addedToGroup.js.diff
original:
const bot = require('../../bot');
updated:
<|file_sep|>handlers/middlewares/addedToGroup.js.diff
original:
updated:
const { telegram } = ctx;
<|file_sep|>original/handlers/middlewares/addedToGroup.js
const { masterID } = require('../../config.json');
c... | 8590b58eca4d07dc433e45a2d6d5cd710e877d9e | handlers/middlewares/addedToGroup.js | handlers/middlewares/addedToGroup.js | JavaScript |
<|file_sep|>original/app/views/forums/index.atom.builder
atom_feed(:root_url => forums_url, "xmlns:wfw" => "http://wellformedweb.org/CommentAPI/") do |feed|
if @user
feed.title("LinuxFr.org : les posts de #{@user.name}")
else
feed.title("LinuxFr.org : les forums")
end
feed.updated(@nodes.first.try :crea... | if @user
feed.title("LinuxFr.org : les posts de #{@user.name}")
else
feed.title("LinuxFr.org : les forums")
end
feed.updated(@nodes.first.try :created_at)
feed.icon("/favicon.png")
@nodes.each do |node|
post = node.content
feed.entry(post, :url => forum_post_url(:forum_id => post.forum, :id... | <|file_sep|>original/app/views/forums/index.atom.builder
atom_feed(:root_url => forums_url, "xmlns:wfw" => "http://wellformedweb.org/CommentAPI/") do |feed|
if @user
feed.title("LinuxFr.org : les posts de #{@user.name}")
else
feed.title("LinuxFr.org : les forums")
end
feed.updated(@nodes.first.try :crea... | b5b8571b504cf6d80913e6cbd495184abe17aaed | app/views/forums/index.atom.builder | app/views/forums/index.atom.builder | Ruby |
<|file_sep|>theme.toml.diff
original:
updated:
licenselink = "https://github.com/eliasson/liquorice/blob/master/LICENSE"
<|file_sep|>original/theme.toml
author = "Markus Eliasson"
description = "Liquorice is a small black and white theme for Hugo."
license = "MIT"
name = "liquorice"
source_repo = "https://github.com/e... | author = "Markus Eliasson"
description = "Liquorice is a small black and white theme for Hugo."
license = "MIT"
licenselink = "https://github.com/eliasson/liquorice/blob/master/LICENSE"
name = "liquorice"
source_repo = "https://github.com/eliasson/liquorice"
tags = ["", ""]
min_version=0.12 | <|file_sep|>theme.toml.diff
original:
updated:
licenselink = "https://github.com/eliasson/liquorice/blob/master/LICENSE"
<|file_sep|>original/theme.toml
author = "Markus Eliasson"
description = "Liquorice is a small black and white theme for Hugo."
license = "MIT"
name = "liquorice"
source_repo = "https://github.com/e... | c70b6aca281523cb3927a7ecf34361b6bf2eeded | theme.toml | theme.toml | TOML |
<|file_sep|>original/lib/sensu/plugin/check/cli.rb
def check_name(name=nil)
if name
@check_name = name
else
@check_name || self.to_s
end
end
end
def run
unknown "No check implemented! You should override Sensu... | def check_name(name=nil)
if name
@check_name = name
else
@check_name || self.to_s
end
end
end
def run
unknown "No check implemented! You should override Sensu::Plugin::Check::CLI#run."
end
@@a... | <|file_sep|>original/lib/sensu/plugin/check/cli.rb
def check_name(name=nil)
if name
@check_name = name
else
@check_name || self.to_s
end
end
end
def run
unknown "No check implemented! You should override Sensu... | bed61970fb6731d39ffa6d1bafd00b9220b863d1 | lib/sensu/plugin/check/cli.rb | lib/sensu/plugin/check/cli.rb | Ruby |
<|file_sep|>original/pyluos/io/ws.py
for ip in hosts
if os.system('ping -c 1 -W1 -t1 {} > /dev/null 2>&1'.format(ip)) == 0
]
def __init__(self, host, port=9342):
host = resolve_hostname(host, port)
url = 'ws://{}:{}'.format(host, port)
self._ws = websocket.c... | for ip in hosts
if os.system('ping -c 1 -W1 -t1 {} > /dev/null 2>&1'.format(ip)) == 0
]
def __init__(self, host, port=9342):
host = resolve_hostname(host, port)
url = 'ws://{}:{}'.format(host, port)
self._ws = websocket.create_connection(url)
def is_rea... | <|file_sep|>original/pyluos/io/ws.py
for ip in hosts
if os.system('ping -c 1 -W1 -t1 {} > /dev/null 2>&1'.format(ip)) == 0
]
def __init__(self, host, port=9342):
host = resolve_hostname(host, port)
url = 'ws://{}:{}'.format(host, port)
self._ws = websocket.c... | 70672da6b94ae0f272bd875e4aede28fab7aeb6f | pyluos/io/ws.py | pyluos/io/ws.py | Python |
<|file_sep|>original/tools/examples/parse.rs
<|file_sep|>current/tools/examples/parse.rs
<|file_sep|>updated/tools/examples/parse.rs | extern crate r68k_tools;
extern crate pest;
use r68k_tools::assembler::parser::Rdp;
use std::io::{BufReader, BufRead};
use std::fs::File;
use pest::{Parser, StringInput};
use std::env;
fn main() {
let file = if let Some(asmfile) = env::args().nth(1) {
File::open(asmfile.as_str()).expect("could not open fi... | <|file_sep|>original/tools/examples/parse.rs
<|file_sep|>current/tools/examples/parse.rs
<|file_sep|>updated/tools/examples/parse.rs
extern crate r68k_tools;
extern crate pest;
use r68k_tools::assembler::parser::Rdp;
use std::io::{BufReader, BufRead};
use std::fs::File;
use pest::{Parser, StringInput};
use std::env;... | 5b19876acb82c259693c95fc3f6fa433b99ad297 | tools/examples/parse.rs | tools/examples/parse.rs | Rust |
<|file_sep|>original/cloudbuild.yaml
skaffold test --build-artifacts=/workspace/artifacts.json
- name: 'google/cloud-sdk:latest'
entrypoint: 'sh'
args:
- -xe
- -c
- |
gcloud alpha deploy apply --file deploy/pipeline.yaml \
--file deploy/staging.yaml \
... | skaffold test --build-artifacts=/workspace/artifacts.json
- name: 'google/cloud-sdk:latest'
entrypoint: 'sh'
args:
- -xe
- -c
- |
gcloud alpha deploy apply --region ${_REGION} --file deploy/pipeline.yaml
gcloud alpha deploy apply --region ${_REGION} --file deploy/staging.yaml
gcloud alpha dep... | <|file_sep|>original/cloudbuild.yaml
skaffold test --build-artifacts=/workspace/artifacts.json
- name: 'google/cloud-sdk:latest'
entrypoint: 'sh'
args:
- -xe
- -c
- |
gcloud alpha deploy apply --file deploy/pipeline.yaml \
--file deploy/staging.yaml \
... | 27b5a7199f9164189c96f28288d356661bb775b1 | cloudbuild.yaml | cloudbuild.yaml | YAML |
<|file_sep|>.gitlab-ci.yml.diff
original:
staging:
updated:
netlify:
<|file_sep|>.gitlab-ci.yml.diff
original:
- curl -X POST -d {} https://api.netlify.com/build_hooks/5c62d415e1a94eed212825c5
updated:
# Stage
- curl -X POST -d {} https://api.netlify.com/build_hooks/5c640383f9a5a50176403765
# Dead Man's... | netlify:
type: deploy
script:
# Stage
- curl -X POST -d {} https://api.netlify.com/build_hooks/5c640383f9a5a50176403765
# Dead Man's Snitch Ping
- curl https://nosnch.in/d216258591
only:
- schedules | <|file_sep|>.gitlab-ci.yml.diff
original:
staging:
updated:
netlify:
<|file_sep|>.gitlab-ci.yml.diff
original:
- curl -X POST -d {} https://api.netlify.com/build_hooks/5c62d415e1a94eed212825c5
updated:
# Stage
- curl -X POST -d {} https://api.netlify.com/build_hooks/5c640383f9a5a50176403765
# Dead Man's... | e9b7808250fa1ebb28444003f34021badabcfe53 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>original/website/source/docs/vagrant-cloud/index.html.md
---
layout: "docs"
page_title: "Vagrant Cloud"
sidebar_current: "vagrant-cloud"
---
# Vagrant Cloud
Vagrant Cloud provides the following features for Vagrant:
- [Vagrant Box Catalog](/docs/vagrant-cloud/boxes/catalog.html)
- [Vagrant Box Creation](... | ---
layout: "docs"
page_title: "Vagrant Cloud"
sidebar_current: "vagrant-cloud"
---
# Vagrant Cloud
## Support
For Vagrant Cloud questions, feedback, or feature requests, please email
HashiCorp Support at
<a href="mailto:support+vagrantcloud@hashicorp.com">
support+vagrantcloud@hashicorp.com
</a>.
[Click here](/doc... | <|file_sep|>original/website/source/docs/vagrant-cloud/index.html.md
---
layout: "docs"
page_title: "Vagrant Cloud"
sidebar_current: "vagrant-cloud"
---
# Vagrant Cloud
Vagrant Cloud provides the following features for Vagrant:
- [Vagrant Box Catalog](/docs/vagrant-cloud/boxes/catalog.html)
- [Vagrant Box Creation](... | 6ddc4189471ea295dbdc3d79c3a4e875a431370d | website/source/docs/vagrant-cloud/index.html.md | website/source/docs/vagrant-cloud/index.html.md | Markdown |
<|file_sep|>original/README.md
# Water Collector
Click on one of the water features to add a water tap.
Then click on the water tap icon to collect water. 1 gallon is accumulated
per second per tap.
See the total add up as you collect water from various taps.
## Run Locally
```
bundle install
rackup
```
Then visi... | # Water Collector
Click on one of the water features to add a water tap.
Then click on the water tap icon to collect water. 1 gallon is accumulated
per second per tap.
See the total add up as you collect water from various taps.
## Demo
https://water-collector.herokuapp.com
## Run Locally
```
bundle install
rack... | <|file_sep|>original/README.md
# Water Collector
Click on one of the water features to add a water tap.
Then click on the water tap icon to collect water. 1 gallon is accumulated
per second per tap.
See the total add up as you collect water from various taps.
## Run Locally
```
bundle install
rackup
```
Then visi... | ce43ac68cb91dfa259668809508db1b73bb56d93 | README.md | README.md | Markdown |
<|file_sep|>original/vscode/settings.json
"workbench.settings.useSplitJSON": true,
"editor.wordWrap": "on",
"editor.detectIndentation": false,
"editor.insertSpaces": false,
"editor.renderWhitespace": "boundary",
"editor.autoIndent": "brackets",
"editor.tabSize": 4,
"breadcrumbs.enabled": false,
"editor.formatO... | "editor.detectIndentation": false,
"editor.insertSpaces": false,
"editor.renderWhitespace": "boundary",
"editor.autoIndent": "brackets",
"editor.tabSize": 4,
"breadcrumbs.enabled": false,
"editor.formatOnSave": true,
"window.restoreFullscreen": true,
"files.insertFinalNewline": true,
"workbench.editor.enableP... | <|file_sep|>original/vscode/settings.json
"workbench.settings.useSplitJSON": true,
"editor.wordWrap": "on",
"editor.detectIndentation": false,
"editor.insertSpaces": false,
"editor.renderWhitespace": "boundary",
"editor.autoIndent": "brackets",
"editor.tabSize": 4,
"breadcrumbs.enabled": false,
"editor.formatO... | a52477c221d4d8e306d87bff3ac193bfc129c757 | vscode/settings.json | vscode/settings.json | JSON |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.