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|>Pdf/PdfPageExtensions.cs.diff original: if (page == null) throw new ArgumentNullException("item", "The provided PDF page was null."); updated: if (page == null) throw new ArgumentNullException("page", "The provided PDF page was null."); <|file_sep|>Pdf/PdfPageExtensions.cs.diff original: P...
int index = 0; var resources = page.Elements.GetDictionary("/Resources"); if (resources != null) { var xObjects = resources.Elements.GetDictionary("/XObject"); if (xObjects != null) { var items = xObjects.Elements.Values; foreach (PdfItem item in items) { ...
<|file_sep|>Pdf/PdfPageExtensions.cs.diff original: if (page == null) throw new ArgumentNullException("item", "The provided PDF page was null."); updated: if (page == null) throw new ArgumentNullException("page", "The provided PDF page was null."); <|file_sep|>Pdf/PdfPageExtensions.cs.diff original: P...
047a2b289fcedd5cb481f1583be7ddafa5c9bc97
Pdf/PdfPageExtensions.cs
Pdf/PdfPageExtensions.cs
C#
<|file_sep|>original/.travis.yml language: node_js matrix: include: - node_js: '0.12' - node_js: iojs - node_js: 4 - node_js: 5 - node_js: 6 - node_js: node <|file_sep|>current/.travis.yml language: node_js matrix: include: - node_js: '0.12' - node_js: iojs - node_js: 4 - nod...
language: node_js matrix: include: - node_js: '0.12' - node_js: iojs - node_js: 4 - node_js: 6 - node_js: node
<|file_sep|>original/.travis.yml language: node_js matrix: include: - node_js: '0.12' - node_js: iojs - node_js: 4 - node_js: 5 - node_js: 6 - node_js: node <|file_sep|>current/.travis.yml language: node_js matrix: include: - node_js: '0.12' - node_js: iojs - node_js: 4 - nod...
977fa686acbea128bb3a6cd3f144b50be3ff0fa5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Settings/Label.h <|file_sep|>current/Settings/Label.h <|file_sep|>updated/Settings/Label.h
#pragma once #include "Control.h" class Label : public Control { public: Label() { } Label(int id, HWND parent) : Control(id, parent) { } };
<|file_sep|>original/Settings/Label.h <|file_sep|>current/Settings/Label.h <|file_sep|>updated/Settings/Label.h #pragma once #include "Control.h" class Label : public Control { public: Label() { } Label(int id, HWND parent) : Control(id, parent) { } };
677551cb87d393832540e5d2b1c282c82a0bab81
Settings/Label.h
Settings/Label.h
C
<|file_sep|>original/test/atom/AlfrescoH2CMISTest.php <|file_sep|>current/test/atom/AlfrescoH2CMISTest.php <|file_sep|>updated/test/atom/AlfrescoH2CMISTest.php
<?php require_once('../utils/phpunit.phar'); require_once('../../atom/cmis-lib.php'); class AlfrescoCMISH2Test extends PHPUnit_Framework_TestCase { protected $client; protected function setUp() { $repo_url = "http://localhost:8080/alfresco/cmisatom"; $repo_username = "admin"; $repo_password = "admin"; $this->...
<|file_sep|>original/test/atom/AlfrescoH2CMISTest.php <|file_sep|>current/test/atom/AlfrescoH2CMISTest.php <|file_sep|>updated/test/atom/AlfrescoH2CMISTest.php <?php require_once('../utils/phpunit.phar'); require_once('../../atom/cmis-lib.php'); class AlfrescoCMISH2Test extends PHPUnit_Framework_TestCase { protected...
22ab54584619d44d43ff3fd1eb8d87a778360191
test/atom/AlfrescoH2CMISTest.php
test/atom/AlfrescoH2CMISTest.php
PHP
<|file_sep|>original/docs/user-guide/custom-commands.md <|file_sep|>current/docs/user-guide/custom-commands.md <|file_sep|>updated/docs/user-guide/custom-commands.md
# Custom Commands One powerful feature of Moonshot is the ability to add custom project-specific commands. You can hook into many of the features provided by the `Moonshot::Controller` and `Moonshot::Stack` interface, and make native calls to AWS using the AWS SDK for Ruby v2. To do this, place a file in `moonshot/cl...
<|file_sep|>original/docs/user-guide/custom-commands.md <|file_sep|>current/docs/user-guide/custom-commands.md <|file_sep|>updated/docs/user-guide/custom-commands.md # Custom Commands One powerful feature of Moonshot is the ability to add custom project-specific commands. You can hook into many of the features provi...
aa5d421373ae6ad5ea6c6d863d93590f76b6499f
docs/user-guide/custom-commands.md
docs/user-guide/custom-commands.md
Markdown
<|file_sep|>fish_prompt.fish.diff original: set git_info "$blue ($red$git_branch$blue)" updated: set git_info "$normal ($red$git_branch$normal)" <|file_sep|>original/fish_prompt.fish end set -l cwd $cyan(basename (prompt_pwd)) if [ (_git_branch_name) ] if test (_git_branch_name) = 'master' ...
end set -l cwd $cyan(basename (prompt_pwd)) if [ (_git_branch_name) ] if test (_git_branch_name) = 'master' set -l git_branch (_git_branch_name) set git_info "$normal ($red$git_branch$normal)" else set -l git_branch (_git_branch_name) set git_info "$normal ($blue$git_branch$norma...
<|file_sep|>fish_prompt.fish.diff original: set git_info "$blue ($red$git_branch$blue)" updated: set git_info "$normal ($red$git_branch$normal)" <|file_sep|>original/fish_prompt.fish end set -l cwd $cyan(basename (prompt_pwd)) if [ (_git_branch_name) ] if test (_git_branch_name) = 'master' ...
ace6504b4edb25516d7357a7b99d03ad30a315ab
fish_prompt.fish
fish_prompt.fish
fish
<|file_sep|>freeciv/version.txt.diff original: # Previous:33048 FCREV=33062 updated: # Previous:33062 FCREV=33068 <|file_sep|>original/freeciv/version.txt # I keep previous version easily available here so I don't need to check # version history constantly when handling ruleset differences. # Previous:33048 FCREV=33062...
# I keep previous version easily available here so I don't need to check # version history constantly when handling ruleset differences. # Previous:33062 FCREV=33068 FCBRANCH=trunk ORIGCAPSTR="+Freeciv.Devel-3.0-2016.Jun.28" # There's no need to bump this constantly as current freeciv-web # makes no connections to ou...
<|file_sep|>freeciv/version.txt.diff original: # Previous:33048 FCREV=33062 updated: # Previous:33062 FCREV=33068 <|file_sep|>original/freeciv/version.txt # I keep previous version easily available here so I don't need to check # version history constantly when handling ruleset differences. # Previous:33048 FCREV=33062...
113bd287f465c98ad7f1809465d1d262163b558e
freeciv/version.txt
freeciv/version.txt
Text
<|file_sep|>circle.yml.diff original: updated: # Make directories for Box phar builder - mkdir build - mkdir $CIRCLE_ARTIFACTS/build <|file_sep|>circle.yml.diff original: general: artifacts: - "build/" updated: <|file_sep|>original/circle.yml dependencies: pre: # Enable xdebug - sed -i '...
# Disable phar.readonly - sed -i 's/^;phar.readonly/phar.readonly/' ~/.phpenv/versions/$(phpenv global)/etc/php.ini - sed -i 's/phar.readonly\s=\sOn/phar.readonly = Off/' ~/.phpenv/versions/$(phpenv global)/etc/php.ini # Make directories for Box phar builder - mkdir build - mkdir $CIRCLE_ARTIFAC...
<|file_sep|>circle.yml.diff original: updated: # Make directories for Box phar builder - mkdir build - mkdir $CIRCLE_ARTIFACTS/build <|file_sep|>circle.yml.diff original: general: artifacts: - "build/" updated: <|file_sep|>original/circle.yml dependencies: pre: # Enable xdebug - sed -i '...
ddb3174b527759c9af8c426acbcc78a475617d4f
circle.yml
circle.yml
YAML
<|file_sep|>app/controllers/pages_core/frontend_controller.rb.diff original: updated: before_filter :set_i18n_locale <|file_sep|>original/app/controllers/pages_core/frontend_controller.rb # encoding: utf-8 # Abstract controller for all frontend controllers. class PagesCore::FrontendController < ApplicationControll...
# Loads @root_pages and @rss_feeds. To automatically load these in your own controllers, # add the following line to your controller definition: # # before_filter :load_root_pages # def load_root_pages @root_pages = Page.root_pages( :language => @language ) @rss_feeds = Page.find( :all, :condition...
<|file_sep|>app/controllers/pages_core/frontend_controller.rb.diff original: updated: before_filter :set_i18n_locale <|file_sep|>original/app/controllers/pages_core/frontend_controller.rb # encoding: utf-8 # Abstract controller for all frontend controllers. class PagesCore::FrontendController < ApplicationControll...
29ff258c701f834843072ac04f9736cd941de7eb
app/controllers/pages_core/frontend_controller.rb
app/controllers/pages_core/frontend_controller.rb
Ruby
<|file_sep|>original/tests/cases/fourslash/quickInfoForIndexerResultWithConstraint.ts <|file_sep|>current/tests/cases/fourslash/quickInfoForIndexerResultWithConstraint.ts <|file_sep|>updated/tests/cases/fourslash/quickInfoForIndexerResultWithConstraint.ts
/// <reference path='fourslash.ts'/> ////function foo<T>(x: T) { //// return x; ////} ////function other2<T extends Date>(arg: T) { //// var b: { [x: string]: T }; //// var r2/*1*/ = foo(b); // just shows T ////} goTo.marker('1'); verify.quickInfoIs('{ [x: string]: T; }');
<|file_sep|>original/tests/cases/fourslash/quickInfoForIndexerResultWithConstraint.ts <|file_sep|>current/tests/cases/fourslash/quickInfoForIndexerResultWithConstraint.ts <|file_sep|>updated/tests/cases/fourslash/quickInfoForIndexerResultWithConstraint.ts /// <reference path='fourslash.ts'/> ////function foo<T>(x: T...
f0b7dfd49389f0ecba9ee6ccab0825a5fa5fddef
tests/cases/fourslash/quickInfoForIndexerResultWithConstraint.ts
tests/cases/fourslash/quickInfoForIndexerResultWithConstraint.ts
TypeScript
<|file_sep|>original/src/components/dropdown/dropdown.meta.json "default": [] }, "selectedElement": { "type": "string", "default": [] }, "getTexteElement": { "type": "Function" }, "invite": { "type": "string", ...
"default": [] }, "selectedElement": { "type": "string", "default": [] }, "getTexteElement": { "type": "Function" }, "state": { "type": "string", "values": [ "disabled" ], ...
<|file_sep|>original/src/components/dropdown/dropdown.meta.json "default": [] }, "selectedElement": { "type": "string", "default": [] }, "getTexteElement": { "type": "Function" }, "invite": { "type": "string", ...
8917f97f4f93942b322a14ebc2458965ddd8db90
src/components/dropdown/dropdown.meta.json
src/components/dropdown/dropdown.meta.json
JSON
<|file_sep|>original/config/application.rb require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module SpeakerinnenListe class Application < Rails::Application # Initialize configuration defaults for...
require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module SpeakerinnenListe class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. co...
<|file_sep|>original/config/application.rb require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module SpeakerinnenListe class Application < Rails::Application # Initialize configuration defaults for...
815a8d8d93589925ecdf3506ea1b51b85fcf8fef
config/application.rb
config/application.rb
Ruby
<|file_sep|>original/README.md # gitlab-ci-build-status Simple tool to check latest commit build from GitLab CI ## Installation The tool requires you have [PHP](https://php.net) 5.4.* + and [Composer](https://getcomposer.org). The get the latest version of gitlab-ci-build-status, add the following line to your `comp...
# gitlab-ci-build-status [![build status](https://travis-ci.org/maen-bn/gitlab-ci-build-status.svg?branch=master)](https://travis-ci.org/maen-bn/gitlab-ci-build-status) Simple tool to check latest commit build from GitLab CI ## Installation The tool requires you have [PHP](https://php.net) 5.4.* + and [Composer](htt...
<|file_sep|>original/README.md # gitlab-ci-build-status Simple tool to check latest commit build from GitLab CI ## Installation The tool requires you have [PHP](https://php.net) 5.4.* + and [Composer](https://getcomposer.org). The get the latest version of gitlab-ci-build-status, add the following line to your `comp...
448135a1978aa7fba3e1072a10462b3e2c9ffe54
README.md
README.md
Markdown
<|file_sep|>original/chrome/browser/resources/options2/chromeos/set_wallpaper_options.css /* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #wallpaper-title { margin: 40px 34px; } #wallpaper-tit...
/* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #wallpaper-title span { -webkit-padding-start: 17px; padding-top: 6px; } #set-wallpaper-page .content-area { height: 400px; } #wallpaper-gr...
<|file_sep|>original/chrome/browser/resources/options2/chromeos/set_wallpaper_options.css /* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #wallpaper-title { margin: 40px 34px; } #wallpaper-tit...
4ab48b34d1cf2870a66b6420c68318951b61b039
chrome/browser/resources/options2/chromeos/set_wallpaper_options.css
chrome/browser/resources/options2/chromeos/set_wallpaper_options.css
CSS
<|file_sep|>original/src/app/components/Header/Search/index.js query: "" }; debounced = debounce(this.onChange.bind(this), 500); onChange() { if (this.query !== this._input.value) { this.setState({ query: this._input.value }); this.props...
query: "" }; debounced = debounce(this.onChange.bind(this), 500); onChange() { if (this.query !== this._input.value) { this.setState({ query: this._input.value }); if (this._input.value !== '') { this.props.hi...
<|file_sep|>original/src/app/components/Header/Search/index.js query: "" }; debounced = debounce(this.onChange.bind(this), 500); onChange() { if (this.query !== this._input.value) { this.setState({ query: this._input.value }); this.props...
322193b5dc82fd7aa0d0fa43ef6a47be4251d966
src/app/components/Header/Search/index.js
src/app/components/Header/Search/index.js
JavaScript
<|file_sep|>original/requirements.txt boto3==1.4.7 botocore==1.7.25 certifi==2017.7.27.1 chardet==3.0.4 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.6 django-grappelli==2.10.1 django-haystack==2.6.1 django-linkcheck==1.5 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0.14 elasticsearch==5.4.0 fu...
boto3==1.4.7 botocore==1.7.26 certifi==2017.7.27.1 chardet==3.0.4 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.6 django-grappelli==2.10.1 django-haystack==2.6.1 django-linkcheck==1.5 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0.14 elasticsearch==5.4.0 futures==3.1.1 gunicorn==19.7.1 idna==2....
<|file_sep|>original/requirements.txt boto3==1.4.7 botocore==1.7.25 certifi==2017.7.27.1 chardet==3.0.4 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.6 django-grappelli==2.10.1 django-haystack==2.6.1 django-linkcheck==1.5 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0.14 elasticsearch==5.4.0 fu...
88ac1601c44204bcfaa90c5c95991533351d4a88
requirements.txt
requirements.txt
Text
<|file_sep|>original/tensorflow/tensorboard/components/tf-graph-app/demo/index.html <style> body { margin: 0; } </style> </head> <body> <h3>Answer to the Ultimate Question of Life, the Universe, and Everything</h3> <demo-snippet> <template> <tf-graph-app id="tfgraph"></tf-graph-app> <scr...
<style> body { margin: 0; } </style> </head> <body> <h3>Answer to the Ultimate Question of Life, the Universe, and Everything</h3> <demo-snippet> <template> <tf-graph-app id="tfgraph"></tf-graph-app> <script> let g = document.querySelector("#tfgraph"); fetch("graph.pbtxt"...
<|file_sep|>original/tensorflow/tensorboard/components/tf-graph-app/demo/index.html <style> body { margin: 0; } </style> </head> <body> <h3>Answer to the Ultimate Question of Life, the Universe, and Everything</h3> <demo-snippet> <template> <tf-graph-app id="tfgraph"></tf-graph-app> <scr...
9da6639cb4e02a9e39d8861a74b0db1cd10b40c5
tensorflow/tensorboard/components/tf-graph-app/demo/index.html
tensorflow/tensorboard/components/tf-graph-app/demo/index.html
HTML
<|file_sep|>original/src/Kernel/AbstractServiceProvider.php <|file_sep|>current/src/Kernel/AbstractServiceProvider.php <|file_sep|>updated/src/Kernel/AbstractServiceProvider.php
<?php /** * @author TheHostingTool Group * @version 2.0.0 * @package thehostingtool/core * @license MIT */ namespace TheHostingTool\Kernel; use Illuminate\Support\ServiceProvider; abstract class AbstractServiceProvider extends ServiceProvider { /** * @var Application */ protected $ap...
<|file_sep|>original/src/Kernel/AbstractServiceProvider.php <|file_sep|>current/src/Kernel/AbstractServiceProvider.php <|file_sep|>updated/src/Kernel/AbstractServiceProvider.php <?php /** * @author TheHostingTool Group * @version 2.0.0 * @package thehostingtool/core * @license MIT */ namespace TheHost...
56c8628922c694ba0ea29022541456fb2e91d2ed
src/Kernel/AbstractServiceProvider.php
src/Kernel/AbstractServiceProvider.php
PHP
<|file_sep|>original/create_window.py <|file_sep|>current/create_window.py <|file_sep|>updated/create_window.py
import pygame pygame.init() #-- SCREEN CHARACTERISTICS ------------------------->>> background_color = (255,255,255) (width, height) = (300, 200) #-- RENDER SCREEN ---------------------------------->>> screen = pygame.display.set_mode((width, height)) screen.fill(background_color) pygame.display.flip() #-- RUN LOO...
<|file_sep|>original/create_window.py <|file_sep|>current/create_window.py <|file_sep|>updated/create_window.py import pygame pygame.init() #-- SCREEN CHARACTERISTICS ------------------------->>> background_color = (255,255,255) (width, height) = (300, 200) #-- RENDER SCREEN ---------------------------------->>> ...
437b9c92e59215b41464f54a4040bf1be9d41d2d
create_window.py
create_window.py
Python
<|file_sep|>original/src/components/templates/todo-app/todo-app.jsx return ({ todos: TodoStore.getAll() }); }, componentDidMount: function() { TodoStore.addChangeListener(this._onChange); // fetch the initial list of todos from the server AppActions.getTodos(); }, _onChange: function() { ...
return ({ todos: TodoStore.getAll() }); }, componentDidMount: function() { TodoStore.addChangeListener(this._onChange); // fetch the initial list of todos from the server AppActions.getTodos(); }, componentWillUnmount: function() { TodoStore.removeChangeListener(this._onChange); }, _...
<|file_sep|>original/src/components/templates/todo-app/todo-app.jsx return ({ todos: TodoStore.getAll() }); }, componentDidMount: function() { TodoStore.addChangeListener(this._onChange); // fetch the initial list of todos from the server AppActions.getTodos(); }, _onChange: function() { ...
4c47726c25888d0b77133ae1ea2090801e3b7bae
src/components/templates/todo-app/todo-app.jsx
src/components/templates/todo-app/todo-app.jsx
JSX
<|file_sep|>original/README.rst :: $ apt install g++ xxd make nasm Gallery ======= .. image:: img/thinkpad_x220.jpg .. image:: img/qemu.png Similar projects ================ * https://github.com/jbush001/os * https://github.com/dthain/basekernel * https://github.com/domspad/yehos * https://github.com/blastrock...
$ apt install g++ xxd make nasm Gallery ======= .. image:: img/thinkpad_x220.jpg .. image:: img/qemu.png Similar projects ================ * https://github.com/jbush001/os * https://github.com/dthain/basekernel * https://github.com/domspad/yehos * https://github.com/blastrock/flix - C++ based kernel. * https:/...
<|file_sep|>original/README.rst :: $ apt install g++ xxd make nasm Gallery ======= .. image:: img/thinkpad_x220.jpg .. image:: img/qemu.png Similar projects ================ * https://github.com/jbush001/os * https://github.com/dthain/basekernel * https://github.com/domspad/yehos * https://github.com/blastrock...
3d575f43196c737031bdbdb153832a8a16f107c2
README.rst
README.rst
reStructuredText
<|file_sep|>original/.github/workflows/build.yml run: cargo build --verbose build_redox: name: Build on Redox OS runs-on: [ubuntu-latest] steps: - uses: actions/checkout@v1 - name: Set nightly default run: rustup default nightly - name: Export pkg path ...
run: cargo build --verbose build_redox: name: Build on Redox OS runs-on: [ubuntu-latest] steps: - uses: actions/checkout@v1 - name: Set nightly default run: rustup default nightly - name: Update run: sudo apt update - name: Install pkg-config ...
<|file_sep|>original/.github/workflows/build.yml run: cargo build --verbose build_redox: name: Build on Redox OS runs-on: [ubuntu-latest] steps: - uses: actions/checkout@v1 - name: Set nightly default run: rustup default nightly - name: Export pkg path ...
aab48da421c64297d6f2f125d34834c51d90781f
.github/workflows/build.yml
.github/workflows/build.yml
YAML
<|file_sep|>original/lib/bkwrapper/backup/compressor.rb module Bkwrapper module Backup module Compressor def compress_command "zip /var/tmp/#{compressed_filename} /var/tmp/#{backup_filename}" end def compressed_filename "#{backup_filename}.zip" end end end end <|file...
module Bkwrapper module Backup module Compressor def compress_command "zip -j /var/tmp/#{compressed_filename} /var/tmp/#{backup_filename}" end def compressed_filename "#{backup_filename}.zip" end end end end
<|file_sep|>original/lib/bkwrapper/backup/compressor.rb module Bkwrapper module Backup module Compressor def compress_command "zip /var/tmp/#{compressed_filename} /var/tmp/#{backup_filename}" end def compressed_filename "#{backup_filename}.zip" end end end end <|file...
afbcba7a8dc197443c8cd062476bb5693b24153d
lib/bkwrapper/backup/compressor.rb
lib/bkwrapper/backup/compressor.rb
Ruby
<|file_sep|>original/createproject.sh <|file_sep|>current/createproject.sh <|file_sep|>updated/createproject.sh
#!/bin/bash CORDOVA=${CORDOVA-cordova} set -x $CORDOVA create CordovaAppHarness org.apache.appharness CordovaAppHarness cd CordovaAppHarness echo ' var cordova = require('../../cordova-cli/cordova'); module.exports = function(grunt) { // Simple config to run jshint any time a file is added, changed or deleted ...
<|file_sep|>original/createproject.sh <|file_sep|>current/createproject.sh <|file_sep|>updated/createproject.sh #!/bin/bash CORDOVA=${CORDOVA-cordova} set -x $CORDOVA create CordovaAppHarness org.apache.appharness CordovaAppHarness cd CordovaAppHarness echo ' var cordova = require('../../cordova-cli/cordova'); m...
c46221fc016e919e62efae38d5fd92435ac66fad
createproject.sh
createproject.sh
Shell
<|file_sep|>spec/griddler/configuration_spec.rb.diff original: class DummyProcessor def self.process(email) true end updated: dummy_processor = Class.new Griddler.configure do |config| config.processor_class = dummy_processor <|file_sep|>original/spec/griddler/config...
describe 'with config block' do it 'stores config' do Griddler.configure do |config| config.to = :hash end Griddler.configuration.to.should eq :hash end it 'stores a processor_class' do dummy_processor = Class.new Griddler.configure do |config| config.proc...
<|file_sep|>spec/griddler/configuration_spec.rb.diff original: class DummyProcessor def self.process(email) true end updated: dummy_processor = Class.new Griddler.configure do |config| config.processor_class = dummy_processor <|file_sep|>original/spec/griddler/config...
28f5d578022c06f6b33ab16e0ff95c1d2fc3f0f5
spec/griddler/configuration_spec.rb
spec/griddler/configuration_spec.rb
Ruby
<|file_sep|>original/client/app/main.js require.config({ baseUrl: 'app', paths : { jquery: '../components/jquery/jquery.min', modernizr: '../components/modernizer/modernizr' } }); require(['jquery', 'modernizr'], function($, modernizer) { // use app here $('#status').html('If you can read this text, your sta...
require.config({ baseUrl: 'app', paths : { jquery: '../components/jquery/jquery.min', modernizr: '../components/modernizr/modernizr' } }); require(['jquery', 'modernizr'], function($, modernizer) { // use app here $('#status').html('If you can read this text, your stack should be alright.'); });
<|file_sep|>original/client/app/main.js require.config({ baseUrl: 'app', paths : { jquery: '../components/jquery/jquery.min', modernizr: '../components/modernizer/modernizr' } }); require(['jquery', 'modernizr'], function($, modernizer) { // use app here $('#status').html('If you can read this text, your sta...
f091f95a21fefbd21ba6e5e661e74432f1d6f3e8
client/app/main.js
client/app/main.js
JavaScript
<|file_sep|>original/client/src/main/java/org/robockets/runqueue/client/Main.java public class Main { public static void main(String args[]) { try { // Nimbus theme for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) { if ("Nimbus".equals(info.getName())) {...
public class Main { public static void main(String args[]) { try { // Nimbus theme for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) { if ("Nimbus".equals(info.getName())) { UIManager.setLookAndFeel(info.getClassName()); ...
<|file_sep|>original/client/src/main/java/org/robockets/runqueue/client/Main.java public class Main { public static void main(String args[]) { try { // Nimbus theme for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) { if ("Nimbus".equals(info.getName())) {...
05846c309012d9e15f0d7c440cca18c671d4ad49
client/src/main/java/org/robockets/runqueue/client/Main.java
client/src/main/java/org/robockets/runqueue/client/Main.java
Java
<|file_sep|>original/cmake/Depthai/DepthaiDeviceSideConfig.cmake # Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "b037f059199f80493e3e081aab4220a5222e218a") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_...
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "e3baa61d440ca6964dc74768140971aac5dc7fca") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
<|file_sep|>original/cmake/Depthai/DepthaiDeviceSideConfig.cmake # Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "b037f059199f80493e3e081aab4220a5222e218a") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_...
3f14de2f5a14a25a2606ad291103684c36dbc06a
cmake/Depthai/DepthaiDeviceSideConfig.cmake
cmake/Depthai/DepthaiDeviceSideConfig.cmake
CMake
<|file_sep|>original/locales/af/server.ftl <|file_sep|>current/locales/af/server.ftl <|file_sep|>updated/locales/af/server.ftl
// Localization for Server-side strings of Firefox Screenshots // // Please don't localize Firefox, Firefox Screenshots, or Screenshots // Global phrases shared across pages, prefixed with 'g' [[ global ]] [[ Footer ]] [[ Creating page ]] [[ Home page ]]
<|file_sep|>original/locales/af/server.ftl <|file_sep|>current/locales/af/server.ftl <|file_sep|>updated/locales/af/server.ftl // Localization for Server-side strings of Firefox Screenshots // // Please don't localize Firefox, Firefox Screenshots, or Screenshots // Global phrases shared across pages, prefixed wit...
6ae29b9602374bb5fa9a1b0f72b3b1043dffb120
locales/af/server.ftl
locales/af/server.ftl
FreeMarker
<|file_sep|>original/edison/tests/sanity_tests.py from edison.tests import unittest class SanityTests(unittest.TestCase): def test_psych(self): self.assertTrue(True) <|file_sep|>current/edison/tests/sanity_tests.py from edison.tests import unittest class SanityTests(unittest.TestCase): def test_psyc...
from edison.tests import unittest class SanityTests(unittest.TestCase): def test_psych(self): self.assertTrue(True) self.assertFalse(False)
<|file_sep|>original/edison/tests/sanity_tests.py from edison.tests import unittest class SanityTests(unittest.TestCase): def test_psych(self): self.assertTrue(True) <|file_sep|>current/edison/tests/sanity_tests.py from edison.tests import unittest class SanityTests(unittest.TestCase): def test_psyc...
d8375d3e3a4a00598ac0cdc38861be9f56fb58c0
edison/tests/sanity_tests.py
edison/tests/sanity_tests.py
Python
<|file_sep|>original/descriptor.json { "package": { "name": "dynamodb-to-s3", "repo": "maven", "subject": "sensefly" // "desc": "Simple DynamoDB backup to S3", // "issue_tracker_url": "https://github.com/sensefly-sa/dynamodb-to-s3/issues", // "vcs_url": "https://github.com/sensefly-sa/dynamodb-to...
{ "package": { "name": "dynamodb-to-s3", "repo": "maven", "subject": "sensefly", "publish": true, "version": { "name": "0.0.1", "gpgSign": false } } }
<|file_sep|>original/descriptor.json { "package": { "name": "dynamodb-to-s3", "repo": "maven", "subject": "sensefly" // "desc": "Simple DynamoDB backup to S3", // "issue_tracker_url": "https://github.com/sensefly-sa/dynamodb-to-s3/issues", // "vcs_url": "https://github.com/sensefly-sa/dynamodb-to...
e9cbfe21c9ad9ae871c38851da036b6dec31bdbf
descriptor.json
descriptor.json
JSON
<|file_sep|>original/.travis.yml language: node_js node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "0.8" - "0.6" - "iojs" <|file_sep|>current/.travis.yml language: node_js node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "0.8" - "0.6" - "iojs" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "iojs"
<|file_sep|>original/.travis.yml language: node_js node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "0.8" - "0.6" - "iojs" <|file_sep|>current/.travis.yml language: node_js node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "0.8" - "0.6" - "iojs" <|file_sep|>updated/.travis.yml l...
1b5d70c36b8b0041c292bce29cf6a204c1c9e79e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/elm/Decoders.elm gridDecoder : Decoder Grid gridDecoder = Decode.map gridMapper (Decode.list rowDecoder) gridMapper : List (List Cell) -> Grid gridMapper listOfLists = Grid.fromList listOfLists |> Maybe.withDefault (Grid.defaultGrid Grid.minWidth Grid.maxWidth) rowDecoder : De...
gridDecoder : Decoder Grid gridDecoder = Decode.map gridMapper (Decode.list rowDecoder) gridMapper : List (List Cell) -> Grid gridMapper listOfLists = Grid.fromList listOfLists |> Maybe.withDefault (Grid.defaultGrid Grid.minWidth Grid.minHeight) rowDecoder : Decoder (List Cell) rowDecoder = De...
<|file_sep|>original/elm/Decoders.elm gridDecoder : Decoder Grid gridDecoder = Decode.map gridMapper (Decode.list rowDecoder) gridMapper : List (List Cell) -> Grid gridMapper listOfLists = Grid.fromList listOfLists |> Maybe.withDefault (Grid.defaultGrid Grid.minWidth Grid.maxWidth) rowDecoder : De...
8f36f9367a4f1b27c0712d11a509f44e9e8e713b
elm/Decoders.elm
elm/Decoders.elm
Elm
<|file_sep|>original/lib/fingerjam/jammit.rb module Jammit class Compressor # Used by rake fingerjam:package def rewrite_asset_path(relative_path, absolute_path) Fingerjam::Base.save_cached_url_from_path(relative_path, absolute_path) end end end <|file_sep|>current/lib/fingerjam/jammit.rb module...
module Jammit class Compressor # Used by rake fingerjam:package def rewrite_asset_path(relative_path, absolute_path) if File.exist?(absolute_path) Fingerjam::Base.save_cached_url_from_path(relative_path, absolute_path) else relative_path end end end end
<|file_sep|>original/lib/fingerjam/jammit.rb module Jammit class Compressor # Used by rake fingerjam:package def rewrite_asset_path(relative_path, absolute_path) Fingerjam::Base.save_cached_url_from_path(relative_path, absolute_path) end end end <|file_sep|>current/lib/fingerjam/jammit.rb module...
5361e3c10bb6046096311da66d2aa4ba1f4e9127
lib/fingerjam/jammit.rb
lib/fingerjam/jammit.rb
Ruby
<|file_sep|>original/sortingalgorithms/SortingAlgorithm.java <|file_sep|>current/sortingalgorithms/SortingAlgorithm.java <|file_sep|>updated/sortingalgorithms/SortingAlgorithm.java
package sortingalgorithms; /** * An interface for sorting algorithms. A class must implement * SortingAlgorithm to work with SortingTest. * * @author Joel Abrahamsson * @version %G% */ public interface SortingAlgorithm { public void sort(int[] array); }
<|file_sep|>original/sortingalgorithms/SortingAlgorithm.java <|file_sep|>current/sortingalgorithms/SortingAlgorithm.java <|file_sep|>updated/sortingalgorithms/SortingAlgorithm.java package sortingalgorithms; /** * An interface for sorting algorithms. A class must implement * SortingAlgorithm to work with Sortin...
5c472a884c18bf893073b60a485b3422429ed55b
sortingalgorithms/SortingAlgorithm.java
sortingalgorithms/SortingAlgorithm.java
Java
<|file_sep|>original/Casks/synology-cloud-station.rb cask :v1 => 'synology-cloud-station' do version '3317' sha256 'd3305b5f2b4d47cf84e18cdbdb86a58578bff396fbe4664c4c778745098a362d' url "https://global.download.synology.com/download/Tools/CloudStation/#{version}/Mac/synology-cloud-station-#{version}.dmg" homep...
cask :v1 => 'synology-cloud-station' do version '3423' sha256 'c800dca63285cc754b34806c4f0dde11fa1ca4d3d31aa8eeb8ca129555c094e2' url "https://global.download.synology.com/download/Tools/CloudStation/#{version}/Mac/synology-cloud-station-#{version}.dmg" homepage 'http://www.synology.com/' license :unknown ...
<|file_sep|>original/Casks/synology-cloud-station.rb cask :v1 => 'synology-cloud-station' do version '3317' sha256 'd3305b5f2b4d47cf84e18cdbdb86a58578bff396fbe4664c4c778745098a362d' url "https://global.download.synology.com/download/Tools/CloudStation/#{version}/Mac/synology-cloud-station-#{version}.dmg" homep...
4be1eb1b39648548d63e0f10c7c15f2825f6a982
Casks/synology-cloud-station.rb
Casks/synology-cloud-station.rb
Ruby
<|file_sep|>original/requirements.txt dj-config-url==0.1.1 dj-database-url==0.5.0 dj-static==0.0.6 Django==2.0.5 django-crispy-forms==1.7.2 django-registration-redux==2.4 django-recaptcha==1.4.0 django-tagulous==0.13.0 djangorestframework==3.8.2 gunicorn==19.8.1 psycopg2==2.7.4 python-decouple==3.1 social-auth-app-djan...
dj-config-url==0.1.1 dj-database-url==0.5.0 dj-static==0.0.6 Django==2.0.5 django-crispy-forms==1.7.2 django-registration-redux==2.4 django-recaptcha==1.4.0 django-tagulous==0.13.1 djangorestframework==3.8.2 gunicorn==19.8.1 psycopg2==2.7.4 python-decouple==3.1 social-auth-app-django==2.1.0
<|file_sep|>original/requirements.txt dj-config-url==0.1.1 dj-database-url==0.5.0 dj-static==0.0.6 Django==2.0.5 django-crispy-forms==1.7.2 django-registration-redux==2.4 django-recaptcha==1.4.0 django-tagulous==0.13.0 djangorestframework==3.8.2 gunicorn==19.8.1 psycopg2==2.7.4 python-decouple==3.1 social-auth-app-djan...
8691351b9da2b16457afeb30a1a03c42c7a2bf6b
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/main/java/io/github/saidie/plantuml_api/UserService.java <|file_sep|>current/src/main/java/io/github/saidie/plantuml_api/UserService.java <|file_sep|>updated/src/main/java/io/github/saidie/plantuml_api/UserService.java
package io.github.saidie.plantuml_api; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.security.core.userdetails.*; @Service public class UserService implements UserDetailsService { @Autowired private AccountRepository ac...
<|file_sep|>original/src/main/java/io/github/saidie/plantuml_api/UserService.java <|file_sep|>current/src/main/java/io/github/saidie/plantuml_api/UserService.java <|file_sep|>updated/src/main/java/io/github/saidie/plantuml_api/UserService.java package io.github.saidie.plantuml_api; import org.springframework.beans.f...
1d40cd87fa0583bf29b558c8b8e153dbcfc65aaa
src/main/java/io/github/saidie/plantuml_api/UserService.java
src/main/java/io/github/saidie/plantuml_api/UserService.java
Java
<|file_sep|>src/components/SiteHeader/SiteHeader.sass.diff original: // border: 1px solid red updated: <|file_sep|>src/components/SiteHeader/SiteHeader.sass.diff original: // border: 1px solid green updated: <|file_sep|>src/components/SiteHeader/SiteHeader.sass.diff original: // border: 1px solid blue updated: ...
+from($breakpoint-mobile-large) justify-content: flex-start .SiteHeader__branding display: flex align-items: center justify-content: space-between .SiteHeader__clock-logo width: 40px margin-right: 10px .SiteHeader__headline color: white font-family: 'Great Vibes', cursive font-size: 1.5em mar...
<|file_sep|>src/components/SiteHeader/SiteHeader.sass.diff original: // border: 1px solid red updated: <|file_sep|>src/components/SiteHeader/SiteHeader.sass.diff original: // border: 1px solid green updated: <|file_sep|>src/components/SiteHeader/SiteHeader.sass.diff original: // border: 1px solid blue updated: ...
1be9a63abb5364afd4a04d7da211e8aa27712844
src/components/SiteHeader/SiteHeader.sass
src/components/SiteHeader/SiteHeader.sass
Sass
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml
language: android android: components: # Uncomment the lines below if you want to # use the latest revision of Android SDK Tools # - platform-tools # - tools # The BuildTools version used by your project - build-tools-23.0.2 # The SDK version used to compile your project - android-23
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml language: android android: components: # Uncomment the lines below if you want to # use the latest revision of Android SDK Tools # - platform-tools # - tools # The BuildTools version used by your pr...
e2e642bf677049206fa22b88dfbde2be025570bf
.travis.yml
.travis.yml
YAML
<|file_sep|>roles/sys-update/tasks/main.yml.diff original: upgrade: dist updated: upgrade: safe <|file_sep|>original/roles/sys-update/tasks/main.yml --- # tasks file for sys-update - name: "Be sure to upgrade all packages" apt: upgrade: dist update_cache: yes cache_valid_time: 3600 <|file_sep|>current/...
--- # tasks file for sys-update - name: "Be sure to upgrade all packages" apt: upgrade: safe update_cache: yes cache_valid_time: 3600 #- name: "Reboot VM to upgrade Kernel" # command: reboot
<|file_sep|>roles/sys-update/tasks/main.yml.diff original: upgrade: dist updated: upgrade: safe <|file_sep|>original/roles/sys-update/tasks/main.yml --- # tasks file for sys-update - name: "Be sure to upgrade all packages" apt: upgrade: dist update_cache: yes cache_valid_time: 3600 <|file_sep|>current/...
d0299d8ba50c30320637577e0b96cdbd81150bdb
roles/sys-update/tasks/main.yml
roles/sys-update/tasks/main.yml
YAML
<|file_sep|>app/views/projects/profile.html.erb.diff original: <% unless current_user.projects %> updated: <% if current_user.projects.empty? %> <|file_sep|>app/views/projects/profile.html.erb.diff original: <li> <% current_user.try(:projects).each do |project| %> updated: <% current_user.try(:projects).each ...
<div> <h3>About Me</h3> <p>Nam a urna velit. Quisque fermentum augue quis est tempor rutrum. Nullam sollicitudin lorem nec erat tempus tristique. Nam sed efficitur urna. Donec sollicitudin fermentum ligula vitae scelerisque. Aenean condimentum turpis et nisi eleifend pulvinar. Nam elit magna, consequat in neque at,...
<|file_sep|>app/views/projects/profile.html.erb.diff original: <% unless current_user.projects %> updated: <% if current_user.projects.empty? %> <|file_sep|>app/views/projects/profile.html.erb.diff original: <li> <% current_user.try(:projects).each do |project| %> updated: <% current_user.try(:projects).each ...
a12be1a679415b9d5a203ea2a9542ec4829a599f
app/views/projects/profile.html.erb
app/views/projects/profile.html.erb
HTML+ERB
<|file_sep|>original/data/transition-sites/oisc.yml --- site: oisc whitehall_slug: office-of-the-immigration-services-commissioner title: Office of the Immigration Services Commissioner redirection_date: 31st July 2014 homepage: https://www.gov.uk/government/organisations/office-of-the-immigration-services-commissioner...
--- site: oisc whitehall_slug: office-of-the-immigration-services-commissioner title: Office of the Immigration Services Commissioner redirection_date: 31st July 2014 homepage: https://www.gov.uk/government/organisations/office-of-the-immigration-services-commissioner tna_timestamp: 20140504150219 host: oisc.homeoffice...
<|file_sep|>original/data/transition-sites/oisc.yml --- site: oisc whitehall_slug: office-of-the-immigration-services-commissioner title: Office of the Immigration Services Commissioner redirection_date: 31st July 2014 homepage: https://www.gov.uk/government/organisations/office-of-the-immigration-services-commissioner...
1808dcc36967ff906ec5891a7d7196968130c150
data/transition-sites/oisc.yml
data/transition-sites/oisc.yml
YAML
<|file_sep|>original/lib/rusty_blank.rb require 'fiddle' require 'rbconfig' basename = "librusty_blank.#{RbConfig::CONFIG['DLEXT']}" library = Fiddle.dlopen(File.join(File.dirname(__FILE__), basename)) func = Fiddle::Function.new(library['init_rusty_blank'], [], Fiddle::TYPE_VOIDP) func.cal...
require 'fiddle' require 'rbconfig' ext = RbConfig::CONFIG['DLEXT'] == 'bundle' ? 'dylib' : RbConfig::CONFIG['DLEXT'] basename = "librusty_blank.#{ext}" library = Fiddle.dlopen(File.join(File.dirname(__FILE__), basename)) func = Fiddle::Function.new(library['init_rusty_blank'], [], Fiddle::...
<|file_sep|>original/lib/rusty_blank.rb require 'fiddle' require 'rbconfig' basename = "librusty_blank.#{RbConfig::CONFIG['DLEXT']}" library = Fiddle.dlopen(File.join(File.dirname(__FILE__), basename)) func = Fiddle::Function.new(library['init_rusty_blank'], [], Fiddle::TYPE_VOIDP) func.cal...
3c23f690fb391927a99c83f3673ec62e7634ddfd
lib/rusty_blank.rb
lib/rusty_blank.rb
Ruby
<|file_sep|>original/README.md buildscript { repositories { jcenter() } dependencies { classpath 'cz.alenkacz.gradle:gradle-marathon-deployer:1.0.16' } } apply plugin: 'cz.alenkacz.gradle.marathon.deploy' marathon { url = "http://path-to-your-marathon-instance.com" } Properties ===...
repositories { jcenter() } dependencies { classpath 'cz.alenkacz.gradle:gradle-marathon-deployer:1.0.16' } } apply plugin: 'cz.alenkacz.gradle.marathon.deploy' marathon { url = "http://path-to-your-marathon-instance.com" } Properties ==================== - *url* - url to your maratho...
<|file_sep|>original/README.md buildscript { repositories { jcenter() } dependencies { classpath 'cz.alenkacz.gradle:gradle-marathon-deployer:1.0.16' } } apply plugin: 'cz.alenkacz.gradle.marathon.deploy' marathon { url = "http://path-to-your-marathon-instance.com" } Properties ===...
43e8442d710210465813543a47d28241cd9e4922
README.md
README.md
Markdown
<|file_sep|>app/views/layouts/application.html.erb.diff original: <%= javascript_include_tag "application" %> updated: <|file_sep|>original/app/views/layouts/application.html.erb <div id="header-inner"> <div id="logo"> <%= image_tag "logo.png", :width => 253, :height => 55 %> </div> <a ...
<%= image_tag "logo.png", :width => 253, :height => 55 %> </div> <a href="https://www.desktoppr.co" id="by-desktoppr"> <%= image_tag "by.png", :width => 158, :height => 38 %> </a> <ul> <% if user_signed_in? %> <li>Hi <%= current_user.name %>!</li> <li>...
<|file_sep|>app/views/layouts/application.html.erb.diff original: <%= javascript_include_tag "application" %> updated: <|file_sep|>original/app/views/layouts/application.html.erb <div id="header-inner"> <div id="logo"> <%= image_tag "logo.png", :width => 253, :height => 55 %> </div> <a ...
3b9465c4290c270a14b968775c81be0ec038d754
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>sla_bot.py.diff original: import discord updated: <|file_sep|>sla_bot.py.diff original: client = discord.Client() updated: import discord from discord.ext import commands <|file_sep|>sla_bot.py.diff original: @client.event updated: bot = commands.Bot(command_prefix='!', description='test') @bot.event ...
import asyncio import discord from discord.ext import commands bot = commands.Bot(command_prefix='!', description='test') @bot.event async def on_ready(): print('Logged in as') print(bot.user.name) print(bot.user.id) print('------') @bot.command() async def test(): await bot.say('Hello W...
<|file_sep|>sla_bot.py.diff original: import discord updated: <|file_sep|>sla_bot.py.diff original: client = discord.Client() updated: import discord from discord.ext import commands <|file_sep|>sla_bot.py.diff original: @client.event updated: bot = commands.Bot(command_prefix='!', description='test') @bot.event ...
b881247b182a45774ed494146904dcf2b1826d5e
sla_bot.py
sla_bot.py
Python
<|file_sep|>original/bench/tasks/load-db.json <|file_sep|>current/bench/tasks/load-db.json <|file_sep|>updated/bench/tasks/load-db.json
[ { "Type": "CUSTOM_JAR", "Name": "MerkleDB Benchmark", "ActionOnFailure": "CONTINUE", "Jar": "command-runner.jar", "Args": [ "spark-submit", "--deploy-mode", "cluster", "--class", "movie_lens.main", "s3://mvxcvi-test-data/jars/movie-lens-recommender.jar", "--blocks",...
<|file_sep|>original/bench/tasks/load-db.json <|file_sep|>current/bench/tasks/load-db.json <|file_sep|>updated/bench/tasks/load-db.json [ { "Type": "CUSTOM_JAR", "Name": "MerkleDB Benchmark", "ActionOnFailure": "CONTINUE", "Jar": "command-runner.jar", "Args": [ "spark-submit", "--dep...
1b578f3c74f49ce5b7a41239560e30a654066944
bench/tasks/load-db.json
bench/tasks/load-db.json
JSON
<|file_sep|>.travis.yml.diff original: updated: - rbx-2 <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.2 - 2.0.0 - 1.9.3 gemfile: - ci/Gemfile.activerecord-4.1.x - ci/Gemfile.activerecord-4.0.x ...
- 2.1.2 - 2.0.0 - 1.9.3 - rbx-2 gemfile: - ci/Gemfile.activerecord-4.1.x - ci/Gemfile.activerecord-4.0.x - ci/Gemfile.activerecord-3.2.x - ci/Gemfile.activerecord-edge env: - DB=sqlite - DB=mysql - DB=postgresql script: WITH_ADVISORY_LOCK_PREFIX=$TRAVIS_JOB_ID bundle exec rake --trace all_spec_...
<|file_sep|>.travis.yml.diff original: updated: - rbx-2 <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.2 - 2.0.0 - 1.9.3 gemfile: - ci/Gemfile.activerecord-4.1.x - ci/Gemfile.activerecord-4.0.x ...
44cd889c346b056e1fbcf55c627313a7eba1bae6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/authentication/MobileRouter.jsx import React from 'react' import { Router, withRouter } from 'react-router' import Authentication from './src/Authentication' import Revoked from './src/Revoked' import { logException } from 'drive/lib/reporter' const MobileRouter = ({ history, appRoutes, ...
import React from 'react' import { Router, withRouter } from 'react-router' import { Authentication, Revoked } from 'cozy-authentication' import { logException } from 'drive/lib/reporter' const MobileRouter = ({ history, appRoutes, isAuthenticated, isRevoked, onAuthenticated, onLogout }) => { if (!isAu...
<|file_sep|>original/src/authentication/MobileRouter.jsx import React from 'react' import { Router, withRouter } from 'react-router' import Authentication from './src/Authentication' import Revoked from './src/Revoked' import { logException } from 'drive/lib/reporter' const MobileRouter = ({ history, appRoutes, ...
7bf66a48f39d6a9dee450bcff2d5f32a765a06d9
src/authentication/MobileRouter.jsx
src/authentication/MobileRouter.jsx
JSX
<|file_sep|>original/src/VisualStudio/PowershellScripts.cs namespace NuGet.VisualStudio { public class PowerShellScripts { public static readonly string Install = "install.ps1"; public static readonly string Uninstall = "uninstall.ps1"; public static readonly string Init = "init.ps1"; }...
namespace NuGet.VisualStudio { public static class PowerShellScripts { public static readonly string Install = "install.ps1"; public static readonly string Uninstall = "uninstall.ps1"; public static readonly string Init = "init.ps1"; } }
<|file_sep|>original/src/VisualStudio/PowershellScripts.cs namespace NuGet.VisualStudio { public class PowerShellScripts { public static readonly string Install = "install.ps1"; public static readonly string Uninstall = "uninstall.ps1"; public static readonly string Init = "init.ps1"; }...
52127b123c745bb50239809ab61f2128e052ddc5
src/VisualStudio/PowershellScripts.cs
src/VisualStudio/PowershellScripts.cs
C#
<|file_sep|>original/package.json "homepage": "https://documentation.codeship.com", "repository": { "type": "git", "url": "https://github.com/codeship/documentation.git" }, "bugs": { "url": "https://github.com/codeship/documentation/issues" }, "license": "MIT", "engines": { "node": "^8.9.4...
"homepage": "https://documentation.codeship.com", "repository": { "type": "git", "url": "https://github.com/codeship/documentation.git" }, "bugs": { "url": "https://github.com/codeship/documentation/issues" }, "license": "MIT", "engines": { "node": "^8.11.2", "yarn": "^1.7.0" }, "s...
<|file_sep|>original/package.json "homepage": "https://documentation.codeship.com", "repository": { "type": "git", "url": "https://github.com/codeship/documentation.git" }, "bugs": { "url": "https://github.com/codeship/documentation/issues" }, "license": "MIT", "engines": { "node": "^8.9.4...
2422102cbe0344f8b5404d03f54512f46cef7f9c
package.json
package.json
JSON
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff original: | Branch? | 1.10, 1.11 or master <!-- see the comment below --> updated: | Branch? | 1.11 or 1.12 <!-- see the comment below --> <|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md | Q | A | --------------- | ----- | Branch? ...
| Q | A | --------------- | ----- | Branch? | 1.11 or 1.12 <!-- see the comment below --> | Bug fix? | no/yes | New feature? | no/yes | BC breaks? | no/yes | Deprecations? | no/yes <!-- don't forget to update the UPGRADE-*.md file --> | Related tickets | fixes #X, partially #Y, me...
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff original: | Branch? | 1.10, 1.11 or master <!-- see the comment below --> updated: | Branch? | 1.11 or 1.12 <!-- see the comment below --> <|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md | Q | A | --------------- | ----- | Branch? ...
686cd9d6b3a59fce1ca5e06597fe66c56608e222
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/nixpkgs-pinned.nix fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/56b9f6fc8e1c3a4ad10ff7c61e461d7b7e038833.tar.gz"; sha256 = "0v5y4wjfxbappsaibw88h7n1flcx7kpvg51mjv3h9m4aa3fn2c8q"; } <|file_sep|>current/nixpkgs-pinned.nix fetchTarball { url = "https://github.com/NixOS/nixpkgs/...
fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/c1427bf45ffd9f738cb811f980a7a4accf342783.tar.gz"; sha256 = "16xmd9zlbiyqd90y5a2jqwvkmbn95wcxqk0qnxlf2lkryg8cvc89"; }
<|file_sep|>original/nixpkgs-pinned.nix fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/56b9f6fc8e1c3a4ad10ff7c61e461d7b7e038833.tar.gz"; sha256 = "0v5y4wjfxbappsaibw88h7n1flcx7kpvg51mjv3h9m4aa3fn2c8q"; } <|file_sep|>current/nixpkgs-pinned.nix fetchTarball { url = "https://github.com/NixOS/nixpkgs/...
e8f0920d4bad8d11c6494cd08f1f3ccc171359b9
nixpkgs-pinned.nix
nixpkgs-pinned.nix
Nix
<|file_sep|>original/.idea/dataSources.xml <synchronize>true</synchronize> <jdbc-driver>com.ibm.db2.jcc.DB2Driver</jdbc-driver> <jdbc-url>jdbc:db2://ec2-54-224-143-215.compute-1.amazonaws.com:50000/sample</jdbc-url> <user-name>db2inst1</user-name> <user-password>dfcedfc8df98dfc3dfc4dfd9dfd...
<?xml version="1.0" encoding="UTF-8"?> <project version="4" />
<|file_sep|>original/.idea/dataSources.xml <synchronize>true</synchronize> <jdbc-driver>com.ibm.db2.jcc.DB2Driver</jdbc-driver> <jdbc-url>jdbc:db2://ec2-54-224-143-215.compute-1.amazonaws.com:50000/sample</jdbc-url> <user-name>db2inst1</user-name> <user-password>dfcedfc8df98dfc3dfc4dfd9dfd...
836b35d135035b129706beb19c1fcc75524b0285
.idea/dataSources.xml
.idea/dataSources.xml
XML
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm sudo: false before_script: - travis_retry composer self-update - travis_retry composer update --no-interaction script: vendor/bin/phpspec run <|file_sep|>current/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 ...
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm sudo: false matrix: allow_failures: - php: 7.0 before_script: - travis_retry composer self-update - travis_retry composer update --no-interaction script: vendor/bin/phpspec run
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm sudo: false before_script: - travis_retry composer self-update - travis_retry composer update --no-interaction script: vendor/bin/phpspec run <|file_sep|>current/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 ...
8392137a5014474ccef565f6cd4bc22c28d236b1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/application/site/component/contacts/view/contact/templates/default.html.php <script src="media://js/koowa.js" /> --> <? if ($contact->params->get('allow_vcard', false)) : ?> <link href="<?= @route('format=vcard') ?>" rel="alternate" type="text/x-vcard; version=2.1" title="Vcard - <?= $contact-...
<script src="media://js/koowa.js" /> --> <? if ($contact->params->get('allow_vcard', false)) : ?> <link href="<?= @route('format=vcard') ?>" rel="alternate" type="text/x-vcard; version=2.1" title="Vcard - <?= $contact->name; ?>"/> <? endif; ?> <?= @template('hcard.html') ?> <?if ($contact->params->get('allow_vca...
<|file_sep|>original/application/site/component/contacts/view/contact/templates/default.html.php <script src="media://js/koowa.js" /> --> <? if ($contact->params->get('allow_vcard', false)) : ?> <link href="<?= @route('format=vcard') ?>" rel="alternate" type="text/x-vcard; version=2.1" title="Vcard - <?= $contact-...
7155d95b766c06039dfc54a071fea6ef31413e48
application/site/component/contacts/view/contact/templates/default.html.php
application/site/component/contacts/view/contact/templates/default.html.php
PHP
<|file_sep|>original/ci/README.adoc == Concourse pipeline Ensure that you've setup the spring-boot target and can login [source] ---- $ fly -t spring-boot login -n spring-boot -c https://ci.spring.io ---- The pipeline can be deployed using the following command: [source] ---- $ fly -t spring-boot set-pipeline -p sp...
== Concourse pipeline Ensure that you've setup the spring-boot target and can login [source] ---- $ fly -t spring-boot login -n spring-boot -c https://ci.spring.io ---- The pipeline can be deployed using the following command: [source] ---- $ fly -t spring-boot set-pipeline -p spring-boot-2.2.x -c ci/pipeline.yml -...
<|file_sep|>original/ci/README.adoc == Concourse pipeline Ensure that you've setup the spring-boot target and can login [source] ---- $ fly -t spring-boot login -n spring-boot -c https://ci.spring.io ---- The pipeline can be deployed using the following command: [source] ---- $ fly -t spring-boot set-pipeline -p sp...
a8b46d7aa524c61bb30bffdc64b30c245772066c
ci/README.adoc
ci/README.adoc
AsciiDoc
<|file_sep|>original/extras/lunchy-completion.bash ### # completion written by Alexey Shockov # on github : alexeyshockov # function _lunchy { COMPREPLY=() local cur=${COMP_WORDS[COMP_CWORD]} local cur_pos=$COMP_CWORD; case "$cur_pos" in 1) COMPREPLY=($(compgen -W 'ls list start stop restart status install...
### # completion written by Alexey Shockov # on github : alexeyshockov # function _lunchy { COMPREPLY=() local cur=${COMP_WORDS[COMP_CWORD]} local cur_pos=$COMP_CWORD; case "$cur_pos" in 1) COMPREPLY=($(compgen -W 'ls list start stop restart status install uninstall show edit' -- $cur)) ;; *) CO...
<|file_sep|>original/extras/lunchy-completion.bash ### # completion written by Alexey Shockov # on github : alexeyshockov # function _lunchy { COMPREPLY=() local cur=${COMP_WORDS[COMP_CWORD]} local cur_pos=$COMP_CWORD; case "$cur_pos" in 1) COMPREPLY=($(compgen -W 'ls list start stop restart status install...
2e90e1d16c128d08145504fa3eadb8f462c9162a
extras/lunchy-completion.bash
extras/lunchy-completion.bash
Shell
<|file_sep|>original/cmake/Depthai/DepthaiDeviceSideConfig.cmake # Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "61ac21aa03a833ba4347e113f9ccd97f9322feaf") # "version if applicable" set(DEPTHA...
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "e6d983d63f717f30e27263cab037b43a1732b6f0") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
<|file_sep|>original/cmake/Depthai/DepthaiDeviceSideConfig.cmake # Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "61ac21aa03a833ba4347e113f9ccd97f9322feaf") # "version if applicable" set(DEPTHA...
128acaeae448d2f2e416d434157d2abaa2376e61
cmake/Depthai/DepthaiDeviceSideConfig.cmake
cmake/Depthai/DepthaiDeviceSideConfig.cmake
CMake
<|file_sep|>original/providers/reddit.yml --- - provider_name: Reddit provider_url: https://reddit.com/ endpoints: - schemes: - https://reddit.com/r/*/comments/*/* url: https://www.reddit.com/oembed notes: The endpoint works with comments and posts. To fetch a comment use the Permalink (The comment pa...
--- - provider_name: Reddit provider_url: https://reddit.com/ endpoints: - schemes: - https://reddit.com/r/*/comments/*/* - https://www.reddit.com/r/*/comments/*/* url: https://www.reddit.com/oembed notes: The endpoint works with comments and posts. To fetch a comment use the Permalink (The commen...
<|file_sep|>original/providers/reddit.yml --- - provider_name: Reddit provider_url: https://reddit.com/ endpoints: - schemes: - https://reddit.com/r/*/comments/*/* url: https://www.reddit.com/oembed notes: The endpoint works with comments and posts. To fetch a comment use the Permalink (The comment pa...
4fcad1aafa1dc7a6486758359c5a8cf93587ede4
providers/reddit.yml
providers/reddit.yml
YAML
<|file_sep|>original/src/renderer/app/components/SearchBox/style.ts import { centerImage } from '~/shared/mixins'; import { icons } from '../../constants'; export const StyledSearchBox = styled.div` position: absolute; top: 15%; left: 50%; width: 700px; z-index: 2; background-color: white; border-radius:...
import { centerImage } from '~/shared/mixins'; import { icons } from '../../constants'; export const StyledSearchBox = styled.div` position: absolute; top: 15%; left: 50%; width: 700px; z-index: 2; background-color: white; border-radius: 20px; transform: translateX(-50%); display: flex; flex-flow: ...
<|file_sep|>original/src/renderer/app/components/SearchBox/style.ts import { centerImage } from '~/shared/mixins'; import { icons } from '../../constants'; export const StyledSearchBox = styled.div` position: absolute; top: 15%; left: 50%; width: 700px; z-index: 2; background-color: white; border-radius:...
fda5af3f7d9ecb4d792f97716954f5186c148dca
src/renderer/app/components/SearchBox/style.ts
src/renderer/app/components/SearchBox/style.ts
TypeScript
<|file_sep|>original/dataset/dataset/spiders/dataset_spider.py from scrapy.contrib.spiders import CrawlSpider, Rule from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor from scrapy.selector import Selector from .. import items class DatasetSpider(CrawlSpider): name = 'dataset' allowed_domains = ['...
from scrapy.contrib.spiders import CrawlSpider, Rule from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor from scrapy.selector import Selector from .. import items class DatasetSpider(CrawlSpider): name = 'dataset' allowed_domains = ['data.gc.ca'] start_urls = ['http://data.gc.ca/data/en/datas...
<|file_sep|>original/dataset/dataset/spiders/dataset_spider.py from scrapy.contrib.spiders import CrawlSpider, Rule from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor from scrapy.selector import Selector from .. import items class DatasetSpider(CrawlSpider): name = 'dataset' allowed_domains = ['...
75d12ae7cd3d671cf20e1a269497a19b669ec49b
dataset/dataset/spiders/dataset_spider.py
dataset/dataset/spiders/dataset_spider.py
Python
<|file_sep|>original/.travis.yml before_install: "gem install bundler -v '< 2.0'" script: bundle exec rake ci rvm: - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.9 - 2.5.6 - 2.6.5 - 2.7.0-preview2 - ruby-head - jruby-9.2.6.0 - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-hea...
before_install: "gem install bundler -v '< 2.0'" script: bundle exec rake ci rvm: - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.9 - 2.5.6 - 2.6.5 - 2.7.0 - ruby-head - jruby-9.2.6.0 - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: jruby-9.2.6.0 fast_finish: ...
<|file_sep|>original/.travis.yml before_install: "gem install bundler -v '< 2.0'" script: bundle exec rake ci rvm: - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.9 - 2.5.6 - 2.6.5 - 2.7.0-preview2 - ruby-head - jruby-9.2.6.0 - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-hea...
4b63ca16006c531ff027ba6f6c577d00c13a0981
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.eslintrc.json ], "indent": [ "error", "tab" ], "no-process-exit": "off", "no-tabs": "off", "no-unused-vars": [ "error", { "varsIgnorePattern": "^_" } ], "object-curly-spacing": [ "error", "never" ], "node/prefer-global/buffer": "error", "node/prefer-g...
], "indent": [ "error", "tab" ], "no-process-exit": "off", "no-tabs": "off", "no-unused-vars": [ "error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_", "caughtErrorsIgnorePattern": "^_" } ], "object-curly-spacing": [ "error", "never" ], "node/prefer-global/...
<|file_sep|>original/.eslintrc.json ], "indent": [ "error", "tab" ], "no-process-exit": "off", "no-tabs": "off", "no-unused-vars": [ "error", { "varsIgnorePattern": "^_" } ], "object-curly-spacing": [ "error", "never" ], "node/prefer-global/buffer": "error", "node/prefer-g...
ef26f4ff6231dd3be43da6ea9fc71cac4e4d248b
.eslintrc.json
.eslintrc.json
JSON
<|file_sep|>original/README.md # dubover dubover is a GreaseMonkey- and TamperMonkey-compatible userscript. It provides various enhancements to the interface of [dubtrack.fm](https://www.dubtrack.fm). These enhancements are user-controllable via a settings menu. Some of the available functionality includes: * Preven...
# dubover dubover is a GreaseMonkey- and TamperMonkey-compatible userscript. It provides various enhancements to the interface of [dubtrack.fm](https://www.dubtrack.fm). These enhancements are user-controllable via a settings menu. Some of the available functionality includes: * Preventing images from auto-loading i...
<|file_sep|>original/README.md # dubover dubover is a GreaseMonkey- and TamperMonkey-compatible userscript. It provides various enhancements to the interface of [dubtrack.fm](https://www.dubtrack.fm). These enhancements are user-controllable via a settings menu. Some of the available functionality includes: * Preven...
b3e9d6862bbc7057ae0e0f02b2a8f8d8d9f1353a
README.md
README.md
Markdown
<|file_sep|>original/composer.json { "name": "fuzz/api-server", "description": "", "authors": [ { "name": "Fuzz Productions", "email": "fuzzweb@fuzzproductions.com" } ], "require": { "php": ">=5.5.0", "illuminate/support": "~5.0", "illuminate/routing": "~5.0", "illuminate/pagination": "~5.0", "...
{ "name": "fuzz/api-server", "description": "", "authors": [ { "name": "Fuzz Productions", "email": "fuzzweb@fuzzproductions.com" } ], "repositories": [ { "type": "vcs", "url": "https://github.com/stristr/oauth2-server-laravel.git" } ], "require": { "php": ">=5.5.0", "illuminate/support":...
<|file_sep|>original/composer.json { "name": "fuzz/api-server", "description": "", "authors": [ { "name": "Fuzz Productions", "email": "fuzzweb@fuzzproductions.com" } ], "require": { "php": ">=5.5.0", "illuminate/support": "~5.0", "illuminate/routing": "~5.0", "illuminate/pagination": "~5.0", "...
9d9a78d98e9384781b191ed492b3a43d33edc429
composer.json
composer.json
JSON
<|file_sep|>original/manifests/cf-manifest/env-specific/prod-lon.yml --- uaa_instances: 3 nats_instances: 3 diego_api_instances: 3 cell_instances: 72 router_instances: 15 api_instances: 12 doppler_instances: 39 log_api_instances: 6 scheduler_instances: 4 cc_worker_instances: 4 cc_hourly_rate_limit: 20000 cc_staging_tim...
--- uaa_instances: 3 nats_instances: 3 diego_api_instances: 3 cell_instances: 81 router_instances: 15 api_instances: 12 doppler_instances: 39 log_api_instances: 6 scheduler_instances: 4 cc_worker_instances: 4 cc_hourly_rate_limit: 20000 cc_staging_timeout_in_seconds: 2700 paas_region_name: london prometheus_disk_size:...
<|file_sep|>original/manifests/cf-manifest/env-specific/prod-lon.yml --- uaa_instances: 3 nats_instances: 3 diego_api_instances: 3 cell_instances: 72 router_instances: 15 api_instances: 12 doppler_instances: 39 log_api_instances: 6 scheduler_instances: 4 cc_worker_instances: 4 cc_hourly_rate_limit: 20000 cc_staging_tim...
6024e71a10f3fa33b6035cbf91645995ff8d07f9
manifests/cf-manifest/env-specific/prod-lon.yml
manifests/cf-manifest/env-specific/prod-lon.yml
YAML
<|file_sep|>original/_posts/2015-07-08-project-7.markdown --- title: Connect The Dots subtitle: HTML5 Canvas, JavaScript, CSS layout: default modal-id: 7 date: 2015-07-08 img: connect-the-dots.png thumbnail: connect-the-dots-thumbnail.png alt: image-alt project-date: April 2015 link: /connect-the-dots source: https://g...
--- title: Connect The Dots subtitle: HTML5 Canvas, JavaScript, CSS layout: default modal-id: 7 date: 2015-07-08 img: connect-the-dots.png thumbnail: connect-the-dots-thumbnail.png alt: image-alt project-date: April 2015 link: /connect-the-dots source: /connect-the-dots/code description: Web-based solver for "connect t...
<|file_sep|>original/_posts/2015-07-08-project-7.markdown --- title: Connect The Dots subtitle: HTML5 Canvas, JavaScript, CSS layout: default modal-id: 7 date: 2015-07-08 img: connect-the-dots.png thumbnail: connect-the-dots-thumbnail.png alt: image-alt project-date: April 2015 link: /connect-the-dots source: https://g...
98a015dc3196c67c2c465dc29cbf84f5427ba9da
_posts/2015-07-08-project-7.markdown
_posts/2015-07-08-project-7.markdown
Markdown
<|file_sep|>app/assets/javascripts/threadable/realtime.js.diff original: updated: setInterval(function() { Threadable.realtime.socketIo.emit('ping'); }, 10*1000); <|file_sep|>original/app/assets/javascripts/threadable/realtime.js Threadable.realtime.socketIo = io.connect(Threadable.realtime.ur...
Threadable.realtime.socketIo.emit('ping'); }, 10*1000); }); Threadable.realtime.socketIo.on('application_update', function(message) { // camelize the keys. Object.keys(message).map(function(key) { var value = message[key]; delete message[key]; message[Ember.Str...
<|file_sep|>app/assets/javascripts/threadable/realtime.js.diff original: updated: setInterval(function() { Threadable.realtime.socketIo.emit('ping'); }, 10*1000); <|file_sep|>original/app/assets/javascripts/threadable/realtime.js Threadable.realtime.socketIo = io.connect(Threadable.realtime.ur...
ba1ea1a2ada1ca17e5ee94d21d632f2e9a6d3a53
app/assets/javascripts/threadable/realtime.js
app/assets/javascripts/threadable/realtime.js
JavaScript
<|file_sep|>lib/taxon_describers/lib/taxon_describers/amphibia_web.rb.diff original: url = "http://amphibiaweb.org/cgi/amphib_ws?where-genus=#{genus_name}&where-species=#{species_name}&src=eol" updated: url = "https://amphibiaweb.org/cgi/amphib_ws?where-genus=#{genus_name}&where-species=#{species_name}&src=...
while xml.blank? && !names.blank? xml, genus_name, species_name = data_for_name(names.pop) end return nil if xml.blank? fake_view.render("amphibia_web", :doc => xml, :genus_name => genus_name, :species_name => species_name) end def data_for_name(name) genus_name, species_n...
<|file_sep|>lib/taxon_describers/lib/taxon_describers/amphibia_web.rb.diff original: url = "http://amphibiaweb.org/cgi/amphib_ws?where-genus=#{genus_name}&where-species=#{species_name}&src=eol" updated: url = "https://amphibiaweb.org/cgi/amphib_ws?where-genus=#{genus_name}&where-species=#{species_name}&src=...
54d99dc8160ee316d0c78c77cfdb1846e356d949
lib/taxon_describers/lib/taxon_describers/amphibia_web.rb
lib/taxon_describers/lib/taxon_describers/amphibia_web.rb
Ruby
<|file_sep|>original/runme.sh #!/bin/sh cd `dirname $0` docker build -t sneezy docker docker run --rm --name sneezy --cap-add=SYS_PTRACE -it -p 7900:7900 -v `pwd`/sneezymud:/home/sneezy/sneezymud -v `pwd`/mysql:/var/lib/mysql sneezy <|file_sep|>current/runme.sh #!/bin/sh cd `dirname $0` docker build -t sneezy docker ...
#!/bin/sh cd `dirname $0` docker build -t sneezy docker docker rm sneezy # nuke the previous run if needed docker run --name sneezy --cap-add=SYS_PTRACE -it -p 7900:7900 -v `pwd`/sneezymud:/home/sneezy/sneezymud -v `pwd`/mysql:/var/lib/mysql sneezy
<|file_sep|>original/runme.sh #!/bin/sh cd `dirname $0` docker build -t sneezy docker docker run --rm --name sneezy --cap-add=SYS_PTRACE -it -p 7900:7900 -v `pwd`/sneezymud:/home/sneezy/sneezymud -v `pwd`/mysql:/var/lib/mysql sneezy <|file_sep|>current/runme.sh #!/bin/sh cd `dirname $0` docker build -t sneezy docker ...
076c8641ae51f839357b4feb32bc8ac24fe6be3a
runme.sh
runme.sh
Shell
<|file_sep|>packages/da/data-ref.yaml.diff original: homepage: http://www.haskell.org/haskellwiki/Mutable_variable updated: homepage: http://wiki.haskell.org/Mutable_variable <|file_sep|>packages/da/data-ref.yaml.diff original: hash: b127deabaf78f30820824c7a353bd6bd41a11e6c1b7855678b9754f6fae0f236 updated: hash: d3909a...
changelog: '' basic-deps: stm: ! '>=2.2 && <2.5' base: ! '>=2 && <5' transformers: ! '>=0.4 && <0.5' all-versions: - '0.0' - '0.0.0.1' - '0.0.1' author: Henning Thielemann <haskell@henning-thielemann.de> latest: '0.0.1' description-type: haddock description: ! 'This package provides a unique interface to both STR...
<|file_sep|>packages/da/data-ref.yaml.diff original: homepage: http://www.haskell.org/haskellwiki/Mutable_variable updated: homepage: http://wiki.haskell.org/Mutable_variable <|file_sep|>packages/da/data-ref.yaml.diff original: hash: b127deabaf78f30820824c7a353bd6bd41a11e6c1b7855678b9754f6fae0f236 updated: hash: d3909a...
3f8a1b48d04d3ec740e5f31691bf4f8aeffde2a5
packages/da/data-ref.yaml
packages/da/data-ref.yaml
YAML
<|file_sep|>original/test/test-bashisms.sh <|file_sep|>current/test/test-bashisms.sh <|file_sep|>updated/test/test-bashisms.sh
#!/bin/sh # bashisms tests # Bring in testlib . $(dirname "$0")/testlib.sh begin_test "ghe-* bashisms" ( set -e checkbashisms -f "$ROOTDIR/bin/ghe-"* ) end_test
<|file_sep|>original/test/test-bashisms.sh <|file_sep|>current/test/test-bashisms.sh <|file_sep|>updated/test/test-bashisms.sh #!/bin/sh # bashisms tests # Bring in testlib . $(dirname "$0")/testlib.sh begin_test "ghe-* bashisms" ( set -e checkbashisms -f "$ROOTDIR/bin/ghe-"* ) end_test
101cfb5764f433da3f5775daf9e40a9d572af020
test/test-bashisms.sh
test/test-bashisms.sh
Shell
<|file_sep|>original/app/controllers/twilio_controller.rb class TwilioController < ApplicationController def new_message body = JSON.decode(request.body) if body['NumMedia'] < 1 render 'no_photo_sent' end @message = TwilioMessage.create({ :message_sid => bo...
class TwilioController < ApplicationController # skip the csrf verification because this endpoint should be hit by twilio skip_before_action(:verify_authenticity_token) def new_message body = JSON.decode(request.body) if body['NumMedia'] < 1 render 'no_photo_sent' end @message = TwilioMes...
<|file_sep|>original/app/controllers/twilio_controller.rb class TwilioController < ApplicationController def new_message body = JSON.decode(request.body) if body['NumMedia'] < 1 render 'no_photo_sent' end @message = TwilioMessage.create({ :message_sid => bo...
c6a35406fac665c6a1df7e8cf0d2a3e4e5991de1
app/controllers/twilio_controller.rb
app/controllers/twilio_controller.rb
Ruby
<|file_sep|>app/src/ui/history/drag-and-drop-intro.ts.diff original: title: 'Cherry-pick!', updated: title: 'Drag and drop to cherry-pick!', <|file_sep|>app/src/ui/history/drag-and-drop-intro.ts.diff original: title: 'Squash!', updated: title: 'Drag and drop to squash!', <|file_sep|>original/app/src/ui/...
/** Map with all available drag and drop intros. */ export const AvailableDragAndDropIntros: Record< DragAndDropIntroType, DragAndDropIntro > = { [DragAndDropIntroType.CherryPick]: { title: 'Drag and drop to cherry-pick!', body: 'Copy commits to another branch by dragging and dropping them onto a br...
<|file_sep|>app/src/ui/history/drag-and-drop-intro.ts.diff original: title: 'Cherry-pick!', updated: title: 'Drag and drop to cherry-pick!', <|file_sep|>app/src/ui/history/drag-and-drop-intro.ts.diff original: title: 'Squash!', updated: title: 'Drag and drop to squash!', <|file_sep|>original/app/src/ui/...
66f1f5426d206652e748775ff1b0dc4530004fc6
app/src/ui/history/drag-and-drop-intro.ts
app/src/ui/history/drag-and-drop-intro.ts
TypeScript
<|file_sep|>README.md.diff original: Example: li foo\*bar\*ex\* updated: Example: list_instances.py foo\*bar\*ex\* ``` Cloud Name Zone Id State Ip Address Type Created Autoscaling Group Ia...
# Multi Cloud Utils Multi Cloud Utils is a library to handle standard operations across mutliple cloud platforms. Currently supported clouds are GCP, and AWS. This is not an official Google product supported opertations: ## list_instances Example: list_instances.py foo\*bar\*ex\* ``` Cloud Na...
<|file_sep|>README.md.diff original: Example: li foo\*bar\*ex\* updated: Example: list_instances.py foo\*bar\*ex\* ``` Cloud Name Zone Id State Ip Address Type Created Autoscaling Group Ia...
4a44fd8a943246c0abee8ecf864c0730a9ee3490
README.md
README.md
Markdown
<|file_sep|>original/components/card-author.js const styles = StyleSheet.create({ author: { flexDirection: "row", paddingTop: 8, paddingBottom: 8 }, name: { color: "#999", fontSize: 12, lineHeight: 21, marginLeft: 8 }, avatar: { height:...
const styles = StyleSheet.create({ author: { flexDirection: "row", paddingTop: 8, paddingBottom: 8 }, name: { color: "#999", fontSize: 12, lineHeight: 21, marginHorizontal: 8, paddingHorizontal: 8 }, avatar: { height: 16, ...
<|file_sep|>original/components/card-author.js const styles = StyleSheet.create({ author: { flexDirection: "row", paddingTop: 8, paddingBottom: 8 }, name: { color: "#999", fontSize: 12, lineHeight: 21, marginLeft: 8 }, avatar: { height:...
b784174b65c80a28668077860dbd3e1f7a87a4b4
components/card-author.js
components/card-author.js
JavaScript
<|file_sep|>original/packages/to/toboggan.yaml <|file_sep|>current/packages/to/toboggan.yaml <|file_sep|>updated/packages/to/toboggan.yaml
homepage: https://github.com/vmchale/toboggan#readme changelog-type: '' hash: 6a16a9f6265680f1c588cea270ee0016667632d9cbd4fff7d051fc6972e6ed83 test-bench-deps: {} maintainer: tmchale@wisc.edu synopsis: Twitter bot generator changelog: '' basic-deps: optparse-generic: ! '>=1.1.1 && <1.2' base: ! '>=4.9.0.0 && <4.10'...
<|file_sep|>original/packages/to/toboggan.yaml <|file_sep|>current/packages/to/toboggan.yaml <|file_sep|>updated/packages/to/toboggan.yaml homepage: https://github.com/vmchale/toboggan#readme changelog-type: '' hash: 6a16a9f6265680f1c588cea270ee0016667632d9cbd4fff7d051fc6972e6ed83 test-bench-deps: {} maintainer: tmch...
933278ac701cb731971e232787dc93a21fb3f9d1
packages/to/toboggan.yaml
packages/to/toboggan.yaml
YAML
<|file_sep|>original/test/gir_ffi/receiver_argument_info_test.rb <|file_sep|>current/test/gir_ffi/receiver_argument_info_test.rb <|file_sep|>updated/test/gir_ffi/receiver_argument_info_test.rb
# frozen_string_literal: true require 'gir_ffi_test_helper' require 'gir_ffi/receiver_argument_info' describe GirFFI::ReceiverArgumentInfo do let(:dummy_type) { 'foo' } let(:instance) { GirFFI::ReceiverArgumentInfo.new dummy_type} describe '#argument_type' do it 'returns the argument type' do instance...
<|file_sep|>original/test/gir_ffi/receiver_argument_info_test.rb <|file_sep|>current/test/gir_ffi/receiver_argument_info_test.rb <|file_sep|>updated/test/gir_ffi/receiver_argument_info_test.rb # frozen_string_literal: true require 'gir_ffi_test_helper' require 'gir_ffi/receiver_argument_info' describe GirFFI::Receiv...
c4718fb63cec75c519769c0f049cd2492f0290b6
test/gir_ffi/receiver_argument_info_test.rb
test/gir_ffi/receiver_argument_info_test.rb
Ruby
<|file_sep|>original/requirements.txt Flask-JWT-Extended==3.12.0 google-cloud-storage==1.17.0 gevent==1.3.7 gunicorn==19.7.1 idna==2.7 imagehash==4.0 iso8601==0.1.12 jsonschema==2.6.0 kombu==4.5.0 pdftotext==2.1.4 pillow==6.2.1 psycopg2-binary==2.7.5 pyOpenSSL==18.0.0 pypng==0.0.20 pyqrcode==1.2.1 redis==3.3.5 requests...
Flask-JWT-Extended==3.12.0 google-cloud-storage==1.17.0 gevent==1.3.7 gunicorn==19.7.1 idna==2.7 imagehash==4.0 iso8601==0.1.12 jsonschema==2.6.0 kombu==4.5.0 pdftotext==2.1.4 pillow==6.2.2 psycopg2-binary==2.7.5 pyOpenSSL==18.0.0 pypng==0.0.20 pyqrcode==1.2.1 redis==3.3.5 requests>=2.0.0 six==1.11.0 Wand==0.5.8 Werkze...
<|file_sep|>original/requirements.txt Flask-JWT-Extended==3.12.0 google-cloud-storage==1.17.0 gevent==1.3.7 gunicorn==19.7.1 idna==2.7 imagehash==4.0 iso8601==0.1.12 jsonschema==2.6.0 kombu==4.5.0 pdftotext==2.1.4 pillow==6.2.1 psycopg2-binary==2.7.5 pyOpenSSL==18.0.0 pypng==0.0.20 pyqrcode==1.2.1 redis==3.3.5 requests...
22e838d0c3d186b04a3bfc8f82911c3697800f12
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/cavm/h2_unpack_rows.clj <|file_sep|>current/src/cavm/h2_unpack_rows.clj <|file_sep|>updated/src/cavm/h2_unpack_rows.clj
(ns cavm.h2-unpack-rows) ; The following a mechanism to avoid a direct dependency on other cavm code ; that should not be aot compiled. ; This file has to be aot compiled so h2 can find it (or so I'm lead to believe). ; However a dependency on other files causes them to be affected by the aot. This ; messes up dynami...
<|file_sep|>original/src/cavm/h2_unpack_rows.clj <|file_sep|>current/src/cavm/h2_unpack_rows.clj <|file_sep|>updated/src/cavm/h2_unpack_rows.clj (ns cavm.h2-unpack-rows) ; The following a mechanism to avoid a direct dependency on other cavm code ; that should not be aot compiled. ; This file has to be aot compiled s...
81feb5f55e3c212aadec9c4d8c457c5da6119e92
src/cavm/h2_unpack_rows.clj
src/cavm/h2_unpack_rows.clj
Clojure
<|file_sep|>original/metadata/org.durka.hallmonitor.txt For more information, see upstream's [https://github.com/durka/HallMonitor/blob/master/README.md README]. . Repo Type:git Repo:https://github.com/durka/HallMonitor.git Build:0.0.2a,3 commit=0.0.2a Build:0.1,5 commit=0.1 Build:0.2,6 commit=0.2 Aut...
Repo Type:git Repo:https://github.com/durka/HallMonitor.git Build:0.0.2a,3 commit=0.0.2a Build:0.1,5 commit=0.1 Build:0.2,6 commit=0.2 Build:0.2.1,7 commit=0.2.1 Auto Update Mode:None Update Check Mode:Tags Current Version:0.2.1 Current Version Code:7
<|file_sep|>original/metadata/org.durka.hallmonitor.txt For more information, see upstream's [https://github.com/durka/HallMonitor/blob/master/README.md README]. . Repo Type:git Repo:https://github.com/durka/HallMonitor.git Build:0.0.2a,3 commit=0.0.2a Build:0.1,5 commit=0.1 Build:0.2,6 commit=0.2 Aut...
0245f0fd4c0d8b82c0dfcda4d611aa23e21ab3ca
metadata/org.durka.hallmonitor.txt
metadata/org.durka.hallmonitor.txt
Text
<|file_sep|>original/bower.json ], "description": "User interface for Flow-Based Programming", "license": "MIT", "ignore": [ "**/.*", "node_modules", "bower_components", "components", "Gruntfile.coffee", "spec" ], "dependencies": { "polymer": "~0.1.4", "the-graph": "git://git...
], "description": "User interface for Flow-Based Programming", "license": "MIT", "ignore": [ "**/.*", "node_modules", "bower_components", "components", "Gruntfile.coffee", "spec" ], "dependencies": { "polymer": "~0.1.4", "the-graph": "master", "the-panel": "*", "the-c...
<|file_sep|>original/bower.json ], "description": "User interface for Flow-Based Programming", "license": "MIT", "ignore": [ "**/.*", "node_modules", "bower_components", "components", "Gruntfile.coffee", "spec" ], "dependencies": { "polymer": "~0.1.4", "the-graph": "git://git...
cafb82fbda5214f16e8db3a17fd7cdab5421e3e6
bower.json
bower.json
JSON
<|file_sep|>original/src/SubMapper/EnumerableMapping/Adders/ArrayConcatAdder.cs using SubMapper.EnumerableMapping; using System; using System.Collections.Generic; using System.Linq; namespace SubMapper.EnumerableMapping.Adders { public static partial class PartialEnumerableMappingExtensions { public s...
using SubMapper.EnumerableMapping; using System; using System.Collections.Generic; using System.Linq; namespace SubMapper.EnumerableMapping.Adders { public static partial class PartialEnumerableMappingExtensions { public static PartialEnumerableMapping<TSubA, TSubB, IEnumerable<TSubIItem>, TSubJ, TSub...
<|file_sep|>original/src/SubMapper/EnumerableMapping/Adders/ArrayConcatAdder.cs using SubMapper.EnumerableMapping; using System; using System.Collections.Generic; using System.Linq; namespace SubMapper.EnumerableMapping.Adders { public static partial class PartialEnumerableMappingExtensions { public s...
71765a2a5e8f2e50097e2e6f84a5ec1c3cd8cc49
src/SubMapper/EnumerableMapping/Adders/ArrayConcatAdder.cs
src/SubMapper/EnumerableMapping/Adders/ArrayConcatAdder.cs
C#
<|file_sep|>lib/capybara/server.rb.diff original: updated: require 'uri' <|file_sep|>original/lib/capybara/server.rb def port 8080 end def host 'localhost' end def url(path) "http://#{host}:#{port}#{path}" end def boot Capybara.log "application has already booted" and return if respo...
def port 8080 end def host 'localhost' end def url(path) path = URI.parse(path).request_uri if path =~ /^http/ "http://#{host}:#{port}#{path}" end def boot Capybara.log "application has already booted" and return if responsive? Capybara.log "booting Rack applicartion on por...
<|file_sep|>lib/capybara/server.rb.diff original: updated: require 'uri' <|file_sep|>original/lib/capybara/server.rb def port 8080 end def host 'localhost' end def url(path) "http://#{host}:#{port}#{path}" end def boot Capybara.log "application has already booted" and return if respo...
61338d0786e64adf8d78c10831c3480fc67e6e5d
lib/capybara/server.rb
lib/capybara/server.rb
Ruby
<|file_sep|>original/package.json "eslint", "style", "imweb" ], "scripts": { "lint": "eslint index.js" }, "author": "IMWeb Team", "license": "MIT", "dependencies": { "eslint-config-airbnb": "^13.0.0", "eslint-plugin-babel": "^4.0.0", "eslint-plugin-import": "^2.2.0", "eslint-...
], "scripts": { "lint": "eslint index.js" }, "author": "IMWeb Team", "license": "MIT", "dependencies": { "eslint-config-airbnb": "^13.0.0", "eslint-plugin-babel": "^4.0.0", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^2.2.3", "eslint-plugin-react": "^6.7.1" }, "p...
<|file_sep|>original/package.json "eslint", "style", "imweb" ], "scripts": { "lint": "eslint index.js" }, "author": "IMWeb Team", "license": "MIT", "dependencies": { "eslint-config-airbnb": "^13.0.0", "eslint-plugin-babel": "^4.0.0", "eslint-plugin-import": "^2.2.0", "eslint-...
c9bb7504828d51bd634607344446d41f4a5e22d3
package.json
package.json
JSON
<|file_sep|>original/README.md # spark-testing-base Base classes to use when writing tests with Spark. # Why? You've written an awesome program in Spark and now its time to write some tests. Only you find yourself writing the code to setup and tear down local mode Spark in between each suite and you say to your self: T...
[![buildstatus](https://travis-ci.org/holdenk/spark-testing-base.svg?branch=master)](https://travis-ci.org/holdenk/spark-testing-base) # spark-testing-base Base classes to use when writing tests with Spark. # Why? You've written an awesome program in Spark and now its time to write some tests. Only you find yourself wr...
<|file_sep|>original/README.md # spark-testing-base Base classes to use when writing tests with Spark. # Why? You've written an awesome program in Spark and now its time to write some tests. Only you find yourself writing the code to setup and tear down local mode Spark in between each suite and you say to your self: T...
139ca944927fd74ff94a071380e789db42e5d942
README.md
README.md
Markdown
<|file_sep|>scripts/nipy_4dto3D.py.diff original: import sys updated: <|file_sep|>scripts/nipy_4dto3D.py.diff original: updated: import nipy.externals.argparse as argparse <|file_sep|>scripts/nipy_4dto3D.py.diff original: if __name__ == '__main__': try: fname = sys.argv[1] except IndexError: r...
# create the parser parser = argparse.ArgumentParser() # add the arguments parser.add_argument('filename', type=str, help='4D image filename') # parse the command line args = parser.parse_args() img = nii.load(args.filename) imgs = nii.four_to_three(img) froot...
<|file_sep|>scripts/nipy_4dto3D.py.diff original: import sys updated: <|file_sep|>scripts/nipy_4dto3D.py.diff original: updated: import nipy.externals.argparse as argparse <|file_sep|>scripts/nipy_4dto3D.py.diff original: if __name__ == '__main__': try: fname = sys.argv[1] except IndexError: r...
51701b35d9ef9401abf0d86fd5726e669326390d
scripts/nipy_4dto3D.py
scripts/nipy_4dto3D.py
Python
<|file_sep|>original/requirements/docs.txt # ulid/requirements/docs.txt # # Requirements for generating package documentation. -r base.txt sphinx==1.8.4 sphinx_rtd_theme==0.4.2 <|file_sep|>current/requirements/docs.txt # ulid/requirements/docs.txt # # Requirements for generating package documentation. -r base.txt s...
# ulid/requirements/docs.txt # # Requirements for generating package documentation. -r base.txt sphinx==1.8.4 sphinx_rtd_theme==0.4.3
<|file_sep|>original/requirements/docs.txt # ulid/requirements/docs.txt # # Requirements for generating package documentation. -r base.txt sphinx==1.8.4 sphinx_rtd_theme==0.4.2 <|file_sep|>current/requirements/docs.txt # ulid/requirements/docs.txt # # Requirements for generating package documentation. -r base.txt s...
4d50689275c468552ca4b80944ad8f25e340f781
requirements/docs.txt
requirements/docs.txt
Text
<|file_sep|>src/NS/ImportBundle/Linker/CaseLinkerRegistry.php.diff original: updated: use NS\ImportBundle\Exceptions\CaseLinkerNotFoundException; <|file_sep|>original/src/NS/ImportBundle/Linker/CaseLinkerRegistry.php */ public function addLinker($id, CaseLinkerInterface $linker) { $this->caseLink...
*/ public function addLinker($id, CaseLinkerInterface $linker) { $this->caseLinkers[$id] = $linker; } /** * @param $linkerName * @return CaseLinkerInterface * @throws CaseLinkerNotFoundException */ public function getLinker($linkerName) { if(isset($this-...
<|file_sep|>src/NS/ImportBundle/Linker/CaseLinkerRegistry.php.diff original: updated: use NS\ImportBundle\Exceptions\CaseLinkerNotFoundException; <|file_sep|>original/src/NS/ImportBundle/Linker/CaseLinkerRegistry.php */ public function addLinker($id, CaseLinkerInterface $linker) { $this->caseLink...
0c4cef7eab914802740429a5f30656678ee02b98
src/NS/ImportBundle/Linker/CaseLinkerRegistry.php
src/NS/ImportBundle/Linker/CaseLinkerRegistry.php
PHP
<|file_sep|>original/src/VisualStudioMarketPlaceAssets/package.json { "name": "GulpConcatReadMe", "version": "1.0.0", "private": true, "devDependencies": { "gulp": "3.8.11", "gulp-bower": "0.0.10", "gulp-config": "0.3.0", "gulp-concat": "2.4.3", "gulp-replace": "0.5.4" } } <|file_sep|...
{ "name": "GulpConcatReadMe", "version": "1.0.0", "private": true, "devDependencies": { "gulp": "3.9.1", "gulp-bower": "0.0.10", "gulp-config": "0.3.0", "gulp-concat": "2.4.3", "gulp-replace": "0.5.4" } }
<|file_sep|>original/src/VisualStudioMarketPlaceAssets/package.json { "name": "GulpConcatReadMe", "version": "1.0.0", "private": true, "devDependencies": { "gulp": "3.8.11", "gulp-bower": "0.0.10", "gulp-config": "0.3.0", "gulp-concat": "2.4.3", "gulp-replace": "0.5.4" } } <|file_sep|...
a19ff8b327a166a7f1a04ef71e893a5d32fd4b51
src/VisualStudioMarketPlaceAssets/package.json
src/VisualStudioMarketPlaceAssets/package.json
JSON
<|file_sep|>original/regtests/config/test-config.xml <navigation-case> <from-outcome>success</from-outcome> <to-view-id>/tests/flash-data.xhtml</to-view-id> <redirect/> </navigation-case> </navigation-rule> <navigation-rule> <from-view-id>/tests/form-text.xhtml</from-view-id> <nav...
</navigation-rule> <navigation-rule> <from-view-id>/tests/form-text.xhtml</from-view-id> <navigation-case> <from-outcome>success</from-outcome> <to-view-id>/tests/nav-success.xhtml</to-view-id> </navigation-case> </navigation-rule> <navigation-rule> <from-view-id>/tests/view-action...
<|file_sep|>original/regtests/config/test-config.xml <navigation-case> <from-outcome>success</from-outcome> <to-view-id>/tests/flash-data.xhtml</to-view-id> <redirect/> </navigation-case> </navigation-rule> <navigation-rule> <from-view-id>/tests/form-text.xhtml</from-view-id> <nav...
541f8e9cf46b1f7e2871278a72eb4f0e1504a4dd
regtests/config/test-config.xml
regtests/config/test-config.xml
XML
<|file_sep|>original/build.sbt import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.1.7" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= S...
import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.1.8" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= Seq( ws, "com.jason-...
<|file_sep|>original/build.sbt import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.1.7" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= S...
fd9202305f29fa718326bffd97889a70f30b4fad
build.sbt
build.sbt
Scala
<|file_sep|>original/requirements/docs.txt m2r==0.2.0 setuptools==40.0.0 sphinx==1.7.6 sphinx-rtd-theme==0.4.1 <|file_sep|>current/requirements/docs.txt m2r==0.2.0 setuptools==40.0.0 sphinx==1.7.6 sphinx-rtd-theme==0.4.1 <|file_sep|>updated/requirements/docs.txt
m2r==0.2.0 setuptools==40.1.0 sphinx==1.7.6 sphinx-rtd-theme==0.4.1
<|file_sep|>original/requirements/docs.txt m2r==0.2.0 setuptools==40.0.0 sphinx==1.7.6 sphinx-rtd-theme==0.4.1 <|file_sep|>current/requirements/docs.txt m2r==0.2.0 setuptools==40.0.0 sphinx==1.7.6 sphinx-rtd-theme==0.4.1 <|file_sep|>updated/requirements/docs.txt m2r==0.2.0 setuptools==40.1.0 sphinx==1.7.6 sphinx-rtd-th...
ae2e5915156aa2dd29c00613eb6cf6f3d676e7ad
requirements/docs.txt
requirements/docs.txt
Text
<|file_sep|>original/lib/templates/travis.yml language: node_js node_js: - '0.8' - '0.10' before_script: - 'npm install -g bower grunt-cli' - 'bower install' <|file_sep|>current/lib/templates/travis.yml language: node_js node_js: - '0.8' - '0.10' before_script: - 'npm install -g bower grunt-cli' - 'bowe...
language: node_js node_js: - '0.10' before_script: - 'npm install -g bower grunt-cli' - 'bower install'
<|file_sep|>original/lib/templates/travis.yml language: node_js node_js: - '0.8' - '0.10' before_script: - 'npm install -g bower grunt-cli' - 'bower install' <|file_sep|>current/lib/templates/travis.yml language: node_js node_js: - '0.8' - '0.10' before_script: - 'npm install -g bower grunt-cli' - 'bowe...
4d8813730cfbb3a455d4cd035ae62179950f95d3
lib/templates/travis.yml
lib/templates/travis.yml
YAML
<|file_sep|>scripts/curl_it.sh.diff original: usage='Usage: curlit URL' search_dir='.' updated: usage='Usage: curlit URL [interval_seconds] Example: curlit https://www.google.com/ 5 ' <|file_sep|>scripts/curl_it.sh.diff original: if [ $# -eq 0 ] || [ $# -gt 1 ] updated: if [ $# -eq 0 ] || [ $# -gt 2 ] <|...
if [ "$2" -gt 0 ] then interval="$2" else interval=1 fi while true; do RESULT_OUTPUT=$(curl -Is $1 | head -n1) printf $(date +%Y-%m-%dT%H:%M:%S%z) echo " $RESULT_OUTPUT" if [ "$?" -ne 0 ] then echo "Call to $1 failed" return 1 fi sleep $interval done }
<|file_sep|>scripts/curl_it.sh.diff original: usage='Usage: curlit URL' search_dir='.' updated: usage='Usage: curlit URL [interval_seconds] Example: curlit https://www.google.com/ 5 ' <|file_sep|>scripts/curl_it.sh.diff original: if [ $# -eq 0 ] || [ $# -gt 1 ] updated: if [ $# -eq 0 ] || [ $# -gt 2 ] <|...
fda7d1eec764c0533fe22b79a81db1aee165faf2
scripts/curl_it.sh
scripts/curl_it.sh
Shell
<|file_sep|>app/views/messages/_message.html.erb.diff original: <%= link_to 'Delete Review', message_path(@message), updated: <%= link_to 'Delete Message', message_path(@message), <|file_sep|>original/app/views/messages/_message.html.erb <p style="font-size:1.25em;"><%= message.body %></p> <p style="font-si...
<% if current_user && current_user.id == message.user_id %> <p> <%= link_to 'Delete Message', message_path(@message), method: :delete, data: { confirm: 'Are you sure?' } %> </p> <% end %> <br><br><hr> <p style="font-size:1.15em;"><strong>Reply:</strong></p> <%= render 'comments/form' %> <...
<|file_sep|>app/views/messages/_message.html.erb.diff original: <%= link_to 'Delete Review', message_path(@message), updated: <%= link_to 'Delete Message', message_path(@message), <|file_sep|>original/app/views/messages/_message.html.erb <p style="font-size:1.25em;"><%= message.body %></p> <p style="font-si...
d5fa87edceb468f0a13c29218496be6822b3ec97
app/views/messages/_message.html.erb
app/views/messages/_message.html.erb
HTML+ERB
<|file_sep|>original/docs/backends/mapmyfitness.rst MapMyFitness ========= MapMyFitness uses OAuth v2 for authentication. - Register a new application at the `MapMyFitness API`_, and - fill ``key`` and ``secret`` values in the settings:: SOCIAL_AUTH_MAPMYFITNESS_KEY = '' SOCIAL_AUTH_MAPMYFITNESS_SECRET ...
MapMyFitness ============ MapMyFitness uses OAuth v2 for authentication. - Register a new application at the `MapMyFitness API`_, and - fill ``key`` and ``secret`` values in the settings:: SOCIAL_AUTH_MAPMYFITNESS_KEY = '' SOCIAL_AUTH_MAPMYFITNESS_SECRET = '' .. _MapMyFitness API: https://www.mapmyapi....
<|file_sep|>original/docs/backends/mapmyfitness.rst MapMyFitness ========= MapMyFitness uses OAuth v2 for authentication. - Register a new application at the `MapMyFitness API`_, and - fill ``key`` and ``secret`` values in the settings:: SOCIAL_AUTH_MAPMYFITNESS_KEY = '' SOCIAL_AUTH_MAPMYFITNESS_SECRET ...
33e5dbd8fb185a106dca388a31da1bd723f5ae1a
docs/backends/mapmyfitness.rst
docs/backends/mapmyfitness.rst
reStructuredText
<|file_sep|>original/requirements-dev.txt flake8==3.2.1 coverage==4.2 sphinx==1.4.9 pep257==0.7.0 -e . aioredis==0.2.9 cryptography==1.7 pynacl==1.0.1 pytest-aiohttp==0.1.2 pytest-cov==2.4.0 aiohttp==1.1.6 multidict==2.1.4 yarl==0.8.1 chardet==2.3.0 <|file_sep|>current/requirements-dev.txt flake8==3.2.1 coverage==4.2 s...
flake8==3.2.1 coverage==4.2 sphinx==1.5.1 pep257==0.7.0 -e . aioredis==0.2.9 cryptography==1.7 pynacl==1.0.1 pytest-aiohttp==0.1.2 pytest-cov==2.4.0 aiohttp==1.1.6 multidict==2.1.4 yarl==0.8.1 chardet==2.3.0
<|file_sep|>original/requirements-dev.txt flake8==3.2.1 coverage==4.2 sphinx==1.4.9 pep257==0.7.0 -e . aioredis==0.2.9 cryptography==1.7 pynacl==1.0.1 pytest-aiohttp==0.1.2 pytest-cov==2.4.0 aiohttp==1.1.6 multidict==2.1.4 yarl==0.8.1 chardet==2.3.0 <|file_sep|>current/requirements-dev.txt flake8==3.2.1 coverage==4.2 s...
26f2afe6b33b26f64764f26c608bb6fe166de26a
requirements-dev.txt
requirements-dev.txt
Text