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/ydf/templating.py def render_vars(yaml_vars): """ Build a dict containing all variables accessible to a template during the rendering process. This is a merge of the YAML variables parsed from the file + build variables defined by :mod:`~ydf` itself. :param yaml_vars: Parsed from...
def render_vars(yaml_vars): """ Build a dict containing all variables accessible to a template during the rendering process. This is a merge of the YAML variables parsed from the file + build variables defined by :mod:`~ydf` itself. :param yaml_vars: Parsed from the parsed YAML file. :return: Dic...
<|file_sep|>original/ydf/templating.py def render_vars(yaml_vars): """ Build a dict containing all variables accessible to a template during the rendering process. This is a merge of the YAML variables parsed from the file + build variables defined by :mod:`~ydf` itself. :param yaml_vars: Parsed from...
666410191bffc7477188fcbcb2b5973b15580b0f
ydf/templating.py
ydf/templating.py
Python
<|file_sep|>original/src/test/java/com/sebastian_daschner/jaxrs_analyzer/analysis/results/testclasses/typeanalyzer/TestClass19.java <|file_sep|>current/src/test/java/com/sebastian_daschner/jaxrs_analyzer/analysis/results/testclasses/typeanalyzer/TestClass19.java <|file_sep|>updated/src/test/java/com/sebastian_daschne...
package com.sebastian_daschner.jaxrs_analyzer.analysis.results.testclasses.typeanalyzer; import com.sebastian_daschner.jaxrs_analyzer.analysis.results.TypeUtils; import com.sebastian_daschner.jaxrs_analyzer.model.rest.TypeIdentifier; import com.sebastian_daschner.jaxrs_analyzer.model.rest.TypeRepresentation; import co...
<|file_sep|>original/src/test/java/com/sebastian_daschner/jaxrs_analyzer/analysis/results/testclasses/typeanalyzer/TestClass19.java <|file_sep|>current/src/test/java/com/sebastian_daschner/jaxrs_analyzer/analysis/results/testclasses/typeanalyzer/TestClass19.java <|file_sep|>updated/src/test/java/com/sebastian_daschne...
0f2e79f1adef17d9e8ce83a06195e716a66c4b11
src/test/java/com/sebastian_daschner/jaxrs_analyzer/analysis/results/testclasses/typeanalyzer/TestClass19.java
src/test/java/com/sebastian_daschner/jaxrs_analyzer/analysis/results/testclasses/typeanalyzer/TestClass19.java
Java
<|file_sep|>app/policies/beach_api_core/entity_policy.rb.diff original: def show? record.user == user end updated: alias show? entity_user? alias destroy? entity_user? alias lookup? entity_user? alias create? entity_user? alias index? entity_user? <|file_sep|>app/policies/beach_api_cor...
module BeachApiCore class EntityPolicy < ApplicationPolicy alias show? entity_user? alias destroy? entity_user? alias lookup? entity_user? alias create? entity_user? alias index? entity_user? private def entity_user? record.user == user end end end
<|file_sep|>app/policies/beach_api_core/entity_policy.rb.diff original: def show? record.user == user end updated: alias show? entity_user? alias destroy? entity_user? alias lookup? entity_user? alias create? entity_user? alias index? entity_user? <|file_sep|>app/policies/beach_api_cor...
6b2868588077ae6f9d1a732d60f1246776941404
app/policies/beach_api_core/entity_policy.rb
app/policies/beach_api_core/entity_policy.rb
Ruby
<|file_sep|>original/recipe/run_test.sh # Call py.test directly as invoke causes CircleCI to bomb out, see #6 py.test -v -x -m "not formgrader and not nbextensions" py.test -v -x -m "formgrader" <|file_sep|>current/recipe/run_test.sh # Call py.test directly as invoke causes CircleCI to bomb out, see #6 py.test -v -x -m...
# Make suer USER is set export USER=`whoami` # Call py.test directly as invoke causes CircleCI to bomb out, see #6 py.test -v -x -m "not formgrader and not nbextensions" py.test -v -x -m "formgrader"
<|file_sep|>original/recipe/run_test.sh # Call py.test directly as invoke causes CircleCI to bomb out, see #6 py.test -v -x -m "not formgrader and not nbextensions" py.test -v -x -m "formgrader" <|file_sep|>current/recipe/run_test.sh # Call py.test directly as invoke causes CircleCI to bomb out, see #6 py.test -v -x -m...
0529f1c454bfe368c6161cd0537b6cebe489ec80
recipe/run_test.sh
recipe/run_test.sh
Shell
<|file_sep|>original/pretty_json.py <|file_sep|>current/pretty_json.py <|file_sep|>updated/pretty_json.py
#!/usr/bin/env python import json, sys def main(): nargs = len(sys.argv) if nargs == 1: f = sys.stdin elif nargs == 2: f = open(sys.argv[1], 'r') else: print('Usage: %s file' % sys.argv[0]) return json.dump(json.load(f), sys.stdout, indent=2) if __name__ == '__main...
<|file_sep|>original/pretty_json.py <|file_sep|>current/pretty_json.py <|file_sep|>updated/pretty_json.py #!/usr/bin/env python import json, sys def main(): nargs = len(sys.argv) if nargs == 1: f = sys.stdin elif nargs == 2: f = open(sys.argv[1], 'r') else: print('Usage: %s f...
6329cb17fdd0c2e0df8c0fe057972169f97c737f
pretty_json.py
pretty_json.py
Python
<|file_sep|>original/lib/runby_pace/version.rb module RunbyPace VERSION = "0.2.#{`git rev-list --count master`}" end <|file_sep|>current/lib/runby_pace/version.rb module RunbyPace VERSION = "0.2.#{`git rev-list --count master`}" end <|file_sep|>updated/lib/runby_pace/version.rb
module RunbyPace VERSION = "0.2.#{`git rev-list --count HEAD`}" end
<|file_sep|>original/lib/runby_pace/version.rb module RunbyPace VERSION = "0.2.#{`git rev-list --count master`}" end <|file_sep|>current/lib/runby_pace/version.rb module RunbyPace VERSION = "0.2.#{`git rev-list --count master`}" end <|file_sep|>updated/lib/runby_pace/version.rb module RunbyPace VERSION = "0.2.#{`...
d5dc523c65b8f9eee4b57cdadb16d528162c57f6
lib/runby_pace/version.rb
lib/runby_pace/version.rb
Ruby
<|file_sep|>original/alignak_backend/__init__.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ Alignak REST backend This module is an Alignak REST backend """ # Application version and manifest VERSION = (0, 4, 3) __application__ = u"Alignak_Backend" __short_version__ = '.'.join((str(each) for each in VER...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Alignak REST backend This module is an Alignak REST backend """ # Application version and manifest VERSION = (0, 4, 3) __application__ = u"Alignak_Backend" __short_version__ = '.'.join((str(each) for each in VERSION[:2])) __version__ = '.'.join((str(each) fo...
<|file_sep|>original/alignak_backend/__init__.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ Alignak REST backend This module is an Alignak REST backend """ # Application version and manifest VERSION = (0, 4, 3) __application__ = u"Alignak_Backend" __short_version__ = '.'.join((str(each) for each in VER...
e1ddf1806cf80bf14a6ebe5a2d928f375943a9e4
alignak_backend/__init__.py
alignak_backend/__init__.py
Python
<|file_sep|>stereo8/requirements.txt.diff original: updated: Markdown==2.6.2 <|file_sep|>original/stereo8/requirements.txt Django==1.8.1 chardet==2.2.1 colorama==0.2.5 django-haystack==2.3.1 django-taggit==0.14.0 elasticsearch==1.4.0 html5lib==0.999 psycopg2==2.6 requests==2.2.1 six==1.5.2 urllib3==1.10.3 <|file_sep|>...
Django==1.8.1 Markdown==2.6.2 chardet==2.2.1 colorama==0.2.5 django-haystack==2.3.1 django-taggit==0.14.0 djangorestframework==3.1.2 elasticsearch==1.4.0 html5lib==0.999 psycopg2==2.6 requests==2.2.1 six==1.5.2 urllib3==1.10.3
<|file_sep|>stereo8/requirements.txt.diff original: updated: Markdown==2.6.2 <|file_sep|>original/stereo8/requirements.txt Django==1.8.1 chardet==2.2.1 colorama==0.2.5 django-haystack==2.3.1 django-taggit==0.14.0 elasticsearch==1.4.0 html5lib==0.999 psycopg2==2.6 requests==2.2.1 six==1.5.2 urllib3==1.10.3 <|file_sep|>...
1c25fb3c32036e3b1110f80dbe1d3dbf4ae28274
stereo8/requirements.txt
stereo8/requirements.txt
Text
<|file_sep|>original/requirements-app.txt # Run `make freeze-requirements` to update requirements.txt # with package version changes made in requirements-app.txt Flask==1.0.2 Flask-Login==0.4.1 Flask-WTF==0.14.2 lxml==4.2.6 # Putting upgrade on hold due to v1.0.0 using sha512 instead of sha1 by default itsdangerous==...
# Run `make freeze-requirements` to update requirements.txt # with package version changes made in requirements-app.txt Flask==1.0.2 Flask-Login==0.4.1 Flask-WTF==0.14.2 lxml==4.3.0 # Putting upgrade on hold due to v1.0.0 using sha512 instead of sha1 by default itsdangerous==0.24 # pyup: <1.0.0 git+https://github.c...
<|file_sep|>original/requirements-app.txt # Run `make freeze-requirements` to update requirements.txt # with package version changes made in requirements-app.txt Flask==1.0.2 Flask-Login==0.4.1 Flask-WTF==0.14.2 lxml==4.2.6 # Putting upgrade on hold due to v1.0.0 using sha512 instead of sha1 by default itsdangerous==...
d8219d265c99d8dac69f8519e29051b55054b1cb
requirements-app.txt
requirements-app.txt
Text
<|file_sep|>original/include/version.inc.php <?php $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; define('MPOS_VERSION', '1.0.4'); define('DB_VERSION', '1.0.1'); define('CONFIG_VERSION', '1.0.1'); define('HASH_VERSION', 1); // Fetch installed database version $db_version = $setting->getValue('D...
<?php $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; define('MPOS_VERSION', '1.0.5'); define('DB_VERSION', '1.0.1'); define('CONFIG_VERSION', '1.0.1'); define('HASH_VERSION', 1); // Fetch installed database version $db_version = $setting->getValue('DB_VERSION'); if ($db_version != DB_VERSION) {...
<|file_sep|>original/include/version.inc.php <?php $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; define('MPOS_VERSION', '1.0.4'); define('DB_VERSION', '1.0.1'); define('CONFIG_VERSION', '1.0.1'); define('HASH_VERSION', 1); // Fetch installed database version $db_version = $setting->getValue('D...
21dbe3685001296bb2a45c1d075cfde5de327d0c
include/version.inc.php
include/version.inc.php
PHP
<|file_sep|>git_update/__main__.py.diff original: updated: def set_logging(ctx, param, value): """Set logging level based on how many verbose flags.""" logging_level = (logging.root.getEffectiveLevel() - value * 10) or 1 logging.basicConfig(level=logging_level, format='[%(levelname)s] %(name)s:%(funcName)s...
@click.option('-v', '--verbose', count=True, callback=set_logging, help='More verbose logging, use multiple times.') @click.argument('dir', default='.') def main(**kwargs): """Update repositories in a directory. By default, the current working directory list is used for finding valid repositories. """ ...
<|file_sep|>git_update/__main__.py.diff original: updated: def set_logging(ctx, param, value): """Set logging level based on how many verbose flags.""" logging_level = (logging.root.getEffectiveLevel() - value * 10) or 1 logging.basicConfig(level=logging_level, format='[%(levelname)s] %(name)s:%(funcName)s...
40ece09df1d757af55a306e99d03f045fc23ac95
git_update/__main__.py
git_update/__main__.py
Python
<|file_sep|>original/matp/src/frames/mat-frames-targets.adb <|file_sep|>current/matp/src/frames/mat-frames-targets.adb <|file_sep|>updated/matp/src/frames/mat-frames-targets.adb
----------------------------------------------------------------------- -- mat-frames-targets - Representation of stack frames -- Copyright (C) 2015 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use thi...
<|file_sep|>original/matp/src/frames/mat-frames-targets.adb <|file_sep|>current/matp/src/frames/mat-frames-targets.adb <|file_sep|>updated/matp/src/frames/mat-frames-targets.adb ----------------------------------------------------------------------- -- mat-frames-targets - Representation of stack frames -- Copyrigh...
8adcce963d886f70aeb06021b96c92b64207a636
matp/src/frames/mat-frames-targets.adb
matp/src/frames/mat-frames-targets.adb
Ada
<|file_sep|>original/quilt-tester/tests/30-mean/mean.js const Mongo = require('@quilt/mongo'); const Node = require('@quilt/nodejs'); const infrastructure = require('../../config/infrastructure.js'); const deployment = quilt.createDeployment(); deployment.deploy(infrastructure); const mongo = new Mongo(3); const app ...
const Mongo = require('@quilt/mongo'); const Node = require('@quilt/nodejs'); const infrastructure = require('../../config/infrastructure.js'); const deployment = quilt.createDeployment(); deployment.deploy(infrastructure); const mongo = new Mongo(3); const app = new Node({ nWorker: 3, repo: 'https://github.com/q...
<|file_sep|>original/quilt-tester/tests/30-mean/mean.js const Mongo = require('@quilt/mongo'); const Node = require('@quilt/nodejs'); const infrastructure = require('../../config/infrastructure.js'); const deployment = quilt.createDeployment(); deployment.deploy(infrastructure); const mongo = new Mongo(3); const app ...
9dd2be01926f0a9cf53adf2adab0ef056eb60253
quilt-tester/tests/30-mean/mean.js
quilt-tester/tests/30-mean/mean.js
JavaScript
<|file_sep|>original/ansible/psi/psi_defaults.yml --- psi_cloud: "rhos-01" # custom image, see ./import-coreos.sh psi_image: "Fedora-CoreOS" psi_user: "core" # 16 VCPUs, 32 GiB RAM, 160 GB disk psi_flavor: "ci.standard.xxxl" psi_network: "shared_net_2" <|file_sep|>current/ansible/psi/psi_defaults.yml --- psi_cloud: "rh...
--- psi_cloud: "rhos-01" # custom image, see ./import-coreos.sh psi_image: "Fedora-CoreOS" psi_user: "core" # 16 VCPUs, 32 GiB RAM, 160 GB disk psi_flavor: "ci.standard.xxxl" psi_network: "shared_net_7"
<|file_sep|>original/ansible/psi/psi_defaults.yml --- psi_cloud: "rhos-01" # custom image, see ./import-coreos.sh psi_image: "Fedora-CoreOS" psi_user: "core" # 16 VCPUs, 32 GiB RAM, 160 GB disk psi_flavor: "ci.standard.xxxl" psi_network: "shared_net_2" <|file_sep|>current/ansible/psi/psi_defaults.yml --- psi_cloud: "rh...
60fa956402d141cebc0b6e3bef9dde435eac1554
ansible/psi/psi_defaults.yml
ansible/psi/psi_defaults.yml
YAML
<|file_sep|>original/travis/travis.sh #!/bin/bash # Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. set -e # Workaround for Travis log output timeout (jobs without output over 10 minutes are killed) function bell() { while true; do echo "." ...
#!/bin/bash # Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. set -e # Workaround for Travis log output timeout (jobs without output over 10 minutes are killed) function bell() { while true; do echo "." sleep 300 done } DOCKER_IMAGE=vespa...
<|file_sep|>original/travis/travis.sh #!/bin/bash # Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. set -e # Workaround for Travis log output timeout (jobs without output over 10 minutes are killed) function bell() { while true; do echo "." ...
58c9ccd27c9d85bb5a9861f13461694e49ac6891
travis/travis.sh
travis/travis.sh
Shell
<|file_sep|>.travis.yml.diff original: updated: script: "rake compile && bundle exec rspec spec" <|file_sep|>.travis.yml.diff original: updated: - 1.9.2 <|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 - jruby-18mode - jruby-19mode script: "rake compile && bundle exec rspec spec" <|file_...
language: ruby script: "rake compile && bundle exec rspec spec" rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode
<|file_sep|>.travis.yml.diff original: updated: script: "rake compile && bundle exec rspec spec" <|file_sep|>.travis.yml.diff original: updated: - 1.9.2 <|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 - jruby-18mode - jruby-19mode script: "rake compile && bundle exec rspec spec" <|file_...
a860b04aeaae18feebd1c3fff443e6bddbdc4119
.travis.yml
.travis.yml
YAML
<|file_sep|>chrome/browser/app_modal_dialog_queue.cc.diff original: updated: // Set active_dialog_ before showing it, because ShowModalDialog can wind up // calling ShowNextDialog in some cases, which will change active_dialog_. active_dialog_ = dialog; <|file_sep|>original/chrome/browser/app_modal_dialog_queue....
void AppModalDialogQueue::ShowNextDialog() { if (!app_modal_dialog_queue_.empty()) { AppModalDialog* dialog = app_modal_dialog_queue_.front(); app_modal_dialog_queue_.pop(); ShowModalDialog(dialog); } else { active_dialog_ = NULL; } } void AppModalDialogQueue::ActivateModalDialog() { if (active...
<|file_sep|>chrome/browser/app_modal_dialog_queue.cc.diff original: updated: // Set active_dialog_ before showing it, because ShowModalDialog can wind up // calling ShowNextDialog in some cases, which will change active_dialog_. active_dialog_ = dialog; <|file_sep|>original/chrome/browser/app_modal_dialog_queue....
222299ffb12ea8ee5cfa0f49909a6a204bb7d6e8
chrome/browser/app_modal_dialog_queue.cc
chrome/browser/app_modal_dialog_queue.cc
C++
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false script: - bundle exec rake test - bundle exec rake rubocop rvm: - 2.0.0 - 2.1.7 - 2.2.3 before_install: gem install bundler -v 1.10.6 <|file_sep|>current/.travis.yml language: ruby cache: bundler sudo: false script: - bundle exec rak...
language: ruby cache: bundler sudo: false script: - bundle exec rake test - bundle exec rake rubocop rvm: - 2.0.0 - 2.1.7 - 2.2.3 - 2.3.1 before_install: gem install bundler -v 1.10.6
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false script: - bundle exec rake test - bundle exec rake rubocop rvm: - 2.0.0 - 2.1.7 - 2.2.3 before_install: gem install bundler -v 1.10.6 <|file_sep|>current/.travis.yml language: ruby cache: bundler sudo: false script: - bundle exec rak...
6e2e966b6e9383176dbda9e772ed59bd6e75553f
.travis.yml
.travis.yml
YAML
<|file_sep|>src/scripts/content/visualstudio.js.diff original: project = $('.menu-item.l1-navigation-text.drop-visible .text').textContent.trim(), updated: project = $('.tfs-selector span').innerText, <|file_sep|>src/scripts/content/visualstudio.js.diff original: vs_activeClassContent = $('.hub-list .menu-i...
/*global $: false, document: false, togglbutton: false, createTag:false, window: false, MutationObserver: false */ 'use strict'; // Individual Work Item & Backlog page togglbutton.render('.witform-layout-content-container:not(.toggl)', {observe: true}, function () { var link, description = $('.work-item-form-id ...
<|file_sep|>src/scripts/content/visualstudio.js.diff original: project = $('.menu-item.l1-navigation-text.drop-visible .text').textContent.trim(), updated: project = $('.tfs-selector span').innerText, <|file_sep|>src/scripts/content/visualstudio.js.diff original: vs_activeClassContent = $('.hub-list .menu-i...
af38d84173285c9ee1203a4cb468a068ae15e2d7
src/scripts/content/visualstudio.js
src/scripts/content/visualstudio.js
JavaScript
<|file_sep|>phonegap-ios-template.podspec.diff original: s.version = "0.1.0" updated: s.version = "0.1.1" <|file_sep|>original/phonegap-ios-template.podspec Pod::Spec.new do |s| s.name = "phonegap-ios-template" s.version = "0.1.0" s.summary = "PhoneGa...
Pod::Spec.new do |s| s.name = "phonegap-ios-template" s.version = "0.1.1" s.summary = "PhoneGap sample template project for iOS." s.description = <<-DESC "A PhoneGap sample project to get started quickly with an embedded webview in a native iOS project." ...
<|file_sep|>phonegap-ios-template.podspec.diff original: s.version = "0.1.0" updated: s.version = "0.1.1" <|file_sep|>original/phonegap-ios-template.podspec Pod::Spec.new do |s| s.name = "phonegap-ios-template" s.version = "0.1.0" s.summary = "PhoneGa...
b63104949f3439d3fa7ac9ddbcf3b8ffa9c99928
phonegap-ios-template.podspec
phonegap-ios-template.podspec
Ruby
<|file_sep|>app/scripts/modules/build_modules.sh.diff original: updated: set -e <|file_sep|>original/app/scripts/modules/build_modules.sh } endGroup() { if [[ -n "$GITHUB_ACTIONS" ]] ; then echo "::endgroup::" elif [[ -n "$TRAVIS" ]] ; then echo "travis_fold:end:$*" fi } cd "$(dirname "$0")" || exit $...
endGroup() { if [[ -n "$GITHUB_ACTIONS" ]] ; then echo "::endgroup::" elif [[ -n "$TRAVIS" ]] ; then echo "travis_fold:end:$*" fi } cd "$(dirname "$0")" || exit $? BUILD_ORDER=$(./build_order.sh $*) [[ $? -eq 0 ]] || exit $? for PACKAGE in $BUILD_ORDER ; do beginGroup "$PACKAGE" pushd "$PACKAGE" ||...
<|file_sep|>app/scripts/modules/build_modules.sh.diff original: updated: set -e <|file_sep|>original/app/scripts/modules/build_modules.sh } endGroup() { if [[ -n "$GITHUB_ACTIONS" ]] ; then echo "::endgroup::" elif [[ -n "$TRAVIS" ]] ; then echo "travis_fold:end:$*" fi } cd "$(dirname "$0")" || exit $...
628c05769e5cddb41df96b5a2ff50e060459b5a1
app/scripts/modules/build_modules.sh
app/scripts/modules/build_modules.sh
Shell
<|file_sep|>original/app/views/shared/_form_filters.html.slim .card.card-body.bg-light.flex-row.container.justify-content-center = search_form_for(@search, class: 'clearfix filter-form align-items-center row g-2 w-100') do |f| = yield(f) .col-sm.ge-4.gy-2 .btn-group.float-end.ms-auto.text-nowrap ...
.card.card-body.bg-light.flex-row.container.justify-content-center = search_form_for(@search, class: 'clearfix filter-form align-items-center row g-2 w-100') do |f| = yield(f) .col-sm.ge-4.gy-2 .btn-group.float-end.ms-auto.text-nowrap button.btn.btn-primary type='submit' = t('shared.apply_filter...
<|file_sep|>original/app/views/shared/_form_filters.html.slim .card.card-body.bg-light.flex-row.container.justify-content-center = search_form_for(@search, class: 'clearfix filter-form align-items-center row g-2 w-100') do |f| = yield(f) .col-sm.ge-4.gy-2 .btn-group.float-end.ms-auto.text-nowrap ...
e7f409c1dfaa3fd0a43c54e0b6279991ecd72aa6
app/views/shared/_form_filters.html.slim
app/views/shared/_form_filters.html.slim
Slim
<|file_sep|>original/frontend/package.json { "name": "frontend", "version": "0.1.0", "private": true, "dependencies": { "react": "^16.0.0", "react-dom": "^16.0.0", "react-scripts": "1.0.14" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react...
{ "name": "frontend", "version": "0.1.0", "private": true, "dependencies": { "prop-types": "^15.6.0", "react": "^16.0.0", "react-dom": "^16.0.0", "react-scripts": "1.0.14" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test ...
<|file_sep|>original/frontend/package.json { "name": "frontend", "version": "0.1.0", "private": true, "dependencies": { "react": "^16.0.0", "react-dom": "^16.0.0", "react-scripts": "1.0.14" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react...
c2ee07ed76f0599421f973b910976608cd9f1db8
frontend/package.json
frontend/package.json
JSON
<|file_sep|>original/metadata/com.markuspage.android.atimetracker.txt Repo Type:git Repo:https://github.com/netmackan/ATimeTracker.git Build:0.17,17 commit=v0.17 subdir=android-timetracker Build:0.19,19 commit=v0.19 subdir=android-timetracker Build:0.20,20 commit=v0.20 subdir=android-timetra...
Build:0.17,17 commit=v0.17 subdir=android-timetracker Build:0.19,19 commit=v0.19 subdir=android-timetracker Build:0.20,20 commit=v0.20 subdir=android-timetracker Build:0.21,21 commit=v0.21 subdir=android-timetracker Auto Update Mode:None Update Check Mode:Tags Current Version:0.21 Cu...
<|file_sep|>original/metadata/com.markuspage.android.atimetracker.txt Repo Type:git Repo:https://github.com/netmackan/ATimeTracker.git Build:0.17,17 commit=v0.17 subdir=android-timetracker Build:0.19,19 commit=v0.19 subdir=android-timetracker Build:0.20,20 commit=v0.20 subdir=android-timetra...
6d35f6d1aee4f6fc3c39b5f3621bd8ea20d461b0
metadata/com.markuspage.android.atimetracker.txt
metadata/com.markuspage.android.atimetracker.txt
Text
<|file_sep|>package.json.diff original: "version": "0.0.1", updated: "version": "0.1.0", <|file_sep|>original/package.json { "name": "functional-memoize", "version": "0.0.1", "description": "A module for the memoization of functions from a functional programming point of view, this module let you manage the c...
{ "name": "functional-memoize", "version": "0.1.0", "description": "A module for the memoization of functions from a functional programming point of view, this module let you manage the cache type and strategy to use.", "main": "index.js", "scripts": { "test": "ava **/*.ava.test.js", "test:watch": "av...
<|file_sep|>package.json.diff original: "version": "0.0.1", updated: "version": "0.1.0", <|file_sep|>original/package.json { "name": "functional-memoize", "version": "0.0.1", "description": "A module for the memoization of functions from a functional programming point of view, this module let you manage the c...
7012beee6c2f7572eb306b4b412bf31ce74ffc16
package.json
package.json
JSON
<|file_sep|>src/main/java/org/purescript/ide/inspections/PSUnresolvedReferenceInspection.kt.diff original: updated: import org.purescript.psi.expression.PSExpressionConstructor <|file_sep|>original/src/main/java/org/purescript/ide/inspections/PSUnresolvedReferenceInspection.kt class PSUnresolvedReferenceInspection : L...
class PSUnresolvedReferenceInspection : LocalInspectionTool() { override fun buildVisitor(holder: ProblemsHolder, isOnTheFly: Boolean): PsiElementVisitor { return object : PsiElementVisitor() { override fun visitElement(element: PsiElement) { super.visitElement(element) ...
<|file_sep|>src/main/java/org/purescript/ide/inspections/PSUnresolvedReferenceInspection.kt.diff original: updated: import org.purescript.psi.expression.PSExpressionConstructor <|file_sep|>original/src/main/java/org/purescript/ide/inspections/PSUnresolvedReferenceInspection.kt class PSUnresolvedReferenceInspection : L...
02c671cbe7fb925489f0afaf419b8a16e87cc589
src/main/java/org/purescript/ide/inspections/PSUnresolvedReferenceInspection.kt
src/main/java/org/purescript/ide/inspections/PSUnresolvedReferenceInspection.kt
Kotlin
<|file_sep|>original/Sources/Tentacle/Label.swift public init(from decoder: Decoder) throws { let container = try decoder.container(keyedBy: CodingKeys.self) self.name = try container.decode(String.self, forKey: .name) self.color = Color(hex: try container.decode(String.self, forKey: .color)...
public init(from decoder: Decoder) throws { let container = try decoder.container(keyedBy: CodingKeys.self) self.name = try container.decode(String.self, forKey: .name) self.color = Color(hex: try container.decode(String.self, forKey: .color)) } public init(name: String, color: Colo...
<|file_sep|>original/Sources/Tentacle/Label.swift public init(from decoder: Decoder) throws { let container = try decoder.container(keyedBy: CodingKeys.self) self.name = try container.decode(String.self, forKey: .name) self.color = Color(hex: try container.decode(String.self, forKey: .color)...
8bb06b7fc2889673c1208f8394e76c6d908bc165
Sources/Tentacle/Label.swift
Sources/Tentacle/Label.swift
Swift
<|file_sep|>original/.travis.yml - linux env: ELM_VERSION=0.18.0 before_install: - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config install: - node --version - npm --version - npm install -g elm@$ELM_VERSION elm-test elm-verify-examples - git clone https://github.com/NoRedInk/elm-...
- linux env: ELM_VERSION=0.18.0 before_install: - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config install: - node --version - npm --version - npm install -g elm@$ELM_VERSION elm-test elm-verify-examples@2.2.0 - git clone https://github.com/NoRedInk/elm-ops-tooling - elm-ops-too...
<|file_sep|>original/.travis.yml - linux env: ELM_VERSION=0.18.0 before_install: - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config install: - node --version - npm --version - npm install -g elm@$ELM_VERSION elm-test elm-verify-examples - git clone https://github.com/NoRedInk/elm-...
006057bf290638aca3a101eed83ad12166967604
.travis.yml
.travis.yml
YAML
<|file_sep|>original/doom_emacs/init.el +attach +babel +export) (cc +lsp) ocaml idris (web +html +css) (latex +latexmk +viewers) (python +lsp) (fsharp +lsp) :checkers spell syntax :term vterm eshell :app ;;(email +gmail) ; emacs a...
+attach +babel +export) (cc +lsp) ocaml idris (web +html +css) (latex +latexmk +viewers) (python +lsp) (fsharp +lsp) (javascript +lsp) rest :checkers spell syntax :term vterm eshell
<|file_sep|>original/doom_emacs/init.el +attach +babel +export) (cc +lsp) ocaml idris (web +html +css) (latex +latexmk +viewers) (python +lsp) (fsharp +lsp) :checkers spell syntax :term vterm eshell :app ;;(email +gmail) ; emacs a...
26484765a99247a436952870f29217d346d6adf9
doom_emacs/init.el
doom_emacs/init.el
Emacs Lisp
<|file_sep|>bin/common.sh.diff original: # sed -l basically makes sed replace and buffer through stdin to stdout # so you get updates while the command runs and dont wait for the end updated: <|file_sep|>original/bin/common.sh } protip() { echo echo "PRO TIP: $*" | indent echo "See https://devcenter.heroku.com/...
status() { echo "-----> $*" } protip() { echo echo "PRO TIP: $*" | indent echo "See https://devcenter.heroku.com/articles/nodejs-support" | indent echo } # e.g. npm install | indent indent() { while read LINE; do echo " $LINE" done } cat_npm_debug_log() { test -f $build_dir/npm-debug.log &&...
<|file_sep|>bin/common.sh.diff original: # sed -l basically makes sed replace and buffer through stdin to stdout # so you get updates while the command runs and dont wait for the end updated: <|file_sep|>original/bin/common.sh } protip() { echo echo "PRO TIP: $*" | indent echo "See https://devcenter.heroku.com/...
f771354a1cf5cb675654d038f14c1253dfb373ae
bin/common.sh
bin/common.sh
Shell
<|file_sep|>original/.travis.yml before_install: - ./test/customize_environment.sh install: - ./src/os/setup.sh -y language: generic matrix: include: - os: linux dist: trusty - os: osx osx_image: xcode8 script: - ./test/main.sh sudo: required <|file_sep|>current/.travis.yml before_ins...
before_install: - ./test/customize_environment.sh install: - ./src/os/setup.sh -y language: generic matrix: include: - os: linux dist: trusty - os: osx osx_image: xcode8.1 script: - ./test/main.sh sudo: required
<|file_sep|>original/.travis.yml before_install: - ./test/customize_environment.sh install: - ./src/os/setup.sh -y language: generic matrix: include: - os: linux dist: trusty - os: osx osx_image: xcode8 script: - ./test/main.sh sudo: required <|file_sep|>current/.travis.yml before_ins...
ca3499921939710e4e6eff64ccaf15e736ebf546
.travis.yml
.travis.yml
YAML
<|file_sep|>original/babel-transform.js var module_ = require("module") var babel exports.init = function(path) { var dummyMod = { id: path, paths: module_._nodeModulePaths(path).concat(module_.globalPaths) } var resolved = module_._resolveFilename("babel-core", dummyMod) babel = require(resolved) } e...
var module_ = require("module") var babel exports.init = function(path) { var dummyMod = { id: path, paths: module_._nodeModulePaths(path).concat(module_.globalPaths) } var resolved = module_._resolveFilename("babel-core", dummyMod) babel = require(resolved) } exports.transform = function(path, text) ...
<|file_sep|>original/babel-transform.js var module_ = require("module") var babel exports.init = function(path) { var dummyMod = { id: path, paths: module_._nodeModulePaths(path).concat(module_.globalPaths) } var resolved = module_._resolveFilename("babel-core", dummyMod) babel = require(resolved) } e...
3ea2e62beae27160db21390c41fa19e40b9344c4
babel-transform.js
babel-transform.js
JavaScript
<|file_sep|>requests_cache/serializers/pipeline.py.diff original: from typing import Any, List, Union updated: from typing import Any, Callable, List, Union <|file_sep|>requests_cache/serializers/pipeline.py.diff original: """Generic class to wrap serialization steps with consistent ``dumps()`` and ``loads()`` meth...
self.loads = getattr(obj, loads) if isinstance(loads, str) else loads class SerializerPipeline: """A sequence of steps used to serialize and deserialize response objects. This can be initialized with :py:class:`Stage` objects, or any objects with ``dumps()`` and ``loads()`` methods """ de...
<|file_sep|>requests_cache/serializers/pipeline.py.diff original: from typing import Any, List, Union updated: from typing import Any, Callable, List, Union <|file_sep|>requests_cache/serializers/pipeline.py.diff original: """Generic class to wrap serialization steps with consistent ``dumps()`` and ``loads()`` meth...
5f128bbfc61169ac6b5f0e9f4dc6bcd05092382c
requests_cache/serializers/pipeline.py
requests_cache/serializers/pipeline.py
Python
<|file_sep|>original/doc/production-users.md # Production users This document tracks people and use cases for Ignition in production. By creating a list of production use cases, we hope to build a community that we can reach out to in order to better understand requirements and desired features. The Ignition developme...
# Production users This document tracks people and use cases for Ignition in production. By creating a list of production use cases, we hope to build a community that we can reach out to in order to better understand requirements and desired features. The Ignition development team may reach out periodically to see how...
<|file_sep|>original/doc/production-users.md # Production users This document tracks people and use cases for Ignition in production. By creating a list of production use cases, we hope to build a community that we can reach out to in order to better understand requirements and desired features. The Ignition developme...
699a6e7edfff8c5e3996ffc3028c7eed9545bb0d
doc/production-users.md
doc/production-users.md
Markdown
<|file_sep|>README.md.diff original: Give us a playground for once we have penetrated SSH on a box. updated: Give a scavenger hunt playground. <|file_sep|>original/README.md # poormans-labyrinth Give us a playground for once we have penetrated SSH on a box. Structure: * models that describe fun things * an index pag...
Give a scavenger hunt playground. Structure: * models that describe fun things * an index page designed to look like a reporting page * lots more configuration than is needed for such simplicity The index/fake reporting page will include a series of questions for "attackers" to try and answer. ## Setup This projec...
<|file_sep|>README.md.diff original: Give us a playground for once we have penetrated SSH on a box. updated: Give a scavenger hunt playground. <|file_sep|>original/README.md # poormans-labyrinth Give us a playground for once we have penetrated SSH on a box. Structure: * models that describe fun things * an index pag...
7922cad1e79df89cd0eddbe6917b7fcbb9fc722e
README.md
README.md
Markdown
<|file_sep|>week-6/die-2/my_solution.rb.diff original: # I worked on this challenge [by myself, with: ]. updated: # I worked on this challenge [by myself]. <|file_sep|>week-6/die-2/my_solution.rb.diff original: # Input: # Output: updated: # Input: Arbetrary list of strings (array) # Output: a die with enough sides to h...
return @labels[rand(0..@sides-1)] end end # Reflection =begin -What were the main differences between this die class and the last one you created in terms of implementation? -Did you need to change much logic to get this to work? The main difference is that we needed to keep track of the symbols that were...
<|file_sep|>week-6/die-2/my_solution.rb.diff original: # I worked on this challenge [by myself, with: ]. updated: # I worked on this challenge [by myself]. <|file_sep|>week-6/die-2/my_solution.rb.diff original: # Input: # Output: updated: # Input: Arbetrary list of strings (array) # Output: a die with enough sides to h...
60829fd9e455d0d118da71f5312be8bccd39e2fa
week-6/die-2/my_solution.rb
week-6/die-2/my_solution.rb
Ruby
<|file_sep|>original/test/FrontendC/2010-11-16-asmblock.c <|file_sep|>current/test/FrontendC/2010-11-16-asmblock.c <|file_sep|>updated/test/FrontendC/2010-11-16-asmblock.c
// RUN: %llvmgcc -S %s -fasm-blocks -o - | FileCheck %s // XFAIL: * // XTARGET: x86,i386,i686 // 84282548 void foo() { // CHECK: %0 = call i32 asm sideeffect "", "={ecx}"() nounwind // CHECK: %asmtmp = call i32 asm sideeffect alignstack "sall $$3, $0", "={ecx},{ecx},~{dirflag},~{fpsr},~{flags},~{memory}"(i32 %0) no...
<|file_sep|>original/test/FrontendC/2010-11-16-asmblock.c <|file_sep|>current/test/FrontendC/2010-11-16-asmblock.c <|file_sep|>updated/test/FrontendC/2010-11-16-asmblock.c // RUN: %llvmgcc -S %s -fasm-blocks -o - | FileCheck %s // XFAIL: * // XTARGET: x86,i386,i686 // 84282548 void foo() { // CHECK: %0 = call i32 a...
e8ff69fcb5021ba8909e44ef7f89e227fa903b3b
test/FrontendC/2010-11-16-asmblock.c
test/FrontendC/2010-11-16-asmblock.c
C
<|file_sep|>original/example/stats.dart import "package:osx/osx.dart"; void main() { say("Battery is at ${Battery.getLevel()}%"); } <|file_sep|>current/example/stats.dart import "package:osx/osx.dart"; void main() { say("Battery is at ${Battery.getLevel()}%"); } <|file_sep|>updated/example/stats.dart
import "package:osx/osx.dart"; void main() { say("Battery is at ${Battery.getLevel()}%"); say("There are ${Applications.list().length} apps installed"); }
<|file_sep|>original/example/stats.dart import "package:osx/osx.dart"; void main() { say("Battery is at ${Battery.getLevel()}%"); } <|file_sep|>current/example/stats.dart import "package:osx/osx.dart"; void main() { say("Battery is at ${Battery.getLevel()}%"); } <|file_sep|>updated/example/stats.dart import "pack...
d94887d20a9b985593ae2566bc100345a4700021
example/stats.dart
example/stats.dart
Dart
<|file_sep|>original/Extractor/ObjectPropertyListExtractor.php /** * @author David Maicher <mail@dmaicher.de> * * @experimental in 4.3 */ final class ObjectPropertyListExtractor implements ObjectPropertyListExtractorInterface { private $propertyListExtractor; private $objectClassResolver; public functi...
/** * @author David Maicher <mail@dmaicher.de> * * @experimental in 4.3 */ final class ObjectPropertyListExtractor implements ObjectPropertyListExtractorInterface { private $propertyListExtractor; private $objectClassResolver; public function __construct(PropertyListExtractorInterface $propertyListExtr...
<|file_sep|>original/Extractor/ObjectPropertyListExtractor.php /** * @author David Maicher <mail@dmaicher.de> * * @experimental in 4.3 */ final class ObjectPropertyListExtractor implements ObjectPropertyListExtractorInterface { private $propertyListExtractor; private $objectClassResolver; public functi...
fc29da1a62a5819e2815a7b02c3da38c85f27e2f
Extractor/ObjectPropertyListExtractor.php
Extractor/ObjectPropertyListExtractor.php
PHP
<|file_sep|>original/src/land_registry_elements/vat-receipt/demos/demo.html <div class="column-two-thirds"> {{ vat_receipt( '25 Jan 2016', 'ABC1234567', 'Summary of title FAKE177634', '£1.67', '£0.33', '£2.00', 'GB 8888 181 53', address={ ...
<div class="column-two-thirds"> {{ vat_receipt( '25 Jan 2016', 'ABC1234567', 'Summary of title FAKE177634', '£1.67', '£0.33', '£2.00', 'GB 8888 181 53', address={ 'name': 'Land Registry', 'street_address': ['48 Foo bar', 'Wibb...
<|file_sep|>original/src/land_registry_elements/vat-receipt/demos/demo.html <div class="column-two-thirds"> {{ vat_receipt( '25 Jan 2016', 'ABC1234567', 'Summary of title FAKE177634', '£1.67', '£0.33', '£2.00', 'GB 8888 181 53', address={ ...
3a0887c55674135762658b25b1462de8ac02215a
src/land_registry_elements/vat-receipt/demos/demo.html
src/land_registry_elements/vat-receipt/demos/demo.html
HTML
<|file_sep|>original/phpunit.xml > <php> <ini name="error_reporting" value="-1" /> <server name="KERNEL_DIR" value="app/" /> </php> <testsuites> <testsuite name="Church"> <directory>./src</directory> </testsuite> </testsuites> <filter> <whitelist> ...
<php> <ini name="error_reporting" value="-1" /> <server name="KERNEL_DIR" value="app/" /> </php> <testsuites> <testsuite name="Church"> <directory>./src</directory> </testsuite> </testsuites> <filter> <whitelist> <directory>./src</directory...
<|file_sep|>original/phpunit.xml > <php> <ini name="error_reporting" value="-1" /> <server name="KERNEL_DIR" value="app/" /> </php> <testsuites> <testsuite name="Church"> <directory>./src</directory> </testsuite> </testsuites> <filter> <whitelist> ...
bb54aae85d6f7d48accd1e862a734b672d236df8
phpunit.xml
phpunit.xml
XML
<|file_sep|>source/partials/_social.html.haml.diff original: = link_to 'https://instagram.com' do updated: = link_to 'https://www.facebook.com/EPICPressYA' do %i{class: 'fa fa-facebook'} %li = link_to 'https://instagram.com/EPICPressYA' do <|file_sep|>original/source/partials/_social.html.haml %ul.s...
%ul.social %li = link_to 'https://www.facebook.com/EPICPressYA' do %i{class: 'fa fa-facebook'} %li = link_to 'https://instagram.com/EPICPressYA' do %i{class: 'fa fa-instagram'} %li = link_to 'https://twitter.com/EPICPressYA' do %i{class: 'fa fa-twitter'}
<|file_sep|>source/partials/_social.html.haml.diff original: = link_to 'https://instagram.com' do updated: = link_to 'https://www.facebook.com/EPICPressYA' do %i{class: 'fa fa-facebook'} %li = link_to 'https://instagram.com/EPICPressYA' do <|file_sep|>original/source/partials/_social.html.haml %ul.s...
4af7844081ca55f862cb49e2d39780565f2938f6
source/partials/_social.html.haml
source/partials/_social.html.haml
Haml
<|file_sep|>original/LICENSE.txt Copyright (c) 2016 Xavier Dutreilh 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, modif...
Copyright (c) 2016-2017 Xavier Dutreilh 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, distribut...
<|file_sep|>original/LICENSE.txt Copyright (c) 2016 Xavier Dutreilh 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, modif...
c08294e5eac0c217e3f694c013e526774d6504f2
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>original/lib/travis/build/appliances/disable_sudo.rb require 'travis/build/appliances/base' module Travis module Build module Appliances class DisableSudo < Base MSG = "\nThis job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid execut...
require 'travis/build/appliances/base' module Travis module Build module Appliances class DisableSudo < Base MSG = "\nThis job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.\nSee http://docs.travis-ci.com/user/workers/container-base...
<|file_sep|>original/lib/travis/build/appliances/disable_sudo.rb require 'travis/build/appliances/base' module Travis module Build module Appliances class DisableSudo < Base MSG = "\nThis job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid execut...
02df5c7f4f7831b1ee463355a6dc7b88a934b9d7
lib/travis/build/appliances/disable_sudo.rb
lib/travis/build/appliances/disable_sudo.rb
Ruby
<|file_sep|>original/git-packages.json { "space:base": { "git":"https://github.com/meteor-space/base.git", "version": "80400f278c0ad911b8dee888eca4c54d979f1a1c" }, "space:messaging": { "git":"https://github.com/meteor-space/messaging.git", "version": "ff0dfa578b2fcd39f167f3c51afc6d9ac7011ae3" },...
{ "space:base": { "git":"https://github.com/meteor-space/base.git", "version": "80400f278c0ad911b8dee888eca4c54d979f1a1c" }, "space:messaging": { "git":"https://github.com/meteor-space/messaging.git", "version": "ff0dfa578b2fcd39f167f3c51afc6d9ac7011ae3" }, "space:testing": { "git":"https:...
<|file_sep|>original/git-packages.json { "space:base": { "git":"https://github.com/meteor-space/base.git", "version": "80400f278c0ad911b8dee888eca4c54d979f1a1c" }, "space:messaging": { "git":"https://github.com/meteor-space/messaging.git", "version": "ff0dfa578b2fcd39f167f3c51afc6d9ac7011ae3" },...
5e67a33f105bee97c71775e677101b7a0cda0f6b
git-packages.json
git-packages.json
JSON
<|file_sep|>original/src/main/java/com/voxelplugineering/voxelsniper/PlatformMain.java * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ package com.voxelplugineering.voxelsniper; import com.voxelplugineering.voxelsniper.GunsmithMain; /** * The main class for utility f...
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ package com.voxelplugineering.voxelsniper; import com.voxelplugineering.voxelsniper.GunsmithMain; /** * The main class for utility functions. */ public class PlatformMain { /** * The main method. * ...
<|file_sep|>original/src/main/java/com/voxelplugineering/voxelsniper/PlatformMain.java * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ package com.voxelplugineering.voxelsniper; import com.voxelplugineering.voxelsniper.GunsmithMain; /** * The main class for utility f...
13a78f50190a643d12f5ee380f880bd062fbcc94
src/main/java/com/voxelplugineering/voxelsniper/PlatformMain.java
src/main/java/com/voxelplugineering/voxelsniper/PlatformMain.java
Java
<|file_sep|>original/src/app/time/duration/duration.service.ts this.durationSubject.next(this.buildDuration(model)); }); } get durations(): Observable<number> { return this.durationSubject.asObservable(); } private buildDuration(model: Model): number { const events:...
}); } get durations(): Observable<number> { return this.durationSubject.asObservable(); } private buildDuration(model: Model): number { const events: ModelTrackEvent[] = []; Object.keys(Track) .map(k => Track[k]) .filter(v => typeof v === 'number...
<|file_sep|>original/src/app/time/duration/duration.service.ts this.durationSubject.next(this.buildDuration(model)); }); } get durations(): Observable<number> { return this.durationSubject.asObservable(); } private buildDuration(model: Model): number { const events:...
c0896040674b433fb5763741c053969f3a6e4acd
src/app/time/duration/duration.service.ts
src/app/time/duration/duration.service.ts
TypeScript
<|file_sep|>original/app/admin/admin_user.rb f.input :email f.input :password, required: false, hint: t('formtastic.hints.admin_user.password') f.input :password_confirmation, required: false end f.actions end show do |admin_user| attributes_table do row :id row :full_nam...
row :id row :full_name row :email row :current_sign_in_at row :current_sign_in_at row :sign_in_count row :created_at row :updated_at end end controller do def update if params[:admin_user][:password].blank? params[:admin_user].delete('password')...
<|file_sep|>original/app/admin/admin_user.rb f.input :email f.input :password, required: false, hint: t('formtastic.hints.admin_user.password') f.input :password_confirmation, required: false end f.actions end show do |admin_user| attributes_table do row :id row :full_nam...
86abb9f2b701d46f01ff76c7f2994230ce2c2107
app/admin/admin_user.rb
app/admin/admin_user.rb
Ruby
<|file_sep|>app/views/home/index.html.erb.diff original: <%= render "photo_row", updated: <% cache [ @photo, @most_recent_event_with_recent_result, @home.weeks_of_recent_results, @today ] do %> <%= render "photo_row", <|file_sep|>app/views/home/index.html.erb.diff original: updated: <% end %> <|file_sep|>app...
<% cache @upcoming_events, @today do %> <%= render_page "home/upcoming_events", upcoming_events: @upcoming_events %> <% end %> </div> <div class="col-sm-6"> <% cache [ @most_recent_event_with_recent_result, @home.weeks_of_recent_results, @today ] do %> <%= render_page "home/rec...
<|file_sep|>app/views/home/index.html.erb.diff original: <%= render "photo_row", updated: <% cache [ @photo, @most_recent_event_with_recent_result, @home.weeks_of_recent_results, @today ] do %> <%= render "photo_row", <|file_sep|>app/views/home/index.html.erb.diff original: updated: <% end %> <|file_sep|>app...
e9b14cc82ef179c91dcde4700ba93aa99f36ba34
app/views/home/index.html.erb
app/views/home/index.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml language: node_js cache: directories: - node_modules notifications: email: false node_js: - 8 script: - npm run test after_success: - npm run report-coverage <|file_sep|>current/.travis.yml language: node_js cache: directories: - node_modules notifications: email: ...
language: node_js cache: directories: - node_modules notifications: email: false node_js: - 8 script: - npm run test - npm run lint after_success: - npm run report-coverage
<|file_sep|>original/.travis.yml language: node_js cache: directories: - node_modules notifications: email: false node_js: - 8 script: - npm run test after_success: - npm run report-coverage <|file_sep|>current/.travis.yml language: node_js cache: directories: - node_modules notifications: email: ...
d1708f7d2c770eac12313b3656408ccd454652d2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/webpack.config.js const exportFileName = path.basename(mainFile, path.extname(mainFile)); module.exports = { entry: ['./src/formwood.js'], output: { path: path.resolve(__dirname, destinationDirectory), filename: `${exportFileName}.js`, library: packageName, libraryTarget: 'umd'...
const exportFileName = path.basename(mainFile, path.extname(mainFile)); module.exports = { entry: ['./src/formwood.js'], output: { path: path.resolve(__dirname, destinationDirectory), filename: `${exportFileName}.js`, library: packageName, libraryTarget: 'umd' }, externals: ['react'], module:...
<|file_sep|>original/webpack.config.js const exportFileName = path.basename(mainFile, path.extname(mainFile)); module.exports = { entry: ['./src/formwood.js'], output: { path: path.resolve(__dirname, destinationDirectory), filename: `${exportFileName}.js`, library: packageName, libraryTarget: 'umd'...
099654931dffe2a7567bfc37b553190190cc1b0f
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>original/ansible.cfg [defaults] deprecation_warnings = True error_on_undefined_vars = True gathering = smart force_color = True stdout_callback = debug allow_world_readable_tmpfiles = True [privilege_escalation] become = True become_ask_pass = True [ssh_connection] pipelining = True ssh_args = -o ControlM...
[defaults] deprecation_warnings = True error_on_undefined_vars = True gathering = smart force_color = True stdout_callback = debug allow_world_readable_tmpfiles = True [privilege_escalation] become = True # Set this to True to deploy to test/pilot #become_ask_pass = True [ssh_connection] pipelining = True ssh_args = ...
<|file_sep|>original/ansible.cfg [defaults] deprecation_warnings = True error_on_undefined_vars = True gathering = smart force_color = True stdout_callback = debug allow_world_readable_tmpfiles = True [privilege_escalation] become = True become_ask_pass = True [ssh_connection] pipelining = True ssh_args = -o ControlM...
484ab476d5c4177ade90c2c6f98f58b23822ab6d
ansible.cfg
ansible.cfg
INI
<|file_sep|>original/packages/codec/docs/typedoc.json { "name": "Truffle Decoding and Encoding", "mode": "modules", "module": "commonjs", "theme": "default", "includeDeclarations": false, "ignoreCompilerErrors": true, "preserveConstEnums": true, "excludeExternals": true, "categoryOrder": [ "Data",...
"name": "Truffle Decoding and Encoding", "mode": "modules", "module": "commonjs", "theme": "default", "includeDeclarations": false, "ignoreCompilerErrors": true, "preserveConstEnums": true, "excludeExternals": true, "categoryOrder": [ "Data", "ABI data location", "Solidity data location", ...
<|file_sep|>original/packages/codec/docs/typedoc.json { "name": "Truffle Decoding and Encoding", "mode": "modules", "module": "commonjs", "theme": "default", "includeDeclarations": false, "ignoreCompilerErrors": true, "preserveConstEnums": true, "excludeExternals": true, "categoryOrder": [ "Data",...
a3e2a77ef1825fb8843bfe31d12b464934b5071f
packages/codec/docs/typedoc.json
packages/codec/docs/typedoc.json
JSON
<|file_sep|>src/tools.cr.diff original: def {{ method.id }}_with_progress(hdl) updated: def {{ method.id }}_with_progress(num) <|file_sep|>original/src/tools.cr bar.inc end end {% for method in %w(upto downto) %} def {{ method.id }}_with_progress(hdl) bar = ProgressBar.new bar.t...
bar.inc end end {% for method in %w(upto downto) %} def {{ method.id }}_with_progress(num) bar = ProgressBar.new bar.total = self bar.incomplete = "." bar.complete = "o" self.{{ method.id }}(num) do |i| yield i bar.inc end end {% end %} end ...
<|file_sep|>src/tools.cr.diff original: def {{ method.id }}_with_progress(hdl) updated: def {{ method.id }}_with_progress(num) <|file_sep|>original/src/tools.cr bar.inc end end {% for method in %w(upto downto) %} def {{ method.id }}_with_progress(hdl) bar = ProgressBar.new bar.t...
9120adf70f7df0f441ba3eed2ce09e2075cec07e
src/tools.cr
src/tools.cr
Crystal
<|file_sep|>tools/check-coding-style.mk.diff original: $(check_misc_sources) || fail=1; \ updated: $(addprefix $(srcdir)/,$(check_misc_sources)) || fail=1; \ <|file_sep|>original/tools/check-coding-style.mk check-coding-style: @fail=0; \ if test -n "$(check_misc_sources)"; then \ tools_dir=$(top_srcdir)/tools...
check-coding-style: @fail=0; \ if test -n "$(check_misc_sources)"; then \ tools_dir=$(top_srcdir)/tools \ sh $(top_srcdir)/tools/check-misc.sh \ $(addprefix $(srcdir)/,$(check_misc_sources)) || fail=1; \ fi; \ if test -n "$(check_c_sources)"; then \ tools_dir=$(top_srcdir)/tools \ sh $(top_srcdir)/tools/...
<|file_sep|>tools/check-coding-style.mk.diff original: $(check_misc_sources) || fail=1; \ updated: $(addprefix $(srcdir)/,$(check_misc_sources)) || fail=1; \ <|file_sep|>original/tools/check-coding-style.mk check-coding-style: @fail=0; \ if test -n "$(check_misc_sources)"; then \ tools_dir=$(top_srcdir)/tools...
a6ee8fce843f16b357c89935a95a657269b6f48a
tools/check-coding-style.mk
tools/check-coding-style.mk
Makefile
<|file_sep|>original/src/reducers/audioFiles.ts import { AudioFiles } from '../types'; const initial: AudioFiles = { audioNewSearch: new Audio( 'https://k003.kiwi6.com/hotlink/85iq6xu5ul/coins.ogg' ) }; export default (state = initial, action: {}) => { return state; }; <|file_sep|>current/src/reducers/audio...
import { AudioFiles } from '../types'; const initial: AudioFiles = { audioNewSearch: new Audio( 'https://k003.kiwi6.com/hotlink/w9aqj8az8t/ping.wav' ) }; export default (state = initial, action: {}) => { return state; };
<|file_sep|>original/src/reducers/audioFiles.ts import { AudioFiles } from '../types'; const initial: AudioFiles = { audioNewSearch: new Audio( 'https://k003.kiwi6.com/hotlink/85iq6xu5ul/coins.ogg' ) }; export default (state = initial, action: {}) => { return state; }; <|file_sep|>current/src/reducers/audio...
ddd2cd1f25b079a9559a501cc35555c461116550
src/reducers/audioFiles.ts
src/reducers/audioFiles.ts
TypeScript
<|file_sep|>original/DataStructures/Graphs/snakes_ladders.cpp <|file_sep|>current/DataStructures/Graphs/snakes_ladders.cpp <|file_sep|>updated/DataStructures/Graphs/snakes_ladders.cpp
// http://www.geeksforgeeks.org/snake-ladder-problem-2/ #include <iostream> #include <cstring> #include <queue> using namespace std; struct QNode { int v; // vertex int d; //distance; }; int getMinDice(int moves[], int N) { bool *visited = new bool[N]; memset(visited, false, sizeof(visited)); queue<QNode> q; Q...
<|file_sep|>original/DataStructures/Graphs/snakes_ladders.cpp <|file_sep|>current/DataStructures/Graphs/snakes_ladders.cpp <|file_sep|>updated/DataStructures/Graphs/snakes_ladders.cpp // http://www.geeksforgeeks.org/snake-ladder-problem-2/ #include <iostream> #include <cstring> #include <queue> using namespace std; ...
5f06c8621d6d606860a315130e21de8eac0a7566
DataStructures/Graphs/snakes_ladders.cpp
DataStructures/Graphs/snakes_ladders.cpp
C++
<|file_sep|>original/apis/Google.Cloud.Retail.V2Beta/pregeneration.sh #!/bin/bash # Temporary fix for broken namespaces. This is being fixed internally. sed -i 's/Google\.Cloud\.Retail\.V2beta/Google.Cloud.Retail.V2Beta/g' $GOOGLEAPIS/google/cloud/retail/v2beta/*.proto <|file_sep|>current/apis/Google.Cloud.Retail.V2Be...
#!/bin/bash # Temporary fix for broken namespaces. This is being fixed internally. sed -i 's/Google\.Cloud\.Retail\.V2beta/Google.Cloud.Retail.V2Beta/g' $GOOGLEAPIS/google/cloud/retail/v2beta/*.proto # Fix resource names for location - we should use the common Location resource sed -i 's/retail\.googleapis\.com\/Loca...
<|file_sep|>original/apis/Google.Cloud.Retail.V2Beta/pregeneration.sh #!/bin/bash # Temporary fix for broken namespaces. This is being fixed internally. sed -i 's/Google\.Cloud\.Retail\.V2beta/Google.Cloud.Retail.V2Beta/g' $GOOGLEAPIS/google/cloud/retail/v2beta/*.proto <|file_sep|>current/apis/Google.Cloud.Retail.V2Be...
4588e9c8678dd3d9ccfdf1d07402c3a1d9ba841d
apis/Google.Cloud.Retail.V2Beta/pregeneration.sh
apis/Google.Cloud.Retail.V2Beta/pregeneration.sh
Shell
<|file_sep|>app/assets/javascripts/main_form.js.coffee.diff original: changeSection = (e, noscroll)-> updated: changeSection = -> <|file_sep|>app/assets/javascripts/main_form.js.coffee.diff original: window.scrollTo 0, 0 unless noscroll updated: scrollToTop = -> window.scrollTo 0, 0 <|file_sep|...
$(window).on 'hashchange', scrollToTop showDownloadWarning = -> $('#download-warning').modal() submitUpdateForm = -> $('#update-button').submit() initialize = (e)-> $('.download-forms').click( showDownloadWarning submitUpdateForm ) firstSectionHash = $('....
<|file_sep|>app/assets/javascripts/main_form.js.coffee.diff original: changeSection = (e, noscroll)-> updated: changeSection = -> <|file_sep|>app/assets/javascripts/main_form.js.coffee.diff original: window.scrollTo 0, 0 unless noscroll updated: scrollToTop = -> window.scrollTo 0, 0 <|file_sep|...
c63fb722e46a7fdb67b2647a3ca823c3347e4c09
app/assets/javascripts/main_form.js.coffee
app/assets/javascripts/main_form.js.coffee
CoffeeScript
<|file_sep|>original/v2/assets/Supplement/BSD-3-Clause/preface-pcre.txt <|file_sep|>current/v2/assets/Supplement/BSD-3-Clause/preface-pcre.txt <|file_sep|>updated/v2/assets/Supplement/BSD-3-Clause/preface-pcre.txt
PCRE LICENCE ------------ PCRE is a library of functions to support regular expressions whose syntax and semantics are as close as possible to those of the Perl 5 language. Release 8 of PCRE is distributed under the terms of the "BSD" licence, as specified below. The documentation for PCRE, supplied in the "doc" dire...
<|file_sep|>original/v2/assets/Supplement/BSD-3-Clause/preface-pcre.txt <|file_sep|>current/v2/assets/Supplement/BSD-3-Clause/preface-pcre.txt <|file_sep|>updated/v2/assets/Supplement/BSD-3-Clause/preface-pcre.txt PCRE LICENCE ------------ PCRE is a library of functions to support regular expressions whose syntax an...
d6427ad06ceca928969fad27366e06bb223a1d96
v2/assets/Supplement/BSD-3-Clause/preface-pcre.txt
v2/assets/Supplement/BSD-3-Clause/preface-pcre.txt
Text
<|file_sep|>original/setup.sh echo "Installing dependencies" npm install -g coffee-script npm install -g bower npm install --verbose bower install --verbose apt-get update apt-get install nfs-common apt-get install cifs-utils apt-get install transmission-daemon echo "Mount network shared drive" mount -t cifs -o usern...
npm install -g coffee-script npm install -g bower npm install --verbose bower install --verbose apt-get update apt-get install nfs-common apt-get install cifs-utils apt-get install transmission-daemon # Clean cache npm cache clean rm -rf /tmp/* echo "Mount network shared drive" mount -t cifs -o username=root,passwor...
<|file_sep|>original/setup.sh echo "Installing dependencies" npm install -g coffee-script npm install -g bower npm install --verbose bower install --verbose apt-get update apt-get install nfs-common apt-get install cifs-utils apt-get install transmission-daemon echo "Mount network shared drive" mount -t cifs -o usern...
60094ac0f94201227ec6069c4cd966dc2a936c9b
setup.sh
setup.sh
Shell
<|file_sep|>package.json.diff original: "version": "0.0.1", updated: "version": "0.0.2", <|file_sep|>original/package.json { "name": "wagner-core", "version": "0.0.1", "description": "Dependency-injection-inspired async framework that doubles as an isomorphic AngularJS-compatible dependency injector.", "mai...
{ "name": "wagner-core", "version": "0.0.2", "description": "Dependency-injection-inspired async framework that doubles as an isomorphic AngularJS-compatible dependency injector.", "main": "index.js", "scripts": { "test": "./node_modules/mocha/bin/mocha ./test/*.test.js" }, "dependencies": { "blue...
<|file_sep|>package.json.diff original: "version": "0.0.1", updated: "version": "0.0.2", <|file_sep|>original/package.json { "name": "wagner-core", "version": "0.0.1", "description": "Dependency-injection-inspired async framework that doubles as an isomorphic AngularJS-compatible dependency injector.", "mai...
33612acb8b81b1b6784efc7030b09c0a597caee8
package.json
package.json
JSON
<|file_sep|>original/glide.yaml package: github.com/bitgo/rmgd import: - package: github.com/btcsuite/btclog - package: github.com/bitgo/rmgd/rmgutil subpackages: - . - bloom - base58 - hdkeychain - package: github.com/btcsuite/btcrpcclient - package: github.com/btcsuite/fastsha256 - package: github.com/btcsu...
package: github.com/bitgo/rmgd import: - package: github.com/btcsuite/btclog - package: github.com/btcsuite/btcrpcclient - package: github.com/btcsuite/fastsha256 - package: github.com/btcsuite/go-flags - package: github.com/btcsuite/go-socks subpackages: - socks - package: github.com/btcsuite/golangcrypto subpac...
<|file_sep|>original/glide.yaml package: github.com/bitgo/rmgd import: - package: github.com/btcsuite/btclog - package: github.com/bitgo/rmgd/rmgutil subpackages: - . - bloom - base58 - hdkeychain - package: github.com/btcsuite/btcrpcclient - package: github.com/btcsuite/fastsha256 - package: github.com/btcsu...
e2bb5104ffc14674d9363820a6e992c9eaf1d939
glide.yaml
glide.yaml
YAML
<|file_sep|>original/custom/64-async.el ;; Compile packages in the background. (async-bytecomp-package-mode 1) <|file_sep|>current/custom/64-async.el ;; Compile packages in the background. (async-bytecomp-package-mode 1) <|file_sep|>updated/custom/64-async.el
;; Compile packages in the background. (async-bytecomp-package-mode 1) ;; Allow copying in the background. (autoload 'dired-async-mode "dired-async.el" nil t) (dired-async-mode 1)
<|file_sep|>original/custom/64-async.el ;; Compile packages in the background. (async-bytecomp-package-mode 1) <|file_sep|>current/custom/64-async.el ;; Compile packages in the background. (async-bytecomp-package-mode 1) <|file_sep|>updated/custom/64-async.el ;; Compile packages in the background. (async-bytecomp-packa...
6125bd9717201eb3d595677dad6c3ee667d92c69
custom/64-async.el
custom/64-async.el
Emacs Lisp
<|file_sep|>server.js.diff original: ruby.stdin.write('exec($0)\n', function() { updated: ruby.stdin.write('exec($0)\n'); setTimeout(function() { <|file_sep|>original/server.js ruby.on('close', function(code) { console.log('Exit code: ' + code); }); socket.on('fileInput', f...
ruby.on('close', function(code) { console.log('Exit code: ' + code); }); socket.on('fileInput', function(data) { console.log(data); ruby.stdin.write('exec($0)\n'); setTimeout(function() { ruby.stdin.write(data.input + '\n'); }, 1000); }); socket...
<|file_sep|>server.js.diff original: ruby.stdin.write('exec($0)\n', function() { updated: ruby.stdin.write('exec($0)\n'); setTimeout(function() { <|file_sep|>original/server.js ruby.on('close', function(code) { console.log('Exit code: ' + code); }); socket.on('fileInput', f...
2db8225510508f868341693ad6d4ab90f7993609
server.js
server.js
JavaScript
<|file_sep|>original/README.md Freetalks ========= Freetalks is a video catalog of talks and lectures. ### Licenses This work is licensed under the MIT License (see the LICENSE file). <|file_sep|>current/README.md Freetalks ========= Freetalks is a video catalog of talks and lectures. ### Licenses This work is li...
Freetalks ========= Freetalks is a video catalog of talks and lectures. ### Development Data Go to [http://localhost:8080/_ah/admin/interactive Development Console] and run the follow: from tests.fixtures import dataset dataset.setup() ### Licenses This work is licensed under the MIT License (see the LICE...
<|file_sep|>original/README.md Freetalks ========= Freetalks is a video catalog of talks and lectures. ### Licenses This work is licensed under the MIT License (see the LICENSE file). <|file_sep|>current/README.md Freetalks ========= Freetalks is a video catalog of talks and lectures. ### Licenses This work is li...
06a2f874b4ca896c262d77bb745a5021c5bc6873
README.md
README.md
Markdown
<|file_sep|>original/.forestry/front_matter/templates/splash.yml --- label: Splash hide_body: false fields: - name: overlay_color type: color label: Overlay Color config: required: false color_format: Hex - name: overlay_image type: file config: maxSize: 250 label: Overlay Image - name: excerpt ...
label: Overlay Color config: required: false color_format: Hex - name: overlay_image type: file config: maxSize: 250 label: Overlay Image - name: excerpt type: text config: required: false label: Excerpt - name: layout type: text config: required: false label: Layout hidden: ...
<|file_sep|>original/.forestry/front_matter/templates/splash.yml --- label: Splash hide_body: false fields: - name: overlay_color type: color label: Overlay Color config: required: false color_format: Hex - name: overlay_image type: file config: maxSize: 250 label: Overlay Image - name: excerpt ...
7df80725dea14a56c829b8c295b3ea1c22d8a832
.forestry/front_matter/templates/splash.yml
.forestry/front_matter/templates/splash.yml
YAML
<|file_sep|>original/emacs-read-stdin.sh # Replace with `emacs` to not run as server/client emacsclient -c -n $@ } # An emacs 'alias' with the ability to read from stdin function e { # If the argument is - then write stdin to a tempfile and open the # tempfile. if [[ $1 == - ]]; then tempf...
# Replace with `emacs` to not run as server/client emacsclient -c -n $@ } # An emacs 'alias' with the ability to read from stdin function e { # If the argument is - then write stdin to a tempfile and open the # tempfile. if [[ $# -ge 1 ]] && [[ $1 == - ]]; then tempfile=$(mktemp emacs-stdi...
<|file_sep|>original/emacs-read-stdin.sh # Replace with `emacs` to not run as server/client emacsclient -c -n $@ } # An emacs 'alias' with the ability to read from stdin function e { # If the argument is - then write stdin to a tempfile and open the # tempfile. if [[ $1 == - ]]; then tempf...
74c0b914e416656f06931d57dd371e01483a3937
emacs-read-stdin.sh
emacs-read-stdin.sh
Shell
<|file_sep|>original/src/views/basic.html {% set sitename="React Koa Postgres Mocha Demo" %} <!DOCTYPE html> <html> <head> <title>{{sitename}}</title> <meta name="viewport" content="width=device-width, initial-scale=1"> {% if STYLE_URL %} <link rel="stylesheet" href={{STYLE_URL}}> {% endif %} </head...
{% set sitename="React Koa Postgres Mocha Demo" %} <!DOCTYPE html> <html> <head> <title>{{sitename}}</title> <meta name="viewport" content="width=device-width, initial-scale=1"> {% if STYLE_URL %} <link rel="stylesheet" href={{STYLE_URL}}> {% endif %} </head> <body> <div id="content"></div> <div cla...
<|file_sep|>original/src/views/basic.html {% set sitename="React Koa Postgres Mocha Demo" %} <!DOCTYPE html> <html> <head> <title>{{sitename}}</title> <meta name="viewport" content="width=device-width, initial-scale=1"> {% if STYLE_URL %} <link rel="stylesheet" href={{STYLE_URL}}> {% endif %} </head...
5599758aee0c6bfed7b09be545ef02e6f9bf8a61
src/views/basic.html
src/views/basic.html
HTML
<|file_sep|>original/templates/jenkins/jenkins.yml # Container for running Jenkins with a local jobs volume # Run this image via # - `docker-compose -f jenkins.yml -p <%= machineName %> run jenkins` version: '2.1' services: jenkins: image: phase2/jenkins-docker:1.9.1 volumes: # Primary jenkins config...
# Container for running Jenkins with a local jobs volume # Run this image via # - `docker-compose -f jenkins.yml -p <%= machineName %> run jenkins` version: '2.1' services: jenkins: image: phase2/jenkins-docker:latest volumes: # Primary jenkins configuration. Direct file mount prevents writing update...
<|file_sep|>original/templates/jenkins/jenkins.yml # Container for running Jenkins with a local jobs volume # Run this image via # - `docker-compose -f jenkins.yml -p <%= machineName %> run jenkins` version: '2.1' services: jenkins: image: phase2/jenkins-docker:1.9.1 volumes: # Primary jenkins config...
eea5ceeac95561faf35882c286ab850c5f61c581
templates/jenkins/jenkins.yml
templates/jenkins/jenkins.yml
YAML
<|file_sep|>original/.travis.yml osx_image: beta-xcode6.3 sudo: true language: objective-c podfile: adaptive-arp-rt/Podfile before_install: - gem install cocoapods script: - sudo xctool -workspace adaptive-arp-rt/adaptive-arp-rt.xcworkspace -scheme AdaptiveArpRtiOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO build <|fi...
osx_image: xcode7 sudo: true language: objective-c podfile: adaptive-arp-rt/Podfile before_install: - gem install cocoapods script: - sudo xctool -workspace adaptive-arp-rt/adaptive-arp-rt.xcworkspace -scheme AdaptiveArpRtiOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO build
<|file_sep|>original/.travis.yml osx_image: beta-xcode6.3 sudo: true language: objective-c podfile: adaptive-arp-rt/Podfile before_install: - gem install cocoapods script: - sudo xctool -workspace adaptive-arp-rt/adaptive-arp-rt.xcworkspace -scheme AdaptiveArpRtiOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO build <|fi...
e4f6278695fd7833319e315c2576565ef74a3d3b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/setup.py package_data={ "phileo": [ "templates/phileo/_like.html", "templates/phileo/_widget.html", "templates/phileo/_widget_brief.html" ] }, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment ::...
"templates/phileo/_like.html", "templates/phileo/_widget.html", "templates/phileo/_widget_brief.html" ] }, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", ...
<|file_sep|>original/setup.py package_data={ "phileo": [ "templates/phileo/_like.html", "templates/phileo/_widget.html", "templates/phileo/_widget_brief.html" ] }, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment ::...
02d842623a5b17e62d1cbfc829b0023508cf7f25
setup.py
setup.py
Python
<|file_sep|>src/main/java/me/modmuss50/rebornstorage/proxys/ClientProxy.java.diff original: updated: import com.raoulvdberge.refinedstorage.apiimpl.API; import me.modmuss50.rebornstorage.client.gui.ContainerMultiCrafter; <|file_sep|>src/main/java/me/modmuss50/rebornstorage/proxys/ClientProxy.java.diff original: updat...
import net.minecraft.client.Minecraft; import net.minecraft.inventory.Container; /** * Created by Gigabit101 on 03/01/2017. */ public class ClientProxy extends CommonProxy { @Override public void registerRenders() { ModelHelper.init(); API.instance().addPatternRenderHandler(itemStack -> { Container contain...
<|file_sep|>src/main/java/me/modmuss50/rebornstorage/proxys/ClientProxy.java.diff original: updated: import com.raoulvdberge.refinedstorage.apiimpl.API; import me.modmuss50.rebornstorage.client.gui.ContainerMultiCrafter; <|file_sep|>src/main/java/me/modmuss50/rebornstorage/proxys/ClientProxy.java.diff original: updat...
cf5041ea80267649e6c7d87cc305ad3838520657
src/main/java/me/modmuss50/rebornstorage/proxys/ClientProxy.java
src/main/java/me/modmuss50/rebornstorage/proxys/ClientProxy.java
Java
<|file_sep|>actions/user/userprofile/removeUser.js.diff original: //TODO logout user - context.executeAction(userSignOut, {}); throws an error updated: context.deleteUser(); context.dispatch('DELETE_USER_SUCCESS', null); <|file_sep|>original/actions/user/userprofile/removeUser.js ex...
payload.params = {}; payload.params.id = context.getStore(UserProfileStore).userid; payload.params.jwt = context.getStore(UserProfileStore).jwt; context.service.delete('userProfile.remove', payload, { timeout: 20 * 1000 }, (err, res) => { if (err) { if (err.statusCode === 404) { ...
<|file_sep|>actions/user/userprofile/removeUser.js.diff original: //TODO logout user - context.executeAction(userSignOut, {}); throws an error updated: context.deleteUser(); context.dispatch('DELETE_USER_SUCCESS', null); <|file_sep|>original/actions/user/userprofile/removeUser.js ex...
15a4ef4527df3cfaa859123bfaaf9e1253d37b8f
actions/user/userprofile/removeUser.js
actions/user/userprofile/removeUser.js
JavaScript
<|file_sep|>original/config-example.toml port = 8001 horizon = "https://horizon-testnet.stellar.org" api_key = "" assets = ["USD", "EUR"] [database] type = "mysql" url = "root:@/gateway_test?parseTime=true" [accounts] authorizing_seed = "SDMRITVCFY6IIK6H5DXIVUOL342YFVE3VFOGVF3D7XXHGITPX4ABMYXR" # GCAW3TYUYGCNODKO4QK...
port = 8001 horizon = "https://horizon-testnet.stellar.org" network_passphrase = "Test SDF Network ; September 2015" api_key = "" assets = ["USD", "EUR"] [database] type = "mysql" url = "root:@/gateway_test?parseTime=true" [accounts] authorizing_seed = "SDMRITVCFY6IIK6H5DXIVUOL342YFVE3VFOGVF3D7XXHGITPX4ABMYXR" # GCAW...
<|file_sep|>original/config-example.toml port = 8001 horizon = "https://horizon-testnet.stellar.org" api_key = "" assets = ["USD", "EUR"] [database] type = "mysql" url = "root:@/gateway_test?parseTime=true" [accounts] authorizing_seed = "SDMRITVCFY6IIK6H5DXIVUOL342YFVE3VFOGVF3D7XXHGITPX4ABMYXR" # GCAW3TYUYGCNODKO4QK...
8ab2be13e97241fa7784c43af7400642986f0cde
config-example.toml
config-example.toml
TOML
<|file_sep|>index.html.diff original: <body> <h1 style="color:black; font-size:40px; text-align:left">Fatma Ocal</h1> <nav align="right"> <a href="" style="color:red; font-size:20px">About</a> | <a href="" style="color:red; font-size:20px">Background</a> | <a href="" style="color:red; font...
<body> <h1 style="color:black; font-size:40px; text-align:left">Fatma Ocal</h1> <nav align="right"> <a href="" style="color:red; font-size:20px">About</a> | <a href="" style="color:red; font-size:20px">Background</a> | <a href="" style="color:red; font-size:20px">Education<...
<|file_sep|>index.html.diff original: <body> <h1 style="color:black; font-size:40px; text-align:left">Fatma Ocal</h1> <nav align="right"> <a href="" style="color:red; font-size:20px">About</a> | <a href="" style="color:red; font-size:20px">Background</a> | <a href="" style="color:red; font...
532d9227510ee4158bfed8696d58f8d42682411a
index.html
index.html
HTML
<|file_sep|>diorama.gemspec.diff original: s.add_dependency "rails", "~> 3.2.21" updated: s.add_dependency "rails", "~> 3.2" <|file_sep|>original/diorama.gemspec Gem::Specification.new do |s| s.name = "diorama" s.version = Diorama::VERSION s.authors = ["David Johnson"] s.email = ["david...
# Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "diorama" s.version = Diorama::VERSION s.authors = ["David Johnson"] s.email = ["david@softwareblacksmith.com"] s.homepage = "https://github.com/anotherdjohnson/diorama" s.summary = "Store Ra...
<|file_sep|>diorama.gemspec.diff original: s.add_dependency "rails", "~> 3.2.21" updated: s.add_dependency "rails", "~> 3.2" <|file_sep|>original/diorama.gemspec Gem::Specification.new do |s| s.name = "diorama" s.version = Diorama::VERSION s.authors = ["David Johnson"] s.email = ["david...
2a6a35fdc3d5507b5b06cfe1fc6f70b329fabe7d
diorama.gemspec
diorama.gemspec
Ruby
<|file_sep|>original/build.sbt crossScalaVersions := Seq("2.11.11", "2.10.6") lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "org.scalatest" %% "scalatest" % "3.0.3" % Test ) ) publishTo := { val host = "https://flow.artifactoryonline.com/flow" if (isSnapshot.v...
crossScalaVersions := Seq("2.11.11", "2.10.6") lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "org.scalatest" %% "scalatest" % "3.0.3" % Test ) ) publishTo := { val host = "https://flow.artifactoryonline.com/flow" if (isSnapshot.value) { Some("Artifactory R...
<|file_sep|>original/build.sbt crossScalaVersions := Seq("2.11.11", "2.10.6") lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "org.scalatest" %% "scalatest" % "3.0.3" % Test ) ) publishTo := { val host = "https://flow.artifactoryonline.com/flow" if (isSnapshot.v...
8706872d89e625eb1134df49a98dfb4a14968014
build.sbt
build.sbt
Scala
<|file_sep|>original/menus/codekit-atom-sync.json { "context-menu": { "atom-text-editor": [{ "label": "Add project to CodeKit", "command": "codekit-atom-sync:add-project-to-codekit" }] }, "menu": [{ "label": "Packages", "submenu": [{ "label...
{ "context-menu": { "atom-text-editor": [{ "label": "Open CodeKit", "command": "codekit-atom-sync:open-codekit" }, { "label": "Add project to CodeKit", "command": "codekit-atom-sync:add-project-to-codekit" } ...
<|file_sep|>original/menus/codekit-atom-sync.json { "context-menu": { "atom-text-editor": [{ "label": "Add project to CodeKit", "command": "codekit-atom-sync:add-project-to-codekit" }] }, "menu": [{ "label": "Packages", "submenu": [{ "label...
ba3d63c152ddb154550e6e7057d14611533cef21
menus/codekit-atom-sync.json
menus/codekit-atom-sync.json
JSON
<|file_sep|>original/test/test_binds.rb <|file_sep|>current/test/test_binds.rb <|file_sep|>updated/test/test_binds.rb
require 'helper' class TestQuery < Test::Unit::TestCase attr_accessor :dbh def setup self.dbh = new_database end def teardown @dbh.disconnect if @dbh && @dbh.connected? end def test_bind_projection_term assert_raise(Rubyfb::FireRubyException, "SELECT ? did not raise expected error") do ...
<|file_sep|>original/test/test_binds.rb <|file_sep|>current/test/test_binds.rb <|file_sep|>updated/test/test_binds.rb require 'helper' class TestQuery < Test::Unit::TestCase attr_accessor :dbh def setup self.dbh = new_database end def teardown @dbh.disconnect if @dbh && @dbh.connected? end def...
16a14be62bd63eb7c79b82f838942c4f80a51ae4
test/test_binds.rb
test/test_binds.rb
Ruby
<|file_sep|>original/src/phantom/bootstrapper.js if (status !== 'success') { console.error('Page could not be opened'); serverObj.close(); phantom.exit(1); } // TODO(rrp): Generalize this bit // Wait for fyre-comment-stream el? (need to ensure 100% loaded somehow) util.waitF...
if (status !== 'success') { console.error('Page could not be opened'); serverObj.close(); phantom.exit(1); } // TODO(rrp): Generalize this bit // Wait for fyre-comment-stream el? (need to ensure 100% loaded somehow) util.waitFor(function() { return page.evaluate(func...
<|file_sep|>original/src/phantom/bootstrapper.js if (status !== 'success') { console.error('Page could not be opened'); serverObj.close(); phantom.exit(1); } // TODO(rrp): Generalize this bit // Wait for fyre-comment-stream el? (need to ensure 100% loaded somehow) util.waitF...
39ab1b873b3dccb7a864904f32bcd0c80c8f74a6
src/phantom/bootstrapper.js
src/phantom/bootstrapper.js
JavaScript
<|file_sep|>original/server/middleware/auth.js const session = require('express-session'); const RedisStore = require('connect-redis')(session); const redisClient = require('redis').createClient(); module.exports.verify = (req, res, next) => { if (req.isAuthenticated()) { return next(); } res.redirect('/logi...
const session = require('express-session'); const RedisStore = require('connect-redis')(session); const redisClient = require('redis').createClient(process.env.REDIS_URL) || require('redis').createClient; module.exports.verify = (req, res, next) => { if (req.isAuthenticated()) { return next(); } res.redirect...
<|file_sep|>original/server/middleware/auth.js const session = require('express-session'); const RedisStore = require('connect-redis')(session); const redisClient = require('redis').createClient(); module.exports.verify = (req, res, next) => { if (req.isAuthenticated()) { return next(); } res.redirect('/logi...
74aa179b5e16f5456a7529326820aba1a97bbb1e
server/middleware/auth.js
server/middleware/auth.js
JavaScript
<|file_sep|>layouts/partials/main-menu.html.diff original: <ul> <li><a href="{{ .Site.BaseUrl }}" tabindex="2" accesskey="1" title="" aria-label="{{ $.Site.Data.locale.sitename }}">{{title $.Site.Data.locale.home }}</a></li> <li><a href="/post/">Blog</...
<nav id="menu" class="column" role="navigation"> <h2 class="sr-only">{{title $.Site.Data.locale.primaryNavigation }}</h2> <ul class="sidebar-menu"> <li><a href="{{ .Site.BaseUrl }}" tabindex="2" accesskey="1" title="" aria-label="{{ $.Site...
<|file_sep|>layouts/partials/main-menu.html.diff original: <ul> <li><a href="{{ .Site.BaseUrl }}" tabindex="2" accesskey="1" title="" aria-label="{{ $.Site.Data.locale.sitename }}">{{title $.Site.Data.locale.home }}</a></li> <li><a href="/post/">Blog</...
ef9bf26e378f3338cd582f25e9b273ddc0133a99
layouts/partials/main-menu.html
layouts/partials/main-menu.html
HTML
<|file_sep|>original/user-lisp/rust-customisations.el (require 'flycheck) (add-hook 'flycheck-mode-hook #'flycheck-rust-setup) (provide 'rust-customisations) <|file_sep|>current/user-lisp/rust-customisations.el (require 'flycheck) (add-hook 'flycheck-mode-hook #'flycheck-rust-setup) (provide 'rust-customisations) <|f...
(require 'flycheck) (add-hook 'flycheck-mode-hook #'flycheck-rust-setup) (add-hook 'rust-mode-hook #'flycheck-mode) (provide 'rust-customisations)
<|file_sep|>original/user-lisp/rust-customisations.el (require 'flycheck) (add-hook 'flycheck-mode-hook #'flycheck-rust-setup) (provide 'rust-customisations) <|file_sep|>current/user-lisp/rust-customisations.el (require 'flycheck) (add-hook 'flycheck-mode-hook #'flycheck-rust-setup) (provide 'rust-customisations) <|f...
b3c2c211cc4738a76d43c1a3af8dbc40382636bf
user-lisp/rust-customisations.el
user-lisp/rust-customisations.el
Emacs Lisp
<|file_sep|>package.json.diff original: "express": "~4.4.1", updated: "express": "~4.17.1", <|file_sep|>original/package.json { "name": "lunch", "version": "0.0.1", "description": "Small app that shows what's for lunch at the Edison restaurant in Lund, Sweden", "main": "server.js", "dependencies": { ...
{ "name": "lunch", "version": "0.0.1", "description": "Small app that shows what's for lunch at the Edison restaurant in Lund, Sweden", "main": "server.js", "dependencies": { "cheerio": "~0.16.0", "express": "~4.17.1", "moment": "^2.10.2", "request": "~2.88.0" }, "devDependencies": {}, "...
<|file_sep|>package.json.diff original: "express": "~4.4.1", updated: "express": "~4.17.1", <|file_sep|>original/package.json { "name": "lunch", "version": "0.0.1", "description": "Small app that shows what's for lunch at the Edison restaurant in Lund, Sweden", "main": "server.js", "dependencies": { ...
e9f14d848381f328009de9009579956ba1a48650
package.json
package.json
JSON
<|file_sep|>lib/s3_storage/null.rb.diff original: def save(_asset, _options = {}); end updated: def save(*); end <|file_sep|>lib/s3_storage/null.rb.diff original: def presigned_url_for(_asset, _http_method: 'GET') updated: def presigned_url_for(*) <|file_sep|>lib/s3_storage/null.rb.diff original: de...
class S3Storage NOT_CONFIGURED_ERROR_MESSAGE = 'AWS S3 bucket not correctly configured'.freeze class Null def save(*); end def presigned_url_for(*) raise NotConfiguredError.new(NOT_CONFIGURED_ERROR_MESSAGE) end def exists?(*) raise NotConfiguredError.new(NOT_CONFIGURED_ERROR_MESSAGE) ...
<|file_sep|>lib/s3_storage/null.rb.diff original: def save(_asset, _options = {}); end updated: def save(*); end <|file_sep|>lib/s3_storage/null.rb.diff original: def presigned_url_for(_asset, _http_method: 'GET') updated: def presigned_url_for(*) <|file_sep|>lib/s3_storage/null.rb.diff original: de...
d5631b3264c37f5c3ddd16f35c8245fc129c7175
lib/s3_storage/null.rb
lib/s3_storage/null.rb
Ruby
<|file_sep|>original/.github/workflows/ci-workflow.yml build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: install run: sudo apt-get -qq update run: sudo apt-get install -y git libboost-all-dev libtbb-dev cmake - name: root run: wget https://root.cern/...
name: j-pet-continuous-integration-tests on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - run: sudo apt-get -qq update - run: sudo apt-get install -y git libboost-all-dev libtbb-dev cmake - run: wget https://root.cern/download/root_v6.12.06.Linux-ubuntu...
<|file_sep|>original/.github/workflows/ci-workflow.yml build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: install run: sudo apt-get -qq update run: sudo apt-get install -y git libboost-all-dev libtbb-dev cmake - name: root run: wget https://root.cern/...
c4a283668ab5bf80e5cd43f3e9b2b0ea837f34a7
.github/workflows/ci-workflow.yml
.github/workflows/ci-workflow.yml
YAML
<|file_sep|>original/_posts/2012-06-11-php-object-2d-sorting.md <|file_sep|>current/_posts/2012-06-11-php-object-2d-sorting.md <|file_sep|>updated/_posts/2012-06-11-php-object-2d-sorting.md
--- layout: post title: "PHP Object 2D Sorting" date: 2012-06-11 categories: php oop excerpt: "Welcome to the latest iteration of my personal website." --- For a project at work I needed to sort an array of objects by multiple dimensions, so I experimentate with `uasort` to figure out an easy way of doing this. Thi...
<|file_sep|>original/_posts/2012-06-11-php-object-2d-sorting.md <|file_sep|>current/_posts/2012-06-11-php-object-2d-sorting.md <|file_sep|>updated/_posts/2012-06-11-php-object-2d-sorting.md --- layout: post title: "PHP Object 2D Sorting" date: 2012-06-11 categories: php oop excerpt: "Welcome to the latest iteratio...
eff5f49cec5b4b260e739c124457bc7e0a082d30
_posts/2012-06-11-php-object-2d-sorting.md
_posts/2012-06-11-php-object-2d-sorting.md
Markdown
<|file_sep|>original/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs private void UpdateLinks(MarkdownObject markdownObject) { switch (markdownObject) { case TabTitleBlock _: break; case Li...
private void UpdateLinks(MarkdownObject markdownObject) { switch (markdownObject) { case TabTitleBlock _: break; case LinkInline linkInline: linkInline.Url = _context.GetLink(linkInline.Url, linkInline); ...
<|file_sep|>original/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs private void UpdateLinks(MarkdownObject markdownObject) { switch (markdownObject) { case TabTitleBlock _: break; case Li...
e2693957abecb521752c5a40dbb31ef2e6862a94
src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs
src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs
C#
<|file_sep|>original/Argo/Types/Decoded/Monad.swift - If the value is a failing case (`.TypeMismatch`, `.MissingKey`), the function will not be evaluated and this will return the value - If the value is `.Success`, the function will be applied to the unwrapped value - parameter x: A value of type `Decoded<T>` ...
- parameter x: A value of type `Decoded<T>` - parameter f: A transformation function from type `T` to type `Decoded<U>` - returns: A value of type `Decoded<U>` */ public func >>- <T, U>(x: Decoded<T>, @noescape f: T -> Decoded<U>) -> Decoded<U> { return x.flatMap(f) } /** flatMap a function over a `Decoded...
<|file_sep|>original/Argo/Types/Decoded/Monad.swift - If the value is a failing case (`.TypeMismatch`, `.MissingKey`), the function will not be evaluated and this will return the value - If the value is `.Success`, the function will be applied to the unwrapped value - parameter x: A value of type `Decoded<T>` ...
b4ed0850abccf641af7aa25bff3a5dc2db74cd07
Argo/Types/Decoded/Monad.swift
Argo/Types/Decoded/Monad.swift
Swift
<|file_sep|>lib/imul.tas.cpp.diff original: pushall(h,i,j,k) updated: pushall(h,i,j) <|file_sep|>lib/imul.tas.cpp.diff original: j <- c >> 31 // save sign bit in j updated: j <- d >> 31 // save sign bit in j <|file_sep|>lib/imul.tas.cpp.diff original: c <- c ^ j // adjust multiplicand ...
j <- -j // convert sign to flag d <- d ^ j // adjust multiplier d <- d - j L_top: // use constant 1 in h to combine instructions i <- d & h - 1 i <- c &~ i b <- b + i c <- c << 1 d <- d >> 1 i <- d <> 0 jnzrel(i, L_top) L_done: b <- b ^ j // adjust pro...
<|file_sep|>lib/imul.tas.cpp.diff original: pushall(h,i,j,k) updated: pushall(h,i,j) <|file_sep|>lib/imul.tas.cpp.diff original: j <- c >> 31 // save sign bit in j updated: j <- d >> 31 // save sign bit in j <|file_sep|>lib/imul.tas.cpp.diff original: c <- c ^ j // adjust multiplicand ...
cfb0b3d8b66601dfed591730e6ab7c069228bb2e
lib/imul.tas.cpp
lib/imul.tas.cpp
C++
<|file_sep|>.travis.yml.diff original: language: lisp updated: language: common-lisp sudo: false addons: apt: packages: - libc6-i386 - openjdk-7-jre <|file_sep|>.travis.yml.diff original: updated: global: - PATH=~/.roswell/bin:$PATH - ROSWELL_INSTALL_DIR=$HOME/.roswell <|file_sep|>.travis....
fast_finish: true allow_failures: - env: LISP=abcl-bin - env: LISP=allegro # - env: LISP=cmu-bin # - env: LISP=clasp install: - curl -L 'https://raw.githubusercontent.com/snmsts/roswell/release/scripts/install-for-ci.sh' | sh cache: directories: - $HOME/.roswell - $HOME/.config/common-...
<|file_sep|>.travis.yml.diff original: language: lisp updated: language: common-lisp sudo: false addons: apt: packages: - libc6-i386 - openjdk-7-jre <|file_sep|>.travis.yml.diff original: updated: global: - PATH=~/.roswell/bin:$PATH - ROSWELL_INSTALL_DIR=$HOME/.roswell <|file_sep|>.travis....
7d200d3253113eea0b7b448b3dcd97bf7cbeeb0f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/docs/examples/tanksystem.rst ============ 2-Tanksystem ============ Two tanks are connected in series, where tank 1 is filled with a water inflow controled by pump. .. TODO:: add figure and move example to tanks on the same level <|file_sep|>current/docs/examples/tanksystem.rst ============ 2-Tan...
============ 2-Tanksystem ============ Two tanks are connected in series, where tank 1 is filled with a water inflow controled by pump. .. figure:: ../pictures/ballbeam.png :align: center :alt: Image of tanksystem The 2-Tanksystem For the first tank: .. math:: A_1 \dot{h}_1(t) & = q_{\mathrm{in}}...
<|file_sep|>original/docs/examples/tanksystem.rst ============ 2-Tanksystem ============ Two tanks are connected in series, where tank 1 is filled with a water inflow controled by pump. .. TODO:: add figure and move example to tanks on the same level <|file_sep|>current/docs/examples/tanksystem.rst ============ 2-Tan...
44d44caa5a183ba302d28805b6dac8c5c7114d34
docs/examples/tanksystem.rst
docs/examples/tanksystem.rst
reStructuredText
<|file_sep|>original/requirements/dev.txt # This file pulls in everything a developer needs. If it's a basic package # needed to run the site, it belongs in requirements/prod.txt. If it's a # package for developers (testing, docs, etc.), it goes in this file. -r prod.txt # Documentation Sphinx # Testing nose mock dja...
# This file pulls in everything a developer needs. If it's a basic package # needed to run the site, it belongs in requirements/prod.txt. If it's a # package for developers (testing, docs, etc.), it goes in this file. -r prod.txt # Deployment Fabric # Documentation Sphinx # Testing nose mock django-nose -e git://git...
<|file_sep|>original/requirements/dev.txt # This file pulls in everything a developer needs. If it's a basic package # needed to run the site, it belongs in requirements/prod.txt. If it's a # package for developers (testing, docs, etc.), it goes in this file. -r prod.txt # Documentation Sphinx # Testing nose mock dja...
da85011c32cd5ef935df33c0627870a38a4ef617
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>docker-compose.base.yml.diff original: updated: - indexd <|file_sep|>original/docker-compose.base.yml file: docker-compose.tmpl.yml service: indexd-base-testnet counterparty: extends: file: docker-compose.tmpl.yml service: counterparty-base-mainnet links: - bi...
counterparty: extends: file: docker-compose.tmpl.yml service: counterparty-base-mainnet links: - bitcoin - indexd counterparty-testnet: extends: file: docker-compose.tmpl.yml service: counterparty-base-testnet links: - bitcoin-testnet - indexd-testne...
<|file_sep|>docker-compose.base.yml.diff original: updated: - indexd <|file_sep|>original/docker-compose.base.yml file: docker-compose.tmpl.yml service: indexd-base-testnet counterparty: extends: file: docker-compose.tmpl.yml service: counterparty-base-mainnet links: - bi...
e96ddec7e80d525622d6698dff87d0f2df1e4a4e
docker-compose.base.yml
docker-compose.base.yml
YAML
<|file_sep|>README.md.diff original: ## developers ## updated: ## Developers ## <|file_sep|>README.md.diff original: Cloning: https://review.openstack.org/p/openstack-ci/jenkins-job-builder.git updated: Cloning: https://github.com/openstack-ci/jenkins-job-builder.git <|file_sep|>original/README.md ## developers ## Bug ...
## Developers ## Bug report: https://bugs.launchpad.net/openstack-ci/ Cloning: https://github.com/openstack-ci/jenkins-job-builder.git Patches are submitted via Gerrit at https://review.openstack.org/ More details on how you can contribute is available on our wiki at: http://wiki.openstack.org/HowToContribute ### W...
<|file_sep|>README.md.diff original: ## developers ## updated: ## Developers ## <|file_sep|>README.md.diff original: Cloning: https://review.openstack.org/p/openstack-ci/jenkins-job-builder.git updated: Cloning: https://github.com/openstack-ci/jenkins-job-builder.git <|file_sep|>original/README.md ## developers ## Bug ...
1c6c180945eaf8d9efaca5eb0aba8f83c89e3bf1
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt Flask>=0.11.1 Flask-Cache==0.13.1 requests==2.18.4 beautifulsoup4>=4.5.1 flake8==3.5.0 pytest==3.6.1 retry==0.9.2 selenium==3.11.0 notifications-python-client==4.8.2 <|file_sep|>current/requirements.txt Flask>=0.11.1 Flask-Cache==0.13.1 requests==2.18.4 beautifulsoup4>=4.5.1 flake8...
Flask>=0.11.1 Flask-Cache==0.13.1 requests==2.18.4 beautifulsoup4>=4.5.1 flake8==3.5.0 pytest==3.6.2 retry==0.9.2 selenium==3.11.0 notifications-python-client==4.8.2
<|file_sep|>original/requirements.txt Flask>=0.11.1 Flask-Cache==0.13.1 requests==2.18.4 beautifulsoup4>=4.5.1 flake8==3.5.0 pytest==3.6.1 retry==0.9.2 selenium==3.11.0 notifications-python-client==4.8.2 <|file_sep|>current/requirements.txt Flask>=0.11.1 Flask-Cache==0.13.1 requests==2.18.4 beautifulsoup4>=4.5.1 flake8...
100ac66082d87f8d4457023f6318848bdb56bab1
requirements.txt
requirements.txt
Text
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 cookiecutter==1.6.0 pydocstyle==3.0.0 flake8_docstrings==1.3.0 planemo==0.58.2 pytest==4.3.1 pytest-cov==2.6.1 pytest-datadir-ng==1.1.0 pytest-flake8==1.0.4 pytest-mock==1.10.2 pytest-xdist==1.27.0 tox==3.8.3 <|file_sep|>current/requirements_dev.txt bumpversi...
bumpversion==0.5.3 cookiecutter==1.6.0 pydocstyle==3.0.0 flake8_docstrings==1.3.0 planemo==0.58.2 pytest==4.3.1 pytest-cov==2.7.1 pytest-datadir-ng==1.1.0 pytest-flake8==1.0.4 pytest-mock==1.10.2 pytest-xdist==1.27.0 tox==3.8.3
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 cookiecutter==1.6.0 pydocstyle==3.0.0 flake8_docstrings==1.3.0 planemo==0.58.2 pytest==4.3.1 pytest-cov==2.6.1 pytest-datadir-ng==1.1.0 pytest-flake8==1.0.4 pytest-mock==1.10.2 pytest-xdist==1.27.0 tox==3.8.3 <|file_sep|>current/requirements_dev.txt bumpversi...
ed5e4d2963de0b89d994e3a3684d2205475a9203
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/mozilla/gcli/ui/menu.html <|file_sep|>current/mozilla/gcli/ui/menu.html <|file_sep|>updated/mozilla/gcli/ui/menu.html
<div> <table class="gcli-menu-template" aria-live="polite"> <tr class="gcli-menu-option" foreach="item in ${items}" onclick="${onItemClickInternal}" title="${item.manual}"> <td class="gcli-menu-name">${item.name}</td> <td class="gcli-menu-desc">${item.description}</td> </tr> </table> ...
<|file_sep|>original/mozilla/gcli/ui/menu.html <|file_sep|>current/mozilla/gcli/ui/menu.html <|file_sep|>updated/mozilla/gcli/ui/menu.html <div> <table class="gcli-menu-template" aria-live="polite"> <tr class="gcli-menu-option" foreach="item in ${items}" onclick="${onItemClickInternal}" title="${item.m...
1724503c3e51e020c01ec828a7dcd146bc10a888
mozilla/gcli/ui/menu.html
mozilla/gcli/ui/menu.html
HTML
<|file_sep|>original/src/constants/LanguageColors.js const LANGUAGE_COLORS = { Scala: '#BB0017', Clojure: '#00AA00', JS: '#CCAA00', JavaScript: '#CCAA00', CoffeeScript: '#CCAA00', Ruby: '#9B111E', VB: '#663300', 'C#': '#7600BC', Go: '#996633', HTML5: '#FF0032', Swift: '#FC4831', Shell: '#03C103'...
import GITHUBCOLORS from '../config/github-colors.json'; const LANGUAGE_COLORS = GITHUBCOLORS; LANGUAGE_COLORS.DEFAULT= '#B3B3B3'; export default LANGUAGE_COLORS;
<|file_sep|>original/src/constants/LanguageColors.js const LANGUAGE_COLORS = { Scala: '#BB0017', Clojure: '#00AA00', JS: '#CCAA00', JavaScript: '#CCAA00', CoffeeScript: '#CCAA00', Ruby: '#9B111E', VB: '#663300', 'C#': '#7600BC', Go: '#996633', HTML5: '#FF0032', Swift: '#FC4831', Shell: '#03C103'...
d59767ea4bf2e0eeeb8537302d071284dc0459e6
src/constants/LanguageColors.js
src/constants/LanguageColors.js
JavaScript