prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/lib/font_awesome/sass/rails/engine.rb module FontAwesome module Sass module Rails class Engine < ::Rails::Engine initializer 'font-awesome-sass.assets.precompile' do |app| %w(stylesheets fonts).each do |sub| app.config.assets.paths << root.join('assets', su...
module FontAwesome module Sass module Rails class Engine < ::Rails::Engine initializer 'font-awesome-sass.assets.precompile' do |app| %w(stylesheets fonts).each do |sub| app.config.assets.paths << root.join('assets', sub) end app.config.assets.precompile <<...
<|file_sep|>original/lib/font_awesome/sass/rails/engine.rb module FontAwesome module Sass module Rails class Engine < ::Rails::Engine initializer 'font-awesome-sass.assets.precompile' do |app| %w(stylesheets fonts).each do |sub| app.config.assets.paths << root.join('assets', su...
f576a0dc8dcc077e7b8a6727028c50be974ec36d
lib/font_awesome/sass/rails/engine.rb
lib/font_awesome/sass/rails/engine.rb
Ruby
<|file_sep|>original/admiral-base/postboot-2.sh #!/bin/bash # # Run from new VM console or SSH session echo ============================= echo "Install new packages" echo ============================= apt-get update apt-get install -qy --force-yes libpam-krb5 nagios3 nagios-nrpe-plugin nagios-nrpe-server tsm-client a...
#!/bin/bash # # Run from new VM console or SSH session echo ============================= echo "Install new packages" echo ============================= apt-get update apt-get install -qy --force-yes libpam-krb5 nagios3 nagios-nrpe-plugin nagios-nrpe-server tsm-client apt-get install -qy --force-yes lvm2 mercurial e...
<|file_sep|>original/admiral-base/postboot-2.sh #!/bin/bash # # Run from new VM console or SSH session echo ============================= echo "Install new packages" echo ============================= apt-get update apt-get install -qy --force-yes libpam-krb5 nagios3 nagios-nrpe-plugin nagios-nrpe-server tsm-client a...
7a87186685e6b7ddcaea800ae671b665a4215132
admiral-base/postboot-2.sh
admiral-base/postboot-2.sh
Shell
<|file_sep|>original/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/Plan.java /** * A Plan knows about the billing calculations and the default quota for any tenant associated with the Plan. * The Plan can also enforce transitions from one plan to another. * * @author ogronne...
* The Plan can also enforce transitions from one plan to another. * * @author ogronnesby */ public interface Plan { /** Unique ID for the plan */ PlanId id(); /** A string to be used for display purposes */ String displayName(); /** The cost calculator for this plan */ CostCalculator calc...
<|file_sep|>original/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/Plan.java /** * A Plan knows about the billing calculations and the default quota for any tenant associated with the Plan. * The Plan can also enforce transitions from one plan to another. * * @author ogronne...
a406c24eae54b07804dae7306d8c77463cdfaec6
controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/Plan.java
controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/Plan.java
Java
<|file_sep|>original/tests/common_check.pri qws { unittest_arguments += -qws } QMAKE_EXTRA_TARGETS += check check.target = check check.commands = \ TESTING_IN_SANDBOX=1 \ TESTPLUGIN_PATH=../plugins \ TESTDATA_PATH=$$IN_PWD \ LD_LIBRARY_PATH=../../connection:../../maliit-plugins-quick/input-method:....
qws { unittest_arguments += -qws } QMAKE_EXTRA_TARGETS += check check.target = check check.commands = \ TESTING_IN_SANDBOX=1 \ TESTPLUGIN_PATH=../plugins \ TESTDATA_PATH=$$IN_PWD \ LD_LIBRARY_PATH=../../lib:../../lib/plugins:../plugins:$(LD_LIBRARY_PATH) \ ./$$TARGET $$unittest_arguments check...
<|file_sep|>original/tests/common_check.pri qws { unittest_arguments += -qws } QMAKE_EXTRA_TARGETS += check check.target = check check.commands = \ TESTING_IN_SANDBOX=1 \ TESTPLUGIN_PATH=../plugins \ TESTDATA_PATH=$$IN_PWD \ LD_LIBRARY_PATH=../../connection:../../maliit-plugins-quick/input-method:....
ebe61012dd6a0d83b1420b3c248b1a3df0be0fdf
tests/common_check.pri
tests/common_check.pri
QMake
<|file_sep|>original/package.json "url": "git+https://github.com/evetstech/react-native-animated-ptr.git" }, "keywords": [ "react-native", "react-component", "ios", "android", "animated", "pull to refresh" ], "author": "Steve Singrattana <steve@projectinf.com>", "license": "MIT", ...
"test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/evetstech/react-native-animated-ptr.git" }, "keywords": [ "react-native", "react-component", "ios", "android", "animated", "pull to refresh" ], "author":...
<|file_sep|>original/package.json "url": "git+https://github.com/evetstech/react-native-animated-ptr.git" }, "keywords": [ "react-native", "react-component", "ios", "android", "animated", "pull to refresh" ], "author": "Steve Singrattana <steve@projectinf.com>", "license": "MIT", ...
8435254cecbd7554969d4486c0f66f92bac25a1b
package.json
package.json
JSON
<|file_sep|>original/doc/index.rst Choose you favorite topic from the list of content .. toctree:: :maxdepth: 2 welcome getting_started usage_details about development whatsnew api Indices and tables ================== * :ref:`genindex` * :ref:`modindex` <|file_sep|>current/doc/index.rst ...
Choose you favorite topic from the list of content .. toctree:: :maxdepth: 2 welcome getting_started usage_details about calculation development whatsnew api Indices and tables ================== * :ref:`genindex`
<|file_sep|>original/doc/index.rst Choose you favorite topic from the list of content .. toctree:: :maxdepth: 2 welcome getting_started usage_details about development whatsnew api Indices and tables ================== * :ref:`genindex` * :ref:`modindex` <|file_sep|>current/doc/index.rst ...
41ba166cb5cafc3c5ac20ffaa12219f4ceac6478
doc/index.rst
doc/index.rst
reStructuredText
<|file_sep|>templates/Entry/Form.html.diff original: <script>const entryId = '<?=$entryId?>'; const title = '<?=$title?>'; const published = '<?=$published?>'; const publishDate = '<?=$publishDate?>'; const tags = <?=$tags?>;const entryTags = <?=$entryTags?>;</script> updated: <script>const entry = <?=$entry?>; const t...
<script>const entry = <?=$entry?>; const tags = <?=$tags?>;</script> <div class="entry"> <div class="status-bar row"> <div class="col-sm-2"> <a href="./stories/Listing/" class="btn btn-sm btn-default"><i class="fa fa-list"></i>&nbsp;Back to list</a> </div> <div class="col-sm-4"> ...
<|file_sep|>templates/Entry/Form.html.diff original: <script>const entryId = '<?=$entryId?>'; const title = '<?=$title?>'; const published = '<?=$published?>'; const publishDate = '<?=$publishDate?>'; const tags = <?=$tags?>;const entryTags = <?=$entryTags?>;</script> updated: <script>const entry = <?=$entry?>; const t...
652cf7755229da71bf92af9564b5e4e15df4dde8
templates/Entry/Form.html
templates/Entry/Form.html
HTML
<|file_sep|>original/lisp/packages.el ;;; packages.el -- Emacs package management (require 'package) (defvar pjones:package-archives '(("marmalade" . "http://marmalade-repo.org/packages/") ("melpa" . "http://melpa.milkbox.net/packages/")) "List of package archives to use with Emacs.") (defvar pjones:packages ...
;;; packages.el -- Emacs package management (require 'package) (defvar pjones:package-archives '(("marmalade" . "http://marmalade-repo.org/packages/") ("melpa" . "http://melpa.milkbox.net/packages/")) "List of package archives to use with Emacs.") (defvar pjones:packages '(magit flymake-ruby ruby-end inf-ru...
<|file_sep|>original/lisp/packages.el ;;; packages.el -- Emacs package management (require 'package) (defvar pjones:package-archives '(("marmalade" . "http://marmalade-repo.org/packages/") ("melpa" . "http://melpa.milkbox.net/packages/")) "List of package archives to use with Emacs.") (defvar pjones:packages ...
23495b5ca768c74bd78f78d10c7efe916bd28f9f
lisp/packages.el
lisp/packages.el
Emacs Lisp
<|file_sep|>Casks/fluid.rb.diff original: version '1.8.3' sha256 '56438a946b281b009626a06cb099a7198e948bc8bef18a19c1bceb28bbe4d619' updated: version '1.8.4' sha256 'ccb7d282e9613ebd1949f27e942b4cf516dea1c0cf45c3c2ee4042893a6e97d3' <|file_sep|>original/Casks/fluid.rb cask :v1 => 'fluid' do version '1.8.3' sh...
cask :v1 => 'fluid' do version '1.8.4' sha256 'ccb7d282e9613ebd1949f27e942b4cf516dea1c0cf45c3c2ee4042893a6e97d3' url "http://fluidapp.com/dist/Fluid_#{version}.zip" appcast 'http://fluidapp.com/appcast/fluid1.rss', :sha256 => '260c43831d82b9fa593d9f32cca7bc61b594f5993908b104601ed866ee7c518a' name '...
<|file_sep|>Casks/fluid.rb.diff original: version '1.8.3' sha256 '56438a946b281b009626a06cb099a7198e948bc8bef18a19c1bceb28bbe4d619' updated: version '1.8.4' sha256 'ccb7d282e9613ebd1949f27e942b4cf516dea1c0cf45c3c2ee4042893a6e97d3' <|file_sep|>original/Casks/fluid.rb cask :v1 => 'fluid' do version '1.8.3' sh...
6ab53056037549ecc0fea600d63b0a76b87b2339
Casks/fluid.rb
Casks/fluid.rb
Ruby
<|file_sep|>lib/methods/raw.js.diff original: updated: var isLikeNumber =require('../util').isLikeNumber <|file_sep|>original/lib/methods/raw.js var newObj = {} var val = obj._$val if (val !== void 0) { newObj = val } else { var isArrayLike = true var asArray = [] ...
var newObj = {} var val = obj._$val if (val !== void 0) { newObj = val } else { var isArrayLike = true var asArray = [] var newVal for( var key in obj ) { if ( key[0] !== '_' && key !== '$key' && key !== '$val' && (!exclude||!exclude(key, obj)) )...
<|file_sep|>lib/methods/raw.js.diff original: updated: var isLikeNumber =require('../util').isLikeNumber <|file_sep|>original/lib/methods/raw.js var newObj = {} var val = obj._$val if (val !== void 0) { newObj = val } else { var isArrayLike = true var asArray = [] ...
72360c8d6f8c868c9ea88f5f9018e7ff01ad3fb9
lib/methods/raw.js
lib/methods/raw.js
JavaScript
<|file_sep|>original/mezzanine_sermons/templates/mezzanine_sermons/single_sermon_series.html {% extends "base.html" %} {% load i18n staticfiles mezzanine_tags %} {% block meta_title %}{{ series.title }} Sermon Series{% endblock %} {% block title %}{{ series.title }} Sermon Series{% endblock %} {% block breadcrumb_men...
{% extends "base.html" %} {% load i18n staticfiles mezzanine_tags %} {% block title %}{{ series.title }}{% endblock %} {% block full_width_content %} <div class="row bottommargin-sm"> <div class="col-md-12"> {% if series.image %} <img src="{{ MEDIA_URL }}{% thumbnail series.image 3...
<|file_sep|>original/mezzanine_sermons/templates/mezzanine_sermons/single_sermon_series.html {% extends "base.html" %} {% load i18n staticfiles mezzanine_tags %} {% block meta_title %}{{ series.title }} Sermon Series{% endblock %} {% block title %}{{ series.title }} Sermon Series{% endblock %} {% block breadcrumb_men...
af300664218269be11ee20d69915d07bd0a4ba5e
mezzanine_sermons/templates/mezzanine_sermons/single_sermon_series.html
mezzanine_sermons/templates/mezzanine_sermons/single_sermon_series.html
HTML
<|file_sep|>original/egopowerflow/tools/pypsa_io.py <|file_sep|>current/egopowerflow/tools/pypsa_io.py <|file_sep|>updated/egopowerflow/tools/pypsa_io.py
import pypsa import pandas as pd from sqlalchemy.orm import sessionmaker, load_only from sqlalchemy import create_engine from pypsa import io from oemof import db from egoio.db_tables.calc_ego_mv_powerflow import Bus, Line, Generator, Load, \ Transformer, TempResolution, BusVMagSet, GeneratorPqSet, LoadPqSet def...
<|file_sep|>original/egopowerflow/tools/pypsa_io.py <|file_sep|>current/egopowerflow/tools/pypsa_io.py <|file_sep|>updated/egopowerflow/tools/pypsa_io.py import pypsa import pandas as pd from sqlalchemy.orm import sessionmaker, load_only from sqlalchemy import create_engine from pypsa import io from oemof import db ...
7ed869d5713e936ff1b71dab62ee3599ca23c884
egopowerflow/tools/pypsa_io.py
egopowerflow/tools/pypsa_io.py
Python
<|file_sep|>original/lib/honyomi/web/views/index.haml %input(class="btn btn-primary" type="submit" value="Search") .info = @header_info #modal-bookmark-edit.modal.fade{"aria-hidden" => "true", "aria-labelledby" => "myModalLabel", :role => "dialog", :tabindex => "-1"} .mo...
%input(class="btn btn-primary" type="submit" value="Search") .info = @header_info #modal-bookmark-edit.modal.fade{"aria-hidden" => "true", "aria-labelledby" => "myModalLabel", :role => "dialog", :tabindex => "-1"} .modal-dialog .modal-content .m...
<|file_sep|>original/lib/honyomi/web/views/index.haml %input(class="btn btn-primary" type="submit" value="Search") .info = @header_info #modal-bookmark-edit.modal.fade{"aria-hidden" => "true", "aria-labelledby" => "myModalLabel", :role => "dialog", :tabindex => "-1"} .mo...
051f1e74ae40a45c76e7cd7d3890e3c67731bda8
lib/honyomi/web/views/index.haml
lib/honyomi/web/views/index.haml
Haml
<|file_sep|>original/sli/acceptance-tests/test/features/ingestion/features/ingestion_indexValidation.feature @RALLY_US3478 Feature: Ingestion Index Validation Test Scenario: Verify if Indexes are present Given the log directory contains "ingestion.log" file Then I should see either "Index verified" or "Index missing"...
@RALLY_US3478 Feature: Ingestion Index Validation Test Scenario: Verify if Indexes are present Given the log directory contains "ingestion.log" file Then I should see either "CORE_0018" or "CORE_0038" following IngestionRouteBuilder in "ingestion.log" file
<|file_sep|>original/sli/acceptance-tests/test/features/ingestion/features/ingestion_indexValidation.feature @RALLY_US3478 Feature: Ingestion Index Validation Test Scenario: Verify if Indexes are present Given the log directory contains "ingestion.log" file Then I should see either "Index verified" or "Index missing"...
58a0106e0510123ac329fdc90fa5ebac7f80ecc0
sli/acceptance-tests/test/features/ingestion/features/ingestion_indexValidation.feature
sli/acceptance-tests/test/features/ingestion/features/ingestion_indexValidation.feature
Cucumber
<|file_sep|>circle.yml.diff original: updated: # complete uninstall fails on CircleCI due to old kernel bugs, doing selective uninstall gently - sudo apt-get purge -y postgresql-9.4 postgresql-server-dev-9.4 postgresql-client-9.4 postgresql-server-dev-9.1 <|file_sep|>circle.yml.diff original: - sudo aptitu...
# use aptitude to remove dependencies - sudo aptitude remove -y ~nrabbitmq - sudo aptitude remove -y ~nmongo - sudo aptitude remove -y ~nmysql- - sudo apt-get -y autoremove - sudo dpkg --configure -a - sudo apt-get -y update dependencies: pre: - sudo pip install ansible - ansible ...
<|file_sep|>circle.yml.diff original: updated: # complete uninstall fails on CircleCI due to old kernel bugs, doing selective uninstall gently - sudo apt-get purge -y postgresql-9.4 postgresql-server-dev-9.4 postgresql-client-9.4 postgresql-server-dev-9.1 <|file_sep|>circle.yml.diff original: - sudo aptitu...
9061b406fd2f6740ae38f5c41782cadd35369cf6
circle.yml
circle.yml
YAML
<|file_sep|>original/service/requirements.txt --index-url https://pypi.python.org/simple/ gnupg pyasn1==0.1.9 requests==2.11.1 srp==1.0.6 whoosh==2.6.0 Twisted==16.1.1 -e 'git+https://github.com/pixelated/leap_pycommon.git@develop#egg=leap.common' -e 'git+https://github.com/leapcode/bitmask-dev.git@master#egg=leap.bit...
--index-url https://pypi.python.org/simple/ gnupg pyasn1==0.1.9 requests==2.11.1 srp==1.0.6 whoosh==2.6.0 Twisted==16.1.1 -e 'git+https://github.com/pixelated/leap_pycommon.git@develop#egg=leap.common' -e 'git+https://github.com/pixelated/bitmask-dev.git@master#egg=leap.bitmask' -e 'git+https://github.com/pixelated/so...
<|file_sep|>original/service/requirements.txt --index-url https://pypi.python.org/simple/ gnupg pyasn1==0.1.9 requests==2.11.1 srp==1.0.6 whoosh==2.6.0 Twisted==16.1.1 -e 'git+https://github.com/pixelated/leap_pycommon.git@develop#egg=leap.common' -e 'git+https://github.com/leapcode/bitmask-dev.git@master#egg=leap.bit...
3d77ec58af42844933ba5cc4f36fcddb95254564
service/requirements.txt
service/requirements.txt
Text
<|file_sep|>original/src/main/java/seedu/ezdo/commons/util/RecurUtil.java * @param task * @return false if the task is a floating task * @return true otherwise */ public static boolean isRecurValid(ReadOnlyTask task) { assert task != null; String taskStartDate = task.getStartDate...
* status. * @param task * @return false if the task is a floating task * @return true otherwise */ public static boolean isRecurValid(ReadOnlyTask task) { assert task != null; String taskStartDate = task.getStartDate().toString(); String taskDueDate = task.getDueDate...
<|file_sep|>original/src/main/java/seedu/ezdo/commons/util/RecurUtil.java * @param task * @return false if the task is a floating task * @return true otherwise */ public static boolean isRecurValid(ReadOnlyTask task) { assert task != null; String taskStartDate = task.getStartDate...
338b83017d645f51ed2e4f49c042e9f662f11ea2
src/main/java/seedu/ezdo/commons/util/RecurUtil.java
src/main/java/seedu/ezdo/commons/util/RecurUtil.java
Java
<|file_sep|>original/app/helpers/time_helper.rb # frozen_string_literal: true module TimeHelper def time_ago_in_words(time) content_tag(:time, datetime: time, title: time) do t('time_ago_in_words', time: distance_of_time_in_words_to_now(time)) end end def published_ago_by(time, user) content_t...
# frozen_string_literal: true module TimeHelper def time_ago_in_words(time) content_tag(:time, datetime: time.to_s(:db), title: time) do t('time_ago_in_words', time: distance_of_time_in_words_to_now(time)) end end def published_ago_by(time, user) content_tag(:span, class: 'ad_date') do t...
<|file_sep|>original/app/helpers/time_helper.rb # frozen_string_literal: true module TimeHelper def time_ago_in_words(time) content_tag(:time, datetime: time, title: time) do t('time_ago_in_words', time: distance_of_time_in_words_to_now(time)) end end def published_ago_by(time, user) content_t...
5f0158b33d29b0b38cf92089519d70491eef194d
app/helpers/time_helper.rb
app/helpers/time_helper.rb
Ruby
<|file_sep|>original/requirements/dev.txt -r base.txt django-debug-toolbar==3.1.1 factory-boy==3.0.1 Faker==4.1.3 flake8-docstrings==1.5.0 flake8==3.8.3 freezegun==1.0.0 isort==5.5.3 pytest-cov==2.10.1 pytest-django==3.10.0 pytest-factoryboy==2.0.3 pytest==6.1.0 <|file_sep|>current/requirements/dev.txt -r base.txt djan...
-r base.txt django-debug-toolbar==3.1.1 factory-boy==3.1.0 Faker==4.1.3 flake8-docstrings==1.5.0 flake8==3.8.3 freezegun==1.0.0 isort==5.5.3 pytest-cov==2.10.1 pytest-django==3.10.0 pytest-factoryboy==2.0.3 pytest==6.1.0
<|file_sep|>original/requirements/dev.txt -r base.txt django-debug-toolbar==3.1.1 factory-boy==3.0.1 Faker==4.1.3 flake8-docstrings==1.5.0 flake8==3.8.3 freezegun==1.0.0 isort==5.5.3 pytest-cov==2.10.1 pytest-django==3.10.0 pytest-factoryboy==2.0.3 pytest==6.1.0 <|file_sep|>current/requirements/dev.txt -r base.txt djan...
cedf8a9d460021d95c2866eae507778329f121ad
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>silver/tests/factories.py.diff original: """Factories for the silver app.""" # import factory updated: import factory <|file_sep|>original/silver/tests/factories.py """Factories for the silver app.""" # import factory # from .. import models <|file_sep|>current/silver/tests/factories.py import factory # f...
import factory from silver.models import Provider class ProviderFactory(factory.django.DjangoModelFactory): class Meta: model = Provider
<|file_sep|>silver/tests/factories.py.diff original: """Factories for the silver app.""" # import factory updated: import factory <|file_sep|>original/silver/tests/factories.py """Factories for the silver app.""" # import factory # from .. import models <|file_sep|>current/silver/tests/factories.py import factory # f...
4a650922ee97b9cb54b203cab9709d511487d9ff
silver/tests/factories.py
silver/tests/factories.py
Python
<|file_sep|>original/lib/JWX/JWK/Parameter/KeyValueParameter.php <|file_sep|>current/lib/JWX/JWK/Parameter/KeyValueParameter.php <|file_sep|>updated/lib/JWX/JWK/Parameter/KeyValueParameter.php
<?php namespace JWX\JWK\Parameter; use JWX\Util\Base64; class KeyValueParameter extends RegisteredJWKParameter { /** * Constructor * * @param string $key Base64url encoded key */ public function __construct($key) { parent::__construct(self::PARAM_KEY_VALUE, $key); } /** * Initialize from binary ke...
<|file_sep|>original/lib/JWX/JWK/Parameter/KeyValueParameter.php <|file_sep|>current/lib/JWX/JWK/Parameter/KeyValueParameter.php <|file_sep|>updated/lib/JWX/JWK/Parameter/KeyValueParameter.php <?php namespace JWX\JWK\Parameter; use JWX\Util\Base64; class KeyValueParameter extends RegisteredJWKParameter { /** *...
7afb3a500afbde520a6bebb63d3f935bdac68500
lib/JWX/JWK/Parameter/KeyValueParameter.php
lib/JWX/JWK/Parameter/KeyValueParameter.php
PHP
<|file_sep|>original/package.json "version": "0.0.1", "description": "live reddit threads served via socket.io", "author": { "name": "zaim", "url": "https://github.com/zaim" }, "main": "index.js", "browser": "client.js", "scripts": { "test": "mocha", "start": "node test/_server.js" }, ...
"version": "0.0.1", "description": "live reddit threads served via socket.io", "author": { "name": "zaim", "url": "https://github.com/zaim" }, "main": "index.js", "browser": "client.js", "scripts": { "test": "mocha", "test:server": "node test/_server.js" }, "config": { "test": { ...
<|file_sep|>original/package.json "version": "0.0.1", "description": "live reddit threads served via socket.io", "author": { "name": "zaim", "url": "https://github.com/zaim" }, "main": "index.js", "browser": "client.js", "scripts": { "test": "mocha", "start": "node test/_server.js" }, ...
7681308c32364bb418bfacf2f53ac8d3dac94fa2
package.json
package.json
JSON
<|file_sep|>original/README.md # rpi-connect-to-wifi Node application which makes connecting to your home wifi easier <|file_sep|>current/README.md # rpi-connect-to-wifi Node application which makes connecting to your home wifi easier <|file_sep|>updated/README.md
# rpi-connect-to-wifi A Node application which makes connecting to your home wifi easier ## Why? When unable to connect to a wifi network, this service will turn the RPI into a wireless AP. This allows us to connect to it via a phone or other device and configure our home wifi network (for example). Once configured...
<|file_sep|>original/README.md # rpi-connect-to-wifi Node application which makes connecting to your home wifi easier <|file_sep|>current/README.md # rpi-connect-to-wifi Node application which makes connecting to your home wifi easier <|file_sep|>updated/README.md # rpi-connect-to-wifi A Node application which makes c...
69085fca8774ec5df05ae7ee2bd73a2706f9151b
README.md
README.md
Markdown
<|file_sep|>original/Casks/qlstephen.rb cask 'qlstephen' do version '1.4.3' sha256 '73f9a467ba2eb4244ffe1dbf9be435d3481a438c8ec64d2bd9bb1ba60d576a66' # github.com/downloads/whomwah/qlstephen was verified as official when first introduced to the cask url "https://github.com/whomwah/qlstephen/releases/download/#...
cask 'qlstephen' do version '1.4.3' sha256 '73f9a467ba2eb4244ffe1dbf9be435d3481a438c8ec64d2bd9bb1ba60d576a66' # github.com/whomwah/qlstephen was verified as official when first introduced to the cask url "https://github.com/whomwah/qlstephen/releases/download/#{version}/QLStephen.qlgenerator.#{version}.zip" ...
<|file_sep|>original/Casks/qlstephen.rb cask 'qlstephen' do version '1.4.3' sha256 '73f9a467ba2eb4244ffe1dbf9be435d3481a438c8ec64d2bd9bb1ba60d576a66' # github.com/downloads/whomwah/qlstephen was verified as official when first introduced to the cask url "https://github.com/whomwah/qlstephen/releases/download/#...
7569e3cb49fdfe2090abb78e00e0c00240e018e2
Casks/qlstephen.rb
Casks/qlstephen.rb
Ruby
<|file_sep|>original/app/models/user.rb class User < ActiveRecord::Base has_many :startups include Gravatar # Include default devise modules. Others available are: # :token_authenticatable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rem...
class User < ActiveRecord::Base has_many :startups include Concerns::Gravatar # Include default devise modules. Others available are: # :token_authenticatable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :valida...
<|file_sep|>original/app/models/user.rb class User < ActiveRecord::Base has_many :startups include Gravatar # Include default devise modules. Others available are: # :token_authenticatable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rem...
60e3e0244948ab9bdfe9702499faa4cd62cc5124
app/models/user.rb
app/models/user.rb
Ruby
<|file_sep|>original/05-directives/index_6.html <|file_sep|>current/05-directives/index_6.html <|file_sep|>updated/05-directives/index_6.html
<!doctype html> <html> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css" /> <script src="../bower_components/angularjs/angular.min.js"></script> <script> angular.module('app', []) .controller('ctrl', ['$scope', fu...
<|file_sep|>original/05-directives/index_6.html <|file_sep|>current/05-directives/index_6.html <|file_sep|>updated/05-directives/index_6.html <!doctype html> <html> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css" /> <script src="../bower...
f9dba9eaeb0e21522cf0bcdf8be49adc331aebfb
05-directives/index_6.html
05-directives/index_6.html
HTML
<|file_sep|>app/templates/components/instructor-selection-manager.hbs.diff original: <h3>{{t 'general.instructorGroups'}}</h3> updated: <|file_sep|>app/templates/components/instructor-selection-manager.hbs.diff original: {{instructorGroup.title}} {{fa-icon 'times'}} updated: {{fa-icon 'group'}} {{ins...
<ul class='removable-list tag-list'> {{#each sortedInstructorGroups as |instructorGroup|}} <li {{action 'removeInstructorGroup' instructorGroup}}> {{fa-icon 'group'}} {{instructorGroup.title}} {{fa-icon 'times'}} </li> {{/each}} </ul> {{/if}} {{#if sortedInstructors.length}} <ul class...
<|file_sep|>app/templates/components/instructor-selection-manager.hbs.diff original: <h3>{{t 'general.instructorGroups'}}</h3> updated: <|file_sep|>app/templates/components/instructor-selection-manager.hbs.diff original: {{instructorGroup.title}} {{fa-icon 'times'}} updated: {{fa-icon 'group'}} {{ins...
c8adf9387e6339cfa2718b0416c740141dc60c33
app/templates/components/instructor-selection-manager.hbs
app/templates/components/instructor-selection-manager.hbs
Handlebars
<|file_sep|>original/init-rails.el (eval-after-load 'rinari `(let ((rinari-lib-dir (directory-of-library "rinari"))) (unless (require 'jump nil t) (error "jump.el not found; please run 'git submodule update --init' in %s" rinari-lib-dir)) ;; Prevent rinari from shadowing ruby-mode and ...
(global-rinari-mode) (defun update-rails-ctags () (interactive) (let ((default-directory (or (rinari-root) default-directory))) (shell-command (concat "ctags -a -e -f " rinari-tags-file-name " --tag-relative -R app lib vendor test")))) (provide 'init-rails)
<|file_sep|>original/init-rails.el (eval-after-load 'rinari `(let ((rinari-lib-dir (directory-of-library "rinari"))) (unless (require 'jump nil t) (error "jump.el not found; please run 'git submodule update --init' in %s" rinari-lib-dir)) ;; Prevent rinari from shadowing ruby-mode and ...
e973dae10508d1537e8a0b8e2ce7e2b0d31681a7
init-rails.el
init-rails.el
Emacs Lisp
<|file_sep|>original/polling_stations/apps/data_collection/management/commands/import_bromsgrove.py <|file_sep|>current/polling_stations/apps/data_collection/management/commands/import_bromsgrove.py <|file_sep|>updated/polling_stations/apps/data_collection/management/commands/import_bromsgrove.py
""" Import Bromsgrove """ import sys from data_collection.management.commands import BaseShpShpImporter class Command(BaseShpShpImporter): """ Imports the Polling Station data from Bromsgrove """ council_id = 'E07000234' districts_name = 'Electoral Boundaries 2' stations_name = 'Bromsgrov...
<|file_sep|>original/polling_stations/apps/data_collection/management/commands/import_bromsgrove.py <|file_sep|>current/polling_stations/apps/data_collection/management/commands/import_bromsgrove.py <|file_sep|>updated/polling_stations/apps/data_collection/management/commands/import_bromsgrove.py """ Import Bromsgrov...
96777c29a8b9d27da8bc6098ee7cfc2ce9bf368f
polling_stations/apps/data_collection/management/commands/import_bromsgrove.py
polling_stations/apps/data_collection/management/commands/import_bromsgrove.py
Python
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.12.10 - 4.3.0 - 5.7.0 <|file_sep|>current/.travis.yml language: node_js node_js: - 0.12.10 - 4.3.0 - 5.7.0 <|file_sep|>updated/.travis.yml
language: node_js node_js: - 0.12.18 - 4.7.2 - 5.12.0 - 6.9.4 - 7.4.0
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.12.10 - 4.3.0 - 5.7.0 <|file_sep|>current/.travis.yml language: node_js node_js: - 0.12.10 - 4.3.0 - 5.7.0 <|file_sep|>updated/.travis.yml language: node_js node_js: - 0.12.18 - 4.7.2 - 5.12.0 - 6.9.4 - 7.4.0
35d754633d76d0d309cac69d5790189e58c92ba7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/runtime/syntax/julia.yaml # built-in attributes - constant: "__[A-Za-z0-9_]+__" # definitions - identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]" # keywords - statement: "\\b(baremodule|begin|break|catch|const|continue|do|else|elseif|end|export|finally|for|function|g...
# built-in attributes - constant: "__[A-Za-z0-9_]+__" # definitions - identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]" # keywords - statement: "\\b(baremodule|begin|break|catch|const|continue|do|else|elseif|end|export|finally|for|function|global|if|import|let|local|macro|module|quote|re...
<|file_sep|>original/runtime/syntax/julia.yaml # built-in attributes - constant: "__[A-Za-z0-9_]+__" # definitions - identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]" # keywords - statement: "\\b(baremodule|begin|break|catch|const|continue|do|else|elseif|end|export|finally|for|function|g...
87661ef308938c078229cfdba6deaa917b2bb4f7
runtime/syntax/julia.yaml
runtime/syntax/julia.yaml
YAML
<|file_sep|>original/requirements-dev.txt aioconsole==0.1.2 aiohttp==2.0.1 docutils==0.13.1 flake8==3.3.0 ipdb==0.10.2 pytest-cov==2.4.0 pytest-sugar==0.8.0 pytest==3.0.7 terminaltables==3.1.0 uvloop==0.8.0 <|file_sep|>current/requirements-dev.txt aioconsole==0.1.2 aiohttp==2.0.1 docutils==0.13.1 flake8==3.3.0 ipdb==0....
aioconsole==0.1.2 aiohttp==2.0.2 docutils==0.13.1 flake8==3.3.0 ipdb==0.10.2 pytest-cov==2.4.0 pytest-sugar==0.8.0 pytest==3.0.7 terminaltables==3.1.0 uvloop==0.8.0
<|file_sep|>original/requirements-dev.txt aioconsole==0.1.2 aiohttp==2.0.1 docutils==0.13.1 flake8==3.3.0 ipdb==0.10.2 pytest-cov==2.4.0 pytest-sugar==0.8.0 pytest==3.0.7 terminaltables==3.1.0 uvloop==0.8.0 <|file_sep|>current/requirements-dev.txt aioconsole==0.1.2 aiohttp==2.0.1 docutils==0.13.1 flake8==3.3.0 ipdb==0....
ba3fa2aff68fa8454d6a017a92559dac2590090e
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/t/24-xml-draft-nzrs-srs-01/08-DomainCreate-Real.xml <?xml version="1.0" encoding="utf-8"?> <NZSRSRequest VerMinor="11" VerMajor="3"> <DomainCreate Term="1" DomainName="wotcha.geek.nz" Delegate="1" ActionId="srsstage-90_717" DomainNameUnicode="lib/XML/SRS/TimeStamp/"> <RegistrantContact Name="...
<?xml version="1.0" encoding="utf-8"?> <NZSRSRequest VerMinor="11" VerMajor="3"> <DomainCreate Term="1" DomainName="wotcha.geek.nz" Delegate="1" ActionId="srsstage-90_717" DomainNameUnicode="wotcha.geek.nz"> <RegistrantContact Name="Test" Email="test@example.com"> <PostalAddress Address1="Street" Address2="...
<|file_sep|>original/t/24-xml-draft-nzrs-srs-01/08-DomainCreate-Real.xml <?xml version="1.0" encoding="utf-8"?> <NZSRSRequest VerMinor="11" VerMajor="3"> <DomainCreate Term="1" DomainName="wotcha.geek.nz" Delegate="1" ActionId="srsstage-90_717" DomainNameUnicode="lib/XML/SRS/TimeStamp/"> <RegistrantContact Name="...
1bdd5f722f5aabe56fc5b8991e8143a737a686da
t/24-xml-draft-nzrs-srs-01/08-DomainCreate-Real.xml
t/24-xml-draft-nzrs-srs-01/08-DomainCreate-Real.xml
XML
<|file_sep|>original/.github/workflows/standardjs.yaml name: StandardJS on: pull_request: types: - opened - edited - synchronize jobs: StandardJS: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 1...
name: StandardJS on: pull_request: types: - opened - edited - synchronize jobs: StandardJS: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: 12.x - run: npm install standard - run: npx ...
<|file_sep|>original/.github/workflows/standardjs.yaml name: StandardJS on: pull_request: types: - opened - edited - synchronize jobs: StandardJS: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 1...
8da9a678c57830e0bfddb9e1aac0b49eb3d586aa
.github/workflows/standardjs.yaml
.github/workflows/standardjs.yaml
YAML
<|file_sep|>src/Oro/Bundle/ImapBundle/Migrations/Schema/v1_4/OroImapBundle.php.diff original: updated: use Doctrine\DBAL\Schema\SchemaException; <|file_sep|>original/src/Oro/Bundle/ImapBundle/Migrations/Schema/v1_4/OroImapBundle.php { /** * {@inheritdoc} */ public function up(Schema $schema, QueryBa...
{ /** * {@inheritdoc} */ public function up(Schema $schema, QueryBag $queries) { self::addAccessTokenFieldToOroEmailOriginTable($schema); } /** * Adds Access Token field to the oro_email_origin table * * @param Schema $schema * @throws SchemaException */ ...
<|file_sep|>src/Oro/Bundle/ImapBundle/Migrations/Schema/v1_4/OroImapBundle.php.diff original: updated: use Doctrine\DBAL\Schema\SchemaException; <|file_sep|>original/src/Oro/Bundle/ImapBundle/Migrations/Schema/v1_4/OroImapBundle.php { /** * {@inheritdoc} */ public function up(Schema $schema, QueryBa...
afe580e5c071772d548f19d7ad3c641704076932
src/Oro/Bundle/ImapBundle/Migrations/Schema/v1_4/OroImapBundle.php
src/Oro/Bundle/ImapBundle/Migrations/Schema/v1_4/OroImapBundle.php
PHP
<|file_sep|>original/roles/core/init.sls # ------------------------------------------------------------- # Salt — Units for every server # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Project: Woods Cloud # License: Trivial work, not eligible to copyright # -----------------...
# ------------------------------------------------------------- # Salt — Units for every server # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Project: Woods Cloud # License: Trivial work, not eligible to copyright # ----------------------------------------------------------...
<|file_sep|>original/roles/core/init.sls # ------------------------------------------------------------- # Salt — Units for every server # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Project: Woods Cloud # License: Trivial work, not eligible to copyright # -----------------...
4fabef958f73524741762a68505c7939cfd2d367
roles/core/init.sls
roles/core/init.sls
SaltStack
<|file_sep|>src/plugins/ini/CMakeLists.txt.diff original: updated: set (INIH_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/inih-r29) add_definitions( -DINI_ALLOW_MULTILINE=0 ) <|file_sep|>original/src/plugins/ini/CMakeLists.txt add_definitions( -DINI_ALLOW_MULTILINE=0 ) set (PLUGIN_NAME elektra-ini) add_library (${PLUGIN_NAME}...
include (LibAddMacros) file (GLOB INIH_FILES ${CMAKE_CURRENT_SOURCE_DIR}/inih-r29/*) set (INIH_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/inih-r29) add_definitions( -DINI_ALLOW_MULTILINE=0 ) add_plugin(ini SOURCES ini.h ini.c ${INIH_FILES} INCLUDE_DIRECTORIES ${INIH_INCLUDE} ) add_plugintest (ini)
<|file_sep|>src/plugins/ini/CMakeLists.txt.diff original: updated: set (INIH_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/inih-r29) add_definitions( -DINI_ALLOW_MULTILINE=0 ) <|file_sep|>original/src/plugins/ini/CMakeLists.txt add_definitions( -DINI_ALLOW_MULTILINE=0 ) set (PLUGIN_NAME elektra-ini) add_library (${PLUGIN_NAME}...
b717b31fbb8b16ae3fcb7f8435a820f3bcab7f73
src/plugins/ini/CMakeLists.txt
src/plugins/ini/CMakeLists.txt
Text
<|file_sep|>original/lib/tasks/holdings_update.rake <|file_sep|>current/lib/tasks/holdings_update.rake <|file_sep|>updated/lib/tasks/holdings_update.rake
require 'csv' namespace :holdings do desc '[Temporary Task] Update prices of all holdings' task :update => :environment do stocks = [] Holding.select(:asset, :asset_name).group(:asset, :asset_name).each do |h| if h.asset == Transaction::ASSET['stock'] stocks << h.asset_name.upcase.strip + '.S...
<|file_sep|>original/lib/tasks/holdings_update.rake <|file_sep|>current/lib/tasks/holdings_update.rake <|file_sep|>updated/lib/tasks/holdings_update.rake require 'csv' namespace :holdings do desc '[Temporary Task] Update prices of all holdings' task :update => :environment do stocks = [] Holding.select(:...
2f383abb83cc25c6ff241af53f9b7669ba9a2d79
lib/tasks/holdings_update.rake
lib/tasks/holdings_update.rake
Ruby
<|file_sep|>original/examples/getting-started.js var signaller = require('..')('//switchboard.rtc.io/'); // when a new peer is announced, log it signaller.on('peer:announce', function(data) { console.log('new peer found in room: ', data); }); signaller.on('peer:disconnected', function(id) { console.log('peer ' + i...
// create a new signaller, connecting to the target switchboard var signaller = require('..')('//switchboard.rtc.io/'); // when a new peer is announced, log it signaller.on('peer:announce', function(data) { console.log('new peer found in room: ', data); }); // for our sanity, pop a message once we are connected sign...
<|file_sep|>original/examples/getting-started.js var signaller = require('..')('//switchboard.rtc.io/'); // when a new peer is announced, log it signaller.on('peer:announce', function(data) { console.log('new peer found in room: ', data); }); signaller.on('peer:disconnected', function(id) { console.log('peer ' + i...
c888443a0ceefe44bdcfbbbbc3014d5b7979e0ed
examples/getting-started.js
examples/getting-started.js
JavaScript
<|file_sep|>original/client/content/playgrounds/code/fortune/ex0-go/src/client/client.go "log" "time" _ "veyron.io/veyron/veyron/profiles" "veyron.io/veyron/veyron2/rt" "fortune" ) func main() { var err error runtime, err := rt.New() if err != nil { log.Fatal("failure creating runtime: ", err) } // Crea...
"log" "time" _ "veyron.io/veyron/veyron/profiles" "veyron.io/veyron/veyron2/rt" "fortune" ) func main() { runtime, err := rt.New() if err != nil { log.Fatal("failure creating runtime: ", err) } // Create a new stub that binds to address without // using the name service. s := fortune.FortuneClient("for...
<|file_sep|>original/client/content/playgrounds/code/fortune/ex0-go/src/client/client.go "log" "time" _ "veyron.io/veyron/veyron/profiles" "veyron.io/veyron/veyron2/rt" "fortune" ) func main() { var err error runtime, err := rt.New() if err != nil { log.Fatal("failure creating runtime: ", err) } // Crea...
2202c34207ac92ebd0821274aaed9a018de609d3
client/content/playgrounds/code/fortune/ex0-go/src/client/client.go
client/content/playgrounds/code/fortune/ex0-go/src/client/client.go
Go
<|file_sep|>packages/ha/haskus-utils-types.yaml.diff original: homepage: http://www.haskus.org updated: homepage: https://www.haskus.org <|file_sep|>packages/ha/haskus-utils-types.yaml.diff original: hash: 4afd7e29d1ed436098d65ed09242cd1ec72bad20a867c1c3c60a074e4b1d5f07 updated: hash: 8f5ddbe1cd1c654e5cfaa6da1f12bd8d71...
base: ! '>=4.9 && <5' doctest: ! '>=0.16' maintainer: sylvain@haskus.fr synopsis: Haskus types utility modules changelog: '' basic-deps: base: ! '>=4.9 && <5' all-versions: - '1.0' - '1.1' - '1.2' - '1.3' - 1.3.1 - '1.4' - 1.4.1 - '1.5' author: Sylvain Henry latest: '1.5' description-type: haddock description: Ha...
<|file_sep|>packages/ha/haskus-utils-types.yaml.diff original: homepage: http://www.haskus.org updated: homepage: https://www.haskus.org <|file_sep|>packages/ha/haskus-utils-types.yaml.diff original: hash: 4afd7e29d1ed436098d65ed09242cd1ec72bad20a867c1c3c60a074e4b1d5f07 updated: hash: 8f5ddbe1cd1c654e5cfaa6da1f12bd8d71...
cd50c7e207f705541e845281e57073858f48af2f
packages/ha/haskus-utils-types.yaml
packages/ha/haskus-utils-types.yaml
YAML
<|file_sep|>original/sampler-examples/deploy/copyJars.sh PROJ_DIR=~/Sampler TARGET_DIR=$PROJ_DIR/sampler-examples/deploy/lib find $PROJ_DIR/lib_managed -name '*.jar' -exec cp '{}' $TARGET_DIR \; cp $PROJ_DIR/sampler-core/target/scala-2.10/sampler-core_*.jar $TARGET_DIR cp $PROJ_DIR/sampler-cluster/target/scala-2.10/sa...
PROJ_DIR=~/Sampler TARGET_DIR=$PROJ_DIR/sampler-examples/deploy/lib mkdir -p $TARGET_DIR find $PROJ_DIR/lib_managed -name '*.jar' -exec cp '{}' $TARGET_DIR \; cp $PROJ_DIR/sampler-core/target/scala-2.10/sampler-core_*.jar $TARGET_DIR cp $PROJ_DIR/sampler-cluster/target/scala-2.10/sampler-cluster_*.jar $TARGET_DIR cp ...
<|file_sep|>original/sampler-examples/deploy/copyJars.sh PROJ_DIR=~/Sampler TARGET_DIR=$PROJ_DIR/sampler-examples/deploy/lib find $PROJ_DIR/lib_managed -name '*.jar' -exec cp '{}' $TARGET_DIR \; cp $PROJ_DIR/sampler-core/target/scala-2.10/sampler-core_*.jar $TARGET_DIR cp $PROJ_DIR/sampler-cluster/target/scala-2.10/sa...
a448df5778b6bd956beb552d288c716031b7bd96
sampler-examples/deploy/copyJars.sh
sampler-examples/deploy/copyJars.sh
Shell
<|file_sep|>third-party/HOW_TO_BUILD.md.diff original: - npm jquery-ui does not work for this project because the it's made to be used with Browserify updated: - We currently use a manual build of jquery-ui. With some refactoring, we might be able to use the [official npm package](https://jqueryui.com/upgrade-guide/1...
1. Go to [jquery custom package builder](http://jqueryui.com/download/) 2. Currently the following items have been selected: - jquery-ui version 1.12.1 - All ui core dependencies - Interactions Draggable and Resizable - Widgets datepicker and slider - The above selection should correspond to [this permalink](...
<|file_sep|>third-party/HOW_TO_BUILD.md.diff original: - npm jquery-ui does not work for this project because the it's made to be used with Browserify updated: - We currently use a manual build of jquery-ui. With some refactoring, we might be able to use the [official npm package](https://jqueryui.com/upgrade-guide/1...
a871c9992f080240a33bbc571b521b75e2bc9c90
third-party/HOW_TO_BUILD.md
third-party/HOW_TO_BUILD.md
Markdown
<|file_sep|>wrench-sample/src/main/java/com/example/wrench/di/Module.kt.diff original: updated: import com.izettle.wrench.service.Provider <|file_sep|>original/wrench-sample/src/main/java/com/example/wrench/di/Module.kt package com.example.wrench.di import com.example.wrench.livedataprefs.LiveDataPreferencesFragmentV...
import com.example.wrench.livedataprefs.LiveDataPreferencesFragmentViewModel import com.example.wrench.service.WrenchServiceFragmentViewModel import com.example.wrench.wrenchprefs.WrenchPreferencesFragmentViewModel import com.izettle.wrench.preferences.WrenchPreferences import com.izettle.wrench.service.Provider impor...
<|file_sep|>wrench-sample/src/main/java/com/example/wrench/di/Module.kt.diff original: updated: import com.izettle.wrench.service.Provider <|file_sep|>original/wrench-sample/src/main/java/com/example/wrench/di/Module.kt package com.example.wrench.di import com.example.wrench.livedataprefs.LiveDataPreferencesFragmentV...
67056bdea1ca4ff5330ff19eb5c1333c43394287
wrench-sample/src/main/java/com/example/wrench/di/Module.kt
wrench-sample/src/main/java/com/example/wrench/di/Module.kt
Kotlin
<|file_sep|>unittesting/test_color_scheme.py.diff original: # Make sure at least one file from the # package opened for ColorSchemeUnit. updated: <|file_sep|>unittesting/test_color_scheme.py.diff original: view = window.open_file(sublime.packages_path().rstrip('Packages') + tests[0]) vi...
stream.write("\n") stream.write(DONE_MESSAGE) stream.close() return # trigger "Start reading output" stream.write("Running ColorSchemeUnit\n") stream.flush() result = ColorSchemeUnit(window).run(output=stream, package=package, async=False...
<|file_sep|>unittesting/test_color_scheme.py.diff original: # Make sure at least one file from the # package opened for ColorSchemeUnit. updated: <|file_sep|>unittesting/test_color_scheme.py.diff original: view = window.open_file(sublime.packages_path().rstrip('Packages') + tests[0]) vi...
a8c7a6d6cd87f057fbd03c41cec41dba35e6bdf6
unittesting/test_color_scheme.py
unittesting/test_color_scheme.py
Python
<|file_sep|>original/html5_validators.gemspec Gem::Specification.new do |s| s.name = 'html5_validators' s.version = Html5Validators::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Akira Matsuda'] s.email = ['ronnie@dio.jp'] s.homepage = 'https://github.com/amatsuda/html5_v...
s.version = Html5Validators::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Akira Matsuda'] s.email = ['ronnie@dio.jp'] s.homepage = 'https://github.com/amatsuda/html5_validators' s.summary = 'Automatic client side validation using HTML5 Form Validation' s.description = 'A ...
<|file_sep|>original/html5_validators.gemspec Gem::Specification.new do |s| s.name = 'html5_validators' s.version = Html5Validators::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Akira Matsuda'] s.email = ['ronnie@dio.jp'] s.homepage = 'https://github.com/amatsuda/html5_v...
b7ce94cd28bea37e60721738167dab1cc6c61514
html5_validators.gemspec
html5_validators.gemspec
Ruby
<|file_sep|>original/_data/waterquality.yml title: Water Quality width: 300 height: 228 showlink: true link: http://www.longbeach.gov/Health/Inspections-and-Reporting/Inspections/Recreational-Water-Samples/ description: Long Beach Water Quality # - id: 83634 # title: Peninsula # - id: 83600 # title: SB-Stearns Wha...
title: Water Quality width: 300 height: 228 showlink: true #link: http://www.longbeach.gov/Health/Inspections-and-Reporting/Inspections/Recreational-Water-Samples/ link: http://brc.healthebay.org/default.aspx?id=132&c=10&lat=33.745150000000000&lng=-118.119183333000000 description: Long Beach Water Quality # - id: 8363...
<|file_sep|>original/_data/waterquality.yml title: Water Quality width: 300 height: 228 showlink: true link: http://www.longbeach.gov/Health/Inspections-and-Reporting/Inspections/Recreational-Water-Samples/ description: Long Beach Water Quality # - id: 83634 # title: Peninsula # - id: 83600 # title: SB-Stearns Wha...
40e5d60a5339ee4ab7144ddf9ca83655e8c639ac
_data/waterquality.yml
_data/waterquality.yml
YAML
<|file_sep|>original/app/views/static/data.html.haml - content_for :title, "Data Feeds and API" :markdown # Data Feeds and API ## MP Attendance and Rebelliousness Rates XML [mp-info.xml](#{mp_info_feed_path(format: :xml)}) - list of division attendance rate and rebelliousness for MPs in the all-members.xml ...
- content_for :title, "Data Feeds and API" :markdown # Data Feeds and API ## MP Attendance and Rebelliousness Rates XML [mp-info.xml](#{mp_info_feed_path(format: :xml)}) - list of division attendance rate and rebelliousness for all Representatives. This is a live file, correct to the latest division in the...
<|file_sep|>original/app/views/static/data.html.haml - content_for :title, "Data Feeds and API" :markdown # Data Feeds and API ## MP Attendance and Rebelliousness Rates XML [mp-info.xml](#{mp_info_feed_path(format: :xml)}) - list of division attendance rate and rebelliousness for MPs in the all-members.xml ...
9a4e988b8b420a43f832d46ffcaff0101a27ce87
app/views/static/data.html.haml
app/views/static/data.html.haml
Haml
<|file_sep|>original/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp <|file_sep|>current/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp <|file_sep|>updated/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -std=c++1y -O1 -disable-llvm-optzns %s -o - | FileCheck %s -check-prefix=CHECKA -check-prefix=CHECK // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -std=c++1y -O1 -disable-llvm-optzns -fcxx-exceptions %s -o - | FileCheck %s -check-prefix=CHEC...
<|file_sep|>original/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp <|file_sep|>current/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp <|file_sep|>updated/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -std=c++1y -O1 -disable-llvm-optzns %s...
d898c50389548ad49a44700088e7cb330214a0bc
test/CodeGenCXX/cxx1y-variable-template-linkage.cpp
test/CodeGenCXX/cxx1y-variable-template-linkage.cpp
C++
<|file_sep|>original/app/static/configs/sg/sg_labels/adjectives.json { "nested" : { "SBV" : { "short" : "SBV", "long" : "substantive", "fileUrl" : "./static/configs/sg/sg_labels/cases.json" }, "PRON" : { "short" : "PRON", "long" : "pronominal" }, "NORM" : { "sho...
{ "nested" : { "SBV" : { "short" : "SBV", "long" : "substantive", "sections" : "1021-1029", "fileUrl" : "./static/configs/sg/sg_labels/cases.json" }, "PRON" : { "short" : "PRON", "long" : "pronominal" }, "NORM" : { "short" : "NORM", "long" : "normal"...
<|file_sep|>original/app/static/configs/sg/sg_labels/adjectives.json { "nested" : { "SBV" : { "short" : "SBV", "long" : "substantive", "fileUrl" : "./static/configs/sg/sg_labels/cases.json" }, "PRON" : { "short" : "PRON", "long" : "pronominal" }, "NORM" : { "sho...
2d32d5ec6b92003b18d4f40fc3cd8f967b84e3bb
app/static/configs/sg/sg_labels/adjectives.json
app/static/configs/sg/sg_labels/adjectives.json
JSON
<|file_sep|>app/views/answers/_form.html.erb.diff original: <%= form_for [@question, answer, @comment] do |f| %> <%= f.hidden_field :commentable_type, :value => "Answer" %> <%= f.hidden_field :commentable_id, :value => answer.id %> updated: <div class="centered"> <%= form_for [@question, answer, @comment] do |f| ...
<div class="centered"> <%= form_for [@question, answer, @comment] do |f| %> <%= f.hidden_field :commentable_type, :value => "Answer" %> <%= f.hidden_field :commentable_id, :value => answer.id %> <%= f.text_field :content, class: "comment-content" %> <%= f.submit %> <% end %> </div>
<|file_sep|>app/views/answers/_form.html.erb.diff original: <%= form_for [@question, answer, @comment] do |f| %> <%= f.hidden_field :commentable_type, :value => "Answer" %> <%= f.hidden_field :commentable_id, :value => answer.id %> updated: <div class="centered"> <%= form_for [@question, answer, @comment] do |f| ...
558b55d649da6201b6b294ea172cf06581625d5d
app/views/answers/_form.html.erb
app/views/answers/_form.html.erb
HTML+ERB
<|file_sep|>original/test/test-prefix.txt <|file_sep|>current/test/test-prefix.txt <|file_sep|>updated/test/test-prefix.txt
(define (displayn EXP) (begin (display EXP) (newline))) (displayn (list 1 2 3 4)) (displayn (length (list 1 2 3))) (displayn (length '(1 2 3))) (displayn (list-tail '(1 2 3) 1)) (displayn (append '(1 2) '(3 4) '(5 6))) (displayn (list-ref '(1 2 3 4 5) 3)) (filter odd? '(1 2 3 4 5 6)) (filter even...
<|file_sep|>original/test/test-prefix.txt <|file_sep|>current/test/test-prefix.txt <|file_sep|>updated/test/test-prefix.txt (define (displayn EXP) (begin (display EXP) (newline))) (displayn (list 1 2 3 4)) (displayn (length (list 1 2 3))) (displayn (length '(1 2 3))) (displayn (list-tail '(1 2 3) 1...
0b5df8300da048e5bd26d9c5b2c445ecc246d2ee
test/test-prefix.txt
test/test-prefix.txt
Text
<|file_sep|>original/src/app/states/devices/usb/abstract-usb-device.ts import { AbstractDevice } from '../abstract-device'; export abstract class AbstractUSBDevice extends AbstractDevice { abstract readonly pid: string; abstract readonly vid: string; readonly driver = 'CdcAcmSerialDriver'; abstract readonly ba...
import { AbstractDevice } from '../abstract-device'; export abstract class AbstractUSBDevice extends AbstractDevice { abstract readonly pid: string; abstract readonly vid: string; readonly driver: string = 'CdcAcmSerialDriver'; abstract readonly baudRate: number; abstract readonly dataBits: number; }
<|file_sep|>original/src/app/states/devices/usb/abstract-usb-device.ts import { AbstractDevice } from '../abstract-device'; export abstract class AbstractUSBDevice extends AbstractDevice { abstract readonly pid: string; abstract readonly vid: string; readonly driver = 'CdcAcmSerialDriver'; abstract readonly ba...
54233ee9f61917909662062baa5bf13d31c0696d
src/app/states/devices/usb/abstract-usb-device.ts
src/app/states/devices/usb/abstract-usb-device.ts
TypeScript
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/base.txt django-model-utils==3.1.1 # Images Pillow==5.0.0 {% if cookiecutter.windows == 'y' -%} # On Windows, you must download/install psycopg2 manually # from http://www.lfd.uci.edu/~gohlke/pythonlibs/#psycopg {% else %} # Python-PostgreSQL Database Ad...
django-model-utils==3.1.1 # Images Pillow==5.0.0 {% if cookiecutter.windows == 'y' -%} # On Windows, you must download/install psycopg2 manually # from http://www.lfd.uci.edu/~gohlke/pythonlibs/#psycopg {% else %} # Python-PostgreSQL Database Adapter psycopg2==2.7.3.2 {%- endif %} # Time zones support pytz==2018.4 ...
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/base.txt django-model-utils==3.1.1 # Images Pillow==5.0.0 {% if cookiecutter.windows == 'y' -%} # On Windows, you must download/install psycopg2 manually # from http://www.lfd.uci.edu/~gohlke/pythonlibs/#psycopg {% else %} # Python-PostgreSQL Database Ad...
a1c4a2ab8253ba3b765afb70992296d6cffd0f2f
{{cookiecutter.project_slug}}/requirements/base.txt
{{cookiecutter.project_slug}}/requirements/base.txt
Text
<|file_sep|>original/package.json { "name": "if-loader", "version": "1.0.1", "description": "This is a preprocesser for the webpack module bundler. It support the ' if ' directive,similar to C ' #ifdef ' ", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "auth...
"description": "This is a preprocesser for the webpack module bundler. It support the ' if ' directive,similar to C ' #ifdef ' ", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "friskfly", "license": "MIT", "devDependencies": { "webpack": "^1.12...
<|file_sep|>original/package.json { "name": "if-loader", "version": "1.0.1", "description": "This is a preprocesser for the webpack module bundler. It support the ' if ' directive,similar to C ' #ifdef ' ", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "auth...
30e3eff74d81e9c74a8f9e1b853a0a50903de34b
package.json
package.json
JSON
<|file_sep|>original/make.sh cd $(dirname $0) DT_SRC=$(dirname $(dirname $(pwd))) DT_BUILT="${DT_SRC}/built/DataTables" . $DT_SRC/build/include.sh # Copy CSS rsync -r css $OUT_DIR css_compress $OUT_DIR/css/dataTables.colVis.css # Copy JS rsync -r js $OUT_DIR js_compress $OUT_DIR/js/dataTables.colVis.js # Copy and b...
cd $(dirname $0) DT_SRC=$(dirname $(dirname $(pwd))) DT_BUILT="${DT_SRC}/built/DataTables" . $DT_SRC/build/include.sh # Copy CSS rsync -r css $OUT_DIR css_compress $OUT_DIR/css/dataTables.colVis.css # Copy JS rsync -r js $OUT_DIR js_compress $OUT_DIR/js/dataTables.colVis.js # Copy and build examples rsync -r exampl...
<|file_sep|>original/make.sh cd $(dirname $0) DT_SRC=$(dirname $(dirname $(pwd))) DT_BUILT="${DT_SRC}/built/DataTables" . $DT_SRC/build/include.sh # Copy CSS rsync -r css $OUT_DIR css_compress $OUT_DIR/css/dataTables.colVis.css # Copy JS rsync -r js $OUT_DIR js_compress $OUT_DIR/js/dataTables.colVis.js # Copy and b...
aef76b55459c1bf0dddf17f05e552b9e97a84097
make.sh
make.sh
Shell
<|file_sep|>original/database/migrations/2018_10_02_190502_create_user_space_table.php <|file_sep|>current/database/migrations/2018_10_02_190502_create_user_space_table.php <|file_sep|>updated/database/migrations/2018_10_02_190502_create_user_space_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUserSpaceTable extends Migration { public function up() { Schema::create('user_space', function (Blueprint $table) { $table->increments('id'); ...
<|file_sep|>original/database/migrations/2018_10_02_190502_create_user_space_table.php <|file_sep|>current/database/migrations/2018_10_02_190502_create_user_space_table.php <|file_sep|>updated/database/migrations/2018_10_02_190502_create_user_space_table.php <?php use Illuminate\Support\Facades\Schema; use Illuminat...
f7f7bcdf2381ded68147141b73f5d57e2a0ed3c1
database/migrations/2018_10_02_190502_create_user_space_table.php
database/migrations/2018_10_02_190502_create_user_space_table.php
PHP
<|file_sep|>.travis.yml.diff original: - "0.12" updated: <|file_sep|>.travis.yml.diff original: - "5" updated: <|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "0.12" - "4" - "5" - "6" before_script: - npm install -g codecov script: - npm run test - codecov notification...
sudo: false language: node_js node_js: - "4" - "6" - "8" - "10" before_script: - npm install -g codecov script: - npm run test - codecov notifications: email: - vinta.chen@gmail.com
<|file_sep|>.travis.yml.diff original: - "0.12" updated: <|file_sep|>.travis.yml.diff original: - "5" updated: <|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "0.12" - "4" - "5" - "6" before_script: - npm install -g codecov script: - npm run test - codecov notification...
c91a0631c91f681dc467222c4b02ee1fe60f24d2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/layouts/shortcodes/figure.html <|file_sep|>current/layouts/shortcodes/figure.html <|file_sep|>updated/layouts/shortcodes/figure.html
<figure{{ with .Get "class" }} class="{{ . }}"{{ end }}> {{- if .Get "link" -}} <a href="{{ .Get "link" }}"{{ with .Get "target" }} target="{{ . }}"{{ end }}{{ with .Get "rel" }} rel="{{ . }}"{{ end }}> {{- end }} <img src="{{ .Get "src" }}" {{- if or (.Get "alt") (.Get "caption") }} alt="{{ wit...
<|file_sep|>original/layouts/shortcodes/figure.html <|file_sep|>current/layouts/shortcodes/figure.html <|file_sep|>updated/layouts/shortcodes/figure.html <figure{{ with .Get "class" }} class="{{ . }}"{{ end }}> {{- if .Get "link" -}} <a href="{{ .Get "link" }}"{{ with .Get "target" }} target="{{ . }}"{{ end }...
1c33cc86ad1e98e7df86341c003fd760a5e8ebda
layouts/shortcodes/figure.html
layouts/shortcodes/figure.html
HTML
<|file_sep|>original/app/views/submissions/_submission_warning.js.erb var onbeforeunload_flag = false; function set_onbeforeunload(value) { onbeforeunload_flag = value; } function show_confirmation(evt) { if (onbeforeunload_flag) { <% # This sets an additional message shown to the user when # he inten...
var onbeforeunload_flag = false; function set_onbeforeunload(value) { onbeforeunload_flag = value; } function show_confirmation(evt) { if (onbeforeunload_flag) { <% # This sets an additional message shown to the user when # he intends to navigate away and cancels the request if # 'Cancel' is press...
<|file_sep|>original/app/views/submissions/_submission_warning.js.erb var onbeforeunload_flag = false; function set_onbeforeunload(value) { onbeforeunload_flag = value; } function show_confirmation(evt) { if (onbeforeunload_flag) { <% # This sets an additional message shown to the user when # he inten...
db5e211dc5bf97b315bb848faa0c4f994a08f8b8
app/views/submissions/_submission_warning.js.erb
app/views/submissions/_submission_warning.js.erb
HTML+ERB
<|file_sep|>original/upload/library/SV/WordCountSearch/XenForo/Search/DataHandler/Thread.php <?php class SV_WordCountSearch_XenForo_Search_DataHandler_Thread extends XFCP_SV_WordCountSearch_XenForo_Search_DataHandler_Thread { protected function _insertIntoIndex(XenForo_Search_Indexer $indexer, array $data, array $...
<?php class SV_WordCountSearch_XenForo_Search_DataHandler_Thread extends XFCP_SV_WordCountSearch_XenForo_Search_DataHandler_Thread { protected function _insertIntoIndex(XenForo_Search_Indexer $indexer, array $data, array $parentData = null) { $wordcount = 0; if (!empty($data['threadmark_count'...
<|file_sep|>original/upload/library/SV/WordCountSearch/XenForo/Search/DataHandler/Thread.php <?php class SV_WordCountSearch_XenForo_Search_DataHandler_Thread extends XFCP_SV_WordCountSearch_XenForo_Search_DataHandler_Thread { protected function _insertIntoIndex(XenForo_Search_Indexer $indexer, array $data, array $...
58225fe5b608050157f13f6dab0283913496b4a6
upload/library/SV/WordCountSearch/XenForo/Search/DataHandler/Thread.php
upload/library/SV/WordCountSearch/XenForo/Search/DataHandler/Thread.php
PHP
<|file_sep|>packages/gl/gloss-accelerate.yaml.diff original: hash: ff61cd1cbd500f87dfcee228e2c07b973fcb5c49b5b8a3d7191c6cd3088aeb8c updated: hash: 9545769ef5e3de356b9f65230357bd941c0ea8872fdf5c1ba9747a415a7dc737 <|file_sep|>packages/gl/gloss-accelerate.yaml.diff original: - '0.2.0.0' updated: - '1.8.0.0' - '1.8.15.0' -...
changelog-type: '' hash: 9545769ef5e3de356b9f65230357bd941c0ea8872fdf5c1ba9747a415a7dc737 test-bench-deps: {} maintainer: Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> synopsis: Extras to interface Gloss and Accelerate changelog: '' basic-deps: gloss: ! '>=1.9' base: ! '>=4.6 && <4.10' gloss-rendering: ! '>=1.9'...
<|file_sep|>packages/gl/gloss-accelerate.yaml.diff original: hash: ff61cd1cbd500f87dfcee228e2c07b973fcb5c49b5b8a3d7191c6cd3088aeb8c updated: hash: 9545769ef5e3de356b9f65230357bd941c0ea8872fdf5c1ba9747a415a7dc737 <|file_sep|>packages/gl/gloss-accelerate.yaml.diff original: - '0.2.0.0' updated: - '1.8.0.0' - '1.8.15.0' -...
1cebb9abf685ae4844550eb71488acafcdd33aa5
packages/gl/gloss-accelerate.yaml
packages/gl/gloss-accelerate.yaml
YAML
<|file_sep|>original/requirements-dev.txt 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|>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.1 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.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|>current/requirements-dev.txt flake8==3.2.1 coverage==4.2 s...
7967b5d0c0cdcc0ceacb3c00544955edc268a59c
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/.travis.yml language: python python: 2.7 os: - linux before_install: - curl http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -o miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes ...
language: python python: 2.7 os: - linux before_install: - curl http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -o miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes yes --set changeps1 no - conda ...
<|file_sep|>original/.travis.yml language: python python: 2.7 os: - linux before_install: - curl http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -o miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes ...
04509e266cff9858b7636565da944651b774a75b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/System.IO.Pipes/src/Microsoft/Win32/SafeHandles/SafePipeHandle.Windows.cs using System; using System.Runtime.InteropServices; using System.Security; namespace Microsoft.Win32.SafeHandles { public sealed partial class SafePipeHandle : SafeHandle { protected override bool Releas...
using System; using System.Runtime.InteropServices; using System.Security; namespace Microsoft.Win32.SafeHandles { public sealed partial class SafePipeHandle : SafeHandle { protected override bool ReleaseHandle() { return Interop.mincore.CloseHandle(handle); } publ...
<|file_sep|>original/src/System.IO.Pipes/src/Microsoft/Win32/SafeHandles/SafePipeHandle.Windows.cs using System; using System.Runtime.InteropServices; using System.Security; namespace Microsoft.Win32.SafeHandles { public sealed partial class SafePipeHandle : SafeHandle { protected override bool Releas...
4d22f75d9b95c0e7cc18f54d94dacf463f8c682d
src/System.IO.Pipes/src/Microsoft/Win32/SafeHandles/SafePipeHandle.Windows.cs
src/System.IO.Pipes/src/Microsoft/Win32/SafeHandles/SafePipeHandle.Windows.cs
C#
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.2 # Travis is currently experiencing issues with Xcode builds: https://github.com/travis-ci/travis-ci/issues/6675#issuecomment-257964767 # When this is resolved, remove the entire `before_install` block, as well as the `travis_retry` command belo...
language: objective-c osx_image: xcode8.3 # Travis is currently experiencing issues with Xcode builds: https://github.com/travis-ci/travis-ci/issues/6675#issuecomment-257964767 # When this is resolved, remove the entire `before_install` block, as well as the `travis_retry` command below. before_install: - export IOS...
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.2 # Travis is currently experiencing issues with Xcode builds: https://github.com/travis-ci/travis-ci/issues/6675#issuecomment-257964767 # When this is resolved, remove the entire `before_install` block, as well as the `travis_retry` command belo...
f0eb196132d9bdc8136a55c8e9b2c9e836ed1f04
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Examples/ReactiveView/DemoView.swift // Created by Andrew Hunter on 15/07/2016. // // import Foundation /// /// Click/drag to move the circle /// class DemoView : ReactiveView { override func drawReactive() { if leftMouseDown.value { // Draw an oval centered on the curren...
/// Click/drag to move the circle /// class DemoView : ReactiveView { override func drawReactive() { if leftMouseDown.value { // Draw an oval centered on the current position let clickPos = mousePosition.value; let ovalRect = NSInsetRect(NSRect(origin: clickPos, siz...
<|file_sep|>original/Examples/ReactiveView/DemoView.swift // Created by Andrew Hunter on 15/07/2016. // // import Foundation /// /// Click/drag to move the circle /// class DemoView : ReactiveView { override func drawReactive() { if leftMouseDown.value { // Draw an oval centered on the curren...
76010bd0f61dd16bec170729e88e8e86d1115fd8
Examples/ReactiveView/DemoView.swift
Examples/ReactiveView/DemoView.swift
Swift
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.2" - "1.9.3" - "2.0.0" - "2.1.0" - "2.1.1" install: - gem install bundler - bundle install # uncomment this line if your project needs to run something other than `rake`: # script: bundle exec rspec spec <|file_sep|>current/.travis.yml language:...
language: ruby rvm: - "1.9.2" - "1.9.3" - "2.0.0" - "2.1.0" - "2.1.1" - "2.1.2" install: - gem install bundler - bundle install # uncomment this line if your project needs to run something other than `rake`: # script: bundle exec rspec spec
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.2" - "1.9.3" - "2.0.0" - "2.1.0" - "2.1.1" install: - gem install bundler - bundle install # uncomment this line if your project needs to run something other than `rake`: # script: bundle exec rspec spec <|file_sep|>current/.travis.yml language:...
49334ad2c5e03ea0bab254aa166a9b96756ee0a4
.travis.yml
.travis.yml
YAML
<|file_sep|>gmp4.rb.diff original: updated: keg_only "Conflicts with gmp in main repository." <|file_sep|>gmp4.rb.diff original: updated: fails_with :gcc_4_0 do cause "Reports of problems using gcc 4.0 on Leopard: https://github.com/mxcl/homebrew/issues/issue/2302" end <|file_sep|>original/gmp4.rb def ...
option '32-bit' option 'skip-check', 'Do not run `make check` to verify libraries' fails_with :gcc_4_0 do cause "Reports of problems using gcc 4.0 on Leopard: https://github.com/mxcl/homebrew/issues/issue/2302" end def install args = ["--prefix=#{prefix}", "--enable-cxx"] # Build 32-bit where a...
<|file_sep|>gmp4.rb.diff original: updated: keg_only "Conflicts with gmp in main repository." <|file_sep|>gmp4.rb.diff original: updated: fails_with :gcc_4_0 do cause "Reports of problems using gcc 4.0 on Leopard: https://github.com/mxcl/homebrew/issues/issue/2302" end <|file_sep|>original/gmp4.rb def ...
384aed00370abce48bde5482f7b54d286905f46d
gmp4.rb
gmp4.rb
Ruby
<|file_sep|>original/spec/support/example_models.rb before do define_model :standard_record, phone: :string, netsuite_id: :integer do include NetSuiteRails::RecordSync netsuite_record_class NetSuite::Records::Customer netsuite_sync :read_write netsuite_field_map({...
netsuite_sync :read_write netsuite_field_map({ :phone => :phone }) end define_model :standard_list, netsuite_id: :integer, value: :string do include NetSuiteRails::ListSync netsuite_list_id 86 end end after do N...
<|file_sep|>original/spec/support/example_models.rb before do define_model :standard_record, phone: :string, netsuite_id: :integer do include NetSuiteRails::RecordSync netsuite_record_class NetSuite::Records::Customer netsuite_sync :read_write netsuite_field_map({...
93f491170f9ea1ec799dd9f29ac15673f15732f9
spec/support/example_models.rb
spec/support/example_models.rb
Ruby
<|file_sep|>original/config/dev.exs use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :slax, Slax....
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :slax, Slax.Endpoint, http: [port: System.get_...
<|file_sep|>original/config/dev.exs use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :slax, Slax....
3a208c650185c1a4db4b1ea56bb925dddb3d2eef
config/dev.exs
config/dev.exs
Elixir
<|file_sep|>original/templates/remoteClass_server_stub_cpp.ftl <|file_sep|>current/templates/remoteClass_server_stub_cpp.ftl <|file_sep|>updated/templates/remoteClass_server_stub_cpp.ftl
cpp/${remoteClass.name}.cpp /* Autogenerated with Kurento Idl */ #include "${remoteClass.name}.hpp" namespace kurento { <#if (remoteClass.constructors[0])??> std::shared_ptr<MediaObjectImpl> ${remoteClass.name}::Factory::createObject (const Json::Value &params) throw (JsonRpc::CallException) { Json::Value aux; <...
<|file_sep|>original/templates/remoteClass_server_stub_cpp.ftl <|file_sep|>current/templates/remoteClass_server_stub_cpp.ftl <|file_sep|>updated/templates/remoteClass_server_stub_cpp.ftl cpp/${remoteClass.name}.cpp /* Autogenerated with Kurento Idl */ #include "${remoteClass.name}.hpp" namespace kurento { <#if (re...
30aace35dee686383d09242f4cb961c9d45def1a
templates/remoteClass_server_stub_cpp.ftl
templates/remoteClass_server_stub_cpp.ftl
FreeMarker
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt // This file should almost always be empty. Normally Chromium test expectations // are found in // src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt // // Only add expectations here to temporarily suppress messages on the bots...
// This file should almost always be empty. Normally Chromium test expectations // are found in // src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt // // Only add expectations here to temporarily suppress messages on the bots // until the changes can be landed upstream. // TODO(johnnyg): remo...
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt // This file should almost always be empty. Normally Chromium test expectations // are found in // src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt // // Only add expectations here to temporarily suppress messages on the bots...
37bafa639e15481d7059b95683198ca4b8bf1a54
webkit/tools/layout_tests/test_expectations.txt
webkit/tools/layout_tests/test_expectations.txt
Text
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff original: :+1::tada: Thanks for taking the time to contribute! :+1::tada: updated: Thanks for taking time to contribute! <|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff original: We manage the software development in [JIRA](http://issues.opennms.org) and it would be g...
Thanks for taking time to contribute! Please read our [Contribution Guidelines](https://github.com/OpenNMS/opennms/blob/develop/CONTRIBUTING.md) and format the title of the pull request in the format of: ${JIRA-ISSUE-NUMBER}: a-short-subject-title Please use the [JIRA](https://issues.opennms.org) issue number and c...
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff original: :+1::tada: Thanks for taking the time to contribute! :+1::tada: updated: Thanks for taking time to contribute! <|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff original: We manage the software development in [JIRA](http://issues.opennms.org) and it would be g...
b365ef7210838b0e493ce58bbc677f2c0db2e428
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/README.md adventuring =========== Let's see Point & Click adventures in browsers. TODO: * Frontend Puzzles can be done by combining items. ## Testing To test the current code use `npm test` for a single run of testing. For development, you can use `npm run test:watch`. <|file_sep|>current/READ...
adventuring =========== Let's see Point & Click adventures in browsers. TODO: * Frontend * Utility functions for actions (like picking up, open/close, etc) Puzzles can be done by combining items. ## Testing To test the current code use `npm test` for a single run of testing. For development, you can use `npm run t...
<|file_sep|>original/README.md adventuring =========== Let's see Point & Click adventures in browsers. TODO: * Frontend Puzzles can be done by combining items. ## Testing To test the current code use `npm test` for a single run of testing. For development, you can use `npm run test:watch`. <|file_sep|>current/READ...
d02486ef8cf0ed525a8bd0c8820a27086cf65084
README.md
README.md
Markdown
<|file_sep|>original/recipes/flake8-simplify/meta.yaml {% set name = "flake8-simplify" %} {% set version = "0.11.0" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.g...
{% set name = "flake8-simplify" %} {% set version = "0.11.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name|replace("-", "_") }}-{{ version }}.tar.gz sha256: c3ccfc18258822ce82ddd8b84f672378c2452a6600987070db8af864850b465...
<|file_sep|>original/recipes/flake8-simplify/meta.yaml {% set name = "flake8-simplify" %} {% set version = "0.11.0" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.g...
254aa612c75384b5e88c3888c8fa366c39700a1c
recipes/flake8-simplify/meta.yaml
recipes/flake8-simplify/meta.yaml
YAML
<|file_sep|>original/README.md Specify which namespace regex patterns to `:include` and `:exclude` in your `project.clj`: ```clojure :docstring-checker {:include [#"^my-project\.core"] :exclude [#"test" #"^my-project\.secret"]} ``` Then run the linter with ```bash $ ...
Specify which namespace regex patterns to `:include` and `:exclude` in your `project.clj`: ```clojure :docstring-checker {:include [#"^my-project\.core"] :exclude [#"test" #"^my-project\.secret"]} ``` Then run the linter with ```bash $ lein docstring-checker ``` The...
<|file_sep|>original/README.md Specify which namespace regex patterns to `:include` and `:exclude` in your `project.clj`: ```clojure :docstring-checker {:include [#"^my-project\.core"] :exclude [#"test" #"^my-project\.secret"]} ``` Then run the linter with ```bash $ ...
8a97c8e9ce827199a62e44405ad74a9f6b20b881
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt Flask==1.1.1 ruamel.yaml==0.16.5 monty==3.0.2 pymongo==3.9.0 <|file_sep|>current/requirements.txt Flask==1.1.1 ruamel.yaml==0.16.5 monty==3.0.2 pymongo==3.9.0 <|file_sep|>updated/requirements.txt
Flask==1.1.1 ruamel.yaml==0.17.9 monty==3.0.2 pymongo==3.9.0
<|file_sep|>original/requirements.txt Flask==1.1.1 ruamel.yaml==0.16.5 monty==3.0.2 pymongo==3.9.0 <|file_sep|>current/requirements.txt Flask==1.1.1 ruamel.yaml==0.16.5 monty==3.0.2 pymongo==3.9.0 <|file_sep|>updated/requirements.txt Flask==1.1.1 ruamel.yaml==0.17.9 monty==3.0.2 pymongo==3.9.0
6d9538c86f758dab1f501755d109b2cf4ed7272f
requirements.txt
requirements.txt
Text
<|file_sep|>original/d1_libclient_python/src/examples/compare_object_lists.py <|file_sep|>current/d1_libclient_python/src/examples/compare_object_lists.py <|file_sep|>updated/d1_libclient_python/src/examples/compare_object_lists.py
#!/usr/bin/env python import logging import d1_client.objectlistiterator import d1_client.mnclient_2_0 import d1_client.cnclient_2_0 import d1_common.const # Check for discrepancies between MN and CN by comparing object lists #CN_BASE_URL = d1_common.const.URL_CN_BASE_URL CN_BASE_URL = 'https://cn-stage.test.dataon...
<|file_sep|>original/d1_libclient_python/src/examples/compare_object_lists.py <|file_sep|>current/d1_libclient_python/src/examples/compare_object_lists.py <|file_sep|>updated/d1_libclient_python/src/examples/compare_object_lists.py #!/usr/bin/env python import logging import d1_client.objectlistiterator import d1_cl...
901954e944fad1ea1b9aa3510646814397712757
d1_libclient_python/src/examples/compare_object_lists.py
d1_libclient_python/src/examples/compare_object_lists.py
Python
<|file_sep|>original/README.md sea-c21-ruby ============ [Seattle C21 Foundations II: Learn Ruby](https://canvas.instructure.com/courses/880907) <|file_sep|>current/README.md sea-c21-ruby ============ [Seattle C21 Foundations II: Learn Ruby](https://canvas.instructure.com/courses/880907) <|file_sep|>updated/README.md
sea-c21-ruby ============ [Seattle C21 Foundations II: Learn Ruby](https://canvas.instructure.com/courses/880907) ### How to run Rubocop ``` bin/rubocop ``` ### How to run RSpec ``` bin/rspec spec/class2/exercise1_spec.rb ```
<|file_sep|>original/README.md sea-c21-ruby ============ [Seattle C21 Foundations II: Learn Ruby](https://canvas.instructure.com/courses/880907) <|file_sep|>current/README.md sea-c21-ruby ============ [Seattle C21 Foundations II: Learn Ruby](https://canvas.instructure.com/courses/880907) <|file_sep|>updated/README.md...
3f39eed5290a154d71149ae19b5ba581357cd819
README.md
README.md
Markdown
<|file_sep|>original/public/styles/chat.css <|file_sep|>current/public/styles/chat.css <|file_sep|>updated/public/styles/chat.css
/***************************************** Theme files ******************************************/ /********************************************* Constant variables for the theme **********************************************/ /***************************************** Components Files...
<|file_sep|>original/public/styles/chat.css <|file_sep|>current/public/styles/chat.css <|file_sep|>updated/public/styles/chat.css /***************************************** Theme files ******************************************/ /********************************************* Constant variables fo...
c6b0f584a2e8f9919ee8d12a5e91f5e92341116c
public/styles/chat.css
public/styles/chat.css
CSS
<|file_sep|>original/gradle.properties group = com.cdancy version = 2.1.1 artifactoryURL = http://127.0.0.1:8080/artifactory artifactoryUser = admin artifactoryPassword = password snapshotRepository = libs-snapshot-local releaseRepository = libs-release-local testBitbucketRestEndpoint = http://127.0.0.1:7990 # can ...
group = com.cdancy version = 2.1.2-SNAPSHOT artifactoryURL = http://127.0.0.1:8080/artifactory artifactoryUser = admin artifactoryPassword = password snapshotRepository = libs-snapshot-local releaseRepository = libs-release-local testBitbucketRestEndpoint = http://127.0.0.1:7990 # can be base64 encoded testBitbucke...
<|file_sep|>original/gradle.properties group = com.cdancy version = 2.1.1 artifactoryURL = http://127.0.0.1:8080/artifactory artifactoryUser = admin artifactoryPassword = password snapshotRepository = libs-snapshot-local releaseRepository = libs-release-local testBitbucketRestEndpoint = http://127.0.0.1:7990 # can ...
01f201d1a040dd80d967a6d5a5cb3b7066760c2a
gradle.properties
gradle.properties
INI
<|file_sep|>original/composer.json { "name": "loadsys/cakephp_sociallinks", "type": "cakephp-plugin", "description": "A CakePHP Plugin for adding Social Links to a Model", "keywords": ["cakephp","model","behavior"], "license": "MIT", "authors": [ { "name": "Justin Yost", "homepage": "https:/...
"name": "loadsys/cakephp_sociallinks", "type": "cakephp-plugin", "description": "A CakePHP Plugin for adding Social Links to a Model", "keywords": ["cakephp","model","behavior"], "license": "MIT", "authors": [ { "name": "Justin Yost", "homepage": "https://github.com/jtyost2", "email": ...
<|file_sep|>original/composer.json { "name": "loadsys/cakephp_sociallinks", "type": "cakephp-plugin", "description": "A CakePHP Plugin for adding Social Links to a Model", "keywords": ["cakephp","model","behavior"], "license": "MIT", "authors": [ { "name": "Justin Yost", "homepage": "https:/...
ef4092e5fa985c8877a9bf465b372324353bdbd5
composer.json
composer.json
JSON
<|file_sep|>original/dakota_linux.sh <|file_sep|>current/dakota_linux.sh <|file_sep|>updated/dakota_linux.sh
#!/usr/bin/env bash # Add these lines to .bashrc after installing Dakota. # Set up Dakota. export DAKOTA_DIR=/usr/local/dakota PATH=$PATH:$DAKOTA_DIR/bin:$DAKOTA_DIR/test if [ $LD_LIBRARY_PATH ]; then export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DAKOTA_DIR/bin:$DAKOTA_DIR/lib else export LD_LIBRARY_PATH=$DAKOTA_DI...
<|file_sep|>original/dakota_linux.sh <|file_sep|>current/dakota_linux.sh <|file_sep|>updated/dakota_linux.sh #!/usr/bin/env bash # Add these lines to .bashrc after installing Dakota. # Set up Dakota. export DAKOTA_DIR=/usr/local/dakota PATH=$PATH:$DAKOTA_DIR/bin:$DAKOTA_DIR/test if [ $LD_LIBRARY_PATH ]; then exp...
2cdaf2c2de0bfcf38e94821d23737721e6faea23
dakota_linux.sh
dakota_linux.sh
Shell
<|file_sep|>src/pulsar-api-rest.coffee.diff original: restler = require('restler') updated: RestlerService = require('restler').Service <|file_sep|>src/pulsar-api-rest.coffee.diff original: class PulsarApiRest updated: class PulsarApiRest extends RestlerService <|file_sep|>original/src/pulsar-api-rest.coffee restler = ...
RestlerService = require('restler').Service class PulsarApiRest extends RestlerService constructor: (url, token) -> defaults = {} defaults.baseURL = url if token defaults.username = token defaults.password = 'x-oauth-basic' super(defaults) module.exports = PulsarApiRest
<|file_sep|>src/pulsar-api-rest.coffee.diff original: restler = require('restler') updated: RestlerService = require('restler').Service <|file_sep|>src/pulsar-api-rest.coffee.diff original: class PulsarApiRest updated: class PulsarApiRest extends RestlerService <|file_sep|>original/src/pulsar-api-rest.coffee restler = ...
2cac59adb4e593b71a7187268a422ee8099d95c6
src/pulsar-api-rest.coffee
src/pulsar-api-rest.coffee
CoffeeScript
<|file_sep|>.github/workflows/s3-cleanup.yml.diff original: branch-name: ${GITHUB_REF#refs/heads/} updated: <|file_sep|>original/.github/workflows/s3-cleanup.yml name: S3-cleanup on: delete env: branch-name: ${GITHUB_REF#refs/heads/} bucket-name: 'dokka-snapshots' jobs: cleanup: runs-on: ubuntu-latest ...
name: S3-cleanup on: delete env: bucket-name: 'dokka-snapshots' jobs: cleanup: runs-on: ubuntu-latest steps: - name: Configure AWS credentials for S3 access uses: aws-actions/configure-aws-credentials@v1 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} a...
<|file_sep|>.github/workflows/s3-cleanup.yml.diff original: branch-name: ${GITHUB_REF#refs/heads/} updated: <|file_sep|>original/.github/workflows/s3-cleanup.yml name: S3-cleanup on: delete env: branch-name: ${GITHUB_REF#refs/heads/} bucket-name: 'dokka-snapshots' jobs: cleanup: runs-on: ubuntu-latest ...
d6c798e44381fd436a264229f94f19528382c136
.github/workflows/s3-cleanup.yml
.github/workflows/s3-cleanup.yml
YAML
<|file_sep|>original/.travis.yml language: python install: - pip install tox - pip install coveralls script: - tox env: - TOXENV: py34 after_success: coveralls <|file_sep|>current/.travis.yml language: python install: - pip install tox - pip install coveralls script: - tox env: - TOXENV: py34 afte...
language: python install: - pip install tox - pip install coveralls script: - tox env: - TOXENV: py34 after_success: coveralls --rcfile=humantrafficking_tips/.coveragerc
<|file_sep|>original/.travis.yml language: python install: - pip install tox - pip install coveralls script: - tox env: - TOXENV: py34 after_success: coveralls <|file_sep|>current/.travis.yml language: python install: - pip install tox - pip install coveralls script: - tox env: - TOXENV: py34 afte...
e3f68f4fa19584b8690bc911e9cc9c975489169c
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/Bugsnag.Common/StacktraceLineParser.cs.diff original: updated: Regex _fileRegex = new Regex("\\) [^ ]+ (.+):"); <|file_sep|>lib/Bugsnag.Common/StacktraceLineParser.cs.diff original: throw new NotImplementedException(); updated: var match = _fileRegex.Match(line); ...
var match = _methodNameRegex.Match(line); if (match.Groups.Count < 2) { return line; } return match.Groups[1].Value; } Regex _lineNumberRegex = new Regex(":.+ ([0-9]+)$"); public int? ParseLineNumber(string line) { var match = _lineNumbe...
<|file_sep|>lib/Bugsnag.Common/StacktraceLineParser.cs.diff original: updated: Regex _fileRegex = new Regex("\\) [^ ]+ (.+):"); <|file_sep|>lib/Bugsnag.Common/StacktraceLineParser.cs.diff original: throw new NotImplementedException(); updated: var match = _fileRegex.Match(line); ...
068ca4ee3d4d64830364a8381f82039ac3203dca
lib/Bugsnag.Common/StacktraceLineParser.cs
lib/Bugsnag.Common/StacktraceLineParser.cs
C#
<|file_sep|>original/.install.conf.yaml ~/.gitconfig: ~/.iterm2: ~/.ssh/authorized_keys: ssh/authorized_keys ~/.ssh/config: ssh/config ~/.ssh/id_ecdsa.pub: ssh/id_ecdsa.pub ~/.ssh/id_ed25519.pub: ssh/id_ed25519.pub ~/.ssh/id_rsa.pub: ssh/id_rsa.pub ~/.zlogin: ~/.zlogout: ~/.zprez...
~/.iterm2: ~/.ssh/authorized_keys: ssh/authorized_keys ~/.ssh/config: ssh/config ~/.ssh/id_ecdsa.pub: ssh/id_ecdsa.pub ~/.ssh/id_ed25519.pub: ssh/id_ed25519.pub ~/.ssh/id_rsa.pub: ssh/id_rsa.pub ~/.zlogin: ~/.zlogout: ~/.zprezto: ~/.zpreztorc: ~/.zprofile: ~/.zshenv: ...
<|file_sep|>original/.install.conf.yaml ~/.gitconfig: ~/.iterm2: ~/.ssh/authorized_keys: ssh/authorized_keys ~/.ssh/config: ssh/config ~/.ssh/id_ecdsa.pub: ssh/id_ecdsa.pub ~/.ssh/id_ed25519.pub: ssh/id_ed25519.pub ~/.ssh/id_rsa.pub: ssh/id_rsa.pub ~/.zlogin: ~/.zlogout: ~/.zprez...
ad6ae323b708bd3af72788bce617596123697de7
.install.conf.yaml
.install.conf.yaml
YAML
<|file_sep|>.travis.yml.diff original: - sudo apt-get install -y postgresql-contrib-9.3 - sudo /etc/init.d/postgresql start 9.3 updated: - sudo apt-get install -y postgresql-contrib-${PG} - sudo /etc/init.d/postgresql start ${PG} <|file_sep|>original/.travis.yml - psql -c "create extension hstore;" -U postgre...
- psql -c "create extension hstore;" -U postgres -d aiopg script: - pep8 aiopg examples tests - pyflakes . - python runtests.py -v - python setup.py check -rms #addons: # postgresql: "9.4" env: global: - PYTHON=python matrix: - USE_SA=1 PYTHONASYNCIODEBUG=1 PG=9.3 - USE_SA=0 PYTHONASYNCIOD...
<|file_sep|>.travis.yml.diff original: - sudo apt-get install -y postgresql-contrib-9.3 - sudo /etc/init.d/postgresql start 9.3 updated: - sudo apt-get install -y postgresql-contrib-${PG} - sudo /etc/init.d/postgresql start ${PG} <|file_sep|>original/.travis.yml - psql -c "create extension hstore;" -U postgre...
20c5368076ac9f08d4e83710626cd47ebe9b13a8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt click==6.7 Flask-Sockets==0.2.1 Flask==1.0.2 flask-crossdomain==0.1 future==0.16.0 gevent==1.3.3 greenlet==0.4.13 gunicorn==19.8.1 localconfig==1.1.1 pexpect==4.6.0 psycopg2-binary==2.7.4 psutil==5.4.4 redis==2.10.6 requests==2.18.4 rq==0.11.0 selenium==3.12.0 six==1.11.0 SQLAlchem...
click==6.7 Flask-Sockets==0.2.1 Flask==1.0.2 flask-crossdomain==0.1 future==0.16.0 gevent==1.3.3 greenlet==0.4.13 gunicorn==19.8.1 localconfig==1.1.1 pexpect==4.6.0 psycopg2-binary==2.7.4 psutil==5.4.6 redis==2.10.6 requests==2.18.4 rq==0.11.0 selenium==3.12.0 six==1.11.0 SQLAlchemy==1.2.8 sqlalchemy-postgres-copy==0.5...
<|file_sep|>original/requirements.txt click==6.7 Flask-Sockets==0.2.1 Flask==1.0.2 flask-crossdomain==0.1 future==0.16.0 gevent==1.3.3 greenlet==0.4.13 gunicorn==19.8.1 localconfig==1.1.1 pexpect==4.6.0 psycopg2-binary==2.7.4 psutil==5.4.4 redis==2.10.6 requests==2.18.4 rq==0.11.0 selenium==3.12.0 six==1.11.0 SQLAlchem...
ae9d6d662c32ce60d8fa8060205af4dfcbd2667f
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md ``` pip install docker-compose docker-compose up ``` From there, you can visit the minimal web-ui at https://localhost:8077/ ## Tests You can run the dredd API tests via the command `docker-compose up dredd`. ## Authorization To be authorized to make requests to CCXCon, you use OAu...
``` pip install docker-compose docker-compose up ``` From there, you can visit the minimal web-ui at https://localhost:8077/ ## Tests You can run the tests via the command `docker-compose run web tox`. ## Authorization To be authorized to make requests to CCXCon, you use OAuth2. OAuth2 clients can be made in the...
<|file_sep|>original/README.md ``` pip install docker-compose docker-compose up ``` From there, you can visit the minimal web-ui at https://localhost:8077/ ## Tests You can run the dredd API tests via the command `docker-compose up dredd`. ## Authorization To be authorized to make requests to CCXCon, you use OAu...
8f0cca6d65d2ccb67dfd83501b61662021286670
README.md
README.md
Markdown
<|file_sep|>original/index.js 'use strict'; module.exports = function (deck/*, options*/) { var options = Object(arguments[1]), root = options.root || '/' , update, activateSlide; activateSlide = function (index) { if (index === deck.slide()) return; deck.slide(index); }; update = function (e) { var id ...
'use strict'; module.exports = function (deck/*, options*/) { var options = arguments[1], root, update, activateSlide; if (typeof options === 'string') { root = options; } else { options = Object(options); root = options.root || '/'; } activateSlide = function (index) { if (index === deck.slide()) retur...
<|file_sep|>original/index.js 'use strict'; module.exports = function (deck/*, options*/) { var options = Object(arguments[1]), root = options.root || '/' , update, activateSlide; activateSlide = function (index) { if (index === deck.slide()) return; deck.slide(index); }; update = function (e) { var id ...
16d5a32553342cdff499ca0bb96b767d9bbbcedf
index.js
index.js
JavaScript
<|file_sep|>index.html.diff original: <h2> updated: <h1> <|file_sep|>original/index.html <a href='https://plus.google.com/+ZachWhaley'>+Posts</a> </div> <div class='item' title='LinkedIn'> <a href='http://www.linkedin.com/in/zachwhaley'>Resume</a> </div> <div class='item' title='Greyhounds...'> ...
<a href='https://plus.google.com/+ZachWhaley'>+Posts</a> </div> <div class='item' title='LinkedIn'> <a href='http://www.linkedin.com/in/zachwhaley'>Resume</a> </div> <div class='item' title='Greyhounds...'> <a href='https://plus.google.com/photos/+ZachWhaley/albums/5975996956793971169'>Greyhou...
<|file_sep|>index.html.diff original: <h2> updated: <h1> <|file_sep|>original/index.html <a href='https://plus.google.com/+ZachWhaley'>+Posts</a> </div> <div class='item' title='LinkedIn'> <a href='http://www.linkedin.com/in/zachwhaley'>Resume</a> </div> <div class='item' title='Greyhounds...'> ...
4629d4d309bee0074e505663db2ad38fab4bb489
index.html
index.html
HTML
<|file_sep|>original/pubrunner/snakemake.py if useCluster and "cluster" in globalSettings: clusterSettings = globalSettings["cluster"] jobs = 1 if "jobs" in globalSettings["cluster"]: jobs = int(globalSettings["cluster"]["jobs"]) clusterFlags = "--jobs %d --latency-wait 60" % jobs if "drmaa" in clusterSe...
if useCluster and "cluster" in globalSettings: clusterSettings = globalSettings["cluster"] jobs = 1 if "jobs" in globalSettings["cluster"]: jobs = int(globalSettings["cluster"]["jobs"]) clusterFlags = "--jobs %d --latency-wait 60" % jobs if "drmaa" in clusterSettings and clusterSettings["drmaa"] == True:...
<|file_sep|>original/pubrunner/snakemake.py if useCluster and "cluster" in globalSettings: clusterSettings = globalSettings["cluster"] jobs = 1 if "jobs" in globalSettings["cluster"]: jobs = int(globalSettings["cluster"]["jobs"]) clusterFlags = "--jobs %d --latency-wait 60" % jobs if "drmaa" in clusterSe...
a54be407e4b18250f24a256fe6d615f25d42a7ee
pubrunner/snakemake.py
pubrunner/snakemake.py
Python
<|file_sep|>original/_includes/01-molecules/blocks/block-ad-banner.html <!-- Begin molecules/blocks/block-ad-banner --> <section class="block block__ad-banner [ cmnt cmnt--organism ]"> <pre class="cmnt__remark">molecules/blocks/block-ad-banner</pre> Ad Space </section> <|file_sep|>current/_includes/01-molecules/b...
<!-- Begin molecules/blocks/block-ad-banner --> <section class="[ block block--ad-banner ] [ cmnt cmnt--organism ] hidden-xs"> <pre class="cmnt__remark">molecules/blocks/block-ad-banner</pre> Ad Space </section>
<|file_sep|>original/_includes/01-molecules/blocks/block-ad-banner.html <!-- Begin molecules/blocks/block-ad-banner --> <section class="block block__ad-banner [ cmnt cmnt--organism ]"> <pre class="cmnt__remark">molecules/blocks/block-ad-banner</pre> Ad Space </section> <|file_sep|>current/_includes/01-molecules/b...
6f6e4331ba8491f72e2e0640e63281165707cc29
_includes/01-molecules/blocks/block-ad-banner.html
_includes/01-molecules/blocks/block-ad-banner.html
HTML
<|file_sep|>.travis.yml.diff original: install: - (cargo install rustfmt || true) - PATH=/home/travis/.cargo/bin:$PATH updated: <|file_sep|>original/.travis.yml - nightly # Build only master branch and version tags - http://stackoverflow.com/a/31882307/463761 branches: only: - master - /^v[0-9]/ mat...
- beta - nightly # Build only master branch and version tags - http://stackoverflow.com/a/31882307/463761 branches: only: - master - /^v[0-9]/ matrix: allow_failures: - rust: nightly script: - cargo build --verbose - cargo test --verbose - ./bin/run-tests --tap ./test notifications: emai...
<|file_sep|>.travis.yml.diff original: install: - (cargo install rustfmt || true) - PATH=/home/travis/.cargo/bin:$PATH updated: <|file_sep|>original/.travis.yml - nightly # Build only master branch and version tags - http://stackoverflow.com/a/31882307/463761 branches: only: - master - /^v[0-9]/ mat...
368d10a502008cf97a12b29bffbc78af5a9e5f1a
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: - rbx-2 - jruby-1 updated: - rbx <|file_sep|>.travis.yml.diff original: updated: matrix: exclude: - rvm: 2.2 os: osx - rvm: jruby-9 os: osx <|file_sep|>original/.travis.yml rvm: - 1.9 - 2.0 - 2.1 - 2.2 - rbx-2 - jruby-1 - jruby-9 notifi...
- rvm: 2.2 os: osx - rvm: jruby-9 os: osx notifications: email: recipients: - yorickpeterse@gmail.com on_success: change on_failure: change cache: bundler branches: only: - master os: - linux - osx
<|file_sep|>.travis.yml.diff original: - rbx-2 - jruby-1 updated: - rbx <|file_sep|>.travis.yml.diff original: updated: matrix: exclude: - rvm: 2.2 os: osx - rvm: jruby-9 os: osx <|file_sep|>original/.travis.yml rvm: - 1.9 - 2.0 - 2.1 - 2.2 - rbx-2 - jruby-1 - jruby-9 notifi...
0cc07fa13867ee16c88bfe402aca664364263fb8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app.js app.use(bodyParser()); app.use(bodyParser.json({ type: 'application/vnd.api+json' })); app.get('/', function(req, res) { res.render('index', { 'foo': 'hi' }); }); app.post('/hook', function(req, res) { if (req.body && req.body.after) { console.log("checking: " + req.body.after); var ...
app.use(bodyParser()); app.use(bodyParser.json({ type: 'application/vnd.api+json' })); app.get('/', function(req, res) { res.render('index', { 'foo': 'hi' }); }); app.post('/hook', function(req, res) { if (req.body && req.body.after) { console.log("checking: " + req.body.after); var request = https.request({ 'h...
<|file_sep|>original/app.js app.use(bodyParser()); app.use(bodyParser.json({ type: 'application/vnd.api+json' })); app.get('/', function(req, res) { res.render('index', { 'foo': 'hi' }); }); app.post('/hook', function(req, res) { if (req.body && req.body.after) { console.log("checking: " + req.body.after); var ...
cf96d6eb1814efa7330b71432920b928c0191bb6
app.js
app.js
JavaScript
<|file_sep|>original/.travis.yml dist: precise # Don't use the Travis Container-Based Infrastructure sudo: true language: java jdk: - oraclejdk7 - oraclejdk8 script: - ./gradlew -S clean build functionalTest <|file_sep|>current/.travis.yml dist: precise # Don't use the Travis Container-Based Infrastructure...
# Don't use the Travis Container-Based Infrastructure sudo: true language: java jdk: - oraclejdk7 - oraclejdk8 script: - ./gradlew -S clean build functionalTest before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: ...
<|file_sep|>original/.travis.yml dist: precise # Don't use the Travis Container-Based Infrastructure sudo: true language: java jdk: - oraclejdk7 - oraclejdk8 script: - ./gradlew -S clean build functionalTest <|file_sep|>current/.travis.yml dist: precise # Don't use the Travis Container-Based Infrastructure...
15271b1d2bd4fbc0b2551268242072124a6e9ba7
.travis.yml
.travis.yml
YAML