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/.remarkrc.js plugins: [ 'remark-preset-lint-recommended', ['remark-lint-list-item-indent', false], [ 'remark-lint-code', { js: { module: 'node_modules/remark-lint-code-eslint', options: { fix: true, configFile: ...
plugins: [ 'remark-preset-lint-recommended', ['remark-lint-list-item-indent', false], [ 'remark-lint-code', { js: { module: 'node_modules/remark-lint-code-eslint', options: { fix: true, configFile: '.eslintrc-markdown.js', }, ...
<|file_sep|>original/.remarkrc.js plugins: [ 'remark-preset-lint-recommended', ['remark-lint-list-item-indent', false], [ 'remark-lint-code', { js: { module: 'node_modules/remark-lint-code-eslint', options: { fix: true, configFile: ...
ae5dae949c6cf21f34ebda82c64f569ad99a5259
.remarkrc.js
.remarkrc.js
JavaScript
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: 7.0 - php: hhvm before_script: - composer install --no-interaction --prefer-dist script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: <|file_sep|>cu...
language: php php: - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: 7.0 - php: hhvm before_script: - composer install --no-interaction --prefer-dist script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: 7.0 - php: hhvm before_script: - composer install --no-interaction --prefer-dist script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: <|file_sep|>cu...
1f2ad0899fe5d514a1c6798119a08ade213bf750
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spree_flexi_variants.gemspec s.version = '1.0.0' s.summary = 'Add gem summary here' #s.description = 'Add (optional) gem description here' s.required_ruby_version = '>= 1.8.7' s.author = 'Jeff Squires' s.email = 'jeff.squires@gmail.com' # s.homepage ...
s.version = '1.0.0' s.summary = 'Add gem summary here' #s.description = 'Add (optional) gem description here' s.required_ruby_version = '>= 1.8.7' s.author = 'Jeff Squires' s.email = 'jeff.squires@gmail.com' # s.homepage = 'http://www.rubyonrails.org' # s.rubyfor...
<|file_sep|>original/spree_flexi_variants.gemspec s.version = '1.0.0' s.summary = 'Add gem summary here' #s.description = 'Add (optional) gem description here' s.required_ruby_version = '>= 1.8.7' s.author = 'Jeff Squires' s.email = 'jeff.squires@gmail.com' # s.homepage ...
2ad3d796cb8619b7367c1aee96a25f00c9e7b66d
spree_flexi_variants.gemspec
spree_flexi_variants.gemspec
Ruby
<|file_sep|>test/main.js.diff original: describe('Testing valid format receipts should convert to CHP and back to same source JSON ', function () { describe('Using test1.json - ', function () { it('JSON >> CHP >> JSON should return result equal to origin JSON', function (done) { fs.readFile('./test/json/tes...
describe('Using test1.json', function () { it('should return proof equal to original JSON', function (done) { fs.readFile('./test/json/test1.json', 'utf-8', function (err, jsonSample) { should.not.exist(err) should.exist(jsonSample) cb.objectToBinary(jsonSample, function (err, proofB...
<|file_sep|>test/main.js.diff original: describe('Testing valid format receipts should convert to CHP and back to same source JSON ', function () { describe('Using test1.json - ', function () { it('JSON >> CHP >> JSON should return result equal to origin JSON', function (done) { fs.readFile('./test/json/tes...
7ee3a872befca6b71a9ae7b8a8deda5d4e6df6f5
test/main.js
test/main.js
JavaScript
<|file_sep|>src/Actuators/WebChat/WebChatButtonMessage.php.diff original: updated: private $clearAfterInteraction = true; /** * @param $clearAfterInteraction * @return $this */ public function setClearAfterInteraction($clearAfterInteraction) { $this->clearAfterInteraction = $cl...
{ return $this->buttons; } /** * @return array */ public function getData() { return parent::getData() + [ 'buttons' => $this->getButtonsArray(), 'clear_after_interaction' => $this->getClearAfterInteraction() ]; } /** * @return...
<|file_sep|>src/Actuators/WebChat/WebChatButtonMessage.php.diff original: updated: private $clearAfterInteraction = true; /** * @param $clearAfterInteraction * @return $this */ public function setClearAfterInteraction($clearAfterInteraction) { $this->clearAfterInteraction = $cl...
87db19b918a2d61fdbb7fc9e3f910d18804301cb
src/Actuators/WebChat/WebChatButtonMessage.php
src/Actuators/WebChat/WebChatButtonMessage.php
PHP
<|file_sep|>original/gradle.properties group=kr.motd.gradle name=sphinx-gradle-plugin version=2.1.2-SNAPSHOT <|file_sep|>current/gradle.properties group=kr.motd.gradle name=sphinx-gradle-plugin version=2.1.2-SNAPSHOT <|file_sep|>updated/gradle.properties
group=kr.motd.gradle name=sphinx-gradle-plugin version=2.2.1-SNAPSHOT
<|file_sep|>original/gradle.properties group=kr.motd.gradle name=sphinx-gradle-plugin version=2.1.2-SNAPSHOT <|file_sep|>current/gradle.properties group=kr.motd.gradle name=sphinx-gradle-plugin version=2.1.2-SNAPSHOT <|file_sep|>updated/gradle.properties group=kr.motd.gradle name=sphinx-gradle-plugin version=2.2.1-SNAP...
0bf48007d70d481f16001d28029c49ac1e9e6ef0
gradle.properties
gradle.properties
INI
<|file_sep|>original/base/src/lib.rs extern crate num_traits; #[macro_use] extern crate log; pub mod math; pub mod world; <|file_sep|>current/base/src/lib.rs extern crate num_traits; #[macro_use] extern crate log; pub mod math; pub mod world; <|file_sep|>updated/base/src/lib.rs
//! Functionality used by both the plantex server and the plantex client. //! //! - the `math` module reexports everything from the `cgmath` crate and //! defines a few own type //! - the world module is all about saving and managing the game world //! extern crate num_traits; #[macro_use] extern crate log; pub mod ...
<|file_sep|>original/base/src/lib.rs extern crate num_traits; #[macro_use] extern crate log; pub mod math; pub mod world; <|file_sep|>current/base/src/lib.rs extern crate num_traits; #[macro_use] extern crate log; pub mod math; pub mod world; <|file_sep|>updated/base/src/lib.rs //! Functionality used by both the plan...
f151b399d960a2ed24daf59e00a62f678757b906
base/src/lib.rs
base/src/lib.rs
Rust
<|file_sep|>original/app/views/children/_child.html.haml %%tr %td= link_to child.to_s, [child.repository, child] %td= link_to child.symbols_count.to_s, [child.repository, child, :symbols] %td= link_to child.axioms_count.to_s, [child.repository, child, :axioms] %td= link_to child.theorems_count.to_s, [child.repo...
%%tr %td= link_to child.to_s, [child.repository, child] %td= link_to child.symbols_count.to_s, locid_for(child, :symbols) %td= link_to child.axioms_count.to_s, locid_for(child, :axioms) %td= link_to child.theorems_count.to_s, locid_for(child, :theorems)
<|file_sep|>original/app/views/children/_child.html.haml %%tr %td= link_to child.to_s, [child.repository, child] %td= link_to child.symbols_count.to_s, [child.repository, child, :symbols] %td= link_to child.axioms_count.to_s, [child.repository, child, :axioms] %td= link_to child.theorems_count.to_s, [child.repo...
b4a8b5af8ce1bb99d555dc57c166941fdab9cc72
app/views/children/_child.html.haml
app/views/children/_child.html.haml
Haml
<|file_sep|>original/Modules/Remote/BridgeNumPy.remote.cmake # Contact: Matt McCormick <matt.mccormick@kitware.com> itk_fetch_module(BridgeNumPy "This module contains wrapper code to convert ITK Image's to NumPy array's and back. For example: import itk ImageType = itk.Image[itk.F, 2] image = ImageTyp...
# Contact: Matt McCormick <matt.mccormick@kitware.com> itk_fetch_module(BridgeNumPy "This module contains wrapper code to convert ITK Image's to NumPy array's and back. For example: import itk ImageType = itk.Image[itk.F, 2] image = ImageType.New() array = itk.PyBuffer[ImageType].GetArrayFromImage...
<|file_sep|>original/Modules/Remote/BridgeNumPy.remote.cmake # Contact: Matt McCormick <matt.mccormick@kitware.com> itk_fetch_module(BridgeNumPy "This module contains wrapper code to convert ITK Image's to NumPy array's and back. For example: import itk ImageType = itk.Image[itk.F, 2] image = ImageTyp...
85beb636de4a745f6078f920713deb1ddea3bf96
Modules/Remote/BridgeNumPy.remote.cmake
Modules/Remote/BridgeNumPy.remote.cmake
CMake
<|file_sep|>original/composer.json } ], "require": { "php": ">=5.5.9", "psr/log": "~1.0" }, "conflict": { "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" }, "require-dev": { "symfony/http-kernel": "~2.8|~3.0" }, "autoload": ...
} ], "require": { "php": ">=5.5.9", "psr/log": "~1.0" }, "conflict": { "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" }, "require-dev": { "symfony/http-kernel": "~2.8|~3.0|~4.0.0" }, "autoload": { "psr-4": { "Symfon...
<|file_sep|>original/composer.json } ], "require": { "php": ">=5.5.9", "psr/log": "~1.0" }, "conflict": { "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" }, "require-dev": { "symfony/http-kernel": "~2.8|~3.0" }, "autoload": ...
91dc1c81293808405273eedb3e187986407b6ca0
composer.json
composer.json
JSON
<|file_sep|>original/froide/foirequest/templates/foirequest/snippets/request_item.html <a href="{{ object.url }}"> {{ object.title }} </a> <br/> <small> {% blocktrans %}to{% endblocktrans %} {% if object.public_body_name %} {{ object.public_body_name }} {% elif object.public_...
<a href="{{ object.url }}"> {{ object.title }} </a> <br/> <small> {% blocktrans %}to{% endblocktrans %} {% if object.public_body_name %} {{ object.public_body_name }} {% elif object.public_body %} <a href="{{ object.public_body.get_absolute_url }}">{{ object.public_bo...
<|file_sep|>original/froide/foirequest/templates/foirequest/snippets/request_item.html <a href="{{ object.url }}"> {{ object.title }} </a> <br/> <small> {% blocktrans %}to{% endblocktrans %} {% if object.public_body_name %} {{ object.public_body_name }} {% elif object.public_...
da82449bbe58c80fedc86184685dffa286f785ca
froide/foirequest/templates/foirequest/snippets/request_item.html
froide/foirequest/templates/foirequest/snippets/request_item.html
HTML
<|file_sep|>original/requirements.txt base58==0.2.4 botocore==1.4.72 boto3==1.4.1 docutils==0.12 futures==3.0.5 hjson==2.0.2 jmespath==0.9.0 kappa==0.6.0 lambda-packages==0.10.0 python-dateutil==2.6.0 python-slugify==1.2.1 requests>=2.10.0 six==1.10.0 tqdm==4.10.0 troposphere==1.8.2 Werkzeug==0.11.11 wheel==0.29.0 wsgi...
base58==0.2.4 botocore==1.4.72 boto3==1.4.1 docutils==0.12 futures==3.0.5 hjson==2.0.2 jmespath==0.9.0 kappa==0.6.0 lambda-packages==0.10.0 python-dateutil==2.6.0 python-slugify==1.2.1 requests>=2.10.0 six==1.10.0 tqdm==4.10.0 troposphere==1.9.0 Werkzeug==0.11.11 wheel==0.29.0 wsgi-request-logger==0.4.6
<|file_sep|>original/requirements.txt base58==0.2.4 botocore==1.4.72 boto3==1.4.1 docutils==0.12 futures==3.0.5 hjson==2.0.2 jmespath==0.9.0 kappa==0.6.0 lambda-packages==0.10.0 python-dateutil==2.6.0 python-slugify==1.2.1 requests>=2.10.0 six==1.10.0 tqdm==4.10.0 troposphere==1.8.2 Werkzeug==0.11.11 wheel==0.29.0 wsgi...
c4ad416872835f33b7696bc1b8116c51a6f89947
requirements.txt
requirements.txt
Text
<|file_sep|>original/lib/shared_config.yml # This file contains configuration that is # # 1. shared across multiple components of ArchiveBot # 2. in principle tweakable; in practice, rarely changed # # This file must remain valid YAML. (It's YAML because you can comment in # YAML. You can't do that with JSON.) channe...
# This file contains configuration that is # # 1. shared across multiple components of ArchiveBot # 2. in principle tweakable; in practice, rarely changed # # This file must remain valid YAML. (It's YAML because you can comment in # YAML. You can't do that with JSON.) channels: # The pubsub channel through which th...
<|file_sep|>original/lib/shared_config.yml # This file contains configuration that is # # 1. shared across multiple components of ArchiveBot # 2. in principle tweakable; in practice, rarely changed # # This file must remain valid YAML. (It's YAML because you can comment in # YAML. You can't do that with JSON.) channe...
3b6699e9f96cdf2114780468f9ba823a267eac8c
lib/shared_config.yml
lib/shared_config.yml
YAML
<|file_sep|>original/CMake/BuildConfigurations/WorkbenchRelease.cmake org.mitk.gui.qt.multilabelsegmentation org.mitk.matchpoint.core.helper org.mitk.gui.qt.matchpoint.algorithm.browser org.mitk.gui.qt.matchpoint.algorithm.control org.mitk.gui.qt.matchpoint.mapper org.mitk.gui.qt.matchpoint.framereg org.m...
org.mitk.matchpoint.core.helper org.mitk.gui.qt.matchpoint.algorithm.browser org.mitk.gui.qt.matchpoint.algorithm.control org.mitk.gui.qt.matchpoint.mapper org.mitk.gui.qt.matchpoint.framereg org.mitk.gui.qt.matchpoint.visualizer org.mitk.gui.qt.matchpoint.evaluator org.mitk.gui.qt.matchpoint.manipulato...
<|file_sep|>original/CMake/BuildConfigurations/WorkbenchRelease.cmake org.mitk.gui.qt.multilabelsegmentation org.mitk.matchpoint.core.helper org.mitk.gui.qt.matchpoint.algorithm.browser org.mitk.gui.qt.matchpoint.algorithm.control org.mitk.gui.qt.matchpoint.mapper org.mitk.gui.qt.matchpoint.framereg org.m...
1ba516a4379a4b7b12296b12be10302cabc1f908
CMake/BuildConfigurations/WorkbenchRelease.cmake
CMake/BuildConfigurations/WorkbenchRelease.cmake
CMake
<|file_sep|>original/tasks/common.yml --- - yum: name={{ item }} state=installed with_items: - python-passlib - httpd - mod_ssl - service: name=httpd state=started enabled=yes - copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }} owner=root group=apache mode=0644 with_items: - name_vhost.conf - mod_f...
--- - yum: name={{ item }} state=installed with_items: - python-passlib - httpd - mod_ssl - logrotate - service: name=httpd state=started enabled=yes - copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }} owner=root group=apache mode=0644 with_items: - name_vhost.conf - mod_filter.conf - remove_ss...
<|file_sep|>original/tasks/common.yml --- - yum: name={{ item }} state=installed with_items: - python-passlib - httpd - mod_ssl - service: name=httpd state=started enabled=yes - copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }} owner=root group=apache mode=0644 with_items: - name_vhost.conf - mod_f...
c24b961b146917cdd0d734fcb637c2db96a98f52
tasks/common.yml
tasks/common.yml
YAML
<|file_sep|>original/readthedocs/templates/core/build_list_detailed.html {% for build in build_list %} <li class="module-item col-span"> <a href="{{ build.get_absolute_url }}">{% if build.state != 'finished' %}{{ build.get_state_display }} {% else %} {{ build.success|yesno:"Passed,F...
{% for build in build_list %} <li class="module-item col-span"> <a href="{{ build.get_absolute_url }}">{% if build.state != 'finished' %}{{ build.get_state_display }} {% else %} {{ build.success|yesno:"Passed,Failed" }} {% endif %} <span class="quiet">{% if build.ver...
<|file_sep|>original/readthedocs/templates/core/build_list_detailed.html {% for build in build_list %} <li class="module-item col-span"> <a href="{{ build.get_absolute_url }}">{% if build.state != 'finished' %}{{ build.get_state_display }} {% else %} {{ build.success|yesno:"Passed,F...
784daab9d13b908ed91cb7609ccde98ad64e6dea
readthedocs/templates/core/build_list_detailed.html
readthedocs/templates/core/build_list_detailed.html
HTML
<|file_sep|>templates/include/address-space.yaml.diff original: updated: "namespace": "${NAMESPACE}", <|file_sep|>original/templates/include/address-space.yaml type: address-space data: config.json: |- { "apiVersion": "enmasse.io/v1", "kind": "AddressSpace", ...
type: address-space data: config.json: |- { "apiVersion": "enmasse.io/v1", "kind": "AddressSpace", "metadata": { "name": "${NAME}", "namespace": "${NAMESPACE}", "annotations": { "enmasse.io/namespace": "${NAMESPACE...
<|file_sep|>templates/include/address-space.yaml.diff original: updated: "namespace": "${NAMESPACE}", <|file_sep|>original/templates/include/address-space.yaml type: address-space data: config.json: |- { "apiVersion": "enmasse.io/v1", "kind": "AddressSpace", ...
7e0ba51d80f650396eefcc83078f25512e1d6a9d
templates/include/address-space.yaml
templates/include/address-space.yaml
YAML
<|file_sep|>original/examples/latlonfrompx.html <|file_sep|>current/examples/latlonfrompx.html <|file_sep|>updated/examples/latlonfrompx.html
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>OpenLayers Cursor Example</title> <style type="text/css"> #map { width: 700px; height: 400px; border: 1px solid black; } </style> <script src="../lib/OpenLayers.js"></script> <script type="text/javascript"> ...
<|file_sep|>original/examples/latlonfrompx.html <|file_sep|>current/examples/latlonfrompx.html <|file_sep|>updated/examples/latlonfrompx.html <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>OpenLayers Cursor Example</title> <style type="text/css"> #map { width: 700px; height: 400px; ...
e1d715fc94f480cf10ad95a919b3168f1b246b15
examples/latlonfrompx.html
examples/latlonfrompx.html
HTML
<|file_sep|>_includes/scripts.html.diff original: <!-- Asynchronous Google Analytics snippet --> updated: <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script> <|file_sep|>_includes/scripts.html.diff original: (func...
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script> <script src="{{ site.url }}/assets/js/scripts.min.js"></script> {% if site.google_analytics %} <!-- Global...
<|file_sep|>_includes/scripts.html.diff original: <!-- Asynchronous Google Analytics snippet --> updated: <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script> <|file_sep|>_includes/scripts.html.diff original: (func...
7e5758a745160de528b0eca4fcd7cba4c9258447
_includes/scripts.html
_includes/scripts.html
HTML
<|file_sep|>docker/mysql/grant.sql.diff original: CREATE USER 'demo'@'localhost' IDENTIFIED BY 'welcome1'; GRANT SELECT, INSERT, UPDATE, DELETE, LOCK TABLES, EXECUTE ON *.* TO 'demo'@'localhost'; updated: <|file_sep|>original/docker/mysql/grant.sql -- -- Add demo user -- CREATE USER 'demo'@'localhost' IDENTIFIED BY '...
-- -- Add demo user -- CREATE USER 'demo'@'%' IDENTIFIED BY 'welcome1'; GRANT SELECT, INSERT, UPDATE, DELETE, LOCK TABLES, EXECUTE ON *.* TO 'demo'@'%'; -- -- Add APM user -- CREATE USER 'newrelic'@'%' IDENTIFIED BY 'welcome1'; GRANT REPLICATION CLIENT ON *.* TO 'newrelic'@'%' WITH MAX_USER_CONNECTIONS 5;
<|file_sep|>docker/mysql/grant.sql.diff original: CREATE USER 'demo'@'localhost' IDENTIFIED BY 'welcome1'; GRANT SELECT, INSERT, UPDATE, DELETE, LOCK TABLES, EXECUTE ON *.* TO 'demo'@'localhost'; updated: <|file_sep|>original/docker/mysql/grant.sql -- -- Add demo user -- CREATE USER 'demo'@'localhost' IDENTIFIED BY '...
971501755b8d05c61402d3d9d5255a7fbb281bf8
docker/mysql/grant.sql
docker/mysql/grant.sql
SQL
<|file_sep|>original/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.2 <|file_sep|>current/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.2 <|file_sep|>updated/.travis.yml
rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10
<|file_sep|>original/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.2 <|file_sep|>current/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.2 <|file_sep|>updated/.travis.yml rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10
f27f69ea8fa2bb1d7f811212e705bd00cd681d74
.travis.yml
.travis.yml
YAML
<|file_sep|>original/typesetter/static/jsx/main.jsx <span className="input input--yoko"> <input className="input__field input__field--yoko" id="input-0" type="text" value={this.state.searchString} onChange={this.handleChange}/> <label className="input__label input__label--yok...
<span className="input input--yoko"> <input className="input__field input__field--yoko" id="input-0" type="text" value={this.state.searchString} onChange={this.handleChange}/> <label className="input__label input__label--yoko" for="input-0"> <span classNam...
<|file_sep|>original/typesetter/static/jsx/main.jsx <span className="input input--yoko"> <input className="input__field input__field--yoko" id="input-0" type="text" value={this.state.searchString} onChange={this.handleChange}/> <label className="input__label input__label--yok...
0e118c1549a0f2af75ab3672602729ef29fdbcb2
typesetter/static/jsx/main.jsx
typesetter/static/jsx/main.jsx
JSX
<|file_sep|>original/README.md # basic-conway Conway's Game of Life - School mini-project <|file_sep|>current/README.md # basic-conway Conway's Game of Life - School mini-project <|file_sep|>updated/README.md
# basic-conway Conway's Game of Life ## Build and run $ gcc main.c -o conway $ ./conway
<|file_sep|>original/README.md # basic-conway Conway's Game of Life - School mini-project <|file_sep|>current/README.md # basic-conway Conway's Game of Life - School mini-project <|file_sep|>updated/README.md # basic-conway Conway's Game of Life ## Build and run $ gcc main.c -o conway $ ./conway
ca9c5ffbef62896f5860ac6f6cee883ed72b33c9
README.md
README.md
Markdown
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 flake8_docstrings==1.0.2 tox==2.3.1 coverage==4.1 Sphinx==1.6.2 cryptography==1.7 PyYAML==3.11 pytest==2.9.2 pytest-runner==2.11.1 mock==2.0.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversi...
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 flake8_docstrings==1.1.0 tox==2.3.1 coverage==4.1 Sphinx==1.6.2 cryptography==1.7 PyYAML==3.11 pytest==2.9.2 pytest-runner==2.11.1 mock==2.0.0
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 flake8_docstrings==1.0.2 tox==2.3.1 coverage==4.1 Sphinx==1.6.2 cryptography==1.7 PyYAML==3.11 pytest==2.9.2 pytest-runner==2.11.1 mock==2.0.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversi...
d5e2471e47da26e53e0def6fa63adaedbbcba140
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>composer.json.diff original: "kriswallsmith/assetic": "1.1.*" updated: "kriswallsmith/assetic": "1.*" <|file_sep|>original/composer.json "extra": { "class": "ComponentInstaller\\Installer" }, "require": { "php": ">=5.3.2", "kriswallsmith/assetic": "1.1.*" ...
}, "extra": { "class": "ComponentInstaller\\Installer" }, "require": { "php": ">=5.3.2", "kriswallsmith/assetic": "1.*" }, "require-dev": { "composer/composer": "1.0.*@dev", "phpunit/phpunit": "3.7.*" }, "archive": { "exclude": [ ...
<|file_sep|>composer.json.diff original: "kriswallsmith/assetic": "1.1.*" updated: "kriswallsmith/assetic": "1.*" <|file_sep|>original/composer.json "extra": { "class": "ComponentInstaller\\Installer" }, "require": { "php": ">=5.3.2", "kriswallsmith/assetic": "1.1.*" ...
579d64e0f09946374da7d1b507b32f10e733a121
composer.json
composer.json
JSON
<|file_sep|>src/examples/decoder/main.rs.diff original: #[deriving(ToStr,Decodable)] updated: #[deriving(Show,Decodable)] <|file_sep|>original/src/examples/decoder/main.rs use std::os; #[deriving(ToStr,Decodable)] struct Config { host: ~str, port: Option<uint>, ids: ~[uint], products: ~[Product] } #[d...
use std::os; #[deriving(Show,Decodable)] struct Config { host: ~str, port: Option<uint>, ids: ~[uint], products: ~[Product] } #[deriving(Show,Decodable)] struct Product { id: uint, name: ~str } fn main() { let toml = r###" host = "localhost" ids = [1, 10, 20] [[...
<|file_sep|>src/examples/decoder/main.rs.diff original: #[deriving(ToStr,Decodable)] updated: #[deriving(Show,Decodable)] <|file_sep|>original/src/examples/decoder/main.rs use std::os; #[deriving(ToStr,Decodable)] struct Config { host: ~str, port: Option<uint>, ids: ~[uint], products: ~[Product] } #[d...
7bde0cdb46b9ceaf2ee70c8baac4465835faeac0
src/examples/decoder/main.rs
src/examples/decoder/main.rs
Rust
<|file_sep|>original/database/migrations/2017_06_27_204203_create_incidents_table.php * * @return void */ public function up() { Schema::create('incidents', function (Blueprint $table) { $table->increments('id'); $table->date('date'); $table->string('ti...
* * @return void */ public function up() { Schema::create('incidents', function (Blueprint $table) { $table->increments('id'); $table->date('date'); $table->string('title'); $table->text('description'); $table->string('img_path')...
<|file_sep|>original/database/migrations/2017_06_27_204203_create_incidents_table.php * * @return void */ public function up() { Schema::create('incidents', function (Blueprint $table) { $table->increments('id'); $table->date('date'); $table->string('ti...
5973e332973714e32b1a46a56e8ee195dbe6f03b
database/migrations/2017_06_27_204203_create_incidents_table.php
database/migrations/2017_06_27_204203_create_incidents_table.php
PHP
<|file_sep|>original/readme.md ## Begin **Begin** is a simple web-based task manager written in [Vue](http://vuejs.org/) at the client side and [Laravel](http://laravel.com/) on server side. Targetting web developers, Begin embraces some of the more modern web technologies to do its job. ## Official Documentation D...
## Begin **Begin** is a simple web-based task manager written in [Vue](http://vuejs.org/)v1.0.14 at the client side and [Laravel](http://laravel.com/)v5.2.10 on server side. Targetting web developers, Begin embraces some of the more modern web technologies to do its job. ## Official Documentation Documentation for ...
<|file_sep|>original/readme.md ## Begin **Begin** is a simple web-based task manager written in [Vue](http://vuejs.org/) at the client side and [Laravel](http://laravel.com/) on server side. Targetting web developers, Begin embraces some of the more modern web technologies to do its job. ## Official Documentation D...
fbefdc4c04837471c4cf55a33ba8728e5e95c472
readme.md
readme.md
Markdown
<|file_sep|>original/README.md ```sh ionic serve ``` Access `localhost:8100`, and check out your new cool project running :) > Here begin Ionic Garden benefits. ## Load a specific Ionic version You can load a specific version of Ionic by using `ionic` parameter in the URL and put `nightly`, 'local' or any ionic ver...
> Here begin Ionic Garden benefits. ## Load a specific Ionic version You can load a specific version of Ionic by using `ionic` parameter in the URL and put `nightly`, 'local' or any ionic version Like this: ``` localhost:8100?ionic=1.0.0-rc.4 ``` It'll load Ionic from `//code.ionicframework.com/1.0.0-rc.4/js/ionic....
<|file_sep|>original/README.md ```sh ionic serve ``` Access `localhost:8100`, and check out your new cool project running :) > Here begin Ionic Garden benefits. ## Load a specific Ionic version You can load a specific version of Ionic by using `ionic` parameter in the URL and put `nightly`, 'local' or any ionic ver...
4d827ee794809c74bc75df6bb8b0a048c47c4b33
README.md
README.md
Markdown
<|file_sep|>original/metadata/com.money.manager.ex.txt * Account, payee, category, currency management * Storage card Import/Export * Dropbox synchronization * Security, application lock/unlock * Repeating transactions * Charts * Supported languages: English, Italian, Portoguese, Spanish and Russian . Repo Type:git Re...
* Account, payee, category, currency management * Storage card Import/Export * Dropbox synchronization * Security, application lock/unlock * Repeating transactions * Charts * Supported languages: English, Italian, Portoguese, Spanish and Russian . Repo Type:git Repo:https://github.com/moneymanagerex/android-money-mana...
<|file_sep|>original/metadata/com.money.manager.ex.txt * Account, payee, category, currency management * Storage card Import/Export * Dropbox synchronization * Security, application lock/unlock * Repeating transactions * Charts * Supported languages: English, Italian, Portoguese, Spanish and Russian . Repo Type:git Re...
3dc2d0dc5d0a229b45db0aa247b1ba8865d3bd59
metadata/com.money.manager.ex.txt
metadata/com.money.manager.ex.txt
Text
<|file_sep|>original/requirements.txt Cython==0.29.23 feedparser==6.0.8 furl==2.1.2 google-api-python-client==2.12.0 isodate==0.6.0 jq==1.1.3 jsonpath-ng==1.5.3 lxml==4.6.3 Pillow==8.3.1 parsedatetime==2.6 psutil==5.8.0 pyhedrals==0.2.0 pymediawiki==0.7.0 pyre2==0.3.3 python-dateutil==2.8.1 pytimeparse==1.1.8 pyxDamera...
Cython==0.29.23 feedparser==6.0.8 furl==2.1.2 google-api-python-client==2.12.0 isodate==0.6.0 jq==1.1.3 jsonpath-ng==1.5.3 lxml==4.6.3 Pillow==8.3.1 parsedatetime==2.6 psutil==5.8.0 pyhedrals==0.2.0 pymediawiki==0.7.0 pyre2==0.3.3 python-dateutil==2.8.1 pytimeparse==1.1.8 pyxDamerauLevenshtein==1.7.0 regex==2021.7.6 re...
<|file_sep|>original/requirements.txt Cython==0.29.23 feedparser==6.0.8 furl==2.1.2 google-api-python-client==2.12.0 isodate==0.6.0 jq==1.1.3 jsonpath-ng==1.5.3 lxml==4.6.3 Pillow==8.3.1 parsedatetime==2.6 psutil==5.8.0 pyhedrals==0.2.0 pymediawiki==0.7.0 pyre2==0.3.3 python-dateutil==2.8.1 pytimeparse==1.1.8 pyxDamera...
ae650f735b8072be66920abb2579efe4da0f7111
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" script: - "npm run-script ci" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" script: - "npm run-script ci" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.10" sudo: false script: - "npm run-script ci"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" script: - "npm run-script ci" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" script: - "npm run-script ci" <|file_sep|>updated/.travis.yml language: node_js node_js: - "0.10" sudo: false script: - "npm run-scri...
ca7639c81d2922be9606e1f48409f6cac6357a09
.travis.yml
.travis.yml
YAML
<|file_sep|>original/karspexet/ticket/migrations/0017_positive_integers_20180322_2056.py <|file_sep|>current/karspexet/ticket/migrations/0017_positive_integers_20180322_2056.py <|file_sep|>updated/karspexet/ticket/migrations/0017_positive_integers_20180322_2056.py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2018-03-22 19:56 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ticket', '0016_add_voucher_note_20180213_2307'), ] op...
<|file_sep|>original/karspexet/ticket/migrations/0017_positive_integers_20180322_2056.py <|file_sep|>current/karspexet/ticket/migrations/0017_positive_integers_20180322_2056.py <|file_sep|>updated/karspexet/ticket/migrations/0017_positive_integers_20180322_2056.py # -*- coding: utf-8 -*- # Generated by Django 1.10.1 ...
4c3c9c6929ebc3f439ccf3bb7d3696f484b154bc
karspexet/ticket/migrations/0017_positive_integers_20180322_2056.py
karspexet/ticket/migrations/0017_positive_integers_20180322_2056.py
Python
<|file_sep|>original/web_development/web_development-checklist.md against the grain. * Browser Support * SEO requirements * Accessibility * Internationalization/Localization * Coding standards + Conventions - ESlint - Prettier + CSS strategy - CSS Modules - Global CSS - Pre-processors (Sass, Le...
* Accessibility * Internationalization/Localization * Coding standards + Conventions - ESlint - Prettier + CSS strategy - CSS Modules - Global CSS - Pre-processors (Sass, Less) - Post CSS - Organization * Media query choices. * x-browser rules location(s): separate file, inli...
<|file_sep|>original/web_development/web_development-checklist.md against the grain. * Browser Support * SEO requirements * Accessibility * Internationalization/Localization * Coding standards + Conventions - ESlint - Prettier + CSS strategy - CSS Modules - Global CSS - Pre-processors (Sass, Le...
383c38b9bc5b6455a7bbdd9650611d21c46e15bc
web_development/web_development-checklist.md
web_development/web_development-checklist.md
Markdown
<|file_sep|>original/push_with_msg.sh <|file_sep|>current/push_with_msg.sh <|file_sep|>updated/push_with_msg.sh
#!/bin/bash COMMIT_MSG='AC ...' if [ $# -gt 0 ]; then COMMIT_MSG="Add $1.swift" fi echo "- Add changed/new files." git add . echo "- Commit" git commit -m "${COMMIT_MSG}" echo "- Push to origin master" git push origin master
<|file_sep|>original/push_with_msg.sh <|file_sep|>current/push_with_msg.sh <|file_sep|>updated/push_with_msg.sh #!/bin/bash COMMIT_MSG='AC ...' if [ $# -gt 0 ]; then COMMIT_MSG="Add $1.swift" fi echo "- Add changed/new files." git add . echo "- Commit" git commit -m "${COMMIT_MSG}" echo "- Push to origin mas...
a056186541a47559d9ed043d0fab0fc44dcfac0b
push_with_msg.sh
push_with_msg.sh
Shell
<|file_sep|>original/ansible/roles/isc-dhcp-server/tasks/main.yml --- - name: main - Apt install isc-dhcp-server apt: name: isc-dhcp-server state: present - name: main - Applying isc-dhcp-server config file template: src: dhcpd.conf.j2 dest: /etc/dhcp/dhcpd.conf notify: reload isc-dhcp-server ...
--- - name: main - Apt install isc-dhcp-server apt: name: isc-dhcp-server state: present - name: main - Applying isc-dhcp-server config file template: src: dhcpd.conf.j2 dest: /etc/dhcp/dhcpd.conf notify: reload isc-dhcp-server - name: main - Make sure isc-dhcp-server is running systemd: ...
<|file_sep|>original/ansible/roles/isc-dhcp-server/tasks/main.yml --- - name: main - Apt install isc-dhcp-server apt: name: isc-dhcp-server state: present - name: main - Applying isc-dhcp-server config file template: src: dhcpd.conf.j2 dest: /etc/dhcp/dhcpd.conf notify: reload isc-dhcp-server ...
80947ddf90462395401c0f0aa08fea9ec7e5d60b
ansible/roles/isc-dhcp-server/tasks/main.yml
ansible/roles/isc-dhcp-server/tasks/main.yml
YAML
<|file_sep|>original/.pre-commit-config.yaml repos: # Automatic source code formatting - repo: https://github.com/ambv/black rev: stable hooks: - id: black args: [--safe, --quiet] # Syntax check and some basic flake8 - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.0.0 hooks: - id: check...
repos: # Automatic source code formatting - repo: https://github.com/ambv/black rev: stable hooks: - id: black args: [--safe, --quiet] # Syntax check and some basic flake8 - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.0.0 hooks: - id: check-ast - id: flake8 args: ['--max-line-le...
<|file_sep|>original/.pre-commit-config.yaml repos: # Automatic source code formatting - repo: https://github.com/ambv/black rev: stable hooks: - id: black args: [--safe, --quiet] # Syntax check and some basic flake8 - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.0.0 hooks: - id: check...
faec07d4cf50c774197acc2c58a91b4733bc4cf7
.pre-commit-config.yaml
.pre-commit-config.yaml
YAML
<|file_sep|>Casks/hopper-disassembler.rb.diff original: version '3.10.8.1' sha256 '20cfb6d8da01af0cbcd645ccde02e30c88515342873da19d2d25c533f85661d8' updated: version '3.10.9' sha256 'ed4aaad468b0bd8823c5ec6e68798aad69da4eac02c55222eca50441e7b615f3' <|file_sep|>original/Casks/hopper-disassembler.rb cask :v1 => '...
cask :v1 => 'hopper-disassembler' do version '3.10.9' sha256 'ed4aaad468b0bd8823c5ec6e68798aad69da4eac02c55222eca50441e7b615f3' url "http://www.hopperapp.com/HopperWeb/downloads/Hopper-#{version}.zip" appcast 'http://www.hopperapp.com/HopperWeb/appcast_v3.php', :sha256 => '7fef169456987610e7e3c533d86...
<|file_sep|>Casks/hopper-disassembler.rb.diff original: version '3.10.8.1' sha256 '20cfb6d8da01af0cbcd645ccde02e30c88515342873da19d2d25c533f85661d8' updated: version '3.10.9' sha256 'ed4aaad468b0bd8823c5ec6e68798aad69da4eac02c55222eca50441e7b615f3' <|file_sep|>original/Casks/hopper-disassembler.rb cask :v1 => '...
06478b3eacf06e1e4ffae7860a54717d2b83f0dd
Casks/hopper-disassembler.rb
Casks/hopper-disassembler.rb
Ruby
<|file_sep|>original/app/views/shared/_disk_evidence_info.html.haml %h3.heading-small = "Help with sending the evidence" %p You have electronic evidence on disk that relates to this claim. It is recommended that you send it by recorded delivery. %p Please fill the %a{:href => "/CCD-Electronic-Evidence-coversh...
%h3.heading-small = "Help with sending the evidence" %p You have electronic evidence on disk that relates to this claim. It is recommended that you send it by recorded delivery. %p Please fill the %a{:href => disc_evidence_external_users_claim_path(@claim), :rel => "external", :target => "_blank"} electro...
<|file_sep|>original/app/views/shared/_disk_evidence_info.html.haml %h3.heading-small = "Help with sending the evidence" %p You have electronic evidence on disk that relates to this claim. It is recommended that you send it by recorded delivery. %p Please fill the %a{:href => "/CCD-Electronic-Evidence-coversh...
bd8c9ddb02fefe45cf2ad95c5d08d03af5711c94
app/views/shared/_disk_evidence_info.html.haml
app/views/shared/_disk_evidence_info.html.haml
Haml
<|file_sep|>original/validation-test/IDE/crashers/103-swift-constraints-solution-resolvelocatortodecl.swift <|file_sep|>current/validation-test/IDE/crashers/103-swift-constraints-solution-resolvelocatortodecl.swift <|file_sep|>updated/validation-test/IDE/crashers/103-swift-constraints-solution-resolvelocatortodecl.sw...
// RUN: not --crash %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s // REQUIRES: asserts protocol b func b{b#^A^#
<|file_sep|>original/validation-test/IDE/crashers/103-swift-constraints-solution-resolvelocatortodecl.swift <|file_sep|>current/validation-test/IDE/crashers/103-swift-constraints-solution-resolvelocatortodecl.swift <|file_sep|>updated/validation-test/IDE/crashers/103-swift-constraints-solution-resolvelocatortodecl.sw...
7710bc6b85d5a8a460025875a88ace430f67a657
validation-test/IDE/crashers/103-swift-constraints-solution-resolvelocatortodecl.swift
validation-test/IDE/crashers/103-swift-constraints-solution-resolvelocatortodecl.swift
Swift
<|file_sep|>composer.json.diff original: "silverstripe/framework": "~3.2,~4.0", "silverstripe/cms": "~3.2,~4.0" updated: "silverstripe/framework": ">=3.2", "silverstripe/cms": ">=3.2" <|file_sep|>original/composer.json "type": "silverstripe-module", "keywords": ["silverstripe", "widgets", "blog"], "authors":...
"type": "silverstripe-module", "keywords": ["silverstripe", "widgets", "blog"], "authors": [ { "name": "Ingo Schommer", "email": "ingo@silverstripe.com" } ], "require": { "silverstripe/framework": ">=3.2", "silverstripe/cms": ">=3.2" }, "require-dev": { "phpunit/PHPUnit": "~3.7@stable" }, "extr...
<|file_sep|>composer.json.diff original: "silverstripe/framework": "~3.2,~4.0", "silverstripe/cms": "~3.2,~4.0" updated: "silverstripe/framework": ">=3.2", "silverstripe/cms": ">=3.2" <|file_sep|>original/composer.json "type": "silverstripe-module", "keywords": ["silverstripe", "widgets", "blog"], "authors":...
ed8f7d867a184d6172dba2e31747ca972961fb19
composer.json
composer.json
JSON
<|file_sep|>original/src/styles/colors.sass $white: #c7c7c7 $gray: #909090 $bulletColor: $white $primaryTextColor: $gray <|file_sep|>current/src/styles/colors.sass $white: #c7c7c7 $gray: #909090 $bulletColor: $white $primaryTextColor: $gray <|file_sep|>updated/src/styles/colors.sass
$white: #c7c7c7 $gray: #909090 $bulletColor: $gray $primaryTextColor: $gray
<|file_sep|>original/src/styles/colors.sass $white: #c7c7c7 $gray: #909090 $bulletColor: $white $primaryTextColor: $gray <|file_sep|>current/src/styles/colors.sass $white: #c7c7c7 $gray: #909090 $bulletColor: $white $primaryTextColor: $gray <|file_sep|>updated/src/styles/colors.sass $white: #c7c7c7 $gray: #909090 $bull...
e95fddcd5e69e236f21263588b63b2bc9bd0e668
src/styles/colors.sass
src/styles/colors.sass
Sass
<|file_sep|>original/src/Moose2Model.package/M2MFrontend.class/class/defaultSpec.st specs defaultSpec <spec: #default> ^ SpecColumnLayout composed add: #menu height: self toolbarHeight; "withConstraints: [ :constraints | constraints height: self toolbarHeight ];" add: (SpecRowLayout composed "position:...
specs defaultSpec <spec: #default> ^ SpecColumnLayout composed add: #menu height: self toolbarHeight; "withConstraints: [ :constraints | constraints height: self toolbarHeight ];" add: (SpecRowLayout composed "position: 200;" add: #pane; yourself); yourself "^ SpecBoxLayout newVertical add...
<|file_sep|>original/src/Moose2Model.package/M2MFrontend.class/class/defaultSpec.st specs defaultSpec <spec: #default> ^ SpecColumnLayout composed add: #menu height: self toolbarHeight; "withConstraints: [ :constraints | constraints height: self toolbarHeight ];" add: (SpecRowLayout composed "position:...
bf0492bd9249c7267ee374521b3ec8fc89acaf39
src/Moose2Model.package/M2MFrontend.class/class/defaultSpec.st
src/Moose2Model.package/M2MFrontend.class/class/defaultSpec.st
Smalltalk
<|file_sep|>original/.github/workflows/ci.yml on: [push, pull_request] jobs: test: runs-on: ubuntu-latest services: mongodb: image: mongo:3.4.23 ports: - 27017:27017 strategy: matrix: node-version: [8.x, 10.x, 12.x, 13.x] st...
on: [push, pull_request] jobs: test: runs-on: ubuntu-latest services: mongodb: image: mongo:3.4.23 command: --setParameter ttlMonitorSleepSecs=2 ports: - 27017:27017 strategy: matrix: node-version: [8.x, 10.x, 12....
<|file_sep|>original/.github/workflows/ci.yml on: [push, pull_request] jobs: test: runs-on: ubuntu-latest services: mongodb: image: mongo:3.4.23 ports: - 27017:27017 strategy: matrix: node-version: [8.x, 10.x, 12.x, 13.x] st...
c3b41498f64b3596e8a302522f91bc68c9c78f83
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/web_client/views/layout/HeaderView.js import HeaderAnalysesView from './HeaderAnalysesView'; import HeaderUserView from './HeaderUserView'; import HeaderImageView from './HeaderImageView'; import router from '../../router'; import headerTemplate from '../../templates/layout/header.pug'; import '.....
import HeaderAnalysesView from './HeaderAnalysesView'; import HeaderUserView from './HeaderUserView'; import HeaderImageView from './HeaderImageView'; import router from '../../router'; import headerTemplate from '../../templates/layout/header.pug'; import '../../stylesheets/layout/header.styl'; var HeaderView = View...
<|file_sep|>original/web_client/views/layout/HeaderView.js import HeaderAnalysesView from './HeaderAnalysesView'; import HeaderUserView from './HeaderUserView'; import HeaderImageView from './HeaderImageView'; import router from '../../router'; import headerTemplate from '../../templates/layout/header.pug'; import '.....
1707ff73c812669de5d4b0ee13d0dab37986d5bd
web_client/views/layout/HeaderView.js
web_client/views/layout/HeaderView.js
JavaScript
<|file_sep|>src/pages/App.js.diff original: updated: by <a href={AUTHOR_URL} target='_blank'>CookPete</a> {SEPARATOR} <|file_sep|>original/src/pages/App.js } } render () { return ( <div className={classNames.app}> <header className={classNames.header}> <h1 classN...
} } render () { return ( <div className={classNames.app}> <header className={classNames.header}> <h1 className={classNames.title}> <Link to='/'> {APP_NAME} </Link> </h1> {SEPARATOR} by <a href={AUTHOR_URL} target='_b...
<|file_sep|>src/pages/App.js.diff original: updated: by <a href={AUTHOR_URL} target='_blank'>CookPete</a> {SEPARATOR} <|file_sep|>original/src/pages/App.js } } render () { return ( <div className={classNames.app}> <header className={classNames.header}> <h1 classN...
cf2487ba7929bf33695a16aebdc98f5e0ee412d0
src/pages/App.js
src/pages/App.js
JavaScript
<|file_sep|>original/CMakeLists.txt set(VERSION_PATCH 1) #Activate warnings if(MSVC) if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]") string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4") endif() elseif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPIL...
set(VERSION_PATCH 1) #Activate warnings if(MSVC) if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]") string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4") endif() elseif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_FLAGS ...
<|file_sep|>original/CMakeLists.txt set(VERSION_PATCH 1) #Activate warnings if(MSVC) if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]") string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4") endif() elseif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPIL...
9ab0ce51912e0a2ec3d9908d713bd65895e7a166
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/_includes/footer.html {% if site.data.theme.show_disclaimer %} <p> The postings on this site are my own and don't necessarily represent my employer’s positions, strategies or opinions. </p> {% endif %} <p> © Outlaw IT, 2014 - <script>document.write(new Date().getFullYear())<...
<div class="disclaimer"> {% if site.data.theme.show_disclaimer %} <p> The postings on this site are my own and don't necessarily represent my employer’s positions, strategies or opinions. </p> {% endif %} <p> © Outlaw IT, 2014 - <script>document.write(new Date().getFullYear())</script> &mdash; b...
<|file_sep|>original/_includes/footer.html {% if site.data.theme.show_disclaimer %} <p> The postings on this site are my own and don't necessarily represent my employer’s positions, strategies or opinions. </p> {% endif %} <p> © Outlaw IT, 2014 - <script>document.write(new Date().getFullYear())<...
ade7b46aa0133f3bda453535680e27a7f1ebedc6
_includes/footer.html
_includes/footer.html
HTML
<|file_sep|>original/README.md ninepatch-convert ================= Creating ninepatches by hand can be awful, especially if every developer has to create them himself (e.g. if the base images are exported from vector graphics or similar). This tool is optimized for usage in an automatic export system. In my case, that ...
ninepatch-convert ================= [![Build Status](https://travis-ci.org/andresmanz/ninepatch-convert.svg?branch=master)](https://travis-ci.org/andresmanz/ninepatch-convert) Creating ninepatches by hand can be awful, especially if every developer has to create them himself (e.g. if the base images are exported from ...
<|file_sep|>original/README.md ninepatch-convert ================= Creating ninepatches by hand can be awful, especially if every developer has to create them himself (e.g. if the base images are exported from vector graphics or similar). This tool is optimized for usage in an automatic export system. In my case, that ...
f5a4a82eb69405b6cdd6dfa462dd94079ad918e5
README.md
README.md
Markdown
<|file_sep|>app/jobs/send-users-online.rb.diff original: rcdb_client = RocketChat.RCDB_Client() updated: rcdb_client = RocketChatSso.RCDB_Client() <|file_sep|>app/jobs/send-users-online.rb.diff original: rcdb_users_collection = RocketChat.RCDB_Users_Collection( rcdb_client ) updated:...
rcdb_online.close_query() end # done with the database connection client rcdb_client.close() # and publish the results Rails.logger.info 'ROCKETCHAT-SSO | online: ' + users_online_now.to_json MessageBus.publish( '/rocketchat-ss...
<|file_sep|>app/jobs/send-users-online.rb.diff original: rcdb_client = RocketChat.RCDB_Client() updated: rcdb_client = RocketChatSso.RCDB_Client() <|file_sep|>app/jobs/send-users-online.rb.diff original: rcdb_users_collection = RocketChat.RCDB_Users_Collection( rcdb_client ) updated:...
8999e95fff9b34ce9c5ed735c1536e065c75e41d
app/jobs/send-users-online.rb
app/jobs/send-users-online.rb
Ruby
<|file_sep|>activesupport/lib/active_support/option_merger.rb.diff original: updated: options = nil <|file_sep|>activesupport/lib/active_support/option_merger.rb.diff original: arguments << @options.deep_merge(arguments.pop) updated: options = @options.deep_merge(arguments.pop) <|file_sep|>...
private def method_missing(method, *arguments, &block) options = nil if arguments.first.is_a?(Proc) proc = arguments.pop arguments << lambda { |*args| @options.deep_merge(proc.call(*args)) } elsif arguments.last.respond_to?(:to_hash) options = @options.de...
<|file_sep|>activesupport/lib/active_support/option_merger.rb.diff original: updated: options = nil <|file_sep|>activesupport/lib/active_support/option_merger.rb.diff original: arguments << @options.deep_merge(arguments.pop) updated: options = @options.deep_merge(arguments.pop) <|file_sep|>...
cd31e113c0663dabcdc293d9e7dc3b6e1392db5d
activesupport/lib/active_support/option_merger.rb
activesupport/lib/active_support/option_merger.rb
Ruby
<|file_sep|>src/App.js.diff original: <TocHeader activePage={this.props.page} page="terms" name="Terms of Service"/> updated: <|file_sep|>original/src/App.js </div> <div className="page-body"> <div className="table-of-contents"> ...
<div className="page-body"> <div className="table-of-contents"> <div className="toc-title"> Contents </div> <TocHeader activePage={this.props.page} page="index" name="Quickstart"/> ...
<|file_sep|>src/App.js.diff original: <TocHeader activePage={this.props.page} page="terms" name="Terms of Service"/> updated: <|file_sep|>original/src/App.js </div> <div className="page-body"> <div className="table-of-contents"> ...
1ef81c6657121d4aeabfbf6b27b9df63b739e6db
src/App.js
src/App.js
JavaScript
<|file_sep|>original/src/test/kotlin/net/bjoernpetersen/musicbot/api/player/SongTest.kt <|file_sep|>current/src/test/kotlin/net/bjoernpetersen/musicbot/api/player/SongTest.kt <|file_sep|>updated/src/test/kotlin/net/bjoernpetersen/musicbot/api/player/SongTest.kt
package net.bjoernpetersen.musicbot.api.player import nl.jqno.equalsverifier.EqualsVerifier import org.junit.jupiter.api.Test class SongTest { @Test fun equalsContract() { EqualsVerifier.forClass(Song::class.java) .withOnlyTheseFields("id", "provider") .verify() } }
<|file_sep|>original/src/test/kotlin/net/bjoernpetersen/musicbot/api/player/SongTest.kt <|file_sep|>current/src/test/kotlin/net/bjoernpetersen/musicbot/api/player/SongTest.kt <|file_sep|>updated/src/test/kotlin/net/bjoernpetersen/musicbot/api/player/SongTest.kt package net.bjoernpetersen.musicbot.api.player import n...
4da68df94d7bdc17432046a8ba99de0494f3e9b0
src/test/kotlin/net/bjoernpetersen/musicbot/api/player/SongTest.kt
src/test/kotlin/net/bjoernpetersen/musicbot/api/player/SongTest.kt
Kotlin
<|file_sep|>original/OpenIPSL/package.mo package OpenIPSL "Open-Instance Power System Library" import SI = Modelica.SIunits; import C = Modelica.Constants; annotation ( Protection(access = Access.packageDuplicate), uses(Modelica(version="3.2.2"), Complex(version="3.2.2")), version="2.0.0-dev", conversion( ...
package OpenIPSL "Open-Instance Power System Library" import SI = Modelica.SIunits; import C = Modelica.Constants; annotation ( Protection(access = Access.packageDuplicate), uses(Modelica(version="3.2.3"), Complex(version="3.2.3")), version="2.0.0-dev", conversion( from(version={"0.8","0.8.1","1.0.0",...
<|file_sep|>original/OpenIPSL/package.mo package OpenIPSL "Open-Instance Power System Library" import SI = Modelica.SIunits; import C = Modelica.Constants; annotation ( Protection(access = Access.packageDuplicate), uses(Modelica(version="3.2.2"), Complex(version="3.2.2")), version="2.0.0-dev", conversion( ...
d98751db488f50d6e5ce26c10838461e8884601e
OpenIPSL/package.mo
OpenIPSL/package.mo
Modelica
<|file_sep|>generate_from_template.py.diff original: from __future__ import print_function updated: <|file_sep|>original/generate_from_template.py #! /usr/bin/env python from __future__ import print_function import os.path import sys import json import uuid root = sys.path[0] template_path = os.path.join(root, 'temp...
#! /usr/bin/env python import os.path import sys import json import uuid root = sys.path[0] template_path = os.path.join(root, 'templates', 'simple.json') with open(template_path) as template: oyster = json.load(template) new_id = str(uuid.uuid4()) new_filename = new_id + '.json' new_filepath = os.path.join(root...
<|file_sep|>generate_from_template.py.diff original: from __future__ import print_function updated: <|file_sep|>original/generate_from_template.py #! /usr/bin/env python from __future__ import print_function import os.path import sys import json import uuid root = sys.path[0] template_path = os.path.join(root, 'temp...
77122e472c3688f96e77b4f39e9767fed0fb53ae
generate_from_template.py
generate_from_template.py
Python
<|file_sep|>original/requirements.txt BeautifulSoup==3.2.1 args==0.1.0 clint==0.5.1 gnureadline==6.3.3 pyglance>=0.3.1 requests==2.16.1 wsgiref==0.1.2 <|file_sep|>current/requirements.txt BeautifulSoup==3.2.1 args==0.1.0 clint==0.5.1 gnureadline==6.3.3 pyglance>=0.3.1 requests==2.16.1 wsgiref==0.1.2 <|file_sep|>updated...
BeautifulSoup==3.2.1 args==0.1.0 clint==0.5.1 gnureadline==6.3.3 pyglance>=0.3.1 requests==2.16.2 wsgiref==0.1.2
<|file_sep|>original/requirements.txt BeautifulSoup==3.2.1 args==0.1.0 clint==0.5.1 gnureadline==6.3.3 pyglance>=0.3.1 requests==2.16.1 wsgiref==0.1.2 <|file_sep|>current/requirements.txt BeautifulSoup==3.2.1 args==0.1.0 clint==0.5.1 gnureadline==6.3.3 pyglance>=0.3.1 requests==2.16.1 wsgiref==0.1.2 <|file_sep|>updated...
b1d198006ed8278a9ce5f6d05d980c2828f4a36c
requirements.txt
requirements.txt
Text
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4 Sphinx==1.5.5 cryptography==1.8.1 PyYAML==3.12 pytest==3.0.7 numpy==1.12.1 scipy==0.19.0 scikit-learn==0.18.1 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5....
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4 Sphinx==1.6.1 cryptography==1.8.1 PyYAML==3.12 pytest==3.0.7 numpy==1.12.1 scipy==0.19.0 scikit-learn==0.18.1
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4 Sphinx==1.5.5 cryptography==1.8.1 PyYAML==3.12 pytest==3.0.7 numpy==1.12.1 scipy==0.19.0 scikit-learn==0.18.1 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5....
74b10ba5cb6071f513a18b9776a1518d521373c5
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/app/controllers/physical_infra_topology_controller.rb class PhysicalInfraTopologyController < TopologyController @layout = "physical_infra_topology" @service_class = PhysicalInfraTopologyService menu_section :inf end <|file_sep|>current/app/controllers/physical_infra_topology_controller.rb c...
class PhysicalInfraTopologyController < TopologyController @layout = "physical_infra_topology" @service_class = PhysicalInfraTopologyService menu_section :phy end
<|file_sep|>original/app/controllers/physical_infra_topology_controller.rb class PhysicalInfraTopologyController < TopologyController @layout = "physical_infra_topology" @service_class = PhysicalInfraTopologyService menu_section :inf end <|file_sep|>current/app/controllers/physical_infra_topology_controller.rb c...
786bb157a1f43fd72fee28e5b2ca5222042fd290
app/controllers/physical_infra_topology_controller.rb
app/controllers/physical_infra_topology_controller.rb
Ruby
<|file_sep|>scripts/add_identifiers_to_existing_preprints.py.diff original: from website.identifiers.utils import get_or_create_identifiers updated: from website.identifiers.utils import get_or_create_identifiers, get_subdomain <|file_sep|>scripts/add_identifiers_to_existing_preprints.py.diff original: updated: <|fil...
from osf.models import PreprintService preprints_without_identifiers = PreprintService.objects.filter(identifiers__isnull=True) logger.info('About to add identifiers to {} preprints.'.format(preprints_without_identifiers.count())) for preprint in preprints_without_identifiers: new_identifiers ...
<|file_sep|>scripts/add_identifiers_to_existing_preprints.py.diff original: from website.identifiers.utils import get_or_create_identifiers updated: from website.identifiers.utils import get_or_create_identifiers, get_subdomain <|file_sep|>scripts/add_identifiers_to_existing_preprints.py.diff original: updated: <|fil...
b8291dd5bee21ea2dfb77f0fc5b6756773eb5798
scripts/add_identifiers_to_existing_preprints.py
scripts/add_identifiers_to_existing_preprints.py
Python
<|file_sep|>activerecord/lib/active_record/asynchronous_queries_tracker.rb.diff original: updated: end def finalize <|file_sep|>original/activerecord/lib/active_record/asynchronous_queries_tracker.rb asynchronous_queries_tracker.finalize_session end end attr_reader :current_sess...
asynchronous_queries_tracker.finalize_session end end attr_reader :current_session def initialize @current_session = NullSession end def start_session @current_session = Session.new self end def finalize_session @current_session.finalize @curre...
<|file_sep|>activerecord/lib/active_record/asynchronous_queries_tracker.rb.diff original: updated: end def finalize <|file_sep|>original/activerecord/lib/active_record/asynchronous_queries_tracker.rb asynchronous_queries_tracker.finalize_session end end attr_reader :current_sess...
3694e16335a897bf65190d76c554aad99b6cfaad
activerecord/lib/active_record/asynchronous_queries_tracker.rb
activerecord/lib/active_record/asynchronous_queries_tracker.rb
Ruby
<|file_sep|>api.php.diff original: $response = file_get_contents('https://itsapps.unc.edu/energy/rest/buildings/' . $_REQUEST['building'] . '/live'); updated: $response = file_get_contents('https://energy.itsapps.unc.edu/energy/rest/buildings/' . $_REQUEST['building'] . '/live'); <|file_sep|>api.php.diff origin...
case 'building': if ($_REQUEST['building'] > 0 && $_REQUEST['building'] < 1000) { if (array_key_exists('live', $_REQUEST) && $_REQUEST['live'] == true) // Only live data $response = file_get_contents('https://energy.itsapps.unc.edu/energy/rest/buildings/' . $_REQUEST['building'] . '/live'); else ...
<|file_sep|>api.php.diff original: $response = file_get_contents('https://itsapps.unc.edu/energy/rest/buildings/' . $_REQUEST['building'] . '/live'); updated: $response = file_get_contents('https://energy.itsapps.unc.edu/energy/rest/buildings/' . $_REQUEST['building'] . '/live'); <|file_sep|>api.php.diff origin...
3b19db854dfc85f5388104b47196a67503568bb3
api.php
api.php
PHP
<|file_sep|>_layouts/about.html.diff original: updated: <!-- <|file_sep|>original/_layouts/about.html --- layout: default --- <section class="bio"> <h3>Full-stack engineer working in personal finance. Passionate about lo-fi technology and invisible interfaces. Sometimes, I <a>write</a>.</h3> <div class="profile-im...
--- layout: default --- <!-- <section class="bio"> <h3>Full-stack engineer working in personal finance. Passionate about lo-fi technology and invisible interfaces. Sometimes, I <a>write</a>.</h3> <div class="profile-image"></div> </section> <section class="work"> <img src="../img/tm.png" /> </section> -->
<|file_sep|>_layouts/about.html.diff original: updated: <!-- <|file_sep|>original/_layouts/about.html --- layout: default --- <section class="bio"> <h3>Full-stack engineer working in personal finance. Passionate about lo-fi technology and invisible interfaces. Sometimes, I <a>write</a>.</h3> <div class="profile-im...
7c1c3fd3e3d2f86776d91cedd4f6cf1eda5a224f
_layouts/about.html
_layouts/about.html
HTML
<|file_sep|>original/tox.ini [testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} DISCOVER_DIRECTORY=tests deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt whitelist_externals = bash commands = nosetests -w tests/ -e tests...
[testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} DISCOVER_DIRECTORY=tests deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt whitelist_externals = bash find commands = find . -type f -name "*.pyc"...
<|file_sep|>original/tox.ini [testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} DISCOVER_DIRECTORY=tests deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt whitelist_externals = bash commands = nosetests -w tests/ -e tests...
ba4a278c97f2c0e795c043f173fc4ac65a0efeb1
tox.ini
tox.ini
INI
<|file_sep|>original/include/core/SkSpinlock.h // This file is not part of the public Skia API. #ifndef SkSpinlock_DEFINED #define SkSpinlock_DEFINED #include "SkAtomics.h" #define SK_DECLARE_STATIC_SPINLOCK(name) namespace {} static SkPODSpinlock name // This class has no constructor and must be zero-initialized (...
// This file is not part of the public Skia API. #ifndef SkSpinlock_DEFINED #define SkSpinlock_DEFINED #include "SkAtomics.h" #define SK_DECLARE_STATIC_SPINLOCK(name) namespace {} static SkPODSpinlock name // This class has no constructor and must be zero-initialized (the macro above does this). class SK_API SkPODS...
<|file_sep|>original/include/core/SkSpinlock.h // This file is not part of the public Skia API. #ifndef SkSpinlock_DEFINED #define SkSpinlock_DEFINED #include "SkAtomics.h" #define SK_DECLARE_STATIC_SPINLOCK(name) namespace {} static SkPODSpinlock name // This class has no constructor and must be zero-initialized (...
5ce8b438da24b7a2f2de771d9276a6a6789236a2
include/core/SkSpinlock.h
include/core/SkSpinlock.h
C
<|file_sep|>README.md.diff original: updated: ```bash $ ./install ``` You may be required to `chmod +x ./install` prior to running. ### Alternative Method **Manually** <|file_sep|>README.md.diff original: **In OSX** updated: **Symlink** <|file_sep|>README.md.diff original: ``` /usr/local/bin updated: ```bash $ l...
```bash $ ln -s ./chariot /usr/bin/chariot ``` # Usage ```bash $ chariot -h ``` **Bower / Web Packages** ```bash $ chariot web -h ``` **NPM / Node Packages** ```bash $ chariot node -h ```
<|file_sep|>README.md.diff original: updated: ```bash $ ./install ``` You may be required to `chmod +x ./install` prior to running. ### Alternative Method **Manually** <|file_sep|>README.md.diff original: **In OSX** updated: **Symlink** <|file_sep|>README.md.diff original: ``` /usr/local/bin updated: ```bash $ l...
bf05e68047d835c4341593cde253c9534d161ab7
README.md
README.md
Markdown
<|file_sep|>original/package.json "keywords": [ "jstransformer" ], "files": [ "index.js" ], "devDependencies": { "test-jstransformer": "^1.0.0" }, "scripts": { "test": "test-jstransformer", "coverage": "test-jstransformer coverage" }, "repository": { "type": "git", "url": "...
"keywords": [ "jstransformer" ], "files": [ "index.js" ], "devDependencies": { "test-jstransformer": "^1.0.0" }, "scripts": { "coverage": "test-jstransformer coverage", "test": "test-jstransformer" }, "repository": { "type": "git", "url": "https://github.com/jstransformers/...
<|file_sep|>original/package.json "keywords": [ "jstransformer" ], "files": [ "index.js" ], "devDependencies": { "test-jstransformer": "^1.0.0" }, "scripts": { "test": "test-jstransformer", "coverage": "test-jstransformer coverage" }, "repository": { "type": "git", "url": "...
fa074b98ed0a3c338da59d8b82ff07351de0d32d
package.json
package.json
JSON
<|file_sep|>original/requirements/base.txt # like Pillow and psycopg2 wheel==0.30.0 django==1.11.6 # Configuration django-environ==0.4.4 whitenoise==3.3.1 # Python-PostgreSQL Database Adapter psycopg2==2.7.3.1 # Images Pillow==4.2.1 # DRFs djangorestframework==3.6.3 djangorestframework-gis==0.11.2 # Checks django...
# like Pillow and psycopg2 wheel==0.30.0 django==1.11.6 # Configuration django-environ==0.4.4 whitenoise==3.3.1 # Python-PostgreSQL Database Adapter psycopg2==2.7.3.1 # Images Pillow==4.3.0 # DRFs djangorestframework==3.6.3 djangorestframework-gis==0.11.2 # Checks django-health-check==2.3.0
<|file_sep|>original/requirements/base.txt # like Pillow and psycopg2 wheel==0.30.0 django==1.11.6 # Configuration django-environ==0.4.4 whitenoise==3.3.1 # Python-PostgreSQL Database Adapter psycopg2==2.7.3.1 # Images Pillow==4.2.1 # DRFs djangorestframework==3.6.3 djangorestframework-gis==0.11.2 # Checks django...
5ef458a1554a543dd0f133824fe2c4d062b6128b
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/requirements.txt gunicorn==20.1.0 backports-abc==0.5 bkcharts==0.2 bokeh==2.4.2 certifi==2021.10.8 chardet==4.0.0 click==8.0.1 Flask==2.0.1 idna==3.2 itsdangerous==2.0.1 Jinja2>=2.10.1 MarkupSafe==2.0.1 numpy==1.21.2 python-dateutil==2.8.2 pyyaml>=4.2b1 requests>=2.20.0 singledispatch==3.7.0 six==1...
gunicorn==20.1.0 backports-abc==0.5 bkcharts==0.2 bokeh==2.4.2 certifi==2021.10.8 chardet==4.0.0 click==8.0.3 Flask==2.0.1 idna==3.2 itsdangerous==2.0.1 Jinja2>=2.10.1 MarkupSafe==2.0.1 numpy==1.21.2 python-dateutil==2.8.2 pyyaml>=4.2b1 requests>=2.20.0 singledispatch==3.7.0 six==1.16.0 tornado==6.1 urllib3>=1.24.2 cac...
<|file_sep|>original/requirements.txt gunicorn==20.1.0 backports-abc==0.5 bkcharts==0.2 bokeh==2.4.2 certifi==2021.10.8 chardet==4.0.0 click==8.0.1 Flask==2.0.1 idna==3.2 itsdangerous==2.0.1 Jinja2>=2.10.1 MarkupSafe==2.0.1 numpy==1.21.2 python-dateutil==2.8.2 pyyaml>=4.2b1 requests>=2.20.0 singledispatch==3.7.0 six==1...
dbff264bd9fd29b947ab3d3f33c374dd0f81098e
requirements.txt
requirements.txt
Text
<|file_sep|>original/unicorn.rb # -*- encoding: utf-8; -*- listen 4000 worker_processes 8 <|file_sep|>current/unicorn.rb # -*- encoding: utf-8; -*- listen 4000 worker_processes 8 <|file_sep|>updated/unicorn.rb
# -*- encoding: utf-8; -*- listen 4000 worker_processes 8 before_fork do |server, worker| # Single server rolling reaper. # 1. Start new master, flag old as old # 2. Bring up 1 new worker and request old master gently kill one worker # 3. Repeat until all old workers are dead # 4. Reap old master old_pid ...
<|file_sep|>original/unicorn.rb # -*- encoding: utf-8; -*- listen 4000 worker_processes 8 <|file_sep|>current/unicorn.rb # -*- encoding: utf-8; -*- listen 4000 worker_processes 8 <|file_sep|>updated/unicorn.rb # -*- encoding: utf-8; -*- listen 4000 worker_processes 8 before_fork do |server, worker| # Single serve...
832c2ecd992c3a0f0c42ad1976b6b49dbb036ec1
unicorn.rb
unicorn.rb
Ruby
<|file_sep|>original/web/WEB-INF/decorators/standard.jsp <tags:stylesheetLink name="common"/> <tags:javascriptLink name="prototype"/> <tags:javascriptLink name="lightbox"/> <tags:javascriptLink name="error-console"/> <tags:javascriptLink name="common"/> <style type="text/css" xml:space="preserve...
<tags:stylesheetLink name="common"/> <tags:javascriptLink name="prototype"/> <tags:javascriptLink name="lightbox"/> <tags:javascriptLink name="error-console"/> <tags:javascriptLink name="common"/> <style type="text/css" xml:space="preserve"> body { behavior: url('<c:url value="/css/cssho...
<|file_sep|>original/web/WEB-INF/decorators/standard.jsp <tags:stylesheetLink name="common"/> <tags:javascriptLink name="prototype"/> <tags:javascriptLink name="lightbox"/> <tags:javascriptLink name="error-console"/> <tags:javascriptLink name="common"/> <style type="text/css" xml:space="preserve...
87e9f71a781e08f2ae163a66f1c5251f8c1156db
web/WEB-INF/decorators/standard.jsp
web/WEB-INF/decorators/standard.jsp
Java Server Pages
<|file_sep|>lib/database.js.diff original: query: function(connection, query, callback) { mssql.connect(connection, function(connectionError) { updated: query: function(connectionString, query, callback) { var connection = new mssql.Connection(connectionString, function(connectionError) { <|file_sep|>lib/da...
}); mssql.on('error', callback); }, execute: function(connectionString, name, parameters, callback) { var connection = new mssql.Connection(connectionString, function(connectionError) { if(connectionError) { mssql.close(); callback(connectionError, []); } else { var ...
<|file_sep|>lib/database.js.diff original: query: function(connection, query, callback) { mssql.connect(connection, function(connectionError) { updated: query: function(connectionString, query, callback) { var connection = new mssql.Connection(connectionString, function(connectionError) { <|file_sep|>lib/da...
9b10cb439d8748d92b5e247f86499a510d1c72e7
lib/database.js
lib/database.js
JavaScript
<|file_sep|>original/src/util/TextureLoader.js * @param {function} onError - On error callback * @return {THREE.Texture} - Image texture */ PANOLENS.Utils.TextureLoader.load = function ( url, onLoad, onProgress, onError ) { var texture = new THREE.Texture(); PANOLENS.Utils.ImageLoader.load( url, f...
* @param {function} onError - On error callback * @return {THREE.Texture} - Image texture */ PANOLENS.Utils.TextureLoader.load = function ( url, onLoad, onProgress, onError ) { var texture = new THREE.Texture(); PANOLENS.Utils.ImageLoader.load( url, function ( image ) { texture.image = image; ...
<|file_sep|>original/src/util/TextureLoader.js * @param {function} onError - On error callback * @return {THREE.Texture} - Image texture */ PANOLENS.Utils.TextureLoader.load = function ( url, onLoad, onProgress, onError ) { var texture = new THREE.Texture(); PANOLENS.Utils.ImageLoader.load( url, f...
cb5cb8cdb29debe6a24b65ea1f62131e56c561f5
src/util/TextureLoader.js
src/util/TextureLoader.js
JavaScript
<|file_sep|>src/CountryInterface.php.diff original: * @package Awoods/World updated: * @package Awoods\World <|file_sep|>src/CountryInterface.php.diff original: interface CountryInterface { updated: interface CountryInterface { <|file_sep|>src/CountryInterface.php.diff original: /** * @return string */ public f...
<?php /** * @package Awoods\World */ namespace Awoods\World; interface CountryInterface { /** * @return string */ public function getName(); /** * @return string */ public function getFullName(); }
<|file_sep|>src/CountryInterface.php.diff original: * @package Awoods/World updated: * @package Awoods\World <|file_sep|>src/CountryInterface.php.diff original: interface CountryInterface { updated: interface CountryInterface { <|file_sep|>src/CountryInterface.php.diff original: /** * @return string */ public f...
2bbd75ba66094bdcd27fab4d4c03f27ba01db38b
src/CountryInterface.php
src/CountryInterface.php
PHP
<|file_sep|>vscode-extensions/vscode-manifest-yaml/README.md.diff original: ![Linting Screenshot](https://github.com/spring-projects/sts4/raw/master/vscode-extensions/vscode-manifest-yaml/readme-imgs/linting.png) updated: ![Linting Screenshot][linting] <|file_sep|>vscode-extensions/vscode-manifest-yaml/README.md.diff o...
![Linting Screenshot][linting] ### Content assist Having trouble remembering all the names of the attributes, and their spelling? Content assist to the rescue: ![Content Assist Screenshot][ca] ### Documentation Hovers Having trouble remembering exactly what the meaning of each attribute is? Hover over any attribu...
<|file_sep|>vscode-extensions/vscode-manifest-yaml/README.md.diff original: ![Linting Screenshot](https://github.com/spring-projects/sts4/raw/master/vscode-extensions/vscode-manifest-yaml/readme-imgs/linting.png) updated: ![Linting Screenshot][linting] <|file_sep|>vscode-extensions/vscode-manifest-yaml/README.md.diff o...
998993cdafb7943469fc2ddb25aada813e8751b0
vscode-extensions/vscode-manifest-yaml/README.md
vscode-extensions/vscode-manifest-yaml/README.md
Markdown
<|file_sep|>original/README.md # null-prune [![Build Status](https://travis-ci.org/cskeppstedt/null-prune.svg?branch=master)](https://travis-ci.org/cskeppstedt/null-prune) A library to prune a JS object from nulls, recursively <|file_sep|>current/README.md # null-prune [![Build Status](https://travis-ci.org/cskeppst...
# null-prune [![Build Status](https://travis-ci.org/cskeppstedt/null-prune.svg?branch=master)](https://travis-ci.org/cskeppstedt/null-prune) A library to prune a JS object from nulls, recursively. This will leave a compact object with no "empty" sub-objects. ## Usage `nullPrune` is a function (exported with UMD, su...
<|file_sep|>original/README.md # null-prune [![Build Status](https://travis-ci.org/cskeppstedt/null-prune.svg?branch=master)](https://travis-ci.org/cskeppstedt/null-prune) A library to prune a JS object from nulls, recursively <|file_sep|>current/README.md # null-prune [![Build Status](https://travis-ci.org/cskeppst...
c136249cbf034f9d88f389171c95924109286263
README.md
README.md
Markdown
<|file_sep|>original/src/TwbBundle/Form/View/Helper/TwbBundleFormElementErrors.php <?php namespace TwbBundle\Form\View\Helper; class TwbBundleFormElementErrors extends \Zend\Form\View\Helper\FormElementErrors{ protected $messageOpenFormat = '<ul class="help-block"><li>'; protected $messageCloseString = '</li></ul>'; ...
<?php namespace TwbBundle\Form\View\Helper; class TwbBundleFormElementErrors extends \Zend\Form\View\Helper\FormElementErrors{ protected $attributes = array( 'class' => 'help-block' ); }
<|file_sep|>original/src/TwbBundle/Form/View/Helper/TwbBundleFormElementErrors.php <?php namespace TwbBundle\Form\View\Helper; class TwbBundleFormElementErrors extends \Zend\Form\View\Helper\FormElementErrors{ protected $messageOpenFormat = '<ul class="help-block"><li>'; protected $messageCloseString = '</li></ul>'; ...
d8b8e940cb8e394a3a7b5c76741592cd65b5ba9e
src/TwbBundle/Form/View/Helper/TwbBundleFormElementErrors.php
src/TwbBundle/Form/View/Helper/TwbBundleFormElementErrors.php
PHP
<|file_sep|>original/java/elemental2/dom/name_mappings.txt elemental2.dom.FrameRequestCallback.onInvoke.p0=timestamp elemental2.dom.DomGlobal.RequestIdleCallbackCallbackFn.onInvoke.p0=deadline elemental2.dom.NodeList.ForEachCallbackFn.onInvoke.p0=currentValue elemental2.dom.NodeList.ForEachCallbackFn.onInvoke.p1=curren...
elemental2.dom.FrameRequestCallback.onInvoke.p0=timestamp elemental2.dom.DomGlobal.RequestIdleCallbackCallbackFn.onInvoke.p0=deadline elemental2.dom.NodeList.ForEachCallbackFn.onInvoke.p0=currentValue elemental2.dom.NodeList.ForEachCallbackFn.onInvoke.p1=currentIndex elemental2.dom.NodeList.ForEachCallbackFn.onInvoke.p...
<|file_sep|>original/java/elemental2/dom/name_mappings.txt elemental2.dom.FrameRequestCallback.onInvoke.p0=timestamp elemental2.dom.DomGlobal.RequestIdleCallbackCallbackFn.onInvoke.p0=deadline elemental2.dom.NodeList.ForEachCallbackFn.onInvoke.p0=currentValue elemental2.dom.NodeList.ForEachCallbackFn.onInvoke.p1=curren...
7b90c43e5c7fb87ea325e2b7d7821656d4bb4001
java/elemental2/dom/name_mappings.txt
java/elemental2/dom/name_mappings.txt
Text
<|file_sep|>original/.travis.yml language: cpp install: sudo apt-get install libconfig++-dev before_script: - cmake . -Dbuild_tests=BOOL:ON && ./test-all script: make <|file_sep|>current/.travis.yml language: cpp install: sudo apt-get install libconfig++-dev before_script: - cmake . -Dbuild_tests=BOOL:ON && ./test...
language: cpp install: sudo apt-get install libconfig++-dev libgtest0 libgtest-dev before_script: - cmake . -Dbuild_tests=BOOL:ON && ./test-all script: make
<|file_sep|>original/.travis.yml language: cpp install: sudo apt-get install libconfig++-dev before_script: - cmake . -Dbuild_tests=BOOL:ON && ./test-all script: make <|file_sep|>current/.travis.yml language: cpp install: sudo apt-get install libconfig++-dev before_script: - cmake . -Dbuild_tests=BOOL:ON && ./test...
b5b36da9d3299419924e69b38ef17779f0e49e49
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/dropbox/archive.rb.diff original: updated: class << self; attr_accessor :config_path; end <|file_sep|>original/lib/dropbox/archive.rb require "dropbox/archive/cli" require "dropbox/archive/monitor" require "dropbox_sdk" module Dropbox module Archive extend Actions def self.config ...
require "dropbox/archive/cli" require "dropbox/archive/monitor" require "dropbox_sdk" module Dropbox module Archive extend Actions class << self; attr_accessor :config_path; end def self.config @config ||= Configuration.new(self.config_path || "~/.dropbox_archive") end def self.client ...
<|file_sep|>lib/dropbox/archive.rb.diff original: updated: class << self; attr_accessor :config_path; end <|file_sep|>original/lib/dropbox/archive.rb require "dropbox/archive/cli" require "dropbox/archive/monitor" require "dropbox_sdk" module Dropbox module Archive extend Actions def self.config ...
cc5d55d42a7e3c6cb277dcf03da04e7083177cdb
lib/dropbox/archive.rb
lib/dropbox/archive.rb
Ruby
<|file_sep|>README.md.diff original: # Readable API Server updated: # Readable App <|file_sep|>README.md.diff original: This is the starter project for the final assessment project for Udacity's Redux course where you will build a content and comment web app. Users will be able to post content to predefined categories,...
## Project Overview The Readable project is a content and comment web app. Users are be able to post content to predefined categories, comment on their posts and other users' posts, and vote on posts and comments. Users are also be able to edit and delete posts and comments. This content and comment structure is comm...
<|file_sep|>README.md.diff original: # Readable API Server updated: # Readable App <|file_sep|>README.md.diff original: This is the starter project for the final assessment project for Udacity's Redux course where you will build a content and comment web app. Users will be able to post content to predefined categories,...
54560c126654d39dbd97115949b86778f134eee7
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: language: ruby cache: bundler: true branches: only: master sudo: false <|file_sep|>original/.travis.yml rvm: - 1.9.3 - ree <|file_sep|>current/.travis.yml language: ruby cache: bundler: true branches: only: master sudo: false rvm: - 1.9.3 - ree <|file_sep...
language: ruby cache: bundler: true branches: only: master sudo: false rvm: - 2.0.0 - 2.1.6 - 2.2.2
<|file_sep|>.travis.yml.diff original: updated: language: ruby cache: bundler: true branches: only: master sudo: false <|file_sep|>original/.travis.yml rvm: - 1.9.3 - ree <|file_sep|>current/.travis.yml language: ruby cache: bundler: true branches: only: master sudo: false rvm: - 1.9.3 - ree <|file_sep...
7d6985cd14c10b18e8d47f975d760bfc447edac5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/opennms-doc/guide-user/src/asciidoc/index.adoc [[gu-service-assurance]] == Service Assurance include::text/service-assurance/introduction.adoc[] include::text/service-assurance/critical-service.adoc[] include::text/service-assurance/path-outage.adoc[] include::text/surveillance-view.adoc[] include...
[[gu-service-assurance]] == Service Assurance include::text/service-assurance/introduction.adoc[] include::text/service-assurance/critical-service.adoc[] include::text/service-assurance/path-outage.adoc[] include::text/surveillance-view.adoc[] include::text/dashboard.adoc[] [[gu-bsm]] == Business Service Monitoring i...
<|file_sep|>original/opennms-doc/guide-user/src/asciidoc/index.adoc [[gu-service-assurance]] == Service Assurance include::text/service-assurance/introduction.adoc[] include::text/service-assurance/critical-service.adoc[] include::text/service-assurance/path-outage.adoc[] include::text/surveillance-view.adoc[] include...
b15bdde83f43d3b6c0564a359ae3a8bf43b94071
opennms-doc/guide-user/src/asciidoc/index.adoc
opennms-doc/guide-user/src/asciidoc/index.adoc
AsciiDoc
<|file_sep|>original/css/salr.css nav#page-nav { background: #006699; float: right; position: fixed; bottom: -50px; right: 10px; padding-bottom: 2px; padding-left: 4px; border-top-left-radius: 6px 6px; border-top-right-radius: 6px 6px; -webkit-box-shadow: #000000 -1px -1px 12px; ...
nav#page-nav { background: #006699; float: right; position: fixed; bottom: -50px; right: 10px; padding-bottom: 2px; padding-left: 4px; border-top-left-radius: 6px 6px; border-top-right-radius: 6px 6px; -webkit-box-shadow: #000000 0px 0px 12px; -webkit-transition: -webkit-tran...
<|file_sep|>original/css/salr.css nav#page-nav { background: #006699; float: right; position: fixed; bottom: -50px; right: 10px; padding-bottom: 2px; padding-left: 4px; border-top-left-radius: 6px 6px; border-top-right-radius: 6px 6px; -webkit-box-shadow: #000000 -1px -1px 12px; ...
578223ebb1d2a4866355942c5eb290e9bd83d0bb
css/salr.css
css/salr.css
CSS
<|file_sep|>original/test/mock-connector.py <|file_sep|>current/test/mock-connector.py <|file_sep|>updated/test/mock-connector.py
#!/usr/bin/python3 # # This file is part of the KNOT Project # # Copyright (c) 2019, CESAR. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # versi...
<|file_sep|>original/test/mock-connector.py <|file_sep|>current/test/mock-connector.py <|file_sep|>updated/test/mock-connector.py #!/usr/bin/python3 # # This file is part of the KNOT Project # # Copyright (c) 2019, CESAR. All rights reserved. # # This library is free software; you can redistribute it and/or # m...
84fa2d2a5a1ff4aa0dca33a76677283d33dcf337
test/mock-connector.py
test/mock-connector.py
Python
<|file_sep|>original/Modules/feed/feed_schema.php <?php $schema['feeds'] = array( 'id' => array('type' => 'int(11)', 'Null'=>'NO', 'Key'=>'PRI', 'Extra'=>'auto_increment'), 'name' => array('type' => 'text'), 'userid' => array('type' => 'int(11)'), 'tag' => array('type' => 'text'), 'time' => array('...
<?php $schema['feeds'] = array( 'id' => array('type' => 'int(11)', 'Null'=>'NO', 'Key'=>'PRI', 'Extra'=>'auto_increment'), 'name' => array('type' => 'text'), 'userid' => array('type' => 'int(11)'), 'tag' => array('type' => 'text'), 'time' => array('type' => 'int(10)'), 'value' => array('type' =...
<|file_sep|>original/Modules/feed/feed_schema.php <?php $schema['feeds'] = array( 'id' => array('type' => 'int(11)', 'Null'=>'NO', 'Key'=>'PRI', 'Extra'=>'auto_increment'), 'name' => array('type' => 'text'), 'userid' => array('type' => 'int(11)'), 'tag' => array('type' => 'text'), 'time' => array('...
5ab00ff24424b8d807dbbf1bf7a01c1bf3f6cb40
Modules/feed/feed_schema.php
Modules/feed/feed_schema.php
PHP
<|file_sep|>src/dotty/tools/dotc/config/Printers.scala.diff original: updated: def echo[T](msg: => String, value: T): T = { println(msg + value); value } <|file_sep|>original/src/dotty/tools/dotc/config/Printers.scala object Printers { class Printer { def println(msg: => String): Unit = System.out.println(...
object Printers { class Printer { def println(msg: => String): Unit = System.out.println(msg) def echo[T](msg: => String, value: T): T = { println(msg + value); value } } object noPrinter extends Printer { override def println(msg: => String): Unit = () override def echo[T](msg: => String, valu...
<|file_sep|>src/dotty/tools/dotc/config/Printers.scala.diff original: updated: def echo[T](msg: => String, value: T): T = { println(msg + value); value } <|file_sep|>original/src/dotty/tools/dotc/config/Printers.scala object Printers { class Printer { def println(msg: => String): Unit = System.out.println(...
25a8937f115ed2ac1af33c41c73a621dab4ee712
src/dotty/tools/dotc/config/Printers.scala
src/dotty/tools/dotc/config/Printers.scala
Scala
<|file_sep|>original/cmd/banksaurus/configurations/configurations.go return dbName, os.TempDir() } return dbName, ApplicationHomePath() } // LogPath returns the path to the log file func LogPath() string { return path.Join(ApplicationHomePath(), applicationName+".log") } // ApplicationHomePath builds the path t...
return dbName, os.TempDir() } return dbName, ApplicationHomePath() } // LogPath returns the path to the log file func LogPath() string { return path.Join(ApplicationHomePath(), applicationName+".log") } // ApplicationHomePath builds the path to application data in the user home, // something like ~/.bankservice...
<|file_sep|>original/cmd/banksaurus/configurations/configurations.go return dbName, os.TempDir() } return dbName, ApplicationHomePath() } // LogPath returns the path to the log file func LogPath() string { return path.Join(ApplicationHomePath(), applicationName+".log") } // ApplicationHomePath builds the path t...
abc47d4e0a720a25233450619ba2a461ba8f4ccb
cmd/banksaurus/configurations/configurations.go
cmd/banksaurus/configurations/configurations.go
Go
<|file_sep|>original/bpython/test/test_autocomplete.py def skip(f): return lambda self: None #TODO: Parts of autocompletion to test: # Test that the right matches come back from find_matches (test that priority is correct) # Test the various complete methods (import, filename) to see if right matches # Tes...
def skip(f): return lambda self: None #TODO: Parts of autocompletion to test: # Test that the right matches come back from find_matches (test that priority is correct) # Test the various complete methods (import, filename) to see if right matches # Test that MatchesIterator.substitute correctly subs given ...
<|file_sep|>original/bpython/test/test_autocomplete.py def skip(f): return lambda self: None #TODO: Parts of autocompletion to test: # Test that the right matches come back from find_matches (test that priority is correct) # Test the various complete methods (import, filename) to see if right matches # Tes...
acdbb1a9ca73b43b2a56b9372ded6859f5945721
bpython/test/test_autocomplete.py
bpython/test/test_autocomplete.py
Python
<|file_sep|>original/vent/core/network_tap/ncontrol/requirements.txt docker==3.3.0 falcon==1.4.1 falcon-cors==1.1.7 gevent==1.3.2 gunicorn==19.8.1 redis==2.10.6 <|file_sep|>current/vent/core/network_tap/ncontrol/requirements.txt docker==3.3.0 falcon==1.4.1 falcon-cors==1.1.7 gevent==1.3.2 gunicorn==19.8.1 redis==2.10.6...
docker==3.3.0 falcon==1.4.1 falcon-cors==1.1.7 gevent==1.3.2.post0 gunicorn==19.8.1 redis==2.10.6
<|file_sep|>original/vent/core/network_tap/ncontrol/requirements.txt docker==3.3.0 falcon==1.4.1 falcon-cors==1.1.7 gevent==1.3.2 gunicorn==19.8.1 redis==2.10.6 <|file_sep|>current/vent/core/network_tap/ncontrol/requirements.txt docker==3.3.0 falcon==1.4.1 falcon-cors==1.1.7 gevent==1.3.2 gunicorn==19.8.1 redis==2.10.6...
beea363b0daab9f49e02ec51a42ef7d6125f824c
vent/core/network_tap/ncontrol/requirements.txt
vent/core/network_tap/ncontrol/requirements.txt
Text
<|file_sep|>original/config/application.rb config.after_initialize do ActiveSupport::XmlMini.backend = "Nokogiri" end config.encoding = "utf-8" config.time_zone = 'Paris' config.filter_parameters += [:password, :password_confirmation] COOKIE_STORE_KEY = 'linuxfr.org_session' config....
config.after_initialize do ActiveSupport::XmlMini.backend = "Nokogiri" end config.encoding = "utf-8" config.time_zone = 'Paris' config.filter_parameters += [:password, :password_confirmation] COOKIE_STORE_KEY = 'linuxfr.org_session' config.session_store :cookie_store, :key => COOKIE...
<|file_sep|>original/config/application.rb config.after_initialize do ActiveSupport::XmlMini.backend = "Nokogiri" end config.encoding = "utf-8" config.time_zone = 'Paris' config.filter_parameters += [:password, :password_confirmation] COOKIE_STORE_KEY = 'linuxfr.org_session' config....
d25e8984115bea618e740c5233ec3830ecbdddb8
config/application.rb
config/application.rb
Ruby
<|file_sep|>original/rollup.config.js export default { input: 'src/micro-panel-all.js', output: [ { format: 'iife', name: 'codeflask_element', file: 'dist/micro-panel-all.bundle.min.js', sourcemap: true, } ], plugins: [ resolve(), minify(), license({ banner: `@license micro-panel is public...
input: 'src/micro-panel-all.js', output: [ { format: 'iife', name: 'codeflask_element', file: 'dist/micro-panel-all.bundle.min.js', sourcemap: true, } ], plugins: [ resolve(), minify(), license({ banner: `@license micro-panel | Unlicense. lit-element/lit-html (c) The Polymer Authors | BSD 3...
<|file_sep|>original/rollup.config.js export default { input: 'src/micro-panel-all.js', output: [ { format: 'iife', name: 'codeflask_element', file: 'dist/micro-panel-all.bundle.min.js', sourcemap: true, } ], plugins: [ resolve(), minify(), license({ banner: `@license micro-panel is public...
5a0f409a488a4a5d3fed358fda6f71cd7dc66676
rollup.config.js
rollup.config.js
JavaScript
<|file_sep|>build.sh.diff original: updated: FAIL_THROUGH=false <|file_sep|>build.sh.diff original: updated: shift ;; -f|--fail-through) FAIL_THROUGH=true <|file_sep|>original/build.sh pushd build if make -j$cores; then popd if rm -rf dist && \ python3 setup.py bdist_wheel;...
if rm -rf dist && \ python3 setup.py bdist_wheel; then cwd=$(pwd) # cd to /tmp to avoid name clashes with Python module name and any # directories of the same name in our cwd pushd /tmp (yes | pip3 uninstall $PKG) if $NO_DEPS; then (yes | pip3 ...
<|file_sep|>build.sh.diff original: updated: FAIL_THROUGH=false <|file_sep|>build.sh.diff original: updated: shift ;; -f|--fail-through) FAIL_THROUGH=true <|file_sep|>original/build.sh pushd build if make -j$cores; then popd if rm -rf dist && \ python3 setup.py bdist_wheel;...
18f7c6e32c548384b0693e10022308e7f7c1919d
build.sh
build.sh
Shell
<|file_sep|>original/ci/images/get-jdk-url.sh #!/bin/bash set -e case "$1" in java8) echo "https://github.com/bell-sw/Liberica/releases/download/8u342+7/bellsoft-jdk8u342+7-linux-amd64.tar.gz" ;; java11) echo "https://github.com/bell-sw/Liberica/releases/download/11.0.15.1+2/bellsoft-jdk11.0.15.1+2-linux-amd6...
#!/bin/bash set -e case "$1" in java8) echo "https://github.com/bell-sw/Liberica/releases/download/8u342+7/bellsoft-jdk8u342+7-linux-amd64.tar.gz" ;; java11) echo "https://github.com/bell-sw/Liberica/releases/download/11.0.16+8/bellsoft-jdk11.0.16+8-linux-amd64.tar.gz" ;; java17) echo "https://github.com/...
<|file_sep|>original/ci/images/get-jdk-url.sh #!/bin/bash set -e case "$1" in java8) echo "https://github.com/bell-sw/Liberica/releases/download/8u342+7/bellsoft-jdk8u342+7-linux-amd64.tar.gz" ;; java11) echo "https://github.com/bell-sw/Liberica/releases/download/11.0.15.1+2/bellsoft-jdk11.0.15.1+2-linux-amd6...
c2554b2b27b7cdcb021223cea414637dee6d425b
ci/images/get-jdk-url.sh
ci/images/get-jdk-url.sh
Shell
<|file_sep|>original/manageiq-providers-azure.gemspec $:.push File.expand_path("../lib", __FILE__) require "manageiq/providers/azure/version" Gem::Specification.new do |s| s.name = "manageiq-providers-azure" s.version = ManageIQ::Providers::Azure::VERSION s.authors = ["ManageIQ Developers"] s.h...
$:.push File.expand_path("../lib", __FILE__) require "manageiq/providers/azure/version" Gem::Specification.new do |s| s.name = "manageiq-providers-azure" s.version = ManageIQ::Providers::Azure::VERSION s.authors = ["ManageIQ Developers"] s.homepage = "https://github.com/ManageIQ/manageiq-pro...
<|file_sep|>original/manageiq-providers-azure.gemspec $:.push File.expand_path("../lib", __FILE__) require "manageiq/providers/azure/version" Gem::Specification.new do |s| s.name = "manageiq-providers-azure" s.version = ManageIQ::Providers::Azure::VERSION s.authors = ["ManageIQ Developers"] s.h...
2ffcc658ea748608791743a6067a2ddc504d0f9f
manageiq-providers-azure.gemspec
manageiq-providers-azure.gemspec
Ruby
<|file_sep|>server/src/spira/core/system.clj.diff original: [spira.dm.in-memory-repo :as mem-repo])) updated: [spira.dm.in-memory-repo :as mem-repo] [spira.datomic-adapter.repo :as da])) <|file_sep|>server/src/spira/core/system.clj.diff original: (defn dev-system [] updated: (defn me...
(:require [spira.dm.garden :as garden] [spira.dm.plant-desc :as plant-desc] [spira.dm.in-memory-repo :as mem-repo] [spira.datomic-adapter.repo :as da])) ;; A representation of the applications total top level state. (defrecord SystemState [garden-repo plant-desc-repo]) (defn mem-...
<|file_sep|>server/src/spira/core/system.clj.diff original: [spira.dm.in-memory-repo :as mem-repo])) updated: [spira.dm.in-memory-repo :as mem-repo] [spira.datomic-adapter.repo :as da])) <|file_sep|>server/src/spira/core/system.clj.diff original: (defn dev-system [] updated: (defn me...
b69cddd76f4199a47188fe10a02f74dd1458a57c
server/src/spira/core/system.clj
server/src/spira/core/system.clj
Clojure
<|file_sep|>original/.travis.yml env: FASTLANE_LANE=code_coverage FASTLANE_ENV=default - os: osx env: FASTLANE_ENV=ios93 - os: osx env: FASTLANE_ENV=tvos92 - os: osx env: FASTLANE_ENV=osx - os: linux sudo: required dist: trusty env: SWIFT_VERSION=4.2 before_inst...
- os: osx env: FASTLANE_ENV=ios93 - os: osx env: FASTLANE_ENV=tvos92 - os: osx env: FASTLANE_ENV=osx - os: linux sudo: required dist: trusty env: SWIFT_VERSION=4.2 - os: linux sudo: required dist: trusty env: SWIFT_VERSION=5.1 before_install: -...
<|file_sep|>original/.travis.yml env: FASTLANE_LANE=code_coverage FASTLANE_ENV=default - os: osx env: FASTLANE_ENV=ios93 - os: osx env: FASTLANE_ENV=tvos92 - os: osx env: FASTLANE_ENV=osx - os: linux sudo: required dist: trusty env: SWIFT_VERSION=4.2 before_inst...
9e3d2a23e2636a06363be5c3528e416a1830ec3f
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: updated: The main use of this wrapper is to allow LuaJIT to use more then 1Gbyte of ram on Linux. With this wrapper LuaJIT can use amost a full 4Gbytes of ram. <|file_sep|>original/README.md About ===== This is a wrapper for mmap() to expand the address range of the `MAP_32BIT` ...
Compile ======= ./make.sh Usage ===== $ LD_PRELOAD=mmap_low32.so luajit-2 TODO ==== * Use a custom page allocator instead of the hacked dlmalloc. * Add tunable environment variable to control how much address space to try to reserv. * Allow using the system's mmap() for 32bit pages before falling back to custom...
<|file_sep|>README.md.diff original: updated: The main use of this wrapper is to allow LuaJIT to use more then 1Gbyte of ram on Linux. With this wrapper LuaJIT can use amost a full 4Gbytes of ram. <|file_sep|>original/README.md About ===== This is a wrapper for mmap() to expand the address range of the `MAP_32BIT` ...
8f6fea766a376f833743654134e351e0c0568c5d
README.md
README.md
Markdown
<|file_sep|>original/lib/cc/engine/lockfile_specs.rb require "bundler/lockfile_parser" class LockfileSpecs def initialize(lockfile) if File.exist?(lockfile) @contents = File.read(lockfile) else @contents = "" end end def include?(name) @lockfile ||= Bundler::LockfileParser.new(@conte...
require "bundler" class LockfileSpecs def initialize(lockfile) if File.exist?(lockfile) @contents = File.read(lockfile) else @contents = "" end end def include?(name) @lockfile ||= Bundler::LockfileParser.new(@contents) @lockfile.specs.any? { |spec| spec.name == name } rescue B...
<|file_sep|>original/lib/cc/engine/lockfile_specs.rb require "bundler/lockfile_parser" class LockfileSpecs def initialize(lockfile) if File.exist?(lockfile) @contents = File.read(lockfile) else @contents = "" end end def include?(name) @lockfile ||= Bundler::LockfileParser.new(@conte...
746066fac58ba2eb25d8cdfc2ca4a4d7519dd4ae
lib/cc/engine/lockfile_specs.rb
lib/cc/engine/lockfile_specs.rb
Ruby
<|file_sep|>original/composer.json "license": "MIT", "authors": [ { "name": "Sam Rapaport", "email": "rapaport.sam7@gmail.com" } ], "autoload": { "psr-4": { "Samrap\\Validation\\": "src/" } }, "require": { "illuminate/su...
"authors": [ { "name": "Sam Rapaport", "email": "rapaport.sam7@gmail.com" } ], "autoload": { "psr-4": { "Samrap\\Validation\\": "src/" } }, "require": { "illuminate/support": "~5.1", "illuminate/validation": "^5.2", ...
<|file_sep|>original/composer.json "license": "MIT", "authors": [ { "name": "Sam Rapaport", "email": "rapaport.sam7@gmail.com" } ], "autoload": { "psr-4": { "Samrap\\Validation\\": "src/" } }, "require": { "illuminate/su...
fd24c47257b8f23d129c326fb628bae729442e61
composer.json
composer.json
JSON
<|file_sep|>original/resources/leiningen/new/audio/build.boot :dependencies '[[org.clojure/clojure "1.8.0"] [alda "1.0.0-rc34"]]) (task-options! pom {:project '{{app-name}} :version "0.1.0-SNAPSHOT" :description "FIXME: write description"} aot {:namespace #{'{{namespace}}}} jar ...
[alda "1.0.0-rc34"]]) (task-options! pom {:project '{{app-name}} :version "0.1.0-SNAPSHOT" :description "FIXME: write description"} aot {:namespace #{'{{namespace}}}} jar {:main '{{namespace}}}) (require '{{namespace}}) (deftask run [] (comp (watch) (with-pre-wrap file...
<|file_sep|>original/resources/leiningen/new/audio/build.boot :dependencies '[[org.clojure/clojure "1.8.0"] [alda "1.0.0-rc34"]]) (task-options! pom {:project '{{app-name}} :version "0.1.0-SNAPSHOT" :description "FIXME: write description"} aot {:namespace #{'{{namespace}}}} jar ...
f79e94d637e8d9bf8ad554a488a970339919eb77
resources/leiningen/new/audio/build.boot
resources/leiningen/new/audio/build.boot
Clojure